public interface SimpleRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Payload |
getPayload()
optional .grpc.testing.Payload payload = 3; |
PayloadOrBuilder |
getPayloadOrBuilder()
optional .grpc.testing.Payload payload = 3; |
int |
getResponseSize()
optional int32 response_size = 2; |
PayloadType |
getResponseType()
optional .grpc.testing.PayloadType response_type = 1; |
int |
getResponseTypeValue()
optional .grpc.testing.PayloadType response_type = 1; |
boolean |
hasPayload()
optional .grpc.testing.Payload payload = 3; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getResponseTypeValue()
optional .grpc.testing.PayloadType response_type = 1;
Desired payload type in the response from the server. If response_type is RANDOM, server randomly chooses one from other formats.
PayloadType getResponseType()
optional .grpc.testing.PayloadType response_type = 1;
Desired payload type in the response from the server. If response_type is RANDOM, server randomly chooses one from other formats.
int getResponseSize()
optional int32 response_size = 2;
Desired payload size in the response from the server. If response_type is COMPRESSABLE, this denotes the size before compression.
boolean hasPayload()
optional .grpc.testing.Payload payload = 3;
Optional input payload sent along with the request.
Payload getPayload()
optional .grpc.testing.Payload payload = 3;
Optional input payload sent along with the request.
PayloadOrBuilder getPayloadOrBuilder()
optional .grpc.testing.Payload payload = 3;
Optional input payload sent along with the request.