public interface TransactionOptionsOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
TransactionOptions.ModeCase |
getModeCase() |
TransactionOptions.ReadOnly |
getReadOnly()
The transaction can only be used for read operations.
|
TransactionOptions.ReadOnlyOrBuilder |
getReadOnlyOrBuilder()
The transaction can only be used for read operations.
|
TransactionOptions.ReadWrite |
getReadWrite()
The transaction can be used for both read and write operations.
|
TransactionOptions.ReadWriteOrBuilder |
getReadWriteOrBuilder()
The transaction can be used for both read and write operations.
|
boolean |
hasReadOnly()
The transaction can only be used for read operations.
|
boolean |
hasReadWrite()
The transaction can be used for both read and write operations.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasReadOnly()
The transaction can only be used for read operations.
.google.firestore.v1beta1.TransactionOptions.ReadOnly read_only = 2;
TransactionOptions.ReadOnly getReadOnly()
The transaction can only be used for read operations.
.google.firestore.v1beta1.TransactionOptions.ReadOnly read_only = 2;
TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder()
The transaction can only be used for read operations.
.google.firestore.v1beta1.TransactionOptions.ReadOnly read_only = 2;
boolean hasReadWrite()
The transaction can be used for both read and write operations.
.google.firestore.v1beta1.TransactionOptions.ReadWrite read_write = 3;
TransactionOptions.ReadWrite getReadWrite()
The transaction can be used for both read and write operations.
.google.firestore.v1beta1.TransactionOptions.ReadWrite read_write = 3;
TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder()
The transaction can be used for both read and write operations.
.google.firestore.v1beta1.TransactionOptions.ReadWrite read_write = 3;
TransactionOptions.ModeCase getModeCase()