Class AsyncBatchAnnotateImagesRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest
All Implemented Interfaces:
AsyncBatchAnnotateImagesRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AsyncBatchAnnotateImagesRequest extends com.google.protobuf.GeneratedMessage implements AsyncBatchAnnotateImagesRequestOrBuilder
 Request for async image annotation for a list of images.
 
Protobuf type google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest
See Also:
  • Field Details

    • REQUESTS_FIELD_NUMBER

      public static final int REQUESTS_FIELD_NUMBER
      See Also:
    • OUTPUT_CONFIG_FIELD_NUMBER

      public static final int OUTPUT_CONFIG_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getRequestsList

      public List<AnnotateImageRequest> getRequestsList()
       Required. Individual image annotation requests for this batch.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsList in interface AsyncBatchAnnotateImagesRequestOrBuilder
    • getRequestsOrBuilderList

      public List<? extends AnnotateImageRequestOrBuilder> getRequestsOrBuilderList()
       Required. Individual image annotation requests for this batch.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilderList in interface AsyncBatchAnnotateImagesRequestOrBuilder
    • getRequestsCount

      public int getRequestsCount()
       Required. Individual image annotation requests for this batch.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsCount in interface AsyncBatchAnnotateImagesRequestOrBuilder
    • getRequests

      public AnnotateImageRequest getRequests(int index)
       Required. Individual image annotation requests for this batch.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequests in interface AsyncBatchAnnotateImagesRequestOrBuilder
    • getRequestsOrBuilder

      public AnnotateImageRequestOrBuilder getRequestsOrBuilder(int index)
       Required. Individual image annotation requests for this batch.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilder in interface AsyncBatchAnnotateImagesRequestOrBuilder
    • hasOutputConfig

      public boolean hasOutputConfig()
       Required. The desired output location and metadata (e.g. format).
       
      .google.cloud.vision.v1p4beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasOutputConfig in interface AsyncBatchAnnotateImagesRequestOrBuilder
      Returns:
      Whether the outputConfig field is set.
    • getOutputConfig

      public OutputConfig getOutputConfig()
       Required. The desired output location and metadata (e.g. format).
       
      .google.cloud.vision.v1p4beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputConfig in interface AsyncBatchAnnotateImagesRequestOrBuilder
      Returns:
      The outputConfig.
    • getOutputConfigOrBuilder

      public OutputConfigOrBuilder getOutputConfigOrBuilder()
       Required. The desired output location and metadata (e.g. format).
       
      .google.cloud.vision.v1p4beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputConfigOrBuilder in interface AsyncBatchAnnotateImagesRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AsyncBatchAnnotateImagesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AsyncBatchAnnotateImagesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AsyncBatchAnnotateImagesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AsyncBatchAnnotateImagesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AsyncBatchAnnotateImagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AsyncBatchAnnotateImagesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static AsyncBatchAnnotateImagesRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static AsyncBatchAnnotateImagesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AsyncBatchAnnotateImagesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AsyncBatchAnnotateImagesRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AsyncBatchAnnotateImagesRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AsyncBatchAnnotateImagesRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AsyncBatchAnnotateImagesRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AsyncBatchAnnotateImagesRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<AsyncBatchAnnotateImagesRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AsyncBatchAnnotateImagesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder