Class ContractGetInfoQuery.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ContractGetInfoQuery,ContractGetInfoQuery.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ContractGetInfoQuery,ContractGetInfoQuery.Builder>
com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, ContractGetInfoQueryOrBuilder, Cloneable
Enclosing class:
ContractGetInfoQuery

public static final class ContractGetInfoQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ContractGetInfoQuery,ContractGetInfoQuery.Builder> implements ContractGetInfoQueryOrBuilder
 *
 Request detailed information about a smart contract.
 
Protobuf type proto.ContractGetInfoQuery
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * 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).
    * 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.
    * 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).
    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, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      hasHeader in interface ContractGetInfoQueryOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public 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;
      Specified by:
      getHeader in interface ContractGetInfoQueryOrBuilder
      Returns:
      The header.
    • setHeader

      public ContractGetInfoQuery.Builder 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).
       
      .proto.QueryHeader header = 1;
    • setHeader

      public ContractGetInfoQuery.Builder 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).
       
      .proto.QueryHeader header = 1;
    • mergeHeader

      public ContractGetInfoQuery.Builder 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).
       
      .proto.QueryHeader header = 1;
    • clearHeader

      public ContractGetInfoQuery.Builder 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 information for this smart contract,
       if successful.
       
      .proto.ContractID contractID = 2;
      Specified by:
      hasContractID in interface ContractGetInfoQueryOrBuilder
      Returns:
      Whether the contractID field is set.
    • getContractID

      public ContractID getContractID()
       *
       A smart contract ID.
       <p>
       The network SHALL return information for this smart contract,
       if successful.
       
      .proto.ContractID contractID = 2;
      Specified by:
      getContractID in interface ContractGetInfoQueryOrBuilder
      Returns:
      The contractID.
    • setContractID

      public ContractGetInfoQuery.Builder setContractID(ContractID value)
       *
       A smart contract ID.
       <p>
       The network SHALL return information for this smart contract,
       if successful.
       
      .proto.ContractID contractID = 2;
    • setContractID

      public ContractGetInfoQuery.Builder setContractID(ContractID.Builder builderForValue)
       *
       A smart contract ID.
       <p>
       The network SHALL return information for this smart contract,
       if successful.
       
      .proto.ContractID contractID = 2;
    • mergeContractID

      public ContractGetInfoQuery.Builder mergeContractID(ContractID value)
       *
       A smart contract ID.
       <p>
       The network SHALL return information for this smart contract,
       if successful.
       
      .proto.ContractID contractID = 2;
    • clearContractID

      public ContractGetInfoQuery.Builder clearContractID()
       *
       A smart contract ID.
       <p>
       The network SHALL return information for this smart contract,
       if successful.
       
      .proto.ContractID contractID = 2;