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