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