public static final class DataChangeRecord.ColumnType.Builder extends GeneratedMessage.Builder<DataChangeRecord.ColumnType.Builder> implements DataChangeRecord.ColumnTypeOrBuilderColumn types.
Protobuf type google.spanner.executor.v1.DataChangeRecord.ColumnType
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataChangeRecord.ColumnType.BuilderImplements
DataChangeRecord.ColumnTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 GeneratedMessage.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 |
|
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 |
booleanThe 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 |
StringThe 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 |
ByteStringThe 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 |
longThe ordinalPosition to set. |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |
setType(String value)
public DataChangeRecord.ColumnType.Builder setType(String value)Column type in JSON.
string type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.ColumnType.Builder |
This builder for chaining. |