public static final class Messages.ClientConfigureRequest extends com.google.protobuf.GeneratedMessageV3 implements Messages.ClientConfigureRequestOrBuilder
Configurations for a test client.Protobuf type
grpc.testing.ClientConfigureRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Messages.ClientConfigureRequest.Builder
Configurations for a test client.
|
static class |
Messages.ClientConfigureRequest.Metadata
Metadata to be attached for the given type of RPCs.
|
static interface |
Messages.ClientConfigureRequest.MetadataOrBuilder |
static class |
Messages.ClientConfigureRequest.RpcType
Type of RPCs to send.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
METADATA_FIELD_NUMBER |
static int |
TIMEOUT_SEC_FIELD_NUMBER |
static int |
TYPES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Messages.ClientConfigureRequest |
getDefaultInstance() |
Messages.ClientConfigureRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Messages.ClientConfigureRequest.Metadata |
getMetadata(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
|
int |
getMetadataCount()
The collection of custom metadata to be attached to RPCs sent by the client.
|
List<Messages.ClientConfigureRequest.Metadata> |
getMetadataList()
The collection of custom metadata to be attached to RPCs sent by the client.
|
Messages.ClientConfigureRequest.MetadataOrBuilder |
getMetadataOrBuilder(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
|
List<? extends Messages.ClientConfigureRequest.MetadataOrBuilder> |
getMetadataOrBuilderList()
The collection of custom metadata to be attached to RPCs sent by the client.
|
com.google.protobuf.Parser<Messages.ClientConfigureRequest> |
getParserForType() |
int |
getSerializedSize() |
int |
getTimeoutSec()
The deadline to use, in seconds, for all RPCs.
|
Messages.ClientConfigureRequest.RpcType |
getTypes(int index)
The types of RPCs the client sends.
|
int |
getTypesCount()
The types of RPCs the client sends.
|
List<Messages.ClientConfigureRequest.RpcType> |
getTypesList()
The types of RPCs the client sends.
|
int |
getTypesValue(int index)
The types of RPCs the client sends.
|
List<Integer> |
getTypesValueList()
The types of RPCs the client sends.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Messages.ClientConfigureRequest.Builder |
newBuilder() |
static Messages.ClientConfigureRequest.Builder |
newBuilder(Messages.ClientConfigureRequest prototype) |
Messages.ClientConfigureRequest.Builder |
newBuilderForType() |
protected Messages.ClientConfigureRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Messages.ClientConfigureRequest |
parseDelimitedFrom(InputStream input) |
static Messages.ClientConfigureRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.ClientConfigureRequest |
parseFrom(byte[] data) |
static Messages.ClientConfigureRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.ClientConfigureRequest |
parseFrom(ByteBuffer data) |
static Messages.ClientConfigureRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.ClientConfigureRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Messages.ClientConfigureRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.ClientConfigureRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Messages.ClientConfigureRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.ClientConfigureRequest |
parseFrom(InputStream input) |
static Messages.ClientConfigureRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Messages.ClientConfigureRequest> |
parser() |
Messages.ClientConfigureRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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 TYPES_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int TIMEOUT_SEC_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 List<Messages.ClientConfigureRequest.RpcType> getTypesList()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;getTypesList in interface Messages.ClientConfigureRequestOrBuilderpublic int getTypesCount()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;getTypesCount in interface Messages.ClientConfigureRequestOrBuilderpublic Messages.ClientConfigureRequest.RpcType getTypes(int index)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;getTypes in interface Messages.ClientConfigureRequestOrBuilderindex - The index of the element to return.public List<Integer> getTypesValueList()
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;getTypesValueList in interface Messages.ClientConfigureRequestOrBuilderpublic int getTypesValue(int index)
The types of RPCs the client sends.
repeated .grpc.testing.ClientConfigureRequest.RpcType types = 1;getTypesValue in interface Messages.ClientConfigureRequestOrBuilderindex - The index of the value to return.public List<Messages.ClientConfigureRequest.Metadata> getMetadataList()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;getMetadataList in interface Messages.ClientConfigureRequestOrBuilderpublic List<? extends Messages.ClientConfigureRequest.MetadataOrBuilder> getMetadataOrBuilderList()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;getMetadataOrBuilderList in interface Messages.ClientConfigureRequestOrBuilderpublic int getMetadataCount()
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;getMetadataCount in interface Messages.ClientConfigureRequestOrBuilderpublic Messages.ClientConfigureRequest.Metadata getMetadata(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;getMetadata in interface Messages.ClientConfigureRequestOrBuilderpublic Messages.ClientConfigureRequest.MetadataOrBuilder getMetadataOrBuilder(int index)
The collection of custom metadata to be attached to RPCs sent by the client.
repeated .grpc.testing.ClientConfigureRequest.Metadata metadata = 2;getMetadataOrBuilder in interface Messages.ClientConfigureRequestOrBuilderpublic int getTimeoutSec()
The deadline to use, in seconds, for all RPCs. If unset or zero, the client will use the default from the command-line.
int32 timeout_sec = 3;getTimeoutSec in interface Messages.ClientConfigureRequestOrBuilderpublic 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 Messages.ClientConfigureRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ClientConfigureRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ClientConfigureRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ClientConfigureRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ClientConfigureRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ClientConfigureRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.ClientConfigureRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Messages.ClientConfigureRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.ClientConfigureRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Messages.ClientConfigureRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.ClientConfigureRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Messages.ClientConfigureRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Messages.ClientConfigureRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Messages.ClientConfigureRequest.Builder newBuilder()
public static Messages.ClientConfigureRequest.Builder newBuilder(Messages.ClientConfigureRequest prototype)
public Messages.ClientConfigureRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Messages.ClientConfigureRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Messages.ClientConfigureRequest getDefaultInstance()
public static com.google.protobuf.Parser<Messages.ClientConfigureRequest> parser()
public com.google.protobuf.Parser<Messages.ClientConfigureRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Messages.ClientConfigureRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder