Interface ConcurrencyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Concurrency, Concurrency.Builder

public interface ConcurrencyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates a batch read, must only be set to true, or unset.
    long
    Set only when batch is true.
     
    long
    Indicates a read at a consistent timestamp.
    double
    Indicates a boundedly stale read that is at most N seconds stale.
    long
    Indicates a boundedly stale read that reads at a timestamp >= T.
    boolean
    True if exact_timestamp_micros is set, and the chosen timestamp is that of a snapshot epoch.
    If set, this is a snapshot epoch read constrained to read only the specified log scope root table, and its children.
    com.google.protobuf.ByteString
    If set, this is a snapshot epoch read constrained to read only the specified log scope root table, and its children.
    double
    Indicates a read at a consistent timestamp that is specified relative to now.
    boolean
    Indicates a strong read, must only be set to true, or unset.
    boolean
    Indicates a batch read, must only be set to true, or unset.
    boolean
    Indicates a read at a consistent timestamp.
    boolean
    Indicates a boundedly stale read that is at most N seconds stale.
    boolean
    Indicates a boundedly stale read that reads at a timestamp >= T.
    boolean
    Indicates a read at a consistent timestamp that is specified relative to now.
    boolean
    Indicates a strong read, must only be set to true, or unset.

    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

    • hasStalenessSeconds

      boolean hasStalenessSeconds()
       Indicates a read at a consistent timestamp that is specified relative to
       now. That is, if the caller has specified an exact staleness of s
       seconds, we will read at now - s.
       
      double staleness_seconds = 1;
      Returns:
      Whether the stalenessSeconds field is set.
    • getStalenessSeconds

      double getStalenessSeconds()
       Indicates a read at a consistent timestamp that is specified relative to
       now. That is, if the caller has specified an exact staleness of s
       seconds, we will read at now - s.
       
      double staleness_seconds = 1;
      Returns:
      The stalenessSeconds.
    • hasMinReadTimestampMicros

      boolean hasMinReadTimestampMicros()
       Indicates a boundedly stale read that reads at a timestamp >= T.
       
      int64 min_read_timestamp_micros = 2;
      Returns:
      Whether the minReadTimestampMicros field is set.
    • getMinReadTimestampMicros

      long getMinReadTimestampMicros()
       Indicates a boundedly stale read that reads at a timestamp >= T.
       
      int64 min_read_timestamp_micros = 2;
      Returns:
      The minReadTimestampMicros.
    • hasMaxStalenessSeconds

      boolean hasMaxStalenessSeconds()
       Indicates a boundedly stale read that is at most N seconds stale.
       
      double max_staleness_seconds = 3;
      Returns:
      Whether the maxStalenessSeconds field is set.
    • getMaxStalenessSeconds

      double getMaxStalenessSeconds()
       Indicates a boundedly stale read that is at most N seconds stale.
       
      double max_staleness_seconds = 3;
      Returns:
      The maxStalenessSeconds.
    • hasExactTimestampMicros

      boolean hasExactTimestampMicros()
       Indicates a read at a consistent timestamp.
       
      int64 exact_timestamp_micros = 4;
      Returns:
      Whether the exactTimestampMicros field is set.
    • getExactTimestampMicros

      long getExactTimestampMicros()
       Indicates a read at a consistent timestamp.
       
      int64 exact_timestamp_micros = 4;
      Returns:
      The exactTimestampMicros.
    • hasStrong

      boolean hasStrong()
       Indicates a strong read, must only be set to true, or unset.
       
      bool strong = 5;
      Returns:
      Whether the strong field is set.
    • getStrong

      boolean getStrong()
       Indicates a strong read, must only be set to true, or unset.
       
      bool strong = 5;
      Returns:
      The strong.
    • hasBatch

      boolean hasBatch()
       Indicates a batch read, must only be set to true, or unset.
       
      bool batch = 6;
      Returns:
      Whether the batch field is set.
    • getBatch

      boolean getBatch()
       Indicates a batch read, must only be set to true, or unset.
       
      bool batch = 6;
      Returns:
      The batch.
    • getSnapshotEpochRead

      boolean getSnapshotEpochRead()
       True if exact_timestamp_micros is set, and the chosen timestamp is that of
       a snapshot epoch.
       
      bool snapshot_epoch_read = 7;
      Returns:
      The snapshotEpochRead.
    • getSnapshotEpochRootTable

      String getSnapshotEpochRootTable()
       If set, this is a snapshot epoch read constrained to read only the
       specified log scope root table, and its children. Will not be set for full
       database epochs.
       
      string snapshot_epoch_root_table = 8;
      Returns:
      The snapshotEpochRootTable.
    • getSnapshotEpochRootTableBytes

      com.google.protobuf.ByteString getSnapshotEpochRootTableBytes()
       If set, this is a snapshot epoch read constrained to read only the
       specified log scope root table, and its children. Will not be set for full
       database epochs.
       
      string snapshot_epoch_root_table = 8;
      Returns:
      The bytes for snapshotEpochRootTable.
    • getBatchReadTimestampMicros

      long getBatchReadTimestampMicros()
       Set only when batch is true.
       
      int64 batch_read_timestamp_micros = 9;
      Returns:
      The batchReadTimestampMicros.
    • getConcurrencyModeCase

      Concurrency.ConcurrencyModeCase getConcurrencyModeCase()