Class OutputConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OutputConfig.Builder>
com.google.cloud.datalabeling.v1beta1.OutputConfig.Builder
All Implemented Interfaces:
OutputConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
OutputConfig

public static final class OutputConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<OutputConfig.Builder> implements OutputConfigOrBuilder
 The configuration of output data.
 
Protobuf type google.cloud.datalabeling.v1beta1.OutputConfig
  • 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<OutputConfig.Builder>
    • clear

      public OutputConfig.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<OutputConfig.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<OutputConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public OutputConfig.Builder mergeFrom(OutputConfig other)
    • isInitialized

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

      public OutputConfig.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<OutputConfig.Builder>
      Throws:
      IOException
    • getDestinationCase

      public OutputConfig.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface OutputConfigOrBuilder
    • clearDestination

      public OutputConfig.Builder clearDestination()
    • hasGcsDestination

      public boolean hasGcsDestination()
       Output to a file in Cloud Storage. Should be used for labeling output
       other than image segmentation.
       
      .google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
      Specified by:
      hasGcsDestination in interface OutputConfigOrBuilder
      Returns:
      Whether the gcsDestination field is set.
    • getGcsDestination

      public GcsDestination getGcsDestination()
       Output to a file in Cloud Storage. Should be used for labeling output
       other than image segmentation.
       
      .google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
      Specified by:
      getGcsDestination in interface OutputConfigOrBuilder
      Returns:
      The gcsDestination.
    • setGcsDestination

      public OutputConfig.Builder setGcsDestination(GcsDestination value)
       Output to a file in Cloud Storage. Should be used for labeling output
       other than image segmentation.
       
      .google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
    • setGcsDestination

      public OutputConfig.Builder setGcsDestination(GcsDestination.Builder builderForValue)
       Output to a file in Cloud Storage. Should be used for labeling output
       other than image segmentation.
       
      .google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
    • mergeGcsDestination

      public OutputConfig.Builder mergeGcsDestination(GcsDestination value)
       Output to a file in Cloud Storage. Should be used for labeling output
       other than image segmentation.
       
      .google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
    • clearGcsDestination

      public OutputConfig.Builder clearGcsDestination()
       Output to a file in Cloud Storage. Should be used for labeling output
       other than image segmentation.
       
      .google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
    • getGcsDestinationBuilder

      public GcsDestination.Builder getGcsDestinationBuilder()
       Output to a file in Cloud Storage. Should be used for labeling output
       other than image segmentation.
       
      .google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
    • getGcsDestinationOrBuilder

      public GcsDestinationOrBuilder getGcsDestinationOrBuilder()
       Output to a file in Cloud Storage. Should be used for labeling output
       other than image segmentation.
       
      .google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
      Specified by:
      getGcsDestinationOrBuilder in interface OutputConfigOrBuilder
    • hasGcsFolderDestination

      public boolean hasGcsFolderDestination()
       Output to a folder in Cloud Storage. Should be used for image
       segmentation labeling output.
       
      .google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
      Specified by:
      hasGcsFolderDestination in interface OutputConfigOrBuilder
      Returns:
      Whether the gcsFolderDestination field is set.
    • getGcsFolderDestination

      public GcsFolderDestination getGcsFolderDestination()
       Output to a folder in Cloud Storage. Should be used for image
       segmentation labeling output.
       
      .google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
      Specified by:
      getGcsFolderDestination in interface OutputConfigOrBuilder
      Returns:
      The gcsFolderDestination.
    • setGcsFolderDestination

      public OutputConfig.Builder setGcsFolderDestination(GcsFolderDestination value)
       Output to a folder in Cloud Storage. Should be used for image
       segmentation labeling output.
       
      .google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
    • setGcsFolderDestination

      public OutputConfig.Builder setGcsFolderDestination(GcsFolderDestination.Builder builderForValue)
       Output to a folder in Cloud Storage. Should be used for image
       segmentation labeling output.
       
      .google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
    • mergeGcsFolderDestination

      public OutputConfig.Builder mergeGcsFolderDestination(GcsFolderDestination value)
       Output to a folder in Cloud Storage. Should be used for image
       segmentation labeling output.
       
      .google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
    • clearGcsFolderDestination

      public OutputConfig.Builder clearGcsFolderDestination()
       Output to a folder in Cloud Storage. Should be used for image
       segmentation labeling output.
       
      .google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
    • getGcsFolderDestinationBuilder

      public GcsFolderDestination.Builder getGcsFolderDestinationBuilder()
       Output to a folder in Cloud Storage. Should be used for image
       segmentation labeling output.
       
      .google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
    • getGcsFolderDestinationOrBuilder

      public GcsFolderDestinationOrBuilder getGcsFolderDestinationOrBuilder()
       Output to a folder in Cloud Storage. Should be used for image
       segmentation labeling output.
       
      .google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
      Specified by:
      getGcsFolderDestinationOrBuilder in interface OutputConfigOrBuilder