public interface ReadOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
ReadOptions.ConsistencyTypeCase |
getConsistencyTypeCase() |
TransactionOptions |
getNewTransaction()
Options for beginning a new transaction for this request.
|
TransactionOptionsOrBuilder |
getNewTransactionOrBuilder()
Options for beginning a new transaction for this request.
|
ReadOptions.ReadConsistency |
getReadConsistency()
The non-transactional read consistency to use.
|
int |
getReadConsistencyValue()
The non-transactional read consistency to use.
|
com.google.protobuf.Timestamp |
getReadTime()
Reads entities as they were at the given time.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Reads entities as they were at the given time.
|
com.google.protobuf.ByteString |
getTransaction()
The identifier of the transaction in which to read.
|
boolean |
hasNewTransaction()
Options for beginning a new transaction for this request.
|
boolean |
hasReadConsistency()
The non-transactional read consistency to use.
|
boolean |
hasReadTime()
Reads entities as they were at the given time.
|
boolean |
hasTransaction()
The identifier of the transaction in which to read.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasReadConsistency()
The non-transactional read consistency to use.
.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;
int getReadConsistencyValue()
The non-transactional read consistency to use.
.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;
ReadOptions.ReadConsistency getReadConsistency()
The non-transactional read consistency to use.
.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;
boolean hasTransaction()
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;
com.google.protobuf.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;
boolean hasNewTransaction()
Options for beginning a new transaction for this request. The new transaction identifier will be returned in the corresponding response as either [LookupResponse.transaction][google.datastore.v1.LookupResponse.transaction] or [RunQueryResponse.transaction][google.datastore.v1.RunQueryResponse.transaction].
.google.datastore.v1.TransactionOptions new_transaction = 3;
TransactionOptions getNewTransaction()
Options for beginning a new transaction for this request. The new transaction identifier will be returned in the corresponding response as either [LookupResponse.transaction][google.datastore.v1.LookupResponse.transaction] or [RunQueryResponse.transaction][google.datastore.v1.RunQueryResponse.transaction].
.google.datastore.v1.TransactionOptions new_transaction = 3;
TransactionOptionsOrBuilder getNewTransactionOrBuilder()
Options for beginning a new transaction for this request. The new transaction identifier will be returned in the corresponding response as either [LookupResponse.transaction][google.datastore.v1.LookupResponse.transaction] or [RunQueryResponse.transaction][google.datastore.v1.RunQueryResponse.transaction].
.google.datastore.v1.TransactionOptions new_transaction = 3;
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;
com.google.protobuf.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;
com.google.protobuf.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;
ReadOptions.ConsistencyTypeCase getConsistencyTypeCase()
Copyright © 2023 Google LLC. All rights reserved.