Package io.grpc.benchmarks.proto
Interface Messages.StreamingOutputCallRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Messages.StreamingOutputCallRequest,Messages.StreamingOutputCallRequest.Builder
- Enclosing class:
- Messages
public static interface Messages.StreamingOutputCallRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Messages.PayloadgetPayload()Optional input payload sent along with the request.Messages.PayloadOrBuildergetPayloadOrBuilder()Optional input payload sent along with the request.Messages.ResponseParametersgetResponseParameters(int index)Configuration for each expected response message.intgetResponseParametersCount()Configuration for each expected response message.java.util.List<Messages.ResponseParameters>getResponseParametersList()Configuration for each expected response message.Messages.ResponseParametersOrBuildergetResponseParametersOrBuilder(int index)Configuration for each expected response message.java.util.List<? extends Messages.ResponseParametersOrBuilder>getResponseParametersOrBuilderList()Configuration for each expected response message.Messages.EchoStatusgetResponseStatus()Whether server should return a given statusMessages.EchoStatusOrBuildergetResponseStatusOrBuilder()Whether server should return a given statusMessages.PayloadTypegetResponseType()DEPRECATED, don't use.intgetResponseTypeValue()DEPRECATED, don't use.booleanhasPayload()Optional input payload sent along with the request.booleanhasResponseStatus()Whether server should return a given status-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResponseTypeValue
int getResponseTypeValue()
DEPRECATED, don't use. To be removed shortly. Desired payload type in the response from the server. 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.
.grpc.testing.PayloadType response_type = 1;- Returns:
- The enum numeric value on the wire for responseType.
-
getResponseType
Messages.PayloadType getResponseType()
DEPRECATED, don't use. To be removed shortly. Desired payload type in the response from the server. 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.
.grpc.testing.PayloadType response_type = 1;- Returns:
- The responseType.
-
getResponseParametersList
java.util.List<Messages.ResponseParameters> getResponseParametersList()
Configuration for each expected response message.
repeated .grpc.testing.ResponseParameters response_parameters = 2;
-
getResponseParameters
Messages.ResponseParameters getResponseParameters(int index)
Configuration for each expected response message.
repeated .grpc.testing.ResponseParameters response_parameters = 2;
-
getResponseParametersCount
int getResponseParametersCount()
Configuration for each expected response message.
repeated .grpc.testing.ResponseParameters response_parameters = 2;
-
getResponseParametersOrBuilderList
java.util.List<? extends Messages.ResponseParametersOrBuilder> getResponseParametersOrBuilderList()
Configuration for each expected response message.
repeated .grpc.testing.ResponseParameters response_parameters = 2;
-
getResponseParametersOrBuilder
Messages.ResponseParametersOrBuilder getResponseParametersOrBuilder(int index)
Configuration for each expected response message.
repeated .grpc.testing.ResponseParameters response_parameters = 2;
-
hasPayload
boolean hasPayload()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 3;- Returns:
- Whether the payload field is set.
-
getPayload
Messages.Payload getPayload()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 3;- Returns:
- The payload.
-
getPayloadOrBuilder
Messages.PayloadOrBuilder getPayloadOrBuilder()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 3;
-
hasResponseStatus
boolean hasResponseStatus()
Whether server should return a given status
.grpc.testing.EchoStatus response_status = 7;- Returns:
- Whether the responseStatus field is set.
-
getResponseStatus
Messages.EchoStatus getResponseStatus()
Whether server should return a given status
.grpc.testing.EchoStatus response_status = 7;- Returns:
- The responseStatus.
-
getResponseStatusOrBuilder
Messages.EchoStatusOrBuilder getResponseStatusOrBuilder()
Whether server should return a given status
.grpc.testing.EchoStatus response_status = 7;
-
-