Enum Index.Direction (2.18.5)

publicenumIndex.DirectionextendsEnum<Index.Direction>implementsProtocolMessageEnum

The direction determines how a property is indexed.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
ASCENDING

The property's values are indexed so as to support sequencing in ascending order and also query by <, >, <=, >=, and =.

ASCENDING = 1;

ASCENDING_VALUE

The property's values are indexed so as to support sequencing in ascending order and also query by <, >, <=, >=, and =.

ASCENDING = 1;

DESCENDING

The property's values are indexed so as to support sequencing in descending order and also query by <, >, <=, >=, and =.

DESCENDING = 2;

DESCENDING_VALUE

The property's values are indexed so as to support sequencing in descending order and also query by <, >, <=, >=, and =.

DESCENDING = 2;

DIRECTION_UNSPECIFIED

The direction is unspecified.

DIRECTION_UNSPECIFIED = 0;

DIRECTION_UNSPECIFIED_VALUE

The direction is unspecified.

DIRECTION_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.