public static final class TableMetadata.Builder extends GeneratedMessageV3.Builder<TableMetadata.Builder> implements TableMetadataOrBuilder
TableMetadata contains metadata of a single table.
Protobuf type google.spanner.executor.v1.TableMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public TableMetadata.Builder addAllColumn(Iterable<? extends ColumnMetadata> values)
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.spanner.executor.v1.ColumnMetadata>
|
public TableMetadata.Builder addAllKeyColumn(Iterable<? extends ColumnMetadata> values)
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.spanner.executor.v1.ColumnMetadata>
|
public TableMetadata.Builder addColumn(ColumnMetadata value)
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
public TableMetadata.Builder addColumn(ColumnMetadata.Builder builderForValue)
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
public TableMetadata.Builder addColumn(int index, ColumnMetadata value)
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
public TableMetadata.Builder addColumn(int index, ColumnMetadata.Builder builderForValue)
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
public ColumnMetadata.Builder addColumnBuilder()
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
public ColumnMetadata.Builder addColumnBuilder(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 TableMetadata.Builder addKeyColumn(ColumnMetadata value)
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
public TableMetadata.Builder addKeyColumn(ColumnMetadata.Builder builderForValue)
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
public TableMetadata.Builder addKeyColumn(int index, ColumnMetadata value)
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
public TableMetadata.Builder addKeyColumn(int index, ColumnMetadata.Builder builderForValue)
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
public ColumnMetadata.Builder addKeyColumnBuilder()
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
public ColumnMetadata.Builder addKeyColumnBuilder(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 TableMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TableMetadata build()
public TableMetadata buildPartial()
public TableMetadata.Builder clear()
Overrides
public TableMetadata.Builder clearColumn()
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
public TableMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TableMetadata.Builder clearKeyColumn()
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
public TableMetadata.Builder clearName()
Table name.
string name = 1;
public TableMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TableMetadata.Builder clone()
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 ColumnMetadata.Builder getColumnBuilder(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<ColumnMetadata.Builder> getColumnBuilderList()
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
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 Descriptors.Descriptor getDescriptorForType()
Overrides
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 ColumnMetadata.Builder getKeyColumnBuilder(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<ColumnMetadata.Builder> getKeyColumnBuilderList()
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TableMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TableMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public TableMetadata.Builder mergeFrom(TableMetadata other)
public final TableMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TableMetadata.Builder removeColumn(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 TableMetadata.Builder removeKeyColumn(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 TableMetadata.Builder setColumn(int index, ColumnMetadata value)
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
public TableMetadata.Builder setColumn(int index, ColumnMetadata.Builder builderForValue)
Columns, in the same order as in the schema.
repeated .google.spanner.executor.v1.ColumnMetadata column = 2;
public TableMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TableMetadata.Builder setKeyColumn(int index, ColumnMetadata value)
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
public TableMetadata.Builder setKeyColumn(int index, ColumnMetadata.Builder builderForValue)
Keys, in order. Column name is currently not populated.
repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3;
public TableMetadata.Builder setName(String value)
Table name.
string name = 1;
Parameter |
---|
Name | Description |
value | String
The name to set.
|
public TableMetadata.Builder setNameBytes(ByteString value)
Table name.
string name = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
public TableMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final TableMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides