org.jetbrains.kotlin.serialization.js
Enum JsProtoBuf.Library.Kind

java.lang.Object
  extended by java.lang.Enum<JsProtoBuf.Library.Kind>
      extended by org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JsProtoBuf.Library.Kind>, org.jetbrains.kotlin.protobuf.Internal.EnumLite
Enclosing class:
JsProtoBuf.Library

public static enum JsProtoBuf.Library.Kind
extends java.lang.Enum<JsProtoBuf.Library.Kind>
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite

Protobuf enum org.jetbrains.kotlin.serialization.js.Library.Kind


Enum Constant Summary
AMD
          AMD = 2;
COMMON_JS
          COMMON_JS = 3;
PLAIN
          PLAIN = 1;
UMD
          UMD = 4;
 
Field Summary
static int AMD_VALUE
          AMD = 2;
static int COMMON_JS_VALUE
          COMMON_JS = 3;
static int PLAIN_VALUE
          PLAIN = 1;
static int UMD_VALUE
          UMD = 4;
 
Method Summary
 int getNumber()
           
static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<JsProtoBuf.Library.Kind> internalGetValueMap()
           
static JsProtoBuf.Library.Kind valueOf(int value)
           
static JsProtoBuf.Library.Kind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JsProtoBuf.Library.Kind[] 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

PLAIN

public static final JsProtoBuf.Library.Kind PLAIN
PLAIN = 1;


AMD

public static final JsProtoBuf.Library.Kind AMD
AMD = 2;


COMMON_JS

public static final JsProtoBuf.Library.Kind COMMON_JS
COMMON_JS = 3;


UMD

public static final JsProtoBuf.Library.Kind UMD
UMD = 4;

Field Detail

PLAIN_VALUE

public static final int PLAIN_VALUE
PLAIN = 1;

See Also:
Constant Field Values

AMD_VALUE

public static final int AMD_VALUE
AMD = 2;

See Also:
Constant Field Values

COMMON_JS_VALUE

public static final int COMMON_JS_VALUE
COMMON_JS = 3;

See Also:
Constant Field Values

UMD_VALUE

public static final int UMD_VALUE
UMD = 4;

See Also:
Constant Field Values
Method Detail

values

public static JsProtoBuf.Library.Kind[] 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 (JsProtoBuf.Library.Kind c : JsProtoBuf.Library.Kind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JsProtoBuf.Library.Kind 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 org.jetbrains.kotlin.protobuf.Internal.EnumLite

valueOf

public static JsProtoBuf.Library.Kind valueOf(int value)

internalGetValueMap

public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<JsProtoBuf.Library.Kind> internalGetValueMap()