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