Package org.stellar.sdk.xdr
Class AccountEntryExtensionV1.AccountEntryExtensionV1Ext
java.lang.Object
org.stellar.sdk.xdr.AccountEntryExtensionV1.AccountEntryExtensionV1Ext
- Enclosing class:
AccountEntryExtensionV1
AccountEntryExtensionV1Ext's original definition in the XDR file is:
union switch (int v) { case 0: void; case 2: AccountEntryExtensionV2 v2; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionAccountEntryExtensionV1Ext
(Integer discriminant, AccountEntryExtensionV2 v2) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getV2()
int
hashCode()
void
setDiscriminant
(Integer discriminant) void
toString()
default String
default byte[]
-
Constructor Details
-
AccountEntryExtensionV1Ext
public AccountEntryExtensionV1Ext() -
AccountEntryExtensionV1Ext
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static AccountEntryExtensionV1.AccountEntryExtensionV1Ext decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static AccountEntryExtensionV1.AccountEntryExtensionV1Ext fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static AccountEntryExtensionV1.AccountEntryExtensionV1Ext fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
public static AccountEntryExtensionV1.AccountEntryExtensionV1Ext.AccountEntryExtensionV1ExtBuilder builder() -
toBuilder
-
getDiscriminant
-
getV2
-
setDiscriminant
-
setV2
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-