Package io.grpc.testing.integration
Class Messages.ClientConfigureRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder>
-
- io.grpc.testing.integration.Messages.ClientConfigureRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.ClientConfigureRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- Messages.ClientConfigureRequest
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 typegrpc.testing.ClientConfigureRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Messages.ClientConfigureRequest.BuilderaddAllMetadata(java.lang.Iterable<? extends Messages.ClientConfigureRequest.Metadata> values)The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.BuilderaddAllTypes(java.lang.Iterable<? extends Messages.ClientConfigureRequest.RpcType> values)The types of RPCs the client sends.Messages.ClientConfigureRequest.BuilderaddAllTypesValue(java.lang.Iterable<java.lang.Integer> values)The types of RPCs the client sends.Messages.ClientConfigureRequest.BuilderaddMetadata(int index, Messages.ClientConfigureRequest.Metadata value)The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.BuilderaddMetadata(int index, Messages.ClientConfigureRequest.Metadata.Builder builderForValue)The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.BuilderaddMetadata(Messages.ClientConfigureRequest.Metadata value)The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.BuilderaddMetadata(Messages.ClientConfigureRequest.Metadata.Builder builderForValue)The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.Metadata.BuilderaddMetadataBuilder()The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.Metadata.BuilderaddMetadataBuilder(int index)The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.BuilderaddTypes(Messages.ClientConfigureRequest.RpcType value)The types of RPCs the client sends.Messages.ClientConfigureRequest.BuilderaddTypesValue(int value)The types of RPCs the client sends.Messages.ClientConfigureRequestbuild()Messages.ClientConfigureRequestbuildPartial()Messages.ClientConfigureRequest.Builderclear()Messages.ClientConfigureRequest.BuilderclearMetadata()The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.BuilderclearTimeoutSec()The deadline to use, in seconds, for all RPCs.Messages.ClientConfigureRequest.BuilderclearTypes()The types of RPCs the client sends.Messages.ClientConfigureRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Messages.ClientConfigureRequest.MetadatagetMetadata(int index)The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.Metadata.BuildergetMetadataBuilder(int index)The collection of custom metadata to be attached to RPCs sent by the client.java.util.List<Messages.ClientConfigureRequest.Metadata.Builder>getMetadataBuilderList()The collection of custom metadata to be attached to RPCs sent by the client.intgetMetadataCount()The collection of custom metadata to be attached to RPCs sent by the client.java.util.List<Messages.ClientConfigureRequest.Metadata>getMetadataList()The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.MetadataOrBuildergetMetadataOrBuilder(int index)The collection of custom metadata to be attached to RPCs sent by the client.java.util.List<? extends Messages.ClientConfigureRequest.MetadataOrBuilder>getMetadataOrBuilderList()The collection of custom metadata to be attached to RPCs sent by the client.intgetTimeoutSec()The deadline to use, in seconds, for all RPCs.Messages.ClientConfigureRequest.RpcTypegetTypes(int index)The types of RPCs the client sends.intgetTypesCount()The types of RPCs the client sends.java.util.List<Messages.ClientConfigureRequest.RpcType>getTypesList()The types of RPCs the client sends.intgetTypesValue(int index)The types of RPCs the client sends.java.util.List<java.lang.Integer>getTypesValueList()The types of RPCs the client sends.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Messages.ClientConfigureRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Messages.ClientConfigureRequest.BuildermergeFrom(com.google.protobuf.Message other)Messages.ClientConfigureRequest.BuildermergeFrom(Messages.ClientConfigureRequest other)Messages.ClientConfigureRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Messages.ClientConfigureRequest.BuilderremoveMetadata(int index)The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.BuildersetMetadata(int index, Messages.ClientConfigureRequest.Metadata value)The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.BuildersetMetadata(int index, Messages.ClientConfigureRequest.Metadata.Builder builderForValue)The collection of custom metadata to be attached to RPCs sent by the client.Messages.ClientConfigureRequest.BuildersetTimeoutSec(int value)The deadline to use, in seconds, for all RPCs.Messages.ClientConfigureRequest.BuildersetTypes(int index, Messages.ClientConfigureRequest.RpcType value)The types of RPCs the client sends.Messages.ClientConfigureRequest.BuildersetTypesValue(int index, int value)The types of RPCs the client sends.Messages.ClientConfigureRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder>
-
clear
public Messages.ClientConfigureRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder>
-
getDefaultInstanceForType
public Messages.ClientConfigureRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Messages.ClientConfigureRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Messages.ClientConfigureRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Messages.ClientConfigureRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Messages.ClientConfigureRequest.Builder>
-
mergeFrom
public Messages.ClientConfigureRequest.Builder mergeFrom(Messages.ClientConfigureRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder>
-
mergeFrom
public Messages.ClientConfigureRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Messages.ClientConfigureRequest.Builder>- Throws:
java.io.IOException
-
getTypesList
public java.util.List<Messages.ClientConfigureRequest.RpcType> getTypesList()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Specified by:
getTypesListin interfaceMessages.ClientConfigureRequestOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Specified by:
getTypesCountin interfaceMessages.ClientConfigureRequestOrBuilder- Returns:
- The count of types.
-
getTypes
public Messages.ClientConfigureRequest.RpcType getTypes(int index)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Specified by:
getTypesin interfaceMessages.ClientConfigureRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
setTypes
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;- Parameters:
index- The index to set the value at.value- The types to set.- Returns:
- This builder for chaining.
-
addTypes
public Messages.ClientConfigureRequest.Builder addTypes(Messages.ClientConfigureRequest.RpcType value)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Parameters:
value- The types to add.- Returns:
- This builder for chaining.
-
addAllTypes
public Messages.ClientConfigureRequest.Builder addAllTypes(java.lang.Iterable<? extends Messages.ClientConfigureRequest.RpcType> values)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Parameters:
values- The types to add.- Returns:
- This builder for chaining.
-
clearTypes
public Messages.ClientConfigureRequest.Builder clearTypes()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Returns:
- This builder for chaining.
-
getTypesValueList
public java.util.List<java.lang.Integer> getTypesValueList()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Specified by:
getTypesValueListin interfaceMessages.ClientConfigureRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
public int getTypesValue(int index)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Specified by:
getTypesValuein interfaceMessages.ClientConfigureRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of types at the given index.
-
setTypesValue
public Messages.ClientConfigureRequest.Builder setTypesValue(int index, int value)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for types to set.- Returns:
- This builder for chaining.
-
addTypesValue
public Messages.ClientConfigureRequest.Builder addTypesValue(int value)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Parameters:
value- The enum numeric value on the wire for types to add.- Returns:
- This builder for chaining.
-
addAllTypesValue
public Messages.ClientConfigureRequest.Builder addAllTypesValue(java.lang.Iterable<java.lang.Integer> values)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;- Parameters:
values- The enum numeric values on the wire for types to add.- Returns:
- This builder for chaining.
-
getMetadataList
public java.util.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;- Specified by:
getMetadataListin interfaceMessages.ClientConfigureRequestOrBuilder
-
getMetadataCount
public int getMetadataCount()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;- Specified by:
getMetadataCountin interfaceMessages.ClientConfigureRequestOrBuilder
-
getMetadata
public 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;- Specified by:
getMetadatain interfaceMessages.ClientConfigureRequestOrBuilder
-
setMetadata
public 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;
-
setMetadata
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;
-
addMetadata
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;
-
addMetadata
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;
-
addMetadata
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;
-
addMetadata
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;
-
addAllMetadata
public Messages.ClientConfigureRequest.Builder addAllMetadata(java.lang.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;
-
clearMetadata
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;
-
removeMetadata
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;
-
getMetadataBuilder
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;
-
getMetadataOrBuilder
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;- Specified by:
getMetadataOrBuilderin interfaceMessages.ClientConfigureRequestOrBuilder
-
getMetadataOrBuilderList
public java.util.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;- Specified by:
getMetadataOrBuilderListin interfaceMessages.ClientConfigureRequestOrBuilder
-
addMetadataBuilder
public 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;
-
addMetadataBuilder
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;
-
getMetadataBuilderList
public java.util.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;
-
getTimeoutSec
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;- Specified by:
getTimeoutSecin interfaceMessages.ClientConfigureRequestOrBuilder- Returns:
- The timeoutSec.
-
setTimeoutSec
public 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;- Parameters:
value- The timeoutSec to set.- Returns:
- This builder for chaining.
-
clearTimeoutSec
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Messages.ClientConfigureRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder>
-
mergeUnknownFields
public final Messages.ClientConfigureRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.ClientConfigureRequest.Builder>
-
-