public interface ReadOptionsOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
ReadOptions.ConsistencyTypeCase |
getConsistencyTypeCase() |
ReadOptions.ReadConsistency |
getReadConsistency()
The non-transactional read consistency to use.
|
int |
getReadConsistencyValue()
The non-transactional read consistency to use.
|
ByteString |
getTransaction()
The identifier of the transaction in which to read.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getReadConsistencyValue()
The non-transactional read consistency to use. Cannot be set to `STRONG` for global queries.
.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;
ReadOptions.ReadConsistency getReadConsistency()
The non-transactional read consistency to use. Cannot be set to `STRONG` for global queries.
.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;
ByteString getTransaction()
The identifier of the transaction in which to read. A transaction identifier is returned by a call to [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
bytes transaction = 2;
ReadOptions.ConsistencyTypeCase getConsistencyTypeCase()