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, toXdrByteArray
public SCPHistoryEntry()
public SCPHistoryEntry(java.lang.Integer discriminant, SCPHistoryEntryV0 v0)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SCPHistoryEntry decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static SCPHistoryEntry fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SCPHistoryEntry fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object