Enum CommitRequest.Mode (2.20.2)

public enum CommitRequest.Mode extends Enum<CommitRequest.Mode> implements ProtocolMessageEnum

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