public enum SCSpecEntryKind extends java.lang.Enum<SCSpecEntryKind> implements XdrElement
enum SCSpecEntryKind { SC_SPEC_ENTRY_FUNCTION_V0 = 0, SC_SPEC_ENTRY_UDT_STRUCT_V0 = 1, SC_SPEC_ENTRY_UDT_UNION_V0 = 2, SC_SPEC_ENTRY_UDT_ENUM_V0 = 3, SC_SPEC_ENTRY_UDT_ERROR_ENUM_V0 = 4, SC_SPEC_ENTRY_EVENT_V0 = 5 };
Enum Constant and Description |
---|
SC_SPEC_ENTRY_EVENT_V0 |
SC_SPEC_ENTRY_FUNCTION_V0 |
SC_SPEC_ENTRY_UDT_ENUM_V0 |
SC_SPEC_ENTRY_UDT_ERROR_ENUM_V0 |
SC_SPEC_ENTRY_UDT_STRUCT_V0 |
SC_SPEC_ENTRY_UDT_UNION_V0 |
Modifier and Type | Method and Description |
---|---|
static SCSpecEntryKind |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static SCSpecEntryKind |
fromXdrBase64(java.lang.String xdr) |
static SCSpecEntryKind |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static SCSpecEntryKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SCSpecEntryKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toXdrBase64, toXdrByteArray
public static final SCSpecEntryKind SC_SPEC_ENTRY_FUNCTION_V0
public static final SCSpecEntryKind SC_SPEC_ENTRY_UDT_STRUCT_V0
public static final SCSpecEntryKind SC_SPEC_ENTRY_UDT_UNION_V0
public static final SCSpecEntryKind SC_SPEC_ENTRY_UDT_ENUM_V0
public static final SCSpecEntryKind SC_SPEC_ENTRY_UDT_ERROR_ENUM_V0
public static final SCSpecEntryKind SC_SPEC_ENTRY_EVENT_V0
public static SCSpecEntryKind[] values()
for (SCSpecEntryKind c : SCSpecEntryKind.values()) System.out.println(c);
public static SCSpecEntryKind 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 nullpublic int getValue()
public static SCSpecEntryKind decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SCSpecEntryKind fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SCSpecEntryKind fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException