| Enum Constant and Description |
|---|
ARRAY
java.util.List
|
BOOLEAN
java.lang.Boolean
|
FLOAT32
java.lang.Float
|
FLOAT64
java.lang.Double
|
INT64
java.lang.Long
|
STRING
java.lang.String
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<ValueType> |
fromString(java.lang.String name)
Returns the ValueType that matches the String representation passed as a parameter
|
static ValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType BOOLEAN
public static final ValueType INT64
public static final ValueType STRING
public static final ValueType FLOAT32
public static final ValueType FLOAT64
public static final ValueType ARRAY
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 java.util.Optional<ValueType> fromString(java.lang.String name)
name - The String representation of the ValueTypeValueType> if a match is found, Optional.empty() otherwise