org.jetbrains.kotlin.serialization.jvm
Enum JvmProtoBuf.JvmType.PrimitiveType

java.lang.Object
  extended by java.lang.Enum<JvmProtoBuf.JvmType.PrimitiveType>
      extended by org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<JvmProtoBuf.JvmType.PrimitiveType>
Enclosing class:
JvmProtoBuf.JvmType

public static enum JvmProtoBuf.JvmType.PrimitiveType
extends java.lang.Enum<JvmProtoBuf.JvmType.PrimitiveType>
implements com.google.protobuf.Internal.EnumLite

Protobuf enum org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType


Enum Constant Summary
BOOLEAN
          BOOLEAN = 1;
BYTE
          BYTE = 3;
CHAR
          CHAR = 2;
DOUBLE
          DOUBLE = 8;
FLOAT
          FLOAT = 6;
INT
          INT = 5;
LONG
          LONG = 7;
SHORT
          SHORT = 4;
VOID
          VOID = 0;
 
Field Summary
static int BOOLEAN_VALUE
          BOOLEAN = 1;
static int BYTE_VALUE
          BYTE = 3;
static int CHAR_VALUE
          CHAR = 2;
static int DOUBLE_VALUE
          DOUBLE = 8;
static int FLOAT_VALUE
          FLOAT = 6;
static int INT_VALUE
          INT = 5;
static int LONG_VALUE
          LONG = 7;
static int SHORT_VALUE
          SHORT = 4;
static int VOID_VALUE
          VOID = 0;
 
Method Summary
 int getNumber()
           
static com.google.protobuf.Internal.EnumLiteMap<JvmProtoBuf.JvmType.PrimitiveType> internalGetValueMap()
           
static JvmProtoBuf.JvmType.PrimitiveType valueOf(int value)
           
static JvmProtoBuf.JvmType.PrimitiveType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JvmProtoBuf.JvmType.PrimitiveType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

VOID

public static final JvmProtoBuf.JvmType.PrimitiveType VOID
VOID = 0;
 These values correspond to ASM Type sorts
 


BOOLEAN

public static final JvmProtoBuf.JvmType.PrimitiveType BOOLEAN
BOOLEAN = 1;


CHAR

public static final JvmProtoBuf.JvmType.PrimitiveType CHAR
CHAR = 2;


BYTE

public static final JvmProtoBuf.JvmType.PrimitiveType BYTE
BYTE = 3;


SHORT

public static final JvmProtoBuf.JvmType.PrimitiveType SHORT
SHORT = 4;


INT

public static final JvmProtoBuf.JvmType.PrimitiveType INT
INT = 5;


FLOAT

public static final JvmProtoBuf.JvmType.PrimitiveType FLOAT
FLOAT = 6;


LONG

public static final JvmProtoBuf.JvmType.PrimitiveType LONG
LONG = 7;


DOUBLE

public static final JvmProtoBuf.JvmType.PrimitiveType DOUBLE
DOUBLE = 8;

Field Detail

VOID_VALUE

public static final int VOID_VALUE
VOID = 0;
 These values correspond to ASM Type sorts
 

See Also:
Constant Field Values

BOOLEAN_VALUE

public static final int BOOLEAN_VALUE
BOOLEAN = 1;

See Also:
Constant Field Values

CHAR_VALUE

public static final int CHAR_VALUE
CHAR = 2;

See Also:
Constant Field Values

BYTE_VALUE

public static final int BYTE_VALUE
BYTE = 3;

See Also:
Constant Field Values

SHORT_VALUE

public static final int SHORT_VALUE
SHORT = 4;

See Also:
Constant Field Values

INT_VALUE

public static final int INT_VALUE
INT = 5;

See Also:
Constant Field Values

FLOAT_VALUE

public static final int FLOAT_VALUE
FLOAT = 6;

See Also:
Constant Field Values

LONG_VALUE

public static final int LONG_VALUE
LONG = 7;

See Also:
Constant Field Values

DOUBLE_VALUE

public static final int DOUBLE_VALUE
DOUBLE = 8;

See Also:
Constant Field Values
Method Detail

values

public static JvmProtoBuf.JvmType.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 (JvmProtoBuf.JvmType.PrimitiveType c : JvmProtoBuf.JvmType.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 JvmProtoBuf.JvmType.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 JvmProtoBuf.JvmType.PrimitiveType valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<JvmProtoBuf.JvmType.PrimitiveType> internalGetValueMap()