Class BigQueryTable.Builder (3.51.0)

public static final class BigQueryTable.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public BigQueryTable.Builder clearProjectId()

The Google Cloud Platform 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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProjectId(String value)

public BigQueryTable.Builder setProjectId(String value)

The Google Cloud Platform 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 Platform 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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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