public static interface Control.ClientConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getAsyncClientThreads()
Only for async client.
|
Control.ChannelArg |
getChannelArgs(int index)
repeated .grpc.testing.ChannelArg channel_args = 16; |
int |
getChannelArgsCount()
repeated .grpc.testing.ChannelArg channel_args = 16; |
List<Control.ChannelArg> |
getChannelArgsList()
repeated .grpc.testing.ChannelArg channel_args = 16; |
Control.ChannelArgOrBuilder |
getChannelArgsOrBuilder(int index)
repeated .grpc.testing.ChannelArg channel_args = 16; |
List<? extends Control.ChannelArgOrBuilder> |
getChannelArgsOrBuilderList()
repeated .grpc.testing.ChannelArg channel_args = 16; |
int |
getClientChannels()
Number of independent client channels to create.
|
Control.ClientType |
getClientType()
.grpc.testing.ClientType client_type = 2; |
int |
getClientTypeValue()
.grpc.testing.ClientType client_type = 2; |
int |
getCoreLimit()
int32 core_limit = 14; |
int |
getCoreList(int index)
Specify the cores we should run the client on, if desired
|
int |
getCoreListCount()
Specify the cores we should run the client on, if desired
|
List<Integer> |
getCoreListList()
Specify the cores we should run the client on, if desired
|
Stats.HistogramParams |
getHistogramParams()
.grpc.testing.HistogramParams histogram_params = 12; |
Stats.HistogramParamsOrBuilder |
getHistogramParamsOrBuilder()
.grpc.testing.HistogramParams histogram_params = 12; |
Control.LoadParams |
getLoadParams()
The requested load for the entire client (aggregated over all the threads).
|
Control.LoadParamsOrBuilder |
getLoadParamsOrBuilder()
The requested load for the entire client (aggregated over all the threads).
|
int |
getMessagesPerStream()
Number of messages on a stream before it gets finished/restarted
|
String |
getOtherClientApi()
If we use an OTHER_CLIENT client_type, this string gives more detail
|
com.google.protobuf.ByteString |
getOtherClientApiBytes()
If we use an OTHER_CLIENT client_type, this string gives more detail
|
int |
getOutstandingRpcsPerChannel()
How many concurrent RPCs to start for each channel.
|
Payloads.PayloadConfig |
getPayloadConfig()
.grpc.testing.PayloadConfig payload_config = 11; |
Payloads.PayloadConfigOrBuilder |
getPayloadConfigOrBuilder()
.grpc.testing.PayloadConfig payload_config = 11; |
Control.RpcType |
getRpcType()
.grpc.testing.RpcType rpc_type = 8; |
int |
getRpcTypeValue()
.grpc.testing.RpcType rpc_type = 8; |
Control.SecurityParams |
getSecurityParams()
.grpc.testing.SecurityParams security_params = 3; |
Control.SecurityParamsOrBuilder |
getSecurityParamsOrBuilder()
.grpc.testing.SecurityParams security_params = 3; |
String |
getServerTargets(int index)
List of targets to connect to.
|
com.google.protobuf.ByteString |
getServerTargetsBytes(int index)
List of targets to connect to.
|
int |
getServerTargetsCount()
List of targets to connect to.
|
List<String> |
getServerTargetsList()
List of targets to connect to.
|
boolean |
hasHistogramParams()
.grpc.testing.HistogramParams histogram_params = 12; |
boolean |
hasLoadParams()
The requested load for the entire client (aggregated over all the threads).
|
boolean |
hasPayloadConfig()
.grpc.testing.PayloadConfig payload_config = 11; |
boolean |
hasSecurityParams()
.grpc.testing.SecurityParams security_params = 3; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<String> getServerTargetsList()
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;int getServerTargetsCount()
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;String getServerTargets(int index)
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;index - The index of the element to return.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;index - The index of the value to return.int getClientTypeValue()
.grpc.testing.ClientType client_type = 2;Control.ClientType getClientType()
.grpc.testing.ClientType client_type = 2;boolean hasSecurityParams()
.grpc.testing.SecurityParams security_params = 3;Control.SecurityParams getSecurityParams()
.grpc.testing.SecurityParams security_params = 3;Control.SecurityParamsOrBuilder getSecurityParamsOrBuilder()
.grpc.testing.SecurityParams security_params = 3;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;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;int getAsyncClientThreads()
Only for async client. Number of threads to use to start/manage RPCs.
int32 async_client_threads = 7;int getRpcTypeValue()
.grpc.testing.RpcType rpc_type = 8;Control.RpcType getRpcType()
.grpc.testing.RpcType rpc_type = 8;boolean hasLoadParams()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;Control.LoadParams getLoadParams()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;Control.LoadParamsOrBuilder getLoadParamsOrBuilder()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;boolean hasPayloadConfig()
.grpc.testing.PayloadConfig payload_config = 11;Payloads.PayloadConfig getPayloadConfig()
.grpc.testing.PayloadConfig payload_config = 11;Payloads.PayloadConfigOrBuilder getPayloadConfigOrBuilder()
.grpc.testing.PayloadConfig payload_config = 11;boolean hasHistogramParams()
.grpc.testing.HistogramParams histogram_params = 12;Stats.HistogramParams getHistogramParams()
.grpc.testing.HistogramParams histogram_params = 12;Stats.HistogramParamsOrBuilder getHistogramParamsOrBuilder()
.grpc.testing.HistogramParams histogram_params = 12;List<Integer> getCoreListList()
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;int getCoreListCount()
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;int getCoreList(int index)
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;index - The index of the element to return.int getCoreLimit()
int32 core_limit = 14;String getOtherClientApi()
If we use an OTHER_CLIENT client_type, this string gives more detail
string other_client_api = 15;com.google.protobuf.ByteString getOtherClientApiBytes()
If we use an OTHER_CLIENT client_type, this string gives more detail
string other_client_api = 15;List<Control.ChannelArg> getChannelArgsList()
repeated .grpc.testing.ChannelArg channel_args = 16;Control.ChannelArg getChannelArgs(int index)
repeated .grpc.testing.ChannelArg channel_args = 16;int getChannelArgsCount()
repeated .grpc.testing.ChannelArg channel_args = 16;List<? extends Control.ChannelArgOrBuilder> getChannelArgsOrBuilderList()
repeated .grpc.testing.ChannelArg channel_args = 16;Control.ChannelArgOrBuilder getChannelArgsOrBuilder(int index)
repeated .grpc.testing.ChannelArg channel_args = 16;int getMessagesPerStream()
Number of messages on a stream before it gets finished/restarted
int32 messages_per_stream = 18;