public static enum LazyFieldsLite.LazyMessageLite.OneofFieldCase extends java.lang.Enum<LazyFieldsLite.LazyMessageLite.OneofFieldCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
ONEOF_INNER |
ONEOF_NUM |
ONEOFFIELD_NOT_SET |
Modifier and Type | Method and Description |
---|---|
int |
getNumber() |
static LazyFieldsLite.LazyMessageLite.OneofFieldCase |
valueOf(int value) |
static LazyFieldsLite.LazyMessageLite.OneofFieldCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LazyFieldsLite.LazyMessageLite.OneofFieldCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LazyFieldsLite.LazyMessageLite.OneofFieldCase ONEOF_NUM
public static final LazyFieldsLite.LazyMessageLite.OneofFieldCase ONEOF_INNER
public static final LazyFieldsLite.LazyMessageLite.OneofFieldCase ONEOFFIELD_NOT_SET
public static LazyFieldsLite.LazyMessageLite.OneofFieldCase[] values()
for (LazyFieldsLite.LazyMessageLite.OneofFieldCase c : LazyFieldsLite.LazyMessageLite.OneofFieldCase.values()) System.out.println(c);
public static LazyFieldsLite.LazyMessageLite.OneofFieldCase 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 static LazyFieldsLite.LazyMessageLite.OneofFieldCase valueOf(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite