Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ContractGetBytecodeResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ContractGetBytecodeResponse,ContractGetBytecodeResponse.Builder
@Generated
public interface ContractGetBytecodeResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString* The current bytecode of the requested smart contract.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).boolean* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasHeader
boolean hasHeader()* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Returns:
- Whether the header field is set.
-
getHeader
ResponseHeader getHeader()* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Returns:
- The header.
-
getBytecode
com.google.protobuf.ByteString getBytecode()* The current bytecode of the requested smart contract.
bytes bytecode = 6;- Returns:
- The bytecode.
-