public interface TransactionOptionsOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
TransactionOptions.ModeCase |
getModeCase() |
TransactionOptions.ReadOnly |
getReadOnly()
The transaction should only allow reads.
|
TransactionOptions.ReadOnlyOrBuilder |
getReadOnlyOrBuilder()
The transaction should only allow reads.
|
TransactionOptions.ReadWrite |
getReadWrite()
The transaction should allow both reads and writes.
|
TransactionOptions.ReadWriteOrBuilder |
getReadWriteOrBuilder()
The transaction should allow both reads and writes.
|
boolean |
hasReadOnly()
The transaction should only allow reads.
|
boolean |
hasReadWrite()
The transaction should allow both reads and writes.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasReadWrite()
The transaction should allow both reads and writes.
.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;
TransactionOptions.ReadWrite getReadWrite()
The transaction should allow both reads and writes.
.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;
TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder()
The transaction should allow both reads and writes.
.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;
boolean hasReadOnly()
The transaction should only allow reads.
.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;
TransactionOptions.ReadOnly getReadOnly()
The transaction should only allow reads.
.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;
TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder()
The transaction should only allow reads.
.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;
TransactionOptions.ModeCase getModeCase()