public static enum Field.Type extends java.lang.Enum<Field.Type>
Enum Constant and Description |
---|
BINARY |
BOOLEAN |
BYTE |
DATE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
NESTED |
SHORT |
STRING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Field.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Field.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="nested") public static final Field.Type NESTED
@SerializedName(value="string") public static final Field.Type STRING
@SerializedName(value="date") public static final Field.Type DATE
@SerializedName(value="long") public static final Field.Type LONG
@SerializedName(value="integer") public static final Field.Type INTEGER
@SerializedName(value="short") public static final Field.Type SHORT
@SerializedName(value="byte") public static final Field.Type BYTE
@SerializedName(value="double") public static final Field.Type DOUBLE
@SerializedName(value="float") public static final Field.Type FLOAT
@SerializedName(value="boolean") public static final Field.Type BOOLEAN
@SerializedName(value="binary") public static final Field.Type BINARY
public static final Field.Type UNKNOWN
public static Field.Type[] values()
for (Field.Type c : Field.Type.values()) System.out.println(c);
public static Field.Type 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