Enum Index.IndexField.Order (3.4.2)

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

Static 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

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()