@@ -29,22 +29,10 @@ message BoolValue {
29
29
bool value = 1 ;
30
30
}
31
31
32
- // The type of payload that should be returned.
33
- enum PayloadType {
34
- // Compressable text format.
35
- COMPRESSABLE = 0 ;
36
-
37
- // Uncompressable binary format.
38
- UNCOMPRESSABLE = 1 ;
39
-
40
- // Randomly chosen from all other formats defined in this enum.
41
- RANDOM = 2 ;
42
- }
43
-
44
32
// A block of data, to simply increase gRPC message size.
45
33
message Payload {
46
- // The type of data in body.
47
- PayloadType type = 1 ;
34
+ reserved 1 ;
35
+
48
36
// Primary contents of payload.
49
37
bytes body = 2 ;
50
38
}
@@ -58,9 +46,7 @@ message EchoStatus {
58
46
59
47
// Unary request.
60
48
message SimpleRequest {
61
- // Desired payload type in the response from the server.
62
- // If response_type is RANDOM, server randomly chooses one from other formats.
63
- PayloadType response_type = 1 ;
49
+ reserved 1 ;
64
50
65
51
// Desired payload size in the response from the server.
66
52
int32 response_size = 2 ;
@@ -140,11 +126,7 @@ message ResponseParameters {
140
126
141
127
// Server-streaming request.
142
128
message StreamingOutputCallRequest {
143
- // Desired payload type in the response from the server.
144
- // If response_type is RANDOM, the payload from each response in the stream
145
- // might be of different types. This is to simulate a mixed type of payload
146
- // stream.
147
- PayloadType response_type = 1 ;
129
+ reserved 1 ;
148
130
149
131
// Configuration for each expected response message.
150
132
repeated ResponseParameters response_parameters = 2 ;
0 commit comments