Google Cloud Datastore Admin V1 Client - Class ConcurrencyMode (0.8.5)

Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class ConcurrencyMode.

Concurrency modes for transactions in Cloud Firestore.

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

Namespace

Google \ Cloud \ Datastore \ Admin \ V1 \ MigrationProgressEvent

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

CONCURRENCY_MODE_UNSPECIFIED

Value: 0

Unspecified.

Generated from protobuf enum CONCURRENCY_MODE_UNSPECIFIED = 0;

PESSIMISTIC

Value: 1

Pessimistic concurrency.

Generated from protobuf enum PESSIMISTIC = 1;

OPTIMISTIC

Value: 2

Optimistic concurrency.

Generated from protobuf enum OPTIMISTIC = 2;

OPTIMISTIC_WITH_ENTITY_GROUPS

Value: 3

Optimistic concurrency with entity groups.

Generated from protobuf enum OPTIMISTIC_WITH_ENTITY_GROUPS = 3;

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年10月30日 UTC.