Class TableReferenceProto.TableReference.Builder (3.8.0)

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

Table reference that includes just the 3 strings needed to identify a table.

Protobuf type google.cloud.bigquery.storage.v1beta1.TableReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TableReferenceProto.TableReference build()
Returns
Type Description
TableReferenceProto.TableReference

buildPartial()

public TableReferenceProto.TableReference buildPartial()
Returns
Type Description
TableReferenceProto.TableReference

clear()

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

clearDatasetId()

public TableReferenceProto.TableReference.Builder clearDatasetId()

The ID of the dataset in the above project.

string dataset_id = 2;

Returns
Type Description
TableReferenceProto.TableReference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public TableReferenceProto.TableReference.Builder clearProjectId()

The assigned project ID of the project.

string project_id = 1;

Returns
Type Description
TableReferenceProto.TableReference.Builder

This builder for chaining.

clearTableId()

public TableReferenceProto.TableReference.Builder clearTableId()

The ID of the table in the above dataset.

string table_id = 3;

Returns
Type Description
TableReferenceProto.TableReference.Builder

This builder for chaining.

clone()

public TableReferenceProto.TableReference.Builder clone()
Returns
Type Description
TableReferenceProto.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 TableReferenceProto.TableReference getDefaultInstanceForType()
Returns
Type Description
TableReferenceProto.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(TableReferenceProto.TableReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatasetId(String value)

public TableReferenceProto.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
TableReferenceProto.TableReference.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public TableReferenceProto.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
TableReferenceProto.TableReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProjectId(String value)

public TableReferenceProto.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
TableReferenceProto.TableReference.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public TableReferenceProto.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
TableReferenceProto.TableReference.Builder

This builder for chaining.

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

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

setTableId(String value)

public TableReferenceProto.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
TableReferenceProto.TableReference.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public TableReferenceProto.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
TableReferenceProto.TableReference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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