Enum Index.AncestorMode (2.30.0)

publicenumIndex.AncestorModeextendsEnum<Index.AncestorMode>implementsProtocolMessageEnum

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

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.