Package io.grpc.testing.integration
Interface Messages.ResponseParametersOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Messages.ResponseParameters,Messages.ResponseParameters.Builder
- Enclosing class:
- Messages
public static interface Messages.ResponseParametersOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Messages.BoolValuegetCompressed()Whether to request the server to compress the response.Messages.BoolValueOrBuildergetCompressedOrBuilder()Whether to request the server to compress the response.intgetIntervalUs()Desired interval between consecutive responses in the response stream in microseconds.intgetSize()Desired payload sizes in responses from the server.booleanhasCompressed()Whether to request the server to compress the response.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSize
int getSize()
Desired payload sizes in responses from the server.
int32 size = 1;- Returns:
- The size.
-
getIntervalUs
int getIntervalUs()
Desired interval between consecutive responses in the response stream in microseconds.
int32 interval_us = 2;- Returns:
- The intervalUs.
-
hasCompressed
boolean hasCompressed()
Whether to request the server to compress the response. This field is "nullable" in order to interoperate seamlessly with clients not able to implement the full compression tests by introspecting the call to verify the response's compression status.
.grpc.testing.BoolValue compressed = 3;- Returns:
- Whether the compressed field is set.
-
getCompressed
Messages.BoolValue getCompressed()
Whether to request the server to compress the response. This field is "nullable" in order to interoperate seamlessly with clients not able to implement the full compression tests by introspecting the call to verify the response's compression status.
.grpc.testing.BoolValue compressed = 3;- Returns:
- The compressed.
-
getCompressedOrBuilder
Messages.BoolValueOrBuilder getCompressedOrBuilder()
Whether to request the server to compress the response. This field is "nullable" in order to interoperate seamlessly with clients not able to implement the full compression tests by introspecting the call to verify the response's compression status.
.grpc.testing.BoolValue compressed = 3;
-
-