Enum Index.Direction (2.20.1)

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

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