Package org.stellar.sdk.xdr
Class SCSpecUDTUnionCaseV0
java.lang.Object
org.stellar.sdk.xdr.SCSpecUDTUnionCaseV0
- All Implemented Interfaces:
XdrElement
SCSpecUDTUnionCaseV0's original definition in the XDR file is:
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;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSCSpecUDTUnionCaseV0(SCSpecUDTUnionCaseV0Kind discriminant, SCSpecUDTUnionCaseVoidV0 voidCase, SCSpecUDTUnionCaseTupleV0 tupleCase) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SCSpecUDTUnionCaseV0decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SCSpecUDTUnionCaseV0fromXdrBase64(String xdr) static SCSpecUDTUnionCaseV0fromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(SCSpecUDTUnionCaseV0Kind discriminant) voidsetTupleCase(SCSpecUDTUnionCaseTupleV0 tupleCase) voidsetVoidCase(SCSpecUDTUnionCaseVoidV0 voidCase) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCSpecUDTUnionCaseV0
public SCSpecUDTUnionCaseV0() -
SCSpecUDTUnionCaseV0
public SCSpecUDTUnionCaseV0(SCSpecUDTUnionCaseV0Kind discriminant, SCSpecUDTUnionCaseVoidV0 voidCase, SCSpecUDTUnionCaseTupleV0 tupleCase)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getVoidCase
-
getTupleCase
-
setDiscriminant
-
setVoidCase
-
setTupleCase
-
equals
-
hashCode
public int hashCode() -
toString
-