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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
    • clear

      public DataChangeRecord.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
    • getDefaultInstanceForType

      public DataChangeRecord getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DataChangeRecord build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DataChangeRecord buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public DataChangeRecord.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
    • setField

      public DataChangeRecord.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
    • clearField

      public DataChangeRecord.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
    • clearOneof

      public DataChangeRecord.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
    • setRepeatedField

      public DataChangeRecord.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
    • addRepeatedField

      public DataChangeRecord.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
    • mergeFrom

      public DataChangeRecord.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataChangeRecord.Builder>
    • mergeFrom

      public DataChangeRecord.Builder mergeFrom(DataChangeRecord other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasCommitTime in interface DataChangeRecordOrBuilder
      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:
      getCommitTime in interface DataChangeRecordOrBuilder
      Returns:
      The commitTime.
    • setCommitTime

      public DataChangeRecord.Builder setCommitTime(com.google.protobuf.Timestamp value)
       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

      public DataChangeRecord.Builder mergeCommitTime(com.google.protobuf.Timestamp value)
       The timestamp in which the change was committed.
       
      .google.protobuf.Timestamp commit_time = 1;
    • clearCommitTime

      public DataChangeRecord.Builder 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:
      getCommitTimeOrBuilder in interface DataChangeRecordOrBuilder
    • getRecordSequence

      public String getRecordSequence()
       The sequence number for the record within the transaction.
       
      string record_sequence = 2;
      Specified by:
      getRecordSequence in interface DataChangeRecordOrBuilder
      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:
      getRecordSequenceBytes in interface DataChangeRecordOrBuilder
      Returns:
      The bytes for recordSequence.
    • setRecordSequence

      public DataChangeRecord.Builder setRecordSequence(String value)
       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

      public DataChangeRecord.Builder clearRecordSequence()
       The sequence number for the record within the transaction.
       
      string record_sequence = 2;
      Returns:
      This builder for chaining.
    • setRecordSequenceBytes

      public DataChangeRecord.Builder setRecordSequenceBytes(com.google.protobuf.ByteString value)
       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

      public String getTransactionId()
       A globally unique string that represents the transaction in which the
       change was committed.
       
      string transaction_id = 3;
      Specified by:
      getTransactionId in interface DataChangeRecordOrBuilder
      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:
      getTransactionIdBytes in interface DataChangeRecordOrBuilder
      Returns:
      The bytes for transactionId.
    • setTransactionId

      public DataChangeRecord.Builder setTransactionId(String value)
       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

      public DataChangeRecord.Builder 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

      public DataChangeRecord.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
       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:
      getIsLastRecord in interface DataChangeRecordOrBuilder
      Returns:
      The isLastRecord.
    • setIsLastRecord

      public DataChangeRecord.Builder setIsLastRecord(boolean value)
       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

      public DataChangeRecord.Builder 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

      public String getTable()
       Name of the table affected by the change.
       
      string table = 5;
      Specified by:
      getTable in interface DataChangeRecordOrBuilder
      Returns:
      The table.
    • getTableBytes

      public com.google.protobuf.ByteString getTableBytes()
       Name of the table affected by the change.
       
      string table = 5;
      Specified by:
      getTableBytes in interface DataChangeRecordOrBuilder
      Returns:
      The bytes for table.
    • setTable

      public DataChangeRecord.Builder setTable(String value)
       Name of the table affected by the change.
       
      string table = 5;
      Parameters:
      value - The table to set.
      Returns:
      This builder for chaining.
    • clearTable

      public DataChangeRecord.Builder clearTable()
       Name of the table affected by the change.
       
      string table = 5;
      Returns:
      This builder for chaining.
    • setTableBytes

      public DataChangeRecord.Builder setTableBytes(com.google.protobuf.ByteString value)
       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

      public List<DataChangeRecord.ColumnType> getColumnTypesList()
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
      Specified by:
      getColumnTypesList in interface DataChangeRecordOrBuilder
    • getColumnTypesCount

      public int getColumnTypesCount()
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
      Specified by:
      getColumnTypesCount in interface DataChangeRecordOrBuilder
    • getColumnTypes

      public DataChangeRecord.ColumnType getColumnTypes(int index)
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
      Specified by:
      getColumnTypes in interface DataChangeRecordOrBuilder
    • setColumnTypes

      public DataChangeRecord.Builder setColumnTypes(int index, DataChangeRecord.ColumnType value)
       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

      public DataChangeRecord.Builder addColumnTypes(int index, DataChangeRecord.ColumnType value)
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • addColumnTypes

      public DataChangeRecord.Builder addColumnTypes(DataChangeRecord.ColumnType.Builder builderForValue)
       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

      public DataChangeRecord.Builder clearColumnTypes()
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • removeColumnTypes

      public DataChangeRecord.Builder removeColumnTypes(int index)
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • getColumnTypesBuilder

      public DataChangeRecord.ColumnType.Builder getColumnTypesBuilder(int index)
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • getColumnTypesOrBuilder

      public DataChangeRecord.ColumnTypeOrBuilder getColumnTypesOrBuilder(int index)
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
      Specified by:
      getColumnTypesOrBuilder in interface DataChangeRecordOrBuilder
    • getColumnTypesOrBuilderList

      public List<? extends DataChangeRecord.ColumnTypeOrBuilder> getColumnTypesOrBuilderList()
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
      Specified by:
      getColumnTypesOrBuilderList in interface DataChangeRecordOrBuilder
    • addColumnTypesBuilder

      public DataChangeRecord.ColumnType.Builder addColumnTypesBuilder()
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • addColumnTypesBuilder

      public DataChangeRecord.ColumnType.Builder addColumnTypesBuilder(int index)
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • getColumnTypesBuilderList

      public List<DataChangeRecord.ColumnType.Builder> getColumnTypesBuilderList()
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • getModsList

      public List<DataChangeRecord.Mod> getModsList()
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
      Specified by:
      getModsList in interface DataChangeRecordOrBuilder
    • getModsCount

      public int getModsCount()
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
      Specified by:
      getModsCount in interface DataChangeRecordOrBuilder
    • getMods

      public DataChangeRecord.Mod getMods(int index)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
      Specified by:
      getMods in interface DataChangeRecordOrBuilder
    • setMods

      public DataChangeRecord.Builder setMods(int index, DataChangeRecord.Mod value)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • setMods

      public DataChangeRecord.Builder setMods(int index, DataChangeRecord.Mod.Builder builderForValue)
       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

      public DataChangeRecord.Builder addMods(int index, DataChangeRecord.Mod value)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • addMods

      public DataChangeRecord.Builder addMods(DataChangeRecord.Mod.Builder builderForValue)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • addMods

      public DataChangeRecord.Builder addMods(int index, DataChangeRecord.Mod.Builder builderForValue)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • addAllMods

      public DataChangeRecord.Builder addAllMods(Iterable<? extends DataChangeRecord.Mod> values)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • clearMods

      public DataChangeRecord.Builder clearMods()
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • removeMods

      public DataChangeRecord.Builder removeMods(int index)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • getModsBuilder

      public DataChangeRecord.Mod.Builder getModsBuilder(int index)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • getModsOrBuilder

      public DataChangeRecord.ModOrBuilder getModsOrBuilder(int index)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
      Specified by:
      getModsOrBuilder in interface DataChangeRecordOrBuilder
    • getModsOrBuilderList

      public List<? extends DataChangeRecord.ModOrBuilder> getModsOrBuilderList()
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
      Specified by:
      getModsOrBuilderList in interface DataChangeRecordOrBuilder
    • addModsBuilder

      public DataChangeRecord.Mod.Builder addModsBuilder()
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • addModsBuilder

      public DataChangeRecord.Mod.Builder addModsBuilder(int index)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • getModsBuilderList

      public List<DataChangeRecord.Mod.Builder> getModsBuilderList()
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • getModType

      public String getModType()
       Describes the type of change. One of INSERT, UPDATE or DELETE.
       
      string mod_type = 8;
      Specified by:
      getModType in interface DataChangeRecordOrBuilder
      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:
      getModTypeBytes in interface DataChangeRecordOrBuilder
      Returns:
      The bytes for modType.
    • setModType

      public DataChangeRecord.Builder setModType(String value)
       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

      public DataChangeRecord.Builder clearModType()
       Describes the type of change. One of INSERT, UPDATE or DELETE.
       
      string mod_type = 8;
      Returns:
      This builder for chaining.
    • setModTypeBytes

      public DataChangeRecord.Builder setModTypeBytes(com.google.protobuf.ByteString value)
       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

      public String getValueCaptureType()
       One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
       
      string value_capture_type = 9;
      Specified by:
      getValueCaptureType in interface DataChangeRecordOrBuilder
      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:
      getValueCaptureTypeBytes in interface DataChangeRecordOrBuilder
      Returns:
      The bytes for valueCaptureType.
    • setValueCaptureType

      public DataChangeRecord.Builder setValueCaptureType(String value)
       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

      public DataChangeRecord.Builder 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

      public DataChangeRecord.Builder setValueCaptureTypeBytes(com.google.protobuf.ByteString value)
       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:
      getRecordCount in interface DataChangeRecordOrBuilder
      Returns:
      The recordCount.
    • setRecordCount

      public DataChangeRecord.Builder setRecordCount(long value)
       Number of records in transactions.
       
      int64 record_count = 10;
      Parameters:
      value - The recordCount to set.
      Returns:
      This builder for chaining.
    • clearRecordCount

      public DataChangeRecord.Builder 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:
      getPartitionCount in interface DataChangeRecordOrBuilder
      Returns:
      The partitionCount.
    • setPartitionCount

      public DataChangeRecord.Builder setPartitionCount(long value)
       Number of partitions in transactions.
       
      int64 partition_count = 11;
      Parameters:
      value - The partitionCount to set.
      Returns:
      This builder for chaining.
    • clearPartitionCount

      public DataChangeRecord.Builder clearPartitionCount()
       Number of partitions in transactions.
       
      int64 partition_count = 11;
      Returns:
      This builder for chaining.
    • getTransactionTag

      public String getTransactionTag()
       Transaction tag info.
       
      string transaction_tag = 12;
      Specified by:
      getTransactionTag in interface DataChangeRecordOrBuilder
      Returns:
      The transactionTag.
    • getTransactionTagBytes

      public com.google.protobuf.ByteString getTransactionTagBytes()
       Transaction tag info.
       
      string transaction_tag = 12;
      Specified by:
      getTransactionTagBytes in interface DataChangeRecordOrBuilder
      Returns:
      The bytes for transactionTag.
    • setTransactionTag

      public DataChangeRecord.Builder setTransactionTag(String value)
       Transaction tag info.
       
      string transaction_tag = 12;
      Parameters:
      value - The transactionTag to set.
      Returns:
      This builder for chaining.
    • clearTransactionTag

      public DataChangeRecord.Builder clearTransactionTag()
       Transaction tag info.
       
      string transaction_tag = 12;
      Returns:
      This builder for chaining.
    • setTransactionTagBytes

      public DataChangeRecord.Builder setTransactionTagBytes(com.google.protobuf.ByteString value)
       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:
      getIsSystemTransaction in interface DataChangeRecordOrBuilder
      Returns:
      The isSystemTransaction.
    • setIsSystemTransaction

      public DataChangeRecord.Builder setIsSystemTransaction(boolean value)
       Whether the transaction is a system transactionn.
       
      bool is_system_transaction = 13;
      Parameters:
      value - The isSystemTransaction to set.
      Returns:
      This builder for chaining.
    • clearIsSystemTransaction

      public DataChangeRecord.Builder 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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>
    • mergeUnknownFields

      public final DataChangeRecord.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataChangeRecord.Builder>