Partially synchronize route_guide.proto with main repository

This commit is contained in:
Eric Anderson 2016-02-03 09:52:43 -08:00
parent 9804b67f1a
commit b11dce8288
2 changed files with 9 additions and 5 deletions

View File

@ -58,8 +58,8 @@ public final class RouteGuideProto {
"RecordRoute\022\021.routeguide.Point\032\030.routegu" +
"ide.RouteSummary\"\000(\001\022?\n\tRouteChat\022\025.rout" +
"eguide.RouteNote\032\025.routeguide.RouteNote\"" +
"\000(\0010\001B0\n\033io.grpc.examples.routeguideB\017Ro" +
"uteGuideProtoP\001b\006proto3"
"\000(\0010\001B6\n\033io.grpc.examples.routeguideB\017Ro" +
"uteGuideProtoP\001\242\002\003RTGb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {

View File

@ -29,17 +29,21 @@
syntax = "proto3";
package routeguide;
option java_multiple_files = true;
option java_package = "io.grpc.examples.routeguide";
option java_outer_classname = "RouteGuideProto";
option objc_class_prefix = "RTG";
package routeguide;
// Interface exported by the server.
service RouteGuide {
// A simple RPC.
//
// Obtains the feature at a given position.
//
// A feature with an empty name is returned if there's no feature at the given
// position.
rpc GetFeature(Point) returns (Feature) {}
// A server-to-client streaming RPC.
@ -119,4 +123,4 @@ message RouteSummary {
// The duration of the traversal in seconds.
int32 elapsed_time = 4;
}
}