Package org.stellar.sdk.xdr
Class TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext
java.lang.Object
org.stellar.sdk.xdr.TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext
- Enclosing class:
TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1
public static class TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext
extends Object
TrustLineEntryV1Ext's original definition in the XDR file is:
union switch (int v) { case 0: void; case 2: TrustLineEntryExtensionV2 v2; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext.TrustLineEntryV1ExtBuilder
builder()
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
-
TrustLineEntryV1Ext
public TrustLineEntryV1Ext() -
TrustLineEntryV1Ext
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext.TrustLineEntryV1ExtBuilder builder() -
toBuilder
-
getDiscriminant
-
getV2
-
setDiscriminant
-
setV2
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-