public static enum ValueOuterClass.Value.SumCase extends java.lang.Enum<ValueOuterClass.Value.SumCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
BOOL |
CONTRACT_ID |
DATE |
ENUM |
GEN_MAP |
INT64 |
LIST |
MAP |
NUMERIC |
OPTIONAL |
PARTY |
RECORD |
SUM_NOT_SET |
TEXT |
TIMESTAMP |
UNIT |
VARIANT |
Modifier and Type | Method and Description |
---|---|
static ValueOuterClass.Value.SumCase |
forNumber(int value) |
int |
getNumber() |
static ValueOuterClass.Value.SumCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ValueOuterClass.Value.SumCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValueOuterClass.Value.SumCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueOuterClass.Value.SumCase RECORD
public static final ValueOuterClass.Value.SumCase VARIANT
public static final ValueOuterClass.Value.SumCase CONTRACT_ID
public static final ValueOuterClass.Value.SumCase LIST
public static final ValueOuterClass.Value.SumCase INT64
public static final ValueOuterClass.Value.SumCase NUMERIC
public static final ValueOuterClass.Value.SumCase TEXT
public static final ValueOuterClass.Value.SumCase TIMESTAMP
public static final ValueOuterClass.Value.SumCase PARTY
public static final ValueOuterClass.Value.SumCase BOOL
public static final ValueOuterClass.Value.SumCase UNIT
public static final ValueOuterClass.Value.SumCase DATE
public static final ValueOuterClass.Value.SumCase OPTIONAL
public static final ValueOuterClass.Value.SumCase MAP
public static final ValueOuterClass.Value.SumCase ENUM
public static final ValueOuterClass.Value.SumCase GEN_MAP
public static final ValueOuterClass.Value.SumCase SUM_NOT_SET
public static ValueOuterClass.Value.SumCase[] values()
for (ValueOuterClass.Value.SumCase c : ValueOuterClass.Value.SumCase.values()) System.out.println(c);
public static ValueOuterClass.Value.SumCase 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 null@Deprecated public static ValueOuterClass.Value.SumCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static ValueOuterClass.Value.SumCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite