org.jetbrains.jet.descriptors.serialization
Enum JavaProtoBuf.JavaType.PrimitiveType
java.lang.Object
java.lang.Enum<JavaProtoBuf.JavaType.PrimitiveType>
org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType.PrimitiveType
- All Implemented Interfaces:
- com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<JavaProtoBuf.JavaType.PrimitiveType>
- Enclosing class:
- JavaProtoBuf.JavaType
public static enum JavaProtoBuf.JavaType.PrimitiveType
- extends java.lang.Enum<JavaProtoBuf.JavaType.PrimitiveType>
- implements com.google.protobuf.Internal.EnumLite
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
VOID
public static final JavaProtoBuf.JavaType.PrimitiveType VOID
BOOLEAN
public static final JavaProtoBuf.JavaType.PrimitiveType BOOLEAN
CHAR
public static final JavaProtoBuf.JavaType.PrimitiveType CHAR
BYTE
public static final JavaProtoBuf.JavaType.PrimitiveType BYTE
SHORT
public static final JavaProtoBuf.JavaType.PrimitiveType SHORT
INT
public static final JavaProtoBuf.JavaType.PrimitiveType INT
FLOAT
public static final JavaProtoBuf.JavaType.PrimitiveType FLOAT
LONG
public static final JavaProtoBuf.JavaType.PrimitiveType LONG
DOUBLE
public static final JavaProtoBuf.JavaType.PrimitiveType DOUBLE
VOID_VALUE
public static final int VOID_VALUE
- See Also:
- Constant Field Values
BOOLEAN_VALUE
public static final int BOOLEAN_VALUE
- See Also:
- Constant Field Values
CHAR_VALUE
public static final int CHAR_VALUE
- See Also:
- Constant Field Values
BYTE_VALUE
public static final int BYTE_VALUE
- See Also:
- Constant Field Values
SHORT_VALUE
public static final int SHORT_VALUE
- See Also:
- Constant Field Values
INT_VALUE
public static final int INT_VALUE
- See Also:
- Constant Field Values
FLOAT_VALUE
public static final int FLOAT_VALUE
- See Also:
- Constant Field Values
LONG_VALUE
public static final int LONG_VALUE
- See Also:
- Constant Field Values
DOUBLE_VALUE
public static final int DOUBLE_VALUE
- See Also:
- Constant Field Values
values
public static JavaProtoBuf.JavaType.PrimitiveType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (JavaProtoBuf.JavaType.PrimitiveType c : JavaProtoBuf.JavaType.PrimitiveType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JavaProtoBuf.JavaType.PrimitiveType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getNumber
public final int getNumber()
- Specified by:
getNumber in interface com.google.protobuf.Internal.EnumLite
valueOf
public static JavaProtoBuf.JavaType.PrimitiveType valueOf(int value)
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<JavaProtoBuf.JavaType.PrimitiveType> internalGetValueMap()