public class DontHave extends java.lang.Object implements XdrElement
struct DontHave
{
MessageType type;
uint256 reqHash;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
DontHave.DontHaveBuilder |
| Constructor and Description |
|---|
DontHave() |
DontHave(MessageType type,
Uint256 reqHash) |
| Modifier and Type | Method and Description |
|---|---|
static DontHave.DontHaveBuilder |
builder() |
static DontHave |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static DontHave |
fromXdrBase64(java.lang.String xdr) |
static DontHave |
fromXdrByteArray(byte[] xdr) |
Uint256 |
getReqHash() |
MessageType |
getType() |
int |
hashCode() |
void |
setReqHash(Uint256 reqHash) |
void |
setType(MessageType type) |
DontHave.DontHaveBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic DontHave()
public DontHave(MessageType type, Uint256 reqHash)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static DontHave decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static DontHave fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static DontHave fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static DontHave.DontHaveBuilder builder()
public DontHave.DontHaveBuilder toBuilder()
public MessageType getType()
public Uint256 getReqHash()
public void setType(MessageType type)
public void setReqHash(Uint256 reqHash)
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