com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: crypto_get_account_balance.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface CryptoGetAccountBalanceResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.CryptoGetAccountBalanceResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
* @return Whether the header field is set.
*/
boolean hasHeader();
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
* @return The header.
*/
com.hedera.hashgraph.sdk.proto.ResponseHeader getHeader();
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
com.hedera.hashgraph.sdk.proto.ResponseHeaderOrBuilder getHeaderOrBuilder();
/**
*
**
* The account ID that is being described (this is useful with state proofs, for proving to a
* third party)
*
*
* .proto.AccountID accountID = 2;
* @return Whether the accountID field is set.
*/
boolean hasAccountID();
/**
*
**
* The account ID that is being described (this is useful with state proofs, for proving to a
* third party)
*
*
* .proto.AccountID accountID = 2;
* @return The accountID.
*/
com.hedera.hashgraph.sdk.proto.AccountID getAccountID();
/**
*
**
* The account ID that is being described (this is useful with state proofs, for proving to a
* third party)
*
*
* .proto.AccountID accountID = 2;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getAccountIDOrBuilder();
/**
*
**
* The current balance, in tinybars.
*
*
* uint64 balance = 3;
* @return The balance.
*/
long getBalance();
/**
*
**
* [DEPRECATED] The balances of the tokens associated to the account. This field was
* deprecated by <a href="https://hips.hedera.com/hip/hip-367">HIP-367</a>, which allowed
* an account to be associated to an unlimited number of tokens. This scale makes it more
* efficient for users to consult mirror nodes to review their token balances.
*
*
* repeated .proto.TokenBalance tokenBalances = 4 [deprecated = true];
*/
@java.lang.Deprecated java.util.List
getTokenBalancesList();
/**
*
**
* [DEPRECATED] The balances of the tokens associated to the account. This field was
* deprecated by <a href="https://hips.hedera.com/hip/hip-367">HIP-367</a>, which allowed
* an account to be associated to an unlimited number of tokens. This scale makes it more
* efficient for users to consult mirror nodes to review their token balances.
*
*
* repeated .proto.TokenBalance tokenBalances = 4 [deprecated = true];
*/
@java.lang.Deprecated com.hedera.hashgraph.sdk.proto.TokenBalance getTokenBalances(int index);
/**
*
**
* [DEPRECATED] The balances of the tokens associated to the account. This field was
* deprecated by <a href="https://hips.hedera.com/hip/hip-367">HIP-367</a>, which allowed
* an account to be associated to an unlimited number of tokens. This scale makes it more
* efficient for users to consult mirror nodes to review their token balances.
*
*
* repeated .proto.TokenBalance tokenBalances = 4 [deprecated = true];
*/
@java.lang.Deprecated int getTokenBalancesCount();
/**
*
**
* [DEPRECATED] The balances of the tokens associated to the account. This field was
* deprecated by <a href="https://hips.hedera.com/hip/hip-367">HIP-367</a>, which allowed
* an account to be associated to an unlimited number of tokens. This scale makes it more
* efficient for users to consult mirror nodes to review their token balances.
*
*
* repeated .proto.TokenBalance tokenBalances = 4 [deprecated = true];
*/
@java.lang.Deprecated java.util.List extends com.hedera.hashgraph.sdk.proto.TokenBalanceOrBuilder>
getTokenBalancesOrBuilderList();
/**
*
**
* [DEPRECATED] The balances of the tokens associated to the account. This field was
* deprecated by <a href="https://hips.hedera.com/hip/hip-367">HIP-367</a>, which allowed
* an account to be associated to an unlimited number of tokens. This scale makes it more
* efficient for users to consult mirror nodes to review their token balances.
*
*
* repeated .proto.TokenBalance tokenBalances = 4 [deprecated = true];
*/
@java.lang.Deprecated com.hedera.hashgraph.sdk.proto.TokenBalanceOrBuilder getTokenBalancesOrBuilder(
int index);
}