Class OutputConfig.BigQueryDestination.Builder (2.53.0)

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

The BigQuery output destination configuration.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OutputConfig.BigQueryDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OutputConfig.BigQueryDestination.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public OutputConfig.BigQueryDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OutputConfig.BigQueryDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OutputConfig.BigQueryDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OutputConfig.BigQueryDestination.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OutputConfig.BigQueryDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public OutputConfig.BigQueryDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OutputConfig.BigQueryDestination.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OutputConfig.BigQueryDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OutputConfig.BigQueryDestination.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final OutputConfig.BigQueryDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OutputConfig.BigQueryDestination.Builder
Overrides