public static final class DataChangeRecord.Mod.Builder extends GeneratedMessage.Builder<DataChangeRecord.Mod.Builder> implements DataChangeRecord.ModOrBuilderDescribes the changes that were made.
Protobuf type google.spanner.executor.v1.DataChangeRecord.Mod
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataChangeRecord.Mod.BuilderImplements
DataChangeRecord.ModOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataChangeRecord.Mod build()| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod |
|
buildPartial()
public DataChangeRecord.Mod buildPartial()| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod |
|
clear()
public DataChangeRecord.Mod.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
|
clearKeys()
public DataChangeRecord.Mod.Builder clearKeys()The primary key values in JSON.
string keys = 1;
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
This builder for chaining. |
clearNewValues()
public DataChangeRecord.Mod.Builder clearNewValues()The new values of the changed columns in JSON. Only contain the non-key columns.
string new_values = 2;
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
This builder for chaining. |
clearOldValues()
public DataChangeRecord.Mod.Builder clearOldValues()The old values of the changed columns in JSON. Only contain the non-key columns.
string old_values = 3;
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DataChangeRecord.Mod getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKeys()
public String getKeys()The primary key values in JSON.
string keys = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The keys. |
getKeysBytes()
public ByteString getKeysBytes()The primary key values in JSON.
string keys = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for keys. |
getNewValues()
public String getNewValues()The new values of the changed columns in JSON. Only contain the non-key columns.
string new_values = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The newValues. |
getNewValuesBytes()
public ByteString getNewValuesBytes()The new values of the changed columns in JSON. Only contain the non-key columns.
string new_values = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for newValues. |
getOldValues()
public String getOldValues()The old values of the changed columns in JSON. Only contain the non-key columns.
string old_values = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The oldValues. |
getOldValuesBytes()
public ByteString getOldValuesBytes()The old values of the changed columns in JSON. Only contain the non-key columns.
string old_values = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for oldValues. |
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.Mod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataChangeRecord.Mod.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
|
mergeFrom(DataChangeRecord.Mod other)
public DataChangeRecord.Mod.Builder mergeFrom(DataChangeRecord.Mod other)| Parameter | |
|---|---|
| Name | Description |
other |
DataChangeRecord.Mod |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
|
setKeys(String value)
public DataChangeRecord.Mod.Builder setKeys(String value)The primary key values in JSON.
string keys = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe keys to set. |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
This builder for chaining. |
setKeysBytes(ByteString value)
public DataChangeRecord.Mod.Builder setKeysBytes(ByteString value)The primary key values in JSON.
string keys = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for keys to set. |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
This builder for chaining. |
setNewValues(String value)
public DataChangeRecord.Mod.Builder setNewValues(String value)The new values of the changed columns in JSON. Only contain the non-key columns.
string new_values = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe newValues to set. |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
This builder for chaining. |
setNewValuesBytes(ByteString value)
public DataChangeRecord.Mod.Builder setNewValuesBytes(ByteString value)The new values of the changed columns in JSON. Only contain the non-key columns.
string new_values = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for newValues to set. |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
This builder for chaining. |
setOldValues(String value)
public DataChangeRecord.Mod.Builder setOldValues(String value)The old values of the changed columns in JSON. Only contain the non-key columns.
string old_values = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe oldValues to set. |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
This builder for chaining. |
setOldValuesBytes(ByteString value)
public DataChangeRecord.Mod.Builder setOldValuesBytes(ByteString value)The old values of the changed columns in JSON. Only contain the non-key columns.
string old_values = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for oldValues to set. |
| Returns | |
|---|---|
| Type | Description |
DataChangeRecord.Mod.Builder |
This builder for chaining. |