Interface ChangeStreamRecord.PartitionStartRecordOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getPartitionTokens(int index)
    Unique partition identifiers to be used in queries.
    com.google.protobuf.ByteString
    Unique partition identifiers to be used in queries.
    int
    Unique partition identifiers to be used in queries.
    Unique partition identifiers to be used in queries.
    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.
    com.google.protobuf.Timestamp
    Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp.
    com.google.protobuf.TimestampOrBuilder
    Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp.
    boolean
    Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp.

    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

    • hasStartTimestamp

      boolean hasStartTimestamp()
       Start timestamp at which the partitions should be queried to return
       change stream records with timestamps >= start_timestamp.
       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 start_timestamp = 1;
      Returns:
      Whether the startTimestamp field is set.
    • getStartTimestamp

      com.google.protobuf.Timestamp getStartTimestamp()
       Start timestamp at which the partitions should be queried to return
       change stream records with timestamps >= start_timestamp.
       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 start_timestamp = 1;
      Returns:
      The startTimestamp.
    • getStartTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getStartTimestampOrBuilder()
       Start timestamp at which the partitions should be queried to return
       change stream records with timestamps >= start_timestamp.
       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 start_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.
    • getPartitionTokensList

      List<String> getPartitionTokensList()
       Unique partition identifiers to be used in queries.
       
      repeated string partition_tokens = 3;
      Returns:
      A list containing the partitionTokens.
    • getPartitionTokensCount

      int getPartitionTokensCount()
       Unique partition identifiers to be used in queries.
       
      repeated string partition_tokens = 3;
      Returns:
      The count of partitionTokens.
    • getPartitionTokens

      String getPartitionTokens(int index)
       Unique partition identifiers to be used in queries.
       
      repeated string partition_tokens = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The partitionTokens at the given index.
    • getPartitionTokensBytes

      com.google.protobuf.ByteString getPartitionTokensBytes(int index)
       Unique partition identifiers to be used in queries.
       
      repeated string partition_tokens = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the partitionTokens at the given index.