Skip to content

Commit 04522f3

Browse files
authored
Use canonical version of hello_world.proto (#135)
Closes #134
1 parent 2573cd4 commit 04522f3

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

examples/src/main/proto/hello_world.proto

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015 gRPC authors.
1+
// Copyright 2015 The gRPC Authors
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -11,17 +11,19 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14-
1514
syntax = "proto3";
1615

17-
package io.grpc.examples.helloworld;
18-
1916
option java_multiple_files = true;
17+
option java_package = "io.grpc.examples.helloworld";
18+
option java_outer_classname = "HelloWorldProto";
19+
option objc_class_prefix = "HLW";
20+
21+
package helloworld;
2022

2123
// The greeting service definition.
2224
service Greeter {
2325
// Sends a greeting
24-
rpc SayHello (HelloRequest) returns (HelloReply);
26+
rpc SayHello (HelloRequest) returns (HelloReply) {}
2527
}
2628

2729
// The request message containing the user's name.

0 commit comments

Comments
 (0)