Class BatchAnnotateFilesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchAnnotateFilesRequest.Builder>
com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest.Builder
All Implemented Interfaces:
BatchAnnotateFilesRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchAnnotateFilesRequest

public static final class BatchAnnotateFilesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchAnnotateFilesRequest.Builder> implements BatchAnnotateFilesRequestOrBuilder
 A list of requests to annotate files using the BatchAnnotateFiles API.
 
Protobuf type google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest
  • 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.Builder<BatchAnnotateFilesRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BatchAnnotateFilesRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BatchAnnotateFilesRequest.Builder>
    • getDefaultInstanceForType

      public BatchAnnotateFilesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BatchAnnotateFilesRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BatchAnnotateFilesRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BatchAnnotateFilesRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchAnnotateFilesRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BatchAnnotateFilesRequest.Builder>
    • mergeFrom

      public BatchAnnotateFilesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchAnnotateFilesRequest.Builder>
      Throws:
      IOException
    • getRequestsList

      public List<AnnotateFileRequest> getRequestsList()
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsList in interface BatchAnnotateFilesRequestOrBuilder
    • getRequestsCount

      public int getRequestsCount()
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsCount in interface BatchAnnotateFilesRequestOrBuilder
    • getRequests

      public AnnotateFileRequest getRequests(int index)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequests in interface BatchAnnotateFilesRequestOrBuilder
    • setRequests

      public BatchAnnotateFilesRequest.Builder setRequests(int index, AnnotateFileRequest value)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • setRequests

      public BatchAnnotateFilesRequest.Builder setRequests(int index, AnnotateFileRequest.Builder builderForValue)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchAnnotateFilesRequest.Builder addRequests(int index, AnnotateFileRequest value)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchAnnotateFilesRequest.Builder addRequests(AnnotateFileRequest.Builder builderForValue)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchAnnotateFilesRequest.Builder addRequests(int index, AnnotateFileRequest.Builder builderForValue)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllRequests

      public BatchAnnotateFilesRequest.Builder addAllRequests(Iterable<? extends AnnotateFileRequest> values)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearRequests

      public BatchAnnotateFilesRequest.Builder clearRequests()
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeRequests

      public BatchAnnotateFilesRequest.Builder removeRequests(int index)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilder

      public AnnotateFileRequest.Builder getRequestsBuilder(int index)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      public AnnotateFileRequestOrBuilder getRequestsOrBuilder(int index)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilder in interface BatchAnnotateFilesRequestOrBuilder
    • getRequestsOrBuilderList

      public List<? extends AnnotateFileRequestOrBuilder> getRequestsOrBuilderList()
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilderList in interface BatchAnnotateFilesRequestOrBuilder
    • addRequestsBuilder

      public AnnotateFileRequest.Builder addRequestsBuilder()
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addRequestsBuilder

      public AnnotateFileRequest.Builder addRequestsBuilder(int index)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilderList

      public List<AnnotateFileRequest.Builder> getRequestsBuilderList()
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];