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

com.hederahashgraph.api.proto.java.GetAccountDetailsResponse Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: get_account_details.proto

package com.hederahashgraph.api.proto.java;

/**
 * 
 **
 * Response when the client sends the node GetAccountDetailsQuery
 * 
* * Protobuf type {@code proto.GetAccountDetailsResponse} */ public final class GetAccountDetailsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.GetAccountDetailsResponse) GetAccountDetailsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetAccountDetailsResponse.newBuilder() to construct. private GetAccountDetailsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetAccountDetailsResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetAccountDetailsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetAccountDetailsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.hederahashgraph.api.proto.java.ResponseHeader.Builder subBuilder = null; if (header_ != null) { subBuilder = header_.toBuilder(); } header_ = input.readMessage(com.hederahashgraph.api.proto.java.ResponseHeader.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(header_); header_ = subBuilder.buildPartial(); } break; } case 18: { com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.Builder subBuilder = null; if (accountDetails_ != null) { subBuilder = accountDetails_.toBuilder(); } accountDetails_ = input.readMessage(com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(accountDetails_); accountDetails_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.GetAccountDetails.internal_static_proto_GetAccountDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.GetAccountDetails.internal_static_proto_GetAccountDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.class, com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.Builder.class); } public interface AccountDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.GetAccountDetailsResponse.AccountDetails) com.google.protobuf.MessageOrBuilder { /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID account_id = 1; * @return Whether the accountId field is set. */ boolean hasAccountId(); /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID account_id = 1; * @return The accountId. */ com.hederahashgraph.api.proto.java.AccountID getAccountId(); /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID account_id = 1; */ com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIdOrBuilder(); /** *
     **
     * 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 contract_account_id = 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 contract_account_id = 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 proxy_account_id = 4 [deprecated = true]; * @deprecated * @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 proxy_account_id = 4 [deprecated = true]; * @deprecated * @return The proxyAccountId. */ @java.lang.Deprecated com.hederahashgraph.api.proto.java.AccountID 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 proxy_account_id = 4 [deprecated = true]; */ @java.lang.Deprecated com.hederahashgraph.api.proto.java.AccountIDOrBuilder getProxyAccountIdOrBuilder(); /** *
     **
     * The total number of tinybars proxy staked to this account
     * 
* * int64 proxy_received = 5; * @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 = 6; * @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 = 6; * @return The key. */ com.hederahashgraph.api.proto.java.Key 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 = 6; */ com.hederahashgraph.api.proto.java.KeyOrBuilder getKeyOrBuilder(); /** *
     **
     * The current balance of account in tinybars
     * 
* * uint64 balance = 7; * @return The balance. */ long getBalance(); /** *
     **
     * If true, no transaction can transfer to this account unless signed by this account's key
     * 
* * bool receiver_sig_required = 8; * @return The receiverSigRequired. */ boolean getReceiverSigRequired(); /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expiration_time = 9; * @return Whether the expirationTime field is set. */ boolean hasExpirationTime(); /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expiration_time = 9; * @return The expirationTime. */ com.hederahashgraph.api.proto.java.Timestamp getExpirationTime(); /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expiration_time = 9; */ com.hederahashgraph.api.proto.java.TimestampOrBuilder getExpirationTimeOrBuilder(); /** *
     **
     * 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 auto_renew_period = 10; * @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 auto_renew_period = 10; * @return The autoRenewPeriod. */ com.hederahashgraph.api.proto.java.Duration 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 auto_renew_period = 10; */ com.hederahashgraph.api.proto.java.DurationOrBuilder getAutoRenewPeriodOrBuilder(); /** *
     **
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ java.util.List getTokenRelationshipsList(); /** *
     **
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ com.hederahashgraph.api.proto.java.TokenRelationship getTokenRelationships(int index); /** *
     **
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ int getTokenRelationshipsCount(); /** *
     **
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ java.util.List getTokenRelationshipsOrBuilderList(); /** *
     **
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ com.hederahashgraph.api.proto.java.TokenRelationshipOrBuilder getTokenRelationshipsOrBuilder( int index); /** *
     **
     * The memo associated with the account
     * 
* * string memo = 12; * @return The memo. */ java.lang.String getMemo(); /** *
     **
     * The memo associated with the account
     * 
* * string memo = 12; * @return The bytes for memo. */ com.google.protobuf.ByteString getMemoBytes(); /** *
     **
     * The number of NFTs owned by this account
     * 
* * int64 owned_nfts = 13; * @return The ownedNfts. */ long getOwnedNfts(); /** *
     **
     * The maximum number of tokens that an Account can be implicitly associated with.
     * 
* * int32 max_automatic_token_associations = 14; * @return The maxAutomaticTokenAssociations. */ int getMaxAutomaticTokenAssociations(); /** *
     **
     * The alias of this account
     * 
* * bytes alias = 15; * @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 = 16; * @return The ledgerId. */ com.google.protobuf.ByteString getLedgerId(); /** *
     **
     * All of the hbar allowances approved by the account owner.
     * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ java.util.List getGrantedCryptoAllowancesList(); /** *
     **
     * All of the hbar allowances approved by the account owner.
     * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ com.hederahashgraph.api.proto.java.GrantedCryptoAllowance getGrantedCryptoAllowances(int index); /** *
     **
     * All of the hbar allowances approved by the account owner.
     * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ int getGrantedCryptoAllowancesCount(); /** *
     **
     * All of the hbar allowances approved by the account owner.
     * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ java.util.List getGrantedCryptoAllowancesOrBuilderList(); /** *
     **
     * All of the hbar allowances approved by the account owner.
     * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ com.hederahashgraph.api.proto.java.GrantedCryptoAllowanceOrBuilder getGrantedCryptoAllowancesOrBuilder( int index); /** *
     **
     * All of the non-fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ java.util.List getGrantedNftAllowancesList(); /** *
     **
     * All of the non-fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ com.hederahashgraph.api.proto.java.GrantedNftAllowance getGrantedNftAllowances(int index); /** *
     **
     * All of the non-fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ int getGrantedNftAllowancesCount(); /** *
     **
     * All of the non-fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ java.util.List getGrantedNftAllowancesOrBuilderList(); /** *
     **
     * All of the non-fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ com.hederahashgraph.api.proto.java.GrantedNftAllowanceOrBuilder getGrantedNftAllowancesOrBuilder( int index); /** *
     **
     * All of the fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ java.util.List getGrantedTokenAllowancesList(); /** *
     **
     * All of the fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ com.hederahashgraph.api.proto.java.GrantedTokenAllowance getGrantedTokenAllowances(int index); /** *
     **
     * All of the fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ int getGrantedTokenAllowancesCount(); /** *
     **
     * All of the fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ java.util.List getGrantedTokenAllowancesOrBuilderList(); /** *
     **
     * All of the fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ com.hederahashgraph.api.proto.java.GrantedTokenAllowanceOrBuilder getGrantedTokenAllowancesOrBuilder( int index); } /** * Protobuf type {@code proto.GetAccountDetailsResponse.AccountDetails} */ public static final class AccountDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.GetAccountDetailsResponse.AccountDetails) AccountDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use AccountDetails.newBuilder() to construct. private AccountDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AccountDetails() { contractAccountId_ = ""; tokenRelationships_ = java.util.Collections.emptyList(); memo_ = ""; alias_ = com.google.protobuf.ByteString.EMPTY; ledgerId_ = com.google.protobuf.ByteString.EMPTY; grantedCryptoAllowances_ = java.util.Collections.emptyList(); grantedNftAllowances_ = java.util.Collections.emptyList(); grantedTokenAllowances_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AccountDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AccountDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.hederahashgraph.api.proto.java.AccountID.Builder subBuilder = null; if (accountId_ != null) { subBuilder = accountId_.toBuilder(); } accountId_ = input.readMessage(com.hederahashgraph.api.proto.java.AccountID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(accountId_); accountId_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); contractAccountId_ = s; break; } case 24: { deleted_ = input.readBool(); break; } case 34: { com.hederahashgraph.api.proto.java.AccountID.Builder subBuilder = null; if (proxyAccountId_ != null) { subBuilder = proxyAccountId_.toBuilder(); } proxyAccountId_ = input.readMessage(com.hederahashgraph.api.proto.java.AccountID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proxyAccountId_); proxyAccountId_ = subBuilder.buildPartial(); } break; } case 40: { proxyReceived_ = input.readInt64(); break; } case 50: { com.hederahashgraph.api.proto.java.Key.Builder subBuilder = null; if (key_ != null) { subBuilder = key_.toBuilder(); } key_ = input.readMessage(com.hederahashgraph.api.proto.java.Key.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(key_); key_ = subBuilder.buildPartial(); } break; } case 56: { balance_ = input.readUInt64(); break; } case 64: { receiverSigRequired_ = input.readBool(); break; } case 74: { com.hederahashgraph.api.proto.java.Timestamp.Builder subBuilder = null; if (expirationTime_ != null) { subBuilder = expirationTime_.toBuilder(); } expirationTime_ = input.readMessage(com.hederahashgraph.api.proto.java.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(expirationTime_); expirationTime_ = subBuilder.buildPartial(); } break; } case 82: { com.hederahashgraph.api.proto.java.Duration.Builder subBuilder = null; if (autoRenewPeriod_ != null) { subBuilder = autoRenewPeriod_.toBuilder(); } autoRenewPeriod_ = input.readMessage(com.hederahashgraph.api.proto.java.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(autoRenewPeriod_); autoRenewPeriod_ = subBuilder.buildPartial(); } break; } case 90: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tokenRelationships_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tokenRelationships_.add( input.readMessage(com.hederahashgraph.api.proto.java.TokenRelationship.parser(), extensionRegistry)); break; } case 98: { java.lang.String s = input.readStringRequireUtf8(); memo_ = s; break; } case 104: { ownedNfts_ = input.readInt64(); break; } case 112: { maxAutomaticTokenAssociations_ = input.readInt32(); break; } case 122: { alias_ = input.readBytes(); break; } case 130: { ledgerId_ = input.readBytes(); break; } case 138: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { grantedCryptoAllowances_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } grantedCryptoAllowances_.add( input.readMessage(com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.parser(), extensionRegistry)); break; } case 146: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { grantedNftAllowances_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } grantedNftAllowances_.add( input.readMessage(com.hederahashgraph.api.proto.java.GrantedNftAllowance.parser(), extensionRegistry)); break; } case 154: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { grantedTokenAllowances_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } grantedTokenAllowances_.add( input.readMessage(com.hederahashgraph.api.proto.java.GrantedTokenAllowance.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tokenRelationships_ = java.util.Collections.unmodifiableList(tokenRelationships_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { grantedCryptoAllowances_ = java.util.Collections.unmodifiableList(grantedCryptoAllowances_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { grantedNftAllowances_ = java.util.Collections.unmodifiableList(grantedNftAllowances_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { grantedTokenAllowances_ = java.util.Collections.unmodifiableList(grantedTokenAllowances_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.GetAccountDetails.internal_static_proto_GetAccountDetailsResponse_AccountDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.GetAccountDetails.internal_static_proto_GetAccountDetailsResponse_AccountDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.class, com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.Builder.class); } public static final int ACCOUNT_ID_FIELD_NUMBER = 1; private com.hederahashgraph.api.proto.java.AccountID accountId_; /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID account_id = 1; * @return Whether the accountId field is set. */ @java.lang.Override public boolean hasAccountId() { return accountId_ != null; } /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID account_id = 1; * @return The accountId. */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountID getAccountId() { return accountId_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : accountId_; } /** *
     **
     * The account ID for which this information applies
     * 
* * .proto.AccountID account_id = 1; */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIdOrBuilder() { return getAccountId(); } public static final int CONTRACT_ACCOUNT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object 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 contract_account_id = 2; * @return The contractAccountId. */ @java.lang.Override public java.lang.String getContractAccountId() { java.lang.Object ref = contractAccountId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contractAccountId_ = s; return s; } } /** *
     **
     * 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 contract_account_id = 2; * @return The bytes for contractAccountId. */ @java.lang.Override public com.google.protobuf.ByteString getContractAccountIdBytes() { java.lang.Object ref = contractAccountId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contractAccountId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_; } public static final int PROXY_ACCOUNT_ID_FIELD_NUMBER = 4; private com.hederahashgraph.api.proto.java.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 proxy_account_id = 4 [deprecated = true]; * @deprecated * @return Whether the proxyAccountId field is set. */ @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 proxy_account_id = 4 [deprecated = true]; * @deprecated * @return The proxyAccountId. */ @java.lang.Override @java.lang.Deprecated public com.hederahashgraph.api.proto.java.AccountID getProxyAccountId() { return proxyAccountId_ == null ? com.hederahashgraph.api.proto.java.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 proxy_account_id = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getProxyAccountIdOrBuilder() { return getProxyAccountId(); } public static final int PROXY_RECEIVED_FIELD_NUMBER = 5; private long proxyReceived_; /** *
     **
     * The total number of tinybars proxy staked to this account
     * 
* * int64 proxy_received = 5; * @return The proxyReceived. */ @java.lang.Override public long getProxyReceived() { return proxyReceived_; } public static final int KEY_FIELD_NUMBER = 6; private com.hederahashgraph.api.proto.java.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 = 6; * @return Whether the key field is set. */ @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 = 6; * @return The key. */ @java.lang.Override public com.hederahashgraph.api.proto.java.Key getKey() { return key_ == null ? com.hederahashgraph.api.proto.java.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 = 6; */ @java.lang.Override public com.hederahashgraph.api.proto.java.KeyOrBuilder getKeyOrBuilder() { return getKey(); } public static final int BALANCE_FIELD_NUMBER = 7; private long balance_; /** *
     **
     * The current balance of account in tinybars
     * 
* * uint64 balance = 7; * @return The balance. */ @java.lang.Override public long getBalance() { return balance_; } public static final int RECEIVER_SIG_REQUIRED_FIELD_NUMBER = 8; private boolean receiverSigRequired_; /** *
     **
     * If true, no transaction can transfer to this account unless signed by this account's key
     * 
* * bool receiver_sig_required = 8; * @return The receiverSigRequired. */ @java.lang.Override public boolean getReceiverSigRequired() { return receiverSigRequired_; } public static final int EXPIRATION_TIME_FIELD_NUMBER = 9; private com.hederahashgraph.api.proto.java.Timestamp expirationTime_; /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expiration_time = 9; * @return Whether the expirationTime field is set. */ @java.lang.Override public boolean hasExpirationTime() { return expirationTime_ != null; } /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expiration_time = 9; * @return The expirationTime. */ @java.lang.Override public com.hederahashgraph.api.proto.java.Timestamp getExpirationTime() { return expirationTime_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : expirationTime_; } /** *
     **
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expiration_time = 9; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TimestampOrBuilder getExpirationTimeOrBuilder() { return getExpirationTime(); } public static final int AUTO_RENEW_PERIOD_FIELD_NUMBER = 10; private com.hederahashgraph.api.proto.java.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 auto_renew_period = 10; * @return Whether the autoRenewPeriod field is set. */ @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 auto_renew_period = 10; * @return The autoRenewPeriod. */ @java.lang.Override public com.hederahashgraph.api.proto.java.Duration getAutoRenewPeriod() { return autoRenewPeriod_ == null ? com.hederahashgraph.api.proto.java.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 auto_renew_period = 10; */ @java.lang.Override public com.hederahashgraph.api.proto.java.DurationOrBuilder getAutoRenewPeriodOrBuilder() { return getAutoRenewPeriod(); } public static final int TOKEN_RELATIONSHIPS_FIELD_NUMBER = 11; private java.util.List tokenRelationships_; /** *
     **
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ @java.lang.Override public java.util.List getTokenRelationshipsList() { return tokenRelationships_; } /** *
     **
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ @java.lang.Override public java.util.List getTokenRelationshipsOrBuilderList() { return tokenRelationships_; } /** *
     **
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ @java.lang.Override public int getTokenRelationshipsCount() { return tokenRelationships_.size(); } /** *
     **
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenRelationship getTokenRelationships(int index) { return tokenRelationships_.get(index); } /** *
     **
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenRelationshipOrBuilder getTokenRelationshipsOrBuilder( int index) { return tokenRelationships_.get(index); } public static final int MEMO_FIELD_NUMBER = 12; private volatile java.lang.Object memo_; /** *
     **
     * The memo associated with the account
     * 
* * string memo = 12; * @return The memo. */ @java.lang.Override public java.lang.String getMemo() { java.lang.Object ref = memo_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); memo_ = s; return s; } } /** *
     **
     * The memo associated with the account
     * 
* * string memo = 12; * @return The bytes for memo. */ @java.lang.Override public com.google.protobuf.ByteString getMemoBytes() { java.lang.Object ref = memo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); memo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OWNED_NFTS_FIELD_NUMBER = 13; private long ownedNfts_; /** *
     **
     * The number of NFTs owned by this account
     * 
* * int64 owned_nfts = 13; * @return The ownedNfts. */ @java.lang.Override public long getOwnedNfts() { return ownedNfts_; } public static final int MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER = 14; private int maxAutomaticTokenAssociations_; /** *
     **
     * The maximum number of tokens that an Account can be implicitly associated with.
     * 
* * int32 max_automatic_token_associations = 14; * @return The maxAutomaticTokenAssociations. */ @java.lang.Override public int getMaxAutomaticTokenAssociations() { return maxAutomaticTokenAssociations_; } public static final int ALIAS_FIELD_NUMBER = 15; private com.google.protobuf.ByteString alias_; /** *
     **
     * The alias of this account
     * 
* * bytes alias = 15; * @return The alias. */ @java.lang.Override public com.google.protobuf.ByteString getAlias() { return alias_; } public static final int LEDGER_ID_FIELD_NUMBER = 16; 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 = 16; * @return The ledgerId. */ @java.lang.Override public com.google.protobuf.ByteString getLedgerId() { return ledgerId_; } public static final int GRANTED_CRYPTO_ALLOWANCES_FIELD_NUMBER = 17; private java.util.List grantedCryptoAllowances_; /** *
     **
     * All of the hbar allowances approved by the account owner.
     * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ @java.lang.Override public java.util.List getGrantedCryptoAllowancesList() { return grantedCryptoAllowances_; } /** *
     **
     * All of the hbar allowances approved by the account owner.
     * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ @java.lang.Override public java.util.List getGrantedCryptoAllowancesOrBuilderList() { return grantedCryptoAllowances_; } /** *
     **
     * All of the hbar allowances approved by the account owner.
     * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ @java.lang.Override public int getGrantedCryptoAllowancesCount() { return grantedCryptoAllowances_.size(); } /** *
     **
     * All of the hbar allowances approved by the account owner.
     * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ @java.lang.Override public com.hederahashgraph.api.proto.java.GrantedCryptoAllowance getGrantedCryptoAllowances(int index) { return grantedCryptoAllowances_.get(index); } /** *
     **
     * All of the hbar allowances approved by the account owner.
     * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ @java.lang.Override public com.hederahashgraph.api.proto.java.GrantedCryptoAllowanceOrBuilder getGrantedCryptoAllowancesOrBuilder( int index) { return grantedCryptoAllowances_.get(index); } public static final int GRANTED_NFT_ALLOWANCES_FIELD_NUMBER = 18; private java.util.List grantedNftAllowances_; /** *
     **
     * All of the non-fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ @java.lang.Override public java.util.List getGrantedNftAllowancesList() { return grantedNftAllowances_; } /** *
     **
     * All of the non-fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ @java.lang.Override public java.util.List getGrantedNftAllowancesOrBuilderList() { return grantedNftAllowances_; } /** *
     **
     * All of the non-fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ @java.lang.Override public int getGrantedNftAllowancesCount() { return grantedNftAllowances_.size(); } /** *
     **
     * All of the non-fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ @java.lang.Override public com.hederahashgraph.api.proto.java.GrantedNftAllowance getGrantedNftAllowances(int index) { return grantedNftAllowances_.get(index); } /** *
     **
     * All of the non-fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ @java.lang.Override public com.hederahashgraph.api.proto.java.GrantedNftAllowanceOrBuilder getGrantedNftAllowancesOrBuilder( int index) { return grantedNftAllowances_.get(index); } public static final int GRANTED_TOKEN_ALLOWANCES_FIELD_NUMBER = 19; private java.util.List grantedTokenAllowances_; /** *
     **
     * All of the fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ @java.lang.Override public java.util.List getGrantedTokenAllowancesList() { return grantedTokenAllowances_; } /** *
     **
     * All of the fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ @java.lang.Override public java.util.List getGrantedTokenAllowancesOrBuilderList() { return grantedTokenAllowances_; } /** *
     **
     * All of the fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ @java.lang.Override public int getGrantedTokenAllowancesCount() { return grantedTokenAllowances_.size(); } /** *
     **
     * All of the fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ @java.lang.Override public com.hederahashgraph.api.proto.java.GrantedTokenAllowance getGrantedTokenAllowances(int index) { return grantedTokenAllowances_.get(index); } /** *
     **
     * All of the fungible token allowances approved by the account owner.
     * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ @java.lang.Override public com.hederahashgraph.api.proto.java.GrantedTokenAllowanceOrBuilder getGrantedTokenAllowancesOrBuilder( int index) { return grantedTokenAllowances_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (accountId_ != null) { output.writeMessage(1, getAccountId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contractAccountId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, contractAccountId_); } if (deleted_ != false) { output.writeBool(3, deleted_); } if (proxyAccountId_ != null) { output.writeMessage(4, getProxyAccountId()); } if (proxyReceived_ != 0L) { output.writeInt64(5, proxyReceived_); } if (key_ != null) { output.writeMessage(6, getKey()); } if (balance_ != 0L) { output.writeUInt64(7, balance_); } if (receiverSigRequired_ != false) { output.writeBool(8, receiverSigRequired_); } if (expirationTime_ != null) { output.writeMessage(9, getExpirationTime()); } if (autoRenewPeriod_ != null) { output.writeMessage(10, getAutoRenewPeriod()); } for (int i = 0; i < tokenRelationships_.size(); i++) { output.writeMessage(11, tokenRelationships_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memo_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, memo_); } if (ownedNfts_ != 0L) { output.writeInt64(13, ownedNfts_); } if (maxAutomaticTokenAssociations_ != 0) { output.writeInt32(14, maxAutomaticTokenAssociations_); } if (!alias_.isEmpty()) { output.writeBytes(15, alias_); } if (!ledgerId_.isEmpty()) { output.writeBytes(16, ledgerId_); } for (int i = 0; i < grantedCryptoAllowances_.size(); i++) { output.writeMessage(17, grantedCryptoAllowances_.get(i)); } for (int i = 0; i < grantedNftAllowances_.size(); i++) { output.writeMessage(18, grantedNftAllowances_.get(i)); } for (int i = 0; i < grantedTokenAllowances_.size(); i++) { output.writeMessage(19, grantedTokenAllowances_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (accountId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccountId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contractAccountId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, contractAccountId_); } if (deleted_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, deleted_); } if (proxyAccountId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getProxyAccountId()); } if (proxyReceived_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, proxyReceived_); } if (key_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getKey()); } if (balance_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(7, balance_); } if (receiverSigRequired_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, receiverSigRequired_); } if (expirationTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getExpirationTime()); } if (autoRenewPeriod_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getAutoRenewPeriod()); } for (int i = 0; i < tokenRelationships_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, tokenRelationships_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, memo_); } if (ownedNfts_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(13, ownedNfts_); } if (maxAutomaticTokenAssociations_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(14, maxAutomaticTokenAssociations_); } if (!alias_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(15, alias_); } if (!ledgerId_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(16, ledgerId_); } for (int i = 0; i < grantedCryptoAllowances_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, grantedCryptoAllowances_.get(i)); } for (int i = 0; i < grantedNftAllowances_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, grantedNftAllowances_.get(i)); } for (int i = 0; i < grantedTokenAllowances_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, grantedTokenAllowances_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails)) { return super.equals(obj); } com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails other = (com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails) obj; if (hasAccountId() != other.hasAccountId()) return false; if (hasAccountId()) { if (!getAccountId() .equals(other.getAccountId())) return false; } if (!getContractAccountId() .equals(other.getContractAccountId())) return false; if (getDeleted() != other.getDeleted()) return false; if (hasProxyAccountId() != other.hasProxyAccountId()) return false; if (hasProxyAccountId()) { if (!getProxyAccountId() .equals(other.getProxyAccountId())) return false; } if (getProxyReceived() != other.getProxyReceived()) return false; if (hasKey() != other.hasKey()) return false; if (hasKey()) { if (!getKey() .equals(other.getKey())) return false; } if (getBalance() != other.getBalance()) return false; if (getReceiverSigRequired() != other.getReceiverSigRequired()) return false; if (hasExpirationTime() != other.hasExpirationTime()) return false; if (hasExpirationTime()) { if (!getExpirationTime() .equals(other.getExpirationTime())) return false; } if (hasAutoRenewPeriod() != other.hasAutoRenewPeriod()) return false; if (hasAutoRenewPeriod()) { if (!getAutoRenewPeriod() .equals(other.getAutoRenewPeriod())) return false; } if (!getTokenRelationshipsList() .equals(other.getTokenRelationshipsList())) return false; if (!getMemo() .equals(other.getMemo())) return false; if (getOwnedNfts() != other.getOwnedNfts()) return false; if (getMaxAutomaticTokenAssociations() != other.getMaxAutomaticTokenAssociations()) return false; if (!getAlias() .equals(other.getAlias())) return false; if (!getLedgerId() .equals(other.getLedgerId())) return false; if (!getGrantedCryptoAllowancesList() .equals(other.getGrantedCryptoAllowancesList())) return false; if (!getGrantedNftAllowancesList() .equals(other.getGrantedNftAllowancesList())) return false; if (!getGrantedTokenAllowancesList() .equals(other.getGrantedTokenAllowancesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccountId()) { hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER; hash = (53 * hash) + getAccountId().hashCode(); } hash = (37 * hash) + CONTRACT_ACCOUNT_ID_FIELD_NUMBER; hash = (53 * hash) + getContractAccountId().hashCode(); hash = (37 * hash) + DELETED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeleted()); if (hasProxyAccountId()) { hash = (37 * hash) + PROXY_ACCOUNT_ID_FIELD_NUMBER; hash = (53 * hash) + getProxyAccountId().hashCode(); } hash = (37 * hash) + PROXY_RECEIVED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProxyReceived()); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } hash = (37 * hash) + BALANCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBalance()); hash = (37 * hash) + RECEIVER_SIG_REQUIRED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getReceiverSigRequired()); if (hasExpirationTime()) { hash = (37 * hash) + EXPIRATION_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpirationTime().hashCode(); } if (hasAutoRenewPeriod()) { hash = (37 * hash) + AUTO_RENEW_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getAutoRenewPeriod().hashCode(); } if (getTokenRelationshipsCount() > 0) { hash = (37 * hash) + TOKEN_RELATIONSHIPS_FIELD_NUMBER; hash = (53 * hash) + getTokenRelationshipsList().hashCode(); } hash = (37 * hash) + MEMO_FIELD_NUMBER; hash = (53 * hash) + getMemo().hashCode(); hash = (37 * hash) + OWNED_NFTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOwnedNfts()); hash = (37 * hash) + MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER; hash = (53 * hash) + getMaxAutomaticTokenAssociations(); hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAlias().hashCode(); hash = (37 * hash) + LEDGER_ID_FIELD_NUMBER; hash = (53 * hash) + getLedgerId().hashCode(); if (getGrantedCryptoAllowancesCount() > 0) { hash = (37 * hash) + GRANTED_CRYPTO_ALLOWANCES_FIELD_NUMBER; hash = (53 * hash) + getGrantedCryptoAllowancesList().hashCode(); } if (getGrantedNftAllowancesCount() > 0) { hash = (37 * hash) + GRANTED_NFT_ALLOWANCES_FIELD_NUMBER; hash = (53 * hash) + getGrantedNftAllowancesList().hashCode(); } if (getGrantedTokenAllowancesCount() > 0) { hash = (37 * hash) + GRANTED_TOKEN_ALLOWANCES_FIELD_NUMBER; hash = (53 * hash) + getGrantedTokenAllowancesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code proto.GetAccountDetailsResponse.AccountDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.GetAccountDetailsResponse.AccountDetails) com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.GetAccountDetails.internal_static_proto_GetAccountDetailsResponse_AccountDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.GetAccountDetails.internal_static_proto_GetAccountDetailsResponse_AccountDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.class, com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.Builder.class); } // Construct using com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTokenRelationshipsFieldBuilder(); getGrantedCryptoAllowancesFieldBuilder(); getGrantedNftAllowancesFieldBuilder(); getGrantedTokenAllowancesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (accountIdBuilder_ == null) { accountId_ = null; } else { accountId_ = null; accountIdBuilder_ = null; } contractAccountId_ = ""; deleted_ = false; if (proxyAccountIdBuilder_ == null) { proxyAccountId_ = null; } else { proxyAccountId_ = null; proxyAccountIdBuilder_ = null; } proxyReceived_ = 0L; if (keyBuilder_ == null) { key_ = null; } else { key_ = null; keyBuilder_ = null; } balance_ = 0L; receiverSigRequired_ = false; if (expirationTimeBuilder_ == null) { expirationTime_ = null; } else { expirationTime_ = null; expirationTimeBuilder_ = null; } if (autoRenewPeriodBuilder_ == null) { autoRenewPeriod_ = null; } else { autoRenewPeriod_ = null; autoRenewPeriodBuilder_ = null; } if (tokenRelationshipsBuilder_ == null) { tokenRelationships_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tokenRelationshipsBuilder_.clear(); } memo_ = ""; ownedNfts_ = 0L; maxAutomaticTokenAssociations_ = 0; alias_ = com.google.protobuf.ByteString.EMPTY; ledgerId_ = com.google.protobuf.ByteString.EMPTY; if (grantedCryptoAllowancesBuilder_ == null) { grantedCryptoAllowances_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { grantedCryptoAllowancesBuilder_.clear(); } if (grantedNftAllowancesBuilder_ == null) { grantedNftAllowances_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { grantedNftAllowancesBuilder_.clear(); } if (grantedTokenAllowancesBuilder_ == null) { grantedTokenAllowances_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { grantedTokenAllowancesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hederahashgraph.api.proto.java.GetAccountDetails.internal_static_proto_GetAccountDetailsResponse_AccountDetails_descriptor; } @java.lang.Override public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails getDefaultInstanceForType() { return com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.getDefaultInstance(); } @java.lang.Override public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails build() { com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails buildPartial() { com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails result = new com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails(this); int from_bitField0_ = bitField0_; if (accountIdBuilder_ == null) { result.accountId_ = accountId_; } else { result.accountId_ = accountIdBuilder_.build(); } result.contractAccountId_ = contractAccountId_; result.deleted_ = deleted_; if (proxyAccountIdBuilder_ == null) { result.proxyAccountId_ = proxyAccountId_; } else { result.proxyAccountId_ = proxyAccountIdBuilder_.build(); } result.proxyReceived_ = proxyReceived_; if (keyBuilder_ == null) { result.key_ = key_; } else { result.key_ = keyBuilder_.build(); } result.balance_ = balance_; result.receiverSigRequired_ = receiverSigRequired_; if (expirationTimeBuilder_ == null) { result.expirationTime_ = expirationTime_; } else { result.expirationTime_ = expirationTimeBuilder_.build(); } if (autoRenewPeriodBuilder_ == null) { result.autoRenewPeriod_ = autoRenewPeriod_; } else { result.autoRenewPeriod_ = autoRenewPeriodBuilder_.build(); } if (tokenRelationshipsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tokenRelationships_ = java.util.Collections.unmodifiableList(tokenRelationships_); bitField0_ = (bitField0_ & ~0x00000001); } result.tokenRelationships_ = tokenRelationships_; } else { result.tokenRelationships_ = tokenRelationshipsBuilder_.build(); } result.memo_ = memo_; result.ownedNfts_ = ownedNfts_; result.maxAutomaticTokenAssociations_ = maxAutomaticTokenAssociations_; result.alias_ = alias_; result.ledgerId_ = ledgerId_; if (grantedCryptoAllowancesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { grantedCryptoAllowances_ = java.util.Collections.unmodifiableList(grantedCryptoAllowances_); bitField0_ = (bitField0_ & ~0x00000002); } result.grantedCryptoAllowances_ = grantedCryptoAllowances_; } else { result.grantedCryptoAllowances_ = grantedCryptoAllowancesBuilder_.build(); } if (grantedNftAllowancesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { grantedNftAllowances_ = java.util.Collections.unmodifiableList(grantedNftAllowances_); bitField0_ = (bitField0_ & ~0x00000004); } result.grantedNftAllowances_ = grantedNftAllowances_; } else { result.grantedNftAllowances_ = grantedNftAllowancesBuilder_.build(); } if (grantedTokenAllowancesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { grantedTokenAllowances_ = java.util.Collections.unmodifiableList(grantedTokenAllowances_); bitField0_ = (bitField0_ & ~0x00000008); } result.grantedTokenAllowances_ = grantedTokenAllowances_; } else { result.grantedTokenAllowances_ = grantedTokenAllowancesBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails) { return mergeFrom((com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails other) { if (other == com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.getDefaultInstance()) return this; if (other.hasAccountId()) { mergeAccountId(other.getAccountId()); } if (!other.getContractAccountId().isEmpty()) { contractAccountId_ = other.contractAccountId_; onChanged(); } if (other.getDeleted() != false) { setDeleted(other.getDeleted()); } if (other.hasProxyAccountId()) { mergeProxyAccountId(other.getProxyAccountId()); } if (other.getProxyReceived() != 0L) { setProxyReceived(other.getProxyReceived()); } if (other.hasKey()) { mergeKey(other.getKey()); } if (other.getBalance() != 0L) { setBalance(other.getBalance()); } if (other.getReceiverSigRequired() != false) { setReceiverSigRequired(other.getReceiverSigRequired()); } if (other.hasExpirationTime()) { mergeExpirationTime(other.getExpirationTime()); } if (other.hasAutoRenewPeriod()) { mergeAutoRenewPeriod(other.getAutoRenewPeriod()); } if (tokenRelationshipsBuilder_ == null) { if (!other.tokenRelationships_.isEmpty()) { if (tokenRelationships_.isEmpty()) { tokenRelationships_ = other.tokenRelationships_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTokenRelationshipsIsMutable(); tokenRelationships_.addAll(other.tokenRelationships_); } onChanged(); } } else { if (!other.tokenRelationships_.isEmpty()) { if (tokenRelationshipsBuilder_.isEmpty()) { tokenRelationshipsBuilder_.dispose(); tokenRelationshipsBuilder_ = null; tokenRelationships_ = other.tokenRelationships_; bitField0_ = (bitField0_ & ~0x00000001); tokenRelationshipsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTokenRelationshipsFieldBuilder() : null; } else { tokenRelationshipsBuilder_.addAllMessages(other.tokenRelationships_); } } } if (!other.getMemo().isEmpty()) { memo_ = other.memo_; onChanged(); } if (other.getOwnedNfts() != 0L) { setOwnedNfts(other.getOwnedNfts()); } if (other.getMaxAutomaticTokenAssociations() != 0) { setMaxAutomaticTokenAssociations(other.getMaxAutomaticTokenAssociations()); } if (other.getAlias() != com.google.protobuf.ByteString.EMPTY) { setAlias(other.getAlias()); } if (other.getLedgerId() != com.google.protobuf.ByteString.EMPTY) { setLedgerId(other.getLedgerId()); } if (grantedCryptoAllowancesBuilder_ == null) { if (!other.grantedCryptoAllowances_.isEmpty()) { if (grantedCryptoAllowances_.isEmpty()) { grantedCryptoAllowances_ = other.grantedCryptoAllowances_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureGrantedCryptoAllowancesIsMutable(); grantedCryptoAllowances_.addAll(other.grantedCryptoAllowances_); } onChanged(); } } else { if (!other.grantedCryptoAllowances_.isEmpty()) { if (grantedCryptoAllowancesBuilder_.isEmpty()) { grantedCryptoAllowancesBuilder_.dispose(); grantedCryptoAllowancesBuilder_ = null; grantedCryptoAllowances_ = other.grantedCryptoAllowances_; bitField0_ = (bitField0_ & ~0x00000002); grantedCryptoAllowancesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGrantedCryptoAllowancesFieldBuilder() : null; } else { grantedCryptoAllowancesBuilder_.addAllMessages(other.grantedCryptoAllowances_); } } } if (grantedNftAllowancesBuilder_ == null) { if (!other.grantedNftAllowances_.isEmpty()) { if (grantedNftAllowances_.isEmpty()) { grantedNftAllowances_ = other.grantedNftAllowances_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureGrantedNftAllowancesIsMutable(); grantedNftAllowances_.addAll(other.grantedNftAllowances_); } onChanged(); } } else { if (!other.grantedNftAllowances_.isEmpty()) { if (grantedNftAllowancesBuilder_.isEmpty()) { grantedNftAllowancesBuilder_.dispose(); grantedNftAllowancesBuilder_ = null; grantedNftAllowances_ = other.grantedNftAllowances_; bitField0_ = (bitField0_ & ~0x00000004); grantedNftAllowancesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGrantedNftAllowancesFieldBuilder() : null; } else { grantedNftAllowancesBuilder_.addAllMessages(other.grantedNftAllowances_); } } } if (grantedTokenAllowancesBuilder_ == null) { if (!other.grantedTokenAllowances_.isEmpty()) { if (grantedTokenAllowances_.isEmpty()) { grantedTokenAllowances_ = other.grantedTokenAllowances_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureGrantedTokenAllowancesIsMutable(); grantedTokenAllowances_.addAll(other.grantedTokenAllowances_); } onChanged(); } } else { if (!other.grantedTokenAllowances_.isEmpty()) { if (grantedTokenAllowancesBuilder_.isEmpty()) { grantedTokenAllowancesBuilder_.dispose(); grantedTokenAllowancesBuilder_ = null; grantedTokenAllowances_ = other.grantedTokenAllowances_; bitField0_ = (bitField0_ & ~0x00000008); grantedTokenAllowancesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGrantedTokenAllowancesFieldBuilder() : null; } else { grantedTokenAllowancesBuilder_.addAllMessages(other.grantedTokenAllowances_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.hederahashgraph.api.proto.java.AccountID accountId_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder> accountIdBuilder_; /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID account_id = 1; * @return Whether the accountId field is set. */ public boolean hasAccountId() { return accountIdBuilder_ != null || accountId_ != null; } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID account_id = 1; * @return The accountId. */ public com.hederahashgraph.api.proto.java.AccountID getAccountId() { if (accountIdBuilder_ == null) { return accountId_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : accountId_; } else { return accountIdBuilder_.getMessage(); } } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID account_id = 1; */ public Builder setAccountId(com.hederahashgraph.api.proto.java.AccountID value) { if (accountIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } accountId_ = value; onChanged(); } else { accountIdBuilder_.setMessage(value); } return this; } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID account_id = 1; */ public Builder setAccountId( com.hederahashgraph.api.proto.java.AccountID.Builder builderForValue) { if (accountIdBuilder_ == null) { accountId_ = builderForValue.build(); onChanged(); } else { accountIdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID account_id = 1; */ public Builder mergeAccountId(com.hederahashgraph.api.proto.java.AccountID value) { if (accountIdBuilder_ == null) { if (accountId_ != null) { accountId_ = com.hederahashgraph.api.proto.java.AccountID.newBuilder(accountId_).mergeFrom(value).buildPartial(); } else { accountId_ = value; } onChanged(); } else { accountIdBuilder_.mergeFrom(value); } return this; } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID account_id = 1; */ public Builder clearAccountId() { if (accountIdBuilder_ == null) { accountId_ = null; onChanged(); } else { accountId_ = null; accountIdBuilder_ = null; } return this; } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID account_id = 1; */ public com.hederahashgraph.api.proto.java.AccountID.Builder getAccountIdBuilder() { onChanged(); return getAccountIdFieldBuilder().getBuilder(); } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID account_id = 1; */ public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIdOrBuilder() { if (accountIdBuilder_ != null) { return accountIdBuilder_.getMessageOrBuilder(); } else { return accountId_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : accountId_; } } /** *
       **
       * The account ID for which this information applies
       * 
* * .proto.AccountID account_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder> getAccountIdFieldBuilder() { if (accountIdBuilder_ == null) { accountIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>( getAccountId(), getParentForChildren(), isClean()); accountId_ = null; } return accountIdBuilder_; } private java.lang.Object 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 contract_account_id = 2; * @return The contractAccountId. */ public java.lang.String getContractAccountId() { java.lang.Object ref = contractAccountId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contractAccountId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       **
       * 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 contract_account_id = 2; * @return The bytes for contractAccountId. */ public com.google.protobuf.ByteString getContractAccountIdBytes() { java.lang.Object ref = contractAccountId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contractAccountId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       **
       * 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 contract_account_id = 2; * @param value The contractAccountId to set. * @return This builder for chaining. */ public Builder setContractAccountId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } contractAccountId_ = value; onChanged(); 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 contract_account_id = 2; * @return This builder for chaining. */ public Builder clearContractAccountId() { contractAccountId_ = getDefaultInstance().getContractAccountId(); onChanged(); 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 contract_account_id = 2; * @param value The bytes for contractAccountId to set. * @return This builder for chaining. */ public Builder setContractAccountIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); contractAccountId_ = value; onChanged(); return this; } 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. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { deleted_ = value; onChanged(); 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() { deleted_ = false; onChanged(); return this; } private com.hederahashgraph.api.proto.java.AccountID proxyAccountId_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder> proxyAccountIdBuilder_; /** *
       **
       * [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 proxy_account_id = 4 [deprecated = true]; * @deprecated * @return Whether the proxyAccountId field is set. */ @java.lang.Deprecated public boolean hasProxyAccountId() { return proxyAccountIdBuilder_ != null || 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 proxy_account_id = 4 [deprecated = true]; * @deprecated * @return The proxyAccountId. */ @java.lang.Deprecated public com.hederahashgraph.api.proto.java.AccountID getProxyAccountId() { if (proxyAccountIdBuilder_ == null) { return proxyAccountId_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : proxyAccountId_; } else { return proxyAccountIdBuilder_.getMessage(); } } /** *
       **
       * [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 proxy_account_id = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder setProxyAccountId(com.hederahashgraph.api.proto.java.AccountID value) { if (proxyAccountIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proxyAccountId_ = value; onChanged(); } else { proxyAccountIdBuilder_.setMessage(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 proxy_account_id = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder setProxyAccountId( com.hederahashgraph.api.proto.java.AccountID.Builder builderForValue) { if (proxyAccountIdBuilder_ == null) { proxyAccountId_ = builderForValue.build(); onChanged(); } else { proxyAccountIdBuilder_.setMessage(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 proxy_account_id = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder mergeProxyAccountId(com.hederahashgraph.api.proto.java.AccountID value) { if (proxyAccountIdBuilder_ == null) { if (proxyAccountId_ != null) { proxyAccountId_ = com.hederahashgraph.api.proto.java.AccountID.newBuilder(proxyAccountId_).mergeFrom(value).buildPartial(); } else { proxyAccountId_ = value; } onChanged(); } else { proxyAccountIdBuilder_.mergeFrom(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 proxy_account_id = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder clearProxyAccountId() { if (proxyAccountIdBuilder_ == null) { proxyAccountId_ = null; onChanged(); } else { proxyAccountId_ = null; proxyAccountIdBuilder_ = null; } 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 proxy_account_id = 4 [deprecated = true]; */ @java.lang.Deprecated public com.hederahashgraph.api.proto.java.AccountID.Builder getProxyAccountIdBuilder() { onChanged(); return getProxyAccountIdFieldBuilder().getBuilder(); } /** *
       **
       * [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 proxy_account_id = 4 [deprecated = true]; */ @java.lang.Deprecated public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getProxyAccountIdOrBuilder() { if (proxyAccountIdBuilder_ != null) { return proxyAccountIdBuilder_.getMessageOrBuilder(); } else { return proxyAccountId_ == null ? com.hederahashgraph.api.proto.java.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 proxy_account_id = 4 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder> getProxyAccountIdFieldBuilder() { if (proxyAccountIdBuilder_ == null) { proxyAccountIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>( getProxyAccountId(), getParentForChildren(), isClean()); proxyAccountId_ = null; } return proxyAccountIdBuilder_; } private long proxyReceived_ ; /** *
       **
       * The total number of tinybars proxy staked to this account
       * 
* * int64 proxy_received = 5; * @return The proxyReceived. */ @java.lang.Override public long getProxyReceived() { return proxyReceived_; } /** *
       **
       * The total number of tinybars proxy staked to this account
       * 
* * int64 proxy_received = 5; * @param value The proxyReceived to set. * @return This builder for chaining. */ public Builder setProxyReceived(long value) { proxyReceived_ = value; onChanged(); return this; } /** *
       **
       * The total number of tinybars proxy staked to this account
       * 
* * int64 proxy_received = 5; * @return This builder for chaining. */ public Builder clearProxyReceived() { proxyReceived_ = 0L; onChanged(); return this; } private com.hederahashgraph.api.proto.java.Key key_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Key, com.hederahashgraph.api.proto.java.Key.Builder, com.hederahashgraph.api.proto.java.KeyOrBuilder> keyBuilder_; /** *
       **
       * 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 = 6; * @return Whether the key field is set. */ public boolean hasKey() { return keyBuilder_ != null || 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 = 6; * @return The key. */ public com.hederahashgraph.api.proto.java.Key getKey() { if (keyBuilder_ == null) { return key_ == null ? com.hederahashgraph.api.proto.java.Key.getDefaultInstance() : key_; } else { return keyBuilder_.getMessage(); } } /** *
       **
       * 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 = 6; */ public Builder setKey(com.hederahashgraph.api.proto.java.Key value) { if (keyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); } else { keyBuilder_.setMessage(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 = 6; */ public Builder setKey( com.hederahashgraph.api.proto.java.Key.Builder builderForValue) { if (keyBuilder_ == null) { key_ = builderForValue.build(); onChanged(); } else { keyBuilder_.setMessage(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 = 6; */ public Builder mergeKey(com.hederahashgraph.api.proto.java.Key value) { if (keyBuilder_ == null) { if (key_ != null) { key_ = com.hederahashgraph.api.proto.java.Key.newBuilder(key_).mergeFrom(value).buildPartial(); } else { key_ = value; } onChanged(); } else { keyBuilder_.mergeFrom(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 = 6; */ public Builder clearKey() { if (keyBuilder_ == null) { key_ = null; onChanged(); } else { key_ = null; keyBuilder_ = null; } 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 = 6; */ public com.hederahashgraph.api.proto.java.Key.Builder getKeyBuilder() { onChanged(); return getKeyFieldBuilder().getBuilder(); } /** *
       **
       * 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 = 6; */ public com.hederahashgraph.api.proto.java.KeyOrBuilder getKeyOrBuilder() { if (keyBuilder_ != null) { return keyBuilder_.getMessageOrBuilder(); } else { return key_ == null ? com.hederahashgraph.api.proto.java.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 = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Key, com.hederahashgraph.api.proto.java.Key.Builder, com.hederahashgraph.api.proto.java.KeyOrBuilder> getKeyFieldBuilder() { if (keyBuilder_ == null) { keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Key, com.hederahashgraph.api.proto.java.Key.Builder, com.hederahashgraph.api.proto.java.KeyOrBuilder>( getKey(), getParentForChildren(), isClean()); key_ = null; } return keyBuilder_; } private long balance_ ; /** *
       **
       * The current balance of account in tinybars
       * 
* * uint64 balance = 7; * @return The balance. */ @java.lang.Override public long getBalance() { return balance_; } /** *
       **
       * The current balance of account in tinybars
       * 
* * uint64 balance = 7; * @param value The balance to set. * @return This builder for chaining. */ public Builder setBalance(long value) { balance_ = value; onChanged(); return this; } /** *
       **
       * The current balance of account in tinybars
       * 
* * uint64 balance = 7; * @return This builder for chaining. */ public Builder clearBalance() { balance_ = 0L; onChanged(); return this; } private boolean receiverSigRequired_ ; /** *
       **
       * If true, no transaction can transfer to this account unless signed by this account's key
       * 
* * bool receiver_sig_required = 8; * @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 receiver_sig_required = 8; * @param value The receiverSigRequired to set. * @return This builder for chaining. */ public Builder setReceiverSigRequired(boolean value) { receiverSigRequired_ = value; onChanged(); return this; } /** *
       **
       * If true, no transaction can transfer to this account unless signed by this account's key
       * 
* * bool receiver_sig_required = 8; * @return This builder for chaining. */ public Builder clearReceiverSigRequired() { receiverSigRequired_ = false; onChanged(); return this; } private com.hederahashgraph.api.proto.java.Timestamp expirationTime_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder> expirationTimeBuilder_; /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expiration_time = 9; * @return Whether the expirationTime field is set. */ public boolean hasExpirationTime() { return expirationTimeBuilder_ != null || expirationTime_ != null; } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expiration_time = 9; * @return The expirationTime. */ public com.hederahashgraph.api.proto.java.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { return expirationTime_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expiration_time = 9; */ public Builder setExpirationTime(com.hederahashgraph.api.proto.java.Timestamp value) { if (expirationTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expirationTime_ = value; onChanged(); } else { expirationTimeBuilder_.setMessage(value); } return this; } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expiration_time = 9; */ public Builder setExpirationTime( com.hederahashgraph.api.proto.java.Timestamp.Builder builderForValue) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); onChanged(); } else { expirationTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expiration_time = 9; */ public Builder mergeExpirationTime(com.hederahashgraph.api.proto.java.Timestamp value) { if (expirationTimeBuilder_ == null) { if (expirationTime_ != null) { expirationTime_ = com.hederahashgraph.api.proto.java.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); } else { expirationTime_ = value; } onChanged(); } else { expirationTimeBuilder_.mergeFrom(value); } return this; } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expiration_time = 9; */ public Builder clearExpirationTime() { if (expirationTimeBuilder_ == null) { expirationTime_ = null; onChanged(); } else { expirationTime_ = null; expirationTimeBuilder_ = null; } return this; } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expiration_time = 9; */ public com.hederahashgraph.api.proto.java.Timestamp.Builder getExpirationTimeBuilder() { onChanged(); return getExpirationTimeFieldBuilder().getBuilder(); } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expiration_time = 9; */ public com.hederahashgraph.api.proto.java.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { return expirationTime_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : expirationTime_; } } /** *
       **
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expiration_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>( getExpirationTime(), getParentForChildren(), isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } private com.hederahashgraph.api.proto.java.Duration autoRenewPeriod_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Duration, com.hederahashgraph.api.proto.java.Duration.Builder, com.hederahashgraph.api.proto.java.DurationOrBuilder> autoRenewPeriodBuilder_; /** *
       **
       * 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 auto_renew_period = 10; * @return Whether the autoRenewPeriod field is set. */ public boolean hasAutoRenewPeriod() { return autoRenewPeriodBuilder_ != null || 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 auto_renew_period = 10; * @return The autoRenewPeriod. */ public com.hederahashgraph.api.proto.java.Duration getAutoRenewPeriod() { if (autoRenewPeriodBuilder_ == null) { return autoRenewPeriod_ == null ? com.hederahashgraph.api.proto.java.Duration.getDefaultInstance() : autoRenewPeriod_; } else { return autoRenewPeriodBuilder_.getMessage(); } } /** *
       **
       * 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 auto_renew_period = 10; */ public Builder setAutoRenewPeriod(com.hederahashgraph.api.proto.java.Duration value) { if (autoRenewPeriodBuilder_ == null) { if (value == null) { throw new NullPointerException(); } autoRenewPeriod_ = value; onChanged(); } else { autoRenewPeriodBuilder_.setMessage(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 auto_renew_period = 10; */ public Builder setAutoRenewPeriod( com.hederahashgraph.api.proto.java.Duration.Builder builderForValue) { if (autoRenewPeriodBuilder_ == null) { autoRenewPeriod_ = builderForValue.build(); onChanged(); } else { autoRenewPeriodBuilder_.setMessage(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 auto_renew_period = 10; */ public Builder mergeAutoRenewPeriod(com.hederahashgraph.api.proto.java.Duration value) { if (autoRenewPeriodBuilder_ == null) { if (autoRenewPeriod_ != null) { autoRenewPeriod_ = com.hederahashgraph.api.proto.java.Duration.newBuilder(autoRenewPeriod_).mergeFrom(value).buildPartial(); } else { autoRenewPeriod_ = value; } onChanged(); } else { autoRenewPeriodBuilder_.mergeFrom(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 auto_renew_period = 10; */ public Builder clearAutoRenewPeriod() { if (autoRenewPeriodBuilder_ == null) { autoRenewPeriod_ = null; onChanged(); } else { autoRenewPeriod_ = null; autoRenewPeriodBuilder_ = null; } 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 auto_renew_period = 10; */ public com.hederahashgraph.api.proto.java.Duration.Builder getAutoRenewPeriodBuilder() { onChanged(); return getAutoRenewPeriodFieldBuilder().getBuilder(); } /** *
       **
       * 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 auto_renew_period = 10; */ public com.hederahashgraph.api.proto.java.DurationOrBuilder getAutoRenewPeriodOrBuilder() { if (autoRenewPeriodBuilder_ != null) { return autoRenewPeriodBuilder_.getMessageOrBuilder(); } else { return autoRenewPeriod_ == null ? com.hederahashgraph.api.proto.java.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 auto_renew_period = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Duration, com.hederahashgraph.api.proto.java.Duration.Builder, com.hederahashgraph.api.proto.java.DurationOrBuilder> getAutoRenewPeriodFieldBuilder() { if (autoRenewPeriodBuilder_ == null) { autoRenewPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Duration, com.hederahashgraph.api.proto.java.Duration.Builder, com.hederahashgraph.api.proto.java.DurationOrBuilder>( getAutoRenewPeriod(), getParentForChildren(), isClean()); autoRenewPeriod_ = null; } return autoRenewPeriodBuilder_; } private java.util.List tokenRelationships_ = java.util.Collections.emptyList(); private void ensureTokenRelationshipsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tokenRelationships_ = new java.util.ArrayList(tokenRelationships_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenRelationship, com.hederahashgraph.api.proto.java.TokenRelationship.Builder, com.hederahashgraph.api.proto.java.TokenRelationshipOrBuilder> tokenRelationshipsBuilder_; /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public java.util.List getTokenRelationshipsList() { if (tokenRelationshipsBuilder_ == null) { return java.util.Collections.unmodifiableList(tokenRelationships_); } else { return tokenRelationshipsBuilder_.getMessageList(); } } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public int getTokenRelationshipsCount() { if (tokenRelationshipsBuilder_ == null) { return tokenRelationships_.size(); } else { return tokenRelationshipsBuilder_.getCount(); } } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public com.hederahashgraph.api.proto.java.TokenRelationship getTokenRelationships(int index) { if (tokenRelationshipsBuilder_ == null) { return tokenRelationships_.get(index); } else { return tokenRelationshipsBuilder_.getMessage(index); } } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public Builder setTokenRelationships( int index, com.hederahashgraph.api.proto.java.TokenRelationship value) { if (tokenRelationshipsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTokenRelationshipsIsMutable(); tokenRelationships_.set(index, value); onChanged(); } else { tokenRelationshipsBuilder_.setMessage(index, value); } return this; } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public Builder setTokenRelationships( int index, com.hederahashgraph.api.proto.java.TokenRelationship.Builder builderForValue) { if (tokenRelationshipsBuilder_ == null) { ensureTokenRelationshipsIsMutable(); tokenRelationships_.set(index, builderForValue.build()); onChanged(); } else { tokenRelationshipsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public Builder addTokenRelationships(com.hederahashgraph.api.proto.java.TokenRelationship value) { if (tokenRelationshipsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTokenRelationshipsIsMutable(); tokenRelationships_.add(value); onChanged(); } else { tokenRelationshipsBuilder_.addMessage(value); } return this; } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public Builder addTokenRelationships( int index, com.hederahashgraph.api.proto.java.TokenRelationship value) { if (tokenRelationshipsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTokenRelationshipsIsMutable(); tokenRelationships_.add(index, value); onChanged(); } else { tokenRelationshipsBuilder_.addMessage(index, value); } return this; } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public Builder addTokenRelationships( com.hederahashgraph.api.proto.java.TokenRelationship.Builder builderForValue) { if (tokenRelationshipsBuilder_ == null) { ensureTokenRelationshipsIsMutable(); tokenRelationships_.add(builderForValue.build()); onChanged(); } else { tokenRelationshipsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public Builder addTokenRelationships( int index, com.hederahashgraph.api.proto.java.TokenRelationship.Builder builderForValue) { if (tokenRelationshipsBuilder_ == null) { ensureTokenRelationshipsIsMutable(); tokenRelationships_.add(index, builderForValue.build()); onChanged(); } else { tokenRelationshipsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public Builder addAllTokenRelationships( java.lang.Iterable values) { if (tokenRelationshipsBuilder_ == null) { ensureTokenRelationshipsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tokenRelationships_); onChanged(); } else { tokenRelationshipsBuilder_.addAllMessages(values); } return this; } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public Builder clearTokenRelationships() { if (tokenRelationshipsBuilder_ == null) { tokenRelationships_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tokenRelationshipsBuilder_.clear(); } return this; } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public Builder removeTokenRelationships(int index) { if (tokenRelationshipsBuilder_ == null) { ensureTokenRelationshipsIsMutable(); tokenRelationships_.remove(index); onChanged(); } else { tokenRelationshipsBuilder_.remove(index); } return this; } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public com.hederahashgraph.api.proto.java.TokenRelationship.Builder getTokenRelationshipsBuilder( int index) { return getTokenRelationshipsFieldBuilder().getBuilder(index); } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public com.hederahashgraph.api.proto.java.TokenRelationshipOrBuilder getTokenRelationshipsOrBuilder( int index) { if (tokenRelationshipsBuilder_ == null) { return tokenRelationships_.get(index); } else { return tokenRelationshipsBuilder_.getMessageOrBuilder(index); } } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public java.util.List getTokenRelationshipsOrBuilderList() { if (tokenRelationshipsBuilder_ != null) { return tokenRelationshipsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tokenRelationships_); } } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public com.hederahashgraph.api.proto.java.TokenRelationship.Builder addTokenRelationshipsBuilder() { return getTokenRelationshipsFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.TokenRelationship.getDefaultInstance()); } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public com.hederahashgraph.api.proto.java.TokenRelationship.Builder addTokenRelationshipsBuilder( int index) { return getTokenRelationshipsFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.TokenRelationship.getDefaultInstance()); } /** *
       **
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship token_relationships = 11; */ public java.util.List getTokenRelationshipsBuilderList() { return getTokenRelationshipsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenRelationship, com.hederahashgraph.api.proto.java.TokenRelationship.Builder, com.hederahashgraph.api.proto.java.TokenRelationshipOrBuilder> getTokenRelationshipsFieldBuilder() { if (tokenRelationshipsBuilder_ == null) { tokenRelationshipsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenRelationship, com.hederahashgraph.api.proto.java.TokenRelationship.Builder, com.hederahashgraph.api.proto.java.TokenRelationshipOrBuilder>( tokenRelationships_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tokenRelationships_ = null; } return tokenRelationshipsBuilder_; } private java.lang.Object memo_ = ""; /** *
       **
       * The memo associated with the account
       * 
* * string memo = 12; * @return The memo. */ public java.lang.String getMemo() { java.lang.Object ref = memo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); memo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       **
       * The memo associated with the account
       * 
* * string memo = 12; * @return The bytes for memo. */ public com.google.protobuf.ByteString getMemoBytes() { java.lang.Object ref = memo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); memo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       **
       * The memo associated with the account
       * 
* * string memo = 12; * @param value The memo to set. * @return This builder for chaining. */ public Builder setMemo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } memo_ = value; onChanged(); return this; } /** *
       **
       * The memo associated with the account
       * 
* * string memo = 12; * @return This builder for chaining. */ public Builder clearMemo() { memo_ = getDefaultInstance().getMemo(); onChanged(); return this; } /** *
       **
       * The memo associated with the account
       * 
* * string memo = 12; * @param value The bytes for memo to set. * @return This builder for chaining. */ public Builder setMemoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); memo_ = value; onChanged(); return this; } private long ownedNfts_ ; /** *
       **
       * The number of NFTs owned by this account
       * 
* * int64 owned_nfts = 13; * @return The ownedNfts. */ @java.lang.Override public long getOwnedNfts() { return ownedNfts_; } /** *
       **
       * The number of NFTs owned by this account
       * 
* * int64 owned_nfts = 13; * @param value The ownedNfts to set. * @return This builder for chaining. */ public Builder setOwnedNfts(long value) { ownedNfts_ = value; onChanged(); return this; } /** *
       **
       * The number of NFTs owned by this account
       * 
* * int64 owned_nfts = 13; * @return This builder for chaining. */ public Builder clearOwnedNfts() { ownedNfts_ = 0L; onChanged(); return this; } private int maxAutomaticTokenAssociations_ ; /** *
       **
       * The maximum number of tokens that an Account can be implicitly associated with.
       * 
* * int32 max_automatic_token_associations = 14; * @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 = 14; * @param value The maxAutomaticTokenAssociations to set. * @return This builder for chaining. */ public Builder setMaxAutomaticTokenAssociations(int value) { maxAutomaticTokenAssociations_ = value; onChanged(); return this; } /** *
       **
       * The maximum number of tokens that an Account can be implicitly associated with.
       * 
* * int32 max_automatic_token_associations = 14; * @return This builder for chaining. */ public Builder clearMaxAutomaticTokenAssociations() { maxAutomaticTokenAssociations_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString alias_ = com.google.protobuf.ByteString.EMPTY; /** *
       **
       * The alias of this account
       * 
* * bytes alias = 15; * @return The alias. */ @java.lang.Override public com.google.protobuf.ByteString getAlias() { return alias_; } /** *
       **
       * The alias of this account
       * 
* * bytes alias = 15; * @param value The alias to set. * @return This builder for chaining. */ public Builder setAlias(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } alias_ = value; onChanged(); return this; } /** *
       **
       * The alias of this account
       * 
* * bytes alias = 15; * @return This builder for chaining. */ public Builder clearAlias() { alias_ = getDefaultInstance().getAlias(); onChanged(); return this; } private com.google.protobuf.ByteString ledgerId_ = com.google.protobuf.ByteString.EMPTY; /** *
       **
       * 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 = 16; * @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 = 16; * @param value The ledgerId to set. * @return This builder for chaining. */ public Builder setLedgerId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ledgerId_ = value; onChanged(); 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 = 16; * @return This builder for chaining. */ public Builder clearLedgerId() { ledgerId_ = getDefaultInstance().getLedgerId(); onChanged(); return this; } private java.util.List grantedCryptoAllowances_ = java.util.Collections.emptyList(); private void ensureGrantedCryptoAllowancesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { grantedCryptoAllowances_ = new java.util.ArrayList(grantedCryptoAllowances_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.GrantedCryptoAllowance, com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.Builder, com.hederahashgraph.api.proto.java.GrantedCryptoAllowanceOrBuilder> grantedCryptoAllowancesBuilder_; /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public java.util.List getGrantedCryptoAllowancesList() { if (grantedCryptoAllowancesBuilder_ == null) { return java.util.Collections.unmodifiableList(grantedCryptoAllowances_); } else { return grantedCryptoAllowancesBuilder_.getMessageList(); } } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public int getGrantedCryptoAllowancesCount() { if (grantedCryptoAllowancesBuilder_ == null) { return grantedCryptoAllowances_.size(); } else { return grantedCryptoAllowancesBuilder_.getCount(); } } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public com.hederahashgraph.api.proto.java.GrantedCryptoAllowance getGrantedCryptoAllowances(int index) { if (grantedCryptoAllowancesBuilder_ == null) { return grantedCryptoAllowances_.get(index); } else { return grantedCryptoAllowancesBuilder_.getMessage(index); } } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public Builder setGrantedCryptoAllowances( int index, com.hederahashgraph.api.proto.java.GrantedCryptoAllowance value) { if (grantedCryptoAllowancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGrantedCryptoAllowancesIsMutable(); grantedCryptoAllowances_.set(index, value); onChanged(); } else { grantedCryptoAllowancesBuilder_.setMessage(index, value); } return this; } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public Builder setGrantedCryptoAllowances( int index, com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.Builder builderForValue) { if (grantedCryptoAllowancesBuilder_ == null) { ensureGrantedCryptoAllowancesIsMutable(); grantedCryptoAllowances_.set(index, builderForValue.build()); onChanged(); } else { grantedCryptoAllowancesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public Builder addGrantedCryptoAllowances(com.hederahashgraph.api.proto.java.GrantedCryptoAllowance value) { if (grantedCryptoAllowancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGrantedCryptoAllowancesIsMutable(); grantedCryptoAllowances_.add(value); onChanged(); } else { grantedCryptoAllowancesBuilder_.addMessage(value); } return this; } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public Builder addGrantedCryptoAllowances( int index, com.hederahashgraph.api.proto.java.GrantedCryptoAllowance value) { if (grantedCryptoAllowancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGrantedCryptoAllowancesIsMutable(); grantedCryptoAllowances_.add(index, value); onChanged(); } else { grantedCryptoAllowancesBuilder_.addMessage(index, value); } return this; } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public Builder addGrantedCryptoAllowances( com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.Builder builderForValue) { if (grantedCryptoAllowancesBuilder_ == null) { ensureGrantedCryptoAllowancesIsMutable(); grantedCryptoAllowances_.add(builderForValue.build()); onChanged(); } else { grantedCryptoAllowancesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public Builder addGrantedCryptoAllowances( int index, com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.Builder builderForValue) { if (grantedCryptoAllowancesBuilder_ == null) { ensureGrantedCryptoAllowancesIsMutable(); grantedCryptoAllowances_.add(index, builderForValue.build()); onChanged(); } else { grantedCryptoAllowancesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public Builder addAllGrantedCryptoAllowances( java.lang.Iterable values) { if (grantedCryptoAllowancesBuilder_ == null) { ensureGrantedCryptoAllowancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, grantedCryptoAllowances_); onChanged(); } else { grantedCryptoAllowancesBuilder_.addAllMessages(values); } return this; } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public Builder clearGrantedCryptoAllowances() { if (grantedCryptoAllowancesBuilder_ == null) { grantedCryptoAllowances_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { grantedCryptoAllowancesBuilder_.clear(); } return this; } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public Builder removeGrantedCryptoAllowances(int index) { if (grantedCryptoAllowancesBuilder_ == null) { ensureGrantedCryptoAllowancesIsMutable(); grantedCryptoAllowances_.remove(index); onChanged(); } else { grantedCryptoAllowancesBuilder_.remove(index); } return this; } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.Builder getGrantedCryptoAllowancesBuilder( int index) { return getGrantedCryptoAllowancesFieldBuilder().getBuilder(index); } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public com.hederahashgraph.api.proto.java.GrantedCryptoAllowanceOrBuilder getGrantedCryptoAllowancesOrBuilder( int index) { if (grantedCryptoAllowancesBuilder_ == null) { return grantedCryptoAllowances_.get(index); } else { return grantedCryptoAllowancesBuilder_.getMessageOrBuilder(index); } } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public java.util.List getGrantedCryptoAllowancesOrBuilderList() { if (grantedCryptoAllowancesBuilder_ != null) { return grantedCryptoAllowancesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(grantedCryptoAllowances_); } } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.Builder addGrantedCryptoAllowancesBuilder() { return getGrantedCryptoAllowancesFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.getDefaultInstance()); } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.Builder addGrantedCryptoAllowancesBuilder( int index) { return getGrantedCryptoAllowancesFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.getDefaultInstance()); } /** *
       **
       * All of the hbar allowances approved by the account owner.
       * 
* * repeated .proto.GrantedCryptoAllowance granted_crypto_allowances = 17; */ public java.util.List getGrantedCryptoAllowancesBuilderList() { return getGrantedCryptoAllowancesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.GrantedCryptoAllowance, com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.Builder, com.hederahashgraph.api.proto.java.GrantedCryptoAllowanceOrBuilder> getGrantedCryptoAllowancesFieldBuilder() { if (grantedCryptoAllowancesBuilder_ == null) { grantedCryptoAllowancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.GrantedCryptoAllowance, com.hederahashgraph.api.proto.java.GrantedCryptoAllowance.Builder, com.hederahashgraph.api.proto.java.GrantedCryptoAllowanceOrBuilder>( grantedCryptoAllowances_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); grantedCryptoAllowances_ = null; } return grantedCryptoAllowancesBuilder_; } private java.util.List grantedNftAllowances_ = java.util.Collections.emptyList(); private void ensureGrantedNftAllowancesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { grantedNftAllowances_ = new java.util.ArrayList(grantedNftAllowances_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.GrantedNftAllowance, com.hederahashgraph.api.proto.java.GrantedNftAllowance.Builder, com.hederahashgraph.api.proto.java.GrantedNftAllowanceOrBuilder> grantedNftAllowancesBuilder_; /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public java.util.List getGrantedNftAllowancesList() { if (grantedNftAllowancesBuilder_ == null) { return java.util.Collections.unmodifiableList(grantedNftAllowances_); } else { return grantedNftAllowancesBuilder_.getMessageList(); } } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public int getGrantedNftAllowancesCount() { if (grantedNftAllowancesBuilder_ == null) { return grantedNftAllowances_.size(); } else { return grantedNftAllowancesBuilder_.getCount(); } } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public com.hederahashgraph.api.proto.java.GrantedNftAllowance getGrantedNftAllowances(int index) { if (grantedNftAllowancesBuilder_ == null) { return grantedNftAllowances_.get(index); } else { return grantedNftAllowancesBuilder_.getMessage(index); } } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public Builder setGrantedNftAllowances( int index, com.hederahashgraph.api.proto.java.GrantedNftAllowance value) { if (grantedNftAllowancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGrantedNftAllowancesIsMutable(); grantedNftAllowances_.set(index, value); onChanged(); } else { grantedNftAllowancesBuilder_.setMessage(index, value); } return this; } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public Builder setGrantedNftAllowances( int index, com.hederahashgraph.api.proto.java.GrantedNftAllowance.Builder builderForValue) { if (grantedNftAllowancesBuilder_ == null) { ensureGrantedNftAllowancesIsMutable(); grantedNftAllowances_.set(index, builderForValue.build()); onChanged(); } else { grantedNftAllowancesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public Builder addGrantedNftAllowances(com.hederahashgraph.api.proto.java.GrantedNftAllowance value) { if (grantedNftAllowancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGrantedNftAllowancesIsMutable(); grantedNftAllowances_.add(value); onChanged(); } else { grantedNftAllowancesBuilder_.addMessage(value); } return this; } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public Builder addGrantedNftAllowances( int index, com.hederahashgraph.api.proto.java.GrantedNftAllowance value) { if (grantedNftAllowancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGrantedNftAllowancesIsMutable(); grantedNftAllowances_.add(index, value); onChanged(); } else { grantedNftAllowancesBuilder_.addMessage(index, value); } return this; } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public Builder addGrantedNftAllowances( com.hederahashgraph.api.proto.java.GrantedNftAllowance.Builder builderForValue) { if (grantedNftAllowancesBuilder_ == null) { ensureGrantedNftAllowancesIsMutable(); grantedNftAllowances_.add(builderForValue.build()); onChanged(); } else { grantedNftAllowancesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public Builder addGrantedNftAllowances( int index, com.hederahashgraph.api.proto.java.GrantedNftAllowance.Builder builderForValue) { if (grantedNftAllowancesBuilder_ == null) { ensureGrantedNftAllowancesIsMutable(); grantedNftAllowances_.add(index, builderForValue.build()); onChanged(); } else { grantedNftAllowancesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public Builder addAllGrantedNftAllowances( java.lang.Iterable values) { if (grantedNftAllowancesBuilder_ == null) { ensureGrantedNftAllowancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, grantedNftAllowances_); onChanged(); } else { grantedNftAllowancesBuilder_.addAllMessages(values); } return this; } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public Builder clearGrantedNftAllowances() { if (grantedNftAllowancesBuilder_ == null) { grantedNftAllowances_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { grantedNftAllowancesBuilder_.clear(); } return this; } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public Builder removeGrantedNftAllowances(int index) { if (grantedNftAllowancesBuilder_ == null) { ensureGrantedNftAllowancesIsMutable(); grantedNftAllowances_.remove(index); onChanged(); } else { grantedNftAllowancesBuilder_.remove(index); } return this; } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public com.hederahashgraph.api.proto.java.GrantedNftAllowance.Builder getGrantedNftAllowancesBuilder( int index) { return getGrantedNftAllowancesFieldBuilder().getBuilder(index); } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public com.hederahashgraph.api.proto.java.GrantedNftAllowanceOrBuilder getGrantedNftAllowancesOrBuilder( int index) { if (grantedNftAllowancesBuilder_ == null) { return grantedNftAllowances_.get(index); } else { return grantedNftAllowancesBuilder_.getMessageOrBuilder(index); } } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public java.util.List getGrantedNftAllowancesOrBuilderList() { if (grantedNftAllowancesBuilder_ != null) { return grantedNftAllowancesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(grantedNftAllowances_); } } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public com.hederahashgraph.api.proto.java.GrantedNftAllowance.Builder addGrantedNftAllowancesBuilder() { return getGrantedNftAllowancesFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.GrantedNftAllowance.getDefaultInstance()); } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public com.hederahashgraph.api.proto.java.GrantedNftAllowance.Builder addGrantedNftAllowancesBuilder( int index) { return getGrantedNftAllowancesFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.GrantedNftAllowance.getDefaultInstance()); } /** *
       **
       * All of the non-fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedNftAllowance granted_nft_allowances = 18; */ public java.util.List getGrantedNftAllowancesBuilderList() { return getGrantedNftAllowancesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.GrantedNftAllowance, com.hederahashgraph.api.proto.java.GrantedNftAllowance.Builder, com.hederahashgraph.api.proto.java.GrantedNftAllowanceOrBuilder> getGrantedNftAllowancesFieldBuilder() { if (grantedNftAllowancesBuilder_ == null) { grantedNftAllowancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.GrantedNftAllowance, com.hederahashgraph.api.proto.java.GrantedNftAllowance.Builder, com.hederahashgraph.api.proto.java.GrantedNftAllowanceOrBuilder>( grantedNftAllowances_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); grantedNftAllowances_ = null; } return grantedNftAllowancesBuilder_; } private java.util.List grantedTokenAllowances_ = java.util.Collections.emptyList(); private void ensureGrantedTokenAllowancesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { grantedTokenAllowances_ = new java.util.ArrayList(grantedTokenAllowances_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.GrantedTokenAllowance, com.hederahashgraph.api.proto.java.GrantedTokenAllowance.Builder, com.hederahashgraph.api.proto.java.GrantedTokenAllowanceOrBuilder> grantedTokenAllowancesBuilder_; /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public java.util.List getGrantedTokenAllowancesList() { if (grantedTokenAllowancesBuilder_ == null) { return java.util.Collections.unmodifiableList(grantedTokenAllowances_); } else { return grantedTokenAllowancesBuilder_.getMessageList(); } } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public int getGrantedTokenAllowancesCount() { if (grantedTokenAllowancesBuilder_ == null) { return grantedTokenAllowances_.size(); } else { return grantedTokenAllowancesBuilder_.getCount(); } } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public com.hederahashgraph.api.proto.java.GrantedTokenAllowance getGrantedTokenAllowances(int index) { if (grantedTokenAllowancesBuilder_ == null) { return grantedTokenAllowances_.get(index); } else { return grantedTokenAllowancesBuilder_.getMessage(index); } } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public Builder setGrantedTokenAllowances( int index, com.hederahashgraph.api.proto.java.GrantedTokenAllowance value) { if (grantedTokenAllowancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGrantedTokenAllowancesIsMutable(); grantedTokenAllowances_.set(index, value); onChanged(); } else { grantedTokenAllowancesBuilder_.setMessage(index, value); } return this; } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public Builder setGrantedTokenAllowances( int index, com.hederahashgraph.api.proto.java.GrantedTokenAllowance.Builder builderForValue) { if (grantedTokenAllowancesBuilder_ == null) { ensureGrantedTokenAllowancesIsMutable(); grantedTokenAllowances_.set(index, builderForValue.build()); onChanged(); } else { grantedTokenAllowancesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public Builder addGrantedTokenAllowances(com.hederahashgraph.api.proto.java.GrantedTokenAllowance value) { if (grantedTokenAllowancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGrantedTokenAllowancesIsMutable(); grantedTokenAllowances_.add(value); onChanged(); } else { grantedTokenAllowancesBuilder_.addMessage(value); } return this; } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public Builder addGrantedTokenAllowances( int index, com.hederahashgraph.api.proto.java.GrantedTokenAllowance value) { if (grantedTokenAllowancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGrantedTokenAllowancesIsMutable(); grantedTokenAllowances_.add(index, value); onChanged(); } else { grantedTokenAllowancesBuilder_.addMessage(index, value); } return this; } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public Builder addGrantedTokenAllowances( com.hederahashgraph.api.proto.java.GrantedTokenAllowance.Builder builderForValue) { if (grantedTokenAllowancesBuilder_ == null) { ensureGrantedTokenAllowancesIsMutable(); grantedTokenAllowances_.add(builderForValue.build()); onChanged(); } else { grantedTokenAllowancesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public Builder addGrantedTokenAllowances( int index, com.hederahashgraph.api.proto.java.GrantedTokenAllowance.Builder builderForValue) { if (grantedTokenAllowancesBuilder_ == null) { ensureGrantedTokenAllowancesIsMutable(); grantedTokenAllowances_.add(index, builderForValue.build()); onChanged(); } else { grantedTokenAllowancesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public Builder addAllGrantedTokenAllowances( java.lang.Iterable values) { if (grantedTokenAllowancesBuilder_ == null) { ensureGrantedTokenAllowancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, grantedTokenAllowances_); onChanged(); } else { grantedTokenAllowancesBuilder_.addAllMessages(values); } return this; } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public Builder clearGrantedTokenAllowances() { if (grantedTokenAllowancesBuilder_ == null) { grantedTokenAllowances_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { grantedTokenAllowancesBuilder_.clear(); } return this; } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public Builder removeGrantedTokenAllowances(int index) { if (grantedTokenAllowancesBuilder_ == null) { ensureGrantedTokenAllowancesIsMutable(); grantedTokenAllowances_.remove(index); onChanged(); } else { grantedTokenAllowancesBuilder_.remove(index); } return this; } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public com.hederahashgraph.api.proto.java.GrantedTokenAllowance.Builder getGrantedTokenAllowancesBuilder( int index) { return getGrantedTokenAllowancesFieldBuilder().getBuilder(index); } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public com.hederahashgraph.api.proto.java.GrantedTokenAllowanceOrBuilder getGrantedTokenAllowancesOrBuilder( int index) { if (grantedTokenAllowancesBuilder_ == null) { return grantedTokenAllowances_.get(index); } else { return grantedTokenAllowancesBuilder_.getMessageOrBuilder(index); } } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public java.util.List getGrantedTokenAllowancesOrBuilderList() { if (grantedTokenAllowancesBuilder_ != null) { return grantedTokenAllowancesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(grantedTokenAllowances_); } } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public com.hederahashgraph.api.proto.java.GrantedTokenAllowance.Builder addGrantedTokenAllowancesBuilder() { return getGrantedTokenAllowancesFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.GrantedTokenAllowance.getDefaultInstance()); } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public com.hederahashgraph.api.proto.java.GrantedTokenAllowance.Builder addGrantedTokenAllowancesBuilder( int index) { return getGrantedTokenAllowancesFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.GrantedTokenAllowance.getDefaultInstance()); } /** *
       **
       * All of the fungible token allowances approved by the account owner.
       * 
* * repeated .proto.GrantedTokenAllowance granted_token_allowances = 19; */ public java.util.List getGrantedTokenAllowancesBuilderList() { return getGrantedTokenAllowancesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.GrantedTokenAllowance, com.hederahashgraph.api.proto.java.GrantedTokenAllowance.Builder, com.hederahashgraph.api.proto.java.GrantedTokenAllowanceOrBuilder> getGrantedTokenAllowancesFieldBuilder() { if (grantedTokenAllowancesBuilder_ == null) { grantedTokenAllowancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.GrantedTokenAllowance, com.hederahashgraph.api.proto.java.GrantedTokenAllowance.Builder, com.hederahashgraph.api.proto.java.GrantedTokenAllowanceOrBuilder>( grantedTokenAllowances_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); grantedTokenAllowances_ = null; } return grantedTokenAllowancesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:proto.GetAccountDetailsResponse.AccountDetails) } // @@protoc_insertion_point(class_scope:proto.GetAccountDetailsResponse.AccountDetails) private static final com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails(); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AccountDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AccountDetails(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int HEADER_FIELD_NUMBER = 1; private com.hederahashgraph.api.proto.java.ResponseHeader header_; /** *
   **
   * Standard response from node to client, including the requested fields: cost, or state proof,
   * or both, or neither
   * 
* * .proto.ResponseHeader header = 1; * @return Whether the header field is set. */ @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; * @return The header. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ResponseHeader getHeader() { return header_ == null ? com.hederahashgraph.api.proto.java.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; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ResponseHeaderOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int ACCOUNT_DETAILS_FIELD_NUMBER = 2; private com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails accountDetails_; /** *
   **
   * Details of the account (a state proof can be generated for this)
   * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; * @return Whether the accountDetails field is set. */ @java.lang.Override public boolean hasAccountDetails() { return accountDetails_ != null; } /** *
   **
   * Details of the account (a state proof can be generated for this)
   * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; * @return The accountDetails. */ @java.lang.Override public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails getAccountDetails() { return accountDetails_ == null ? com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.getDefaultInstance() : accountDetails_; } /** *
   **
   * Details of the account (a state proof can be generated for this)
   * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; */ @java.lang.Override public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetailsOrBuilder getAccountDetailsOrBuilder() { return getAccountDetails(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } if (accountDetails_ != null) { output.writeMessage(2, getAccountDetails()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } if (accountDetails_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAccountDetails()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.hederahashgraph.api.proto.java.GetAccountDetailsResponse)) { return super.equals(obj); } com.hederahashgraph.api.proto.java.GetAccountDetailsResponse other = (com.hederahashgraph.api.proto.java.GetAccountDetailsResponse) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (hasAccountDetails() != other.hasAccountDetails()) return false; if (hasAccountDetails()) { if (!getAccountDetails() .equals(other.getAccountDetails())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } if (hasAccountDetails()) { hash = (37 * hash) + ACCOUNT_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getAccountDetails().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.hederahashgraph.api.proto.java.GetAccountDetailsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   **
   * Response when the client sends the node GetAccountDetailsQuery
   * 
* * Protobuf type {@code proto.GetAccountDetailsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.GetAccountDetailsResponse) com.hederahashgraph.api.proto.java.GetAccountDetailsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.GetAccountDetails.internal_static_proto_GetAccountDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.GetAccountDetails.internal_static_proto_GetAccountDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.class, com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.Builder.class); } // Construct using com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } if (accountDetailsBuilder_ == null) { accountDetails_ = null; } else { accountDetails_ = null; accountDetailsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hederahashgraph.api.proto.java.GetAccountDetails.internal_static_proto_GetAccountDetailsResponse_descriptor; } @java.lang.Override public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse getDefaultInstanceForType() { return com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.getDefaultInstance(); } @java.lang.Override public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse build() { com.hederahashgraph.api.proto.java.GetAccountDetailsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse buildPartial() { com.hederahashgraph.api.proto.java.GetAccountDetailsResponse result = new com.hederahashgraph.api.proto.java.GetAccountDetailsResponse(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } if (accountDetailsBuilder_ == null) { result.accountDetails_ = accountDetails_; } else { result.accountDetails_ = accountDetailsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.hederahashgraph.api.proto.java.GetAccountDetailsResponse) { return mergeFrom((com.hederahashgraph.api.proto.java.GetAccountDetailsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hederahashgraph.api.proto.java.GetAccountDetailsResponse other) { if (other == com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (other.hasAccountDetails()) { mergeAccountDetails(other.getAccountDetails()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.hederahashgraph.api.proto.java.GetAccountDetailsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hederahashgraph.api.proto.java.GetAccountDetailsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.hederahashgraph.api.proto.java.ResponseHeader header_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ResponseHeader, com.hederahashgraph.api.proto.java.ResponseHeader.Builder, com.hederahashgraph.api.proto.java.ResponseHeaderOrBuilder> headerBuilder_; /** *
     **
     * Standard response from node to client, including the requested fields: cost, or state proof,
     * or both, or neither
     * 
* * .proto.ResponseHeader header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** *
     **
     * Standard response from node to client, including the requested fields: cost, or state proof,
     * or both, or neither
     * 
* * .proto.ResponseHeader header = 1; * @return The header. */ public com.hederahashgraph.api.proto.java.ResponseHeader getHeader() { if (headerBuilder_ == null) { return header_ == null ? com.hederahashgraph.api.proto.java.ResponseHeader.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** *
     **
     * 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.hederahashgraph.api.proto.java.ResponseHeader value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(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.hederahashgraph.api.proto.java.ResponseHeader.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(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.hederahashgraph.api.proto.java.ResponseHeader value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = com.hederahashgraph.api.proto.java.ResponseHeader.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(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() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } 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 com.hederahashgraph.api.proto.java.ResponseHeader.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** *
     **
     * Standard response from node to client, including the requested fields: cost, or state proof,
     * or both, or neither
     * 
* * .proto.ResponseHeader header = 1; */ public com.hederahashgraph.api.proto.java.ResponseHeaderOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? com.hederahashgraph.api.proto.java.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 com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ResponseHeader, com.hederahashgraph.api.proto.java.ResponseHeader.Builder, com.hederahashgraph.api.proto.java.ResponseHeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ResponseHeader, com.hederahashgraph.api.proto.java.ResponseHeader.Builder, com.hederahashgraph.api.proto.java.ResponseHeaderOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails accountDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails, com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.Builder, com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetailsOrBuilder> accountDetailsBuilder_; /** *
     **
     * Details of the account (a state proof can be generated for this)
     * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; * @return Whether the accountDetails field is set. */ public boolean hasAccountDetails() { return accountDetailsBuilder_ != null || accountDetails_ != null; } /** *
     **
     * Details of the account (a state proof can be generated for this)
     * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; * @return The accountDetails. */ public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails getAccountDetails() { if (accountDetailsBuilder_ == null) { return accountDetails_ == null ? com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.getDefaultInstance() : accountDetails_; } else { return accountDetailsBuilder_.getMessage(); } } /** *
     **
     * Details of the account (a state proof can be generated for this)
     * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; */ public Builder setAccountDetails(com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails value) { if (accountDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } accountDetails_ = value; onChanged(); } else { accountDetailsBuilder_.setMessage(value); } return this; } /** *
     **
     * Details of the account (a state proof can be generated for this)
     * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; */ public Builder setAccountDetails( com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.Builder builderForValue) { if (accountDetailsBuilder_ == null) { accountDetails_ = builderForValue.build(); onChanged(); } else { accountDetailsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * Details of the account (a state proof can be generated for this)
     * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; */ public Builder mergeAccountDetails(com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails value) { if (accountDetailsBuilder_ == null) { if (accountDetails_ != null) { accountDetails_ = com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.newBuilder(accountDetails_).mergeFrom(value).buildPartial(); } else { accountDetails_ = value; } onChanged(); } else { accountDetailsBuilder_.mergeFrom(value); } return this; } /** *
     **
     * Details of the account (a state proof can be generated for this)
     * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; */ public Builder clearAccountDetails() { if (accountDetailsBuilder_ == null) { accountDetails_ = null; onChanged(); } else { accountDetails_ = null; accountDetailsBuilder_ = null; } return this; } /** *
     **
     * Details of the account (a state proof can be generated for this)
     * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; */ public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.Builder getAccountDetailsBuilder() { onChanged(); return getAccountDetailsFieldBuilder().getBuilder(); } /** *
     **
     * Details of the account (a state proof can be generated for this)
     * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; */ public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetailsOrBuilder getAccountDetailsOrBuilder() { if (accountDetailsBuilder_ != null) { return accountDetailsBuilder_.getMessageOrBuilder(); } else { return accountDetails_ == null ? com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.getDefaultInstance() : accountDetails_; } } /** *
     **
     * Details of the account (a state proof can be generated for this)
     * 
* * .proto.GetAccountDetailsResponse.AccountDetails account_details = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails, com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.Builder, com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetailsOrBuilder> getAccountDetailsFieldBuilder() { if (accountDetailsBuilder_ == null) { accountDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails, com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetails.Builder, com.hederahashgraph.api.proto.java.GetAccountDetailsResponse.AccountDetailsOrBuilder>( getAccountDetails(), getParentForChildren(), isClean()); accountDetails_ = null; } return accountDetailsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:proto.GetAccountDetailsResponse) } // @@protoc_insertion_point(class_scope:proto.GetAccountDetailsResponse) private static final com.hederahashgraph.api.proto.java.GetAccountDetailsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.GetAccountDetailsResponse(); } public static com.hederahashgraph.api.proto.java.GetAccountDetailsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetAccountDetailsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetAccountDetailsResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.hederahashgraph.api.proto.java.GetAccountDetailsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy