public static enum WireValue.Type extends java.lang.Enum<WireValue.Type>
| Enum Constant and Description |
|---|
BLOB |
BOOLEAN |
FLOAT32 |
FLOAT64 |
IMAGE |
INT32 |
INT64 |
LIST |
MAP |
MESSAGE |
NULL |
UTF8 |
| Modifier and Type | Method and Description |
|---|---|
static WireValue.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WireValue.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WireValue.Type UTF8
public static final WireValue.Type BLOB
public static final WireValue.Type INT32
public static final WireValue.Type INT64
public static final WireValue.Type FLOAT32
public static final WireValue.Type FLOAT64
public static final WireValue.Type BOOLEAN
public static final WireValue.Type MAP
public static final WireValue.Type LIST
public static final WireValue.Type MESSAGE
public static final WireValue.Type IMAGE
public static final WireValue.Type NULL
public static WireValue.Type[] values()
for (WireValue.Type c : WireValue.Type.values()) System.out.println(c);
public static WireValue.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