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