public static final class Messages.ClientConfigureRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder> implements Messages.ClientConfigureRequestOrBuilder
Configurations for a test client.Protobuf type
grpc.testing.ClientConfigureRequest| Modifier and Type | Method and Description |
|---|---|
Messages.ClientConfigureRequest.Builder |
addAllMetadata(Iterable<? extends Messages.ClientConfigureRequest.Metadata> values)
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Builder |
addAllTypes(Iterable<? extends Messages.ClientConfigureRequest.RpcType> values)
The types of RPCs the client sends.
|
Messages.ClientConfigureRequest.Builder |
addAllTypesValue(Iterable<Integer> values)
The types of RPCs the client sends.
|
Messages.ClientConfigureRequest.Builder |
addMetadata(int index,
Messages.ClientConfigureRequest.Metadata.Builder builderForValue)
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Builder |
addMetadata(int index,
Messages.ClientConfigureRequest.Metadata value)
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Builder |
addMetadata(Messages.ClientConfigureRequest.Metadata.Builder builderForValue)
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Builder |
addMetadata(Messages.ClientConfigureRequest.Metadata value)
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Metadata.Builder |
addMetadataBuilder()
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Metadata.Builder |
addMetadataBuilder(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Builder |
addTypes(Messages.ClientConfigureRequest.RpcType value)
The types of RPCs the client sends.
|
Messages.ClientConfigureRequest.Builder |
addTypesValue(int value)
The types of RPCs the client sends.
|
Messages.ClientConfigureRequest |
build() |
Messages.ClientConfigureRequest |
buildPartial() |
Messages.ClientConfigureRequest.Builder |
clear() |
Messages.ClientConfigureRequest.Builder |
clearMetadata()
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Builder |
clearTimeoutSec()
The deadline to use, in seconds, for all RPCs.
|
Messages.ClientConfigureRequest.Builder |
clearTypes()
The types of RPCs the client sends.
|
Messages.ClientConfigureRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Messages.ClientConfigureRequest.Metadata |
getMetadata(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Metadata.Builder |
getMetadataBuilder(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
|
List<Messages.ClientConfigureRequest.Metadata.Builder> |
getMetadataBuilderList()
The collection of custom metadata to be attached to RPCs sent by the client.
|
int |
getMetadataCount()
The collection of custom metadata to be attached to RPCs sent by the client.
|
List<Messages.ClientConfigureRequest.Metadata> |
getMetadataList()
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.MetadataOrBuilder |
getMetadataOrBuilder(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
|
List<? extends Messages.ClientConfigureRequest.MetadataOrBuilder> |
getMetadataOrBuilderList()
The collection of custom metadata to be attached to RPCs sent by the client.
|
int |
getTimeoutSec()
The deadline to use, in seconds, for all RPCs.
|
Messages.ClientConfigureRequest.RpcType |
getTypes(int index)
The types of RPCs the client sends.
|
int |
getTypesCount()
The types of RPCs the client sends.
|
List<Messages.ClientConfigureRequest.RpcType> |
getTypesList()
The types of RPCs the client sends.
|
int |
getTypesValue(int index)
The types of RPCs the client sends.
|
List<Integer> |
getTypesValueList()
The types of RPCs the client sends.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Messages.ClientConfigureRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Messages.ClientConfigureRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Messages.ClientConfigureRequest.Builder |
mergeFrom(Messages.ClientConfigureRequest other) |
Messages.ClientConfigureRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Messages.ClientConfigureRequest.Builder |
removeMetadata(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Builder |
setMetadata(int index,
Messages.ClientConfigureRequest.Metadata.Builder builderForValue)
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Builder |
setMetadata(int index,
Messages.ClientConfigureRequest.Metadata value)
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.Builder |
setTimeoutSec(int value)
The deadline to use, in seconds, for all RPCs.
|
Messages.ClientConfigureRequest.Builder |
setTypes(int index,
Messages.ClientConfigureRequest.RpcType value)
The types of RPCs the client sends.
|
Messages.ClientConfigureRequest.Builder |
setTypesValue(int index,
int value)
The types of RPCs the client sends.
|
Messages.ClientConfigureRequest.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.ClientConfigureRequest.Builder>public Messages.ClientConfigureRequest.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.ClientConfigureRequest.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.ClientConfigureRequest.Builder>public Messages.ClientConfigureRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Messages.ClientConfigureRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Messages.ClientConfigureRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Messages.ClientConfigureRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Messages.ClientConfigureRequest.Builder>public Messages.ClientConfigureRequest.Builder mergeFrom(Messages.ClientConfigureRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder>public Messages.ClientConfigureRequest.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.ClientConfigureRequest.Builder>IOExceptionpublic List<Messages.ClientConfigureRequest.RpcType> getTypesList()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;getTypesList in interface Messages.ClientConfigureRequestOrBuilderpublic int getTypesCount()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;getTypesCount in interface Messages.ClientConfigureRequestOrBuilderpublic Messages.ClientConfigureRequest.RpcType getTypes(int index)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;getTypes in interface Messages.ClientConfigureRequestOrBuilderindex - The index of the element to return.public Messages.ClientConfigureRequest.Builder setTypes(int index, Messages.ClientConfigureRequest.RpcType value)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;index - The index to set the value at.value - The types to set.public Messages.ClientConfigureRequest.Builder addTypes(Messages.ClientConfigureRequest.RpcType value)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;value - The types to add.public Messages.ClientConfigureRequest.Builder addAllTypes(Iterable<? extends Messages.ClientConfigureRequest.RpcType> values)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;values - The types to add.public Messages.ClientConfigureRequest.Builder clearTypes()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;public List<Integer> getTypesValueList()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;getTypesValueList in interface Messages.ClientConfigureRequestOrBuilderpublic int getTypesValue(int index)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;getTypesValue in interface Messages.ClientConfigureRequestOrBuilderindex - The index of the value to return.public Messages.ClientConfigureRequest.Builder setTypesValue(int index, int value)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;index - The index to set the value at.value - The enum numeric value on the wire for types to set.public Messages.ClientConfigureRequest.Builder addTypesValue(int value)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;value - The enum numeric value on the wire for types to add.public Messages.ClientConfigureRequest.Builder addAllTypesValue(Iterable<Integer> values)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;values - The enum numeric values on the wire for types to add.public List<Messages.ClientConfigureRequest.Metadata> getMetadataList()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;getMetadataList in interface Messages.ClientConfigureRequestOrBuilderpublic int getMetadataCount()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;getMetadataCount in interface Messages.ClientConfigureRequestOrBuilderpublic Messages.ClientConfigureRequest.Metadata getMetadata(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;getMetadata in interface Messages.ClientConfigureRequestOrBuilderpublic Messages.ClientConfigureRequest.Builder setMetadata(int index, Messages.ClientConfigureRequest.Metadata value)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.Builder setMetadata(int index, Messages.ClientConfigureRequest.Metadata.Builder builderForValue)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.Builder addMetadata(Messages.ClientConfigureRequest.Metadata value)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.Builder addMetadata(int index, Messages.ClientConfigureRequest.Metadata value)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.Builder addMetadata(Messages.ClientConfigureRequest.Metadata.Builder builderForValue)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.Builder addMetadata(int index, Messages.ClientConfigureRequest.Metadata.Builder builderForValue)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.Builder addAllMetadata(Iterable<? extends Messages.ClientConfigureRequest.Metadata> values)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.Builder clearMetadata()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.Builder removeMetadata(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.Metadata.Builder getMetadataBuilder(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.MetadataOrBuilder getMetadataOrBuilder(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;getMetadataOrBuilder in interface Messages.ClientConfigureRequestOrBuilderpublic List<? extends Messages.ClientConfigureRequest.MetadataOrBuilder> getMetadataOrBuilderList()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;getMetadataOrBuilderList in interface Messages.ClientConfigureRequestOrBuilderpublic Messages.ClientConfigureRequest.Metadata.Builder addMetadataBuilder()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public Messages.ClientConfigureRequest.Metadata.Builder addMetadataBuilder(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public List<Messages.ClientConfigureRequest.Metadata.Builder> getMetadataBuilderList()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;public int getTimeoutSec()
The deadline to use, in seconds, for all RPCs. If unset or zero, the client will use the default from the command-line.
int32 timeout_sec = 3;getTimeoutSec in interface Messages.ClientConfigureRequestOrBuilderpublic Messages.ClientConfigureRequest.Builder setTimeoutSec(int value)
The deadline to use, in seconds, for all RPCs. If unset or zero, the client will use the default from the command-line.
int32 timeout_sec = 3;value - The timeoutSec to set.public Messages.ClientConfigureRequest.Builder clearTimeoutSec()
The deadline to use, in seconds, for all RPCs. If unset or zero, the client will use the default from the command-line.
int32 timeout_sec = 3;public final Messages.ClientConfigureRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder>public final Messages.ClientConfigureRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder>