Class CryptoGetAccountRecordsResponse.Builder

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

public static final class CryptoGetAccountRecordsResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CryptoGetAccountRecordsResponse,CryptoGetAccountRecordsResponse.Builder> implements CryptoGetAccountRecordsResponseOrBuilder
 *
 Return records of all "recent" transactions for which the specified
 account is the effective payer.
 
Protobuf type proto.CryptoGetAccountRecordsResponse
  • Method Details

    • hasHeader

      public 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;
      Specified by:
      hasHeader in interface CryptoGetAccountRecordsResponseOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

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

       *
       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;
    • setHeader

       *
       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;
    • mergeHeader

       *
       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;
    • clearHeader

       *
       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;
    • hasAccountID

      public boolean hasAccountID()
       *
       An account identifier.<br/>
       This identifies the account used when filtering the
       transaction record lists.
       <p>
       This field SHALL match the requested account identifier.
       
      .proto.AccountID accountID = 2;
      Specified by:
      hasAccountID in interface CryptoGetAccountRecordsResponseOrBuilder
      Returns:
      Whether the accountID field is set.
    • getAccountID

      public AccountID getAccountID()
       *
       An account identifier.<br/>
       This identifies the account used when filtering the
       transaction record lists.
       <p>
       This field SHALL match the requested account identifier.
       
      .proto.AccountID accountID = 2;
      Specified by:
      getAccountID in interface CryptoGetAccountRecordsResponseOrBuilder
      Returns:
      The accountID.
    • setAccountID

       *
       An account identifier.<br/>
       This identifies the account used when filtering the
       transaction record lists.
       <p>
       This field SHALL match the requested account identifier.
       
      .proto.AccountID accountID = 2;
    • setAccountID

      public CryptoGetAccountRecordsResponse.Builder setAccountID(AccountID.Builder builderForValue)
       *
       An account identifier.<br/>
       This identifies the account used when filtering the
       transaction record lists.
       <p>
       This field SHALL match the requested account identifier.
       
      .proto.AccountID accountID = 2;
    • mergeAccountID

      public CryptoGetAccountRecordsResponse.Builder mergeAccountID(AccountID value)
       *
       An account identifier.<br/>
       This identifies the account used when filtering the
       transaction record lists.
       <p>
       This field SHALL match the requested account identifier.
       
      .proto.AccountID accountID = 2;
    • clearAccountID

      public CryptoGetAccountRecordsResponse.Builder clearAccountID()
       *
       An account identifier.<br/>
       This identifies the account used when filtering the
       transaction record lists.
       <p>
       This field SHALL match the requested account identifier.
       
      .proto.AccountID accountID = 2;
    • getRecordsList

      public List<TransactionRecord> getRecordsList()
       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
      Specified by:
      getRecordsList in interface CryptoGetAccountRecordsResponseOrBuilder
    • getRecordsCount

      public int getRecordsCount()
       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
      Specified by:
      getRecordsCount in interface CryptoGetAccountRecordsResponseOrBuilder
    • getRecords

      public TransactionRecord getRecords(int index)
       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
      Specified by:
      getRecords in interface CryptoGetAccountRecordsResponseOrBuilder
    • setRecords

      public CryptoGetAccountRecordsResponse.Builder setRecords(int index, TransactionRecord value)
       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
    • setRecords

      public CryptoGetAccountRecordsResponse.Builder setRecords(int index, TransactionRecord.Builder builderForValue)
       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
    • addRecords

       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
    • addRecords

      public CryptoGetAccountRecordsResponse.Builder addRecords(int index, TransactionRecord value)
       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
    • addRecords

       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
    • addRecords

      public CryptoGetAccountRecordsResponse.Builder addRecords(int index, TransactionRecord.Builder builderForValue)
       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
    • addAllRecords

      public CryptoGetAccountRecordsResponse.Builder addAllRecords(Iterable<? extends TransactionRecord> values)
       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
    • clearRecords

       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;
    • removeRecords

      public CryptoGetAccountRecordsResponse.Builder removeRecords(int index)
       *
       A list of records.
       <p>
       This list SHALL contain all available and "recent" records in which
       the account identified in the `accountID` field acted as effective payer.
       
      repeated .proto.TransactionRecord records = 3;