public static enum WireFormat.JavaType extends java.lang.Enum<WireFormat.JavaType>
Descriptors.FieldDescriptor.JavaType
. This is only here to support
the lite runtime and should not be used by users.Enum Constant and Description |
---|
BOOLEAN |
BYTE_STRING |
DOUBLE |
ENUM |
FLOAT |
INT |
LONG |
MESSAGE |
STRING |
Modifier and Type | Method and Description |
---|---|
static WireFormat.JavaType |
valueOf(java.lang.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 INT
public static final WireFormat.JavaType LONG
public static final WireFormat.JavaType FLOAT
public static final WireFormat.JavaType DOUBLE
public static final WireFormat.JavaType BOOLEAN
public static final WireFormat.JavaType STRING
public static final WireFormat.JavaType BYTE_STRING
public static final WireFormat.JavaType ENUM
public static final WireFormat.JavaType MESSAGE
public static WireFormat.JavaType[] values()
for (WireFormat.JavaType c : WireFormat.JavaType.values()) System.out.println(c);
public static WireFormat.JavaType 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 nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.