public class TransactionPhase extends java.lang.Object implements XdrElement
union TransactionPhase switch (int v) { case 0: TxSetComponent v0Components<>; case 1: ParallelTxsComponent parallelTxsComponent; };
Modifier and Type | Class and Description |
---|---|
static class |
TransactionPhase.TransactionPhaseBuilder |
Constructor and Description |
---|
TransactionPhase() |
TransactionPhase(java.lang.Integer discriminant,
TxSetComponent[] v0Components,
ParallelTxsComponent parallelTxsComponent) |
Modifier and Type | Method and Description |
---|---|
static TransactionPhase.TransactionPhaseBuilder |
builder() |
static TransactionPhase |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TransactionPhase |
fromXdrBase64(java.lang.String xdr) |
static TransactionPhase |
fromXdrByteArray(byte[] xdr) |
java.lang.Integer |
getDiscriminant() |
ParallelTxsComponent |
getParallelTxsComponent() |
TxSetComponent[] |
getV0Components() |
int |
hashCode() |
void |
setDiscriminant(java.lang.Integer discriminant) |
void |
setParallelTxsComponent(ParallelTxsComponent parallelTxsComponent) |
void |
setV0Components(TxSetComponent[] v0Components) |
TransactionPhase.TransactionPhaseBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TransactionPhase()
public TransactionPhase(java.lang.Integer discriminant, TxSetComponent[] v0Components, ParallelTxsComponent parallelTxsComponent)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TransactionPhase decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TransactionPhase fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TransactionPhase fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TransactionPhase.TransactionPhaseBuilder builder()
public TransactionPhase.TransactionPhaseBuilder toBuilder()
public java.lang.Integer getDiscriminant()
public TxSetComponent[] getV0Components()
public ParallelTxsComponent getParallelTxsComponent()
public void setDiscriminant(java.lang.Integer discriminant)
public void setV0Components(TxSetComponent[] v0Components)
public void setParallelTxsComponent(ParallelTxsComponent parallelTxsComponent)
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