Package com.google.api
Class BatchingDescriptorProto
java.lang.Object
com.google.protobuf.AbstractMessageLite<BatchingDescriptorProto,BatchingDescriptorProto.Builder>
com.google.protobuf.GeneratedMessageLite<BatchingDescriptorProto,BatchingDescriptorProto.Builder>
com.google.api.BatchingDescriptorProto
- All Implemented Interfaces:
BatchingDescriptorProtoOrBuilder,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder
@Generated
public final class BatchingDescriptorProto
extends com.google.protobuf.GeneratedMessageLite<BatchingDescriptorProto,BatchingDescriptorProto.Builder>
implements BatchingDescriptorProtoOrBuilder
`BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.Protobuf type
google.api.BatchingDescriptorProto-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class`BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) The repeated field in the request message to be aggregated by batching.com.google.protobuf.ByteStringThe repeated field in the request message to be aggregated by batching.static BatchingDescriptorProtogetDiscriminatorFields(int index) A list of the fields in the request message.com.google.protobuf.ByteStringgetDiscriminatorFieldsBytes(int index) A list of the fields in the request message.intA list of the fields in the request message.A list of the fields in the request message.Optional.com.google.protobuf.ByteStringOptional.newBuilder(BatchingDescriptorProto prototype) static BatchingDescriptorProtoparseDelimitedFrom(InputStream input) static BatchingDescriptorProtoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BatchingDescriptorProtoparseFrom(byte[] data) static BatchingDescriptorProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BatchingDescriptorProtoparseFrom(com.google.protobuf.ByteString data) static BatchingDescriptorProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BatchingDescriptorProtoparseFrom(com.google.protobuf.CodedInputStream input) static BatchingDescriptorProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BatchingDescriptorProtoparseFrom(InputStream input) static BatchingDescriptorProtoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BatchingDescriptorProtoparseFrom(ByteBuffer data) static BatchingDescriptorProtoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BatchingDescriptorProto> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
BATCHED_FIELD_FIELD_NUMBER
public static final int BATCHED_FIELD_FIELD_NUMBER- See Also:
-
DISCRIMINATOR_FIELDS_FIELD_NUMBER
public static final int DISCRIMINATOR_FIELDS_FIELD_NUMBER- See Also:
-
SUBRESPONSE_FIELD_FIELD_NUMBER
public static final int SUBRESPONSE_FIELD_FIELD_NUMBER- See Also:
-
-
Method Details
-
getBatchedField
The repeated field in the request message to be aggregated by batching.
string batched_field = 1 [json_name = "batchedField"];- Specified by:
getBatchedFieldin interfaceBatchingDescriptorProtoOrBuilder- Returns:
- The batchedField.
-
getBatchedFieldBytes
public com.google.protobuf.ByteString getBatchedFieldBytes()The repeated field in the request message to be aggregated by batching.
string batched_field = 1 [json_name = "batchedField"];- Specified by:
getBatchedFieldBytesin interfaceBatchingDescriptorProtoOrBuilder- Returns:
- The bytes for batchedField.
-
getDiscriminatorFieldsList
A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.
repeated string discriminator_fields = 2 [json_name = "discriminatorFields"];- Specified by:
getDiscriminatorFieldsListin interfaceBatchingDescriptorProtoOrBuilder- Returns:
- A list containing the discriminatorFields.
-
getDiscriminatorFieldsCount
public int getDiscriminatorFieldsCount()A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.
repeated string discriminator_fields = 2 [json_name = "discriminatorFields"];- Specified by:
getDiscriminatorFieldsCountin interfaceBatchingDescriptorProtoOrBuilder- Returns:
- The count of discriminatorFields.
-
getDiscriminatorFields
A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.
repeated string discriminator_fields = 2 [json_name = "discriminatorFields"];- Specified by:
getDiscriminatorFieldsin interfaceBatchingDescriptorProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The discriminatorFields at the given index.
-
getDiscriminatorFieldsBytes
public com.google.protobuf.ByteString getDiscriminatorFieldsBytes(int index) A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.
repeated string discriminator_fields = 2 [json_name = "discriminatorFields"];- Specified by:
getDiscriminatorFieldsBytesin interfaceBatchingDescriptorProtoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the discriminatorFields at the given index.
-
getSubresponseField
Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.
string subresponse_field = 3 [json_name = "subresponseField"];- Specified by:
getSubresponseFieldin interfaceBatchingDescriptorProtoOrBuilder- Returns:
- The subresponseField.
-
getSubresponseFieldBytes
public com.google.protobuf.ByteString getSubresponseFieldBytes()Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.
string subresponse_field = 3 [json_name = "subresponseField"];- Specified by:
getSubresponseFieldBytesin interfaceBatchingDescriptorProtoOrBuilder- Returns:
- The bytes for subresponseField.
-
parseFrom
public static BatchingDescriptorProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchingDescriptorProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchingDescriptorProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchingDescriptorProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchingDescriptorProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchingDescriptorProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BatchingDescriptorProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BatchingDescriptorProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BatchingDescriptorProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BatchingDescriptorProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<BatchingDescriptorProto,BatchingDescriptorProto.Builder>
-
getDefaultInstance
-
parser
-