public static final class DataChangeRecord.ColumnType.Builder extends GeneratedMessageV3.Builder<DataChangeRecord.ColumnType.Builder> implements DataChangeRecord.ColumnTypeOrBuilder
Column types.
Protobuf type google.spanner.executor.v1.DataChangeRecord.ColumnType
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataChangeRecord.ColumnType.BuilderImplements
DataChangeRecord.ColumnTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataChangeRecord.ColumnType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
build()
public DataChangeRecord.ColumnType build()
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType |
buildPartial()
public DataChangeRecord.ColumnType buildPartial()
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType |
clear()
public DataChangeRecord.ColumnType.Builder clear()
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
clearField(Descriptors.FieldDescriptor field)
public DataChangeRecord.ColumnType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
clearIsPrimaryKey()
public DataChangeRecord.ColumnType.Builder clearIsPrimaryKey()
Whether the column is a primary key column.
bool is_primary_key = 3;
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
clearName()
public DataChangeRecord.ColumnType.Builder clearName()
Column name.
string name = 1;
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataChangeRecord.ColumnType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
clearOrdinalPosition()
public DataChangeRecord.ColumnType.Builder clearOrdinalPosition()
The position of the column as defined in the schema.
int64 ordinal_position = 4;
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
clearType()
public DataChangeRecord.ColumnType.Builder clearType()
Column type in JSON.
string type = 2;
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
clone()
public DataChangeRecord.ColumnType.Builder clone()
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
getDefaultInstanceForType()
public DataChangeRecord.ColumnType getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIsPrimaryKey()
public boolean getIsPrimaryKey()
Whether the column is a primary key column.
bool is_primary_key = 3;
Returns | |
---|---|
Type | Description |
boolean |
The isPrimaryKey. |
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. |
getOrdinalPosition()
public long getOrdinalPosition()
The position of the column as defined in the schema.
int64 ordinal_position = 4;
Returns | |
---|---|
Type | Description |
long |
The ordinalPosition. |
getType()
public String getType()
Column type in JSON.
string type = 2;
Returns | |
---|---|
Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()
Column type in JSON.
string type = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataChangeRecord.ColumnType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DataChangeRecord.ColumnType.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
mergeFrom(DataChangeRecord.ColumnType other)
public DataChangeRecord.ColumnType.Builder mergeFrom(DataChangeRecord.ColumnType other)
Parameter | |
---|---|
Name | Description |
other |
DataChangeRecord.ColumnType |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataChangeRecord.ColumnType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DataChangeRecord.ColumnType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
setIsPrimaryKey(boolean value)
public DataChangeRecord.ColumnType.Builder setIsPrimaryKey(boolean value)
Whether the column is a primary key column.
bool is_primary_key = 3;
Parameter | |
---|---|
Name | Description |
value |
boolean The isPrimaryKey to set. |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
setName(String value)
public DataChangeRecord.ColumnType.Builder setName(String value)
Column name.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DataChangeRecord.ColumnType.Builder setNameBytes(ByteString value)
Column name.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
setOrdinalPosition(long value)
public DataChangeRecord.ColumnType.Builder setOrdinalPosition(long value)
The position of the column as defined in the schema.
int64 ordinal_position = 4;
Parameter | |
---|---|
Name | Description |
value |
long The ordinalPosition to set. |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataChangeRecord.ColumnType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
setType(String value)
public DataChangeRecord.ColumnType.Builder setType(String value)
Column type in JSON.
string type = 2;
Parameter | |
---|---|
Name | Description |
value |
String The type to set. |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public DataChangeRecord.ColumnType.Builder setTypeBytes(ByteString value)
Column type in JSON.
string type = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataChangeRecord.ColumnType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataChangeRecord.ColumnType.Builder |