Class ExportDataRequest.Builder

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

public static final class ExportDataRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportDataRequest.Builder> implements ExportDataRequestOrBuilder
 Request message for ExportData.
 
Protobuf type google.cloud.translation.v3.ExportDataRequest
  • 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<ExportDataRequest.Builder>
    • clear

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

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

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

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

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

      public ExportDataRequest.Builder mergeFrom(ExportDataRequest other)
    • isInitialized

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

      public ExportDataRequest.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<ExportDataRequest.Builder>
      Throws:
      IOException
    • getDataset

      public String getDataset()
       Required. Name of the dataset. In form of
       `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
       
      string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataset in interface ExportDataRequestOrBuilder
      Returns:
      The dataset.
    • getDatasetBytes

      public com.google.protobuf.ByteString getDatasetBytes()
       Required. Name of the dataset. In form of
       `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
       
      string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetBytes in interface ExportDataRequestOrBuilder
      Returns:
      The bytes for dataset.
    • setDataset

      public ExportDataRequest.Builder setDataset(String value)
       Required. Name of the dataset. In form of
       `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
       
      string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The dataset to set.
      Returns:
      This builder for chaining.
    • clearDataset

      public ExportDataRequest.Builder clearDataset()
       Required. Name of the dataset. In form of
       `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
       
      string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDatasetBytes

      public ExportDataRequest.Builder setDatasetBytes(com.google.protobuf.ByteString value)
       Required. Name of the dataset. In form of
       `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
       
      string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for dataset to set.
      Returns:
      This builder for chaining.
    • hasOutputConfig

      public boolean hasOutputConfig()
       Required. The config for the output content.
       
      .google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasOutputConfig in interface ExportDataRequestOrBuilder
      Returns:
      Whether the outputConfig field is set.
    • getOutputConfig

      public DatasetOutputConfig getOutputConfig()
       Required. The config for the output content.
       
      .google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputConfig in interface ExportDataRequestOrBuilder
      Returns:
      The outputConfig.
    • setOutputConfig

      public ExportDataRequest.Builder setOutputConfig(DatasetOutputConfig value)
       Required. The config for the output content.
       
      .google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • setOutputConfig

      public ExportDataRequest.Builder setOutputConfig(DatasetOutputConfig.Builder builderForValue)
       Required. The config for the output content.
       
      .google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeOutputConfig

      public ExportDataRequest.Builder mergeOutputConfig(DatasetOutputConfig value)
       Required. The config for the output content.
       
      .google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearOutputConfig

      public ExportDataRequest.Builder clearOutputConfig()
       Required. The config for the output content.
       
      .google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOutputConfigBuilder

      public DatasetOutputConfig.Builder getOutputConfigBuilder()
       Required. The config for the output content.
       
      .google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOutputConfigOrBuilder

      public DatasetOutputConfigOrBuilder getOutputConfigOrBuilder()
       Required. The config for the output content.
       
      .google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputConfigOrBuilder in interface ExportDataRequestOrBuilder