public static enum PrefsProtos.GetPrefArg.Mode extends Enum<PrefsProtos.GetPrefArg.Mode> implements com.google.protobuf.ProtocolMessageEnum
| Modifier and Type | Field and Description |
|---|---|
static int |
CURRENT_VALUE |
static int |
DEFAULT_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<PrefsProtos.GetPrefArg.Mode> |
internalGetValueMap() |
static PrefsProtos.GetPrefArg.Mode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PrefsProtos.GetPrefArg.Mode |
valueOf(int value) |
static PrefsProtos.GetPrefArg.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrefsProtos.GetPrefArg.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrefsProtos.GetPrefArg.Mode CURRENT
public static final PrefsProtos.GetPrefArg.Mode DEFAULT
public static final int CURRENT_VALUE
public static final int DEFAULT_VALUE
public static PrefsProtos.GetPrefArg.Mode[] values()
for (PrefsProtos.GetPrefArg.Mode c : PrefsProtos.GetPrefArg.Mode.values()) System.out.println(c);
public static PrefsProtos.GetPrefArg.Mode 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 PrefsProtos.GetPrefArg.Mode valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<PrefsProtos.GetPrefArg.Mode> 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 PrefsProtos.GetPrefArg.Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2012. All Rights Reserved.