aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/proto
diff options
context:
space:
mode:
authorGravatar Abhishek Kumar <abhikumar@google.com>2015-06-23 09:52:50 -0700
committerGravatar Abhishek Kumar <abhikumar@google.com>2015-06-23 09:52:50 -0700
commiteb6b216004d5c8b34fc8db9591b0e4696abd7d02 (patch)
tree4b3651e8578220b6fd4f4cdcd04296d8b40531ca /test/proto
parent747cdbf9c031e4cfb5d792ddac51c9ad15749674 (diff)
Rename Status -> EchoStatus to avoid conflict
Diffstat (limited to 'test/proto')
-rw-r--r--test/proto/messages.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/proto/messages.proto b/test/proto/messages.proto
index 63ce737f7d..500e79cc81 100644
--- a/test/proto/messages.proto
+++ b/test/proto/messages.proto
@@ -64,7 +64,7 @@ message Payload {
// A protobuf representation for grpc status. This is used by test
// clients to specify a status that the server should attempt to return.
-message Status {
+message EchoStatus {
optional int32 code = 1;
optional string message = 2;
}
@@ -92,7 +92,7 @@ message SimpleRequest {
optional CompressionType response_compression = 6;
// Whether server should return a given status
- optional Status response_status = 7;
+ optional EchoStatus response_status = 7;
}
// Unary response, as configured by the request.
@@ -149,7 +149,7 @@ message StreamingOutputCallRequest {
optional CompressionType response_compression = 6;
// Whether server should return a given status
- optional Status response_status = 7;
+ optional EchoStatus response_status = 7;
}
// Server-streaming response, as configured by the request and parameters.