Enum CommitRequest.Mode (2.13.1)

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

NameDescription
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

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()