public enum TransactionOptions.ConcurrencyMode extends Enum<TransactionOptions.ConcurrencyMode> implements ProtocolMessageEnumThe type of concurrency control mode for transactions.
Protobuf enum google.firestore.v1.TransactionOptions.ConcurrencyMode
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
CONCURRENCY_MODE_UNSPECIFIED |
Start the transaction with the database-level default concurrency mode. |
CONCURRENCY_MODE_UNSPECIFIED_VALUE |
Start the transaction with the database-level default concurrency mode. |
OPTIMISTIC |
Use optimistic concurrency control for the new transaction. |
OPTIMISTIC_VALUE |
Use optimistic concurrency control for the new transaction. |
PESSIMISTIC |
Use pessimistic concurrency control for the new transaction. |
PESSIMISTIC_VALUE |
Use pessimistic concurrency control for the new transaction. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|