Package io.grpc.benchmarks.proto
Class Control.ClientConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder>
-
- io.grpc.benchmarks.proto.Control.ClientConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Control.ClientConfigOrBuilder,java.lang.Cloneable
- Enclosing class:
- Control.ClientConfig
public static final class Control.ClientConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder> implements Control.ClientConfigOrBuilder
Protobuf typegrpc.testing.ClientConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Control.ClientConfig.BuilderaddAllChannelArgs(java.lang.Iterable<? extends Control.ChannelArg> values)repeated .grpc.testing.ChannelArg channel_args = 16;Control.ClientConfig.BuilderaddAllCoreList(java.lang.Iterable<? extends java.lang.Integer> values)Specify the cores we should run the client on, if desiredControl.ClientConfig.BuilderaddAllServerTargets(java.lang.Iterable<java.lang.String> values)List of targets to connect to.Control.ClientConfig.BuilderaddChannelArgs(int index, Control.ChannelArg value)repeated .grpc.testing.ChannelArg channel_args = 16;Control.ClientConfig.BuilderaddChannelArgs(int index, Control.ChannelArg.Builder builderForValue)repeated .grpc.testing.ChannelArg channel_args = 16;Control.ClientConfig.BuilderaddChannelArgs(Control.ChannelArg value)repeated .grpc.testing.ChannelArg channel_args = 16;Control.ClientConfig.BuilderaddChannelArgs(Control.ChannelArg.Builder builderForValue)repeated .grpc.testing.ChannelArg channel_args = 16;Control.ChannelArg.BuilderaddChannelArgsBuilder()repeated .grpc.testing.ChannelArg channel_args = 16;Control.ChannelArg.BuilderaddChannelArgsBuilder(int index)repeated .grpc.testing.ChannelArg channel_args = 16;Control.ClientConfig.BuilderaddCoreList(int value)Specify the cores we should run the client on, if desiredControl.ClientConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Control.ClientConfig.BuilderaddServerTargets(java.lang.String value)List of targets to connect to.Control.ClientConfig.BuilderaddServerTargetsBytes(com.google.protobuf.ByteString value)List of targets to connect to.Control.ClientConfigbuild()Control.ClientConfigbuildPartial()Control.ClientConfig.Builderclear()Control.ClientConfig.BuilderclearAsyncClientThreads()Only for async client.Control.ClientConfig.BuilderclearChannelArgs()repeated .grpc.testing.ChannelArg channel_args = 16;Control.ClientConfig.BuilderclearClientChannels()Number of independent client channels to create.Control.ClientConfig.BuilderclearClientType().grpc.testing.ClientType client_type = 2;Control.ClientConfig.BuilderclearCoreLimit()int32 core_limit = 14;Control.ClientConfig.BuilderclearCoreList()Specify the cores we should run the client on, if desiredControl.ClientConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Control.ClientConfig.BuilderclearHistogramParams().grpc.testing.HistogramParams histogram_params = 12;Control.ClientConfig.BuilderclearLoadParams()The requested load for the entire client (aggregated over all the threads).Control.ClientConfig.BuilderclearMessagesPerStream()Number of messages on a stream before it gets finished/restartedControl.ClientConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Control.ClientConfig.BuilderclearOtherClientApi()If we use an OTHER_CLIENT client_type, this string gives more detailControl.ClientConfig.BuilderclearOutstandingRpcsPerChannel()How many concurrent RPCs to start for each channel.Control.ClientConfig.BuilderclearPayloadConfig().grpc.testing.PayloadConfig payload_config = 11;Control.ClientConfig.BuilderclearRpcType().grpc.testing.RpcType rpc_type = 8;Control.ClientConfig.BuilderclearSecurityParams().grpc.testing.SecurityParams security_params = 3;Control.ClientConfig.BuilderclearServerTargets()List of targets to connect to.Control.ClientConfig.Builderclone()intgetAsyncClientThreads()Only for async client.Control.ChannelArggetChannelArgs(int index)repeated .grpc.testing.ChannelArg channel_args = 16;Control.ChannelArg.BuildergetChannelArgsBuilder(int index)repeated .grpc.testing.ChannelArg channel_args = 16;java.util.List<Control.ChannelArg.Builder>getChannelArgsBuilderList()repeated .grpc.testing.ChannelArg channel_args = 16;intgetChannelArgsCount()repeated .grpc.testing.ChannelArg channel_args = 16;java.util.List<Control.ChannelArg>getChannelArgsList()repeated .grpc.testing.ChannelArg channel_args = 16;Control.ChannelArgOrBuildergetChannelArgsOrBuilder(int index)repeated .grpc.testing.ChannelArg channel_args = 16;java.util.List<? extends Control.ChannelArgOrBuilder>getChannelArgsOrBuilderList()repeated .grpc.testing.ChannelArg channel_args = 16;intgetClientChannels()Number of independent client channels to create.Control.ClientTypegetClientType().grpc.testing.ClientType client_type = 2;intgetClientTypeValue().grpc.testing.ClientType client_type = 2;intgetCoreLimit()int32 core_limit = 14;intgetCoreList(int index)Specify the cores we should run the client on, if desiredintgetCoreListCount()Specify the cores we should run the client on, if desiredjava.util.List<java.lang.Integer>getCoreListList()Specify the cores we should run the client on, if desiredControl.ClientConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Stats.HistogramParamsgetHistogramParams().grpc.testing.HistogramParams histogram_params = 12;Stats.HistogramParams.BuildergetHistogramParamsBuilder().grpc.testing.HistogramParams histogram_params = 12;Stats.HistogramParamsOrBuildergetHistogramParamsOrBuilder().grpc.testing.HistogramParams histogram_params = 12;Control.LoadParamsgetLoadParams()The requested load for the entire client (aggregated over all the threads).Control.LoadParams.BuildergetLoadParamsBuilder()The requested load for the entire client (aggregated over all the threads).Control.LoadParamsOrBuildergetLoadParamsOrBuilder()The requested load for the entire client (aggregated over all the threads).intgetMessagesPerStream()Number of messages on a stream before it gets finished/restartedjava.lang.StringgetOtherClientApi()If we use an OTHER_CLIENT client_type, this string gives more detailcom.google.protobuf.ByteStringgetOtherClientApiBytes()If we use an OTHER_CLIENT client_type, this string gives more detailintgetOutstandingRpcsPerChannel()How many concurrent RPCs to start for each channel.Payloads.PayloadConfiggetPayloadConfig().grpc.testing.PayloadConfig payload_config = 11;Payloads.PayloadConfig.BuildergetPayloadConfigBuilder().grpc.testing.PayloadConfig payload_config = 11;Payloads.PayloadConfigOrBuildergetPayloadConfigOrBuilder().grpc.testing.PayloadConfig payload_config = 11;Control.RpcTypegetRpcType().grpc.testing.RpcType rpc_type = 8;intgetRpcTypeValue().grpc.testing.RpcType rpc_type = 8;Control.SecurityParamsgetSecurityParams().grpc.testing.SecurityParams security_params = 3;Control.SecurityParams.BuildergetSecurityParamsBuilder().grpc.testing.SecurityParams security_params = 3;Control.SecurityParamsOrBuildergetSecurityParamsOrBuilder().grpc.testing.SecurityParams security_params = 3;java.lang.StringgetServerTargets(int index)List of targets to connect to.com.google.protobuf.ByteStringgetServerTargetsBytes(int index)List of targets to connect to.intgetServerTargetsCount()List of targets to connect to.com.google.protobuf.ProtocolStringListgetServerTargetsList()List of targets to connect to.booleanhasHistogramParams().grpc.testing.HistogramParams histogram_params = 12;booleanhasLoadParams()The requested load for the entire client (aggregated over all the threads).booleanhasPayloadConfig().grpc.testing.PayloadConfig payload_config = 11;booleanhasSecurityParams().grpc.testing.SecurityParams security_params = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Control.ClientConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Control.ClientConfig.BuildermergeFrom(com.google.protobuf.Message other)Control.ClientConfig.BuildermergeFrom(Control.ClientConfig other)Control.ClientConfig.BuildermergeHistogramParams(Stats.HistogramParams value).grpc.testing.HistogramParams histogram_params = 12;Control.ClientConfig.BuildermergeLoadParams(Control.LoadParams value)The requested load for the entire client (aggregated over all the threads).Control.ClientConfig.BuildermergePayloadConfig(Payloads.PayloadConfig value).grpc.testing.PayloadConfig payload_config = 11;Control.ClientConfig.BuildermergeSecurityParams(Control.SecurityParams value).grpc.testing.SecurityParams security_params = 3;Control.ClientConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Control.ClientConfig.BuilderremoveChannelArgs(int index)repeated .grpc.testing.ChannelArg channel_args = 16;Control.ClientConfig.BuildersetAsyncClientThreads(int value)Only for async client.Control.ClientConfig.BuildersetChannelArgs(int index, Control.ChannelArg value)repeated .grpc.testing.ChannelArg channel_args = 16;Control.ClientConfig.BuildersetChannelArgs(int index, Control.ChannelArg.Builder builderForValue)repeated .grpc.testing.ChannelArg channel_args = 16;Control.ClientConfig.BuildersetClientChannels(int value)Number of independent client channels to create.Control.ClientConfig.BuildersetClientType(Control.ClientType value).grpc.testing.ClientType client_type = 2;Control.ClientConfig.BuildersetClientTypeValue(int value).grpc.testing.ClientType client_type = 2;Control.ClientConfig.BuildersetCoreLimit(int value)int32 core_limit = 14;Control.ClientConfig.BuildersetCoreList(int index, int value)Specify the cores we should run the client on, if desiredControl.ClientConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Control.ClientConfig.BuildersetHistogramParams(Stats.HistogramParams value).grpc.testing.HistogramParams histogram_params = 12;Control.ClientConfig.BuildersetHistogramParams(Stats.HistogramParams.Builder builderForValue).grpc.testing.HistogramParams histogram_params = 12;Control.ClientConfig.BuildersetLoadParams(Control.LoadParams value)The requested load for the entire client (aggregated over all the threads).Control.ClientConfig.BuildersetLoadParams(Control.LoadParams.Builder builderForValue)The requested load for the entire client (aggregated over all the threads).Control.ClientConfig.BuildersetMessagesPerStream(int value)Number of messages on a stream before it gets finished/restartedControl.ClientConfig.BuildersetOtherClientApi(java.lang.String value)If we use an OTHER_CLIENT client_type, this string gives more detailControl.ClientConfig.BuildersetOtherClientApiBytes(com.google.protobuf.ByteString value)If we use an OTHER_CLIENT client_type, this string gives more detailControl.ClientConfig.BuildersetOutstandingRpcsPerChannel(int value)How many concurrent RPCs to start for each channel.Control.ClientConfig.BuildersetPayloadConfig(Payloads.PayloadConfig value).grpc.testing.PayloadConfig payload_config = 11;Control.ClientConfig.BuildersetPayloadConfig(Payloads.PayloadConfig.Builder builderForValue).grpc.testing.PayloadConfig payload_config = 11;Control.ClientConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Control.ClientConfig.BuildersetRpcType(Control.RpcType value).grpc.testing.RpcType rpc_type = 8;Control.ClientConfig.BuildersetRpcTypeValue(int value).grpc.testing.RpcType rpc_type = 8;Control.ClientConfig.BuildersetSecurityParams(Control.SecurityParams value).grpc.testing.SecurityParams security_params = 3;Control.ClientConfig.BuildersetSecurityParams(Control.SecurityParams.Builder builderForValue).grpc.testing.SecurityParams security_params = 3;Control.ClientConfig.BuildersetServerTargets(int index, java.lang.String value)List of targets to connect to.Control.ClientConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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<Control.ClientConfig.Builder>
-
clear
public Control.ClientConfig.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<Control.ClientConfig.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<Control.ClientConfig.Builder>
-
getDefaultInstanceForType
public Control.ClientConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Control.ClientConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Control.ClientConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Control.ClientConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder>
-
setField
public Control.ClientConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder>
-
clearField
public Control.ClientConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder>
-
clearOneof
public Control.ClientConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder>
-
setRepeatedField
public Control.ClientConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder>
-
addRepeatedField
public Control.ClientConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder>
-
mergeFrom
public Control.ClientConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Control.ClientConfig.Builder>
-
mergeFrom
public Control.ClientConfig.Builder mergeFrom(Control.ClientConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder>
-
mergeFrom
public Control.ClientConfig.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<Control.ClientConfig.Builder>- Throws:
java.io.IOException
-
getServerTargetsList
public com.google.protobuf.ProtocolStringList getServerTargetsList()
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;- Specified by:
getServerTargetsListin interfaceControl.ClientConfigOrBuilder- Returns:
- A list containing the serverTargets.
-
getServerTargetsCount
public int getServerTargetsCount()
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;- Specified by:
getServerTargetsCountin interfaceControl.ClientConfigOrBuilder- Returns:
- The count of serverTargets.
-
getServerTargets
public java.lang.String getServerTargets(int index)
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;- Specified by:
getServerTargetsin interfaceControl.ClientConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The serverTargets at the given index.
-
getServerTargetsBytes
public com.google.protobuf.ByteString getServerTargetsBytes(int index)
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;- Specified by:
getServerTargetsBytesin interfaceControl.ClientConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the serverTargets at the given index.
-
setServerTargets
public Control.ClientConfig.Builder setServerTargets(int index, java.lang.String value)
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;- Parameters:
index- The index to set the value at.value- The serverTargets to set.- Returns:
- This builder for chaining.
-
addServerTargets
public Control.ClientConfig.Builder addServerTargets(java.lang.String value)
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;- Parameters:
value- The serverTargets to add.- Returns:
- This builder for chaining.
-
addAllServerTargets
public Control.ClientConfig.Builder addAllServerTargets(java.lang.Iterable<java.lang.String> values)
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;- Parameters:
values- The serverTargets to add.- Returns:
- This builder for chaining.
-
clearServerTargets
public Control.ClientConfig.Builder clearServerTargets()
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;- Returns:
- This builder for chaining.
-
addServerTargetsBytes
public Control.ClientConfig.Builder addServerTargetsBytes(com.google.protobuf.ByteString value)
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;- Parameters:
value- The bytes of the serverTargets to add.- Returns:
- This builder for chaining.
-
getClientTypeValue
public int getClientTypeValue()
.grpc.testing.ClientType client_type = 2;- Specified by:
getClientTypeValuein interfaceControl.ClientConfigOrBuilder- Returns:
- The enum numeric value on the wire for clientType.
-
setClientTypeValue
public Control.ClientConfig.Builder setClientTypeValue(int value)
.grpc.testing.ClientType client_type = 2;- Parameters:
value- The enum numeric value on the wire for clientType to set.- Returns:
- This builder for chaining.
-
getClientType
public Control.ClientType getClientType()
.grpc.testing.ClientType client_type = 2;- Specified by:
getClientTypein interfaceControl.ClientConfigOrBuilder- Returns:
- The clientType.
-
setClientType
public Control.ClientConfig.Builder setClientType(Control.ClientType value)
.grpc.testing.ClientType client_type = 2;- Parameters:
value- The clientType to set.- Returns:
- This builder for chaining.
-
clearClientType
public Control.ClientConfig.Builder clearClientType()
.grpc.testing.ClientType client_type = 2;- Returns:
- This builder for chaining.
-
hasSecurityParams
public boolean hasSecurityParams()
.grpc.testing.SecurityParams security_params = 3;- Specified by:
hasSecurityParamsin interfaceControl.ClientConfigOrBuilder- Returns:
- Whether the securityParams field is set.
-
getSecurityParams
public Control.SecurityParams getSecurityParams()
.grpc.testing.SecurityParams security_params = 3;- Specified by:
getSecurityParamsin interfaceControl.ClientConfigOrBuilder- Returns:
- The securityParams.
-
setSecurityParams
public Control.ClientConfig.Builder setSecurityParams(Control.SecurityParams value)
.grpc.testing.SecurityParams security_params = 3;
-
setSecurityParams
public Control.ClientConfig.Builder setSecurityParams(Control.SecurityParams.Builder builderForValue)
.grpc.testing.SecurityParams security_params = 3;
-
mergeSecurityParams
public Control.ClientConfig.Builder mergeSecurityParams(Control.SecurityParams value)
.grpc.testing.SecurityParams security_params = 3;
-
clearSecurityParams
public Control.ClientConfig.Builder clearSecurityParams()
.grpc.testing.SecurityParams security_params = 3;
-
getSecurityParamsBuilder
public Control.SecurityParams.Builder getSecurityParamsBuilder()
.grpc.testing.SecurityParams security_params = 3;
-
getSecurityParamsOrBuilder
public Control.SecurityParamsOrBuilder getSecurityParamsOrBuilder()
.grpc.testing.SecurityParams security_params = 3;- Specified by:
getSecurityParamsOrBuilderin interfaceControl.ClientConfigOrBuilder
-
getOutstandingRpcsPerChannel
public int getOutstandingRpcsPerChannel()
How many concurrent RPCs to start for each channel. For synchronous client, use a separate thread for each outstanding RPC.
int32 outstanding_rpcs_per_channel = 4;- Specified by:
getOutstandingRpcsPerChannelin interfaceControl.ClientConfigOrBuilder- Returns:
- The outstandingRpcsPerChannel.
-
setOutstandingRpcsPerChannel
public Control.ClientConfig.Builder setOutstandingRpcsPerChannel(int value)
How many concurrent RPCs to start for each channel. For synchronous client, use a separate thread for each outstanding RPC.
int32 outstanding_rpcs_per_channel = 4;- Parameters:
value- The outstandingRpcsPerChannel to set.- Returns:
- This builder for chaining.
-
clearOutstandingRpcsPerChannel
public Control.ClientConfig.Builder clearOutstandingRpcsPerChannel()
How many concurrent RPCs to start for each channel. For synchronous client, use a separate thread for each outstanding RPC.
int32 outstanding_rpcs_per_channel = 4;- Returns:
- This builder for chaining.
-
getClientChannels
public int getClientChannels()
Number of independent client channels to create. i-th channel will connect to server_target[i % server_targets.size()]
int32 client_channels = 5;- Specified by:
getClientChannelsin interfaceControl.ClientConfigOrBuilder- Returns:
- The clientChannels.
-
setClientChannels
public Control.ClientConfig.Builder setClientChannels(int value)
Number of independent client channels to create. i-th channel will connect to server_target[i % server_targets.size()]
int32 client_channels = 5;- Parameters:
value- The clientChannels to set.- Returns:
- This builder for chaining.
-
clearClientChannels
public Control.ClientConfig.Builder clearClientChannels()
Number of independent client channels to create. i-th channel will connect to server_target[i % server_targets.size()]
int32 client_channels = 5;- Returns:
- This builder for chaining.
-
getAsyncClientThreads
public int getAsyncClientThreads()
Only for async client. Number of threads to use to start/manage RPCs.
int32 async_client_threads = 7;- Specified by:
getAsyncClientThreadsin interfaceControl.ClientConfigOrBuilder- Returns:
- The asyncClientThreads.
-
setAsyncClientThreads
public Control.ClientConfig.Builder setAsyncClientThreads(int value)
Only for async client. Number of threads to use to start/manage RPCs.
int32 async_client_threads = 7;- Parameters:
value- The asyncClientThreads to set.- Returns:
- This builder for chaining.
-
clearAsyncClientThreads
public Control.ClientConfig.Builder clearAsyncClientThreads()
Only for async client. Number of threads to use to start/manage RPCs.
int32 async_client_threads = 7;- Returns:
- This builder for chaining.
-
getRpcTypeValue
public int getRpcTypeValue()
.grpc.testing.RpcType rpc_type = 8;- Specified by:
getRpcTypeValuein interfaceControl.ClientConfigOrBuilder- Returns:
- The enum numeric value on the wire for rpcType.
-
setRpcTypeValue
public Control.ClientConfig.Builder setRpcTypeValue(int value)
.grpc.testing.RpcType rpc_type = 8;- Parameters:
value- The enum numeric value on the wire for rpcType to set.- Returns:
- This builder for chaining.
-
getRpcType
public Control.RpcType getRpcType()
.grpc.testing.RpcType rpc_type = 8;- Specified by:
getRpcTypein interfaceControl.ClientConfigOrBuilder- Returns:
- The rpcType.
-
setRpcType
public Control.ClientConfig.Builder setRpcType(Control.RpcType value)
.grpc.testing.RpcType rpc_type = 8;- Parameters:
value- The rpcType to set.- Returns:
- This builder for chaining.
-
clearRpcType
public Control.ClientConfig.Builder clearRpcType()
.grpc.testing.RpcType rpc_type = 8;- Returns:
- This builder for chaining.
-
hasLoadParams
public boolean hasLoadParams()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;- Specified by:
hasLoadParamsin interfaceControl.ClientConfigOrBuilder- Returns:
- Whether the loadParams field is set.
-
getLoadParams
public Control.LoadParams getLoadParams()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;- Specified by:
getLoadParamsin interfaceControl.ClientConfigOrBuilder- Returns:
- The loadParams.
-
setLoadParams
public Control.ClientConfig.Builder setLoadParams(Control.LoadParams value)
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;
-
setLoadParams
public Control.ClientConfig.Builder setLoadParams(Control.LoadParams.Builder builderForValue)
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;
-
mergeLoadParams
public Control.ClientConfig.Builder mergeLoadParams(Control.LoadParams value)
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;
-
clearLoadParams
public Control.ClientConfig.Builder clearLoadParams()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;
-
getLoadParamsBuilder
public Control.LoadParams.Builder getLoadParamsBuilder()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;
-
getLoadParamsOrBuilder
public Control.LoadParamsOrBuilder getLoadParamsOrBuilder()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;- Specified by:
getLoadParamsOrBuilderin interfaceControl.ClientConfigOrBuilder
-
hasPayloadConfig
public boolean hasPayloadConfig()
.grpc.testing.PayloadConfig payload_config = 11;- Specified by:
hasPayloadConfigin interfaceControl.ClientConfigOrBuilder- Returns:
- Whether the payloadConfig field is set.
-
getPayloadConfig
public Payloads.PayloadConfig getPayloadConfig()
.grpc.testing.PayloadConfig payload_config = 11;- Specified by:
getPayloadConfigin interfaceControl.ClientConfigOrBuilder- Returns:
- The payloadConfig.
-
setPayloadConfig
public Control.ClientConfig.Builder setPayloadConfig(Payloads.PayloadConfig value)
.grpc.testing.PayloadConfig payload_config = 11;
-
setPayloadConfig
public Control.ClientConfig.Builder setPayloadConfig(Payloads.PayloadConfig.Builder builderForValue)
.grpc.testing.PayloadConfig payload_config = 11;
-
mergePayloadConfig
public Control.ClientConfig.Builder mergePayloadConfig(Payloads.PayloadConfig value)
.grpc.testing.PayloadConfig payload_config = 11;
-
clearPayloadConfig
public Control.ClientConfig.Builder clearPayloadConfig()
.grpc.testing.PayloadConfig payload_config = 11;
-
getPayloadConfigBuilder
public Payloads.PayloadConfig.Builder getPayloadConfigBuilder()
.grpc.testing.PayloadConfig payload_config = 11;
-
getPayloadConfigOrBuilder
public Payloads.PayloadConfigOrBuilder getPayloadConfigOrBuilder()
.grpc.testing.PayloadConfig payload_config = 11;- Specified by:
getPayloadConfigOrBuilderin interfaceControl.ClientConfigOrBuilder
-
hasHistogramParams
public boolean hasHistogramParams()
.grpc.testing.HistogramParams histogram_params = 12;- Specified by:
hasHistogramParamsin interfaceControl.ClientConfigOrBuilder- Returns:
- Whether the histogramParams field is set.
-
getHistogramParams
public Stats.HistogramParams getHistogramParams()
.grpc.testing.HistogramParams histogram_params = 12;- Specified by:
getHistogramParamsin interfaceControl.ClientConfigOrBuilder- Returns:
- The histogramParams.
-
setHistogramParams
public Control.ClientConfig.Builder setHistogramParams(Stats.HistogramParams value)
.grpc.testing.HistogramParams histogram_params = 12;
-
setHistogramParams
public Control.ClientConfig.Builder setHistogramParams(Stats.HistogramParams.Builder builderForValue)
.grpc.testing.HistogramParams histogram_params = 12;
-
mergeHistogramParams
public Control.ClientConfig.Builder mergeHistogramParams(Stats.HistogramParams value)
.grpc.testing.HistogramParams histogram_params = 12;
-
clearHistogramParams
public Control.ClientConfig.Builder clearHistogramParams()
.grpc.testing.HistogramParams histogram_params = 12;
-
getHistogramParamsBuilder
public Stats.HistogramParams.Builder getHistogramParamsBuilder()
.grpc.testing.HistogramParams histogram_params = 12;
-
getHistogramParamsOrBuilder
public Stats.HistogramParamsOrBuilder getHistogramParamsOrBuilder()
.grpc.testing.HistogramParams histogram_params = 12;- Specified by:
getHistogramParamsOrBuilderin interfaceControl.ClientConfigOrBuilder
-
getCoreListList
public java.util.List<java.lang.Integer> getCoreListList()
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;- Specified by:
getCoreListListin interfaceControl.ClientConfigOrBuilder- Returns:
- A list containing the coreList.
-
getCoreListCount
public int getCoreListCount()
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;- Specified by:
getCoreListCountin interfaceControl.ClientConfigOrBuilder- Returns:
- The count of coreList.
-
getCoreList
public int getCoreList(int index)
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;- Specified by:
getCoreListin interfaceControl.ClientConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The coreList at the given index.
-
setCoreList
public Control.ClientConfig.Builder setCoreList(int index, int value)
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;- Parameters:
index- The index to set the value at.value- The coreList to set.- Returns:
- This builder for chaining.
-
addCoreList
public Control.ClientConfig.Builder addCoreList(int value)
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;- Parameters:
value- The coreList to add.- Returns:
- This builder for chaining.
-
addAllCoreList
public Control.ClientConfig.Builder addAllCoreList(java.lang.Iterable<? extends java.lang.Integer> values)
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;- Parameters:
values- The coreList to add.- Returns:
- This builder for chaining.
-
clearCoreList
public Control.ClientConfig.Builder clearCoreList()
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;- Returns:
- This builder for chaining.
-
getCoreLimit
public int getCoreLimit()
int32 core_limit = 14;- Specified by:
getCoreLimitin interfaceControl.ClientConfigOrBuilder- Returns:
- The coreLimit.
-
setCoreLimit
public Control.ClientConfig.Builder setCoreLimit(int value)
int32 core_limit = 14;- Parameters:
value- The coreLimit to set.- Returns:
- This builder for chaining.
-
clearCoreLimit
public Control.ClientConfig.Builder clearCoreLimit()
int32 core_limit = 14;- Returns:
- This builder for chaining.
-
getOtherClientApi
public java.lang.String getOtherClientApi()
If we use an OTHER_CLIENT client_type, this string gives more detail
string other_client_api = 15;- Specified by:
getOtherClientApiin interfaceControl.ClientConfigOrBuilder- Returns:
- The otherClientApi.
-
getOtherClientApiBytes
public com.google.protobuf.ByteString getOtherClientApiBytes()
If we use an OTHER_CLIENT client_type, this string gives more detail
string other_client_api = 15;- Specified by:
getOtherClientApiBytesin interfaceControl.ClientConfigOrBuilder- Returns:
- The bytes for otherClientApi.
-
setOtherClientApi
public Control.ClientConfig.Builder setOtherClientApi(java.lang.String value)
If we use an OTHER_CLIENT client_type, this string gives more detail
string other_client_api = 15;- Parameters:
value- The otherClientApi to set.- Returns:
- This builder for chaining.
-
clearOtherClientApi
public Control.ClientConfig.Builder clearOtherClientApi()
If we use an OTHER_CLIENT client_type, this string gives more detail
string other_client_api = 15;- Returns:
- This builder for chaining.
-
setOtherClientApiBytes
public Control.ClientConfig.Builder setOtherClientApiBytes(com.google.protobuf.ByteString value)
If we use an OTHER_CLIENT client_type, this string gives more detail
string other_client_api = 15;- Parameters:
value- The bytes for otherClientApi to set.- Returns:
- This builder for chaining.
-
getChannelArgsList
public java.util.List<Control.ChannelArg> getChannelArgsList()
repeated .grpc.testing.ChannelArg channel_args = 16;- Specified by:
getChannelArgsListin interfaceControl.ClientConfigOrBuilder
-
getChannelArgsCount
public int getChannelArgsCount()
repeated .grpc.testing.ChannelArg channel_args = 16;- Specified by:
getChannelArgsCountin interfaceControl.ClientConfigOrBuilder
-
getChannelArgs
public Control.ChannelArg getChannelArgs(int index)
repeated .grpc.testing.ChannelArg channel_args = 16;- Specified by:
getChannelArgsin interfaceControl.ClientConfigOrBuilder
-
setChannelArgs
public Control.ClientConfig.Builder setChannelArgs(int index, Control.ChannelArg value)
repeated .grpc.testing.ChannelArg channel_args = 16;
-
setChannelArgs
public Control.ClientConfig.Builder setChannelArgs(int index, Control.ChannelArg.Builder builderForValue)
repeated .grpc.testing.ChannelArg channel_args = 16;
-
addChannelArgs
public Control.ClientConfig.Builder addChannelArgs(Control.ChannelArg value)
repeated .grpc.testing.ChannelArg channel_args = 16;
-
addChannelArgs
public Control.ClientConfig.Builder addChannelArgs(int index, Control.ChannelArg value)
repeated .grpc.testing.ChannelArg channel_args = 16;
-
addChannelArgs
public Control.ClientConfig.Builder addChannelArgs(Control.ChannelArg.Builder builderForValue)
repeated .grpc.testing.ChannelArg channel_args = 16;
-
addChannelArgs
public Control.ClientConfig.Builder addChannelArgs(int index, Control.ChannelArg.Builder builderForValue)
repeated .grpc.testing.ChannelArg channel_args = 16;
-
addAllChannelArgs
public Control.ClientConfig.Builder addAllChannelArgs(java.lang.Iterable<? extends Control.ChannelArg> values)
repeated .grpc.testing.ChannelArg channel_args = 16;
-
clearChannelArgs
public Control.ClientConfig.Builder clearChannelArgs()
repeated .grpc.testing.ChannelArg channel_args = 16;
-
removeChannelArgs
public Control.ClientConfig.Builder removeChannelArgs(int index)
repeated .grpc.testing.ChannelArg channel_args = 16;
-
getChannelArgsBuilder
public Control.ChannelArg.Builder getChannelArgsBuilder(int index)
repeated .grpc.testing.ChannelArg channel_args = 16;
-
getChannelArgsOrBuilder
public Control.ChannelArgOrBuilder getChannelArgsOrBuilder(int index)
repeated .grpc.testing.ChannelArg channel_args = 16;- Specified by:
getChannelArgsOrBuilderin interfaceControl.ClientConfigOrBuilder
-
getChannelArgsOrBuilderList
public java.util.List<? extends Control.ChannelArgOrBuilder> getChannelArgsOrBuilderList()
repeated .grpc.testing.ChannelArg channel_args = 16;- Specified by:
getChannelArgsOrBuilderListin interfaceControl.ClientConfigOrBuilder
-
addChannelArgsBuilder
public Control.ChannelArg.Builder addChannelArgsBuilder()
repeated .grpc.testing.ChannelArg channel_args = 16;
-
addChannelArgsBuilder
public Control.ChannelArg.Builder addChannelArgsBuilder(int index)
repeated .grpc.testing.ChannelArg channel_args = 16;
-
getChannelArgsBuilderList
public java.util.List<Control.ChannelArg.Builder> getChannelArgsBuilderList()
repeated .grpc.testing.ChannelArg channel_args = 16;
-
getMessagesPerStream
public int getMessagesPerStream()
Number of messages on a stream before it gets finished/restarted
int32 messages_per_stream = 18;- Specified by:
getMessagesPerStreamin interfaceControl.ClientConfigOrBuilder- Returns:
- The messagesPerStream.
-
setMessagesPerStream
public Control.ClientConfig.Builder setMessagesPerStream(int value)
Number of messages on a stream before it gets finished/restarted
int32 messages_per_stream = 18;- Parameters:
value- The messagesPerStream to set.- Returns:
- This builder for chaining.
-
clearMessagesPerStream
public Control.ClientConfig.Builder clearMessagesPerStream()
Number of messages on a stream before it gets finished/restarted
int32 messages_per_stream = 18;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Control.ClientConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder>
-
mergeUnknownFields
public final Control.ClientConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Control.ClientConfig.Builder>
-
-