From 66e79fa3618f8987fa9398eb2321fe89f42326e6 Mon Sep 17 00:00:00 2001
From: Tim Emiola <temiola@google.com>
Date: Wed, 18 Feb 2015 14:07:48 -0800
Subject: [PATCH] Cleans up helloworld.proto

---
 protos/helloworld.proto | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/protos/helloworld.proto b/protos/helloworld.proto
index aa44b851f4..86402ad71f 100644
--- a/protos/helloworld.proto
+++ b/protos/helloworld.proto
@@ -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;
 }
-- 
GitLab