public static class HashIDPreimage.HashIDPreimageContractID extends java.lang.Object implements XdrElement
struct { Hash networkID; ContractIDPreimage contractIDPreimage; }
Modifier and Type | Class and Description |
---|---|
static class |
HashIDPreimage.HashIDPreimageContractID.HashIDPreimageContractIDBuilder |
Constructor and Description |
---|
HashIDPreimageContractID() |
HashIDPreimageContractID(Hash networkID,
ContractIDPreimage contractIDPreimage) |
Modifier and Type | Method and Description |
---|---|
static HashIDPreimage.HashIDPreimageContractID.HashIDPreimageContractIDBuilder |
builder() |
static HashIDPreimage.HashIDPreimageContractID |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static HashIDPreimage.HashIDPreimageContractID |
fromXdrBase64(java.lang.String xdr) |
static HashIDPreimage.HashIDPreimageContractID |
fromXdrByteArray(byte[] xdr) |
ContractIDPreimage |
getContractIDPreimage() |
Hash |
getNetworkID() |
int |
hashCode() |
void |
setContractIDPreimage(ContractIDPreimage contractIDPreimage) |
void |
setNetworkID(Hash networkID) |
HashIDPreimage.HashIDPreimageContractID.HashIDPreimageContractIDBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public HashIDPreimageContractID()
public HashIDPreimageContractID(Hash networkID, ContractIDPreimage contractIDPreimage)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static HashIDPreimage.HashIDPreimageContractID decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static HashIDPreimage.HashIDPreimageContractID fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static HashIDPreimage.HashIDPreimageContractID fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static HashIDPreimage.HashIDPreimageContractID.HashIDPreimageContractIDBuilder builder()
public HashIDPreimage.HashIDPreimageContractID.HashIDPreimageContractIDBuilder toBuilder()
public Hash getNetworkID()
public ContractIDPreimage getContractIDPreimage()
public void setNetworkID(Hash networkID)
public void setContractIDPreimage(ContractIDPreimage contractIDPreimage)
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