public static enum WireFormat.JavaType extends Enum<WireFormat.JavaType>
Enum Constant and Description |
---|
BOOLEAN |
BYTE_STRING |
DOUBLE |
ENUM |
FLOAT |
INT |
LONG |
MESSAGE |
STRING |
Modifier and Type | Method and Description |
---|---|
static WireFormat.JavaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WireFormat.JavaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WireFormat.JavaType BOOLEAN
public static final WireFormat.JavaType BYTE_STRING
public static final WireFormat.JavaType DOUBLE
public static final WireFormat.JavaType ENUM
public static final WireFormat.JavaType FLOAT
public static final WireFormat.JavaType INT
public static final WireFormat.JavaType LONG
public static final WireFormat.JavaType MESSAGE
public static final WireFormat.JavaType STRING
public static WireFormat.JavaType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static WireFormat.JavaType[] values()
for (WireFormat.JavaType c : WireFormat.JavaType.values()) System.out.println(c);