Package org.stellar.sdk.xdr
Class SCSpecUDTUnionCaseV0
java.lang.Object
org.stellar.sdk.xdr.SCSpecUDTUnionCaseV0
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
-
Constructor Summary
ConstructorDescriptionSCSpecUDTUnionCaseV0
(SCSpecUDTUnionCaseV0Kind discriminant, SCSpecUDTUnionCaseVoidV0 voidCase, SCSpecUDTUnionCaseTupleV0 tupleCase) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SCSpecUDTUnionCaseV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCSpecUDTUnionCaseV0
fromXdrBase64
(String xdr) static SCSpecUDTUnionCaseV0
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(SCSpecUDTUnionCaseV0Kind discriminant) void
setTupleCase
(SCSpecUDTUnionCaseTupleV0 tupleCase) void
setVoidCase
(SCSpecUDTUnionCaseVoidV0 voidCase) toString()
default String
default byte[]
-
Constructor Details
-
SCSpecUDTUnionCaseV0
public SCSpecUDTUnionCaseV0() -
SCSpecUDTUnionCaseV0
public SCSpecUDTUnionCaseV0(SCSpecUDTUnionCaseV0Kind discriminant, SCSpecUDTUnionCaseVoidV0 voidCase, SCSpecUDTUnionCaseTupleV0 tupleCase)
-
-
Method Details
-
encode
- 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
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-