Class OutputConfig.BigQueryDestination.Builder

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

public static final class OutputConfig.BigQueryDestination.Builder extends com.google.protobuf.GeneratedMessage.Builder<OutputConfig.BigQueryDestination.Builder> implements OutputConfig.BigQueryDestinationOrBuilder
 The BigQuery output destination configuration.
 
Protobuf type google.cloud.retail.v2alpha.OutputConfig.BigQueryDestination
  • 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.BigQueryDestination.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.BigQueryDestination.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.BigQueryDestination.Builder>
    • getDefaultInstanceForType

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

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

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

      public String getDatasetId()
       Required. The ID of a BigQuery Dataset.
       
      string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetId in interface OutputConfig.BigQueryDestinationOrBuilder
      Returns:
      The datasetId.
    • getDatasetIdBytes

      public com.google.protobuf.ByteString getDatasetIdBytes()
       Required. The ID of a BigQuery Dataset.
       
      string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetIdBytes in interface OutputConfig.BigQueryDestinationOrBuilder
      Returns:
      The bytes for datasetId.
    • setDatasetId

      public OutputConfig.BigQueryDestination.Builder setDatasetId(String value)
       Required. The ID of a BigQuery Dataset.
       
      string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The datasetId to set.
      Returns:
      This builder for chaining.
    • clearDatasetId

       Required. The ID of a BigQuery Dataset.
       
      string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDatasetIdBytes

      public OutputConfig.BigQueryDestination.Builder setDatasetIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of a BigQuery Dataset.
       
      string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for datasetId to set.
      Returns:
      This builder for chaining.
    • getTableIdPrefix

      public String getTableIdPrefix()
       Required. The prefix of exported BigQuery tables.
       
      string table_id_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableIdPrefix in interface OutputConfig.BigQueryDestinationOrBuilder
      Returns:
      The tableIdPrefix.
    • getTableIdPrefixBytes

      public com.google.protobuf.ByteString getTableIdPrefixBytes()
       Required. The prefix of exported BigQuery tables.
       
      string table_id_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableIdPrefixBytes in interface OutputConfig.BigQueryDestinationOrBuilder
      Returns:
      The bytes for tableIdPrefix.
    • setTableIdPrefix

      public OutputConfig.BigQueryDestination.Builder setTableIdPrefix(String value)
       Required. The prefix of exported BigQuery tables.
       
      string table_id_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The tableIdPrefix to set.
      Returns:
      This builder for chaining.
    • clearTableIdPrefix

      public OutputConfig.BigQueryDestination.Builder clearTableIdPrefix()
       Required. The prefix of exported BigQuery tables.
       
      string table_id_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTableIdPrefixBytes

      public OutputConfig.BigQueryDestination.Builder setTableIdPrefixBytes(com.google.protobuf.ByteString value)
       Required. The prefix of exported BigQuery tables.
       
      string table_id_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for tableIdPrefix to set.
      Returns:
      This builder for chaining.
    • getTableType

      public String getTableType()
       Required. Describes the table type. The following values are supported:
      
       * `table`: A BigQuery native table.
       * `view`: A virtual table defined by a SQL query.
       
      string table_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableType in interface OutputConfig.BigQueryDestinationOrBuilder
      Returns:
      The tableType.
    • getTableTypeBytes

      public com.google.protobuf.ByteString getTableTypeBytes()
       Required. Describes the table type. The following values are supported:
      
       * `table`: A BigQuery native table.
       * `view`: A virtual table defined by a SQL query.
       
      string table_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableTypeBytes in interface OutputConfig.BigQueryDestinationOrBuilder
      Returns:
      The bytes for tableType.
    • setTableType

      public OutputConfig.BigQueryDestination.Builder setTableType(String value)
       Required. Describes the table type. The following values are supported:
      
       * `table`: A BigQuery native table.
       * `view`: A virtual table defined by a SQL query.
       
      string table_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The tableType to set.
      Returns:
      This builder for chaining.
    • clearTableType

       Required. Describes the table type. The following values are supported:
      
       * `table`: A BigQuery native table.
       * `view`: A virtual table defined by a SQL query.
       
      string table_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTableTypeBytes

      public OutputConfig.BigQueryDestination.Builder setTableTypeBytes(com.google.protobuf.ByteString value)
       Required. Describes the table type. The following values are supported:
      
       * `table`: A BigQuery native table.
       * `view`: A virtual table defined by a SQL query.
       
      string table_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for tableType to set.
      Returns:
      This builder for chaining.