Interface AccountOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Account, Account.Builder

@Generated public interface AccountOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    * The unique ID of this account.
    com.google.protobuf.ByteString
    * An account EVM alias.
    * 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.
    * An account identifier for automatic renewal.<br/> This is the identifier of another account, in the same shard and realm as this account, that has signed a transaction allowing the network to use its balance, if needed, to automatically extend this account's expiration time during automatic renewal processing.
    long
    * A count of the number of seconds to extend this account's expiration.
    int
    * A count of smart contract key-value pairs.<br/> If this account is a smart-contract, this is the number of key-value pairs stored on the contract.
    * 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.
    boolean
    * A boolean indicating that this account has chosen to decline rewards for staking its balances.
    com.google.protobuf.ByteString
    * The delegated contract address set for this account.
    boolean
    * A boolean indicating that this account is deleted.
    long
    * A nonce of this account for Ethereum interoperability.
    long
    * The current expiration time of this account, in seconds since the epoch.
    boolean
    * A flag indicating that the account is expired and pending removal.
    com.google.protobuf.ByteString
    * A contract storage key.<br/> This is the first key in the doubly-linked list of this contract's storage mappings.
    long
    * If the account has more than zero hooks in use, the id of the first hook in its doubly-linked list of hooks.
    * A NftID at the head of the linked list for this account from the unique tokens map.<br/> The unique token relations are connected by including the "next" and "previous" NftID in each Nft message.
    long
    * A serial number in the NftID at the head of the linked list for this account from unique tokens map.
    * A pending airdrop ID.<br/> This is the head of the linked list for this account from the account airdrops map.<br/> <p> The account airdrops SHALL be connected by including the "next" and "previous" `PendingAirdropID` in each `AccountAirdrop` message.<br/> This value SHALL NOT be empty if this account is "sender" for any pending airdrop, and SHALL be empty otherwise.
    * A token ID at the head of the linked list for this account from the token relations map.<br/> The token relations are connected by including the "next" and "previous" TokenID in each TokenRelation message.
    * The key to be used to sign transactions from this account, if any.
    int
    * A maximum for the number of tokens that can be automatically associated with this account.
    * A short description of this account.
    com.google.protobuf.ByteString
    * A short description of this account.
    int
    * A count of tokens associated with this account.
    long
    * The number of storage slots in use by this account's EVM hooks.
    long
    * The number of hooks currently in use on this account.
    long
    * A number of non-fungible tokens (NTFs) owned by the account.
    long
    * A number of pending airdrops.
    int
    * A count of tokens with a positive balance associated with this account.
    int
    * A count of tokens for which this account is the treasury account.
    boolean
    * A boolean indicating that the account requires a receiver signature for inbound token transfer transactions.
    boolean
    * A boolean indicating that this account is owned by a smart contract.
    long
    * An amount of HBAR staked by this account at the start of the last reward period.
    * An identifier for the account to which this account is staking its balances as a proxy.
     
    long
    * An identifier for the node this account is staked to.
    long
    * The amount of HBAR staked to this account by others.
    long
    * If this account stakes to another account, this value SHALL be set to the time when the current period for staking and reward calculations began.
    long
    * The HBAR balance of this account, in tinybar (10<sup>-8</sup> HBAR).
    getTokenAllowances(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.
    int
    * A count of used auto-association slots.
    boolean
    * The unique ID of this account.
    boolean
    * An account identifier for automatic renewal.<br/> This is the identifier of another account, in the same shard and realm as this account, that has signed a transaction allowing the network to use its balance, if needed, to automatically extend this account's expiration time during automatic renewal processing.
    boolean
    * A NftID at the head of the linked list for this account from the unique tokens map.<br/> The unique token relations are connected by including the "next" and "previous" NftID in each Nft message.
    boolean
    * A pending airdrop ID.<br/> This is the head of the linked list for this account from the account airdrops map.<br/> <p> The account airdrops SHALL be connected by including the "next" and "previous" `PendingAirdropID` in each `AccountAirdrop` message.<br/> This value SHALL NOT be empty if this account is "sender" for any pending airdrop, and SHALL be empty otherwise.
    boolean
    * A token ID at the head of the linked list for this account from the token relations map.<br/> The token relations are connected by including the "next" and "previous" TokenID in each TokenRelation message.
    boolean
    * The key to be used to sign transactions from this account, if any.
    boolean
    * An identifier for the account to which this account is staking its balances as a proxy.
    boolean
    * An identifier for the node this account is staked to.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasAccountId

      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;
      Returns:
      Whether the accountId field is set.
    • getAccountId

      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;
      Returns:
      The accountId.
    • getAlias

      com.google.protobuf.ByteString getAlias()
       *
       An account EVM alias.
       <p>
       This is a value used in some contexts to reference an account when the
       numeric account identifier is not available.<br/>
       This field, when set to a non-default value, is immutable and
       SHALL NOT be changed.
       
      bytes alias = 2;
      Returns:
      The alias.
    • hasKey

      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 = 3;
      Returns:
      Whether the key field is set.
    • getKey

      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 = 3;
      Returns:
      The key.
    • getExpirationSecond

      long getExpirationSecond()
       *
       The current expiration time of this account, in seconds since the epoch.
       <p>
       For this purpose, `epoch` SHALL be the UNIX epoch
       with 0 at `1970-01-01T00:00:00.000Z`.<br/>
       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.
       
      int64 expiration_second = 4;
      Returns:
      The expirationSecond.
    • getTinybarBalance

      long getTinybarBalance()
       *
       The HBAR balance of this account, in tinybar (10<sup>-8</sup> HBAR).
       <p>
       This value is a signed integer for efficiency, but MUST always
       be a whole number.
       
      int64 tinybar_balance = 5;
      Returns:
      The tinybarBalance.
    • getMemo

      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 = 6;
      Returns:
      The memo.
    • getMemoBytes

      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 = 6;
      Returns:
      The bytes for memo.
    • getDeleted

      boolean getDeleted()
       *
       A boolean indicating that this account is deleted.
       
      bool deleted = 7;
      Returns:
      The deleted.
    • getStakedToMe

      long getStakedToMe()
       *
       The amount of HBAR staked to this account by others.
       
      int64 staked_to_me = 8;
      Returns:
      The stakedToMe.
    • getStakePeriodStart

      long getStakePeriodStart()
       *
       If this account stakes to another account, this value SHALL be set to
       the time when the current period for staking and reward
       calculations began.
       
      int64 stake_period_start = 9;
      Returns:
      The stakePeriodStart.
    • hasStakedAccountId

      boolean hasStakedAccountId()
       *
       An identifier for the account to which this account is
       staking its balances as a proxy.
       <p>
       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 staked_account_id = 10;
      Returns:
      Whether the stakedAccountId field is set.
    • getStakedAccountId

      AccountID getStakedAccountId()
       *
       An identifier for the account to which this account is
       staking its balances as a proxy.
       <p>
       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 staked_account_id = 10;
      Returns:
      The stakedAccountId.
    • hasStakedNodeId

      boolean hasStakedNodeId()
       *
       An identifier for the node this account is staked to.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, SHALL be the sentinel value of `-1`.
       Wallet software SHOULD surface staking issues to users and provide a
       simple mechanism to update staking to a new node ID in the event the
       prior staked node ID ceases to be valid.
       <p>
       <blockquote>Note: node IDs do fluctuate as node operators change.
       The Account owner MUST submit a new transaction to change this value
       if the current node ID changes or ceases to operate as a node. An
       account with an invalid `staked_node_id` SHALL NOT participate in
       staking until the `staked_node_id` is updated to a valid node ID.
       </blockquote>
       
      int64 staked_node_id = 11;
      Returns:
      Whether the stakedNodeId field is set.
    • getStakedNodeId

      long getStakedNodeId()
       *
       An identifier for the node this account is staked to.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, SHALL be the sentinel value of `-1`.
       Wallet software SHOULD surface staking issues to users and provide a
       simple mechanism to update staking to a new node ID in the event the
       prior staked node ID ceases to be valid.
       <p>
       <blockquote>Note: node IDs do fluctuate as node operators change.
       The Account owner MUST submit a new transaction to change this value
       if the current node ID changes or ceases to operate as a node. An
       account with an invalid `staked_node_id` SHALL NOT participate in
       staking until the `staked_node_id` is updated to a valid node ID.
       </blockquote>
       
      int64 staked_node_id = 11;
      Returns:
      The stakedNodeId.
    • getDeclineReward

      boolean getDeclineReward()
       *
       A boolean indicating that this account has chosen to decline rewards for
       staking its balances.
       <p>
       This account MAY still stake its balances, but SHALL NOT receive reward
       payments for doing so.
       
      bool decline_reward = 12;
      Returns:
      The declineReward.
    • getReceiverSigRequired

      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 = 13;
      Returns:
      The receiverSigRequired.
    • hasHeadTokenId

      boolean hasHeadTokenId()
       *
       A token ID at the head of the linked list for this account from the
       token relations map.<br/>
       The token relations are connected by including the "next" and "previous"
       TokenID in each TokenRelation message. The "head" item in that list is
       found by looking up the TokenRelation with this Account's account_id and
       this head_token_id. Each subsequent item in the list is found via
       similar lookup with both an AccountID and a TokenID.
       
      .proto.TokenID head_token_id = 14;
      Returns:
      Whether the headTokenId field is set.
    • getHeadTokenId

      TokenID getHeadTokenId()
       *
       A token ID at the head of the linked list for this account from the
       token relations map.<br/>
       The token relations are connected by including the "next" and "previous"
       TokenID in each TokenRelation message. The "head" item in that list is
       found by looking up the TokenRelation with this Account's account_id and
       this head_token_id. Each subsequent item in the list is found via
       similar lookup with both an AccountID and a TokenID.
       
      .proto.TokenID head_token_id = 14;
      Returns:
      The headTokenId.
    • hasHeadNftId

      boolean hasHeadNftId()
       *
       A NftID at the head of the linked list for this account from
       the unique tokens map.<br/>
       The unique token relations are connected by including the "next" and
       "previous" NftID in each Nft message. The "head" item in that list is
       found by looking up the Nft with ID matching this head_nft_id. Each
       subsequent item in the list is found via similar lookup with the next
       or previous NftID.
       
      .proto.NftID head_nft_id = 15;
      Returns:
      Whether the headNftId field is set.
    • getHeadNftId

      NftID getHeadNftId()
       *
       A NftID at the head of the linked list for this account from
       the unique tokens map.<br/>
       The unique token relations are connected by including the "next" and
       "previous" NftID in each Nft message. The "head" item in that list is
       found by looking up the Nft with ID matching this head_nft_id. Each
       subsequent item in the list is found via similar lookup with the next
       or previous NftID.
       
      .proto.NftID head_nft_id = 15;
      Returns:
      The headNftId.
    • getHeadNftSerialNumber

      long getHeadNftSerialNumber()
       *
       A serial number in the NftID at the head of the linked list for this
       account from unique tokens map.
       <p>
       This MUST match the `serial_number` field of `head_nft_id`.
       
      int64 head_nft_serial_number = 16;
      Returns:
      The headNftSerialNumber.
    • getNumberOwnedNfts

      long getNumberOwnedNfts()
       *
       A number of non-fungible tokens (NTFs) owned by the account.
       
      int64 number_owned_nfts = 17;
      Returns:
      The numberOwnedNfts.
    • getMaxAutoAssociations

      int getMaxAutoAssociations()
       *
       A maximum for the number of tokens that can be automatically
       associated with this 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/>
       This value may also be `-1` to indicate no limit.<br/>
       This value MUST NOT be less than `-1`.
       
      int32 max_auto_associations = 18;
      Returns:
      The maxAutoAssociations.
    • getUsedAutoAssociations

      int getUsedAutoAssociations()
       *
       A count of used auto-association slots.
       <p>
       If this is greater than, or equal to, the current value of
       `max_auto_associations`, then this account MUST manually associate with
       a new token before transacting in that token.
       
      int32 used_auto_associations = 19;
      Returns:
      The usedAutoAssociations.
    • getNumberAssociations

      int getNumberAssociations()
       *
       A count of tokens associated with this account.
       <p>
       This value determines a portion of the renewal fee for this account.
       
      int32 number_associations = 20;
      Returns:
      The numberAssociations.
    • getSmartContract

      boolean getSmartContract()
       *
       A boolean indicating that this account is owned by a smart contract.
       
      bool smart_contract = 21;
      Returns:
      The smartContract.
    • getNumberPositiveBalances

      int getNumberPositiveBalances()
       *
       A count of tokens with a positive balance associated with this account.
       <p>
       If the account has a positive balance in any token,
       it SHALL NOT be deleted.
       
      int32 number_positive_balances = 22;
      Returns:
      The numberPositiveBalances.
    • getEthereumNonce

      long getEthereumNonce()
       *
       A nonce of this account for Ethereum interoperability.
       
      int64 ethereum_nonce = 23;
      Returns:
      The ethereumNonce.
    • getStakeAtStartOfLastRewardedPeriod

      long getStakeAtStartOfLastRewardedPeriod()
       *
       An amount of HBAR staked by this account at the start of
       the last reward period.
       
      int64 stake_at_start_of_last_rewarded_period = 24;
      Returns:
      The stakeAtStartOfLastRewardedPeriod.
    • hasAutoRenewAccountId

      boolean hasAutoRenewAccountId()
       *
       An account identifier for automatic renewal.<br/>
       This is the identifier of another account, in the same shard and
       realm as this account, that has signed a transaction allowing the
       network to use its balance, if needed, to automatically extend this
       account's expiration time during automatic renewal processing.
       <p>
       If this is set, and this account lack sufficient HBAR balance to pay
       renewal fees when due, then the network SHALL deduct the necessary fees
       from the designated auto renew account, if that account has sufficient
       balance.
       
      .proto.AccountID auto_renew_account_id = 25;
      Returns:
      Whether the autoRenewAccountId field is set.
    • getAutoRenewAccountId

      AccountID getAutoRenewAccountId()
       *
       An account identifier for automatic renewal.<br/>
       This is the identifier of another account, in the same shard and
       realm as this account, that has signed a transaction allowing the
       network to use its balance, if needed, to automatically extend this
       account's expiration time during automatic renewal processing.
       <p>
       If this is set, and this account lack sufficient HBAR balance to pay
       renewal fees when due, then the network SHALL deduct the necessary fees
       from the designated auto renew account, if that account has sufficient
       balance.
       
      .proto.AccountID auto_renew_account_id = 25;
      Returns:
      The autoRenewAccountId.
    • getAutoRenewSeconds

      long getAutoRenewSeconds()
       *
       A count of the number of seconds to extend this account's expiration.
       <p>
       The network SHALL extend the account's expiration by this number of
       seconds, 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.
       
      int64 auto_renew_seconds = 26;
      Returns:
      The autoRenewSeconds.
    • getContractKvPairsNumber

      int getContractKvPairsNumber()
       *
       A count of smart contract key-value pairs.<br/>
       If this account is a smart-contract, this is the number of key-value
       pairs stored on the contract.
       <p>
       If this account is not a smart contract, this field
       SHALL NOT be used.<br/>
       This value SHALL determine a portion of the storage rental
       fees for the contract.
       
      int32 contract_kv_pairs_number = 27;
      Returns:
      The contractKvPairsNumber.
    • getCryptoAllowancesList

      List<AccountCryptoAllowance> getCryptoAllowancesList()
       *
       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. Allowances for other tokens SHALL be listed in the
       `token_allowances` field or the `approve_for_all_nft_allowances` field.
       
      repeated .proto.AccountCryptoAllowance crypto_allowances = 28;
    • getCryptoAllowances

      AccountCryptoAllowance getCryptoAllowances(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. Allowances for other tokens SHALL be listed in the
       `token_allowances` field or the `approve_for_all_nft_allowances` field.
       
      repeated .proto.AccountCryptoAllowance crypto_allowances = 28;
    • getCryptoAllowancesCount

      int getCryptoAllowancesCount()
       *
       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. Allowances for other tokens SHALL be listed in the
       `token_allowances` field or the `approve_for_all_nft_allowances` field.
       
      repeated .proto.AccountCryptoAllowance crypto_allowances = 28;
    • getApproveForAllNftAllowancesList

      List<AccountApprovalForAllAllowance> getApproveForAllNftAllowancesList()
       *
       A list of non-fungible token (NFT) allowances approved by this account.
       <p>
       If this is not empty, each allowance permits a specified "spender"
       account to transfer _all_ of this account's non-fungible tokens from a
       particular collection.<br/>
       Allowances for a specific serial number MUST be directly associated with
       that specific non-fungible token, rather than the holding account.
       
      repeated .proto.AccountApprovalForAllAllowance approve_for_all_nft_allowances = 29;
    • getApproveForAllNftAllowances

      AccountApprovalForAllAllowance getApproveForAllNftAllowances(int index)
       *
       A list of non-fungible token (NFT) allowances approved by this account.
       <p>
       If this is not empty, each allowance permits a specified "spender"
       account to transfer _all_ of this account's non-fungible tokens from a
       particular collection.<br/>
       Allowances for a specific serial number MUST be directly associated with
       that specific non-fungible token, rather than the holding account.
       
      repeated .proto.AccountApprovalForAllAllowance approve_for_all_nft_allowances = 29;
    • getApproveForAllNftAllowancesCount

      int getApproveForAllNftAllowancesCount()
       *
       A list of non-fungible token (NFT) allowances approved by this account.
       <p>
       If this is not empty, each allowance permits a specified "spender"
       account to transfer _all_ of this account's non-fungible tokens from a
       particular collection.<br/>
       Allowances for a specific serial number MUST be directly associated with
       that specific non-fungible token, rather than the holding account.
       
      repeated .proto.AccountApprovalForAllAllowance approve_for_all_nft_allowances = 29;
    • getTokenAllowancesList

      List<AccountFungibleTokenAllowance> getTokenAllowancesList()
       *
       A list of fungible token allowances approved by this account.
       <p>
       If this is not empty, each allowance permits a specified "spender" to
       spend this account's fungible tokens, of the designated type, up to a
       designated limit.
       
      repeated .proto.AccountFungibleTokenAllowance token_allowances = 30;
    • getTokenAllowances

      AccountFungibleTokenAllowance getTokenAllowances(int index)
       *
       A list of fungible token allowances approved by this account.
       <p>
       If this is not empty, each allowance permits a specified "spender" to
       spend this account's fungible tokens, of the designated type, up to a
       designated limit.
       
      repeated .proto.AccountFungibleTokenAllowance token_allowances = 30;
    • getTokenAllowancesCount

      int getTokenAllowancesCount()
       *
       A list of fungible token allowances approved by this account.
       <p>
       If this is not empty, each allowance permits a specified "spender" to
       spend this account's fungible tokens, of the designated type, up to a
       designated limit.
       
      repeated .proto.AccountFungibleTokenAllowance token_allowances = 30;
    • getNumberTreasuryTitles

      int getNumberTreasuryTitles()
       *
       A count of tokens for which this account is the treasury account.
       <p>
       Each native token is initially created with all tokens held by its
       treasury, and the owner of that account (which may be a smart contract)
       determines how those tokens are distributed.
       
      uint32 number_treasury_titles = 31;
      Returns:
      The numberTreasuryTitles.
    • getExpiredAndPendingRemoval

      boolean getExpiredAndPendingRemoval()
       *
       A flag indicating that the account is expired and pending removal.
       <p>
       When the network checks for entity expiration, it SHALL set this flag if
       the account expiration time has past and the account has no HBAR
       sufficient to pay current renewal fees.<br/>
       If the account has an auto-renew account set with an HBAR balance that
       could pay for an auto-renewal, then this flag SHALL NOT be set. This
       ensures the account is not encumbered during the time between expiration
       and when the auto-renewal processing renews the account.
       
      bool expired_and_pending_removal = 32;
      Returns:
      The expiredAndPendingRemoval.
    • getFirstContractStorageKey

      com.google.protobuf.ByteString getFirstContractStorageKey()
       *
       A contract storage key.<br/>
       This is the first key in the doubly-linked list of this
       contract's storage mappings.
       <p>
       This value SHALL be empty if the account is not a contract or the
       contract has no storage mappings.
       
      bytes first_contract_storage_key = 33;
      Returns:
      The firstContractStorageKey.
    • hasHeadPendingAirdropId

      boolean hasHeadPendingAirdropId()
       *
       A pending airdrop ID.<br/>
       This is the head of the linked list for this account from the
       account airdrops map.<br/>
       <p>
       The account airdrops SHALL be connected by including the "next" and
       "previous" `PendingAirdropID` in each `AccountAirdrop` message.<br/>
       This value SHALL NOT be empty if this account is "sender" for any
       pending airdrop, and SHALL be empty otherwise.
       
      .proto.PendingAirdropId head_pending_airdrop_id = 34;
      Returns:
      Whether the headPendingAirdropId field is set.
    • getHeadPendingAirdropId

      PendingAirdropId getHeadPendingAirdropId()
       *
       A pending airdrop ID.<br/>
       This is the head of the linked list for this account from the
       account airdrops map.<br/>
       <p>
       The account airdrops SHALL be connected by including the "next" and
       "previous" `PendingAirdropID` in each `AccountAirdrop` message.<br/>
       This value SHALL NOT be empty if this account is "sender" for any
       pending airdrop, and SHALL be empty otherwise.
       
      .proto.PendingAirdropId head_pending_airdrop_id = 34;
      Returns:
      The headPendingAirdropId.
    • getNumberPendingAirdrops

      long getNumberPendingAirdrops()
       *
       A number of pending airdrops.
       <p>
       This count SHALL be used to calculate rent _without_ walking the linked
       list of pending airdrops associated to this account via the
       `head_pending_airdrop_id` field.<br/>
       This value MUST be updated for every airdrop, clam, or cancel transaction
       that designates this account as a receiver.<br/>
       This number MUST always match the count of entries in the "list"
       identified by `head_pending_airdrop_id`.
       
      uint64 number_pending_airdrops = 35;
      Returns:
      The numberPendingAirdrops.
    • getNumberHooksInUse

      long getNumberHooksInUse()
       *
       The number of hooks currently in use on this account.
       
      uint64 number_hooks_in_use = 36;
      Returns:
      The numberHooksInUse.
    • getFirstHookId

      long getFirstHookId()
       *
       If the account has more than zero hooks in use, the id of the first hook in its
       doubly-linked list of hooks.
       
      int64 first_hook_id = 37;
      Returns:
      The firstHookId.
    • getNumberEvmHookStorageSlots

      long getNumberEvmHookStorageSlots()
       *
       The number of storage slots in use by this account's EVM hooks.
       
      uint64 number_evm_hook_storage_slots = 38;
      Returns:
      The numberEvmHookStorageSlots.
    • getDelegationAddress

      com.google.protobuf.ByteString getDelegationAddress()
       *
       The delegated contract address set for this account.
       <p>
       If this field is set on the account, anytime a call is made to the account's address
       (either an EVM call within HSCS or a child call dispatched by CryptoTransfer)
       the EVM code of the contract referenced by `delegation_address` will be
       executed in the context of the account.
       
      bytes delegation_address = 39;
      Returns:
      The delegationAddress.
    • getStakedIdCase

      Account.StakedIdCase getStakedIdCase()