Interface TransactionOptions.ReadOnlyOrBuilder (2.30.0)

publicstaticinterface TransactionOptions.ReadOnlyOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getReadTime()

publicabstractTimestampgetReadTime()

Reads entities 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 = 1;

Returns
Type Description
Timestamp

The readTime.

getReadTimeOrBuilder()

publicabstractTimestampOrBuildergetReadTimeOrBuilder()

Reads entities 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 = 1;

Returns
Type Description
TimestampOrBuilder

hasReadTime()

publicabstractbooleanhasReadTime()

Reads entities 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 = 1;

Returns
Type Description
boolean

Whether the readTime field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.