public class SCSpecUDTUnionCaseV0 extends java.lang.Object implements XdrElement
union SCSpecUDTUnionCaseV0 switch (SCSpecUDTUnionCaseV0Kind kind) { case SC_SPEC_UDT_UNION_CASE_VOID_V0: SCSpecUDTUnionCaseVoidV0 voidCase; case SC_SPEC_UDT_UNION_CASE_TUPLE_V0: SCSpecUDTUnionCaseTupleV0 tupleCase; };
Modifier and Type | Class and Description |
---|---|
static class |
SCSpecUDTUnionCaseV0.SCSpecUDTUnionCaseV0Builder |
Constructor and Description |
---|
SCSpecUDTUnionCaseV0() |
SCSpecUDTUnionCaseV0(SCSpecUDTUnionCaseV0Kind discriminant,
SCSpecUDTUnionCaseVoidV0 voidCase,
SCSpecUDTUnionCaseTupleV0 tupleCase) |
Modifier and Type | Method and Description |
---|---|
static SCSpecUDTUnionCaseV0.SCSpecUDTUnionCaseV0Builder |
builder() |
static SCSpecUDTUnionCaseV0 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SCSpecUDTUnionCaseV0 |
fromXdrBase64(java.lang.String xdr) |
static SCSpecUDTUnionCaseV0 |
fromXdrByteArray(byte[] xdr) |
SCSpecUDTUnionCaseV0Kind |
getDiscriminant() |
SCSpecUDTUnionCaseTupleV0 |
getTupleCase() |
SCSpecUDTUnionCaseVoidV0 |
getVoidCase() |
int |
hashCode() |
void |
setDiscriminant(SCSpecUDTUnionCaseV0Kind discriminant) |
void |
setTupleCase(SCSpecUDTUnionCaseTupleV0 tupleCase) |
void |
setVoidCase(SCSpecUDTUnionCaseVoidV0 voidCase) |
SCSpecUDTUnionCaseV0.SCSpecUDTUnionCaseV0Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public SCSpecUDTUnionCaseV0()
public SCSpecUDTUnionCaseV0(SCSpecUDTUnionCaseV0Kind discriminant, SCSpecUDTUnionCaseVoidV0 voidCase, SCSpecUDTUnionCaseTupleV0 tupleCase)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SCSpecUDTUnionCaseV0 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static SCSpecUDTUnionCaseV0 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SCSpecUDTUnionCaseV0 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static SCSpecUDTUnionCaseV0.SCSpecUDTUnionCaseV0Builder builder()
public SCSpecUDTUnionCaseV0.SCSpecUDTUnionCaseV0Builder toBuilder()
public SCSpecUDTUnionCaseV0Kind getDiscriminant()
public SCSpecUDTUnionCaseVoidV0 getVoidCase()
public SCSpecUDTUnionCaseTupleV0 getTupleCase()
public void setDiscriminant(SCSpecUDTUnionCaseV0Kind discriminant)
public void setVoidCase(SCSpecUDTUnionCaseVoidV0 voidCase)
public void setTupleCase(SCSpecUDTUnionCaseTupleV0 tupleCase)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object