Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ContractGetBytecodeQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ContractGetBytecodeQuery,ContractGetBytecodeQuery.Builder
@Generated
public interface ContractGetBytecodeQueryOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
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).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).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasHeader
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;- Returns:
- Whether the header field is set.
-
getHeader
QueryHeader 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;- Returns:
- The header.
-
hasContractID
boolean hasContractID()* A smart contract ID. <p> The network SHALL return bytecode for this smart contract, if successful.
.proto.ContractID contractID = 2;- Returns:
- Whether the contractID field is set.
-
getContractID
ContractID getContractID()* A smart contract ID. <p> The network SHALL return bytecode for this smart contract, if successful.
.proto.ContractID contractID = 2;- Returns:
- The contractID.
-