Class BigQueryTable.Builder (3.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryTable build()
Returns
TypeDescription
BigQueryTable

buildPartial()

public BigQueryTable buildPartial()
Returns
TypeDescription
BigQueryTable

clear()

public BigQueryTable.Builder clear()
Returns
TypeDescription
BigQueryTable.Builder
Overrides

clearDatasetId()

public BigQueryTable.Builder clearDatasetId()

Dataset ID of the table.

string dataset_id = 2;

Returns
TypeDescription
BigQueryTable.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearTableId()

public BigQueryTable.Builder clearTableId()

Name of the table.

string table_id = 3;

Returns
TypeDescription
BigQueryTable.Builder

This builder for chaining.

clone()

public BigQueryTable.Builder clone()
Returns
TypeDescription
BigQueryTable.Builder
Overrides

getDatasetId()

public String getDatasetId()

Dataset ID of the table.

string dataset_id = 2;

Returns
TypeDescription
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

Dataset ID of the table.

string dataset_id = 2;

Returns
TypeDescription
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public BigQueryTable getDefaultInstanceForType()
Returns
TypeDescription
BigQueryTable

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for projectId.

getTableId()

public String getTableId()

Name of the table.

string table_id = 3;

Returns
TypeDescription
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

Name of the table.

string table_id = 3;

Returns
TypeDescription
ByteString

The bytes for tableId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BigQueryTable other)

public BigQueryTable.Builder mergeFrom(BigQueryTable other)
Parameter
NameDescription
otherBigQueryTable
Returns
TypeDescription
BigQueryTable.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryTable.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BigQueryTable.Builder
Overrides

setDatasetId(String value)

public BigQueryTable.Builder setDatasetId(String value)

Dataset ID of the table.

string dataset_id = 2;

Parameter
NameDescription
valueString

The datasetId to set.

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

The bytes for datasetId to set.

Returns
TypeDescription
BigQueryTable.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The projectId to set.

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

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BigQueryTable.Builder
Overrides

setTableId(String value)

public BigQueryTable.Builder setTableId(String value)

Name of the table.

string table_id = 3;

Parameter
NameDescription
valueString

The tableId to set.

Returns
TypeDescription
BigQueryTable.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public BigQueryTable.Builder setTableIdBytes(ByteString value)

Name of the table.

string table_id = 3;

Parameter
NameDescription
valueByteString

The bytes for tableId to set.

Returns
TypeDescription
BigQueryTable.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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