Interface TransactionOptions.ReadOnlyOrBuilder (2.21.3)

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
Type Description
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
Type Description
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
Type Description
boolean

Whether the readTime field is set.