Enum Index.IndexField.Order

public enum Index.IndexField.Order extends Enum<Index.IndexField.Order> implements ProtocolMessageEnum

The supported orderings.

Protobuf enum google.firestore.admin.v1.Index.IndexField.Order

Implements

ProtocolMessageEnum

Fields

NameDescription
ASCENDING

The field is ordered by ascending field value.

ASCENDING = 1;

ASCENDING_VALUE

The field is ordered by ascending field value.

ASCENDING = 1;

DESCENDING

The field is ordered by descending field value.

DESCENDING = 2;

DESCENDING_VALUE

The field is ordered by descending field value.

DESCENDING = 2;

ORDER_UNSPECIFIED

The ordering is unspecified. Not a valid option.

ORDER_UNSPECIFIED = 0;

ORDER_UNSPECIFIED_VALUE

The ordering is unspecified. Not a valid option.

ORDER_UNSPECIFIED = 0;

UNRECOGNIZED

Methods

NameDescription
forNumber(int value)
getDescriptor()
getDescriptorForType()
getNumber()
getValueDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()