public interface ReadOptionsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getConsistencyTypeCase()
public abstract ReadOptions.ConsistencyTypeCase getConsistencyTypeCase()
Type | Description |
ReadOptions.ConsistencyTypeCase |
getReadConsistency()
public abstract ReadOptions.ReadConsistency getReadConsistency()
The non-transactional read consistency to use.
.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;
Type | Description |
ReadOptions.ReadConsistency | The readConsistency. |
getReadConsistencyValue()
public abstract int getReadConsistencyValue()
The non-transactional read consistency to use.
.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;
Type | Description |
int | The enum numeric value on the wire for readConsistency. |
getReadTime()
public abstract Timestamp getReadTime()
Reads entities as they were at the given time. This may not be older than 270 seconds. This value is only supported for Cloud Firestore in Datastore mode.
.google.protobuf.Timestamp read_time = 4;
Type | Description |
Timestamp | The readTime. |
getReadTimeOrBuilder()
public abstract TimestampOrBuilder getReadTimeOrBuilder()
Reads entities as they were at the given time. This may not be older than 270 seconds. This value is only supported for Cloud Firestore in Datastore mode.
.google.protobuf.Timestamp read_time = 4;
Type | Description |
TimestampOrBuilder |
getTransaction()
public abstract ByteString getTransaction()
The identifier of the transaction in which to read. A transaction identifier is returned by a call to Datastore.BeginTransaction.
bytes transaction = 2;
Type | Description |
ByteString | The transaction. |
hasReadConsistency()
public abstract boolean hasReadConsistency()
The non-transactional read consistency to use.
.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;
Type | Description |
boolean | Whether the readConsistency field is set. |
hasReadTime()
public abstract boolean hasReadTime()
Reads entities as they were at the given time. This may not be older than 270 seconds. This value is only supported for Cloud Firestore in Datastore mode.
.google.protobuf.Timestamp read_time = 4;
Type | Description |
boolean | Whether the readTime field is set. |
hasTransaction()
public abstract boolean hasTransaction()
The identifier of the transaction in which to read. A transaction identifier is returned by a call to Datastore.BeginTransaction.
bytes transaction = 2;
Type | Description |
boolean | Whether the transaction field is set. |