public static final class Messages.ResponseParameters extends com.google.protobuf.GeneratedMessageV3 implements Messages.ResponseParametersOrBuilder
Configuration for a particular response.Protobuf type
grpc.testing.ResponseParameters| Modifier and Type | Class and Description |
|---|---|
static class |
Messages.ResponseParameters.Builder
Configuration for a particular response.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COMPRESSED_FIELD_NUMBER |
static int |
INTERVAL_US_FIELD_NUMBER |
static int |
SIZE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Messages.BoolValue |
getCompressed()
Whether to request the server to compress the response.
|
Messages.BoolValueOrBuilder |
getCompressedOrBuilder()
Whether to request the server to compress the response.
|
static Messages.ResponseParameters |
getDefaultInstance() |
Messages.ResponseParameters |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getIntervalUs()
Desired interval between consecutive responses in the response stream in
microseconds.
|
com.google.protobuf.Parser<Messages.ResponseParameters> |
getParserForType() |
int |
getSerializedSize() |
int |
getSize()
Desired payload sizes in responses from the server.
|
boolean |
hasCompressed()
Whether to request the server to compress the response.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Messages.ResponseParameters.Builder |
newBuilder() |
static Messages.ResponseParameters.Builder |
newBuilder(Messages.ResponseParameters prototype) |
Messages.ResponseParameters.Builder |
newBuilderForType() |
protected Messages.ResponseParameters.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Messages.ResponseParameters |
parseDelimitedFrom(InputStream input) |
static Messages.ResponseParameters |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.ResponseParameters |
parseFrom(byte[] data) |
static Messages.ResponseParameters |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.ResponseParameters |
parseFrom(ByteBuffer data) |
static Messages.ResponseParameters |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.ResponseParameters |
parseFrom(com.google.protobuf.ByteString data) |
static Messages.ResponseParameters |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.ResponseParameters |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Messages.ResponseParameters |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.ResponseParameters |
parseFrom(InputStream input) |
static Messages.ResponseParameters |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Messages.ResponseParameters> |
parser() |
Messages.ResponseParameters.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SIZE_FIELD_NUMBER
public static final int INTERVAL_US_FIELD_NUMBER
public static final int COMPRESSED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getSize()
Desired payload sizes in responses from the server.
int32 size = 1;getSize in interface Messages.ResponseParametersOrBuilderpublic int getIntervalUs()
Desired interval between consecutive responses in the response stream in microseconds.
int32 interval_us = 2;getIntervalUs in interface Messages.ResponseParametersOrBuilderpublic 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;hasCompressed in interface Messages.ResponseParametersOrBuilderpublic 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;getCompressed in interface Messages.ResponseParametersOrBuilderpublic 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;getCompressedOrBuilder in interface Messages.ResponseParametersOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Messages.ResponseParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ResponseParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ResponseParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ResponseParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ResponseParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ResponseParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ResponseParameters parseFrom(InputStream input) throws IOException
IOExceptionpublic static Messages.ResponseParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.ResponseParameters parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Messages.ResponseParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.ResponseParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Messages.ResponseParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Messages.ResponseParameters.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Messages.ResponseParameters.Builder newBuilder()
public static Messages.ResponseParameters.Builder newBuilder(Messages.ResponseParameters prototype)
public Messages.ResponseParameters.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Messages.ResponseParameters.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Messages.ResponseParameters getDefaultInstance()
public static com.google.protobuf.Parser<Messages.ResponseParameters> parser()
public com.google.protobuf.Parser<Messages.ResponseParameters> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Messages.ResponseParameters getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder