Interface TransactionOptions.ReadOnlyOrBuilder (2.18.5)

public static interface TransactionOptions.ReadOnlyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReadTime()

public abstract Timestamp getReadTime()

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
TypeDescription
Timestamp

The readTime.

getReadTimeOrBuilder()

public abstract TimestampOrBuilder getReadTimeOrBuilder()

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
TypeDescription
TimestampOrBuilder

hasReadTime()

public abstract boolean hasReadTime()

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
TypeDescription
boolean

Whether the readTime field is set.