Class AsyncBatchAnnotateFilesResponse.Builder

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

public static final class AsyncBatchAnnotateFilesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<AsyncBatchAnnotateFilesResponse.Builder> implements AsyncBatchAnnotateFilesResponseOrBuilder
 Response to an async batch file annotation request.
 
Protobuf type google.cloud.vision.v1.AsyncBatchAnnotateFilesResponse
  • 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<AsyncBatchAnnotateFilesResponse.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<AsyncBatchAnnotateFilesResponse.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<AsyncBatchAnnotateFilesResponse.Builder>
    • getDefaultInstanceForType

      public AsyncBatchAnnotateFilesResponse 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 AsyncBatchAnnotateFilesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public List<AsyncAnnotateFileResponse> getResponsesList()
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
      Specified by:
      getResponsesList in interface AsyncBatchAnnotateFilesResponseOrBuilder
    • getResponsesCount

      public int getResponsesCount()
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
      Specified by:
      getResponsesCount in interface AsyncBatchAnnotateFilesResponseOrBuilder
    • getResponses

      public AsyncAnnotateFileResponse getResponses(int index)
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
      Specified by:
      getResponses in interface AsyncBatchAnnotateFilesResponseOrBuilder
    • setResponses

      public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse value)
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • setResponses

      public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • addResponses

       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • addResponses

      public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse value)
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • addResponses

       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • addResponses

      public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • addAllResponses

       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • clearResponses

      public AsyncBatchAnnotateFilesResponse.Builder clearResponses()
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • removeResponses

      public AsyncBatchAnnotateFilesResponse.Builder removeResponses(int index)
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • getResponsesBuilder

      public AsyncAnnotateFileResponse.Builder getResponsesBuilder(int index)
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • getResponsesOrBuilder

      public AsyncAnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
      Specified by:
      getResponsesOrBuilder in interface AsyncBatchAnnotateFilesResponseOrBuilder
    • getResponsesOrBuilderList

      public List<? extends AsyncAnnotateFileResponseOrBuilder> getResponsesOrBuilderList()
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
      Specified by:
      getResponsesOrBuilderList in interface AsyncBatchAnnotateFilesResponseOrBuilder
    • addResponsesBuilder

      public AsyncAnnotateFileResponse.Builder addResponsesBuilder()
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • addResponsesBuilder

      public AsyncAnnotateFileResponse.Builder addResponsesBuilder(int index)
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
    • getResponsesBuilderList

      public List<AsyncAnnotateFileResponse.Builder> getResponsesBuilderList()
       The list of file annotation responses, one for each request in
       AsyncBatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;