Class TableReferenceProto.TableReference.Builder (3.0.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TableReferenceProto.TableReference build()
Returns
TypeDescription
TableReferenceProto.TableReference

buildPartial()

public TableReferenceProto.TableReference buildPartial()
Returns
TypeDescription
TableReferenceProto.TableReference

clear()

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

clearDatasetId()

public TableReferenceProto.TableReference.Builder clearDatasetId()

The ID of the dataset in the above project.

string dataset_id = 2;

Returns
TypeDescription
TableReferenceProto.TableReference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public TableReferenceProto.TableReference.Builder clearProjectId()

The assigned project ID of the project.

string project_id = 1;

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

This builder for chaining.

clone()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The datasetId to set.

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

The bytes for datasetId to set.

Returns
TypeDescription
TableReferenceProto.TableReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The projectId to set.

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

The bytes for projectId to set.

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

The tableId to set.

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

The bytes for tableId to set.

Returns
TypeDescription
TableReferenceProto.TableReference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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