public static final class ColumnMetadata.Builder extends GeneratedMessageV3.Builder<ColumnMetadata.Builder> implements ColumnMetadataOrBuilder
ColumnMetadata represents metadata of a single column.
Protobuf type google.spanner.executor.v1.ColumnMetadata
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 ColumnMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ColumnMetadata build()
public ColumnMetadata buildPartial()
public ColumnMetadata.Builder clear()
Overrides
public ColumnMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ColumnMetadata.Builder clearName()
Column name.
string name = 1;
public ColumnMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ColumnMetadata.Builder clearType()
Column type.
.google.spanner.v1.Type type = 2;
public ColumnMetadata.Builder clone()
Overrides
public ColumnMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Column name.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Column name.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
Column type.
.google.spanner.v1.Type type = 2;
Returns |
---|
Type | Description |
Type | The type.
|
public Type.Builder getTypeBuilder()
Column type.
.google.spanner.v1.Type type = 2;
public TypeOrBuilder getTypeOrBuilder()
Column type.
.google.spanner.v1.Type type = 2;
Column type.
.google.spanner.v1.Type type = 2;
Returns |
---|
Type | Description |
boolean | Whether the type field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ColumnMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ColumnMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public ColumnMetadata.Builder mergeFrom(ColumnMetadata other)
public ColumnMetadata.Builder mergeType(Type value)
Column type.
.google.spanner.v1.Type type = 2;
Parameter |
---|
Name | Description |
value | Type
|
public final ColumnMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ColumnMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ColumnMetadata.Builder setName(String value)
Column name.
string name = 1;
Parameter |
---|
Name | Description |
value | String
The name to set.
|
public ColumnMetadata.Builder setNameBytes(ByteString value)
Column name.
string name = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
public ColumnMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ColumnMetadata.Builder setType(Type value)
Column type.
.google.spanner.v1.Type type = 2;
Parameter |
---|
Name | Description |
value | Type
|
public ColumnMetadata.Builder setType(Type.Builder builderForValue)
Column type.
.google.spanner.v1.Type type = 2;
public final ColumnMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides