Package org.stellar.sdk.xdr
Class ContractCodeEntry.ContractCodeEntryExt
java.lang.Object
org.stellar.sdk.xdr.ContractCodeEntry.ContractCodeEntryExt
- Enclosing class:
ContractCodeEntry
ContractCodeEntryExt's original definition in the XDR file is:
union switch (int v) { case 0: void; case 1: struct { ExtensionPoint ext; ContractCodeCostInputs costInputs; } v1; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
ContractCodeEntryV1's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionContractCodeEntryExt
(Integer discriminant, ContractCodeEntry.ContractCodeEntryExt.ContractCodeEntryV1 v1) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getV1()
int
hashCode()
void
setDiscriminant
(Integer discriminant) void
toString()
default String
default byte[]
-
Constructor Details
-
ContractCodeEntryExt
public ContractCodeEntryExt() -
ContractCodeEntryExt
public ContractCodeEntryExt(Integer discriminant, ContractCodeEntry.ContractCodeEntryExt.ContractCodeEntryV1 v1)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static ContractCodeEntry.ContractCodeEntryExt decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
public static ContractCodeEntry.ContractCodeEntryExt fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV1
-
setDiscriminant
-
setV1
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-