public static class ContractEvent.ContractEventBody extends java.lang.Object implements XdrElement
union switch (int v) { case 0: struct { SCVal topics<>; SCVal data; } v0; }
Modifier and Type | Class and Description |
---|---|
static class |
ContractEvent.ContractEventBody.ContractEventBodyBuilder |
static class |
ContractEvent.ContractEventBody.ContractEventV0
ContractEventV0's original definition in the XDR file is:
|
Constructor and Description |
---|
ContractEventBody() |
ContractEventBody(java.lang.Integer discriminant,
ContractEvent.ContractEventBody.ContractEventV0 v0) |
Modifier and Type | Method and Description |
---|---|
static ContractEvent.ContractEventBody.ContractEventBodyBuilder |
builder() |
static ContractEvent.ContractEventBody |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static ContractEvent.ContractEventBody |
fromXdrBase64(java.lang.String xdr) |
static ContractEvent.ContractEventBody |
fromXdrByteArray(byte[] xdr) |
java.lang.Integer |
getDiscriminant() |
ContractEvent.ContractEventBody.ContractEventV0 |
getV0() |
int |
hashCode() |
void |
setDiscriminant(java.lang.Integer discriminant) |
void |
setV0(ContractEvent.ContractEventBody.ContractEventV0 v0) |
ContractEvent.ContractEventBody.ContractEventBodyBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public ContractEventBody()
public ContractEventBody(java.lang.Integer discriminant, ContractEvent.ContractEventBody.ContractEventV0 v0)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static ContractEvent.ContractEventBody decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static ContractEvent.ContractEventBody fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ContractEvent.ContractEventBody fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static ContractEvent.ContractEventBody.ContractEventBodyBuilder builder()
public ContractEvent.ContractEventBody.ContractEventBodyBuilder toBuilder()
public java.lang.Integer getDiscriminant()
public ContractEvent.ContractEventBody.ContractEventV0 getV0()
public void setDiscriminant(java.lang.Integer discriminant)
public void setV0(ContractEvent.ContractEventBody.ContractEventV0 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