Package com.google.datastore.v1
Interface TransactionOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransactionOptions,TransactionOptions.Builder
public interface TransactionOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactionOptions.ModeCasegetModeCase()TransactionOptions.ReadOnlygetReadOnly()The transaction should only allow reads.TransactionOptions.ReadOnlyOrBuildergetReadOnlyOrBuilder()The transaction should only allow reads.TransactionOptions.ReadWritegetReadWrite()The transaction should allow both reads and writes.TransactionOptions.ReadWriteOrBuildergetReadWriteOrBuilder()The transaction should allow both reads and writes.booleanhasReadOnly()The transaction should only allow reads.booleanhasReadWrite()The transaction should allow both reads and writes.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasReadWrite
boolean hasReadWrite()
The transaction should allow both reads and writes.
.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;- Returns:
- Whether the readWrite field is set.
-
getReadWrite
TransactionOptions.ReadWrite getReadWrite()
The transaction should allow both reads and writes.
.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;- Returns:
- The readWrite.
-
getReadWriteOrBuilder
TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder()
The transaction should allow both reads and writes.
.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;
-
hasReadOnly
boolean hasReadOnly()
The transaction should only allow reads.
.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;- Returns:
- Whether the readOnly field is set.
-
getReadOnly
TransactionOptions.ReadOnly getReadOnly()
The transaction should only allow reads.
.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;- Returns:
- The readOnly.
-
getReadOnlyOrBuilder
TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder()
The transaction should only allow reads.
.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;
-
getModeCase
TransactionOptions.ModeCase getModeCase()
-
-