Enum Mutation.ConflictResolutionStrategy (2.24.1)

public enum Mutation.ConflictResolutionStrategy extends Enum<Mutation.ConflictResolutionStrategy> implements ProtocolMessageEnum

The possible ways to resolve a conflict detected in a mutation.

Protobuf enum google.datastore.v1.Mutation.ConflictResolutionStrategy

Implements

ProtocolMessageEnum

Static Fields

Name Description
FAIL

The whole commit request fails.

FAIL = 3;

FAIL_VALUE

The whole commit request fails.

FAIL = 3;

SERVER_VALUE

The server entity is kept.

SERVER_VALUE = 1;

SERVER_VALUE_VALUE

The server entity is kept.

SERVER_VALUE = 1;

STRATEGY_UNSPECIFIED

Unspecified. Defaults to SERVER_VALUE.

STRATEGY_UNSPECIFIED = 0;

STRATEGY_UNSPECIFIED_VALUE

Unspecified. Defaults to SERVER_VALUE.

STRATEGY_UNSPECIFIED = 0;

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