public static enum UnittestImportLite.ImportEnumLite extends java.lang.Enum<UnittestImportLite.ImportEnumLite> implements com.google.protobuf.Internal.EnumLite
protobuf_unittest_import.ImportEnumLite
Enum Constant and Description |
---|
IMPORT_LITE_BAR
IMPORT_LITE_BAR = 8; |
IMPORT_LITE_BAZ
IMPORT_LITE_BAZ = 9; |
IMPORT_LITE_FOO
IMPORT_LITE_FOO = 7; |
Modifier and Type | Field and Description |
---|---|
static int |
IMPORT_LITE_BAR_VALUE
IMPORT_LITE_BAR = 8; |
static int |
IMPORT_LITE_BAZ_VALUE
IMPORT_LITE_BAZ = 9; |
static int |
IMPORT_LITE_FOO_VALUE
IMPORT_LITE_FOO = 7; |
Modifier and Type | Method and Description |
---|---|
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<UnittestImportLite.ImportEnumLite> |
internalGetValueMap() |
static UnittestImportLite.ImportEnumLite |
valueOf(int value) |
static UnittestImportLite.ImportEnumLite |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnittestImportLite.ImportEnumLite[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnittestImportLite.ImportEnumLite IMPORT_LITE_FOO
IMPORT_LITE_FOO = 7;
public static final UnittestImportLite.ImportEnumLite IMPORT_LITE_BAR
IMPORT_LITE_BAR = 8;
public static final UnittestImportLite.ImportEnumLite IMPORT_LITE_BAZ
IMPORT_LITE_BAZ = 9;
public static final int IMPORT_LITE_FOO_VALUE
IMPORT_LITE_FOO = 7;
public static final int IMPORT_LITE_BAR_VALUE
IMPORT_LITE_BAR = 8;
public static final int IMPORT_LITE_BAZ_VALUE
IMPORT_LITE_BAZ = 9;
public static UnittestImportLite.ImportEnumLite[] values()
for (UnittestImportLite.ImportEnumLite c : UnittestImportLite.ImportEnumLite.values()) System.out.println(c);
public static UnittestImportLite.ImportEnumLite valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
public static UnittestImportLite.ImportEnumLite valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<UnittestImportLite.ImportEnumLite> internalGetValueMap()