aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-02-24 16:04:07 -0800
committerGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-02-24 16:04:07 -0800
commit0e3e0ae843ef69f37b755db9f0b05ea4e0d4c4d9 (patch)
tree89c2378552075ba112b745f1862321d96982ba05
parentc667eb23d0b8e05e57074d4191ded7766e2e5256 (diff)
parent7d2adf0e1168a24befbbded4285c72f502f5bca6 (diff)
Merge pull request #750 from murgatroid99/node_interop_compatibility
Updated interop proto for compatibility with proto3 servers
-rw-r--r--src/node/interop/messages.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node/interop/messages.proto b/src/node/interop/messages.proto
index 65a8140465..de0b1a2320 100644
--- a/src/node/interop/messages.proto
+++ b/src/node/interop/messages.proto
@@ -49,7 +49,7 @@ enum PayloadType {
// A block of data, to simply increase gRPC message size.
message Payload {
// The type of data in body.
- optional PayloadType type = 1;
+ optional PayloadType type = 1 [default = COMPRESSABLE];
// Primary contents of payload.
optional bytes body = 2;
}
@@ -58,7 +58,7 @@ message Payload {
message SimpleRequest {
// Desired payload type in the response from the server.
// If response_type is RANDOM, server randomly chooses one from other formats.
- optional PayloadType response_type = 1;
+ optional PayloadType response_type = 1 [default = COMPRESSABLE];
// Desired payload size in the response from the server.
// If response_type is COMPRESSABLE, this denotes the size before compression.
@@ -116,7 +116,7 @@ message StreamingOutputCallRequest {
// If response_type is RANDOM, the payload from each response in the stream
// might be of different types. This is to simulate a mixed type of payload
// stream.
- optional PayloadType response_type = 1;
+ optional PayloadType response_type = 1 [default = COMPRESSABLE];
// Configuration for each expected response message.
repeated ResponseParameters response_parameters = 2;