Enum MigrationProgressEvent.ConcurrencyMode (2.23.0)

publicenumMigrationProgressEvent.ConcurrencyModeextendsEnum<MigrationProgressEvent.ConcurrencyMode>implementsProtocolMessageEnum

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.