aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/protos
diff options
context:
space:
mode:
Diffstat (limited to 'examples/protos')
-rw-r--r--examples/protos/helloworld.proto4
-rw-r--r--examples/protos/route_guide.proto4
2 files changed, 6 insertions, 2 deletions
diff --git a/examples/protos/helloworld.proto b/examples/protos/helloworld.proto
index 7d58870a70..0bee1fcfcf 100644
--- a/examples/protos/helloworld.proto
+++ b/examples/protos/helloworld.proto
@@ -29,7 +29,9 @@
syntax = "proto3";
-option java_package = "io.grpc.examples";
+option java_multiple_files = true;
+option java_package = "io.grpc.examples.helloworld";
+option java_outer_classname = "HelloWorldProto";
option objc_class_prefix = "HLW";
package helloworld;
diff --git a/examples/protos/route_guide.proto b/examples/protos/route_guide.proto
index 7a70040e1c..12c4495ffa 100644
--- a/examples/protos/route_guide.proto
+++ b/examples/protos/route_guide.proto
@@ -29,7 +29,9 @@
syntax = "proto3";
-option java_package = "ex.grpc";
+option java_multiple_files = true;
+option java_package = "io.grpc.examples.routeguide";
+option java_outer_classname = "RouteGuideProto";
option objc_class_prefix = "RTG";
package routeguide;