Class BatchAnnotateFilesResponse.Builder

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

public static final class BatchAnnotateFilesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchAnnotateFilesResponse.Builder> implements BatchAnnotateFilesResponseOrBuilder
 A list of file annotation responses.
 
Protobuf type google.cloud.vision.v1.BatchAnnotateFilesResponse
  • 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<BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
    • mergeFrom

      public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
      Throws:
      IOException
    • getResponsesList

      public List<AnnotateFileResponse> getResponsesList()
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
      Specified by:
      getResponsesList in interface BatchAnnotateFilesResponseOrBuilder
    • getResponsesCount

      public int getResponsesCount()
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
      Specified by:
      getResponsesCount in interface BatchAnnotateFilesResponseOrBuilder
    • getResponses

      public AnnotateFileResponse getResponses(int index)
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
      Specified by:
      getResponses in interface BatchAnnotateFilesResponseOrBuilder
    • setResponses

      public BatchAnnotateFilesResponse.Builder setResponses(int index, AnnotateFileResponse value)
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • setResponses

      public BatchAnnotateFilesResponse.Builder setResponses(int index, AnnotateFileResponse.Builder builderForValue)
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • addResponses

       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • addResponses

      public BatchAnnotateFilesResponse.Builder addResponses(int index, AnnotateFileResponse value)
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • addResponses

       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • addResponses

      public BatchAnnotateFilesResponse.Builder addResponses(int index, AnnotateFileResponse.Builder builderForValue)
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • addAllResponses

      public BatchAnnotateFilesResponse.Builder addAllResponses(Iterable<? extends AnnotateFileResponse> values)
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • clearResponses

      public BatchAnnotateFilesResponse.Builder clearResponses()
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • removeResponses

      public BatchAnnotateFilesResponse.Builder removeResponses(int index)
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • getResponsesBuilder

      public AnnotateFileResponse.Builder getResponsesBuilder(int index)
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • getResponsesOrBuilder

      public AnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
      Specified by:
      getResponsesOrBuilder in interface BatchAnnotateFilesResponseOrBuilder
    • getResponsesOrBuilderList

      public List<? extends AnnotateFileResponseOrBuilder> getResponsesOrBuilderList()
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
      Specified by:
      getResponsesOrBuilderList in interface BatchAnnotateFilesResponseOrBuilder
    • addResponsesBuilder

      public AnnotateFileResponse.Builder addResponsesBuilder()
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • addResponsesBuilder

      public AnnotateFileResponse.Builder addResponsesBuilder(int index)
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
    • getResponsesBuilderList

      public List<AnnotateFileResponse.Builder> getResponsesBuilderList()
       The list of file annotation responses, each response corresponding to each
       AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;