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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ColumnMetadata.BuilderImplements
ColumnMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ColumnMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
build()
public ColumnMetadata build()
Returns | |
---|---|
Type | Description |
ColumnMetadata |
buildPartial()
public ColumnMetadata buildPartial()
Returns | |
---|---|
Type | Description |
ColumnMetadata |
clear()
public ColumnMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public ColumnMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
clearName()
public ColumnMetadata.Builder clearName()
Column name.
string name = 1;
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ColumnMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
clearType()
public ColumnMetadata.Builder clearType()
Column type.
.google.spanner.v1.Type type = 2;
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
clone()
public ColumnMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
getDefaultInstanceForType()
public ColumnMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ColumnMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Column name.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Column name.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getType()
public Type getType()
Column type.
.google.spanner.v1.Type type = 2;
Returns | |
---|---|
Type | Description |
Type | The type. |
getTypeBuilder()
public Type.Builder getTypeBuilder()
Column type.
.google.spanner.v1.Type type = 2;
Returns | |
---|---|
Type | Description |
Type.Builder |
getTypeOrBuilder()
public TypeOrBuilder getTypeOrBuilder()
Column type.
.google.spanner.v1.Type type = 2;
Returns | |
---|---|
Type | Description |
TypeOrBuilder |
hasType()
public boolean hasType()
Column type.
.google.spanner.v1.Type type = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the type field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ColumnMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ColumnMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
mergeFrom(ColumnMetadata other)
public ColumnMetadata.Builder mergeFrom(ColumnMetadata other)
Parameter | |
---|---|
Name | Description |
other | ColumnMetadata |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
mergeType(Type value)
public ColumnMetadata.Builder mergeType(Type value)
Column type.
.google.spanner.v1.Type type = 2;
Parameter | |
---|---|
Name | Description |
value | Type |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ColumnMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ColumnMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
setName(String value)
public ColumnMetadata.Builder setName(String value)
Column name.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ColumnMetadata.Builder setNameBytes(ByteString value)
Column name.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ColumnMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
setType(Type value)
public ColumnMetadata.Builder setType(Type value)
Column type.
.google.spanner.v1.Type type = 2;
Parameter | |
---|---|
Name | Description |
value | Type |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
setType(Type.Builder builderForValue)
public ColumnMetadata.Builder setType(Type.Builder builderForValue)
Column type.
.google.spanner.v1.Type type = 2;
Parameter | |
---|---|
Name | Description |
builderForValue | Type.Builder |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ColumnMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ColumnMetadata.Builder |