Class ChangeStreamRecord.PartitionEventRecord.Builder

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

public static final class ChangeStreamRecord.PartitionEventRecord.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.PartitionEventRecord.Builder> implements ChangeStreamRecord.PartitionEventRecordOrBuilder
 A partition event record describes key range changes for a change stream
 partition. The changes to a row defined by its primary key can be captured
 in one change stream partition for a specific time range, and then be
 captured in a different change stream partition for a different time range.
 This movement of key ranges across change stream partitions is a reflection
 of activities, such as Spanner's dynamic splitting and load balancing, etc.
 Processing this event is needed if users want to guarantee processing of
 the changes for any key in timestamp order. If time ordered processing of
 changes for a primary key is not needed, this event can be ignored.
 To guarantee time ordered processing for each primary key, if the event
 describes move-ins, the reader of this partition needs to wait until the
 readers of the source partitions have processed all records with timestamps
 <= this PartitionEventRecord.commit_timestamp, before advancing beyond this
 PartitionEventRecord. If the event describes move-outs, the reader can
 notify the readers of the destination partitions that they can continue
 processing.
 
Protobuf type google.spanner.v1.ChangeStreamRecord.PartitionEventRecord
  • 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.PartitionEventRecord.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.PartitionEventRecord.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.PartitionEventRecord.Builder>
    • getDefaultInstanceForType

      public ChangeStreamRecord.PartitionEventRecord 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

      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.PartitionEventRecord.Builder>
    • setField

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

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

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

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

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

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

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

      public boolean hasCommitTimestamp()
       Indicates the commit timestamp at which the key range change occurred.
       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.PartitionEventRecordOrBuilder
      Returns:
      Whether the commitTimestamp field is set.
    • getCommitTimestamp

      public com.google.protobuf.Timestamp getCommitTimestamp()
       Indicates the commit timestamp at which the key range change occurred.
       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.PartitionEventRecordOrBuilder
      Returns:
      The commitTimestamp.
    • setCommitTimestamp

      public ChangeStreamRecord.PartitionEventRecord.Builder setCommitTimestamp(com.google.protobuf.Timestamp value)
       Indicates the commit timestamp at which the key range change occurred.
       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.PartitionEventRecord.Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
       Indicates the commit timestamp at which the key range change occurred.
       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.PartitionEventRecord.Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value)
       Indicates the commit timestamp at which the key range change occurred.
       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.PartitionEventRecord.Builder clearCommitTimestamp()
       Indicates the commit timestamp at which the key range change occurred.
       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 commit timestamp at which the key range change occurred.
       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 commit timestamp at which the key range change occurred.
       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.PartitionEventRecordOrBuilder
    • 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.
       
      string record_sequence = 2;
      Specified by:
      getRecordSequence in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
      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.
       
      string record_sequence = 2;
      Specified by:
      getRecordSequenceBytes in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
      Returns:
      The bytes for recordSequence.
    • setRecordSequence

      public ChangeStreamRecord.PartitionEventRecord.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.
       
      string record_sequence = 2;
      Parameters:
      value - The recordSequence to set.
      Returns:
      This builder for chaining.
    • 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.
       
      string record_sequence = 2;
      Returns:
      This builder for chaining.
    • setRecordSequenceBytes

      public ChangeStreamRecord.PartitionEventRecord.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.
       
      string record_sequence = 2;
      Parameters:
      value - The bytes for recordSequence to set.
      Returns:
      This builder for chaining.
    • getPartitionToken

      public String getPartitionToken()
       Unique partition identifier describing the partition this event
       occurred on.
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token]
       is equal to the partition token of the change stream partition currently
       queried to return this PartitionEventRecord.
       
      string partition_token = 3;
      Specified by:
      getPartitionToken in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
      Returns:
      The partitionToken.
    • getPartitionTokenBytes

      public com.google.protobuf.ByteString getPartitionTokenBytes()
       Unique partition identifier describing the partition this event
       occurred on.
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token]
       is equal to the partition token of the change stream partition currently
       queried to return this PartitionEventRecord.
       
      string partition_token = 3;
      Specified by:
      getPartitionTokenBytes in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
      Returns:
      The bytes for partitionToken.
    • setPartitionToken

      public ChangeStreamRecord.PartitionEventRecord.Builder setPartitionToken(String value)
       Unique partition identifier describing the partition this event
       occurred on.
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token]
       is equal to the partition token of the change stream partition currently
       queried to return this PartitionEventRecord.
       
      string partition_token = 3;
      Parameters:
      value - The partitionToken to set.
      Returns:
      This builder for chaining.
    • clearPartitionToken

       Unique partition identifier describing the partition this event
       occurred on.
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token]
       is equal to the partition token of the change stream partition currently
       queried to return this PartitionEventRecord.
       
      string partition_token = 3;
      Returns:
      This builder for chaining.
    • setPartitionTokenBytes

      public ChangeStreamRecord.PartitionEventRecord.Builder setPartitionTokenBytes(com.google.protobuf.ByteString value)
       Unique partition identifier describing the partition this event
       occurred on.
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token]
       is equal to the partition token of the change stream partition currently
       queried to return this PartitionEventRecord.
       
      string partition_token = 3;
      Parameters:
      value - The bytes for partitionToken to set.
      Returns:
      This builder for chaining.
    • getMoveInEventsList

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
      Specified by:
      getMoveInEventsList in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
    • getMoveInEventsCount

      public int getMoveInEventsCount()
       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
      Specified by:
      getMoveInEventsCount in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
    • getMoveInEvents

      public ChangeStreamRecord.PartitionEventRecord.MoveInEvent getMoveInEvents(int index)
       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
      Specified by:
      getMoveInEvents in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
    • setMoveInEvents

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • setMoveInEvents

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • addMoveInEvents

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • addMoveInEvents

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • addMoveInEvents

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • addMoveInEvents

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • addAllMoveInEvents

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • clearMoveInEvents

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • removeMoveInEvents

      public ChangeStreamRecord.PartitionEventRecord.Builder removeMoveInEvents(int index)
       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • getMoveInEventsBuilder

      public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder getMoveInEventsBuilder(int index)
       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • getMoveInEventsOrBuilder

      public ChangeStreamRecord.PartitionEventRecord.MoveInEventOrBuilder getMoveInEventsOrBuilder(int index)
       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
      Specified by:
      getMoveInEventsOrBuilder in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
    • getMoveInEventsOrBuilderList

      public List<? extends ChangeStreamRecord.PartitionEventRecord.MoveInEventOrBuilder> getMoveInEventsOrBuilderList()
       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
      Specified by:
      getMoveInEventsOrBuilderList in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
    • addMoveInEventsBuilder

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • addMoveInEventsBuilder

      public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder addMoveInEventsBuilder(int index)
       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • getMoveInEventsBuilderList

       Set when one or more key ranges are moved into the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved into partition (P1) from partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_in_events {
           source_partition_token: "P2"
         }
         move_in_events {
           source_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_out_events {
           destination_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent move_in_events = 4;
    • getMoveOutEventsList

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
      Specified by:
      getMoveOutEventsList in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
    • getMoveOutEventsCount

      public int getMoveOutEventsCount()
       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
      Specified by:
      getMoveOutEventsCount in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
    • getMoveOutEvents

      public ChangeStreamRecord.PartitionEventRecord.MoveOutEvent getMoveOutEvents(int index)
       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
      Specified by:
      getMoveOutEvents in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
    • setMoveOutEvents

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • setMoveOutEvents

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • addMoveOutEvents

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • addMoveOutEvents

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • addMoveOutEvents

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • addMoveOutEvents

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • addAllMoveOutEvents

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • clearMoveOutEvents

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • removeMoveOutEvents

      public ChangeStreamRecord.PartitionEventRecord.Builder removeMoveOutEvents(int index)
       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • getMoveOutEventsBuilder

      public ChangeStreamRecord.PartitionEventRecord.MoveOutEvent.Builder getMoveOutEventsBuilder(int index)
       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • getMoveOutEventsOrBuilder

      public ChangeStreamRecord.PartitionEventRecord.MoveOutEventOrBuilder getMoveOutEventsOrBuilder(int index)
       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
      Specified by:
      getMoveOutEventsOrBuilder in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
    • getMoveOutEventsOrBuilderList

      public List<? extends ChangeStreamRecord.PartitionEventRecord.MoveOutEventOrBuilder> getMoveOutEventsOrBuilderList()
       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
      Specified by:
      getMoveOutEventsOrBuilderList in interface ChangeStreamRecord.PartitionEventRecordOrBuilder
    • addMoveOutEventsBuilder

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • addMoveOutEventsBuilder

      public ChangeStreamRecord.PartitionEventRecord.MoveOutEvent.Builder addMoveOutEventsBuilder(int index)
       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • getMoveOutEventsBuilderList

       Set when one or more key ranges are moved out of the change stream
       partition identified by
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
      
       Example: Two key ranges are moved out of partition (P1) to partition (P2)
       and partition (P3) in a single transaction at timestamp T.
      
       The PartitionEventRecord returned in P1 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P1"
         move_out_events {
           destination_partition_token: "P2"
         }
         move_out_events {
           destination_partition_token: "P3"
         }
       }
      
       The PartitionEventRecord returned in P2 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P2"
         move_in_events {
           source_partition_token: "P1"
         }
       }
      
       The PartitionEventRecord returned in P3 will reflect the move as:
      
       PartitionEventRecord {
         commit_timestamp: T
         partition_token: "P3"
         move_in_events {
           source_partition_token: "P1"
         }
       }
       
      repeated .google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent move_out_events = 5;
    • setUnknownFields

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

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