Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class GetAccountDetailsResponse.AccountDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<GetAccountDetailsResponse.AccountDetails,GetAccountDetailsResponse.AccountDetails.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<GetAccountDetailsResponse.AccountDetails,GetAccountDetailsResponse.AccountDetails.Builder>
com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.AccountDetails.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,GetAccountDetailsResponse.AccountDetailsOrBuilder,Cloneable
- Enclosing class:
GetAccountDetailsResponse.AccountDetails
public static final class GetAccountDetailsResponse.AccountDetails.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<GetAccountDetailsResponse.AccountDetails,GetAccountDetailsResponse.AccountDetails.Builder>
implements GetAccountDetailsResponse.AccountDetailsOrBuilder
* Information describing a single Account in the Hedera distributed ledger. #### Attributes Each Account may have a unique three-part identifier, a Key, and one or more token balances. Accounts also have an alias, which has multiple forms, and may be set automatically. Several additional items are associated with the Account to enable full functionality. #### Expiration Accounts, as most items in the network, have an expiration time, recorded as a `Timestamp`, and must be "renewed" for a small fee at expiration. This helps to reduce the amount of inactive accounts retained in state. Another account may be designated to pay any renewal fees and automatically renew the account for (by default) 30-90 days at a time as a means to optionally ensure important accounts remain active. ### Staking Accounts may participate in securing the network by "staking" the account balances to a particular network node, and receive a portion of network fees as a reward. An account may optionally decline these rewards but still stake its balances. #### Transfer Restrictions An account may optionally require that inbound transfer transactions be signed by that account as receiver (in addition to any other signatures required, including sender).Protobuf type
proto.GetAccountDetailsResponse.AccountDetails-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllGrantedCryptoAllowances(Iterable<? extends GrantedCryptoAllowance> values) * A list of crypto (HBAR) allowances approved by this account.addAllGrantedNftAllowances(Iterable<? extends GrantedNftAllowance> values) * A list of non-fungible token (NFT) allowances approved by this account.addAllGrantedTokenAllowances(Iterable<? extends GrantedTokenAllowance> values) * A list of fungible token allowances approved by this account.addAllTokenRelationships(Iterable<? extends TokenRelationship> values) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.addGrantedCryptoAllowances(int index, GrantedCryptoAllowance value) * A list of crypto (HBAR) allowances approved by this account.addGrantedCryptoAllowances(int index, GrantedCryptoAllowance.Builder builderForValue) * A list of crypto (HBAR) allowances approved by this account.* A list of crypto (HBAR) allowances approved by this account.addGrantedCryptoAllowances(GrantedCryptoAllowance.Builder builderForValue) * A list of crypto (HBAR) allowances approved by this account.addGrantedNftAllowances(int index, GrantedNftAllowance value) * A list of non-fungible token (NFT) allowances approved by this account.addGrantedNftAllowances(int index, GrantedNftAllowance.Builder builderForValue) * A list of non-fungible token (NFT) allowances approved by this account.* A list of non-fungible token (NFT) allowances approved by this account.addGrantedNftAllowances(GrantedNftAllowance.Builder builderForValue) * A list of non-fungible token (NFT) allowances approved by this account.addGrantedTokenAllowances(int index, GrantedTokenAllowance value) * A list of fungible token allowances approved by this account.addGrantedTokenAllowances(int index, GrantedTokenAllowance.Builder builderForValue) * A list of fungible token allowances approved by this account.* A list of fungible token allowances approved by this account.addGrantedTokenAllowances(GrantedTokenAllowance.Builder builderForValue) * A list of fungible token allowances approved by this account.addTokenRelationships(int index, TokenRelationship value) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.addTokenRelationships(int index, TokenRelationship.Builder builderForValue) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.addTokenRelationships(TokenRelationship.Builder builderForValue) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.* The unique ID of this account.* An account EVM alias.<br/> This is a value used in some contexts to reference an account when the tripartite account identifier is not available.* A duration to extend this account's expiration.* The HBAR balance of this account, in tinybar (10<sup>-8</sup> HBAR).* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance.* A boolean indicating that this account is deleted.* The current expiration time for this account.* A list of crypto (HBAR) allowances approved by this account.* A list of non-fungible token (NFT) allowances approved by this account.* A list of fungible token allowances approved by this account.clearKey()* The key to be used to sign transactions from this account, if any.* The ledger ID of the network that generated this response.* The maximum number of tokens that can be auto-associated with the account.* A short description of this account.* The total number of non-fungible/unique tokens owned by this account.Deprecated.* The total amount of tinybar proxy staked to this account.* A boolean indicating that the account requires a receiver signature for inbound token transfer transactions.* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.* The unique ID of this account.com.google.protobuf.ByteStringgetAlias()* An account EVM alias.<br/> This is a value used in some contexts to reference an account when the tripartite account identifier is not available.* A duration to extend this account's expiration.long* The HBAR balance of this account, in tinybar (10<sup>-8</sup> HBAR).* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance.com.google.protobuf.ByteString* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance.boolean* A boolean indicating that this account is deleted.* The current expiration time for this account.getGrantedCryptoAllowances(int index) * A list of crypto (HBAR) allowances approved by this account.int* A list of crypto (HBAR) allowances approved by this account.* A list of crypto (HBAR) allowances approved by this account.getGrantedNftAllowances(int index) * A list of non-fungible token (NFT) allowances approved by this account.int* A list of non-fungible token (NFT) allowances approved by this account.* A list of non-fungible token (NFT) allowances approved by this account.getGrantedTokenAllowances(int index) * A list of fungible token allowances approved by this account.int* A list of fungible token allowances approved by this account.* A list of fungible token allowances approved by this account.getKey()* The key to be used to sign transactions from this account, if any.com.google.protobuf.ByteString* The ledger ID of the network that generated this response.int* The maximum number of tokens that can be auto-associated with the account.getMemo()* A short description of this account.com.google.protobuf.ByteString* A short description of this account.long* The total number of non-fungible/unique tokens owned by this account.Deprecated.long* The total amount of tinybar proxy staked to this account.boolean* A boolean indicating that the account requires a receiver signature for inbound token transfer transactions.getTokenRelationships(int index) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.int* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.boolean* The unique ID of this account.boolean* A duration to extend this account's expiration.boolean* The current expiration time for this account.booleanhasKey()* The key to be used to sign transactions from this account, if any.booleanDeprecated.mergeAccountId(AccountID value) * The unique ID of this account.mergeAutoRenewPeriod(Duration value) * A duration to extend this account's expiration.mergeExpirationTime(Timestamp value) * The current expiration time for this account.* The key to be used to sign transactions from this account, if any.mergeProxyAccountId(AccountID value) Deprecated.removeGrantedCryptoAllowances(int index) * A list of crypto (HBAR) allowances approved by this account.removeGrantedNftAllowances(int index) * A list of non-fungible token (NFT) allowances approved by this account.removeGrantedTokenAllowances(int index) * A list of fungible token allowances approved by this account.removeTokenRelationships(int index) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.setAccountId(AccountID value) * The unique ID of this account.setAccountId(AccountID.Builder builderForValue) * The unique ID of this account.setAlias(com.google.protobuf.ByteString value) * An account EVM alias.<br/> This is a value used in some contexts to reference an account when the tripartite account identifier is not available.setAutoRenewPeriod(Duration value) * A duration to extend this account's expiration.setAutoRenewPeriod(Duration.Builder builderForValue) * A duration to extend this account's expiration.setBalance(long value) * The HBAR balance of this account, in tinybar (10<sup>-8</sup> HBAR).setContractAccountId(String value) * A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance.setContractAccountIdBytes(com.google.protobuf.ByteString value) * A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance.setDeleted(boolean value) * A boolean indicating that this account is deleted.setExpirationTime(Timestamp value) * The current expiration time for this account.setExpirationTime(Timestamp.Builder builderForValue) * The current expiration time for this account.setGrantedCryptoAllowances(int index, GrantedCryptoAllowance value) * A list of crypto (HBAR) allowances approved by this account.setGrantedCryptoAllowances(int index, GrantedCryptoAllowance.Builder builderForValue) * A list of crypto (HBAR) allowances approved by this account.setGrantedNftAllowances(int index, GrantedNftAllowance value) * A list of non-fungible token (NFT) allowances approved by this account.setGrantedNftAllowances(int index, GrantedNftAllowance.Builder builderForValue) * A list of non-fungible token (NFT) allowances approved by this account.setGrantedTokenAllowances(int index, GrantedTokenAllowance value) * A list of fungible token allowances approved by this account.setGrantedTokenAllowances(int index, GrantedTokenAllowance.Builder builderForValue) * A list of fungible token allowances approved by this account.* The key to be used to sign transactions from this account, if any.setKey(Key.Builder builderForValue) * The key to be used to sign transactions from this account, if any.setLedgerId(com.google.protobuf.ByteString value) * The ledger ID of the network that generated this response.setMaxAutomaticTokenAssociations(int value) * The maximum number of tokens that can be auto-associated with the account.* A short description of this account.setMemoBytes(com.google.protobuf.ByteString value) * A short description of this account.setOwnedNfts(long value) * The total number of non-fungible/unique tokens owned by this account.setProxyAccountId(AccountID value) Deprecated.setProxyAccountId(AccountID.Builder builderForValue) Deprecated.setProxyReceived(long value) * The total amount of tinybar proxy staked to this account.setReceiverSigRequired(boolean value) * A boolean indicating that the account requires a receiver signature for inbound token transfer transactions.setTokenRelationships(int index, TokenRelationship value) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.setTokenRelationships(int index, TokenRelationship.Builder builderForValue) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.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
-
hasAccountId
public boolean hasAccountId()* The unique ID of this account. <p> An account ID, when assigned to this field, SHALL be of the form `shard.realm.number`.<br/> Transactions MAY reference the account by alias, but the account itself MUST always have a purely numeric identifier. This numeric ID is the value used to reference the account in query responses, transaction receipts, transaction records, and the block stream.
.proto.AccountID account_id = 1;- Specified by:
hasAccountIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- Whether the accountId field is set.
-
getAccountId
* The unique ID of this account. <p> An account ID, when assigned to this field, SHALL be of the form `shard.realm.number`.<br/> Transactions MAY reference the account by alias, but the account itself MUST always have a purely numeric identifier. This numeric ID is the value used to reference the account in query responses, transaction receipts, transaction records, and the block stream.
.proto.AccountID account_id = 1;- Specified by:
getAccountIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The accountId.
-
setAccountId
* The unique ID of this account. <p> An account ID, when assigned to this field, SHALL be of the form `shard.realm.number`.<br/> Transactions MAY reference the account by alias, but the account itself MUST always have a purely numeric identifier. This numeric ID is the value used to reference the account in query responses, transaction receipts, transaction records, and the block stream.
.proto.AccountID account_id = 1; -
setAccountId
public GetAccountDetailsResponse.AccountDetails.Builder setAccountId(AccountID.Builder builderForValue) * The unique ID of this account. <p> An account ID, when assigned to this field, SHALL be of the form `shard.realm.number`.<br/> Transactions MAY reference the account by alias, but the account itself MUST always have a purely numeric identifier. This numeric ID is the value used to reference the account in query responses, transaction receipts, transaction records, and the block stream.
.proto.AccountID account_id = 1; -
mergeAccountId
* The unique ID of this account. <p> An account ID, when assigned to this field, SHALL be of the form `shard.realm.number`.<br/> Transactions MAY reference the account by alias, but the account itself MUST always have a purely numeric identifier. This numeric ID is the value used to reference the account in query responses, transaction receipts, transaction records, and the block stream.
.proto.AccountID account_id = 1; -
clearAccountId
* The unique ID of this account. <p> An account ID, when assigned to this field, SHALL be of the form `shard.realm.number`.<br/> Transactions MAY reference the account by alias, but the account itself MUST always have a purely numeric identifier. This numeric ID is the value used to reference the account in query responses, transaction receipts, transaction records, and the block stream.
.proto.AccountID account_id = 1; -
getContractAccountId
* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance. <p> This SHALL be populated if this account is a smart contract, and SHALL NOT be populated otherwise.<br/> This SHALL be formatted as a string according to Solidity ID standards.
string contract_account_id = 2;- Specified by:
getContractAccountIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The contractAccountId.
-
getContractAccountIdBytes
public com.google.protobuf.ByteString getContractAccountIdBytes()* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance. <p> This SHALL be populated if this account is a smart contract, and SHALL NOT be populated otherwise.<br/> This SHALL be formatted as a string according to Solidity ID standards.
string contract_account_id = 2;- Specified by:
getContractAccountIdBytesin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The bytes for contractAccountId.
-
setContractAccountId
* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance. <p> This SHALL be populated if this account is a smart contract, and SHALL NOT be populated otherwise.<br/> This SHALL be formatted as a string according to Solidity ID standards.
string contract_account_id = 2;- Parameters:
value- The contractAccountId to set.- Returns:
- This builder for chaining.
-
clearContractAccountId
* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance. <p> This SHALL be populated if this account is a smart contract, and SHALL NOT be populated otherwise.<br/> This SHALL be formatted as a string according to Solidity ID standards.
string contract_account_id = 2;- Returns:
- This builder for chaining.
-
setContractAccountIdBytes
public GetAccountDetailsResponse.AccountDetails.Builder setContractAccountIdBytes(com.google.protobuf.ByteString value) * A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance. <p> This SHALL be populated if this account is a smart contract, and SHALL NOT be populated otherwise.<br/> This SHALL be formatted as a string according to Solidity ID standards.
string contract_account_id = 2;- Parameters:
value- The bytes for contractAccountId to set.- Returns:
- This builder for chaining.
-
getDeleted
public boolean getDeleted()* A boolean indicating that this account is deleted.
bool deleted = 3;- Specified by:
getDeletedin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The deleted.
-
setDeleted
* A boolean indicating that this account is deleted.
bool deleted = 3;- Parameters:
value- The deleted to set.- Returns:
- This builder for chaining.
-
clearDeleted
* A boolean indicating that this account is deleted.
bool deleted = 3;- Returns:
- This builder for chaining.
-
hasProxyAccountId
Deprecated.* Replaced by StakingInfo.<br/> ID of the account to which this account is staking its balances. If this account is not currently staking its balances, then this field, if set, SHALL be the sentinel value of `0.0.0`.
.proto.AccountID proxy_account_id = 4 [deprecated = true];- Specified by:
hasProxyAccountIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- Whether the proxyAccountId field is set.
-
getProxyAccountId
Deprecated.* Replaced by StakingInfo.<br/> ID of the account to which this account is staking its balances. If this account is not currently staking its balances, then this field, if set, SHALL be the sentinel value of `0.0.0`.
.proto.AccountID proxy_account_id = 4 [deprecated = true];- Specified by:
getProxyAccountIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The proxyAccountId.
-
setProxyAccountId
@Deprecated public GetAccountDetailsResponse.AccountDetails.Builder setProxyAccountId(AccountID value) Deprecated.* Replaced by StakingInfo.<br/> ID of the account to which this account is staking its balances. If this account is not currently staking its balances, then this field, if set, SHALL be the sentinel value of `0.0.0`.
.proto.AccountID proxy_account_id = 4 [deprecated = true]; -
setProxyAccountId
@Deprecated public GetAccountDetailsResponse.AccountDetails.Builder setProxyAccountId(AccountID.Builder builderForValue) Deprecated.* Replaced by StakingInfo.<br/> ID of the account to which this account is staking its balances. If this account is not currently staking its balances, then this field, if set, SHALL be the sentinel value of `0.0.0`.
.proto.AccountID proxy_account_id = 4 [deprecated = true]; -
mergeProxyAccountId
@Deprecated public GetAccountDetailsResponse.AccountDetails.Builder mergeProxyAccountId(AccountID value) Deprecated.* Replaced by StakingInfo.<br/> ID of the account to which this account is staking its balances. If this account is not currently staking its balances, then this field, if set, SHALL be the sentinel value of `0.0.0`.
.proto.AccountID proxy_account_id = 4 [deprecated = true]; -
clearProxyAccountId
Deprecated.* Replaced by StakingInfo.<br/> ID of the account to which this account is staking its balances. If this account is not currently staking its balances, then this field, if set, SHALL be the sentinel value of `0.0.0`.
.proto.AccountID proxy_account_id = 4 [deprecated = true]; -
getProxyReceived
public long getProxyReceived()* The total amount of tinybar proxy staked to this account.
int64 proxy_received = 5;- Specified by:
getProxyReceivedin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The proxyReceived.
-
setProxyReceived
* The total amount of tinybar proxy staked to this account.
int64 proxy_received = 5;- Parameters:
value- The proxyReceived to set.- Returns:
- This builder for chaining.
-
clearProxyReceived
* The total amount of tinybar proxy staked to this account.
int64 proxy_received = 5;- Returns:
- This builder for chaining.
-
hasKey
public boolean hasKey()* The key to be used to sign transactions from this account, if any. <p> This key SHALL NOT be set for hollow accounts until the account is finalized.<br/> This key SHALL be set on all other accounts, except for certain immutable accounts (0.0.800 and 0.0.801) necessary for network function and otherwise secured by the governing council.
.proto.Key key = 6;- Specified by:
hasKeyin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- Whether the key field is set.
-
getKey
* The key to be used to sign transactions from this account, if any. <p> This key SHALL NOT be set for hollow accounts until the account is finalized.<br/> This key SHALL be set on all other accounts, except for certain immutable accounts (0.0.800 and 0.0.801) necessary for network function and otherwise secured by the governing council.
.proto.Key key = 6;- Specified by:
getKeyin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The key.
-
setKey
* The key to be used to sign transactions from this account, if any. <p> This key SHALL NOT be set for hollow accounts until the account is finalized.<br/> This key SHALL be set on all other accounts, except for certain immutable accounts (0.0.800 and 0.0.801) necessary for network function and otherwise secured by the governing council.
.proto.Key key = 6; -
setKey
* The key to be used to sign transactions from this account, if any. <p> This key SHALL NOT be set for hollow accounts until the account is finalized.<br/> This key SHALL be set on all other accounts, except for certain immutable accounts (0.0.800 and 0.0.801) necessary for network function and otherwise secured by the governing council.
.proto.Key key = 6; -
mergeKey
* The key to be used to sign transactions from this account, if any. <p> This key SHALL NOT be set for hollow accounts until the account is finalized.<br/> This key SHALL be set on all other accounts, except for certain immutable accounts (0.0.800 and 0.0.801) necessary for network function and otherwise secured by the governing council.
.proto.Key key = 6; -
clearKey
* The key to be used to sign transactions from this account, if any. <p> This key SHALL NOT be set for hollow accounts until the account is finalized.<br/> This key SHALL be set on all other accounts, except for certain immutable accounts (0.0.800 and 0.0.801) necessary for network function and otherwise secured by the governing council.
.proto.Key key = 6; -
getBalance
public long getBalance()* The HBAR balance of this account, in tinybar (10<sup>-8</sup> HBAR). <p> This value SHALL always be a whole number.
uint64 balance = 7;- Specified by:
getBalancein interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The balance.
-
setBalance
* The HBAR balance of this account, in tinybar (10<sup>-8</sup> HBAR). <p> This value SHALL always be a whole number.
uint64 balance = 7;- Parameters:
value- The balance to set.- Returns:
- This builder for chaining.
-
clearBalance
* The HBAR balance of this account, in tinybar (10<sup>-8</sup> HBAR). <p> This value SHALL always be a whole number.
uint64 balance = 7;- Returns:
- This builder for chaining.
-
getReceiverSigRequired
public boolean getReceiverSigRequired()* A boolean indicating that the account requires a receiver signature for inbound token transfer transactions. <p> If this value is `true` then a transaction to transfer tokens to this account SHALL NOT succeed unless this account has signed the transfer transaction.
bool receiver_sig_required = 8;- Specified by:
getReceiverSigRequiredin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The receiverSigRequired.
-
setReceiverSigRequired
* A boolean indicating that the account requires a receiver signature for inbound token transfer transactions. <p> If this value is `true` then a transaction to transfer tokens to this account SHALL NOT succeed unless this account has signed the transfer transaction.
bool receiver_sig_required = 8;- Parameters:
value- The receiverSigRequired to set.- Returns:
- This builder for chaining.
-
clearReceiverSigRequired
* A boolean indicating that the account requires a receiver signature for inbound token transfer transactions. <p> If this value is `true` then a transaction to transfer tokens to this account SHALL NOT succeed unless this account has signed the transfer transaction.
bool receiver_sig_required = 8;- Returns:
- This builder for chaining.
-
hasExpirationTime
public boolean hasExpirationTime()* The current expiration time for this account. <p> This account SHALL be due standard renewal fees when the network consensus time exceeds this time.<br/> If rent and expiration are enabled for the network, and automatic renewal is enabled for this account, renewal fees SHALL be charged after this time, and, if charged, the expiration time SHALL be extended for another renewal period.<br/> This account MAY be expired and removed from state at any point after this time if not renewed.<br/> An account holder MAY extend this time by submitting an account update transaction to modify expiration time, subject to the current maximum expiration time for the network.
.proto.Timestamp expiration_time = 9;- Specified by:
hasExpirationTimein interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
* The current expiration time for this account. <p> This account SHALL be due standard renewal fees when the network consensus time exceeds this time.<br/> If rent and expiration are enabled for the network, and automatic renewal is enabled for this account, renewal fees SHALL be charged after this time, and, if charged, the expiration time SHALL be extended for another renewal period.<br/> This account MAY be expired and removed from state at any point after this time if not renewed.<br/> An account holder MAY extend this time by submitting an account update transaction to modify expiration time, subject to the current maximum expiration time for the network.
.proto.Timestamp expiration_time = 9;- Specified by:
getExpirationTimein interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The expirationTime.
-
setExpirationTime
* The current expiration time for this account. <p> This account SHALL be due standard renewal fees when the network consensus time exceeds this time.<br/> If rent and expiration are enabled for the network, and automatic renewal is enabled for this account, renewal fees SHALL be charged after this time, and, if charged, the expiration time SHALL be extended for another renewal period.<br/> This account MAY be expired and removed from state at any point after this time if not renewed.<br/> An account holder MAY extend this time by submitting an account update transaction to modify expiration time, subject to the current maximum expiration time for the network.
.proto.Timestamp expiration_time = 9; -
setExpirationTime
public GetAccountDetailsResponse.AccountDetails.Builder setExpirationTime(Timestamp.Builder builderForValue) * The current expiration time for this account. <p> This account SHALL be due standard renewal fees when the network consensus time exceeds this time.<br/> If rent and expiration are enabled for the network, and automatic renewal is enabled for this account, renewal fees SHALL be charged after this time, and, if charged, the expiration time SHALL be extended for another renewal period.<br/> This account MAY be expired and removed from state at any point after this time if not renewed.<br/> An account holder MAY extend this time by submitting an account update transaction to modify expiration time, subject to the current maximum expiration time for the network.
.proto.Timestamp expiration_time = 9; -
mergeExpirationTime
* The current expiration time for this account. <p> This account SHALL be due standard renewal fees when the network consensus time exceeds this time.<br/> If rent and expiration are enabled for the network, and automatic renewal is enabled for this account, renewal fees SHALL be charged after this time, and, if charged, the expiration time SHALL be extended for another renewal period.<br/> This account MAY be expired and removed from state at any point after this time if not renewed.<br/> An account holder MAY extend this time by submitting an account update transaction to modify expiration time, subject to the current maximum expiration time for the network.
.proto.Timestamp expiration_time = 9; -
clearExpirationTime
* The current expiration time for this account. <p> This account SHALL be due standard renewal fees when the network consensus time exceeds this time.<br/> If rent and expiration are enabled for the network, and automatic renewal is enabled for this account, renewal fees SHALL be charged after this time, and, if charged, the expiration time SHALL be extended for another renewal period.<br/> This account MAY be expired and removed from state at any point after this time if not renewed.<br/> An account holder MAY extend this time by submitting an account update transaction to modify expiration time, subject to the current maximum expiration time for the network.
.proto.Timestamp expiration_time = 9; -
hasAutoRenewPeriod
public boolean hasAutoRenewPeriod()* A duration to extend this account's expiration. <p> The network SHALL extend the account's expiration by this duration, if funds are available, upon automatic renewal.<br/> This SHALL NOT apply if the account is already deleted upon expiration.<br/> If this is not provided in an allowed range on account creation, the transaction SHALL fail with INVALID_AUTO_RENEWAL_PERIOD. The default values for the minimum period and maximum period are currently 30 days and 90 days, respectively.
.proto.Duration auto_renew_period = 10;- Specified by:
hasAutoRenewPeriodin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- Whether the autoRenewPeriod field is set.
-
getAutoRenewPeriod
* A duration to extend this account's expiration. <p> The network SHALL extend the account's expiration by this duration, if funds are available, upon automatic renewal.<br/> This SHALL NOT apply if the account is already deleted upon expiration.<br/> If this is not provided in an allowed range on account creation, the transaction SHALL fail with INVALID_AUTO_RENEWAL_PERIOD. The default values for the minimum period and maximum period are currently 30 days and 90 days, respectively.
.proto.Duration auto_renew_period = 10;- Specified by:
getAutoRenewPeriodin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The autoRenewPeriod.
-
setAutoRenewPeriod
* A duration to extend this account's expiration. <p> The network SHALL extend the account's expiration by this duration, if funds are available, upon automatic renewal.<br/> This SHALL NOT apply if the account is already deleted upon expiration.<br/> If this is not provided in an allowed range on account creation, the transaction SHALL fail with INVALID_AUTO_RENEWAL_PERIOD. The default values for the minimum period and maximum period are currently 30 days and 90 days, respectively.
.proto.Duration auto_renew_period = 10; -
setAutoRenewPeriod
public GetAccountDetailsResponse.AccountDetails.Builder setAutoRenewPeriod(Duration.Builder builderForValue) * A duration to extend this account's expiration. <p> The network SHALL extend the account's expiration by this duration, if funds are available, upon automatic renewal.<br/> This SHALL NOT apply if the account is already deleted upon expiration.<br/> If this is not provided in an allowed range on account creation, the transaction SHALL fail with INVALID_AUTO_RENEWAL_PERIOD. The default values for the minimum period and maximum period are currently 30 days and 90 days, respectively.
.proto.Duration auto_renew_period = 10; -
mergeAutoRenewPeriod
* A duration to extend this account's expiration. <p> The network SHALL extend the account's expiration by this duration, if funds are available, upon automatic renewal.<br/> This SHALL NOT apply if the account is already deleted upon expiration.<br/> If this is not provided in an allowed range on account creation, the transaction SHALL fail with INVALID_AUTO_RENEWAL_PERIOD. The default values for the minimum period and maximum period are currently 30 days and 90 days, respectively.
.proto.Duration auto_renew_period = 10; -
clearAutoRenewPeriod
* A duration to extend this account's expiration. <p> The network SHALL extend the account's expiration by this duration, if funds are available, upon automatic renewal.<br/> This SHALL NOT apply if the account is already deleted upon expiration.<br/> If this is not provided in an allowed range on account creation, the transaction SHALL fail with INVALID_AUTO_RENEWAL_PERIOD. The default values for the minimum period and maximum period are currently 30 days and 90 days, respectively.
.proto.Duration auto_renew_period = 10; -
getTokenRelationshipsList
* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11;- Specified by:
getTokenRelationshipsListin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getTokenRelationshipsCount
public int getTokenRelationshipsCount()* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11;- Specified by:
getTokenRelationshipsCountin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getTokenRelationships
* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11;- Specified by:
getTokenRelationshipsin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
setTokenRelationships
public GetAccountDetailsResponse.AccountDetails.Builder setTokenRelationships(int index, TokenRelationship value) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11; -
setTokenRelationships
public GetAccountDetailsResponse.AccountDetails.Builder setTokenRelationships(int index, TokenRelationship.Builder builderForValue) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11; -
addTokenRelationships
public GetAccountDetailsResponse.AccountDetails.Builder addTokenRelationships(TokenRelationship value) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11; -
addTokenRelationships
public GetAccountDetailsResponse.AccountDetails.Builder addTokenRelationships(int index, TokenRelationship value) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11; -
addTokenRelationships
public GetAccountDetailsResponse.AccountDetails.Builder addTokenRelationships(TokenRelationship.Builder builderForValue) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11; -
addTokenRelationships
public GetAccountDetailsResponse.AccountDetails.Builder addTokenRelationships(int index, TokenRelationship.Builder builderForValue) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11; -
addAllTokenRelationships
public GetAccountDetailsResponse.AccountDetails.Builder addAllTokenRelationships(Iterable<? extends TokenRelationship> values) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11; -
clearTokenRelationships
* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11; -
removeTokenRelationships
* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11; -
getMemo
* A short description of this account. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 12;- Specified by:
getMemoin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The memo.
-
getMemoBytes
public com.google.protobuf.ByteString getMemoBytes()* A short description of this account. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 12;- Specified by:
getMemoBytesin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The bytes for memo.
-
setMemo
* A short description of this account. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 12;- Parameters:
value- The memo to set.- Returns:
- This builder for chaining.
-
clearMemo
* A short description of this account. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 12;- Returns:
- This builder for chaining.
-
setMemoBytes
public GetAccountDetailsResponse.AccountDetails.Builder setMemoBytes(com.google.protobuf.ByteString value) * A short description of this account. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 12;- Parameters:
value- The bytes for memo to set.- Returns:
- This builder for chaining.
-
getOwnedNfts
public long getOwnedNfts()* The total number of non-fungible/unique tokens owned by this account.
int64 owned_nfts = 13;- Specified by:
getOwnedNftsin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The ownedNfts.
-
setOwnedNfts
* The total number of non-fungible/unique tokens owned by this account.
int64 owned_nfts = 13;- Parameters:
value- The ownedNfts to set.- Returns:
- This builder for chaining.
-
clearOwnedNfts
* The total number of non-fungible/unique tokens owned by this account.
int64 owned_nfts = 13;- Returns:
- This builder for chaining.
-
getMaxAutomaticTokenAssociations
public int getMaxAutomaticTokenAssociations()* The maximum number of tokens that can be auto-associated with the account. <p> If this is less than or equal to `used_auto_associations` (or 0), then this account MUST manually associate with a token before transacting in that token.<br/> Following HIP-904 This value may also be `-1` to indicate no limit.<br/> This value MUST NOT be less than `-1`.
int32 max_automatic_token_associations = 14;- Specified by:
getMaxAutomaticTokenAssociationsin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The maxAutomaticTokenAssociations.
-
setMaxAutomaticTokenAssociations
* The maximum number of tokens that can be auto-associated with the account. <p> If this is less than or equal to `used_auto_associations` (or 0), then this account MUST manually associate with a token before transacting in that token.<br/> Following HIP-904 This value may also be `-1` to indicate no limit.<br/> This value MUST NOT be less than `-1`.
int32 max_automatic_token_associations = 14;- Parameters:
value- The maxAutomaticTokenAssociations to set.- Returns:
- This builder for chaining.
-
clearMaxAutomaticTokenAssociations
* The maximum number of tokens that can be auto-associated with the account. <p> If this is less than or equal to `used_auto_associations` (or 0), then this account MUST manually associate with a token before transacting in that token.<br/> Following HIP-904 This value may also be `-1` to indicate no limit.<br/> This value MUST NOT be less than `-1`.
int32 max_automatic_token_associations = 14;- Returns:
- This builder for chaining.
-
getAlias
public com.google.protobuf.ByteString getAlias()* An account EVM alias.<br/> This is a value used in some contexts to reference an account when the tripartite account identifier is not available. <p> This field, when set to a non-default value, is immutable and SHALL NOT be changed.
bytes alias = 15;- Specified by:
getAliasin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The alias.
-
setAlias
public GetAccountDetailsResponse.AccountDetails.Builder setAlias(com.google.protobuf.ByteString value) * An account EVM alias.<br/> This is a value used in some contexts to reference an account when the tripartite account identifier is not available. <p> This field, when set to a non-default value, is immutable and SHALL NOT be changed.
bytes alias = 15;- Parameters:
value- The alias to set.- Returns:
- This builder for chaining.
-
clearAlias
* An account EVM alias.<br/> This is a value used in some contexts to reference an account when the tripartite account identifier is not available. <p> This field, when set to a non-default value, is immutable and SHALL NOT be changed.
bytes alias = 15;- Returns:
- This builder for chaining.
-
getLedgerId
public com.google.protobuf.ByteString getLedgerId()* The ledger ID of the network that generated this response. <p> This value SHALL identify the distributed ledger that responded to this query.
bytes ledger_id = 16;- Specified by:
getLedgerIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The ledgerId.
-
setLedgerId
public GetAccountDetailsResponse.AccountDetails.Builder setLedgerId(com.google.protobuf.ByteString value) * The ledger ID of the network that generated this response. <p> This value SHALL identify the distributed ledger that responded to this query.
bytes ledger_id = 16;- Parameters:
value- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
* The ledger ID of the network that generated this response. <p> This value SHALL identify the distributed ledger that responded to this query.
bytes ledger_id = 16;- Returns:
- This builder for chaining.
-
getGrantedCryptoAllowancesList
* A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17;- Specified by:
getGrantedCryptoAllowancesListin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedCryptoAllowancesCount
public int getGrantedCryptoAllowancesCount()* A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17;- Specified by:
getGrantedCryptoAllowancesCountin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedCryptoAllowances
* A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17;- Specified by:
getGrantedCryptoAllowancesin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
setGrantedCryptoAllowances
public GetAccountDetailsResponse.AccountDetails.Builder setGrantedCryptoAllowances(int index, GrantedCryptoAllowance value) * A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; -
setGrantedCryptoAllowances
public GetAccountDetailsResponse.AccountDetails.Builder setGrantedCryptoAllowances(int index, GrantedCryptoAllowance.Builder builderForValue) * A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; -
addGrantedCryptoAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedCryptoAllowances(GrantedCryptoAllowance value) * A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; -
addGrantedCryptoAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedCryptoAllowances(int index, GrantedCryptoAllowance value) * A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; -
addGrantedCryptoAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedCryptoAllowances(GrantedCryptoAllowance.Builder builderForValue) * A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; -
addGrantedCryptoAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedCryptoAllowances(int index, GrantedCryptoAllowance.Builder builderForValue) * A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; -
addAllGrantedCryptoAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addAllGrantedCryptoAllowances(Iterable<? extends GrantedCryptoAllowance> values) * A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; -
clearGrantedCryptoAllowances
* A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; -
removeGrantedCryptoAllowances
* A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; -
getGrantedNftAllowancesList
* A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18;- Specified by:
getGrantedNftAllowancesListin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedNftAllowancesCount
public int getGrantedNftAllowancesCount()* A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18;- Specified by:
getGrantedNftAllowancesCountin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedNftAllowances
* A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18;- Specified by:
getGrantedNftAllowancesin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
setGrantedNftAllowances
public GetAccountDetailsResponse.AccountDetails.Builder setGrantedNftAllowances(int index, GrantedNftAllowance value) * A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; -
setGrantedNftAllowances
public GetAccountDetailsResponse.AccountDetails.Builder setGrantedNftAllowances(int index, GrantedNftAllowance.Builder builderForValue) * A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; -
addGrantedNftAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedNftAllowances(GrantedNftAllowance value) * A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; -
addGrantedNftAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedNftAllowances(int index, GrantedNftAllowance value) * A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; -
addGrantedNftAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedNftAllowances(GrantedNftAllowance.Builder builderForValue) * A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; -
addGrantedNftAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedNftAllowances(int index, GrantedNftAllowance.Builder builderForValue) * A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; -
addAllGrantedNftAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addAllGrantedNftAllowances(Iterable<? extends GrantedNftAllowance> values) * A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; -
clearGrantedNftAllowances
* A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; -
removeGrantedNftAllowances
* A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; -
getGrantedTokenAllowancesList
* A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19;- Specified by:
getGrantedTokenAllowancesListin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedTokenAllowancesCount
public int getGrantedTokenAllowancesCount()* A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19;- Specified by:
getGrantedTokenAllowancesCountin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedTokenAllowances
* A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19;- Specified by:
getGrantedTokenAllowancesin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
setGrantedTokenAllowances
public GetAccountDetailsResponse.AccountDetails.Builder setGrantedTokenAllowances(int index, GrantedTokenAllowance value) * A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; -
setGrantedTokenAllowances
public GetAccountDetailsResponse.AccountDetails.Builder setGrantedTokenAllowances(int index, GrantedTokenAllowance.Builder builderForValue) * A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; -
addGrantedTokenAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedTokenAllowances(GrantedTokenAllowance value) * A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; -
addGrantedTokenAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedTokenAllowances(int index, GrantedTokenAllowance value) * A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; -
addGrantedTokenAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedTokenAllowances(GrantedTokenAllowance.Builder builderForValue) * A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; -
addGrantedTokenAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addGrantedTokenAllowances(int index, GrantedTokenAllowance.Builder builderForValue) * A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; -
addAllGrantedTokenAllowances
public GetAccountDetailsResponse.AccountDetails.Builder addAllGrantedTokenAllowances(Iterable<? extends GrantedTokenAllowance> values) * A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; -
clearGrantedTokenAllowances
* A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; -
removeGrantedTokenAllowances
* A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19;
-