Skip to content
Snippets Groups Projects
Commit eb6b2160 authored by Abhishek Kumar's avatar Abhishek Kumar
Browse files

Rename Status -> EchoStatus to avoid conflict

parent 747cdbf9
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ message Payload { ...@@ -64,7 +64,7 @@ message Payload {
// A protobuf representation for grpc status. This is used by test // A protobuf representation for grpc status. This is used by test
// clients to specify a status that the server should attempt to return. // clients to specify a status that the server should attempt to return.
message Status { message EchoStatus {
optional int32 code = 1; optional int32 code = 1;
optional string message = 2; optional string message = 2;
} }
...@@ -92,7 +92,7 @@ message SimpleRequest { ...@@ -92,7 +92,7 @@ message SimpleRequest {
optional CompressionType response_compression = 6; optional CompressionType response_compression = 6;
// Whether server should return a given status // Whether server should return a given status
optional Status response_status = 7; optional EchoStatus response_status = 7;
} }
// Unary response, as configured by the request. // Unary response, as configured by the request.
...@@ -149,7 +149,7 @@ message StreamingOutputCallRequest { ...@@ -149,7 +149,7 @@ message StreamingOutputCallRequest {
optional CompressionType response_compression = 6; optional CompressionType response_compression = 6;
// Whether server should return a given status // 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. // Server-streaming response, as configured by the request and parameters.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment