aboutsummaryrefslogtreecommitdiffhomepage
path: root/protos/route_guide.proto
diff options
context:
space:
mode:
authorGravatar Tim Emiola <temiola@google.com>2015-02-18 08:08:15 -0800
committerGravatar Tim Emiola <temiola@google.com>2015-02-18 08:09:13 -0800
commit9ab2c8b5bac6d2fd905a9ca341d3d44b935ae994 (patch)
treea89d2c1f42bf935556cac17216fad74420ee1b93 /protos/route_guide.proto
parent23307f261c68a9b1f85892720f697d44df1fc06d (diff)
Another pass at the docs
Diffstat (limited to 'protos/route_guide.proto')
-rw-r--r--protos/route_guide.proto18
1 files changed, 9 insertions, 9 deletions
diff --git a/protos/route_guide.proto b/protos/route_guide.proto
index 0850239d01..57576937a6 100644
--- a/protos/route_guide.proto
+++ b/protos/route_guide.proto
@@ -54,7 +54,7 @@ message Rectangle {
// A feature names something at a given point.
//
-// If a feature could not be named, the name value is blank.
+// If a feature could not be named, the name is empty.
message Feature {
// The name of the feature.
optional string name = 1;
@@ -65,18 +65,18 @@ message Feature {
// A RouteNote is a message sent while at a given point.
message RouteNote {
- // The location at from which the message is sent.
+ // The location from which the message is sent.
optional Point location = 1;
- // The message to be sent
+ // The message to be sent.
optional string message = 2;
}
-// Route summary is the message received in response to a RecordRoute rpc.
+// A RouteSummary is received in response to a RecordRoute rpc.
//
-// It details the number of individual points received, the number of detected
-// features and the total distance covered as the cumulative sum of the
-// distance between each point.
+// It contains the number of individual points received, the number of
+// detected features, and the total distance covered as the cumulative sum of
+// the distance between each point.
message RouteSummary {
// The number of points received.
optional int32 point_count = 1;
@@ -115,9 +115,9 @@ service RouteGuide {
rpc RecordRoute(stream Point) returns (RouteSummary) {
}
- // Bidirectional streaming RPC.
+ // A Bidirectional streaming RPC.
//
- // Accepts a streams of RouteNotes sent while a route is being traversed,
+ // Accepts a stream of RouteNotes sent while a route is being traversed,
// while receiving other RouteNotes (e.g. from other users).
rpc RouteChat(stream RouteNote) returns (stream RouteNote) {
}