diff --git a/test/proto/messages.proto b/test/proto/messages.proto index 63ce737f7d31834f61868286aa2fc7f314934820..500e79cc81a1ed7187d955fe6fe94582bae85230 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.