Class DatasetOutputConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatasetOutputConfig.Builder>
com.google.cloud.translate.v3.DatasetOutputConfig.Builder
All Implemented Interfaces:
DatasetOutputConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DatasetOutputConfig

public static final class DatasetOutputConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatasetOutputConfig.Builder> implements DatasetOutputConfigOrBuilder
 Output configuration for datasets.
 
Protobuf type google.cloud.translation.v3.DatasetOutputConfig
  • 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<DatasetOutputConfig.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<DatasetOutputConfig.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<DatasetOutputConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public DatasetOutputConfig.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface DatasetOutputConfigOrBuilder
    • clearDestination

      public DatasetOutputConfig.Builder clearDestination()
    • hasGcsDestination

      public boolean hasGcsDestination()
       Google Cloud Storage destination to write the output.
       
      .google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;
      Specified by:
      hasGcsDestination in interface DatasetOutputConfigOrBuilder
      Returns:
      Whether the gcsDestination field is set.
    • getGcsDestination

      public GcsOutputDestination getGcsDestination()
       Google Cloud Storage destination to write the output.
       
      .google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;
      Specified by:
      getGcsDestination in interface DatasetOutputConfigOrBuilder
      Returns:
      The gcsDestination.
    • setGcsDestination

      public DatasetOutputConfig.Builder setGcsDestination(GcsOutputDestination value)
       Google Cloud Storage destination to write the output.
       
      .google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;
    • setGcsDestination

      public DatasetOutputConfig.Builder setGcsDestination(GcsOutputDestination.Builder builderForValue)
       Google Cloud Storage destination to write the output.
       
      .google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;
    • mergeGcsDestination

      public DatasetOutputConfig.Builder mergeGcsDestination(GcsOutputDestination value)
       Google Cloud Storage destination to write the output.
       
      .google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;
    • clearGcsDestination

      public DatasetOutputConfig.Builder clearGcsDestination()
       Google Cloud Storage destination to write the output.
       
      .google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;
    • getGcsDestinationBuilder

      public GcsOutputDestination.Builder getGcsDestinationBuilder()
       Google Cloud Storage destination to write the output.
       
      .google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;
    • getGcsDestinationOrBuilder

      public GcsOutputDestinationOrBuilder getGcsDestinationOrBuilder()
       Google Cloud Storage destination to write the output.
       
      .google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;
      Specified by:
      getGcsDestinationOrBuilder in interface DatasetOutputConfigOrBuilder