mirror of https://github.com/grpc/grpc-java.git
Partially synchronize route_guide.proto with main repository
This commit is contained in:
parent
9804b67f1a
commit
b11dce8288
|
@ -58,8 +58,8 @@ public final class RouteGuideProto {
|
||||||
"RecordRoute\022\021.routeguide.Point\032\030.routegu" +
|
"RecordRoute\022\021.routeguide.Point\032\030.routegu" +
|
||||||
"ide.RouteSummary\"\000(\001\022?\n\tRouteChat\022\025.rout" +
|
"ide.RouteSummary\"\000(\001\022?\n\tRouteChat\022\025.rout" +
|
||||||
"eguide.RouteNote\032\025.routeguide.RouteNote\"" +
|
"eguide.RouteNote\032\025.routeguide.RouteNote\"" +
|
||||||
"\000(\0010\001B0\n\033io.grpc.examples.routeguideB\017Ro" +
|
"\000(\0010\001B6\n\033io.grpc.examples.routeguideB\017Ro" +
|
||||||
"uteGuideProtoP\001b\006proto3"
|
"uteGuideProtoP\001\242\002\003RTGb\006proto3"
|
||||||
};
|
};
|
||||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||||
|
|
|
@ -29,17 +29,21 @@
|
||||||
|
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package routeguide;
|
|
||||||
|
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "io.grpc.examples.routeguide";
|
option java_package = "io.grpc.examples.routeguide";
|
||||||
option java_outer_classname = "RouteGuideProto";
|
option java_outer_classname = "RouteGuideProto";
|
||||||
|
option objc_class_prefix = "RTG";
|
||||||
|
|
||||||
|
package routeguide;
|
||||||
|
|
||||||
// Interface exported by the server.
|
// Interface exported by the server.
|
||||||
service RouteGuide {
|
service RouteGuide {
|
||||||
// A simple RPC.
|
// A simple RPC.
|
||||||
//
|
//
|
||||||
// Obtains the feature at a given position.
|
// 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) {}
|
rpc GetFeature(Point) returns (Feature) {}
|
||||||
|
|
||||||
// A server-to-client streaming RPC.
|
// A server-to-client streaming RPC.
|
||||||
|
@ -119,4 +123,4 @@ message RouteSummary {
|
||||||
|
|
||||||
// The duration of the traversal in seconds.
|
// The duration of the traversal in seconds.
|
||||||
int32 elapsed_time = 4;
|
int32 elapsed_time = 4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue