public static enum Search.SortMode extends Enum<Search.SortMode> implements com.google.protobuf.ProtocolMessageEnum
| Enum Constant and Description |
|---|
SORT_MODE_AVG |
SORT_MODE_MAX |
SORT_MODE_MIN |
| Modifier and Type | Field and Description |
|---|---|
static int |
SORT_MODE_AVG_VALUE |
static int |
SORT_MODE_MAX_VALUE |
static int |
SORT_MODE_MIN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Search.SortMode> |
internalGetValueMap() |
static Search.SortMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Search.SortMode |
valueOf(int value) |
static Search.SortMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Search.SortMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Search.SortMode SORT_MODE_MIN
public static final Search.SortMode SORT_MODE_MAX
public static final Search.SortMode SORT_MODE_AVG
public static final int SORT_MODE_MIN_VALUE
public static final int SORT_MODE_MAX_VALUE
public static final int SORT_MODE_AVG_VALUE
public static Search.SortMode[] values()
for (Search.SortMode c : Search.SortMode.values()) System.out.println(c);
public static Search.SortMode 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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static Search.SortMode valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Search.SortMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Search.SortMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All Rights Reserved.