Class DataChangeRecord.Mod (6.62.0)

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
TypeDescription
int

NEW_VALUES_FIELD_NUMBER

public static final int NEW_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

OLD_VALUES_FIELD_NUMBER

public static final int OLD_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataChangeRecord.Mod getDefaultInstance()
Returns
TypeDescription
DataChangeRecord.Mod

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DataChangeRecord.Mod.Builder newBuilder()
Returns
TypeDescription
DataChangeRecord.Mod.Builder

newBuilder(DataChangeRecord.Mod prototype)

public static DataChangeRecord.Mod.Builder newBuilder(DataChangeRecord.Mod prototype)
Parameter
NameDescription
prototypeDataChangeRecord.Mod
Returns
TypeDescription
DataChangeRecord.Mod.Builder

parseDelimitedFrom(InputStream input)

public static DataChangeRecord.Mod parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataChangeRecord.Mod parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataChangeRecord.Mod parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataChangeRecord.Mod parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataChangeRecord.Mod parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataChangeRecord.Mod parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataChangeRecord.Mod parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataChangeRecord.Mod
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DataChangeRecord.Mod.Builder newBuilderForType()
Returns
TypeDescription
DataChangeRecord.Mod.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataChangeRecord.Mod.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataChangeRecord.Mod.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataChangeRecord.Mod.Builder toBuilder()
Returns
TypeDescription
DataChangeRecord.Mod.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException