public class LedgerEntryExtensionV1 extends java.lang.Object implements XdrElement
struct LedgerEntryExtensionV1 { SponsorshipDescriptor sponsoringID; union switch (int v) { case 0: void; } ext; };
Modifier and Type | Class and Description |
---|---|
static class |
LedgerEntryExtensionV1.LedgerEntryExtensionV1Builder |
static class |
LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext
LedgerEntryExtensionV1Ext's original definition in the XDR file is:
|
Constructor and Description |
---|
LedgerEntryExtensionV1() |
LedgerEntryExtensionV1(SponsorshipDescriptor sponsoringID,
LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext ext) |
Modifier and Type | Method and Description |
---|---|
static LedgerEntryExtensionV1.LedgerEntryExtensionV1Builder |
builder() |
static LedgerEntryExtensionV1 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static LedgerEntryExtensionV1 |
fromXdrBase64(java.lang.String xdr) |
static LedgerEntryExtensionV1 |
fromXdrByteArray(byte[] xdr) |
LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext |
getExt() |
SponsorshipDescriptor |
getSponsoringID() |
int |
hashCode() |
void |
setExt(LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext ext) |
void |
setSponsoringID(SponsorshipDescriptor sponsoringID) |
LedgerEntryExtensionV1.LedgerEntryExtensionV1Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public LedgerEntryExtensionV1()
public LedgerEntryExtensionV1(SponsorshipDescriptor sponsoringID, LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext ext)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static LedgerEntryExtensionV1 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static LedgerEntryExtensionV1 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static LedgerEntryExtensionV1 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static LedgerEntryExtensionV1.LedgerEntryExtensionV1Builder builder()
public LedgerEntryExtensionV1.LedgerEntryExtensionV1Builder toBuilder()
public SponsorshipDescriptor getSponsoringID()
public LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext getExt()
public void setSponsoringID(SponsorshipDescriptor sponsoringID)
public void setExt(LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext 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