public static enum PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase extends Enum<PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
FIRST_THING |
FIRSTONEOF_NOT_SET |
SECOND_THING |
Modifier and Type | Method and Description |
---|---|
static PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase |
forNumber(int value) |
int |
getNumber() |
static PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase FIRST_THING
public static final PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase SECOND_THING
public static final PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase FIRSTONEOF_NOT_SET
public static PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase[] values()
for (PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase c : PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase.values()) System.out.println(c);
public static PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase 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 null@Deprecated public static PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase valueOf(int value)
forNumber(int)
instead.public static PBufPrecompileRootBeanOuterClass.PBufPrecompileRootBean.FirstOneOfCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2009–2023 Oracle Corporation. All rights reserved.