public enum SCSpecUDTUnionCaseV0Kind extends java.lang.Enum<SCSpecUDTUnionCaseV0Kind> implements XdrElement
enum SCSpecUDTUnionCaseV0Kind { SC_SPEC_UDT_UNION_CASE_VOID_V0 = 0, SC_SPEC_UDT_UNION_CASE_TUPLE_V0 = 1 };
Enum Constant and Description |
---|
SC_SPEC_UDT_UNION_CASE_TUPLE_V0 |
SC_SPEC_UDT_UNION_CASE_VOID_V0 |
Modifier and Type | Method and Description |
---|---|
static SCSpecUDTUnionCaseV0Kind |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static SCSpecUDTUnionCaseV0Kind |
fromXdrBase64(java.lang.String xdr) |
static SCSpecUDTUnionCaseV0Kind |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static SCSpecUDTUnionCaseV0Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SCSpecUDTUnionCaseV0Kind[] |
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 SCSpecUDTUnionCaseV0Kind SC_SPEC_UDT_UNION_CASE_VOID_V0
public static final SCSpecUDTUnionCaseV0Kind SC_SPEC_UDT_UNION_CASE_TUPLE_V0
public static SCSpecUDTUnionCaseV0Kind[] values()
for (SCSpecUDTUnionCaseV0Kind c : SCSpecUDTUnionCaseV0Kind.values()) System.out.println(c);
public static SCSpecUDTUnionCaseV0Kind 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 SCSpecUDTUnionCaseV0Kind 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 SCSpecUDTUnionCaseV0Kind fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SCSpecUDTUnionCaseV0Kind fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException