public static final class ChangeStreamRecord.DataChangeRecord.Mod extends GeneratedMessage 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.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ChangeStreamRecord.DataChangeRecord.Mod.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ChangeStreamRecord.DataChangeRecord.Mod.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ChangeStreamRecord.DataChangeRecord.Mod.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides