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, writeReplace
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<ClientConfig> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.ProtocolStringList getServerTargetsList()
repeated string server_targets = 1;
getServerTargetsList
in interface ClientConfigOrBuilder
public int getServerTargetsCount()
repeated string server_targets = 1;
getServerTargetsCount
in interface ClientConfigOrBuilder
public String getServerTargets(int index)
repeated string server_targets = 1;
getServerTargets
in interface ClientConfigOrBuilder
public com.google.protobuf.ByteString getServerTargetsBytes(int index)
repeated string server_targets = 1;
getServerTargetsBytes
in interface ClientConfigOrBuilder
public int getClientTypeValue()
optional .grpc.testing.ClientType client_type = 2;
getClientTypeValue
in interface ClientConfigOrBuilder
public ClientType getClientType()
optional .grpc.testing.ClientType client_type = 2;
getClientType
in interface ClientConfigOrBuilder
public boolean getEnableSsl()
optional bool enable_ssl = 3;
getEnableSsl
in interface ClientConfigOrBuilder
public int getOutstandingRpcsPerChannel()
optional int32 outstanding_rpcs_per_channel = 4;
getOutstandingRpcsPerChannel
in interface ClientConfigOrBuilder
public int getClientChannels()
optional int32 client_channels = 5;
getClientChannels
in interface ClientConfigOrBuilder
public int getPayloadSize()
optional int32 payload_size = 6;
getPayloadSize
in interface ClientConfigOrBuilder
public int getAsyncClientThreads()
optional int32 async_client_threads = 7;
only for async client:
getAsyncClientThreads
in interface ClientConfigOrBuilder
public int getRpcTypeValue()
optional .grpc.testing.RpcType rpc_type = 8;
getRpcTypeValue
in interface ClientConfigOrBuilder
public RpcType getRpcType()
optional .grpc.testing.RpcType rpc_type = 8;
getRpcType
in interface ClientConfigOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
public static ClientConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientConfig parseFrom(InputStream input) throws IOException
IOException
public static ClientConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientConfig parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClientConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ClientConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientConfig.Builder newBuilder()
public ClientConfig.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ClientConfig.Builder newBuilder(ClientConfig prototype)
public ClientConfig.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ClientConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
public static ClientConfig getDefaultInstance()
public ClientConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder