All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: crypto_get_info.proto

package com.hedera.hashgraph.sdk.proto;

/**
 * 
 **
 * Response when the client sends the node CryptoGetInfoQuery
 * 
* * Protobuf type {@code proto.CryptoGetInfoResponse} */ public final class CryptoGetInfoResponse extends com.google.protobuf.GeneratedMessageLite< CryptoGetInfoResponse, CryptoGetInfoResponse.Builder> implements // @@protoc_insertion_point(message_implements:proto.CryptoGetInfoResponse) CryptoGetInfoResponseOrBuilder { private CryptoGetInfoResponse() { } public interface AccountInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.CryptoGetInfoResponse.AccountInfo) com.google.protobuf.MessageLiteOrBuilder { /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; * @return Whether the accountID field is set. */ boolean hasAccountID(); /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; * @return The accountID. */ com.hedera.hashgraph.sdk.proto.AccountID getAccountID(); /** *
     **
     * The Contract Account ID comprising of both the contract instance and the cryptocurrency
     * account owned by the contract instance, in the format used by Solidity
     * 
* * string contractAccountID = 2; * @return The contractAccountID. */ java.lang.String getContractAccountID(); /** *
     **
     * The Contract Account ID comprising of both the contract instance and the cryptocurrency
     * account owned by the contract instance, in the format used by Solidity
     * 
* * string contractAccountID = 2; * @return The bytes for contractAccountID. */ com.google.protobuf.ByteString getContractAccountIDBytes(); /** *
     **
     * If true, then this account has been deleted, it will disappear when it expires, and all
     * transactions for it will fail except the transaction to extend its expiration date
     * 
* * bool deleted = 3; * @return The deleted. */ boolean getDeleted(); /** *
     **
     * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
     * or is an invalid account, or is an account that isn't a node, then this account is
     * automatically proxy staked to a node chosen by the network, but without earning payments.
     * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
     * running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.proxyAccountID is deprecated. * See crypto_get_info.proto;l=88 * @return Whether the proxyAccountID field is set. */ @java.lang.Deprecated boolean hasProxyAccountID(); /** *
     **
     * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
     * or is an invalid account, or is an account that isn't a node, then this account is
     * automatically proxy staked to a node chosen by the network, but without earning payments.
     * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
     * running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.proxyAccountID is deprecated. * See crypto_get_info.proto;l=88 * @return The proxyAccountID. */ @java.lang.Deprecated com.hedera.hashgraph.sdk.proto.AccountID getProxyAccountID(); /** *
     **
     * The total number of tinybars proxy staked to this account
     * 
* * int64 proxyReceived = 6; * @return The proxyReceived. */ long getProxyReceived(); /** *
     **
     * The key for the account, which must sign in order to transfer out, or to modify the
     * account in any way other than extending its expiration date.
     * 
* * .proto.Key key = 7; * @return Whether the key field is set. */ boolean hasKey(); /** *
     **
     * The key for the account, which must sign in order to transfer out, or to modify the
     * account in any way other than extending its expiration date.
     * 
* * .proto.Key key = 7; * @return The key. */ com.hedera.hashgraph.sdk.proto.Key getKey(); /** *
     **
     * The current balance of account in tinybars
     * 
* * uint64 balance = 8; * @return The balance. */ long getBalance(); /** *
     **
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
     * transaction that decreases the balance of this account by more than the threshold
     * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateSendRecordThreshold is deprecated. * See crypto_get_info.proto;l=110 * @return The generateSendRecordThreshold. */ @java.lang.Deprecated long getGenerateSendRecordThreshold(); /** *
     **
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
     * transaction that increases the balance of this account by more than the threshold
     * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateReceiveRecordThreshold is deprecated. * See crypto_get_info.proto;l=116 * @return The generateReceiveRecordThreshold. */ @java.lang.Deprecated long getGenerateReceiveRecordThreshold(); /** *
     **
     * If true, no transaction can transfer to this account unless signed by this account's key
     * 
* * bool receiverSigRequired = 11; * @return The receiverSigRequired. */ boolean getReceiverSigRequired(); /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; * @return Whether the expirationTime field is set. */ boolean hasExpirationTime(); /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; * @return The expirationTime. */ com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime(); /** *
     **
     * The duration for expiration time will extend every this many seconds. If there are
     * insufficient funds, then it extends as long as possible. If it is empty when it expires,
     * then it is deleted.
     * 
* * .proto.Duration autoRenewPeriod = 13; * @return Whether the autoRenewPeriod field is set. */ boolean hasAutoRenewPeriod(); /** *
     **
     * The duration for expiration time will extend every this many seconds. If there are
     * insufficient funds, then it extends as long as possible. If it is empty when it expires,
     * then it is deleted.
     * 
* * .proto.Duration autoRenewPeriod = 13; * @return The autoRenewPeriod. */ com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod(); /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ java.util.List getLiveHashesList(); /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ com.hedera.hashgraph.sdk.proto.LiveHash getLiveHashes(int index); /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ int getLiveHashesCount(); /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated java.util.List getTokenRelationshipsList(); /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated com.hedera.hashgraph.sdk.proto.TokenRelationship getTokenRelationships(int index); /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated int getTokenRelationshipsCount(); /** *
     **
     * The memo associated with the account
     * 
* * string memo = 16; * @return The memo. */ java.lang.String getMemo(); /** *
     **
     * The memo associated with the account
     * 
* * string memo = 16; * @return The bytes for memo. */ com.google.protobuf.ByteString getMemoBytes(); /** *
     **
     * The number of NFTs owned by this account
     * 
* * int64 ownedNfts = 17; * @return The ownedNfts. */ long getOwnedNfts(); /** *
     **
     * The maximum number of tokens that an Account can be implicitly associated with.
     * 
* * int32 max_automatic_token_associations = 18; * @return The maxAutomaticTokenAssociations. */ int getMaxAutomaticTokenAssociations(); /** *
     **
     * The alias of this account
     * 
* * bytes alias = 19; * @return The alias. */ com.google.protobuf.ByteString getAlias(); /** *
     **
     * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
     * 
* * bytes ledger_id = 20; * @return The ledgerId. */ com.google.protobuf.ByteString getLedgerId(); /** *
     **
     * The ethereum transaction nonce associated with this account.
     * 
* * int64 ethereum_nonce = 21; * @return The ethereumNonce. */ long getEthereumNonce(); /** *
     **
     * Staking metadata for this account.
     * 
* * .proto.StakingInfo staking_info = 22; * @return Whether the stakingInfo field is set. */ boolean hasStakingInfo(); /** *
     **
     * Staking metadata for this account.
     * 
* * .proto.StakingInfo staking_info = 22; * @return The stakingInfo. */ com.hedera.hashgraph.sdk.proto.StakingInfo getStakingInfo(); } /** * Protobuf type {@code proto.CryptoGetInfoResponse.AccountInfo} */ public static final class AccountInfo extends com.google.protobuf.GeneratedMessageLite< AccountInfo, AccountInfo.Builder> implements // @@protoc_insertion_point(message_implements:proto.CryptoGetInfoResponse.AccountInfo) AccountInfoOrBuilder { private AccountInfo() { contractAccountID_ = ""; liveHashes_ = emptyProtobufList(); tokenRelationships_ = emptyProtobufList(); memo_ = ""; alias_ = com.google.protobuf.ByteString.EMPTY; ledgerId_ = com.google.protobuf.ByteString.EMPTY; } public static final int ACCOUNTID_FIELD_NUMBER = 1; private com.hedera.hashgraph.sdk.proto.AccountID accountID_; /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; */ @java.lang.Override public boolean hasAccountID() { return accountID_ != null; } /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getAccountID() { return accountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : accountID_; } /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; */ private void setAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); accountID_ = value; } /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); if (accountID_ != null && accountID_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) { accountID_ = com.hedera.hashgraph.sdk.proto.AccountID.newBuilder(accountID_).mergeFrom(value).buildPartial(); } else { accountID_ = value; } } /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; */ private void clearAccountID() { accountID_ = null; } public static final int CONTRACTACCOUNTID_FIELD_NUMBER = 2; private java.lang.String contractAccountID_; /** *
     **
     * The Contract Account ID comprising of both the contract instance and the cryptocurrency
     * account owned by the contract instance, in the format used by Solidity
     * 
* * string contractAccountID = 2; * @return The contractAccountID. */ @java.lang.Override public java.lang.String getContractAccountID() { return contractAccountID_; } /** *
     **
     * The Contract Account ID comprising of both the contract instance and the cryptocurrency
     * account owned by the contract instance, in the format used by Solidity
     * 
* * string contractAccountID = 2; * @return The bytes for contractAccountID. */ @java.lang.Override public com.google.protobuf.ByteString getContractAccountIDBytes() { return com.google.protobuf.ByteString.copyFromUtf8(contractAccountID_); } /** *
     **
     * The Contract Account ID comprising of both the contract instance and the cryptocurrency
     * account owned by the contract instance, in the format used by Solidity
     * 
* * string contractAccountID = 2; * @param value The contractAccountID to set. */ private void setContractAccountID( java.lang.String value) { java.lang.Class valueClass = value.getClass(); contractAccountID_ = value; } /** *
     **
     * The Contract Account ID comprising of both the contract instance and the cryptocurrency
     * account owned by the contract instance, in the format used by Solidity
     * 
* * string contractAccountID = 2; */ private void clearContractAccountID() { contractAccountID_ = getDefaultInstance().getContractAccountID(); } /** *
     **
     * The Contract Account ID comprising of both the contract instance and the cryptocurrency
     * account owned by the contract instance, in the format used by Solidity
     * 
* * string contractAccountID = 2; * @param value The bytes for contractAccountID to set. */ private void setContractAccountIDBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); contractAccountID_ = value.toStringUtf8(); } public static final int DELETED_FIELD_NUMBER = 3; private boolean deleted_; /** *
     **
     * If true, then this account has been deleted, it will disappear when it expires, and all
     * transactions for it will fail except the transaction to extend its expiration date
     * 
* * bool deleted = 3; * @return The deleted. */ @java.lang.Override public boolean getDeleted() { return deleted_; } /** *
     **
     * If true, then this account has been deleted, it will disappear when it expires, and all
     * transactions for it will fail except the transaction to extend its expiration date
     * 
* * bool deleted = 3; * @param value The deleted to set. */ private void setDeleted(boolean value) { deleted_ = value; } /** *
     **
     * If true, then this account has been deleted, it will disappear when it expires, and all
     * transactions for it will fail except the transaction to extend its expiration date
     * 
* * bool deleted = 3; */ private void clearDeleted() { deleted_ = false; } public static final int PROXYACCOUNTID_FIELD_NUMBER = 4; private com.hedera.hashgraph.sdk.proto.AccountID proxyAccountID_; /** *
     **
     * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
     * or is an invalid account, or is an account that isn't a node, then this account is
     * automatically proxy staked to a node chosen by the network, but without earning payments.
     * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
     * running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public boolean hasProxyAccountID() { return proxyAccountID_ != null; } /** *
     **
     * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
     * or is an invalid account, or is an account that isn't a node, then this account is
     * automatically proxy staked to a node chosen by the network, but without earning payments.
     * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
     * running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.hedera.hashgraph.sdk.proto.AccountID getProxyAccountID() { return proxyAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : proxyAccountID_; } /** *
     **
     * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
     * or is an invalid account, or is an account that isn't a node, then this account is
     * automatically proxy staked to a node chosen by the network, but without earning payments.
     * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
     * running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ private void setProxyAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); proxyAccountID_ = value; } /** *
     **
     * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
     * or is an invalid account, or is an account that isn't a node, then this account is
     * automatically proxy staked to a node chosen by the network, but without earning payments.
     * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
     * running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeProxyAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); if (proxyAccountID_ != null && proxyAccountID_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) { proxyAccountID_ = com.hedera.hashgraph.sdk.proto.AccountID.newBuilder(proxyAccountID_).mergeFrom(value).buildPartial(); } else { proxyAccountID_ = value; } } /** *
     **
     * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
     * or is an invalid account, or is an account that isn't a node, then this account is
     * automatically proxy staked to a node chosen by the network, but without earning payments.
     * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
     * running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ private void clearProxyAccountID() { proxyAccountID_ = null; } public static final int PROXYRECEIVED_FIELD_NUMBER = 6; private long proxyReceived_; /** *
     **
     * The total number of tinybars proxy staked to this account
     * 
* * int64 proxyReceived = 6; * @return The proxyReceived. */ @java.lang.Override public long getProxyReceived() { return proxyReceived_; } /** *
     **
     * The total number of tinybars proxy staked to this account
     * 
* * int64 proxyReceived = 6; * @param value The proxyReceived to set. */ private void setProxyReceived(long value) { proxyReceived_ = value; } /** *
     **
     * The total number of tinybars proxy staked to this account
     * 
* * int64 proxyReceived = 6; */ private void clearProxyReceived() { proxyReceived_ = 0L; } public static final int KEY_FIELD_NUMBER = 7; private com.hedera.hashgraph.sdk.proto.Key key_; /** *
     **
     * The key for the account, which must sign in order to transfer out, or to modify the
     * account in any way other than extending its expiration date.
     * 
* * .proto.Key key = 7; */ @java.lang.Override public boolean hasKey() { return key_ != null; } /** *
     **
     * The key for the account, which must sign in order to transfer out, or to modify the
     * account in any way other than extending its expiration date.
     * 
* * .proto.Key key = 7; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getKey() { return key_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : key_; } /** *
     **
     * The key for the account, which must sign in order to transfer out, or to modify the
     * account in any way other than extending its expiration date.
     * 
* * .proto.Key key = 7; */ private void setKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); key_ = value; } /** *
     **
     * The key for the account, which must sign in order to transfer out, or to modify the
     * account in any way other than extending its expiration date.
     * 
* * .proto.Key key = 7; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); if (key_ != null && key_ != com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance()) { key_ = com.hedera.hashgraph.sdk.proto.Key.newBuilder(key_).mergeFrom(value).buildPartial(); } else { key_ = value; } } /** *
     **
     * The key for the account, which must sign in order to transfer out, or to modify the
     * account in any way other than extending its expiration date.
     * 
* * .proto.Key key = 7; */ private void clearKey() { key_ = null; } public static final int BALANCE_FIELD_NUMBER = 8; private long balance_; /** *
     **
     * The current balance of account in tinybars
     * 
* * uint64 balance = 8; * @return The balance. */ @java.lang.Override public long getBalance() { return balance_; } /** *
     **
     * The current balance of account in tinybars
     * 
* * uint64 balance = 8; * @param value The balance to set. */ private void setBalance(long value) { balance_ = value; } /** *
     **
     * The current balance of account in tinybars
     * 
* * uint64 balance = 8; */ private void clearBalance() { balance_ = 0L; } public static final int GENERATESENDRECORDTHRESHOLD_FIELD_NUMBER = 9; private long generateSendRecordThreshold_; /** *
     **
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
     * transaction that decreases the balance of this account by more than the threshold
     * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateSendRecordThreshold is deprecated. * See crypto_get_info.proto;l=110 * @return The generateSendRecordThreshold. */ @java.lang.Override @java.lang.Deprecated public long getGenerateSendRecordThreshold() { return generateSendRecordThreshold_; } /** *
     **
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
     * transaction that decreases the balance of this account by more than the threshold
     * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateSendRecordThreshold is deprecated. * See crypto_get_info.proto;l=110 * @param value The generateSendRecordThreshold to set. */ private void setGenerateSendRecordThreshold(long value) { generateSendRecordThreshold_ = value; } /** *
     **
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
     * transaction that decreases the balance of this account by more than the threshold
     * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateSendRecordThreshold is deprecated. * See crypto_get_info.proto;l=110 */ private void clearGenerateSendRecordThreshold() { generateSendRecordThreshold_ = 0L; } public static final int GENERATERECEIVERECORDTHRESHOLD_FIELD_NUMBER = 10; private long generateReceiveRecordThreshold_; /** *
     **
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
     * transaction that increases the balance of this account by more than the threshold
     * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateReceiveRecordThreshold is deprecated. * See crypto_get_info.proto;l=116 * @return The generateReceiveRecordThreshold. */ @java.lang.Override @java.lang.Deprecated public long getGenerateReceiveRecordThreshold() { return generateReceiveRecordThreshold_; } /** *
     **
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
     * transaction that increases the balance of this account by more than the threshold
     * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateReceiveRecordThreshold is deprecated. * See crypto_get_info.proto;l=116 * @param value The generateReceiveRecordThreshold to set. */ private void setGenerateReceiveRecordThreshold(long value) { generateReceiveRecordThreshold_ = value; } /** *
     **
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
     * transaction that increases the balance of this account by more than the threshold
     * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateReceiveRecordThreshold is deprecated. * See crypto_get_info.proto;l=116 */ private void clearGenerateReceiveRecordThreshold() { generateReceiveRecordThreshold_ = 0L; } public static final int RECEIVERSIGREQUIRED_FIELD_NUMBER = 11; private boolean receiverSigRequired_; /** *
     **
     * If true, no transaction can transfer to this account unless signed by this account's key
     * 
* * bool receiverSigRequired = 11; * @return The receiverSigRequired. */ @java.lang.Override public boolean getReceiverSigRequired() { return receiverSigRequired_; } /** *
     **
     * If true, no transaction can transfer to this account unless signed by this account's key
     * 
* * bool receiverSigRequired = 11; * @param value The receiverSigRequired to set. */ private void setReceiverSigRequired(boolean value) { receiverSigRequired_ = value; } /** *
     **
     * If true, no transaction can transfer to this account unless signed by this account's key
     * 
* * bool receiverSigRequired = 11; */ private void clearReceiverSigRequired() { receiverSigRequired_ = false; } public static final int EXPIRATIONTIME_FIELD_NUMBER = 12; private com.hedera.hashgraph.sdk.proto.Timestamp expirationTime_; /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; */ @java.lang.Override public boolean hasExpirationTime() { return expirationTime_ != null; } /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime() { return expirationTime_ == null ? com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance() : expirationTime_; } /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; */ private void setExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { value.getClass(); expirationTime_ = value; } /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { value.getClass(); if (expirationTime_ != null && expirationTime_ != com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance()) { expirationTime_ = com.hedera.hashgraph.sdk.proto.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); } else { expirationTime_ = value; } } /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; */ private void clearExpirationTime() { expirationTime_ = null; } public static final int AUTORENEWPERIOD_FIELD_NUMBER = 13; private com.hedera.hashgraph.sdk.proto.Duration autoRenewPeriod_; /** *
     **
     * The duration for expiration time will extend every this many seconds. If there are
     * insufficient funds, then it extends as long as possible. If it is empty when it expires,
     * then it is deleted.
     * 
* * .proto.Duration autoRenewPeriod = 13; */ @java.lang.Override public boolean hasAutoRenewPeriod() { return autoRenewPeriod_ != null; } /** *
     **
     * The duration for expiration time will extend every this many seconds. If there are
     * insufficient funds, then it extends as long as possible. If it is empty when it expires,
     * then it is deleted.
     * 
* * .proto.Duration autoRenewPeriod = 13; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod() { return autoRenewPeriod_ == null ? com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance() : autoRenewPeriod_; } /** *
     **
     * The duration for expiration time will extend every this many seconds. If there are
     * insufficient funds, then it extends as long as possible. If it is empty when it expires,
     * then it is deleted.
     * 
* * .proto.Duration autoRenewPeriod = 13; */ private void setAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { value.getClass(); autoRenewPeriod_ = value; } /** *
     **
     * The duration for expiration time will extend every this many seconds. If there are
     * insufficient funds, then it extends as long as possible. If it is empty when it expires,
     * then it is deleted.
     * 
* * .proto.Duration autoRenewPeriod = 13; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { value.getClass(); if (autoRenewPeriod_ != null && autoRenewPeriod_ != com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance()) { autoRenewPeriod_ = com.hedera.hashgraph.sdk.proto.Duration.newBuilder(autoRenewPeriod_).mergeFrom(value).buildPartial(); } else { autoRenewPeriod_ = value; } } /** *
     **
     * The duration for expiration time will extend every this many seconds. If there are
     * insufficient funds, then it extends as long as possible. If it is empty when it expires,
     * then it is deleted.
     * 
* * .proto.Duration autoRenewPeriod = 13; */ private void clearAutoRenewPeriod() { autoRenewPeriod_ = null; } public static final int LIVEHASHES_FIELD_NUMBER = 14; private com.google.protobuf.Internal.ProtobufList liveHashes_; /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ @java.lang.Override public java.util.List getLiveHashesList() { return liveHashes_; } /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ public java.util.List getLiveHashesOrBuilderList() { return liveHashes_; } /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ @java.lang.Override public int getLiveHashesCount() { return liveHashes_.size(); } /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.LiveHash getLiveHashes(int index) { return liveHashes_.get(index); } /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ public com.hedera.hashgraph.sdk.proto.LiveHashOrBuilder getLiveHashesOrBuilder( int index) { return liveHashes_.get(index); } private void ensureLiveHashesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = liveHashes_; if (!tmp.isModifiable()) { liveHashes_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ private void setLiveHashes( int index, com.hedera.hashgraph.sdk.proto.LiveHash value) { value.getClass(); ensureLiveHashesIsMutable(); liveHashes_.set(index, value); } /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ private void addLiveHashes(com.hedera.hashgraph.sdk.proto.LiveHash value) { value.getClass(); ensureLiveHashesIsMutable(); liveHashes_.add(value); } /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ private void addLiveHashes( int index, com.hedera.hashgraph.sdk.proto.LiveHash value) { value.getClass(); ensureLiveHashesIsMutable(); liveHashes_.add(index, value); } /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ private void addAllLiveHashes( java.lang.Iterable values) { ensureLiveHashesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, liveHashes_); } /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ private void clearLiveHashes() { liveHashes_ = emptyProtobufList(); } /** *
     **
     * All of the livehashes attached to the account (each of which is a hash along with the
     * keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ private void removeLiveHashes(int index) { ensureLiveHashesIsMutable(); liveHashes_.remove(index); } public static final int TOKENRELATIONSHIPS_FIELD_NUMBER = 15; private com.google.protobuf.Internal.ProtobufList tokenRelationships_; /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getTokenRelationshipsList() { return tokenRelationships_; } /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getTokenRelationshipsOrBuilderList() { return tokenRelationships_; } /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public int getTokenRelationshipsCount() { return tokenRelationships_.size(); } /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.hedera.hashgraph.sdk.proto.TokenRelationship getTokenRelationships(int index) { return tokenRelationships_.get(index); } /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public com.hedera.hashgraph.sdk.proto.TokenRelationshipOrBuilder getTokenRelationshipsOrBuilder( int index) { return tokenRelationships_.get(index); } private void ensureTokenRelationshipsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = tokenRelationships_; if (!tmp.isModifiable()) { tokenRelationships_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ private void setTokenRelationships( int index, com.hedera.hashgraph.sdk.proto.TokenRelationship value) { value.getClass(); ensureTokenRelationshipsIsMutable(); tokenRelationships_.set(index, value); } /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ private void addTokenRelationships(com.hedera.hashgraph.sdk.proto.TokenRelationship value) { value.getClass(); ensureTokenRelationshipsIsMutable(); tokenRelationships_.add(value); } /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ private void addTokenRelationships( int index, com.hedera.hashgraph.sdk.proto.TokenRelationship value) { value.getClass(); ensureTokenRelationshipsIsMutable(); tokenRelationships_.add(index, value); } /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ private void addAllTokenRelationships( java.lang.Iterable values) { ensureTokenRelationshipsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, tokenRelationships_); } /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ private void clearTokenRelationships() { tokenRelationships_ = emptyProtobufList(); } /** *
     **
     * [DEPRECATED] The metadata 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 associations.
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ private void removeTokenRelationships(int index) { ensureTokenRelationshipsIsMutable(); tokenRelationships_.remove(index); } public static final int MEMO_FIELD_NUMBER = 16; private java.lang.String memo_; /** *
     **
     * The memo associated with the account
     * 
* * string memo = 16; * @return The memo. */ @java.lang.Override public java.lang.String getMemo() { return memo_; } /** *
     **
     * The memo associated with the account
     * 
* * string memo = 16; * @return The bytes for memo. */ @java.lang.Override public com.google.protobuf.ByteString getMemoBytes() { return com.google.protobuf.ByteString.copyFromUtf8(memo_); } /** *
     **
     * The memo associated with the account
     * 
* * string memo = 16; * @param value The memo to set. */ private void setMemo( java.lang.String value) { java.lang.Class valueClass = value.getClass(); memo_ = value; } /** *
     **
     * The memo associated with the account
     * 
* * string memo = 16; */ private void clearMemo() { memo_ = getDefaultInstance().getMemo(); } /** *
     **
     * The memo associated with the account
     * 
* * string memo = 16; * @param value The bytes for memo to set. */ private void setMemoBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); memo_ = value.toStringUtf8(); } public static final int OWNEDNFTS_FIELD_NUMBER = 17; private long ownedNfts_; /** *
     **
     * The number of NFTs owned by this account
     * 
* * int64 ownedNfts = 17; * @return The ownedNfts. */ @java.lang.Override public long getOwnedNfts() { return ownedNfts_; } /** *
     **
     * The number of NFTs owned by this account
     * 
* * int64 ownedNfts = 17; * @param value The ownedNfts to set. */ private void setOwnedNfts(long value) { ownedNfts_ = value; } /** *
     **
     * The number of NFTs owned by this account
     * 
* * int64 ownedNfts = 17; */ private void clearOwnedNfts() { ownedNfts_ = 0L; } public static final int MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER = 18; private int maxAutomaticTokenAssociations_; /** *
     **
     * The maximum number of tokens that an Account can be implicitly associated with.
     * 
* * int32 max_automatic_token_associations = 18; * @return The maxAutomaticTokenAssociations. */ @java.lang.Override public int getMaxAutomaticTokenAssociations() { return maxAutomaticTokenAssociations_; } /** *
     **
     * The maximum number of tokens that an Account can be implicitly associated with.
     * 
* * int32 max_automatic_token_associations = 18; * @param value The maxAutomaticTokenAssociations to set. */ private void setMaxAutomaticTokenAssociations(int value) { maxAutomaticTokenAssociations_ = value; } /** *
     **
     * The maximum number of tokens that an Account can be implicitly associated with.
     * 
* * int32 max_automatic_token_associations = 18; */ private void clearMaxAutomaticTokenAssociations() { maxAutomaticTokenAssociations_ = 0; } public static final int ALIAS_FIELD_NUMBER = 19; private com.google.protobuf.ByteString alias_; /** *
     **
     * The alias of this account
     * 
* * bytes alias = 19; * @return The alias. */ @java.lang.Override public com.google.protobuf.ByteString getAlias() { return alias_; } /** *
     **
     * The alias of this account
     * 
* * bytes alias = 19; * @param value The alias to set. */ private void setAlias(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); alias_ = value; } /** *
     **
     * The alias of this account
     * 
* * bytes alias = 19; */ private void clearAlias() { alias_ = getDefaultInstance().getAlias(); } public static final int LEDGER_ID_FIELD_NUMBER = 20; private com.google.protobuf.ByteString ledgerId_; /** *
     **
     * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
     * 
* * bytes ledger_id = 20; * @return The ledgerId. */ @java.lang.Override public com.google.protobuf.ByteString getLedgerId() { return ledgerId_; } /** *
     **
     * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
     * 
* * bytes ledger_id = 20; * @param value The ledgerId to set. */ private void setLedgerId(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); ledgerId_ = value; } /** *
     **
     * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
     * 
* * bytes ledger_id = 20; */ private void clearLedgerId() { ledgerId_ = getDefaultInstance().getLedgerId(); } public static final int ETHEREUM_NONCE_FIELD_NUMBER = 21; private long ethereumNonce_; /** *
     **
     * The ethereum transaction nonce associated with this account.
     * 
* * int64 ethereum_nonce = 21; * @return The ethereumNonce. */ @java.lang.Override public long getEthereumNonce() { return ethereumNonce_; } /** *
     **
     * The ethereum transaction nonce associated with this account.
     * 
* * int64 ethereum_nonce = 21; * @param value The ethereumNonce to set. */ private void setEthereumNonce(long value) { ethereumNonce_ = value; } /** *
     **
     * The ethereum transaction nonce associated with this account.
     * 
* * int64 ethereum_nonce = 21; */ private void clearEthereumNonce() { ethereumNonce_ = 0L; } public static final int STAKING_INFO_FIELD_NUMBER = 22; private com.hedera.hashgraph.sdk.proto.StakingInfo stakingInfo_; /** *
     **
     * Staking metadata for this account.
     * 
* * .proto.StakingInfo staking_info = 22; */ @java.lang.Override public boolean hasStakingInfo() { return stakingInfo_ != null; } /** *
     **
     * Staking metadata for this account.
     * 
* * .proto.StakingInfo staking_info = 22; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.StakingInfo getStakingInfo() { return stakingInfo_ == null ? com.hedera.hashgraph.sdk.proto.StakingInfo.getDefaultInstance() : stakingInfo_; } /** *
     **
     * Staking metadata for this account.
     * 
* * .proto.StakingInfo staking_info = 22; */ private void setStakingInfo(com.hedera.hashgraph.sdk.proto.StakingInfo value) { value.getClass(); stakingInfo_ = value; } /** *
     **
     * Staking metadata for this account.
     * 
* * .proto.StakingInfo staking_info = 22; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeStakingInfo(com.hedera.hashgraph.sdk.proto.StakingInfo value) { value.getClass(); if (stakingInfo_ != null && stakingInfo_ != com.hedera.hashgraph.sdk.proto.StakingInfo.getDefaultInstance()) { stakingInfo_ = com.hedera.hashgraph.sdk.proto.StakingInfo.newBuilder(stakingInfo_).mergeFrom(value).buildPartial(); } else { stakingInfo_ = value; } } /** *
     **
     * Staking metadata for this account.
     * 
* * .proto.StakingInfo staking_info = 22; */ private void clearStakingInfo() { stakingInfo_ = null; } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code proto.CryptoGetInfoResponse.AccountInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo, Builder> implements // @@protoc_insertion_point(builder_implements:proto.CryptoGetInfoResponse.AccountInfo) com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfoOrBuilder { // Construct using com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID accountID = 1; */ @java.lang.Override public boolean hasAccountID() { return instance.hasAccountID(); } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID accountID = 1; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getAccountID() { return instance.getAccountID(); } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID accountID = 1; */ public Builder setAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.setAccountID(value); return this; } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID accountID = 1; */ public Builder setAccountID( com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) { copyOnWrite(); instance.setAccountID(builderForValue.build()); return this; } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID accountID = 1; */ public Builder mergeAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.mergeAccountID(value); return this; } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID accountID = 1; */ public Builder clearAccountID() { copyOnWrite(); instance.clearAccountID(); return this; } /** *
       **
       * The Contract Account ID comprising of both the contract instance and the cryptocurrency
       * account owned by the contract instance, in the format used by Solidity
       * 
* * string contractAccountID = 2; * @return The contractAccountID. */ @java.lang.Override public java.lang.String getContractAccountID() { return instance.getContractAccountID(); } /** *
       **
       * The Contract Account ID comprising of both the contract instance and the cryptocurrency
       * account owned by the contract instance, in the format used by Solidity
       * 
* * string contractAccountID = 2; * @return The bytes for contractAccountID. */ @java.lang.Override public com.google.protobuf.ByteString getContractAccountIDBytes() { return instance.getContractAccountIDBytes(); } /** *
       **
       * The Contract Account ID comprising of both the contract instance and the cryptocurrency
       * account owned by the contract instance, in the format used by Solidity
       * 
* * string contractAccountID = 2; * @param value The contractAccountID to set. * @return This builder for chaining. */ public Builder setContractAccountID( java.lang.String value) { copyOnWrite(); instance.setContractAccountID(value); return this; } /** *
       **
       * The Contract Account ID comprising of both the contract instance and the cryptocurrency
       * account owned by the contract instance, in the format used by Solidity
       * 
* * string contractAccountID = 2; * @return This builder for chaining. */ public Builder clearContractAccountID() { copyOnWrite(); instance.clearContractAccountID(); return this; } /** *
       **
       * The Contract Account ID comprising of both the contract instance and the cryptocurrency
       * account owned by the contract instance, in the format used by Solidity
       * 
* * string contractAccountID = 2; * @param value The bytes for contractAccountID to set. * @return This builder for chaining. */ public Builder setContractAccountIDBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setContractAccountIDBytes(value); return this; } /** *
       **
       * If true, then this account has been deleted, it will disappear when it expires, and all
       * transactions for it will fail except the transaction to extend its expiration date
       * 
* * bool deleted = 3; * @return The deleted. */ @java.lang.Override public boolean getDeleted() { return instance.getDeleted(); } /** *
       **
       * If true, then this account has been deleted, it will disappear when it expires, and all
       * transactions for it will fail except the transaction to extend its expiration date
       * 
* * bool deleted = 3; * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { copyOnWrite(); instance.setDeleted(value); return this; } /** *
       **
       * If true, then this account has been deleted, it will disappear when it expires, and all
       * transactions for it will fail except the transaction to extend its expiration date
       * 
* * bool deleted = 3; * @return This builder for chaining. */ public Builder clearDeleted() { copyOnWrite(); instance.clearDeleted(); return this; } /** *
       **
       * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
       * or is an invalid account, or is an account that isn't a node, then this account is
       * automatically proxy staked to a node chosen by the network, but without earning payments.
       * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
       * running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public boolean hasProxyAccountID() { return instance.hasProxyAccountID(); } /** *
       **
       * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
       * or is an invalid account, or is an account that isn't a node, then this account is
       * automatically proxy staked to a node chosen by the network, but without earning payments.
       * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
       * running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.hedera.hashgraph.sdk.proto.AccountID getProxyAccountID() { return instance.getProxyAccountID(); } /** *
       **
       * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
       * or is an invalid account, or is an account that isn't a node, then this account is
       * automatically proxy staked to a node chosen by the network, but without earning payments.
       * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
       * running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder setProxyAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.setProxyAccountID(value); return this; } /** *
       **
       * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
       * or is an invalid account, or is an account that isn't a node, then this account is
       * automatically proxy staked to a node chosen by the network, but without earning payments.
       * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
       * running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder setProxyAccountID( com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) { copyOnWrite(); instance.setProxyAccountID(builderForValue.build()); return this; } /** *
       **
       * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
       * or is an invalid account, or is an account that isn't a node, then this account is
       * automatically proxy staked to a node chosen by the network, but without earning payments.
       * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
       * running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder mergeProxyAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.mergeProxyAccountID(value); return this; } /** *
       **
       * [Deprecated] The Account ID of the account to which this is proxy staked. If proxyAccountID is null,
       * or is an invalid account, or is an account that isn't a node, then this account is
       * automatically proxy staked to a node chosen by the network, but without earning payments.
       * If the proxyAccountID account refuses to accept proxy staking , or if it is not currently
       * running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder clearProxyAccountID() { copyOnWrite(); instance.clearProxyAccountID(); return this; } /** *
       **
       * The total number of tinybars proxy staked to this account
       * 
* * int64 proxyReceived = 6; * @return The proxyReceived. */ @java.lang.Override public long getProxyReceived() { return instance.getProxyReceived(); } /** *
       **
       * The total number of tinybars proxy staked to this account
       * 
* * int64 proxyReceived = 6; * @param value The proxyReceived to set. * @return This builder for chaining. */ public Builder setProxyReceived(long value) { copyOnWrite(); instance.setProxyReceived(value); return this; } /** *
       **
       * The total number of tinybars proxy staked to this account
       * 
* * int64 proxyReceived = 6; * @return This builder for chaining. */ public Builder clearProxyReceived() { copyOnWrite(); instance.clearProxyReceived(); return this; } /** *
       **
       * The key for the account, which must sign in order to transfer out, or to modify the
       * account in any way other than extending its expiration date.
       * 
* * .proto.Key key = 7; */ @java.lang.Override public boolean hasKey() { return instance.hasKey(); } /** *
       **
       * The key for the account, which must sign in order to transfer out, or to modify the
       * account in any way other than extending its expiration date.
       * 
* * .proto.Key key = 7; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getKey() { return instance.getKey(); } /** *
       **
       * The key for the account, which must sign in order to transfer out, or to modify the
       * account in any way other than extending its expiration date.
       * 
* * .proto.Key key = 7; */ public Builder setKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.setKey(value); return this; } /** *
       **
       * The key for the account, which must sign in order to transfer out, or to modify the
       * account in any way other than extending its expiration date.
       * 
* * .proto.Key key = 7; */ public Builder setKey( com.hedera.hashgraph.sdk.proto.Key.Builder builderForValue) { copyOnWrite(); instance.setKey(builderForValue.build()); return this; } /** *
       **
       * The key for the account, which must sign in order to transfer out, or to modify the
       * account in any way other than extending its expiration date.
       * 
* * .proto.Key key = 7; */ public Builder mergeKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.mergeKey(value); return this; } /** *
       **
       * The key for the account, which must sign in order to transfer out, or to modify the
       * account in any way other than extending its expiration date.
       * 
* * .proto.Key key = 7; */ public Builder clearKey() { copyOnWrite(); instance.clearKey(); return this; } /** *
       **
       * The current balance of account in tinybars
       * 
* * uint64 balance = 8; * @return The balance. */ @java.lang.Override public long getBalance() { return instance.getBalance(); } /** *
       **
       * The current balance of account in tinybars
       * 
* * uint64 balance = 8; * @param value The balance to set. * @return This builder for chaining. */ public Builder setBalance(long value) { copyOnWrite(); instance.setBalance(value); return this; } /** *
       **
       * The current balance of account in tinybars
       * 
* * uint64 balance = 8; * @return This builder for chaining. */ public Builder clearBalance() { copyOnWrite(); instance.clearBalance(); return this; } /** *
       **
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
       * transaction that decreases the balance of this account by more than the threshold
       * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateSendRecordThreshold is deprecated. * See crypto_get_info.proto;l=110 * @return The generateSendRecordThreshold. */ @java.lang.Override @java.lang.Deprecated public long getGenerateSendRecordThreshold() { return instance.getGenerateSendRecordThreshold(); } /** *
       **
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
       * transaction that decreases the balance of this account by more than the threshold
       * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateSendRecordThreshold is deprecated. * See crypto_get_info.proto;l=110 * @param value The generateSendRecordThreshold to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setGenerateSendRecordThreshold(long value) { copyOnWrite(); instance.setGenerateSendRecordThreshold(value); return this; } /** *
       **
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
       * transaction that decreases the balance of this account by more than the threshold
       * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateSendRecordThreshold is deprecated. * See crypto_get_info.proto;l=110 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearGenerateSendRecordThreshold() { copyOnWrite(); instance.clearGenerateSendRecordThreshold(); return this; } /** *
       **
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
       * transaction that increases the balance of this account by more than the threshold
       * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateReceiveRecordThreshold is deprecated. * See crypto_get_info.proto;l=116 * @return The generateReceiveRecordThreshold. */ @java.lang.Override @java.lang.Deprecated public long getGenerateReceiveRecordThreshold() { return instance.getGenerateReceiveRecordThreshold(); } /** *
       **
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
       * transaction that increases the balance of this account by more than the threshold
       * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateReceiveRecordThreshold is deprecated. * See crypto_get_info.proto;l=116 * @param value The generateReceiveRecordThreshold to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setGenerateReceiveRecordThreshold(long value) { copyOnWrite(); instance.setGenerateReceiveRecordThreshold(value); return this; } /** *
       **
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any
       * transaction that increases the balance of this account by more than the threshold
       * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; * @deprecated proto.CryptoGetInfoResponse.AccountInfo.generateReceiveRecordThreshold is deprecated. * See crypto_get_info.proto;l=116 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearGenerateReceiveRecordThreshold() { copyOnWrite(); instance.clearGenerateReceiveRecordThreshold(); return this; } /** *
       **
       * If true, no transaction can transfer to this account unless signed by this account's key
       * 
* * bool receiverSigRequired = 11; * @return The receiverSigRequired. */ @java.lang.Override public boolean getReceiverSigRequired() { return instance.getReceiverSigRequired(); } /** *
       **
       * If true, no transaction can transfer to this account unless signed by this account's key
       * 
* * bool receiverSigRequired = 11; * @param value The receiverSigRequired to set. * @return This builder for chaining. */ public Builder setReceiverSigRequired(boolean value) { copyOnWrite(); instance.setReceiverSigRequired(value); return this; } /** *
       **
       * If true, no transaction can transfer to this account unless signed by this account's key
       * 
* * bool receiverSigRequired = 11; * @return This builder for chaining. */ public Builder clearReceiverSigRequired() { copyOnWrite(); instance.clearReceiverSigRequired(); return this; } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expirationTime = 12; */ @java.lang.Override public boolean hasExpirationTime() { return instance.hasExpirationTime(); } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expirationTime = 12; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime() { return instance.getExpirationTime(); } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expirationTime = 12; */ public Builder setExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { copyOnWrite(); instance.setExpirationTime(value); return this; } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expirationTime = 12; */ public Builder setExpirationTime( com.hedera.hashgraph.sdk.proto.Timestamp.Builder builderForValue) { copyOnWrite(); instance.setExpirationTime(builderForValue.build()); return this; } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expirationTime = 12; */ public Builder mergeExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { copyOnWrite(); instance.mergeExpirationTime(value); return this; } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expirationTime = 12; */ public Builder clearExpirationTime() { copyOnWrite(); instance.clearExpirationTime(); return this; } /** *
       **
       * The duration for expiration time will extend every this many seconds. If there are
       * insufficient funds, then it extends as long as possible. If it is empty when it expires,
       * then it is deleted.
       * 
* * .proto.Duration autoRenewPeriod = 13; */ @java.lang.Override public boolean hasAutoRenewPeriod() { return instance.hasAutoRenewPeriod(); } /** *
       **
       * The duration for expiration time will extend every this many seconds. If there are
       * insufficient funds, then it extends as long as possible. If it is empty when it expires,
       * then it is deleted.
       * 
* * .proto.Duration autoRenewPeriod = 13; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod() { return instance.getAutoRenewPeriod(); } /** *
       **
       * The duration for expiration time will extend every this many seconds. If there are
       * insufficient funds, then it extends as long as possible. If it is empty when it expires,
       * then it is deleted.
       * 
* * .proto.Duration autoRenewPeriod = 13; */ public Builder setAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { copyOnWrite(); instance.setAutoRenewPeriod(value); return this; } /** *
       **
       * The duration for expiration time will extend every this many seconds. If there are
       * insufficient funds, then it extends as long as possible. If it is empty when it expires,
       * then it is deleted.
       * 
* * .proto.Duration autoRenewPeriod = 13; */ public Builder setAutoRenewPeriod( com.hedera.hashgraph.sdk.proto.Duration.Builder builderForValue) { copyOnWrite(); instance.setAutoRenewPeriod(builderForValue.build()); return this; } /** *
       **
       * The duration for expiration time will extend every this many seconds. If there are
       * insufficient funds, then it extends as long as possible. If it is empty when it expires,
       * then it is deleted.
       * 
* * .proto.Duration autoRenewPeriod = 13; */ public Builder mergeAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { copyOnWrite(); instance.mergeAutoRenewPeriod(value); return this; } /** *
       **
       * The duration for expiration time will extend every this many seconds. If there are
       * insufficient funds, then it extends as long as possible. If it is empty when it expires,
       * then it is deleted.
       * 
* * .proto.Duration autoRenewPeriod = 13; */ public Builder clearAutoRenewPeriod() { copyOnWrite(); instance.clearAutoRenewPeriod(); return this; } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ @java.lang.Override public java.util.List getLiveHashesList() { return java.util.Collections.unmodifiableList( instance.getLiveHashesList()); } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ @java.lang.Override public int getLiveHashesCount() { return instance.getLiveHashesCount(); }/** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.LiveHash getLiveHashes(int index) { return instance.getLiveHashes(index); } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder setLiveHashes( int index, com.hedera.hashgraph.sdk.proto.LiveHash value) { copyOnWrite(); instance.setLiveHashes(index, value); return this; } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder setLiveHashes( int index, com.hedera.hashgraph.sdk.proto.LiveHash.Builder builderForValue) { copyOnWrite(); instance.setLiveHashes(index, builderForValue.build()); return this; } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder addLiveHashes(com.hedera.hashgraph.sdk.proto.LiveHash value) { copyOnWrite(); instance.addLiveHashes(value); return this; } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder addLiveHashes( int index, com.hedera.hashgraph.sdk.proto.LiveHash value) { copyOnWrite(); instance.addLiveHashes(index, value); return this; } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder addLiveHashes( com.hedera.hashgraph.sdk.proto.LiveHash.Builder builderForValue) { copyOnWrite(); instance.addLiveHashes(builderForValue.build()); return this; } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder addLiveHashes( int index, com.hedera.hashgraph.sdk.proto.LiveHash.Builder builderForValue) { copyOnWrite(); instance.addLiveHashes(index, builderForValue.build()); return this; } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder addAllLiveHashes( java.lang.Iterable values) { copyOnWrite(); instance.addAllLiveHashes(values); return this; } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder clearLiveHashes() { copyOnWrite(); instance.clearLiveHashes(); return this; } /** *
       **
       * All of the livehashes attached to the account (each of which is a hash along with the
       * keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder removeLiveHashes(int index) { copyOnWrite(); instance.removeLiveHashes(index); return this; } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getTokenRelationshipsList() { return java.util.Collections.unmodifiableList( instance.getTokenRelationshipsList()); } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public int getTokenRelationshipsCount() { return instance.getTokenRelationshipsCount(); }/** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.hedera.hashgraph.sdk.proto.TokenRelationship getTokenRelationships(int index) { return instance.getTokenRelationships(index); } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public Builder setTokenRelationships( int index, com.hedera.hashgraph.sdk.proto.TokenRelationship value) { copyOnWrite(); instance.setTokenRelationships(index, value); return this; } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public Builder setTokenRelationships( int index, com.hedera.hashgraph.sdk.proto.TokenRelationship.Builder builderForValue) { copyOnWrite(); instance.setTokenRelationships(index, builderForValue.build()); return this; } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public Builder addTokenRelationships(com.hedera.hashgraph.sdk.proto.TokenRelationship value) { copyOnWrite(); instance.addTokenRelationships(value); return this; } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public Builder addTokenRelationships( int index, com.hedera.hashgraph.sdk.proto.TokenRelationship value) { copyOnWrite(); instance.addTokenRelationships(index, value); return this; } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public Builder addTokenRelationships( com.hedera.hashgraph.sdk.proto.TokenRelationship.Builder builderForValue) { copyOnWrite(); instance.addTokenRelationships(builderForValue.build()); return this; } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public Builder addTokenRelationships( int index, com.hedera.hashgraph.sdk.proto.TokenRelationship.Builder builderForValue) { copyOnWrite(); instance.addTokenRelationships(index, builderForValue.build()); return this; } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public Builder addAllTokenRelationships( java.lang.Iterable values) { copyOnWrite(); instance.addAllTokenRelationships(values); return this; } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public Builder clearTokenRelationships() { copyOnWrite(); instance.clearTokenRelationships(); return this; } /** *
       **
       * [DEPRECATED] The metadata 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 associations.
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15 [deprecated = true]; */ @java.lang.Deprecated public Builder removeTokenRelationships(int index) { copyOnWrite(); instance.removeTokenRelationships(index); return this; } /** *
       **
       * The memo associated with the account
       * 
* * string memo = 16; * @return The memo. */ @java.lang.Override public java.lang.String getMemo() { return instance.getMemo(); } /** *
       **
       * The memo associated with the account
       * 
* * string memo = 16; * @return The bytes for memo. */ @java.lang.Override public com.google.protobuf.ByteString getMemoBytes() { return instance.getMemoBytes(); } /** *
       **
       * The memo associated with the account
       * 
* * string memo = 16; * @param value The memo to set. * @return This builder for chaining. */ public Builder setMemo( java.lang.String value) { copyOnWrite(); instance.setMemo(value); return this; } /** *
       **
       * The memo associated with the account
       * 
* * string memo = 16; * @return This builder for chaining. */ public Builder clearMemo() { copyOnWrite(); instance.clearMemo(); return this; } /** *
       **
       * The memo associated with the account
       * 
* * string memo = 16; * @param value The bytes for memo to set. * @return This builder for chaining. */ public Builder setMemoBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setMemoBytes(value); return this; } /** *
       **
       * The number of NFTs owned by this account
       * 
* * int64 ownedNfts = 17; * @return The ownedNfts. */ @java.lang.Override public long getOwnedNfts() { return instance.getOwnedNfts(); } /** *
       **
       * The number of NFTs owned by this account
       * 
* * int64 ownedNfts = 17; * @param value The ownedNfts to set. * @return This builder for chaining. */ public Builder setOwnedNfts(long value) { copyOnWrite(); instance.setOwnedNfts(value); return this; } /** *
       **
       * The number of NFTs owned by this account
       * 
* * int64 ownedNfts = 17; * @return This builder for chaining. */ public Builder clearOwnedNfts() { copyOnWrite(); instance.clearOwnedNfts(); return this; } /** *
       **
       * The maximum number of tokens that an Account can be implicitly associated with.
       * 
* * int32 max_automatic_token_associations = 18; * @return The maxAutomaticTokenAssociations. */ @java.lang.Override public int getMaxAutomaticTokenAssociations() { return instance.getMaxAutomaticTokenAssociations(); } /** *
       **
       * The maximum number of tokens that an Account can be implicitly associated with.
       * 
* * int32 max_automatic_token_associations = 18; * @param value The maxAutomaticTokenAssociations to set. * @return This builder for chaining. */ public Builder setMaxAutomaticTokenAssociations(int value) { copyOnWrite(); instance.setMaxAutomaticTokenAssociations(value); return this; } /** *
       **
       * The maximum number of tokens that an Account can be implicitly associated with.
       * 
* * int32 max_automatic_token_associations = 18; * @return This builder for chaining. */ public Builder clearMaxAutomaticTokenAssociations() { copyOnWrite(); instance.clearMaxAutomaticTokenAssociations(); return this; } /** *
       **
       * The alias of this account
       * 
* * bytes alias = 19; * @return The alias. */ @java.lang.Override public com.google.protobuf.ByteString getAlias() { return instance.getAlias(); } /** *
       **
       * The alias of this account
       * 
* * bytes alias = 19; * @param value The alias to set. * @return This builder for chaining. */ public Builder setAlias(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setAlias(value); return this; } /** *
       **
       * The alias of this account
       * 
* * bytes alias = 19; * @return This builder for chaining. */ public Builder clearAlias() { copyOnWrite(); instance.clearAlias(); return this; } /** *
       **
       * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
       * 
* * bytes ledger_id = 20; * @return The ledgerId. */ @java.lang.Override public com.google.protobuf.ByteString getLedgerId() { return instance.getLedgerId(); } /** *
       **
       * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
       * 
* * bytes ledger_id = 20; * @param value The ledgerId to set. * @return This builder for chaining. */ public Builder setLedgerId(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setLedgerId(value); return this; } /** *
       **
       * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
       * 
* * bytes ledger_id = 20; * @return This builder for chaining. */ public Builder clearLedgerId() { copyOnWrite(); instance.clearLedgerId(); return this; } /** *
       **
       * The ethereum transaction nonce associated with this account.
       * 
* * int64 ethereum_nonce = 21; * @return The ethereumNonce. */ @java.lang.Override public long getEthereumNonce() { return instance.getEthereumNonce(); } /** *
       **
       * The ethereum transaction nonce associated with this account.
       * 
* * int64 ethereum_nonce = 21; * @param value The ethereumNonce to set. * @return This builder for chaining. */ public Builder setEthereumNonce(long value) { copyOnWrite(); instance.setEthereumNonce(value); return this; } /** *
       **
       * The ethereum transaction nonce associated with this account.
       * 
* * int64 ethereum_nonce = 21; * @return This builder for chaining. */ public Builder clearEthereumNonce() { copyOnWrite(); instance.clearEthereumNonce(); return this; } /** *
       **
       * Staking metadata for this account.
       * 
* * .proto.StakingInfo staking_info = 22; */ @java.lang.Override public boolean hasStakingInfo() { return instance.hasStakingInfo(); } /** *
       **
       * Staking metadata for this account.
       * 
* * .proto.StakingInfo staking_info = 22; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.StakingInfo getStakingInfo() { return instance.getStakingInfo(); } /** *
       **
       * Staking metadata for this account.
       * 
* * .proto.StakingInfo staking_info = 22; */ public Builder setStakingInfo(com.hedera.hashgraph.sdk.proto.StakingInfo value) { copyOnWrite(); instance.setStakingInfo(value); return this; } /** *
       **
       * Staking metadata for this account.
       * 
* * .proto.StakingInfo staking_info = 22; */ public Builder setStakingInfo( com.hedera.hashgraph.sdk.proto.StakingInfo.Builder builderForValue) { copyOnWrite(); instance.setStakingInfo(builderForValue.build()); return this; } /** *
       **
       * Staking metadata for this account.
       * 
* * .proto.StakingInfo staking_info = 22; */ public Builder mergeStakingInfo(com.hedera.hashgraph.sdk.proto.StakingInfo value) { copyOnWrite(); instance.mergeStakingInfo(value); return this; } /** *
       **
       * Staking metadata for this account.
       * 
* * .proto.StakingInfo staking_info = 22; */ public Builder clearStakingInfo() { copyOnWrite(); instance.clearStakingInfo(); return this; } // @@protoc_insertion_point(builder_scope:proto.CryptoGetInfoResponse.AccountInfo) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "accountID_", "contractAccountID_", "deleted_", "proxyAccountID_", "proxyReceived_", "key_", "balance_", "generateSendRecordThreshold_", "generateReceiveRecordThreshold_", "receiverSigRequired_", "expirationTime_", "autoRenewPeriod_", "liveHashes_", com.hedera.hashgraph.sdk.proto.LiveHash.class, "tokenRelationships_", com.hedera.hashgraph.sdk.proto.TokenRelationship.class, "memo_", "ownedNfts_", "maxAutomaticTokenAssociations_", "alias_", "ledgerId_", "ethereumNonce_", "stakingInfo_", }; java.lang.String info = "\u0000\u0015\u0000\u0000\u0001\u0016\u0015\u0000\u0002\u0000\u0001\t\u0002\u0208" + "\u0003\u0007\u0004\t\u0006\u0002\u0007\t\b\u0003\t\u0003\n\u0003\u000b\u0007\f\t" + "\r\t\u000e\u001b\u000f\u001b\u0010\u0208\u0011\u0002\u0012\u0004\u0013\n\u0014\n" + "\u0015\u0002\u0016\t"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:proto.CryptoGetInfoResponse.AccountInfo) private static final com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo DEFAULT_INSTANCE; static { AccountInfo defaultInstance = new AccountInfo(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( AccountInfo.class, defaultInstance); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public static final int HEADER_FIELD_NUMBER = 1; private com.hedera.hashgraph.sdk.proto.ResponseHeader header_; /** *
   **
   * Standard response from node to client, including the requested fields: cost, or state proof,
   * or both, or neither
   * 
* * .proto.ResponseHeader header = 1; */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** *
   **
   * Standard response from node to client, including the requested fields: cost, or state proof,
   * or both, or neither
   * 
* * .proto.ResponseHeader header = 1; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.ResponseHeader getHeader() { return header_ == null ? com.hedera.hashgraph.sdk.proto.ResponseHeader.getDefaultInstance() : header_; } /** *
   **
   * Standard response from node to client, including the requested fields: cost, or state proof,
   * or both, or neither
   * 
* * .proto.ResponseHeader header = 1; */ private void setHeader(com.hedera.hashgraph.sdk.proto.ResponseHeader value) { value.getClass(); header_ = value; } /** *
   **
   * Standard response from node to client, including the requested fields: cost, or state proof,
   * or both, or neither
   * 
* * .proto.ResponseHeader header = 1; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeHeader(com.hedera.hashgraph.sdk.proto.ResponseHeader value) { value.getClass(); if (header_ != null && header_ != com.hedera.hashgraph.sdk.proto.ResponseHeader.getDefaultInstance()) { header_ = com.hedera.hashgraph.sdk.proto.ResponseHeader.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } } /** *
   **
   * Standard response from node to client, including the requested fields: cost, or state proof,
   * or both, or neither
   * 
* * .proto.ResponseHeader header = 1; */ private void clearHeader() { header_ = null; } public static final int ACCOUNTINFO_FIELD_NUMBER = 2; private com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo accountInfo_; /** *
   **
   * Info about the account (a state proof can be generated for this)
   * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ @java.lang.Override public boolean hasAccountInfo() { return accountInfo_ != null; } /** *
   **
   * Info about the account (a state proof can be generated for this)
   * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo getAccountInfo() { return accountInfo_ == null ? com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo.getDefaultInstance() : accountInfo_; } /** *
   **
   * Info about the account (a state proof can be generated for this)
   * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ private void setAccountInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo value) { value.getClass(); accountInfo_ = value; } /** *
   **
   * Info about the account (a state proof can be generated for this)
   * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAccountInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo value) { value.getClass(); if (accountInfo_ != null && accountInfo_ != com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo.getDefaultInstance()) { accountInfo_ = com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo.newBuilder(accountInfo_).mergeFrom(value).buildPartial(); } else { accountInfo_ = value; } } /** *
   **
   * Info about the account (a state proof can be generated for this)
   * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ private void clearAccountInfo() { accountInfo_ = null; } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   **
   * Response when the client sends the node CryptoGetInfoQuery
   * 
* * Protobuf type {@code proto.CryptoGetInfoResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse, Builder> implements // @@protoc_insertion_point(builder_implements:proto.CryptoGetInfoResponse) com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponseOrBuilder { // Construct using com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     **
     * Standard response from node to client, including the requested fields: cost, or state proof,
     * or both, or neither
     * 
* * .proto.ResponseHeader header = 1; */ @java.lang.Override public boolean hasHeader() { return instance.hasHeader(); } /** *
     **
     * Standard response from node to client, including the requested fields: cost, or state proof,
     * or both, or neither
     * 
* * .proto.ResponseHeader header = 1; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.ResponseHeader getHeader() { return instance.getHeader(); } /** *
     **
     * Standard response from node to client, including the requested fields: cost, or state proof,
     * or both, or neither
     * 
* * .proto.ResponseHeader header = 1; */ public Builder setHeader(com.hedera.hashgraph.sdk.proto.ResponseHeader value) { copyOnWrite(); instance.setHeader(value); return this; } /** *
     **
     * Standard response from node to client, including the requested fields: cost, or state proof,
     * or both, or neither
     * 
* * .proto.ResponseHeader header = 1; */ public Builder setHeader( com.hedera.hashgraph.sdk.proto.ResponseHeader.Builder builderForValue) { copyOnWrite(); instance.setHeader(builderForValue.build()); return this; } /** *
     **
     * Standard response from node to client, including the requested fields: cost, or state proof,
     * or both, or neither
     * 
* * .proto.ResponseHeader header = 1; */ public Builder mergeHeader(com.hedera.hashgraph.sdk.proto.ResponseHeader value) { copyOnWrite(); instance.mergeHeader(value); return this; } /** *
     **
     * Standard response from node to client, including the requested fields: cost, or state proof,
     * or both, or neither
     * 
* * .proto.ResponseHeader header = 1; */ public Builder clearHeader() { copyOnWrite(); instance.clearHeader(); return this; } /** *
     **
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ @java.lang.Override public boolean hasAccountInfo() { return instance.hasAccountInfo(); } /** *
     **
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo getAccountInfo() { return instance.getAccountInfo(); } /** *
     **
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public Builder setAccountInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo value) { copyOnWrite(); instance.setAccountInfo(value); return this; } /** *
     **
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public Builder setAccountInfo( com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo.Builder builderForValue) { copyOnWrite(); instance.setAccountInfo(builderForValue.build()); return this; } /** *
     **
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public Builder mergeAccountInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.AccountInfo value) { copyOnWrite(); instance.mergeAccountInfo(value); return this; } /** *
     **
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public Builder clearAccountInfo() { copyOnWrite(); instance.clearAccountInfo(); return this; } // @@protoc_insertion_point(builder_scope:proto.CryptoGetInfoResponse) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "header_", "accountInfo_", }; java.lang.String info = "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\t\u0002\t"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:proto.CryptoGetInfoResponse) private static final com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse DEFAULT_INSTANCE; static { CryptoGetInfoResponse defaultInstance = new CryptoGetInfoResponse(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( CryptoGetInfoResponse.class, defaultInstance); } public static com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy