public class TrustLineEntryExtensionV2 extends java.lang.Object implements XdrElement
struct TrustLineEntryExtensionV2 { int32 liquidityPoolUseCount; union switch (int v) { case 0: void; } ext; };
Modifier and Type | Class and Description |
---|---|
static class |
TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Builder |
static class |
TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Ext
TrustLineEntryExtensionV2Ext's original definition in the XDR file is:
|
Constructor and Description |
---|
TrustLineEntryExtensionV2() |
TrustLineEntryExtensionV2(Int32 liquidityPoolUseCount,
TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Ext ext) |
Modifier and Type | Method and Description |
---|---|
static TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Builder |
builder() |
static TrustLineEntryExtensionV2 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TrustLineEntryExtensionV2 |
fromXdrBase64(java.lang.String xdr) |
static TrustLineEntryExtensionV2 |
fromXdrByteArray(byte[] xdr) |
TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Ext |
getExt() |
Int32 |
getLiquidityPoolUseCount() |
int |
hashCode() |
void |
setExt(TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Ext ext) |
void |
setLiquidityPoolUseCount(Int32 liquidityPoolUseCount) |
TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TrustLineEntryExtensionV2()
public TrustLineEntryExtensionV2(Int32 liquidityPoolUseCount, TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Ext ext)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TrustLineEntryExtensionV2 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TrustLineEntryExtensionV2 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TrustLineEntryExtensionV2 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Builder builder()
public TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Builder toBuilder()
public Int32 getLiquidityPoolUseCount()
public TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Ext getExt()
public void setLiquidityPoolUseCount(Int32 liquidityPoolUseCount)
public void setExt(TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Ext ext)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object