Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ContractGetBytecodeQuery.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ContractGetBytecodeQuery,ContractGetBytecodeQuery.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ContractGetBytecodeQuery,ContractGetBytecodeQuery.Builder>
com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ContractGetBytecodeQueryOrBuilder,Cloneable
- Enclosing class:
ContractGetBytecodeQuery
public static final class ContractGetBytecodeQuery.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ContractGetBytecodeQuery,ContractGetBytecodeQuery.Builder>
implements ContractGetBytecodeQueryOrBuilder
* A transaction body to request the current bytecode for a smart contract.Protobuf type
proto.ContractGetBytecodeQuery-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* A smart contract ID.* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).* A smart contract ID.* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).boolean* A smart contract ID.boolean* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).mergeContractID(ContractID value) * A smart contract ID.mergeHeader(QueryHeader value) * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).setContractID(ContractID value) * A smart contract ID.setContractID(ContractID.Builder builderForValue) * A smart contract ID.setHeader(QueryHeader value) * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).setHeader(QueryHeader.Builder builderForValue) * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasHeader
public boolean hasHeader()* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1;- Specified by:
hasHeaderin interfaceContractGetBytecodeQueryOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1;- Specified by:
getHeaderin interfaceContractGetBytecodeQueryOrBuilder- Returns:
- The header.
-
setHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
setHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
mergeHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
clearHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
hasContractID
public boolean hasContractID()* A smart contract ID. <p> The network SHALL return bytecode for this smart contract, if successful.
.proto.ContractID contractID = 2;- Specified by:
hasContractIDin interfaceContractGetBytecodeQueryOrBuilder- Returns:
- Whether the contractID field is set.
-
getContractID
* A smart contract ID. <p> The network SHALL return bytecode for this smart contract, if successful.
.proto.ContractID contractID = 2;- Specified by:
getContractIDin interfaceContractGetBytecodeQueryOrBuilder- Returns:
- The contractID.
-
setContractID
* A smart contract ID. <p> The network SHALL return bytecode for this smart contract, if successful.
.proto.ContractID contractID = 2; -
setContractID
* A smart contract ID. <p> The network SHALL return bytecode for this smart contract, if successful.
.proto.ContractID contractID = 2; -
mergeContractID
* A smart contract ID. <p> The network SHALL return bytecode for this smart contract, if successful.
.proto.ContractID contractID = 2; -
clearContractID
* A smart contract ID. <p> The network SHALL return bytecode for this smart contract, if successful.
.proto.ContractID contractID = 2;
-