Package org.stellar.sdk.xdr
Class ConfigUpgradeSetKey
java.lang.Object
org.stellar.sdk.xdr.ConfigUpgradeSetKey
- All Implemented Interfaces:
XdrElement
ConfigUpgradeSetKey's original definition in the XDR file is:
struct ConfigUpgradeSetKey {
ContractID contractID;
Hash contentHash;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static ConfigUpgradeSetKeydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ConfigUpgradeSetKeyfromXdrBase64(String xdr) static ConfigUpgradeSetKeyfromXdrByteArray(byte[] xdr) inthashCode()voidsetContentHash(Hash contentHash) voidsetContractID(ContractID contractID) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
ConfigUpgradeSetKey
public ConfigUpgradeSetKey() -
ConfigUpgradeSetKey
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getContractID
-
getContentHash
-
setContractID
-
setContentHash
-
equals
-
hashCode
public int hashCode() -
toString
-