public static class TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext extends java.lang.Object implements XdrElement
union switch (int v) { case 0: void; case 2: TrustLineEntryExtensionV2 v2; }
Modifier and Type | Class and Description |
---|---|
static class |
TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext.TrustLineEntryV1ExtBuilder |
Constructor and Description |
---|
TrustLineEntryV1Ext() |
TrustLineEntryV1Ext(java.lang.Integer discriminant,
TrustLineEntryExtensionV2 v2) |
Modifier and Type | Method and Description |
---|---|
static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext.TrustLineEntryV1ExtBuilder |
builder() |
static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext |
fromXdrBase64(java.lang.String xdr) |
static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext |
fromXdrByteArray(byte[] xdr) |
java.lang.Integer |
getDiscriminant() |
TrustLineEntryExtensionV2 |
getV2() |
int |
hashCode() |
void |
setDiscriminant(java.lang.Integer discriminant) |
void |
setV2(TrustLineEntryExtensionV2 v2) |
TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext.TrustLineEntryV1ExtBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TrustLineEntryV1Ext()
public TrustLineEntryV1Ext(java.lang.Integer discriminant, TrustLineEntryExtensionV2 v2)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext.TrustLineEntryV1ExtBuilder builder()
public TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext.TrustLineEntryV1ExtBuilder toBuilder()
public java.lang.Integer getDiscriminant()
public TrustLineEntryExtensionV2 getV2()
public void setDiscriminant(java.lang.Integer discriminant)
public void setV2(TrustLineEntryExtensionV2 v2)
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