Class DataChangeRecord.Mod (6.65.1)

public static final class DataChangeRecord.Mod extends GeneratedMessageV3 implements DataChangeRecord.ModOrBuilder

Describes the changes that were made.

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

Static Fields

KEYS_FIELD_NUMBER

public static final int KEYS_FIELD_NUMBER
Field Value
Type Description
int

NEW_VALUES_FIELD_NUMBER

public static final int NEW_VALUES_FIELD_NUMBER
Field Value
Type Description
int

OLD_VALUES_FIELD_NUMBER

public static final int OLD_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataChangeRecord.Mod getDefaultInstance()
Returns
Type Description
DataChangeRecord.Mod

getDescriptor()

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

newBuilder()

public static DataChangeRecord.Mod.Builder newBuilder()
Returns
Type Description
DataChangeRecord.Mod.Builder

newBuilder(DataChangeRecord.Mod prototype)

public static DataChangeRecord.Mod.Builder newBuilder(DataChangeRecord.Mod prototype)
Parameter
Name Description
prototype DataChangeRecord.Mod
Returns
Type Description
DataChangeRecord.Mod.Builder

parseDelimitedFrom(InputStream input)

public static DataChangeRecord.Mod parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataChangeRecord.Mod parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataChangeRecord.Mod parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataChangeRecord.Mod parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataChangeRecord.Mod parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataChangeRecord.Mod parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataChangeRecord.Mod
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataChangeRecord.Mod> parser()
Returns
Type Description
Parser<Mod>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<DataChangeRecord.Mod> getParserForType()
Returns
Type Description
Parser<Mod>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataChangeRecord.Mod.Builder newBuilderForType()
Returns
Type Description
DataChangeRecord.Mod.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataChangeRecord.Mod.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataChangeRecord.Mod.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataChangeRecord.Mod.Builder toBuilder()
Returns
Type Description
DataChangeRecord.Mod.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException