Cleans up helloworld.proto

This commit is contained in:
Tim Emiola 2015-02-18 14:07:48 -08:00
parent e9be47eadb
commit 66e79fa361
1 changed files with 8 additions and 9 deletions

View File

@ -33,19 +33,18 @@ option java_package = "ex.grpc";
package helloworld;
// The greeting service definition.
service Greetings {
// Sends a greeting
rpc hello (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.
message HelloRequest {
optional string name = 1;
string name = 1;
}
// The response message containing the greetings
message HelloReply {
optional string message = 1;
}
// The greeting service definition.
service Greetings {
// Sends a greeting
rpc hello (HelloRequest) returns (HelloReply) {
}
string message = 1;
}