Class DataChangeRecord.Mod.Builder (6.57.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataChangeRecord.Mod.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides

build()

public DataChangeRecord.Mod build()
Returns
TypeDescription
DataChangeRecord.Mod

buildPartial()

public DataChangeRecord.Mod buildPartial()
Returns
TypeDescription
DataChangeRecord.Mod

clear()

public DataChangeRecord.Mod.Builder clear()
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataChangeRecord.Mod.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides

clearKeys()

public DataChangeRecord.Mod.Builder clearKeys()

The primary key values in JSON.

string keys = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DataChangeRecord.Mod.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataChangeRecord.Mod.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides

clone()

public DataChangeRecord.Mod.Builder clone()
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides

getDefaultInstanceForType()

public DataChangeRecord.Mod getDefaultInstanceForType()
Returns
TypeDescription
DataChangeRecord.Mod

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKeys()

public String getKeys()

The primary key values in JSON.

string keys = 1;

Returns
TypeDescription
String

The keys.

getKeysBytes()

public ByteString getKeysBytes()

The primary key values in JSON.

string keys = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for oldValues.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataChangeRecord.Mod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataChangeRecord.Mod.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides

mergeFrom(DataChangeRecord.Mod other)

public DataChangeRecord.Mod.Builder mergeFrom(DataChangeRecord.Mod other)
Parameter
NameDescription
otherDataChangeRecord.Mod
Returns
TypeDescription
DataChangeRecord.Mod.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataChangeRecord.Mod.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataChangeRecord.Mod.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides

setKeys(String value)

public DataChangeRecord.Mod.Builder setKeys(String value)

The primary key values in JSON.

string keys = 1;

Parameter
NameDescription
valueString

The keys to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for keys to set.

Returns
TypeDescription
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
NameDescription
valueString

The newValues to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for newValues to set.

Returns
TypeDescription
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
NameDescription
valueString

The oldValues to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for oldValues to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataChangeRecord.Mod.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides