public static final class Control.ClientConfig extends com.google.protobuf.GeneratedMessageV3 implements Control.ClientConfigOrBuilder
grpc.testing.ClientConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Control.ClientConfig.Builder
Protobuf type
grpc.testing.ClientConfig |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ASYNC_CLIENT_THREADS_FIELD_NUMBER |
static int |
CHANNEL_ARGS_FIELD_NUMBER |
static int |
CLIENT_CHANNELS_FIELD_NUMBER |
static int |
CLIENT_TYPE_FIELD_NUMBER |
static int |
CORE_LIMIT_FIELD_NUMBER |
static int |
CORE_LIST_FIELD_NUMBER |
static int |
HISTOGRAM_PARAMS_FIELD_NUMBER |
static int |
LOAD_PARAMS_FIELD_NUMBER |
static int |
MESSAGES_PER_STREAM_FIELD_NUMBER |
static int |
OTHER_CLIENT_API_FIELD_NUMBER |
static int |
OUTSTANDING_RPCS_PER_CHANNEL_FIELD_NUMBER |
static int |
PAYLOAD_CONFIG_FIELD_NUMBER |
static int |
RPC_TYPE_FIELD_NUMBER |
static int |
SECURITY_PARAMS_FIELD_NUMBER |
static int |
SERVER_TARGETS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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
|
static Control.ClientConfig |
getDefaultInstance() |
Control.ClientConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Control.ClientConfig> |
getParserForType() |
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; |
int |
getSerializedSize() |
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.
|
com.google.protobuf.ProtocolStringList |
getServerTargetsList()
List of targets to connect to.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Control.ClientConfig.Builder |
newBuilder() |
static Control.ClientConfig.Builder |
newBuilder(Control.ClientConfig prototype) |
Control.ClientConfig.Builder |
newBuilderForType() |
protected Control.ClientConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Control.ClientConfig |
parseDelimitedFrom(InputStream input) |
static Control.ClientConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Control.ClientConfig |
parseFrom(byte[] data) |
static Control.ClientConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Control.ClientConfig |
parseFrom(ByteBuffer data) |
static Control.ClientConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Control.ClientConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Control.ClientConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Control.ClientConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Control.ClientConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Control.ClientConfig |
parseFrom(InputStream input) |
static Control.ClientConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Control.ClientConfig> |
parser() |
Control.ClientConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SERVER_TARGETS_FIELD_NUMBER
public static final int CLIENT_TYPE_FIELD_NUMBER
public static final int SECURITY_PARAMS_FIELD_NUMBER
public static final int OUTSTANDING_RPCS_PER_CHANNEL_FIELD_NUMBER
public static final int CLIENT_CHANNELS_FIELD_NUMBER
public static final int ASYNC_CLIENT_THREADS_FIELD_NUMBER
public static final int RPC_TYPE_FIELD_NUMBER
public static final int LOAD_PARAMS_FIELD_NUMBER
public static final int PAYLOAD_CONFIG_FIELD_NUMBER
public static final int HISTOGRAM_PARAMS_FIELD_NUMBER
public static final int CORE_LIST_FIELD_NUMBER
public static final int CORE_LIMIT_FIELD_NUMBER
public static final int OTHER_CLIENT_API_FIELD_NUMBER
public static final int CHANNEL_ARGS_FIELD_NUMBER
public static final int MESSAGES_PER_STREAM_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getServerTargetsList()
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;getServerTargetsList in interface Control.ClientConfigOrBuilderpublic int getServerTargetsCount()
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;getServerTargetsCount in interface Control.ClientConfigOrBuilderpublic String getServerTargets(int index)
List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;getServerTargets in interface Control.ClientConfigOrBuilderindex - The index of the element to return.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;getServerTargetsBytes in interface Control.ClientConfigOrBuilderindex - The index of the value to return.public int getClientTypeValue()
.grpc.testing.ClientType client_type = 2;getClientTypeValue in interface Control.ClientConfigOrBuilderpublic Control.ClientType getClientType()
.grpc.testing.ClientType client_type = 2;getClientType in interface Control.ClientConfigOrBuilderpublic boolean hasSecurityParams()
.grpc.testing.SecurityParams security_params = 3;hasSecurityParams in interface Control.ClientConfigOrBuilderpublic Control.SecurityParams getSecurityParams()
.grpc.testing.SecurityParams security_params = 3;getSecurityParams in interface Control.ClientConfigOrBuilderpublic Control.SecurityParamsOrBuilder getSecurityParamsOrBuilder()
.grpc.testing.SecurityParams security_params = 3;getSecurityParamsOrBuilder in interface Control.ClientConfigOrBuilderpublic 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;getOutstandingRpcsPerChannel in interface Control.ClientConfigOrBuilderpublic 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;getClientChannels in interface Control.ClientConfigOrBuilderpublic int getAsyncClientThreads()
Only for async client. Number of threads to use to start/manage RPCs.
int32 async_client_threads = 7;getAsyncClientThreads in interface Control.ClientConfigOrBuilderpublic int getRpcTypeValue()
.grpc.testing.RpcType rpc_type = 8;getRpcTypeValue in interface Control.ClientConfigOrBuilderpublic Control.RpcType getRpcType()
.grpc.testing.RpcType rpc_type = 8;getRpcType in interface Control.ClientConfigOrBuilderpublic boolean hasLoadParams()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;hasLoadParams in interface Control.ClientConfigOrBuilderpublic Control.LoadParams getLoadParams()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;getLoadParams in interface Control.ClientConfigOrBuilderpublic Control.LoadParamsOrBuilder getLoadParamsOrBuilder()
The requested load for the entire client (aggregated over all the threads).
.grpc.testing.LoadParams load_params = 10;getLoadParamsOrBuilder in interface Control.ClientConfigOrBuilderpublic boolean hasPayloadConfig()
.grpc.testing.PayloadConfig payload_config = 11;hasPayloadConfig in interface Control.ClientConfigOrBuilderpublic Payloads.PayloadConfig getPayloadConfig()
.grpc.testing.PayloadConfig payload_config = 11;getPayloadConfig in interface Control.ClientConfigOrBuilderpublic Payloads.PayloadConfigOrBuilder getPayloadConfigOrBuilder()
.grpc.testing.PayloadConfig payload_config = 11;getPayloadConfigOrBuilder in interface Control.ClientConfigOrBuilderpublic boolean hasHistogramParams()
.grpc.testing.HistogramParams histogram_params = 12;hasHistogramParams in interface Control.ClientConfigOrBuilderpublic Stats.HistogramParams getHistogramParams()
.grpc.testing.HistogramParams histogram_params = 12;getHistogramParams in interface Control.ClientConfigOrBuilderpublic Stats.HistogramParamsOrBuilder getHistogramParamsOrBuilder()
.grpc.testing.HistogramParams histogram_params = 12;getHistogramParamsOrBuilder in interface Control.ClientConfigOrBuilderpublic List<Integer> getCoreListList()
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;getCoreListList in interface Control.ClientConfigOrBuilderpublic int getCoreListCount()
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;getCoreListCount in interface Control.ClientConfigOrBuilderpublic int getCoreList(int index)
Specify the cores we should run the client on, if desired
repeated int32 core_list = 13;getCoreList in interface Control.ClientConfigOrBuilderindex - The index of the element to return.public int getCoreLimit()
int32 core_limit = 14;getCoreLimit in interface Control.ClientConfigOrBuilderpublic String getOtherClientApi()
If we use an OTHER_CLIENT client_type, this string gives more detail
string other_client_api = 15;getOtherClientApi in interface Control.ClientConfigOrBuilderpublic com.google.protobuf.ByteString getOtherClientApiBytes()
If we use an OTHER_CLIENT client_type, this string gives more detail
string other_client_api = 15;getOtherClientApiBytes in interface Control.ClientConfigOrBuilderpublic List<Control.ChannelArg> getChannelArgsList()
repeated .grpc.testing.ChannelArg channel_args = 16;getChannelArgsList in interface Control.ClientConfigOrBuilderpublic List<? extends Control.ChannelArgOrBuilder> getChannelArgsOrBuilderList()
repeated .grpc.testing.ChannelArg channel_args = 16;getChannelArgsOrBuilderList in interface Control.ClientConfigOrBuilderpublic int getChannelArgsCount()
repeated .grpc.testing.ChannelArg channel_args = 16;getChannelArgsCount in interface Control.ClientConfigOrBuilderpublic Control.ChannelArg getChannelArgs(int index)
repeated .grpc.testing.ChannelArg channel_args = 16;getChannelArgs in interface Control.ClientConfigOrBuilderpublic Control.ChannelArgOrBuilder getChannelArgsOrBuilder(int index)
repeated .grpc.testing.ChannelArg channel_args = 16;getChannelArgsOrBuilder in interface Control.ClientConfigOrBuilderpublic int getMessagesPerStream()
Number of messages on a stream before it gets finished/restarted
int32 messages_per_stream = 18;getMessagesPerStream in interface Control.ClientConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Control.ClientConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Control.ClientConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Control.ClientConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Control.ClientConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Control.ClientConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Control.ClientConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Control.ClientConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Control.ClientConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Control.ClientConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Control.ClientConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Control.ClientConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Control.ClientConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Control.ClientConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Control.ClientConfig.Builder newBuilder()
public static Control.ClientConfig.Builder newBuilder(Control.ClientConfig prototype)
public Control.ClientConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Control.ClientConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Control.ClientConfig getDefaultInstance()
public static com.google.protobuf.Parser<Control.ClientConfig> parser()
public com.google.protobuf.Parser<Control.ClientConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Control.ClientConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder