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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionAccountEntryExtensionV1Ext(Integer discriminant, AccountEntryExtensionV2 v2) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getV2()inthashCode()voidsetDiscriminant(Integer discriminant) voidtoString()default Stringdefault 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
-