aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/protos
diff options
context:
space:
mode:
authorGravatar Eric Anderson <ejona@google.com>2016-02-03 10:07:44 -0800
committerGravatar Eric Anderson <ejona@google.com>2016-02-03 10:08:43 -0800
commit8d3ae46dd2a624236a4f9f63999b4ab2e7f5cacf (patch)
tree8df25f6d3f43d80efa22081b0791941f2669879b /examples/protos
parent284faf3b8cdb13ea7264ce5edc934da6d201286e (diff)
Sync java options in example protos
This makes the protos identical between this repository and the java repository. Fixes grpc/grpc-java#1381
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;