Interface ChangeStreamRecord.PartitionEndRecordOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ChangeStreamRecord.PartitionEndRecord, ChangeStreamRecord.PartitionEndRecord.Builder
Enclosing class:
ChangeStreamRecord

public static interface ChangeStreamRecord.PartitionEndRecordOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    End timestamp at which the change stream partition is terminated.
    com.google.protobuf.TimestampOrBuilder
    End timestamp at which the change stream partition is terminated.
    Unique partition identifier describing the terminated change stream partition.
    com.google.protobuf.ByteString
    Unique partition identifier describing the terminated change stream partition.
    Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition.
    com.google.protobuf.ByteString
    Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition.
    boolean
    End timestamp at which the change stream partition is terminated.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasEndTimestamp

      boolean hasEndTimestamp()
       End timestamp at which the change stream partition is terminated. All
       changes generated by this partition will have timestamps <=
       end_timestamp. DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition. PartitionEndRecord is the last record returned for a
       partition.
       
      .google.protobuf.Timestamp end_timestamp = 1;
      Returns:
      Whether the endTimestamp field is set.
    • getEndTimestamp

      com.google.protobuf.Timestamp getEndTimestamp()
       End timestamp at which the change stream partition is terminated. All
       changes generated by this partition will have timestamps <=
       end_timestamp. DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition. PartitionEndRecord is the last record returned for a
       partition.
       
      .google.protobuf.Timestamp end_timestamp = 1;
      Returns:
      The endTimestamp.
    • getEndTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getEndTimestampOrBuilder()
       End timestamp at which the change stream partition is terminated. All
       changes generated by this partition will have timestamps <=
       end_timestamp. DataChangeRecord.commit_timestamps,
       PartitionStartRecord.start_timestamps,
       PartitionEventRecord.commit_timestamps, and
       PartitionEndRecord.end_timestamps can have the same value in the same
       partition. PartitionEndRecord is the last record returned for a
       partition.
       
      .google.protobuf.Timestamp end_timestamp = 1;
    • getRecordSequence

      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;
      Returns:
      The recordSequence.
    • getRecordSequenceBytes

      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;
      Returns:
      The bytes for recordSequence.
    • getPartitionToken

      String getPartitionToken()
       Unique partition identifier describing the terminated change stream
       partition.
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEndRecord.partition_token]
       is equal to the partition token of the change stream partition currently
       queried to return this PartitionEndRecord.
       
      string partition_token = 3;
      Returns:
      The partitionToken.
    • getPartitionTokenBytes

      com.google.protobuf.ByteString getPartitionTokenBytes()
       Unique partition identifier describing the terminated change stream
       partition.
       [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEndRecord.partition_token]
       is equal to the partition token of the change stream partition currently
       queried to return this PartitionEndRecord.
       
      string partition_token = 3;
      Returns:
      The bytes for partitionToken.