Send feedback
Class ChangeStreamRecord.DataChangeRecord.Mod (6.96.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.96.1keyboard_arrow_down
public static final class ChangeStreamRecord . DataChangeRecord . Mod extends GeneratedMessageV3 implements ChangeStreamRecord . DataChangeRecord . ModOrBuilder
A mod describes all data changes in a watched table row.
Protobuf type google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ChangeStreamRecord . DataChangeRecord . Mod getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ChangeStreamRecord . DataChangeRecord . Mod . Builder newBuilder ()
newBuilder(ChangeStreamRecord.DataChangeRecord.Mod prototype)
public static ChangeStreamRecord . DataChangeRecord . Mod . Builder newBuilder ( ChangeStreamRecord . DataChangeRecord . Mod prototype )
public static ChangeStreamRecord . DataChangeRecord . Mod parseDelimitedFrom ( InputStream input )
public static ChangeStreamRecord . DataChangeRecord . Mod parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ChangeStreamRecord . DataChangeRecord . Mod parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChangeStreamRecord . DataChangeRecord . Mod parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ChangeStreamRecord . DataChangeRecord . Mod parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChangeStreamRecord . DataChangeRecord . Mod parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ChangeStreamRecord . DataChangeRecord . Mod parseFrom ( CodedInputStream input )
public static ChangeStreamRecord . DataChangeRecord . Mod parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ChangeStreamRecord . DataChangeRecord . Mod parseFrom ( InputStream input )
public static ChangeStreamRecord . DataChangeRecord . Mod parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ChangeStreamRecord . DataChangeRecord . Mod parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChangeStreamRecord . DataChangeRecord . Mod parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ChangeStreamRecord . DataChangeRecord . Mod > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public ChangeStreamRecord . DataChangeRecord . Mod getDefaultInstanceForType ()
getKeys(int index)
public ChangeStreamRecord . DataChangeRecord . ModValue getKeys ( int index )
Returns the value of the primary key of the modified row.
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue keys = 1;
Parameter
Name
Description
index
int
getKeysCount()
public int getKeysCount ()
Returns the value of the primary key of the modified row.
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue keys = 1;
Returns
Type
Description
int
getKeysList()
public List<ChangeStreamRecord . DataChangeRecord . ModValue > getKeysList ()
Returns the value of the primary key of the modified row.
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue keys = 1;
getKeysOrBuilder(int index)
public ChangeStreamRecord . DataChangeRecord . ModValueOrBuilder getKeysOrBuilder ( int index )
Returns the value of the primary key of the modified row.
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue keys = 1;
Parameter
Name
Description
index
int
getKeysOrBuilderList()
public List <? extends ChangeStreamRecord . DataChangeRecord . ModValueOrBuilder > getKeysOrBuilderList ()
Returns the value of the primary key of the modified row.
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue keys = 1;
Returns
Type
Description
List <? extends com.google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValueOrBuilder >
getNewValues(int index)
public ChangeStreamRecord . DataChangeRecord . ModValue getNewValues ( int index )
Returns the new values after the change for the modified columns.
Always empty for
DELETE .
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue new_values = 3;
Parameter
Name
Description
index
int
getNewValuesCount()
public int getNewValuesCount ()
Returns the new values after the change for the modified columns.
Always empty for
DELETE .
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue new_values = 3;
Returns
Type
Description
int
getNewValuesList()
public List<ChangeStreamRecord . DataChangeRecord . ModValue > getNewValuesList ()
Returns the new values after the change for the modified columns.
Always empty for
DELETE .
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue new_values = 3;
getNewValuesOrBuilder(int index)
public ChangeStreamRecord . DataChangeRecord . ModValueOrBuilder getNewValuesOrBuilder ( int index )
Returns the new values after the change for the modified columns.
Always empty for
DELETE .
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue new_values = 3;
Parameter
Name
Description
index
int
getNewValuesOrBuilderList()
public List <? extends ChangeStreamRecord . DataChangeRecord . ModValueOrBuilder > getNewValuesOrBuilderList ()
Returns the new values after the change for the modified columns.
Always empty for
DELETE .
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue new_values = 3;
Returns
Type
Description
List <? extends com.google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValueOrBuilder >
getOldValues(int index)
public ChangeStreamRecord . DataChangeRecord . ModValue getOldValues ( int index )
Returns the old values before the change for the modified columns.
Always empty for
INSERT ,
or if old values are not being captured specified by
value_capture_type .
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue old_values = 2;
Parameter
Name
Description
index
int
getOldValuesCount()
public int getOldValuesCount ()
Returns the old values before the change for the modified columns.
Always empty for
INSERT ,
or if old values are not being captured specified by
value_capture_type .
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue old_values = 2;
Returns
Type
Description
int
getOldValuesList()
public List<ChangeStreamRecord . DataChangeRecord . ModValue > getOldValuesList ()
Returns the old values before the change for the modified columns.
Always empty for
INSERT ,
or if old values are not being captured specified by
value_capture_type .
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue old_values = 2;
getOldValuesOrBuilder(int index)
public ChangeStreamRecord . DataChangeRecord . ModValueOrBuilder getOldValuesOrBuilder ( int index )
Returns the old values before the change for the modified columns.
Always empty for
INSERT ,
or if old values are not being captured specified by
value_capture_type .
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue old_values = 2;
Parameter
Name
Description
index
int
getOldValuesOrBuilderList()
public List <? extends ChangeStreamRecord . DataChangeRecord . ModValueOrBuilder > getOldValuesOrBuilderList ()
Returns the old values before the change for the modified columns.
Always empty for
INSERT ,
or if old values are not being captured specified by
value_capture_type .
repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue old_values = 2;
Returns
Type
Description
List <? extends com.google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValueOrBuilder >
getParserForType()
public Parser<ChangeStreamRecord . DataChangeRecord . Mod > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ChangeStreamRecord . DataChangeRecord . Mod . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ChangeStreamRecord . DataChangeRecord . Mod . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public ChangeStreamRecord . DataChangeRecord . Mod . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 UTC."],[],[]]