Class DataChangeRecord.Mod.Builder (6.68.0)

public static final class DataChangeRecord.Mod.Builder extends GeneratedMessageV3.Builder<DataChangeRecord.Mod.Builder> implements DataChangeRecord.ModOrBuilder

Describes the changes that were made.

Protobuf type google.spanner.executor.v1.DataChangeRecord.Mod

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataChangeRecord.Mod.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataChangeRecord.Mod.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataChangeRecord.Mod.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataChangeRecord.Mod.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataChangeRecord.Mod.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataChangeRecord.Mod.Builder
Overrides

clone()

public DataChangeRecord.Mod.Builder clone()
Returns
Type Description
DataChangeRecord.Mod.Builder
Overrides

getDefaultInstanceForType()

public DataChangeRecord.Mod getDefaultInstanceForType()
Returns
Type Description
DataChangeRecord.Mod

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeFrom(DataChangeRecord.Mod other)

public DataChangeRecord.Mod.Builder mergeFrom(DataChangeRecord.Mod other)
Parameter
Name Description
other DataChangeRecord.Mod
Returns
Type Description
DataChangeRecord.Mod.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataChangeRecord.Mod.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataChangeRecord.Mod.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataChangeRecord.Mod.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataChangeRecord.Mod.Builder
Overrides

setKeys(String value)

public DataChangeRecord.Mod.Builder setKeys(String value)

The primary key values in JSON.

string keys = 1;

Parameter
Name Description
value String

The 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 ByteString

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for oldValues to set.

Returns
Type Description
DataChangeRecord.Mod.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataChangeRecord.Mod.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataChangeRecord.Mod.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataChangeRecord.Mod.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataChangeRecord.Mod.Builder
Overrides