Class TableMetadata (6.74.0)

public final class TableMetadata extends GeneratedMessageV3 implements TableMetadataOrBuilder

TableMetadata contains metadata of a single table.

Protobuf type google.spanner.executor.v1.TableMetadata

Static Fields

COLUMN_FIELD_NUMBER

public static final int COLUMN_FIELD_NUMBER
Field Value
Type Description
int

KEY_COLUMN_FIELD_NUMBER

public static final int KEY_COLUMN_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TableMetadata getDefaultInstance()
Returns
Type Description
TableMetadata

getDescriptor()

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

newBuilder()

public static TableMetadata.Builder newBuilder()
Returns
Type Description
TableMetadata.Builder

newBuilder(TableMetadata prototype)

public static TableMetadata.Builder newBuilder(TableMetadata prototype)
Parameter
Name Description
prototype TableMetadata
Returns
Type Description
TableMetadata.Builder

parseDelimitedFrom(InputStream input)

public static TableMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TableMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TableMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TableMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TableMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TableMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TableMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TableMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TableMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TableMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TableMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TableMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TableMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TableMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TableMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TableMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TableMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TableMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TableMetadata> parser()
Returns
Type Description
Parser<TableMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getColumn(int index)

public ColumnMetadata getColumn(int index)

Columns, in the same order as in the schema.

repeated .google.spanner.executor.v1.ColumnMetadata column = 2;

Parameter
Name Description
index int
Returns
Type Description
ColumnMetadata

getColumnCount()

public int getColumnCount()

Columns, in the same order as in the schema.

repeated .google.spanner.executor.v1.ColumnMetadata column = 2;

Returns
Type Description
int

getColumnList()

public List<ColumnMetadata> getColumnList()

Columns, in the same order as in the schema.

repeated .google.spanner.executor.v1.ColumnMetadata column = 2;

Returns
Type Description
List<ColumnMetadata>

getColumnOrBuilder(int index)

public ColumnMetadataOrBuilder getColumnOrBuilder(int index)

Columns, in the same order as in the schema.

repeated .google.spanner.executor.v1.ColumnMetadata column = 2;

Parameter
Name Description
index int
Returns
Type Description
ColumnMetadataOrBuilder

getColumnOrBuilderList()

public List<? extends ColumnMetadataOrBuilder> getColumnOrBuilderList()

Columns, in the same order as in the schema.

repeated .google.spanner.executor.v1.ColumnMetadata column = 2;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.ColumnMetadataOrBuilder>

getDefaultInstanceForType()

public TableMetadata getDefaultInstanceForType()
Returns
Type Description
TableMetadata

getKeyColumn(int index)

public ColumnMetadata getKeyColumn(int index)

Keys, in order. Column name is currently not populated.

repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;

Parameter
Name Description
index int
Returns
Type Description
ColumnMetadata

getKeyColumnCount()

public int getKeyColumnCount()

Keys, in order. Column name is currently not populated.

repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;

Returns
Type Description
int

getKeyColumnList()

public List<ColumnMetadata> getKeyColumnList()

Keys, in order. Column name is currently not populated.

repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;

Returns
Type Description
List<ColumnMetadata>

getKeyColumnOrBuilder(int index)

public ColumnMetadataOrBuilder getKeyColumnOrBuilder(int index)

Keys, in order. Column name is currently not populated.

repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;

Parameter
Name Description
index int
Returns
Type Description
ColumnMetadataOrBuilder

getKeyColumnOrBuilderList()

public List<? extends ColumnMetadataOrBuilder> getKeyColumnOrBuilderList()

Keys, in order. Column name is currently not populated.

repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.ColumnMetadataOrBuilder>

getName()

public String getName()

Table name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Table name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<TableMetadata> getParserForType()
Returns
Type Description
Parser<TableMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TableMetadata.Builder newBuilderForType()
Returns
Type Description
TableMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TableMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TableMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TableMetadata.Builder toBuilder()
Returns
Type Description
TableMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException