Class AsyncBatchAnnotateImagesResponse.Builder

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

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

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

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

      public AsyncBatchAnnotateImagesResponse.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<AsyncBatchAnnotateImagesResponse.Builder>
      Throws:
      IOException
    • hasOutputConfig

      public boolean hasOutputConfig()
       The output location and metadata from AsyncBatchAnnotateImagesRequest.
       
      .google.cloud.vision.v1.OutputConfig output_config = 1;
      Specified by:
      hasOutputConfig in interface AsyncBatchAnnotateImagesResponseOrBuilder
      Returns:
      Whether the outputConfig field is set.
    • getOutputConfig

      public OutputConfig getOutputConfig()
       The output location and metadata from AsyncBatchAnnotateImagesRequest.
       
      .google.cloud.vision.v1.OutputConfig output_config = 1;
      Specified by:
      getOutputConfig in interface AsyncBatchAnnotateImagesResponseOrBuilder
      Returns:
      The outputConfig.
    • setOutputConfig

       The output location and metadata from AsyncBatchAnnotateImagesRequest.
       
      .google.cloud.vision.v1.OutputConfig output_config = 1;
    • setOutputConfig

      public AsyncBatchAnnotateImagesResponse.Builder setOutputConfig(OutputConfig.Builder builderForValue)
       The output location and metadata from AsyncBatchAnnotateImagesRequest.
       
      .google.cloud.vision.v1.OutputConfig output_config = 1;
    • mergeOutputConfig

      public AsyncBatchAnnotateImagesResponse.Builder mergeOutputConfig(OutputConfig value)
       The output location and metadata from AsyncBatchAnnotateImagesRequest.
       
      .google.cloud.vision.v1.OutputConfig output_config = 1;
    • clearOutputConfig

      public AsyncBatchAnnotateImagesResponse.Builder clearOutputConfig()
       The output location and metadata from AsyncBatchAnnotateImagesRequest.
       
      .google.cloud.vision.v1.OutputConfig output_config = 1;
    • getOutputConfigBuilder

      public OutputConfig.Builder getOutputConfigBuilder()
       The output location and metadata from AsyncBatchAnnotateImagesRequest.
       
      .google.cloud.vision.v1.OutputConfig output_config = 1;
    • getOutputConfigOrBuilder

      public OutputConfigOrBuilder getOutputConfigOrBuilder()
       The output location and metadata from AsyncBatchAnnotateImagesRequest.
       
      .google.cloud.vision.v1.OutputConfig output_config = 1;
      Specified by:
      getOutputConfigOrBuilder in interface AsyncBatchAnnotateImagesResponseOrBuilder