Class TableReference.Builder (2.44.0)

public static final class TableReference.Builder extends GeneratedMessageV3.Builder<TableReference.Builder> implements TableReferenceOrBuilder

Fully qualified reference to BigQuery table. Internally stored as google.cloud.bi.v1.BqTableReference.

Protobuf type google.cloud.bigquery.reservation.v1.TableReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TableReference build()
Returns
Type Description
TableReference

buildPartial()

public TableReference buildPartial()
Returns
Type Description
TableReference

clear()

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

clearDatasetId()

public TableReference.Builder clearDatasetId()

The ID of the dataset in the above project.

string dataset_id = 2;

Returns
Type Description
TableReference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public TableReference.Builder clearProjectId()

The assigned project ID of the project.

string project_id = 1;

Returns
Type Description
TableReference.Builder

This builder for chaining.

clearTableId()

public TableReference.Builder clearTableId()

The ID of the table in the above dataset.

string table_id = 3;

Returns
Type Description
TableReference.Builder

This builder for chaining.

clone()

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

getDatasetId()

public String getDatasetId()

The ID of the dataset in the above project.

string dataset_id = 2;

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

The ID of the dataset in the above project.

string dataset_id = 2;

Returns
Type Description
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public TableReference getDefaultInstanceForType()
Returns
Type Description
TableReference

getDescriptorForType()

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

getProjectId()

public String getProjectId()

The assigned project ID of the project.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The assigned project ID of the project.

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

getTableId()

public String getTableId()

The ID of the table in the above dataset.

string table_id = 3;

Returns
Type Description
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

The ID of the table in the above dataset.

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(TableReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TableReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TableReference.Builder
Overrides

setDatasetId(String value)

public TableReference.Builder setDatasetId(String value)

The ID of the dataset in the above project.

string dataset_id = 2;

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
TableReference.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public TableReference.Builder setDatasetIdBytes(ByteString value)

The ID of the dataset in the above project.

string dataset_id = 2;

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

Returns
Type Description
TableReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProjectId(String value)

public TableReference.Builder setProjectId(String value)

The assigned project ID of the project.

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
TableReference.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public TableReference.Builder setProjectIdBytes(ByteString value)

The assigned project ID of the project.

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
TableReference.Builder

This builder for chaining.

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

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

setTableId(String value)

public TableReference.Builder setTableId(String value)

The ID of the table in the above dataset.

string table_id = 3;

Parameter
Name Description
value String

The tableId to set.

Returns
Type Description
TableReference.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public TableReference.Builder setTableIdBytes(ByteString value)

The ID of the table in the above dataset.

string table_id = 3;

Parameter
Name Description
value ByteString

The bytes for tableId to set.

Returns
Type Description
TableReference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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