Class BigQueryTable.Builder (3.87.0)

public static final class BigQueryTable.Builder extends GeneratedMessage.Builder<BigQueryTable.Builder> implements BigQueryTableOrBuilder

Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: <project_id>:<dataset_id>.<table_id> or <project_id>.<dataset_id>.<table_id>.

Protobuf type google.privacy.dlp.v2.BigQueryTable

Static Methods

getDescriptor()

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

Methods

build()

public BigQueryTable build()
Returns
Type Description
BigQueryTable

buildPartial()

public BigQueryTable buildPartial()
Returns
Type Description
BigQueryTable

clear()

public BigQueryTable.Builder clear()
Returns
Type Description
BigQueryTable.Builder
Overrides

clearDatasetId()

public BigQueryTable.Builder clearDatasetId()

Dataset ID of the table.

string dataset_id = 2;

Returns
Type Description
BigQueryTable.Builder

This builder for chaining.

clearProjectId()

public BigQueryTable.Builder clearProjectId()

The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.

string project_id = 1;

Returns
Type Description
BigQueryTable.Builder

This builder for chaining.

clearTableId()

public BigQueryTable.Builder clearTableId()

Name of the table.

string table_id = 3;

Returns
Type Description
BigQueryTable.Builder

This builder for chaining.

getDatasetId()

public String getDatasetId()

Dataset ID of the table.

string dataset_id = 2;

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

Dataset ID of the table.

string dataset_id = 2;

Returns
Type Description
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public BigQueryTable getDefaultInstanceForType()
Returns
Type Description
BigQueryTable

getDescriptorForType()

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

getProjectId()

public String getProjectId()

The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

getTableId()

public String getTableId()

Name of the table.

string table_id = 3;

Returns
Type Description
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

Name of the table.

string table_id = 3;

Returns
Type Description
ByteString

The bytes for tableId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryTable other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDatasetId(String value)

public BigQueryTable.Builder setDatasetId(String value)

Dataset ID of the table.

string dataset_id = 2;

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
BigQueryTable.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public BigQueryTable.Builder setDatasetIdBytes(ByteString value)

Dataset ID of the table.

string dataset_id = 2;

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

Returns
Type Description
BigQueryTable.Builder

This builder for chaining.

setProjectId(String value)

public BigQueryTable.Builder setProjectId(String value)

The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
BigQueryTable.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public BigQueryTable.Builder setProjectIdBytes(ByteString value)

The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
BigQueryTable.Builder

This builder for chaining.

setTableId(String value)

public BigQueryTable.Builder setTableId(String value)

Name of the table.

string table_id = 3;

Parameter
Name Description
value String

The tableId to set.

Returns
Type Description
BigQueryTable.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public BigQueryTable.Builder setTableIdBytes(ByteString value)

Name of the table.

string table_id = 3;

Parameter
Name Description
value ByteString

The bytes for tableId to set.

Returns
Type Description
BigQueryTable.Builder

This builder for chaining.