Class ContractGetRecordsQuery.Builder

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

public static final class ContractGetRecordsQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ContractGetRecordsQuery,ContractGetRecordsQuery.Builder> implements ContractGetRecordsQueryOrBuilder
 *
 Deprecated and not supported after release `0.9.0`.
 Request records of all transactions against the given contract in the last 25 hours.
 
Protobuf type proto.ContractGetRecordsQuery
  • 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 ContractGetRecordsQueryOrBuilder
      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 ContractGetRecordsQueryOrBuilder
      Returns:
      The header.
    • setHeader

      public ContractGetRecordsQuery.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 ContractGetRecordsQuery.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 ContractGetRecordsQuery.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 ContractGetRecordsQuery.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 ContractGetRecordsQueryOrBuilder
      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 ContractGetRecordsQueryOrBuilder
      Returns:
      The contractID.
    • setContractID

      public ContractGetRecordsQuery.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 ContractGetRecordsQuery.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 ContractGetRecordsQuery.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 ContractGetRecordsQuery.Builder clearContractID()
       *
       A smart contract ID.
       <p>
       The network SHALL return information for this smart contract, if successful.
       
      .proto.ContractID contractID = 2;