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
  • 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:
      hasAccountId in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      Whether the accountId field is set.
    • getAccountId

      public AccountID 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:
      getAccountId in interface GetAccountDetailsResponse.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

       *
       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

      public String 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:
      getContractAccountId in interface GetAccountDetailsResponse.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:
      getContractAccountIdBytes in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      The bytes for contractAccountId.
    • setContractAccountId

      public GetAccountDetailsResponse.AccountDetails.Builder setContractAccountId(String 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 contractAccountId to set.
      Returns:
      This builder for chaining.
    • clearContractAccountId

      public GetAccountDetailsResponse.AccountDetails.Builder 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:
      getDeleted in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      The deleted.
    • setDeleted

      public GetAccountDetailsResponse.AccountDetails.Builder setDeleted(boolean value)
       *
       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 public boolean 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:
      hasProxyAccountId in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      Whether the proxyAccountId field is set.
    • getProxyAccountId

      @Deprecated public AccountID 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:
      getProxyAccountId in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      The proxyAccountId.
    • setProxyAccountId

      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.
       *
       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.
       *
       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:
      getProxyReceived in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      The proxyReceived.
    • setProxyReceived

      public GetAccountDetailsResponse.AccountDetails.Builder setProxyReceived(long value)
       *
       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:
      hasKey in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      Whether the key field is set.
    • getKey

      public Key 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:
      getKey in interface GetAccountDetailsResponse.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:
      getBalance in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      The balance.
    • setBalance

      public GetAccountDetailsResponse.AccountDetails.Builder setBalance(long value)
       *
       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:
      getReceiverSigRequired in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      The receiverSigRequired.
    • setReceiverSigRequired

      public GetAccountDetailsResponse.AccountDetails.Builder setReceiverSigRequired(boolean value)
       *
       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

      public GetAccountDetailsResponse.AccountDetails.Builder 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:
      hasExpirationTime in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      Whether the expirationTime field is set.
    • getExpirationTime

      public Timestamp 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:
      getExpirationTime in interface GetAccountDetailsResponse.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

      public GetAccountDetailsResponse.AccountDetails.Builder mergeExpirationTime(Timestamp value)
       *
       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:
      hasAutoRenewPeriod in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      Whether the autoRenewPeriod field is set.
    • getAutoRenewPeriod

      public Duration 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:
      getAutoRenewPeriod in interface GetAccountDetailsResponse.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

      public GetAccountDetailsResponse.AccountDetails.Builder mergeAutoRenewPeriod(Duration value)
       *
       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

      public GetAccountDetailsResponse.AccountDetails.Builder 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

      public List<TokenRelationship> 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:
      getTokenRelationshipsList in interface GetAccountDetailsResponse.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:
      getTokenRelationshipsCount in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
    • getTokenRelationships

      public TokenRelationship 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. 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:
      getTokenRelationships in interface GetAccountDetailsResponse.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

       *
       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

      public GetAccountDetailsResponse.AccountDetails.Builder 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

      public GetAccountDetailsResponse.AccountDetails.Builder 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. 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

      public String 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:
      getMemo in interface GetAccountDetailsResponse.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:
      getMemoBytes in interface GetAccountDetailsResponse.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:
      getOwnedNfts in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      The ownedNfts.
    • setOwnedNfts

      public GetAccountDetailsResponse.AccountDetails.Builder setOwnedNfts(long value)
       *
       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:
      getMaxAutomaticTokenAssociations in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
      Returns:
      The maxAutomaticTokenAssociations.
    • setMaxAutomaticTokenAssociations

      public GetAccountDetailsResponse.AccountDetails.Builder setMaxAutomaticTokenAssociations(int value)
       *
       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

      public GetAccountDetailsResponse.AccountDetails.Builder 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:
      getAlias in interface GetAccountDetailsResponse.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:
      getLedgerId in interface GetAccountDetailsResponse.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

      public List<GrantedCryptoAllowance> 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:
      getGrantedCryptoAllowancesList in interface GetAccountDetailsResponse.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:
      getGrantedCryptoAllowancesCount in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
    • getGrantedCryptoAllowances

      public GrantedCryptoAllowance getGrantedCryptoAllowances(int index)
       *
       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:
      getGrantedCryptoAllowances in interface GetAccountDetailsResponse.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

       *
       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

      public GetAccountDetailsResponse.AccountDetails.Builder 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

      public GetAccountDetailsResponse.AccountDetails.Builder removeGrantedCryptoAllowances(int index)
       *
       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

      public List<GrantedNftAllowance> 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:
      getGrantedNftAllowancesList in interface GetAccountDetailsResponse.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:
      getGrantedNftAllowancesCount in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
    • getGrantedNftAllowances

      public GrantedNftAllowance getGrantedNftAllowances(int index)
       *
       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:
      getGrantedNftAllowances in interface GetAccountDetailsResponse.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

       *
       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

      public GetAccountDetailsResponse.AccountDetails.Builder 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

      public GetAccountDetailsResponse.AccountDetails.Builder removeGrantedNftAllowances(int index)
       *
       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

      public List<GrantedTokenAllowance> 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:
      getGrantedTokenAllowancesList in interface GetAccountDetailsResponse.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:
      getGrantedTokenAllowancesCount in interface GetAccountDetailsResponse.AccountDetailsOrBuilder
    • getGrantedTokenAllowances

      public GrantedTokenAllowance getGrantedTokenAllowances(int index)
       *
       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:
      getGrantedTokenAllowances in interface GetAccountDetailsResponse.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

       *
       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

      public GetAccountDetailsResponse.AccountDetails.Builder 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

      public GetAccountDetailsResponse.AccountDetails.Builder removeGrantedTokenAllowances(int index)
       *
       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;