public final class TableMetadata extends GeneratedMessageV3 implements TableMetadataOrBuilder
TableMetadata contains metadata of a single table.
Protobuf type google.spanner.executor.v1.TableMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int COLUMN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int KEY_COLUMN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static TableMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static TableMetadata.Builder newBuilder()
public static TableMetadata.Builder newBuilder(TableMetadata prototype)
public static TableMetadata parseDelimitedFrom(InputStream input)
public static TableMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TableMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static TableMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TableMetadata parseFrom(ByteString data)
public static TableMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TableMetadata parseFrom(CodedInputStream input)
public static TableMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TableMetadata parseFrom(InputStream input)
public static TableMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TableMetadata parseFrom(ByteBuffer data)
public static TableMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<TableMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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
|
public int getColumnCount()
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
Returns |
---|
Type | Description |
int | |
public List<ColumnMetadata> getColumnList()
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
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
|
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> | |
public TableMetadata getDefaultInstanceForType()
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
|
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 | |
public List<ColumnMetadata> getKeyColumnList()
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
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
|
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> | |
Table name.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Table name.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
public Parser<TableMetadata> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TableMetadata.Builder newBuilderForType()
protected TableMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public TableMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides