public interface TransactionOptionsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getModeCase()
public abstract TransactionOptions.ModeCase getModeCase()
Type | Description |
TransactionOptions.ModeCase |
getReadOnly()
public abstract TransactionOptions.ReadOnly getReadOnly()
The transaction should only allow reads.
.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;
Type | Description |
TransactionOptions.ReadOnly | The readOnly. |
getReadOnlyOrBuilder()
public abstract TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder()
The transaction should only allow reads.
.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;
Type | Description |
TransactionOptions.ReadOnlyOrBuilder |
getReadWrite()
public abstract TransactionOptions.ReadWrite getReadWrite()
The transaction should allow both reads and writes.
.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;
Type | Description |
TransactionOptions.ReadWrite | The readWrite. |
getReadWriteOrBuilder()
public abstract TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder()
The transaction should allow both reads and writes.
.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;
Type | Description |
TransactionOptions.ReadWriteOrBuilder |
hasReadOnly()
public abstract boolean hasReadOnly()
The transaction should only allow reads.
.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;
Type | Description |
boolean | Whether the readOnly field is set. |
hasReadWrite()
public abstract boolean hasReadWrite()
The transaction should allow both reads and writes.
.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;
Type | Description |
boolean | Whether the readWrite field is set. |