Class OutputConfig.BigQueryDestination.Builder (2.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OutputConfig.BigQueryDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OutputConfig.BigQueryDestination.Builder
Overrides

build()

public OutputConfig.BigQueryDestination build()
Returns
TypeDescription
OutputConfig.BigQueryDestination

buildPartial()

public OutputConfig.BigQueryDestination buildPartial()
Returns
TypeDescription
OutputConfig.BigQueryDestination

clear()

public OutputConfig.BigQueryDestination.Builder clear()
Returns
TypeDescription
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
TypeDescription
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OutputConfig.BigQueryDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OutputConfig.BigQueryDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OutputConfig.BigQueryDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

clone()

public OutputConfig.BigQueryDestination.Builder clone()
Returns
TypeDescription
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
TypeDescription
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

Required. The ID of a BigQuery Dataset.

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

Returns
TypeDescription
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public OutputConfig.BigQueryDestination getDefaultInstanceForType()
Returns
TypeDescription
OutputConfig.BigQueryDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTableIdPrefix()

public String getTableIdPrefix()

Required. The prefix of exported BigQuery tables.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for tableType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OutputConfig.BigQueryDestination other)

public OutputConfig.BigQueryDestination.Builder mergeFrom(OutputConfig.BigQueryDestination other)
Parameter
NameDescription
otherOutputConfig.BigQueryDestination
Returns
TypeDescription
OutputConfig.BigQueryDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OutputConfig.BigQueryDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OutputConfig.BigQueryDestination.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OutputConfig.BigQueryDestination.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OutputConfig.BigQueryDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OutputConfig.BigQueryDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The datasetId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for datasetId to set.

Returns
TypeDescription
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OutputConfig.BigQueryDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The tableIdPrefix to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tableIdPrefix to set.

Returns
TypeDescription
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
NameDescription
valueString

The tableType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tableType to set.

Returns
TypeDescription
OutputConfig.BigQueryDestination.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OutputConfig.BigQueryDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OutputConfig.BigQueryDestination.Builder
Overrides