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 Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(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.ByteString
    The repeated field in the request message to be aggregated by batching.
     
    A list of the fields in the request message.
    com.google.protobuf.ByteString
    A list of the fields in the request message.
    int
    A list of the fields in the request message.
    A list of the fields in the request message.
    Optional.
    com.google.protobuf.ByteString
    Optional.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<BatchingDescriptorProto>
     

    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, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods 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

      public String getBatchedField()
       The repeated field in the request message to be aggregated by batching.
       
      string batched_field = 1 [json_name = "batchedField"];
      Specified by:
      getBatchedField in interface BatchingDescriptorProtoOrBuilder
      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:
      getBatchedFieldBytes in interface BatchingDescriptorProtoOrBuilder
      Returns:
      The bytes for batchedField.
    • getDiscriminatorFieldsList

      public List<String> 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:
      getDiscriminatorFieldsList in interface BatchingDescriptorProtoOrBuilder
      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:
      getDiscriminatorFieldsCount in interface BatchingDescriptorProtoOrBuilder
      Returns:
      The count of discriminatorFields.
    • getDiscriminatorFields

      public String getDiscriminatorFields(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:
      getDiscriminatorFields in interface BatchingDescriptorProtoOrBuilder
      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:
      getDiscriminatorFieldsBytes in interface BatchingDescriptorProtoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the discriminatorFields at the given index.
    • getSubresponseField

      public String 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:
      getSubresponseField in interface BatchingDescriptorProtoOrBuilder
      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:
      getSubresponseFieldBytes in interface BatchingDescriptorProtoOrBuilder
      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

      public static BatchingDescriptorProto parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BatchingDescriptorProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BatchingDescriptorProto parseDelimitedFrom(InputStream input) throws IOException
      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

      public static BatchingDescriptorProto.Builder newBuilder()
    • newBuilder

      public static BatchingDescriptorProto.Builder newBuilder(BatchingDescriptorProto prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<BatchingDescriptorProto,BatchingDescriptorProto.Builder>
    • getDefaultInstance

      public static BatchingDescriptorProto getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BatchingDescriptorProto> parser()