public class LedgerCloseMetaBatch extends java.lang.Object implements XdrElement
struct LedgerCloseMetaBatch
{
// starting ledger sequence number in the batch
uint32 startSequence;
// ending ledger sequence number in the batch
uint32 endSequence;
// Ledger close meta for each ledger within the batch
LedgerCloseMeta ledgerCloseMetas<>;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
LedgerCloseMetaBatch.LedgerCloseMetaBatchBuilder |
| Constructor and Description |
|---|
LedgerCloseMetaBatch() |
LedgerCloseMetaBatch(Uint32 startSequence,
Uint32 endSequence,
LedgerCloseMeta[] ledgerCloseMetas) |
| Modifier and Type | Method and Description |
|---|---|
static LedgerCloseMetaBatch.LedgerCloseMetaBatchBuilder |
builder() |
static LedgerCloseMetaBatch |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static LedgerCloseMetaBatch |
fromXdrBase64(java.lang.String xdr) |
static LedgerCloseMetaBatch |
fromXdrByteArray(byte[] xdr) |
Uint32 |
getEndSequence() |
LedgerCloseMeta[] |
getLedgerCloseMetas() |
Uint32 |
getStartSequence() |
int |
hashCode() |
void |
setEndSequence(Uint32 endSequence) |
void |
setLedgerCloseMetas(LedgerCloseMeta[] ledgerCloseMetas) |
void |
setStartSequence(Uint32 startSequence) |
LedgerCloseMetaBatch.LedgerCloseMetaBatchBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic LedgerCloseMetaBatch()
public LedgerCloseMetaBatch(Uint32 startSequence, Uint32 endSequence, LedgerCloseMeta[] ledgerCloseMetas)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static LedgerCloseMetaBatch decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaBatch fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaBatch fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaBatch.LedgerCloseMetaBatchBuilder builder()
public LedgerCloseMetaBatch.LedgerCloseMetaBatchBuilder toBuilder()
public Uint32 getStartSequence()
public Uint32 getEndSequence()
public LedgerCloseMeta[] getLedgerCloseMetas()
public void setStartSequence(Uint32 startSequence)
public void setEndSequence(Uint32 endSequence)
public void setLedgerCloseMetas(LedgerCloseMeta[] ledgerCloseMetas)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object