From 8d3ae46dd2a624236a4f9f63999b4ab2e7f5cacf Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Wed, 3 Feb 2016 10:07:44 -0800 Subject: Sync java options in example protos This makes the protos identical between this repository and the java repository. Fixes grpc/grpc-java#1381 --- examples/protos/helloworld.proto | 4 +++- examples/protos/route_guide.proto | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'examples/protos') 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; -- cgit v1.2.3