Enum StructuredQuery.Direction (3.21.1)

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

A sort direction.

Protobuf enum google.firestore.v1.StructuredQuery.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.

DIRECTION_UNSPECIFIED = 0;

DIRECTION_UNSPECIFIED_VALUE

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