Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class GetAccountDetailsResponse.AccountDetails
java.lang.Object
com.google.protobuf.AbstractMessageLite<GetAccountDetailsResponse.AccountDetails,GetAccountDetailsResponse.AccountDetails.Builder>
com.google.protobuf.GeneratedMessageLite<GetAccountDetailsResponse.AccountDetails,GetAccountDetailsResponse.AccountDetails.Builder>
com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.AccountDetails
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,GetAccountDetailsResponse.AccountDetailsOrBuilder
- Enclosing class:
GetAccountDetailsResponse
public static final class GetAccountDetailsResponse.AccountDetails
extends com.google.protobuf.GeneratedMessageLite<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-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Information describing a single Account in the Hedera distributed ledger.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) * The unique ID of this account.com.google.protobuf.ByteStringgetAlias()* An account EVM alias.<br/> This is a value used in some contexts to reference an account when the tripartite account identifier is not available.* A duration to extend this account's expiration.long* The HBAR balance of this account, in tinybar (10<sup>-8</sup> HBAR).* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance.com.google.protobuf.ByteString* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance.boolean* A boolean indicating that this account is deleted.* The current expiration time for this account.getGrantedCryptoAllowances(int index) * A list of crypto (HBAR) allowances approved by this account.int* A list of crypto (HBAR) allowances approved by this account.* A list of crypto (HBAR) allowances approved by this account.getGrantedCryptoAllowancesOrBuilder(int index) * A list of crypto (HBAR) allowances approved by this account.List<? extends GrantedCryptoAllowanceOrBuilder> * A list of crypto (HBAR) allowances approved by this account.getGrantedNftAllowances(int index) * A list of non-fungible token (NFT) allowances approved by this account.int* A list of non-fungible token (NFT) allowances approved by this account.* A list of non-fungible token (NFT) allowances approved by this account.getGrantedNftAllowancesOrBuilder(int index) * A list of non-fungible token (NFT) allowances approved by this account.List<? extends GrantedNftAllowanceOrBuilder> * A list of non-fungible token (NFT) allowances approved by this account.getGrantedTokenAllowances(int index) * A list of fungible token allowances approved by this account.int* A list of fungible token allowances approved by this account.* A list of fungible token allowances approved by this account.getGrantedTokenAllowancesOrBuilder(int index) * A list of fungible token allowances approved by this account.List<? extends GrantedTokenAllowanceOrBuilder> * A list of fungible token allowances approved by this account.getKey()* The key to be used to sign transactions from this account, if any.com.google.protobuf.ByteString* The ledger ID of the network that generated this response.int* The maximum number of tokens that can be auto-associated with the account.getMemo()* A short description of this account.com.google.protobuf.ByteString* A short description of this account.long* The total number of non-fungible/unique tokens owned by this account.Deprecated.long* The total amount of tinybar proxy staked to this account.boolean* A boolean indicating that the account requires a receiver signature for inbound token transfer transactions.getTokenRelationships(int index) * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.int* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.getTokenRelationshipsOrBuilder(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.List<? extends TokenRelationshipOrBuilder> * As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information.boolean* The unique ID of this account.boolean* A duration to extend this account's expiration.boolean* The current expiration time for this account.booleanhasKey()* The key to be used to sign transactions from this account, if any.booleanDeprecated.parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GetAccountDetailsResponse.AccountDetails> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER- See Also:
-
CONTRACT_ACCOUNT_ID_FIELD_NUMBER
public static final int CONTRACT_ACCOUNT_ID_FIELD_NUMBER- See Also:
-
DELETED_FIELD_NUMBER
public static final int DELETED_FIELD_NUMBER- See Also:
-
PROXY_ACCOUNT_ID_FIELD_NUMBER
public static final int PROXY_ACCOUNT_ID_FIELD_NUMBER- See Also:
-
PROXY_RECEIVED_FIELD_NUMBER
public static final int PROXY_RECEIVED_FIELD_NUMBER- See Also:
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER- See Also:
-
BALANCE_FIELD_NUMBER
public static final int BALANCE_FIELD_NUMBER- See Also:
-
RECEIVER_SIG_REQUIRED_FIELD_NUMBER
public static final int RECEIVER_SIG_REQUIRED_FIELD_NUMBER- See Also:
-
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER- See Also:
-
AUTO_RENEW_PERIOD_FIELD_NUMBER
public static final int AUTO_RENEW_PERIOD_FIELD_NUMBER- See Also:
-
TOKEN_RELATIONSHIPS_FIELD_NUMBER
public static final int TOKEN_RELATIONSHIPS_FIELD_NUMBER- See Also:
-
MEMO_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER- See Also:
-
OWNED_NFTS_FIELD_NUMBER
public static final int OWNED_NFTS_FIELD_NUMBER- See Also:
-
MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER
public static final int MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER- See Also:
-
ALIAS_FIELD_NUMBER
public static final int ALIAS_FIELD_NUMBER- See Also:
-
LEDGER_ID_FIELD_NUMBER
public static final int LEDGER_ID_FIELD_NUMBER- See Also:
-
GRANTED_CRYPTO_ALLOWANCES_FIELD_NUMBER
public static final int GRANTED_CRYPTO_ALLOWANCES_FIELD_NUMBER- See Also:
-
GRANTED_NFT_ALLOWANCES_FIELD_NUMBER
public static final int GRANTED_NFT_ALLOWANCES_FIELD_NUMBER- See Also:
-
GRANTED_TOKEN_ALLOWANCES_FIELD_NUMBER
public static final int GRANTED_TOKEN_ALLOWANCES_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasAccountId
public boolean hasAccountId()* The unique ID of this account. <p> An account ID, when assigned to this field, SHALL be of the form `shard.realm.number`.<br/> Transactions MAY reference the account by alias, but the account itself MUST always have a purely numeric identifier. This numeric ID is the value used to reference the account in query responses, transaction receipts, transaction records, and the block stream.
.proto.AccountID account_id = 1;- Specified by:
hasAccountIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- Whether the accountId field is set.
-
getAccountId
* The unique ID of this account. <p> An account ID, when assigned to this field, SHALL be of the form `shard.realm.number`.<br/> Transactions MAY reference the account by alias, but the account itself MUST always have a purely numeric identifier. This numeric ID is the value used to reference the account in query responses, transaction receipts, transaction records, and the block stream.
.proto.AccountID account_id = 1;- Specified by:
getAccountIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The accountId.
-
getContractAccountId
* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance. <p> This SHALL be populated if this account is a smart contract, and SHALL NOT be populated otherwise.<br/> This SHALL be formatted as a string according to Solidity ID standards.
string contract_account_id = 2;- Specified by:
getContractAccountIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The contractAccountId.
-
getContractAccountIdBytes
public com.google.protobuf.ByteString getContractAccountIdBytes()* A Solidity ID.<br/> This identifies the contract instance, and the `Account` associated with that contract instance. <p> This SHALL be populated if this account is a smart contract, and SHALL NOT be populated otherwise.<br/> This SHALL be formatted as a string according to Solidity ID standards.
string contract_account_id = 2;- Specified by:
getContractAccountIdBytesin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The bytes for contractAccountId.
-
getDeleted
public boolean getDeleted()* A boolean indicating that this account is deleted.
bool deleted = 3;- Specified by:
getDeletedin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The deleted.
-
hasProxyAccountId
Deprecated.* Replaced by StakingInfo.<br/> ID of the account to which this account is staking its balances. If this account is not currently staking its balances, then this field, if set, SHALL be the sentinel value of `0.0.0`.
.proto.AccountID proxy_account_id = 4 [deprecated = true];- Specified by:
hasProxyAccountIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- Whether the proxyAccountId field is set.
-
getProxyAccountId
Deprecated.* Replaced by StakingInfo.<br/> ID of the account to which this account is staking its balances. If this account is not currently staking its balances, then this field, if set, SHALL be the sentinel value of `0.0.0`.
.proto.AccountID proxy_account_id = 4 [deprecated = true];- Specified by:
getProxyAccountIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The proxyAccountId.
-
getProxyReceived
public long getProxyReceived()* The total amount of tinybar proxy staked to this account.
int64 proxy_received = 5;- Specified by:
getProxyReceivedin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The proxyReceived.
-
hasKey
public boolean hasKey()* The key to be used to sign transactions from this account, if any. <p> This key SHALL NOT be set for hollow accounts until the account is finalized.<br/> This key SHALL be set on all other accounts, except for certain immutable accounts (0.0.800 and 0.0.801) necessary for network function and otherwise secured by the governing council.
.proto.Key key = 6;- Specified by:
hasKeyin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- Whether the key field is set.
-
getKey
* The key to be used to sign transactions from this account, if any. <p> This key SHALL NOT be set for hollow accounts until the account is finalized.<br/> This key SHALL be set on all other accounts, except for certain immutable accounts (0.0.800 and 0.0.801) necessary for network function and otherwise secured by the governing council.
.proto.Key key = 6;- Specified by:
getKeyin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The key.
-
getBalance
public long getBalance()* The HBAR balance of this account, in tinybar (10<sup>-8</sup> HBAR). <p> This value SHALL always be a whole number.
uint64 balance = 7;- Specified by:
getBalancein interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The balance.
-
getReceiverSigRequired
public boolean getReceiverSigRequired()* A boolean indicating that the account requires a receiver signature for inbound token transfer transactions. <p> If this value is `true` then a transaction to transfer tokens to this account SHALL NOT succeed unless this account has signed the transfer transaction.
bool receiver_sig_required = 8;- Specified by:
getReceiverSigRequiredin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The receiverSigRequired.
-
hasExpirationTime
public boolean hasExpirationTime()* The current expiration time for this account. <p> This account SHALL be due standard renewal fees when the network consensus time exceeds this time.<br/> If rent and expiration are enabled for the network, and automatic renewal is enabled for this account, renewal fees SHALL be charged after this time, and, if charged, the expiration time SHALL be extended for another renewal period.<br/> This account MAY be expired and removed from state at any point after this time if not renewed.<br/> An account holder MAY extend this time by submitting an account update transaction to modify expiration time, subject to the current maximum expiration time for the network.
.proto.Timestamp expiration_time = 9;- Specified by:
hasExpirationTimein interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
* The current expiration time for this account. <p> This account SHALL be due standard renewal fees when the network consensus time exceeds this time.<br/> If rent and expiration are enabled for the network, and automatic renewal is enabled for this account, renewal fees SHALL be charged after this time, and, if charged, the expiration time SHALL be extended for another renewal period.<br/> This account MAY be expired and removed from state at any point after this time if not renewed.<br/> An account holder MAY extend this time by submitting an account update transaction to modify expiration time, subject to the current maximum expiration time for the network.
.proto.Timestamp expiration_time = 9;- Specified by:
getExpirationTimein interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The expirationTime.
-
hasAutoRenewPeriod
public boolean hasAutoRenewPeriod()* A duration to extend this account's expiration. <p> The network SHALL extend the account's expiration by this duration, if funds are available, upon automatic renewal.<br/> This SHALL NOT apply if the account is already deleted upon expiration.<br/> If this is not provided in an allowed range on account creation, the transaction SHALL fail with INVALID_AUTO_RENEWAL_PERIOD. The default values for the minimum period and maximum period are currently 30 days and 90 days, respectively.
.proto.Duration auto_renew_period = 10;- Specified by:
hasAutoRenewPeriodin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- Whether the autoRenewPeriod field is set.
-
getAutoRenewPeriod
* A duration to extend this account's expiration. <p> The network SHALL extend the account's expiration by this duration, if funds are available, upon automatic renewal.<br/> This SHALL NOT apply if the account is already deleted upon expiration.<br/> If this is not provided in an allowed range on account creation, the transaction SHALL fail with INVALID_AUTO_RENEWAL_PERIOD. The default values for the minimum period and maximum period are currently 30 days and 90 days, respectively.
.proto.Duration auto_renew_period = 10;- Specified by:
getAutoRenewPeriodin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The autoRenewPeriod.
-
getTokenRelationshipsList
* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11;- Specified by:
getTokenRelationshipsListin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getTokenRelationshipsOrBuilderList
* 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; -
getTokenRelationshipsCount
public int getTokenRelationshipsCount()* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11;- Specified by:
getTokenRelationshipsCountin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getTokenRelationships
* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11;- Specified by:
getTokenRelationshipsin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getTokenRelationshipsOrBuilder
* As of `HIP-367`, which enabled unlimited token associations, the potential scale for this value requires that users consult a mirror node for this information. Only the top `maxRelsPerInfoQuery` (default 1000) relationships will be returned by this query.<br/> A list of tokens to which this account is "associated", enabling the transfer of that token type by this account.
repeated .proto.TokenRelationship token_relationships = 11; -
getMemo
* A short description of this account. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 12;- Specified by:
getMemoin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The memo.
-
getMemoBytes
public com.google.protobuf.ByteString getMemoBytes()* A short description of this account. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 12;- Specified by:
getMemoBytesin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The bytes for memo.
-
getOwnedNfts
public long getOwnedNfts()* The total number of non-fungible/unique tokens owned by this account.
int64 owned_nfts = 13;- Specified by:
getOwnedNftsin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The ownedNfts.
-
getMaxAutomaticTokenAssociations
public int getMaxAutomaticTokenAssociations()* The maximum number of tokens that can be auto-associated with the account. <p> If this is less than or equal to `used_auto_associations` (or 0), then this account MUST manually associate with a token before transacting in that token.<br/> Following HIP-904 This value may also be `-1` to indicate no limit.<br/> This value MUST NOT be less than `-1`.
int32 max_automatic_token_associations = 14;- Specified by:
getMaxAutomaticTokenAssociationsin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The maxAutomaticTokenAssociations.
-
getAlias
public com.google.protobuf.ByteString getAlias()* An account EVM alias.<br/> This is a value used in some contexts to reference an account when the tripartite account identifier is not available. <p> This field, when set to a non-default value, is immutable and SHALL NOT be changed.
bytes alias = 15;- Specified by:
getAliasin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The alias.
-
getLedgerId
public com.google.protobuf.ByteString getLedgerId()* The ledger ID of the network that generated this response. <p> This value SHALL identify the distributed ledger that responded to this query.
bytes ledger_id = 16;- Specified by:
getLedgerIdin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder- Returns:
- The ledgerId.
-
getGrantedCryptoAllowancesList
* A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17;- Specified by:
getGrantedCryptoAllowancesListin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedCryptoAllowancesOrBuilderList
* 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; -
getGrantedCryptoAllowancesCount
public int getGrantedCryptoAllowancesCount()* A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17;- Specified by:
getGrantedCryptoAllowancesCountin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedCryptoAllowances
* A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17;- Specified by:
getGrantedCryptoAllowancesin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedCryptoAllowancesOrBuilder
* A list of crypto (HBAR) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to spend this account's HBAR balance, up to a designated limit.<br/> This field SHALL permit spending only HBAR balance, not other tokens the account may hold.<br/> Allowances for other tokens SHALL be listed in the `token_allowances` field or the `approve_for_all_nft_allowances` field.
repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; -
getGrantedNftAllowancesList
* A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18;- Specified by:
getGrantedNftAllowancesListin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedNftAllowancesOrBuilderList
* 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; -
getGrantedNftAllowancesCount
public int getGrantedNftAllowancesCount()* A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18;- Specified by:
getGrantedNftAllowancesCountin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedNftAllowances
* A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18;- Specified by:
getGrantedNftAllowancesin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedNftAllowancesOrBuilder
* A list of non-fungible token (NFT) allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" account to transfer _all_ of this account's non-fungible/unique tokens from a particular collection.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible/unique token, rather than the holding account.
repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; -
getGrantedTokenAllowancesList
* A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19;- Specified by:
getGrantedTokenAllowancesListin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedTokenAllowancesOrBuilderList
* 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; -
getGrantedTokenAllowancesCount
public int getGrantedTokenAllowancesCount()* A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19;- Specified by:
getGrantedTokenAllowancesCountin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedTokenAllowances
* A list of fungible token allowances approved by this account. <p> If this is not empty, each allowance SHALL permit a specified "spender" to spend this account's fungible tokens, of the designated type, up to a designated limit.
repeated .proto.GrantedTokenAllowance granted_token_allowances = 19;- Specified by:
getGrantedTokenAllowancesin interfaceGetAccountDetailsResponse.AccountDetailsOrBuilder
-
getGrantedTokenAllowancesOrBuilder
* 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; -
parseFrom
public static GetAccountDetailsResponse.AccountDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsResponse.AccountDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsResponse.AccountDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsResponse.AccountDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsResponse.AccountDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsResponse.AccountDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsResponse.AccountDetails parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GetAccountDetailsResponse.AccountDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static GetAccountDetailsResponse.AccountDetails parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static GetAccountDetailsResponse.AccountDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GetAccountDetailsResponse.AccountDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GetAccountDetailsResponse.AccountDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static GetAccountDetailsResponse.AccountDetails.Builder newBuilder(GetAccountDetailsResponse.AccountDetails prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<GetAccountDetailsResponse.AccountDetails,GetAccountDetailsResponse.AccountDetails.Builder>
-
getDefaultInstance
-
parser
-