Enum MigrationProgressEvent.ConcurrencyMode (2.20.2)

public enum MigrationProgressEvent.ConcurrencyMode extends Enum<MigrationProgressEvent.ConcurrencyMode> implements ProtocolMessageEnum

Concurrency modes for transactions in Cloud Firestore.

Protobuf enum google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONCURRENCY_MODE_UNSPECIFIED

Unspecified.

CONCURRENCY_MODE_UNSPECIFIED = 0;

CONCURRENCY_MODE_UNSPECIFIED_VALUE

Unspecified.

CONCURRENCY_MODE_UNSPECIFIED = 0;

OPTIMISTIC

Optimistic concurrency.

OPTIMISTIC = 2;

OPTIMISTIC_VALUE

Optimistic concurrency.

OPTIMISTIC = 2;

OPTIMISTIC_WITH_ENTITY_GROUPS

Optimistic concurrency with entity groups.

OPTIMISTIC_WITH_ENTITY_GROUPS = 3;

OPTIMISTIC_WITH_ENTITY_GROUPS_VALUE

Optimistic concurrency with entity groups.

OPTIMISTIC_WITH_ENTITY_GROUPS = 3;

PESSIMISTIC

Pessimistic concurrency.

PESSIMISTIC = 1;

PESSIMISTIC_VALUE

Pessimistic concurrency.

PESSIMISTIC = 1;

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()