public class SCPHistoryEntry extends java.lang.Object implements XdrElement
union SCPHistoryEntry switch (int v)
{
case 0:
SCPHistoryEntryV0 v0;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
SCPHistoryEntry.SCPHistoryEntryBuilder |
| Constructor and Description |
|---|
SCPHistoryEntry() |
SCPHistoryEntry(java.lang.Integer discriminant,
SCPHistoryEntryV0 v0) |
| Modifier and Type | Method and Description |
|---|---|
static SCPHistoryEntry.SCPHistoryEntryBuilder |
builder() |
static SCPHistoryEntry |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SCPHistoryEntry |
fromXdrBase64(java.lang.String xdr) |
static SCPHistoryEntry |
fromXdrByteArray(byte[] xdr) |
java.lang.Integer |
getDiscriminant() |
SCPHistoryEntryV0 |
getV0() |
int |
hashCode() |
void |
setDiscriminant(java.lang.Integer discriminant) |
void |
setV0(SCPHistoryEntryV0 v0) |
SCPHistoryEntry.SCPHistoryEntryBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic SCPHistoryEntry()
public SCPHistoryEntry(java.lang.Integer discriminant,
SCPHistoryEntryV0 v0)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static SCPHistoryEntry decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static SCPHistoryEntry fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static SCPHistoryEntry fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static SCPHistoryEntry.SCPHistoryEntryBuilder builder()
public SCPHistoryEntry.SCPHistoryEntryBuilder toBuilder()
public java.lang.Integer getDiscriminant()
public SCPHistoryEntryV0 getV0()
public void setDiscriminant(java.lang.Integer discriminant)
public void setV0(SCPHistoryEntryV0 v0)
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