Rename Status -> EchoStatus to avoid conflict

pull/2148/head
Abhishek Kumar 10 years ago
parent 747cdbf9c0
commit eb6b216004
  1. 6
      test/proto/messages.proto

@ -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 {
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 {
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.

Loading…
Cancel
Save