Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllRecords(Iterable<? extends TransactionRecord> values) * A list of records.addRecords(int index, TransactionRecord value) * A list of records.addRecords(int index, TransactionRecord.Builder builderForValue) * A list of records.addRecords(TransactionRecord value) * A list of records.addRecords(TransactionRecord.Builder builderForValue) * A list of records.* An account identifier.<br/> This identifies the account used when filtering the transaction record lists.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* A list of records.* An account identifier.<br/> This identifies the account used when filtering the transaction record lists.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).getRecords(int index) * A list of records.int* A list of records.* A list of records.boolean* An account identifier.<br/> This identifies the account used when filtering the transaction record lists.boolean* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).mergeAccountID(AccountID value) * An account identifier.<br/> This identifies the account used when filtering the transaction record lists.mergeHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).removeRecords(int index) * A list of records.setAccountID(AccountID value) * An account identifier.<br/> This identifies the account used when filtering the transaction record lists.setAccountID(AccountID.Builder builderForValue) * An account identifier.<br/> This identifies the account used when filtering the transaction record lists.setHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).setHeader(ResponseHeader.Builder builderForValue) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).setRecords(int index, TransactionRecord value) * A list of records.setRecords(int index, TransactionRecord.Builder builderForValue) * A list of records.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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:
hasHeaderin interfaceCryptoGetAccountRecordsResponseOrBuilder- Returns:
- Whether the header field is set.
-
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:
getHeaderin interfaceCryptoGetAccountRecordsResponseOrBuilder- 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:
hasAccountIDin interfaceCryptoGetAccountRecordsResponseOrBuilder- Returns:
- Whether the accountID field is set.
-
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:
getAccountIDin interfaceCryptoGetAccountRecordsResponseOrBuilder- 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
* 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
* 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
* 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
* 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:
getRecordsListin interfaceCryptoGetAccountRecordsResponseOrBuilder
-
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:
getRecordsCountin interfaceCryptoGetAccountRecordsResponseOrBuilder
-
getRecords
* 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:
getRecordsin interfaceCryptoGetAccountRecordsResponseOrBuilder
-
setRecords
* 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
* 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(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
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
* 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;
-