Class TableReference.Builder (2.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TableReference build()
Returns
TypeDescription
TableReference

buildPartial()

public TableReference buildPartial()
Returns
TypeDescription
TableReference

clear()

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

clearDatasetId()

public TableReference.Builder clearDatasetId()

The ID of the dataset in the above project.

string dataset_id = 2;

Returns
TypeDescription
TableReference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TableReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TableReference.Builder
Overrides

clearProjectId()

public TableReference.Builder clearProjectId()

The assigned project ID of the project.

string project_id = 1;

Returns
TypeDescription
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
TypeDescription
TableReference.Builder

This builder for chaining.

clone()

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

getDatasetId()

public String getDatasetId()

The ID of the dataset in the above project.

string dataset_id = 2;

Returns
TypeDescription
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

The ID of the dataset in the above project.

string dataset_id = 2;

Returns
TypeDescription
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public TableReference getDefaultInstanceForType()
Returns
TypeDescription
TableReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProjectId()

public String getProjectId()

The assigned project ID of the project.

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The assigned project ID of the project.

string project_id = 1;

Returns
TypeDescription
ByteString

The bytes for projectId.

getTableId()

public String getTableId()

The ID of the table in the above dataset.

string table_id = 3;

Returns
TypeDescription
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

The ID of the table in the above dataset.

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

public TableReference.Builder mergeFrom(TableReference other)
Parameter
NameDescription
otherTableReference
Returns
TypeDescription
TableReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The datasetId to set.

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

The bytes for datasetId to set.

Returns
TypeDescription
TableReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProjectId(String value)

public TableReference.Builder setProjectId(String value)

The assigned project ID of the project.

string project_id = 1;

Parameter
NameDescription
valueString

The projectId to set.

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

The bytes for projectId to set.

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

The tableId to set.

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

The bytes for tableId to set.

Returns
TypeDescription
TableReference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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