Enum CommitRequest.Mode (2.26.4)

publicenumCommitRequest.ModeextendsEnum<CommitRequest.Mode>implementsProtocolMessageEnum

The modes available for commits.

Protobuf enum google.datastore.v1.CommitRequest.Mode

Implements

ProtocolMessageEnum

Static Fields

Name Description
MODE_UNSPECIFIED

Unspecified. This value must not be used.

MODE_UNSPECIFIED = 0;

MODE_UNSPECIFIED_VALUE

Unspecified. This value must not be used.

MODE_UNSPECIFIED = 0;

NON_TRANSACTIONAL

Non-transactional: The mutations may not apply as all or none.

NON_TRANSACTIONAL = 2;

NON_TRANSACTIONAL_VALUE

Non-transactional: The mutations may not apply as all or none.

NON_TRANSACTIONAL = 2;

TRANSACTIONAL

Transactional: The mutations are either all applied, or none are applied. Learn about transactions here.

TRANSACTIONAL = 1;

TRANSACTIONAL_VALUE

Transactional: The mutations are either all applied, or none are applied. Learn about transactions here.

TRANSACTIONAL = 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.