public class ContractCodeCostInputs extends java.lang.Object implements XdrElement
struct ContractCodeCostInputs { ExtensionPoint ext; uint32 nInstructions; uint32 nFunctions; uint32 nGlobals; uint32 nTableEntries; uint32 nTypes; uint32 nDataSegments; uint32 nElemSegments; uint32 nImports; uint32 nExports; uint32 nDataSegmentBytes; };
Modifier and Type | Class and Description |
---|---|
static class |
ContractCodeCostInputs.ContractCodeCostInputsBuilder |
Constructor and Description |
---|
ContractCodeCostInputs() |
ContractCodeCostInputs(ExtensionPoint ext,
Uint32 nInstructions,
Uint32 nFunctions,
Uint32 nGlobals,
Uint32 nTableEntries,
Uint32 nTypes,
Uint32 nDataSegments,
Uint32 nElemSegments,
Uint32 nImports,
Uint32 nExports,
Uint32 nDataSegmentBytes) |
toXdrBase64, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static ContractCodeCostInputs decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static ContractCodeCostInputs fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ContractCodeCostInputs fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static ContractCodeCostInputs.ContractCodeCostInputsBuilder builder()
public ContractCodeCostInputs.ContractCodeCostInputsBuilder toBuilder()
public ExtensionPoint getExt()
public Uint32 getNInstructions()
public Uint32 getNFunctions()
public Uint32 getNGlobals()
public Uint32 getNTableEntries()
public Uint32 getNTypes()
public Uint32 getNDataSegments()
public Uint32 getNElemSegments()
public Uint32 getNImports()
public Uint32 getNExports()
public Uint32 getNDataSegmentBytes()
public void setExt(ExtensionPoint ext)
public void setNInstructions(Uint32 nInstructions)
public void setNFunctions(Uint32 nFunctions)
public void setNGlobals(Uint32 nGlobals)
public void setNTableEntries(Uint32 nTableEntries)
public void setNTypes(Uint32 nTypes)
public void setNDataSegments(Uint32 nDataSegments)
public void setNElemSegments(Uint32 nElemSegments)
public void setNImports(Uint32 nImports)
public void setNExports(Uint32 nExports)
public void setNDataSegmentBytes(Uint32 nDataSegmentBytes)
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