public final class ClientConfig extends com.google.protobuf.GeneratedMessage implements ClientConfigOrBuilder
grpc.testing.ClientConfig| Modifier and Type | Class and Description |
|---|---|
static class |
ClientConfig.Builder
Protobuf type
grpc.testing.ClientConfig |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
ASYNC_CLIENT_THREADS_FIELD_NUMBER |
static int |
CLIENT_CHANNELS_FIELD_NUMBER |
static int |
CLIENT_TYPE_FIELD_NUMBER |
static int |
ENABLE_SSL_FIELD_NUMBER |
static int |
OUTSTANDING_RPCS_PER_CHANNEL_FIELD_NUMBER |
static com.google.protobuf.Parser<ClientConfig> |
PARSER |
static int |
PAYLOAD_SIZE_FIELD_NUMBER |
static int |
RPC_TYPE_FIELD_NUMBER |
static int |
SERVER_TARGETS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsyncClientThreads()
optional int32 async_client_threads = 7; |
int |
getClientChannels()
optional int32 client_channels = 5; |
ClientType |
getClientType()
optional .grpc.testing.ClientType client_type = 2; |
int |
getClientTypeValue()
optional .grpc.testing.ClientType client_type = 2; |
static ClientConfig |
getDefaultInstance() |
ClientConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableSsl()
optional bool enable_ssl = 3; |
int |
getOutstandingRpcsPerChannel()
optional int32 outstanding_rpcs_per_channel = 4; |
com.google.protobuf.Parser<ClientConfig> |
getParserForType() |
int |
getPayloadSize()
optional int32 payload_size = 6; |
RpcType |
getRpcType()
optional .grpc.testing.RpcType rpc_type = 8; |
int |
getRpcTypeValue()
optional .grpc.testing.RpcType rpc_type = 8; |
int |
getSerializedSize() |
String |
getServerTargets(int index)
repeated string server_targets = 1; |
com.google.protobuf.ByteString |
getServerTargetsBytes(int index)
repeated string server_targets = 1; |
int |
getServerTargetsCount()
repeated string server_targets = 1; |
com.google.protobuf.ProtocolStringList |
getServerTargetsList()
repeated string server_targets = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClientConfig.Builder |
newBuilder() |
static ClientConfig.Builder |
newBuilder(ClientConfig prototype) |
ClientConfig.Builder |
newBuilderForType() |
protected ClientConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ClientConfig |
parseDelimitedFrom(InputStream input) |
static ClientConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientConfig |
parseFrom(byte[] data) |
static ClientConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientConfig |
parseFrom(com.google.protobuf.ByteString data) |
static ClientConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientConfig |
parseFrom(InputStream input) |
static ClientConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeReplaceequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Parser<ClientConfig> PARSER
public static final int SERVER_TARGETS_FIELD_NUMBER
public static final int CLIENT_TYPE_FIELD_NUMBER
public static final int ENABLE_SSL_FIELD_NUMBER
public static final int OUTSTANDING_RPCS_PER_CHANNEL_FIELD_NUMBER
public static final int CLIENT_CHANNELS_FIELD_NUMBER
public static final int PAYLOAD_SIZE_FIELD_NUMBER
public static final int ASYNC_CLIENT_THREADS_FIELD_NUMBER
public static final int RPC_TYPE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<ClientConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.ProtocolStringList getServerTargetsList()
repeated string server_targets = 1;getServerTargetsList in interface ClientConfigOrBuilderpublic int getServerTargetsCount()
repeated string server_targets = 1;getServerTargetsCount in interface ClientConfigOrBuilderpublic String getServerTargets(int index)
repeated string server_targets = 1;getServerTargets in interface ClientConfigOrBuilderpublic com.google.protobuf.ByteString getServerTargetsBytes(int index)
repeated string server_targets = 1;getServerTargetsBytes in interface ClientConfigOrBuilderpublic int getClientTypeValue()
optional .grpc.testing.ClientType client_type = 2;getClientTypeValue in interface ClientConfigOrBuilderpublic ClientType getClientType()
optional .grpc.testing.ClientType client_type = 2;getClientType in interface ClientConfigOrBuilderpublic boolean getEnableSsl()
optional bool enable_ssl = 3;getEnableSsl in interface ClientConfigOrBuilderpublic int getOutstandingRpcsPerChannel()
optional int32 outstanding_rpcs_per_channel = 4;getOutstandingRpcsPerChannel in interface ClientConfigOrBuilderpublic int getClientChannels()
optional int32 client_channels = 5;getClientChannels in interface ClientConfigOrBuilderpublic int getPayloadSize()
optional int32 payload_size = 6;getPayloadSize in interface ClientConfigOrBuilderpublic int getAsyncClientThreads()
optional int32 async_client_threads = 7;
only for async client:
getAsyncClientThreads in interface ClientConfigOrBuilderpublic int getRpcTypeValue()
optional .grpc.testing.RpcType rpc_type = 8;getRpcTypeValue in interface ClientConfigOrBuilderpublic RpcType getRpcType()
optional .grpc.testing.RpcType rpc_type = 8;getRpcType in interface ClientConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic static ClientConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientConfig.Builder newBuilder()
public ClientConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ClientConfig.Builder newBuilder(ClientConfig prototype)
public ClientConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ClientConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static ClientConfig getDefaultInstance()
public ClientConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder