Class TableReference (2.4.0)

public final class TableReference extends GeneratedMessageV3 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 Fields

DATASET_ID_FIELD_NUMBER

public static final int DATASET_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_ID_FIELD_NUMBER

public static final int TABLE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TableReference getDefaultInstance()
Returns
TypeDescription
TableReference

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TableReference.Builder newBuilder()
Returns
TypeDescription
TableReference.Builder

newBuilder(TableReference prototype)

public static TableReference.Builder newBuilder(TableReference prototype)
Parameter
NameDescription
prototypeTableReference
Returns
TypeDescription
TableReference.Builder

parseDelimitedFrom(InputStream input)

public static TableReference parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TableReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TableReference parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TableReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TableReference parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TableReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TableReference parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TableReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TableReference parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TableReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TableReference parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TableReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TableReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TableReference> parser()
Returns
TypeDescription
Parser<TableReference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<TableReference> getParserForType()
Returns
TypeDescription
Parser<TableReference>
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TableReference.Builder newBuilderForType()
Returns
TypeDescription
TableReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TableReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TableReference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TableReference.Builder toBuilder()
Returns
TypeDescription
TableReference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException