diff options
author | David Garcia Quintas <dgq@google.com> | 2016-06-09 15:33:33 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-06-09 15:33:33 -0700 |
commit | 74686ce7c4354020b4e48ba067ac7635d0e4edb2 (patch) | |
tree | 0621b65d086075d79b310120af6db20b9292fcd8 /src/proto | |
parent | 9065c8b1df3a106947eab71db678e2506aa4af5d (diff) |
Completed interop spec, as well as code for c++
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/grpc/testing/messages.proto | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/proto/grpc/testing/messages.proto b/src/proto/grpc/testing/messages.proto index e1090156ab..99b75dea3d 100644 --- a/src/proto/grpc/testing/messages.proto +++ b/src/proto/grpc/testing/messages.proto @@ -38,9 +38,6 @@ package grpc.testing; enum PayloadType { // Compressable text format. COMPRESSABLE = 0; - - // Uncompressable binary format. - UNCOMPRESSABLE = 1; } // A block of data, to simply increase gRPC message size. @@ -82,6 +79,12 @@ message SimpleRequest { // Whether server should return a given status EchoStatus response_status = 7; + + // Whether the server should expect this request to be compressed. + bool expect_compressed_request = 8; + + // The type of payload. + PayloadType payload_type = 9; } // Unary response, as configured by the request. @@ -100,6 +103,12 @@ message StreamingInputCallRequest { // Optional input payload sent along with the request. Payload payload = 1; + // The type of payload. + PayloadType payload_type = 2; + + // Whether the server should expect this request to be compressed. + bool expect_compressed_request = 3; + // Not expecting any payload from the response. } @@ -135,7 +144,7 @@ message StreamingOutputCallRequest { Payload payload = 3; // Whether to request the server to compress the response. - bool request_compressed_response = 6; + bool request_compressed_response = 4; // Whether server should return a given status EchoStatus response_status = 7; |