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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
FAIL |
The whole commit request fails. |
FAIL_VALUE |
The whole commit request fails. |
SERVER_VALUE |
The server entity is kept. |
SERVER_VALUE_VALUE |
The server entity is kept. |
STRATEGY_UNSPECIFIED |
Unspecified. Defaults to |
STRATEGY_UNSPECIFIED_VALUE |
Unspecified. Defaults to |
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() |