Enum Index.AncestorMode (2.21.1)

public enum Index.AncestorMode extends Enum<Index.AncestorMode> implements ProtocolMessageEnum

For an ordered index, specifies whether each of the entity's ancestors will be included.

Protobuf enum google.datastore.admin.v1.Index.AncestorMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALL_ANCESTORS

Include all the entity's ancestors in the index.

ALL_ANCESTORS = 2;

ALL_ANCESTORS_VALUE

Include all the entity's ancestors in the index.

ALL_ANCESTORS = 2;

ANCESTOR_MODE_UNSPECIFIED

The ancestor mode is unspecified.

ANCESTOR_MODE_UNSPECIFIED = 0;

ANCESTOR_MODE_UNSPECIFIED_VALUE

The ancestor mode is unspecified.

ANCESTOR_MODE_UNSPECIFIED = 0;

NONE

Do not include the entity's ancestors in the index.

NONE = 1;

NONE_VALUE

Do not include the entity's ancestors in the index.

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