public static enum Tiller.ListSort.SortBy extends Enum<Tiller.ListSort.SortBy> implements ProtocolMessageEnum
SortBy defines sort operations.Protobuf enum
hapi.services.tiller.ListSort.SortBy
Enum Constant and Description |
---|
LAST_RELEASED
LAST_RELEASED = 2; |
NAME
NAME = 1; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
LAST_RELEASED_VALUE
LAST_RELEASED = 2; |
static int |
NAME_VALUE
NAME = 1; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static Tiller.ListSort.SortBy |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Tiller.ListSort.SortBy> |
internalGetValueMap() |
static Tiller.ListSort.SortBy |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Tiller.ListSort.SortBy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Tiller.ListSort.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tiller.ListSort.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tiller.ListSort.SortBy UNKNOWN
UNKNOWN = 0;
public static final Tiller.ListSort.SortBy NAME
NAME = 1;
public static final Tiller.ListSort.SortBy LAST_RELEASED
LAST_RELEASED = 2;
public static final Tiller.ListSort.SortBy UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int NAME_VALUE
NAME = 1;
public static final int LAST_RELEASED_VALUE
LAST_RELEASED = 2;
public static Tiller.ListSort.SortBy[] values()
for (Tiller.ListSort.SortBy c : Tiller.ListSort.SortBy.values()) System.out.println(c);
public static Tiller.ListSort.SortBy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Tiller.ListSort.SortBy valueOf(int value)
forNumber(int)
instead.public static Tiller.ListSort.SortBy forNumber(int value)
public static Internal.EnumLiteMap<Tiller.ListSort.SortBy> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Tiller.ListSort.SortBy valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2017–2018, microBean. All rights reserved.