public static final class Messages.ResponseParameters.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Messages.ResponseParameters.Builder> implements Messages.ResponseParametersOrBuilder
Configuration for a particular response.Protobuf type
grpc.testing.ResponseParameters| Modifier and Type | Method and Description |
|---|---|
Messages.ResponseParameters |
build() |
Messages.ResponseParameters |
buildPartial() |
Messages.ResponseParameters.Builder |
clear() |
Messages.ResponseParameters.Builder |
clearCompressed()
Whether to request the server to compress the response.
|
Messages.ResponseParameters.Builder |
clearIntervalUs()
Desired interval between consecutive responses in the response stream in
microseconds.
|
Messages.ResponseParameters.Builder |
clearSize()
Desired payload sizes in responses from the server.
|
Messages.BoolValue |
getCompressed()
Whether to request the server to compress the response.
|
Messages.BoolValue.Builder |
getCompressedBuilder()
Whether to request the server to compress the response.
|
Messages.BoolValueOrBuilder |
getCompressedOrBuilder()
Whether to request the server to compress the response.
|
Messages.ResponseParameters |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getIntervalUs()
Desired interval between consecutive responses in the response stream in
microseconds.
|
int |
getSize()
Desired payload sizes in responses from the server.
|
boolean |
hasCompressed()
Whether to request the server to compress the response.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Messages.ResponseParameters.Builder |
mergeCompressed(Messages.BoolValue value)
Whether to request the server to compress the response.
|
Messages.ResponseParameters.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Messages.ResponseParameters.Builder |
mergeFrom(com.google.protobuf.Message other) |
Messages.ResponseParameters.Builder |
mergeFrom(Messages.ResponseParameters other) |
Messages.ResponseParameters.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Messages.ResponseParameters.Builder |
setCompressed(Messages.BoolValue.Builder builderForValue)
Whether to request the server to compress the response.
|
Messages.ResponseParameters.Builder |
setCompressed(Messages.BoolValue value)
Whether to request the server to compress the response.
|
Messages.ResponseParameters.Builder |
setIntervalUs(int value)
Desired interval between consecutive responses in the response stream in
microseconds.
|
Messages.ResponseParameters.Builder |
setSize(int value)
Desired payload sizes in responses from the server.
|
Messages.ResponseParameters.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.ResponseParameters.Builder>public Messages.ResponseParameters.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.ResponseParameters.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.ResponseParameters.Builder>public Messages.ResponseParameters getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Messages.ResponseParameters build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Messages.ResponseParameters buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Messages.ResponseParameters.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Messages.ResponseParameters.Builder>public Messages.ResponseParameters.Builder mergeFrom(Messages.ResponseParameters other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.ResponseParameters.Builder>public Messages.ResponseParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Messages.ResponseParameters.Builder>IOExceptionpublic int getSize()
Desired payload sizes in responses from the server.
int32 size = 1;getSize in interface Messages.ResponseParametersOrBuilderpublic Messages.ResponseParameters.Builder setSize(int value)
Desired payload sizes in responses from the server.
int32 size = 1;value - The size to set.public Messages.ResponseParameters.Builder clearSize()
Desired payload sizes in responses from the server.
int32 size = 1;public int getIntervalUs()
Desired interval between consecutive responses in the response stream in microseconds.
int32 interval_us = 2;getIntervalUs in interface Messages.ResponseParametersOrBuilderpublic Messages.ResponseParameters.Builder setIntervalUs(int value)
Desired interval between consecutive responses in the response stream in microseconds.
int32 interval_us = 2;value - The intervalUs to set.public Messages.ResponseParameters.Builder clearIntervalUs()
Desired interval between consecutive responses in the response stream in microseconds.
int32 interval_us = 2;public 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.ResponseParameters.Builder setCompressed(Messages.BoolValue value)
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;public Messages.ResponseParameters.Builder setCompressed(Messages.BoolValue.Builder builderForValue)
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;public Messages.ResponseParameters.Builder mergeCompressed(Messages.BoolValue value)
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;public Messages.ResponseParameters.Builder clearCompressed()
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;public Messages.BoolValue.Builder getCompressedBuilder()
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;public 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 Messages.ResponseParameters.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.ResponseParameters.Builder>public final Messages.ResponseParameters.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.ResponseParameters.Builder>