Class ChangeStreamRecord.DataChangeRecord.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.DataChangeRecord.Builder>
com.google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ChangeStreamRecord.DataChangeRecordOrBuilder, Cloneable
Enclosing class:
ChangeStreamRecord.DataChangeRecord

public static final class ChangeStreamRecord.DataChangeRecord.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.DataChangeRecord.Builder> implements ChangeStreamRecord.DataChangeRecordOrBuilder
 A data change record contains a set of changes to a table with the same
 modification type (insert, update, or delete) committed at the same commit
 timestamp in one change stream partition for the same transaction. Multiple
 data change records can be returned for the same transaction across
 multiple change stream partitions.
 
Protobuf type google.spanner.v1.ChangeStreamRecord.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<ChangeStreamRecord.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<ChangeStreamRecord.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<ChangeStreamRecord.DataChangeRecord.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ChangeStreamRecord.DataChangeRecord buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<ChangeStreamRecord.DataChangeRecord.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.DataChangeRecord.Builder>
    • mergeFrom

      public ChangeStreamRecord.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<ChangeStreamRecord.DataChangeRecord.Builder>
      Throws:
      IOException
    • hasCommitTimestamp

      public boolean hasCommitTimestamp()
       Indicates the timestamp in which the change was committed.
       DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition.
       
      .google.protobuf.Timestamp commit_timestamp = 1;
      Specified by:
      hasCommitTimestamp in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      Whether the commitTimestamp field is set.
    • getCommitTimestamp

      public com.google.protobuf.Timestamp getCommitTimestamp()
       Indicates the timestamp in which the change was committed.
       DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition.
       
      .google.protobuf.Timestamp commit_timestamp = 1;
      Specified by:
      getCommitTimestamp in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The commitTimestamp.
    • setCommitTimestamp

      public ChangeStreamRecord.DataChangeRecord.Builder setCommitTimestamp(com.google.protobuf.Timestamp value)
       Indicates the timestamp in which the change was committed.
       DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition.
       
      .google.protobuf.Timestamp commit_timestamp = 1;
    • setCommitTimestamp

      public ChangeStreamRecord.DataChangeRecord.Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
       Indicates the timestamp in which the change was committed.
       DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition.
       
      .google.protobuf.Timestamp commit_timestamp = 1;
    • mergeCommitTimestamp

      public ChangeStreamRecord.DataChangeRecord.Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value)
       Indicates the timestamp in which the change was committed.
       DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition.
       
      .google.protobuf.Timestamp commit_timestamp = 1;
    • clearCommitTimestamp

      public ChangeStreamRecord.DataChangeRecord.Builder clearCommitTimestamp()
       Indicates the timestamp in which the change was committed.
       DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition.
       
      .google.protobuf.Timestamp commit_timestamp = 1;
    • getCommitTimestampBuilder

      public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder()
       Indicates the timestamp in which the change was committed.
       DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition.
       
      .google.protobuf.Timestamp commit_timestamp = 1;
    • getCommitTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder()
       Indicates the timestamp in which the change was committed.
       DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition.
       
      .google.protobuf.Timestamp commit_timestamp = 1;
      Specified by:
      getCommitTimestampOrBuilder in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • getRecordSequence

      public String getRecordSequence()
       Record sequence numbers are unique and monotonically increasing (but not
       necessarily contiguous) for a specific timestamp across record
       types in the same partition. To guarantee ordered processing, the reader
       should process records (of potentially different types) in
       record_sequence order for a specific timestamp in the same partition.
      
       The record sequence number ordering across partitions is only meaningful
       in the context of a specific transaction. Record sequence numbers are
       unique across partitions for a specific transaction. Sort the
       DataChangeRecords for the same
       [server_transaction_id][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.server_transaction_id]
       by
       [record_sequence][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.record_sequence]
       to reconstruct the ordering of the changes within the transaction.
       
      string record_sequence = 2;
      Specified by:
      getRecordSequence in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The recordSequence.
    • getRecordSequenceBytes

      public com.google.protobuf.ByteString getRecordSequenceBytes()
       Record sequence numbers are unique and monotonically increasing (but not
       necessarily contiguous) for a specific timestamp across record
       types in the same partition. To guarantee ordered processing, the reader
       should process records (of potentially different types) in
       record_sequence order for a specific timestamp in the same partition.
      
       The record sequence number ordering across partitions is only meaningful
       in the context of a specific transaction. Record sequence numbers are
       unique across partitions for a specific transaction. Sort the
       DataChangeRecords for the same
       [server_transaction_id][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.server_transaction_id]
       by
       [record_sequence][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.record_sequence]
       to reconstruct the ordering of the changes within the transaction.
       
      string record_sequence = 2;
      Specified by:
      getRecordSequenceBytes in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The bytes for recordSequence.
    • setRecordSequence

      public ChangeStreamRecord.DataChangeRecord.Builder setRecordSequence(String value)
       Record sequence numbers are unique and monotonically increasing (but not
       necessarily contiguous) for a specific timestamp across record
       types in the same partition. To guarantee ordered processing, the reader
       should process records (of potentially different types) in
       record_sequence order for a specific timestamp in the same partition.
      
       The record sequence number ordering across partitions is only meaningful
       in the context of a specific transaction. Record sequence numbers are
       unique across partitions for a specific transaction. Sort the
       DataChangeRecords for the same
       [server_transaction_id][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.server_transaction_id]
       by
       [record_sequence][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.record_sequence]
       to reconstruct the ordering of the changes within the transaction.
       
      string record_sequence = 2;
      Parameters:
      value - The recordSequence to set.
      Returns:
      This builder for chaining.
    • clearRecordSequence

      public ChangeStreamRecord.DataChangeRecord.Builder clearRecordSequence()
       Record sequence numbers are unique and monotonically increasing (but not
       necessarily contiguous) for a specific timestamp across record
       types in the same partition. To guarantee ordered processing, the reader
       should process records (of potentially different types) in
       record_sequence order for a specific timestamp in the same partition.
      
       The record sequence number ordering across partitions is only meaningful
       in the context of a specific transaction. Record sequence numbers are
       unique across partitions for a specific transaction. Sort the
       DataChangeRecords for the same
       [server_transaction_id][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.server_transaction_id]
       by
       [record_sequence][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.record_sequence]
       to reconstruct the ordering of the changes within the transaction.
       
      string record_sequence = 2;
      Returns:
      This builder for chaining.
    • setRecordSequenceBytes

      public ChangeStreamRecord.DataChangeRecord.Builder setRecordSequenceBytes(com.google.protobuf.ByteString value)
       Record sequence numbers are unique and monotonically increasing (but not
       necessarily contiguous) for a specific timestamp across record
       types in the same partition. To guarantee ordered processing, the reader
       should process records (of potentially different types) in
       record_sequence order for a specific timestamp in the same partition.
      
       The record sequence number ordering across partitions is only meaningful
       in the context of a specific transaction. Record sequence numbers are
       unique across partitions for a specific transaction. Sort the
       DataChangeRecords for the same
       [server_transaction_id][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.server_transaction_id]
       by
       [record_sequence][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.record_sequence]
       to reconstruct the ordering of the changes within the transaction.
       
      string record_sequence = 2;
      Parameters:
      value - The bytes for recordSequence to set.
      Returns:
      This builder for chaining.
    • getServerTransactionId

      public String getServerTransactionId()
       Provides a globally unique string that represents the transaction in
       which the change was committed. Multiple transactions can have the same
       commit timestamp, but each transaction has a unique
       server_transaction_id.
       
      string server_transaction_id = 3;
      Specified by:
      getServerTransactionId in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The serverTransactionId.
    • getServerTransactionIdBytes

      public com.google.protobuf.ByteString getServerTransactionIdBytes()
       Provides a globally unique string that represents the transaction in
       which the change was committed. Multiple transactions can have the same
       commit timestamp, but each transaction has a unique
       server_transaction_id.
       
      string server_transaction_id = 3;
      Specified by:
      getServerTransactionIdBytes in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The bytes for serverTransactionId.
    • setServerTransactionId

      public ChangeStreamRecord.DataChangeRecord.Builder setServerTransactionId(String value)
       Provides a globally unique string that represents the transaction in
       which the change was committed. Multiple transactions can have the same
       commit timestamp, but each transaction has a unique
       server_transaction_id.
       
      string server_transaction_id = 3;
      Parameters:
      value - The serverTransactionId to set.
      Returns:
      This builder for chaining.
    • clearServerTransactionId

      public ChangeStreamRecord.DataChangeRecord.Builder clearServerTransactionId()
       Provides a globally unique string that represents the transaction in
       which the change was committed. Multiple transactions can have the same
       commit timestamp, but each transaction has a unique
       server_transaction_id.
       
      string server_transaction_id = 3;
      Returns:
      This builder for chaining.
    • setServerTransactionIdBytes

      public ChangeStreamRecord.DataChangeRecord.Builder setServerTransactionIdBytes(com.google.protobuf.ByteString value)
       Provides a globally unique string that represents the transaction in
       which the change was committed. Multiple transactions can have the same
       commit timestamp, but each transaction has a unique
       server_transaction_id.
       
      string server_transaction_id = 3;
      Parameters:
      value - The bytes for serverTransactionId to set.
      Returns:
      This builder for chaining.
    • getIsLastRecordInTransactionInPartition

      public boolean getIsLastRecordInTransactionInPartition()
       Indicates whether this is the last record for a transaction in the
        current partition. Clients can use this field to determine when all
        records for a transaction in the current partition have been received.
       
      bool is_last_record_in_transaction_in_partition = 4;
      Specified by:
      getIsLastRecordInTransactionInPartition in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The isLastRecordInTransactionInPartition.
    • setIsLastRecordInTransactionInPartition

      public ChangeStreamRecord.DataChangeRecord.Builder setIsLastRecordInTransactionInPartition(boolean value)
       Indicates whether this is the last record for a transaction in the
        current partition. Clients can use this field to determine when all
        records for a transaction in the current partition have been received.
       
      bool is_last_record_in_transaction_in_partition = 4;
      Parameters:
      value - The isLastRecordInTransactionInPartition to set.
      Returns:
      This builder for chaining.
    • clearIsLastRecordInTransactionInPartition

      public ChangeStreamRecord.DataChangeRecord.Builder clearIsLastRecordInTransactionInPartition()
       Indicates whether this is the last record for a transaction in the
        current partition. Clients can use this field to determine when all
        records for a transaction in the current partition have been received.
       
      bool is_last_record_in_transaction_in_partition = 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 ChangeStreamRecord.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 ChangeStreamRecord.DataChangeRecordOrBuilder
      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

      public ChangeStreamRecord.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.
    • getColumnMetadataList

       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
      Specified by:
      getColumnMetadataList in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • getColumnMetadataCount

      public int getColumnMetadataCount()
       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
      Specified by:
      getColumnMetadataCount in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • getColumnMetadata

      public ChangeStreamRecord.DataChangeRecord.ColumnMetadata getColumnMetadata(int index)
       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
      Specified by:
      getColumnMetadata in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • setColumnMetadata

       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • setColumnMetadata

       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • addColumnMetadata

       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • addColumnMetadata

       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • addColumnMetadata

       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • addColumnMetadata

       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • addAllColumnMetadata

       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • clearColumnMetadata

      public ChangeStreamRecord.DataChangeRecord.Builder clearColumnMetadata()
       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • removeColumnMetadata

      public ChangeStreamRecord.DataChangeRecord.Builder removeColumnMetadata(int index)
       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • getColumnMetadataBuilder

      public ChangeStreamRecord.DataChangeRecord.ColumnMetadata.Builder getColumnMetadataBuilder(int index)
       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • getColumnMetadataOrBuilder

      public ChangeStreamRecord.DataChangeRecord.ColumnMetadataOrBuilder getColumnMetadataOrBuilder(int index)
       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
      Specified by:
      getColumnMetadataOrBuilder in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • getColumnMetadataOrBuilderList

      public List<? extends ChangeStreamRecord.DataChangeRecord.ColumnMetadataOrBuilder> getColumnMetadataOrBuilderList()
       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
      Specified by:
      getColumnMetadataOrBuilderList in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • addColumnMetadataBuilder

       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • addColumnMetadataBuilder

      public ChangeStreamRecord.DataChangeRecord.ColumnMetadata.Builder addColumnMetadataBuilder(int index)
       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • getColumnMetadataBuilderList

      public List<ChangeStreamRecord.DataChangeRecord.ColumnMetadata.Builder> getColumnMetadataBuilderList()
       Provides metadata describing the columns associated with the
       [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
       below.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata column_metadata = 6;
    • getModsList

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
      Specified by:
      getModsList in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • getModsCount

      public int getModsCount()
       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
      Specified by:
      getModsCount in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • getMods

      public ChangeStreamRecord.DataChangeRecord.Mod getMods(int index)
       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
      Specified by:
      getMods in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • setMods

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • setMods

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • addMods

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • addMods

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • addMods

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • addMods

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • addAllMods

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • clearMods

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • removeMods

      public ChangeStreamRecord.DataChangeRecord.Builder removeMods(int index)
       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • getModsBuilder

      public ChangeStreamRecord.DataChangeRecord.Mod.Builder getModsBuilder(int index)
       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • getModsOrBuilder

      public ChangeStreamRecord.DataChangeRecord.ModOrBuilder getModsOrBuilder(int index)
       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
      Specified by:
      getModsOrBuilder in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • getModsOrBuilderList

      public List<? extends ChangeStreamRecord.DataChangeRecord.ModOrBuilder> getModsOrBuilderList()
       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
      Specified by:
      getModsOrBuilderList in interface ChangeStreamRecord.DataChangeRecordOrBuilder
    • addModsBuilder

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • addModsBuilder

      public ChangeStreamRecord.DataChangeRecord.Mod.Builder addModsBuilder(int index)
       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • getModsBuilderList

       Describes the changes that were made.
       
      repeated .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod mods = 7;
    • getModTypeValue

      public int getModTypeValue()
       Describes the type of change.
       
      .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType mod_type = 8;
      Specified by:
      getModTypeValue in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The enum numeric value on the wire for modType.
    • setModTypeValue

      public ChangeStreamRecord.DataChangeRecord.Builder setModTypeValue(int value)
       Describes the type of change.
       
      .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType mod_type = 8;
      Parameters:
      value - The enum numeric value on the wire for modType to set.
      Returns:
      This builder for chaining.
    • getModType

       Describes the type of change.
       
      .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType mod_type = 8;
      Specified by:
      getModType in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The modType.
    • setModType

       Describes the type of change.
       
      .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType mod_type = 8;
      Parameters:
      value - The modType to set.
      Returns:
      This builder for chaining.
    • clearModType

       Describes the type of change.
       
      .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType mod_type = 8;
      Returns:
      This builder for chaining.
    • getValueCaptureTypeValue

      public int getValueCaptureTypeValue()
       Describes the value capture type that was specified in the change stream
       configuration when this change was captured.
       
      .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType value_capture_type = 9;
      Specified by:
      getValueCaptureTypeValue in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The enum numeric value on the wire for valueCaptureType.
    • setValueCaptureTypeValue

      public ChangeStreamRecord.DataChangeRecord.Builder setValueCaptureTypeValue(int value)
       Describes the value capture type that was specified in the change stream
       configuration when this change was captured.
       
      .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType value_capture_type = 9;
      Parameters:
      value - The enum numeric value on the wire for valueCaptureType to set.
      Returns:
      This builder for chaining.
    • getValueCaptureType

       Describes the value capture type that was specified in the change stream
       configuration when this change was captured.
       
      .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType value_capture_type = 9;
      Specified by:
      getValueCaptureType in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The valueCaptureType.
    • setValueCaptureType

       Describes the value capture type that was specified in the change stream
       configuration when this change was captured.
       
      .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType value_capture_type = 9;
      Parameters:
      value - The valueCaptureType to set.
      Returns:
      This builder for chaining.
    • clearValueCaptureType

      public ChangeStreamRecord.DataChangeRecord.Builder clearValueCaptureType()
       Describes the value capture type that was specified in the change stream
       configuration when this change was captured.
       
      .google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType value_capture_type = 9;
      Returns:
      This builder for chaining.
    • getNumberOfRecordsInTransaction

      public int getNumberOfRecordsInTransaction()
       Indicates the number of data change records that are part of this
       transaction across all change stream partitions. This value can be used
       to assemble all the records associated with a particular transaction.
       
      int32 number_of_records_in_transaction = 10;
      Specified by:
      getNumberOfRecordsInTransaction in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The numberOfRecordsInTransaction.
    • setNumberOfRecordsInTransaction

      public ChangeStreamRecord.DataChangeRecord.Builder setNumberOfRecordsInTransaction(int value)
       Indicates the number of data change records that are part of this
       transaction across all change stream partitions. This value can be used
       to assemble all the records associated with a particular transaction.
       
      int32 number_of_records_in_transaction = 10;
      Parameters:
      value - The numberOfRecordsInTransaction to set.
      Returns:
      This builder for chaining.
    • clearNumberOfRecordsInTransaction

      public ChangeStreamRecord.DataChangeRecord.Builder clearNumberOfRecordsInTransaction()
       Indicates the number of data change records that are part of this
       transaction across all change stream partitions. This value can be used
       to assemble all the records associated with a particular transaction.
       
      int32 number_of_records_in_transaction = 10;
      Returns:
      This builder for chaining.
    • getNumberOfPartitionsInTransaction

      public int getNumberOfPartitionsInTransaction()
       Indicates the number of partitions that return data change records for
       this transaction. This value can be helpful in assembling all records
       associated with a particular transaction.
       
      int32 number_of_partitions_in_transaction = 11;
      Specified by:
      getNumberOfPartitionsInTransaction in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The numberOfPartitionsInTransaction.
    • setNumberOfPartitionsInTransaction

      public ChangeStreamRecord.DataChangeRecord.Builder setNumberOfPartitionsInTransaction(int value)
       Indicates the number of partitions that return data change records for
       this transaction. This value can be helpful in assembling all records
       associated with a particular transaction.
       
      int32 number_of_partitions_in_transaction = 11;
      Parameters:
      value - The numberOfPartitionsInTransaction to set.
      Returns:
      This builder for chaining.
    • clearNumberOfPartitionsInTransaction

      public ChangeStreamRecord.DataChangeRecord.Builder clearNumberOfPartitionsInTransaction()
       Indicates the number of partitions that return data change records for
       this transaction. This value can be helpful in assembling all records
       associated with a particular transaction.
       
      int32 number_of_partitions_in_transaction = 11;
      Returns:
      This builder for chaining.
    • getTransactionTag

      public String getTransactionTag()
       Indicates the transaction tag associated with this transaction.
       
      string transaction_tag = 12;
      Specified by:
      getTransactionTag in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The transactionTag.
    • getTransactionTagBytes

      public com.google.protobuf.ByteString getTransactionTagBytes()
       Indicates the transaction tag associated with this transaction.
       
      string transaction_tag = 12;
      Specified by:
      getTransactionTagBytes in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The bytes for transactionTag.
    • setTransactionTag

      public ChangeStreamRecord.DataChangeRecord.Builder setTransactionTag(String value)
       Indicates the transaction tag associated with this transaction.
       
      string transaction_tag = 12;
      Parameters:
      value - The transactionTag to set.
      Returns:
      This builder for chaining.
    • clearTransactionTag

      public ChangeStreamRecord.DataChangeRecord.Builder clearTransactionTag()
       Indicates the transaction tag associated with this transaction.
       
      string transaction_tag = 12;
      Returns:
      This builder for chaining.
    • setTransactionTagBytes

      public ChangeStreamRecord.DataChangeRecord.Builder setTransactionTagBytes(com.google.protobuf.ByteString value)
       Indicates the transaction tag associated with this transaction.
       
      string transaction_tag = 12;
      Parameters:
      value - The bytes for transactionTag to set.
      Returns:
      This builder for chaining.
    • getIsSystemTransaction

      public boolean getIsSystemTransaction()
       Indicates whether the transaction is a system transaction. System
       transactions include those issued by time-to-live (TTL), column backfill,
       etc.
       
      bool is_system_transaction = 13;
      Specified by:
      getIsSystemTransaction in interface ChangeStreamRecord.DataChangeRecordOrBuilder
      Returns:
      The isSystemTransaction.
    • setIsSystemTransaction

      public ChangeStreamRecord.DataChangeRecord.Builder setIsSystemTransaction(boolean value)
       Indicates whether the transaction is a system transaction. System
       transactions include those issued by time-to-live (TTL), column backfill,
       etc.
       
      bool is_system_transaction = 13;
      Parameters:
      value - The isSystemTransaction to set.
      Returns:
      This builder for chaining.
    • clearIsSystemTransaction

      public ChangeStreamRecord.DataChangeRecord.Builder clearIsSystemTransaction()
       Indicates whether the transaction is a system transaction. System
       transactions include those issued by time-to-live (TTL), column backfill,
       etc.
       
      bool is_system_transaction = 13;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ChangeStreamRecord.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<ChangeStreamRecord.DataChangeRecord.Builder>
    • mergeUnknownFields

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