Package com.google.spanner.executor.v1
Class DataChangeRecord.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
com.google.spanner.executor.v1.DataChangeRecord.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DataChangeRecordOrBuilder,Cloneable
- Enclosing class:
- DataChangeRecord
public static final class DataChangeRecord.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
implements DataChangeRecordOrBuilder
ChangeStream data change record.Protobuf type
google.spanner.executor.v1.DataChangeRecord-
Method Summary
Modifier and TypeMethodDescriptionaddAllColumnTypes(Iterable<? extends DataChangeRecord.ColumnType> values) Column types defined in the schema.addAllMods(Iterable<? extends DataChangeRecord.Mod> values) Changes made in the transaction.addColumnTypes(int index, DataChangeRecord.ColumnType value) Column types defined in the schema.addColumnTypes(int index, DataChangeRecord.ColumnType.Builder builderForValue) Column types defined in the schema.Column types defined in the schema.addColumnTypes(DataChangeRecord.ColumnType.Builder builderForValue) Column types defined in the schema.Column types defined in the schema.addColumnTypesBuilder(int index) Column types defined in the schema.addMods(int index, DataChangeRecord.Mod value) Changes made in the transaction.addMods(int index, DataChangeRecord.Mod.Builder builderForValue) Changes made in the transaction.addMods(DataChangeRecord.Mod value) Changes made in the transaction.addMods(DataChangeRecord.Mod.Builder builderForValue) Changes made in the transaction.Changes made in the transaction.addModsBuilder(int index) Changes made in the transaction.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Column types defined in the schema.The timestamp in which the change was committed.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Indicates whether this is the last record for a transaction in the current partition.Whether the transaction is a system transactionn.Changes made in the transaction.Describes the type of change.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Number of partitions in transactions.Number of records in transactions.The sequence number for the record within the transaction.Name of the table affected by the change.A globally unique string that represents the transaction in which the change was committed.Transaction tag info.One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.clone()getColumnTypes(int index) Column types defined in the schema.getColumnTypesBuilder(int index) Column types defined in the schema.Column types defined in the schema.intColumn types defined in the schema.Column types defined in the schema.getColumnTypesOrBuilder(int index) Column types defined in the schema.List<? extends DataChangeRecord.ColumnTypeOrBuilder>Column types defined in the schema.com.google.protobuf.TimestampThe timestamp in which the change was committed.com.google.protobuf.Timestamp.BuilderThe timestamp in which the change was committed.com.google.protobuf.TimestampOrBuilderThe timestamp in which the change was committed.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIndicates whether this is the last record for a transaction in the current partition.booleanWhether the transaction is a system transactionn.getMods(int index) Changes made in the transaction.getModsBuilder(int index) Changes made in the transaction.Changes made in the transaction.intChanges made in the transaction.Changes made in the transaction.getModsOrBuilder(int index) Changes made in the transaction.List<? extends DataChangeRecord.ModOrBuilder>Changes made in the transaction.Describes the type of change.com.google.protobuf.ByteStringDescribes the type of change.longNumber of partitions in transactions.longNumber of records in transactions.The sequence number for the record within the transaction.com.google.protobuf.ByteStringThe sequence number for the record within the transaction.getTable()Name of the table affected by the change.com.google.protobuf.ByteStringName of the table affected by the change.A globally unique string that represents the transaction in which the change was committed.com.google.protobuf.ByteStringA globally unique string that represents the transaction in which the change was committed.Transaction tag info.com.google.protobuf.ByteStringTransaction tag info.One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.com.google.protobuf.ByteStringOne of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.booleanThe timestamp in which the change was committed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCommitTime(com.google.protobuf.Timestamp value) The timestamp in which the change was committed.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DataChangeRecord other) final DataChangeRecord.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeColumnTypes(int index) Column types defined in the schema.removeMods(int index) Changes made in the transaction.setColumnTypes(int index, DataChangeRecord.ColumnType value) Column types defined in the schema.setColumnTypes(int index, DataChangeRecord.ColumnType.Builder builderForValue) Column types defined in the schema.setCommitTime(com.google.protobuf.Timestamp value) The timestamp in which the change was committed.setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp in which the change was committed.setIsLastRecord(boolean value) Indicates whether this is the last record for a transaction in the current partition.setIsSystemTransaction(boolean value) Whether the transaction is a system transactionn.setMods(int index, DataChangeRecord.Mod value) Changes made in the transaction.setMods(int index, DataChangeRecord.Mod.Builder builderForValue) Changes made in the transaction.setModType(String value) Describes the type of change.setModTypeBytes(com.google.protobuf.ByteString value) Describes the type of change.setPartitionCount(long value) Number of partitions in transactions.setRecordCount(long value) Number of records in transactions.setRecordSequence(String value) The sequence number for the record within the transaction.setRecordSequenceBytes(com.google.protobuf.ByteString value) The sequence number for the record within the transaction.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Name of the table affected by the change.setTableBytes(com.google.protobuf.ByteString value) Name of the table affected by the change.setTransactionId(String value) A globally unique string that represents the transaction in which the change was committed.setTransactionIdBytes(com.google.protobuf.ByteString value) A globally unique string that represents the transaction in which the change was committed.setTransactionTag(String value) Transaction tag info.setTransactionTagBytes(com.google.protobuf.ByteString value) Transaction tag info.final DataChangeRecord.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setValueCaptureType(String value) One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.setValueCaptureTypeBytes(com.google.protobuf.ByteString value) One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
setField
public DataChangeRecord.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
setRepeatedField
public DataChangeRecord.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
addRepeatedField
public DataChangeRecord.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataChangeRecord.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
mergeFrom
public DataChangeRecord.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataChangeRecord.Builder>- Throws:
IOException
-
hasCommitTime
public boolean hasCommitTime()The timestamp in which the change was committed.
.google.protobuf.Timestamp commit_time = 1;- Specified by:
hasCommitTimein interfaceDataChangeRecordOrBuilder- Returns:
- Whether the commitTime field is set.
-
getCommitTime
public com.google.protobuf.Timestamp getCommitTime()The timestamp in which the change was committed.
.google.protobuf.Timestamp commit_time = 1;- Specified by:
getCommitTimein interfaceDataChangeRecordOrBuilder- Returns:
- The commitTime.
-
setCommitTime
The timestamp in which the change was committed.
.google.protobuf.Timestamp commit_time = 1; -
setCommitTime
public DataChangeRecord.Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp in which the change was committed.
.google.protobuf.Timestamp commit_time = 1; -
mergeCommitTime
The timestamp in which the change was committed.
.google.protobuf.Timestamp commit_time = 1; -
clearCommitTime
The timestamp in which the change was committed.
.google.protobuf.Timestamp commit_time = 1; -
getCommitTimeBuilder
public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder()The timestamp in which the change was committed.
.google.protobuf.Timestamp commit_time = 1; -
getCommitTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder()The timestamp in which the change was committed.
.google.protobuf.Timestamp commit_time = 1;- Specified by:
getCommitTimeOrBuilderin interfaceDataChangeRecordOrBuilder
-
getRecordSequence
The sequence number for the record within the transaction.
string record_sequence = 2;- Specified by:
getRecordSequencein interfaceDataChangeRecordOrBuilder- Returns:
- The recordSequence.
-
getRecordSequenceBytes
public com.google.protobuf.ByteString getRecordSequenceBytes()The sequence number for the record within the transaction.
string record_sequence = 2;- Specified by:
getRecordSequenceBytesin interfaceDataChangeRecordOrBuilder- Returns:
- The bytes for recordSequence.
-
setRecordSequence
The sequence number for the record within the transaction.
string record_sequence = 2;- Parameters:
value- The recordSequence to set.- Returns:
- This builder for chaining.
-
clearRecordSequence
The sequence number for the record within the transaction.
string record_sequence = 2;- Returns:
- This builder for chaining.
-
setRecordSequenceBytes
The sequence number for the record within the transaction.
string record_sequence = 2;- Parameters:
value- The bytes for recordSequence to set.- Returns:
- This builder for chaining.
-
getTransactionId
A globally unique string that represents the transaction in which the change was committed.
string transaction_id = 3;- Specified by:
getTransactionIdin interfaceDataChangeRecordOrBuilder- Returns:
- The transactionId.
-
getTransactionIdBytes
public com.google.protobuf.ByteString getTransactionIdBytes()A globally unique string that represents the transaction in which the change was committed.
string transaction_id = 3;- Specified by:
getTransactionIdBytesin interfaceDataChangeRecordOrBuilder- Returns:
- The bytes for transactionId.
-
setTransactionId
A globally unique string that represents the transaction in which the change was committed.
string transaction_id = 3;- Parameters:
value- The transactionId to set.- Returns:
- This builder for chaining.
-
clearTransactionId
A globally unique string that represents the transaction in which the change was committed.
string transaction_id = 3;- Returns:
- This builder for chaining.
-
setTransactionIdBytes
A globally unique string that represents the transaction in which the change was committed.
string transaction_id = 3;- Parameters:
value- The bytes for transactionId to set.- Returns:
- This builder for chaining.
-
getIsLastRecord
public boolean getIsLastRecord()Indicates whether this is the last record for a transaction in the current partition.
bool is_last_record = 4;- Specified by:
getIsLastRecordin interfaceDataChangeRecordOrBuilder- Returns:
- The isLastRecord.
-
setIsLastRecord
Indicates whether this is the last record for a transaction in the current partition.
bool is_last_record = 4;- Parameters:
value- The isLastRecord to set.- Returns:
- This builder for chaining.
-
clearIsLastRecord
Indicates whether this is the last record for a transaction in the current partition.
bool is_last_record = 4;- Returns:
- This builder for chaining.
-
getTable
Name of the table affected by the change.
string table = 5;- Specified by:
getTablein interfaceDataChangeRecordOrBuilder- Returns:
- The table.
-
getTableBytes
public com.google.protobuf.ByteString getTableBytes()Name of the table affected by the change.
string table = 5;- Specified by:
getTableBytesin interfaceDataChangeRecordOrBuilder- Returns:
- The bytes for table.
-
setTable
Name of the table affected by the change.
string table = 5;- Parameters:
value- The table to set.- Returns:
- This builder for chaining.
-
clearTable
Name of the table affected by the change.
string table = 5;- Returns:
- This builder for chaining.
-
setTableBytes
Name of the table affected by the change.
string table = 5;- Parameters:
value- The bytes for table to set.- Returns:
- This builder for chaining.
-
getColumnTypesList
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;- Specified by:
getColumnTypesListin interfaceDataChangeRecordOrBuilder
-
getColumnTypesCount
public int getColumnTypesCount()Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;- Specified by:
getColumnTypesCountin interfaceDataChangeRecordOrBuilder
-
getColumnTypes
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;- Specified by:
getColumnTypesin interfaceDataChangeRecordOrBuilder
-
setColumnTypes
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
setColumnTypes
public DataChangeRecord.Builder setColumnTypes(int index, DataChangeRecord.ColumnType.Builder builderForValue) Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
addColumnTypes
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
addColumnTypes
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
addColumnTypes
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
addColumnTypes
public DataChangeRecord.Builder addColumnTypes(int index, DataChangeRecord.ColumnType.Builder builderForValue) Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
addAllColumnTypes
public DataChangeRecord.Builder addAllColumnTypes(Iterable<? extends DataChangeRecord.ColumnType> values) Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
clearColumnTypes
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
removeColumnTypes
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
getColumnTypesBuilder
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
getColumnTypesOrBuilder
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;- Specified by:
getColumnTypesOrBuilderin interfaceDataChangeRecordOrBuilder
-
getColumnTypesOrBuilderList
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;- Specified by:
getColumnTypesOrBuilderListin interfaceDataChangeRecordOrBuilder
-
addColumnTypesBuilder
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
addColumnTypesBuilder
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
getColumnTypesBuilderList
Column types defined in the schema.
repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; -
getModsList
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;- Specified by:
getModsListin interfaceDataChangeRecordOrBuilder
-
getModsCount
public int getModsCount()Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;- Specified by:
getModsCountin interfaceDataChangeRecordOrBuilder
-
getMods
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;- Specified by:
getModsin interfaceDataChangeRecordOrBuilder
-
setMods
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
setMods
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
addMods
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
addMods
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
addMods
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
addMods
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
addAllMods
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
clearMods
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
removeMods
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
getModsBuilder
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
getModsOrBuilder
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;- Specified by:
getModsOrBuilderin interfaceDataChangeRecordOrBuilder
-
getModsOrBuilderList
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;- Specified by:
getModsOrBuilderListin interfaceDataChangeRecordOrBuilder
-
addModsBuilder
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
addModsBuilder
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
getModsBuilderList
Changes made in the transaction.
repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; -
getModType
Describes the type of change. One of INSERT, UPDATE or DELETE.
string mod_type = 8;- Specified by:
getModTypein interfaceDataChangeRecordOrBuilder- Returns:
- The modType.
-
getModTypeBytes
public com.google.protobuf.ByteString getModTypeBytes()Describes the type of change. One of INSERT, UPDATE or DELETE.
string mod_type = 8;- Specified by:
getModTypeBytesin interfaceDataChangeRecordOrBuilder- Returns:
- The bytes for modType.
-
setModType
Describes the type of change. One of INSERT, UPDATE or DELETE.
string mod_type = 8;- Parameters:
value- The modType to set.- Returns:
- This builder for chaining.
-
clearModType
Describes the type of change. One of INSERT, UPDATE or DELETE.
string mod_type = 8;- Returns:
- This builder for chaining.
-
setModTypeBytes
Describes the type of change. One of INSERT, UPDATE or DELETE.
string mod_type = 8;- Parameters:
value- The bytes for modType to set.- Returns:
- This builder for chaining.
-
getValueCaptureType
One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
string value_capture_type = 9;- Specified by:
getValueCaptureTypein interfaceDataChangeRecordOrBuilder- Returns:
- The valueCaptureType.
-
getValueCaptureTypeBytes
public com.google.protobuf.ByteString getValueCaptureTypeBytes()One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
string value_capture_type = 9;- Specified by:
getValueCaptureTypeBytesin interfaceDataChangeRecordOrBuilder- Returns:
- The bytes for valueCaptureType.
-
setValueCaptureType
One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
string value_capture_type = 9;- Parameters:
value- The valueCaptureType to set.- Returns:
- This builder for chaining.
-
clearValueCaptureType
One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
string value_capture_type = 9;- Returns:
- This builder for chaining.
-
setValueCaptureTypeBytes
One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
string value_capture_type = 9;- Parameters:
value- The bytes for valueCaptureType to set.- Returns:
- This builder for chaining.
-
getRecordCount
public long getRecordCount()Number of records in transactions.
int64 record_count = 10;- Specified by:
getRecordCountin interfaceDataChangeRecordOrBuilder- Returns:
- The recordCount.
-
setRecordCount
Number of records in transactions.
int64 record_count = 10;- Parameters:
value- The recordCount to set.- Returns:
- This builder for chaining.
-
clearRecordCount
Number of records in transactions.
int64 record_count = 10;- Returns:
- This builder for chaining.
-
getPartitionCount
public long getPartitionCount()Number of partitions in transactions.
int64 partition_count = 11;- Specified by:
getPartitionCountin interfaceDataChangeRecordOrBuilder- Returns:
- The partitionCount.
-
setPartitionCount
Number of partitions in transactions.
int64 partition_count = 11;- Parameters:
value- The partitionCount to set.- Returns:
- This builder for chaining.
-
clearPartitionCount
Number of partitions in transactions.
int64 partition_count = 11;- Returns:
- This builder for chaining.
-
getTransactionTag
Transaction tag info.
string transaction_tag = 12;- Specified by:
getTransactionTagin interfaceDataChangeRecordOrBuilder- Returns:
- The transactionTag.
-
getTransactionTagBytes
public com.google.protobuf.ByteString getTransactionTagBytes()Transaction tag info.
string transaction_tag = 12;- Specified by:
getTransactionTagBytesin interfaceDataChangeRecordOrBuilder- Returns:
- The bytes for transactionTag.
-
setTransactionTag
Transaction tag info.
string transaction_tag = 12;- Parameters:
value- The transactionTag to set.- Returns:
- This builder for chaining.
-
clearTransactionTag
Transaction tag info.
string transaction_tag = 12;- Returns:
- This builder for chaining.
-
setTransactionTagBytes
Transaction tag info.
string transaction_tag = 12;- Parameters:
value- The bytes for transactionTag to set.- Returns:
- This builder for chaining.
-
getIsSystemTransaction
public boolean getIsSystemTransaction()Whether the transaction is a system transactionn.
bool is_system_transaction = 13;- Specified by:
getIsSystemTransactionin interfaceDataChangeRecordOrBuilder- Returns:
- The isSystemTransaction.
-
setIsSystemTransaction
Whether the transaction is a system transactionn.
bool is_system_transaction = 13;- Parameters:
value- The isSystemTransaction to set.- Returns:
- This builder for chaining.
-
clearIsSystemTransaction
Whether the transaction is a system transactionn.
bool is_system_transaction = 13;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DataChangeRecord.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-
mergeUnknownFields
public final DataChangeRecord.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
-