Class TableReferenceProto.TableReference (2.31.1)

public static final class TableReferenceProto.TableReference extends GeneratedMessageV3 implements TableReferenceProto.TableReferenceOrBuilder

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

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TableReferenceProto.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 TableReferenceProto.TableReference getDefaultInstance()
Returns
TypeDescription
TableReferenceProto.TableReference

getDescriptor()

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

newBuilder()

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

newBuilder(TableReferenceProto.TableReference prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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