public static final class TransactionOptions.ReadOnlyOptionsBuilder extends TransactionOptions.Builder<TransactionOptions.ReadOnlyOptionsBuilder>
executor
Modifier and Type | Method and Description |
---|---|
TransactionOptions |
build() |
com.google.protobuf.TimestampOrBuilder |
getReadTime() |
TransactionOptions.ReadOnlyOptionsBuilder |
setReadTime(com.google.protobuf.TimestampOrBuilder readTime)
Specify to read documents at the given time.
|
getExecutor, setExecutor
@Nullable public com.google.protobuf.TimestampOrBuilder getReadTime()
@Nonnull public TransactionOptions.ReadOnlyOptionsBuilder setReadTime(@Nullable com.google.protobuf.TimestampOrBuilder readTime)
readTime
- The specific time to read documents at. Must not be older than 60 minutes. A
null value means read most up to date data.this
builder@Nonnull public TransactionOptions build()
build
in class TransactionOptions.Builder<TransactionOptions.ReadOnlyOptionsBuilder>
TransactionOptions
from the values passed to this builderCopyright © 2023 Google LLC. All rights reserved.