Interface TransactionOptions.ReadOnlyOrBuilder

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

public static interface TransactionOptions.ReadOnlyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.google.protobuf.Timestamp
    Reads documents at the given time.
    com.google.protobuf.TimestampOrBuilder
    Reads documents at the given time.
    boolean
    Reads documents at the given time.

    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

    • hasReadTime

      boolean hasReadTime()
       Reads documents at the given time.
      
       This must be a microsecond precision timestamp within the past one
       hour, or if Point-in-Time Recovery is enabled, can additionally be a
       whole minute timestamp within the past 7 days.
       
      .google.protobuf.Timestamp read_time = 2;
      Returns:
      Whether the readTime field is set.
    • getReadTime

      com.google.protobuf.Timestamp getReadTime()
       Reads documents at the given time.
      
       This must be a microsecond precision timestamp within the past one
       hour, or if Point-in-Time Recovery is enabled, can additionally be a
       whole minute timestamp within the past 7 days.
       
      .google.protobuf.Timestamp read_time = 2;
      Returns:
      The readTime.
    • getReadTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
       Reads documents at the given time.
      
       This must be a microsecond precision timestamp within the past one
       hour, or if Point-in-Time Recovery is enabled, can additionally be a
       whole minute timestamp within the past 7 days.
       
      .google.protobuf.Timestamp read_time = 2;
    • getConsistencySelectorCase