Enum PropertyOrder.Direction (2.30.0)

publicenumPropertyOrder.DirectionextendsEnum<PropertyOrder.Direction>implementsProtocolMessageEnum

The sort direction.

Protobuf enum google.datastore.v1.PropertyOrder.Direction

Implements

ProtocolMessageEnum

Static Fields

Name Description
ASCENDING

Ascending.

ASCENDING = 1;

ASCENDING_VALUE

Ascending.

ASCENDING = 1;

DESCENDING

Descending.

DESCENDING = 2;

DESCENDING_VALUE

Descending.

DESCENDING = 2;

DIRECTION_UNSPECIFIED

Unspecified. This value must not be used.

DIRECTION_UNSPECIFIED = 0;

DIRECTION_UNSPECIFIED_VALUE

Unspecified. This value must not be used.

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.