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