Enum Mutation.ConflictResolutionStrategy (2.28.2)

publicenumMutation.ConflictResolutionStrategyextendsEnum<Mutation.ConflictResolutionStrategy>implementsProtocolMessageEnum

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

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.