Class OutputConfig.BigQueryDestination.Builder (2.85.0)

public static final class OutputConfig.BigQueryDestination.Builder extends GeneratedMessage.Builder<OutputConfig.BigQueryDestination.Builder> implements OutputConfig.BigQueryDestinationOrBuilder

The BigQuery output destination configuration.

Protobuf type google.cloud.retail.v2beta.OutputConfig.BigQueryDestination

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public OutputConfig.BigQueryDestination build()
Returns
Type Description
OutputConfig.BigQueryDestination

buildPartial()

public OutputConfig.BigQueryDestination buildPartial()
Returns
Type Description
OutputConfig.BigQueryDestination

clear()

public OutputConfig.BigQueryDestination.Builder clear()
Returns
Type Description
OutputConfig.BigQueryDestination.Builder
Overrides

clearDatasetId()

public OutputConfig.BigQueryDestination.Builder clearDatasetId()

Required. The ID of a BigQuery Dataset.

string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfig.BigQueryDestination.Builder

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
Type Description
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

clearTableType()

public OutputConfig.BigQueryDestination.Builder 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
Type Description
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

getDatasetId()

public String getDatasetId()

Required. The ID of a BigQuery Dataset.

string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

Required. The ID of a BigQuery Dataset.

string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public OutputConfig.BigQueryDestination getDefaultInstanceForType()
Returns
Type Description
OutputConfig.BigQueryDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTableIdPrefix()

public String getTableIdPrefix()

Required. The prefix of exported BigQuery tables.

string table_id_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tableIdPrefix.

getTableIdPrefixBytes()

public ByteString getTableIdPrefixBytes()

Required. The prefix of exported BigQuery tables.

string table_id_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tableIdPrefix.

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];

Returns
Type Description
String

The tableType.

getTableTypeBytes()

public 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];

Returns
Type Description
ByteString

The bytes for tableType.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OutputConfig.BigQueryDestination other)

public OutputConfig.BigQueryDestination.Builder mergeFrom(OutputConfig.BigQueryDestination other)
Parameter
Name Description
other OutputConfig.BigQueryDestination
Returns
Type Description
OutputConfig.BigQueryDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OutputConfig.BigQueryDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OutputConfig.BigQueryDestination.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OutputConfig.BigQueryDestination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OutputConfig.BigQueryDestination.Builder
Overrides

setDatasetId(String value)

public OutputConfig.BigQueryDestination.Builder setDatasetId(String value)

Required. The ID of a BigQuery Dataset.

string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public OutputConfig.BigQueryDestination.Builder setDatasetIdBytes(ByteString value)

Required. The ID of a BigQuery Dataset.

string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

Returns
Type Description
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

setTableIdPrefix(String value)

public OutputConfig.BigQueryDestination.Builder setTableIdPrefix(String value)

Required. The prefix of exported BigQuery tables.

string table_id_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tableIdPrefix to set.

Returns
Type Description
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

setTableIdPrefixBytes(ByteString value)

public OutputConfig.BigQueryDestination.Builder setTableIdPrefixBytes(ByteString value)

Required. The prefix of exported BigQuery tables.

string table_id_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tableIdPrefix to set.

Returns
Type Description
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

setTableType(String value)

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];

Parameter
Name Description
value String

The tableType to set.

Returns
Type Description
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

setTableTypeBytes(ByteString value)

public OutputConfig.BigQueryDestination.Builder setTableTypeBytes(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];

Parameter
Name Description
value ByteString

The bytes for tableType to set.

Returns
Type Description
OutputConfig.BigQueryDestination.Builder

This builder for chaining.