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

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

There is a newer version: 0.57.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: CryptoGetInfo.proto

package com.hederahashgraph.api.proto.java;

/**
 * 
 * Response when the client sends the node CryptoGetInfoQuery 
 * 
* * Protobuf type {@code proto.CryptoGetInfoResponse} */ public final class CryptoGetInfoResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.CryptoGetInfoResponse) CryptoGetInfoResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CryptoGetInfoResponse.newBuilder() to construct. private CryptoGetInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CryptoGetInfoResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CryptoGetInfoResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CryptoGetInfoResponse( 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.CryptoGetInfoResponse.AccountInfo.Builder subBuilder = null; if (accountInfo_ != null) { subBuilder = accountInfo_.toBuilder(); } accountInfo_ = input.readMessage(com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(accountInfo_); accountInfo_ = 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.CryptoGetInfo.internal_static_proto_CryptoGetInfoResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.CryptoGetInfo.internal_static_proto_CryptoGetInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.class, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.Builder.class); } public interface AccountInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.CryptoGetInfoResponse.AccountInfo) com.google.protobuf.MessageOrBuilder { /** *
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; */ boolean hasAccountID(); /** *
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; */ com.hederahashgraph.api.proto.java.AccountID getAccountID(); /** *
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 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 contractAccountID = 2; */ java.lang.String getContractAccountID(); /** *
     * The Contract Account ID comprising of both the contract instance and the cryptocurrency account owned by the contract instance, in the format used by Solidity
     * 
* * string contractAccountID = 2; */ 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; */ boolean getDeleted(); /** *
     * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4; */ boolean hasProxyAccountID(); /** *
     * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4; */ com.hederahashgraph.api.proto.java.AccountID getProxyAccountID(); /** *
     * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4; */ com.hederahashgraph.api.proto.java.AccountIDOrBuilder getProxyAccountIDOrBuilder(); /** *
     * The total number of tinybars proxy staked to this account
     * 
* * int64 proxyReceived = 6; */ long getProxyReceived(); /** *
     * The key for the account, which must sign in order to transfer out, or to modify the account in any way other than extending its expiration date.
     * 
* * .proto.Key key = 7; */ boolean hasKey(); /** *
     * The key for the account, which must sign in order to transfer out, or to modify the account in any way other than extending its expiration date.
     * 
* * .proto.Key key = 7; */ 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 = 7; */ com.hederahashgraph.api.proto.java.KeyOrBuilder getKeyOrBuilder(); /** *
     * The current balance of account in tinybars
     * 
* * uint64 balance = 8; */ long getBalance(); /** *
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that decreases the balance of this account by more than the threshold
     * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; */ @java.lang.Deprecated long getGenerateSendRecordThreshold(); /** *
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that increases the balance of this account by more than the threshold
     * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; */ @java.lang.Deprecated long getGenerateReceiveRecordThreshold(); /** *
     * If true, no transaction can transfer to this account unless signed by this account's key
     * 
* * bool receiverSigRequired = 11; */ boolean getReceiverSigRequired(); /** *
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; */ boolean hasExpirationTime(); /** *
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; */ com.hederahashgraph.api.proto.java.Timestamp getExpirationTime(); /** *
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; */ 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 autoRenewPeriod = 13; */ boolean hasAutoRenewPeriod(); /** *
     * The duration for expiration time will extend every this many seconds. If there are insufficient funds, then it extends as long as possible. If it is empty when it expires, then it is deleted.
     * 
* * .proto.Duration autoRenewPeriod = 13; */ 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 autoRenewPeriod = 13; */ com.hederahashgraph.api.proto.java.DurationOrBuilder getAutoRenewPeriodOrBuilder(); /** *
     * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ java.util.List getLiveHashesList(); /** *
     * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ com.hederahashgraph.api.proto.java.LiveHash getLiveHashes(int index); /** *
     * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ int getLiveHashesCount(); /** *
     * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ java.util.List getLiveHashesOrBuilderList(); /** *
     * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ com.hederahashgraph.api.proto.java.LiveHashOrBuilder getLiveHashesOrBuilder( int index); /** *
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ java.util.List getTokenRelationshipsList(); /** *
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ com.hederahashgraph.api.proto.java.TokenRelationship getTokenRelationships(int index); /** *
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ int getTokenRelationshipsCount(); /** *
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ java.util.List getTokenRelationshipsOrBuilderList(); /** *
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ com.hederahashgraph.api.proto.java.TokenRelationshipOrBuilder getTokenRelationshipsOrBuilder( int index); } /** * Protobuf type {@code proto.CryptoGetInfoResponse.AccountInfo} */ public static final class AccountInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.CryptoGetInfoResponse.AccountInfo) AccountInfoOrBuilder { private static final long serialVersionUID = 0L; // Use AccountInfo.newBuilder() to construct. private AccountInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AccountInfo() { contractAccountID_ = ""; liveHashes_ = java.util.Collections.emptyList(); tokenRelationships_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AccountInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AccountInfo( 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 48: { proxyReceived_ = input.readInt64(); break; } case 58: { 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 64: { balance_ = input.readUInt64(); break; } case 72: { generateSendRecordThreshold_ = input.readUInt64(); break; } case 80: { generateReceiveRecordThreshold_ = input.readUInt64(); break; } case 88: { receiverSigRequired_ = input.readBool(); break; } case 98: { 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 106: { 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 114: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { liveHashes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } liveHashes_.add( input.readMessage(com.hederahashgraph.api.proto.java.LiveHash.parser(), extensionRegistry)); break; } case 122: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { tokenRelationships_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } tokenRelationships_.add( input.readMessage(com.hederahashgraph.api.proto.java.TokenRelationship.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)) { liveHashes_ = java.util.Collections.unmodifiableList(liveHashes_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { tokenRelationships_ = java.util.Collections.unmodifiableList(tokenRelationships_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.CryptoGetInfo.internal_static_proto_CryptoGetInfoResponse_AccountInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.CryptoGetInfo.internal_static_proto_CryptoGetInfoResponse_AccountInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.class, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.Builder.class); } public static final int ACCOUNTID_FIELD_NUMBER = 1; private com.hederahashgraph.api.proto.java.AccountID accountID_; /** *
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; */ public boolean hasAccountID() { return accountID_ != null; } /** *
     * The account ID for which this information applies
     * 
* * .proto.AccountID accountID = 1; */ 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 accountID = 1; */ public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIDOrBuilder() { return getAccountID(); } public static final int CONTRACTACCOUNTID_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 contractAccountID = 2; */ 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 contractAccountID = 2; */ 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; */ public boolean getDeleted() { return deleted_; } public static final int PROXYACCOUNTID_FIELD_NUMBER = 4; private com.hederahashgraph.api.proto.java.AccountID proxyAccountID_; /** *
     * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4; */ public boolean hasProxyAccountID() { return proxyAccountID_ != null; } /** *
     * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4; */ public com.hederahashgraph.api.proto.java.AccountID getProxyAccountID() { return proxyAccountID_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : proxyAccountID_; } /** *
     * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4; */ public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getProxyAccountIDOrBuilder() { return getProxyAccountID(); } public static final int PROXYRECEIVED_FIELD_NUMBER = 6; private long proxyReceived_; /** *
     * The total number of tinybars proxy staked to this account
     * 
* * int64 proxyReceived = 6; */ public long getProxyReceived() { return proxyReceived_; } public static final int KEY_FIELD_NUMBER = 7; 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 = 7; */ public boolean hasKey() { return key_ != null; } /** *
     * The key for the account, which must sign in order to transfer out, or to modify the account in any way other than extending its expiration date.
     * 
* * .proto.Key key = 7; */ 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 = 7; */ public com.hederahashgraph.api.proto.java.KeyOrBuilder getKeyOrBuilder() { return getKey(); } public static final int BALANCE_FIELD_NUMBER = 8; private long balance_; /** *
     * The current balance of account in tinybars
     * 
* * uint64 balance = 8; */ public long getBalance() { return balance_; } public static final int GENERATESENDRECORDTHRESHOLD_FIELD_NUMBER = 9; private long generateSendRecordThreshold_; /** *
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that decreases the balance of this account by more than the threshold
     * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; */ @java.lang.Deprecated public long getGenerateSendRecordThreshold() { return generateSendRecordThreshold_; } public static final int GENERATERECEIVERECORDTHRESHOLD_FIELD_NUMBER = 10; private long generateReceiveRecordThreshold_; /** *
     * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that increases the balance of this account by more than the threshold
     * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; */ @java.lang.Deprecated public long getGenerateReceiveRecordThreshold() { return generateReceiveRecordThreshold_; } public static final int RECEIVERSIGREQUIRED_FIELD_NUMBER = 11; private boolean receiverSigRequired_; /** *
     * If true, no transaction can transfer to this account unless signed by this account's key
     * 
* * bool receiverSigRequired = 11; */ public boolean getReceiverSigRequired() { return receiverSigRequired_; } public static final int EXPIRATIONTIME_FIELD_NUMBER = 12; private com.hederahashgraph.api.proto.java.Timestamp expirationTime_; /** *
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; */ public boolean hasExpirationTime() { return expirationTime_ != null; } /** *
     * The TimeStamp time at which this account is set to expire
     * 
* * .proto.Timestamp expirationTime = 12; */ 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 expirationTime = 12; */ public com.hederahashgraph.api.proto.java.TimestampOrBuilder getExpirationTimeOrBuilder() { return getExpirationTime(); } public static final int AUTORENEWPERIOD_FIELD_NUMBER = 13; 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 autoRenewPeriod = 13; */ public boolean hasAutoRenewPeriod() { return autoRenewPeriod_ != null; } /** *
     * The duration for expiration time will extend every this many seconds. If there are insufficient funds, then it extends as long as possible. If it is empty when it expires, then it is deleted.
     * 
* * .proto.Duration autoRenewPeriod = 13; */ 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 autoRenewPeriod = 13; */ public com.hederahashgraph.api.proto.java.DurationOrBuilder getAutoRenewPeriodOrBuilder() { return getAutoRenewPeriod(); } public static final int LIVEHASHES_FIELD_NUMBER = 14; private java.util.List liveHashes_; /** *
     * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ public java.util.List getLiveHashesList() { return liveHashes_; } /** *
     * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ public java.util.List getLiveHashesOrBuilderList() { return liveHashes_; } /** *
     * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ public int getLiveHashesCount() { return liveHashes_.size(); } /** *
     * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ public com.hederahashgraph.api.proto.java.LiveHash getLiveHashes(int index) { return liveHashes_.get(index); } /** *
     * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
     * 
* * repeated .proto.LiveHash liveHashes = 14; */ public com.hederahashgraph.api.proto.java.LiveHashOrBuilder getLiveHashesOrBuilder( int index) { return liveHashes_.get(index); } public static final int TOKENRELATIONSHIPS_FIELD_NUMBER = 15; private java.util.List tokenRelationships_; /** *
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ public java.util.List getTokenRelationshipsList() { return tokenRelationships_; } /** *
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ public java.util.List getTokenRelationshipsOrBuilderList() { return tokenRelationships_; } /** *
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ public int getTokenRelationshipsCount() { return tokenRelationships_.size(); } /** *
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ public com.hederahashgraph.api.proto.java.TokenRelationship getTokenRelationships(int index) { return tokenRelationships_.get(index); } /** *
     * All tokens related to this account
     * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ public com.hederahashgraph.api.proto.java.TokenRelationshipOrBuilder getTokenRelationshipsOrBuilder( int index) { return tokenRelationships_.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 (!getContractAccountIDBytes().isEmpty()) { 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(6, proxyReceived_); } if (key_ != null) { output.writeMessage(7, getKey()); } if (balance_ != 0L) { output.writeUInt64(8, balance_); } if (generateSendRecordThreshold_ != 0L) { output.writeUInt64(9, generateSendRecordThreshold_); } if (generateReceiveRecordThreshold_ != 0L) { output.writeUInt64(10, generateReceiveRecordThreshold_); } if (receiverSigRequired_ != false) { output.writeBool(11, receiverSigRequired_); } if (expirationTime_ != null) { output.writeMessage(12, getExpirationTime()); } if (autoRenewPeriod_ != null) { output.writeMessage(13, getAutoRenewPeriod()); } for (int i = 0; i < liveHashes_.size(); i++) { output.writeMessage(14, liveHashes_.get(i)); } for (int i = 0; i < tokenRelationships_.size(); i++) { output.writeMessage(15, tokenRelationships_.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 (!getContractAccountIDBytes().isEmpty()) { 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(6, proxyReceived_); } if (key_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getKey()); } if (balance_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(8, balance_); } if (generateSendRecordThreshold_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(9, generateSendRecordThreshold_); } if (generateReceiveRecordThreshold_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(10, generateReceiveRecordThreshold_); } if (receiverSigRequired_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, receiverSigRequired_); } if (expirationTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getExpirationTime()); } if (autoRenewPeriod_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getAutoRenewPeriod()); } for (int i = 0; i < liveHashes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, liveHashes_.get(i)); } for (int i = 0; i < tokenRelationships_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, tokenRelationships_.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.CryptoGetInfoResponse.AccountInfo)) { return super.equals(obj); } com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo other = (com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo) 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 (getGenerateSendRecordThreshold() != other.getGenerateSendRecordThreshold()) return false; if (getGenerateReceiveRecordThreshold() != other.getGenerateReceiveRecordThreshold()) 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 (!getLiveHashesList() .equals(other.getLiveHashesList())) return false; if (!getTokenRelationshipsList() .equals(other.getTokenRelationshipsList())) 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) + ACCOUNTID_FIELD_NUMBER; hash = (53 * hash) + getAccountID().hashCode(); } hash = (37 * hash) + CONTRACTACCOUNTID_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) + PROXYACCOUNTID_FIELD_NUMBER; hash = (53 * hash) + getProxyAccountID().hashCode(); } hash = (37 * hash) + PROXYRECEIVED_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) + GENERATESENDRECORDTHRESHOLD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGenerateSendRecordThreshold()); hash = (37 * hash) + GENERATERECEIVERECORDTHRESHOLD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGenerateReceiveRecordThreshold()); hash = (37 * hash) + RECEIVERSIGREQUIRED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getReceiverSigRequired()); if (hasExpirationTime()) { hash = (37 * hash) + EXPIRATIONTIME_FIELD_NUMBER; hash = (53 * hash) + getExpirationTime().hashCode(); } if (hasAutoRenewPeriod()) { hash = (37 * hash) + AUTORENEWPERIOD_FIELD_NUMBER; hash = (53 * hash) + getAutoRenewPeriod().hashCode(); } if (getLiveHashesCount() > 0) { hash = (37 * hash) + LIVEHASHES_FIELD_NUMBER; hash = (53 * hash) + getLiveHashesList().hashCode(); } if (getTokenRelationshipsCount() > 0) { hash = (37 * hash) + TOKENRELATIONSHIPS_FIELD_NUMBER; hash = (53 * hash) + getTokenRelationshipsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo 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.CryptoGetInfoResponse.AccountInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo 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.CryptoGetInfoResponse.AccountInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo 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.CryptoGetInfoResponse.AccountInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo 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.CryptoGetInfoResponse.AccountInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo 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.CryptoGetInfoResponse.AccountInfo 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.CryptoGetInfoResponse.AccountInfo 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.CryptoGetInfoResponse.AccountInfo 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.CryptoGetInfoResponse.AccountInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.CryptoGetInfoResponse.AccountInfo) com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.CryptoGetInfo.internal_static_proto_CryptoGetInfoResponse_AccountInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.CryptoGetInfo.internal_static_proto_CryptoGetInfoResponse_AccountInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.class, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.Builder.class); } // Construct using com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLiveHashesFieldBuilder(); getTokenRelationshipsFieldBuilder(); } } @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; generateSendRecordThreshold_ = 0L; generateReceiveRecordThreshold_ = 0L; receiverSigRequired_ = false; if (expirationTimeBuilder_ == null) { expirationTime_ = null; } else { expirationTime_ = null; expirationTimeBuilder_ = null; } if (autoRenewPeriodBuilder_ == null) { autoRenewPeriod_ = null; } else { autoRenewPeriod_ = null; autoRenewPeriodBuilder_ = null; } if (liveHashesBuilder_ == null) { liveHashes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { liveHashesBuilder_.clear(); } if (tokenRelationshipsBuilder_ == null) { tokenRelationships_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { tokenRelationshipsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hederahashgraph.api.proto.java.CryptoGetInfo.internal_static_proto_CryptoGetInfoResponse_AccountInfo_descriptor; } @java.lang.Override public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo getDefaultInstanceForType() { return com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.getDefaultInstance(); } @java.lang.Override public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo build() { com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo buildPartial() { com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo result = new com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo(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.generateSendRecordThreshold_ = generateSendRecordThreshold_; result.generateReceiveRecordThreshold_ = generateReceiveRecordThreshold_; 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 (liveHashesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { liveHashes_ = java.util.Collections.unmodifiableList(liveHashes_); bitField0_ = (bitField0_ & ~0x00000001); } result.liveHashes_ = liveHashes_; } else { result.liveHashes_ = liveHashesBuilder_.build(); } if (tokenRelationshipsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { tokenRelationships_ = java.util.Collections.unmodifiableList(tokenRelationships_); bitField0_ = (bitField0_ & ~0x00000002); } result.tokenRelationships_ = tokenRelationships_; } else { result.tokenRelationships_ = tokenRelationshipsBuilder_.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.CryptoGetInfoResponse.AccountInfo) { return mergeFrom((com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo other) { if (other == com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.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.getGenerateSendRecordThreshold() != 0L) { setGenerateSendRecordThreshold(other.getGenerateSendRecordThreshold()); } if (other.getGenerateReceiveRecordThreshold() != 0L) { setGenerateReceiveRecordThreshold(other.getGenerateReceiveRecordThreshold()); } if (other.getReceiverSigRequired() != false) { setReceiverSigRequired(other.getReceiverSigRequired()); } if (other.hasExpirationTime()) { mergeExpirationTime(other.getExpirationTime()); } if (other.hasAutoRenewPeriod()) { mergeAutoRenewPeriod(other.getAutoRenewPeriod()); } if (liveHashesBuilder_ == null) { if (!other.liveHashes_.isEmpty()) { if (liveHashes_.isEmpty()) { liveHashes_ = other.liveHashes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLiveHashesIsMutable(); liveHashes_.addAll(other.liveHashes_); } onChanged(); } } else { if (!other.liveHashes_.isEmpty()) { if (liveHashesBuilder_.isEmpty()) { liveHashesBuilder_.dispose(); liveHashesBuilder_ = null; liveHashes_ = other.liveHashes_; bitField0_ = (bitField0_ & ~0x00000001); liveHashesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLiveHashesFieldBuilder() : null; } else { liveHashesBuilder_.addAllMessages(other.liveHashes_); } } } if (tokenRelationshipsBuilder_ == null) { if (!other.tokenRelationships_.isEmpty()) { if (tokenRelationships_.isEmpty()) { tokenRelationships_ = other.tokenRelationships_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTokenRelationshipsIsMutable(); tokenRelationships_.addAll(other.tokenRelationships_); } onChanged(); } } else { if (!other.tokenRelationships_.isEmpty()) { if (tokenRelationshipsBuilder_.isEmpty()) { tokenRelationshipsBuilder_.dispose(); tokenRelationshipsBuilder_ = null; tokenRelationships_ = other.tokenRelationships_; bitField0_ = (bitField0_ & ~0x00000002); tokenRelationshipsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTokenRelationshipsFieldBuilder() : null; } else { tokenRelationshipsBuilder_.addAllMessages(other.tokenRelationships_); } } } 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.CryptoGetInfoResponse.AccountInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo) 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 accountID = 1; */ public boolean hasAccountID() { return accountIDBuilder_ != null || accountID_ != null; } /** *
       * The account ID for which this information applies
       * 
* * .proto.AccountID accountID = 1; */ 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 accountID = 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 accountID = 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 accountID = 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 accountID = 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 accountID = 1; */ public com.hederahashgraph.api.proto.java.AccountID.Builder getAccountIDBuilder() { onChanged(); return getAccountIDFieldBuilder().getBuilder(); } /** *
       * The account ID for which this information applies
       * 
* * .proto.AccountID accountID = 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 accountID = 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 contractAccountID = 2; */ 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 contractAccountID = 2; */ 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 contractAccountID = 2; */ 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 contractAccountID = 2; */ 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 contractAccountID = 2; */ 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; */ 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; */ 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; */ 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_; /** *
       * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4; */ public boolean hasProxyAccountID() { return proxyAccountIDBuilder_ != null || proxyAccountID_ != null; } /** *
       * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4; */ 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(); } } /** *
       * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4; */ 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; } /** *
       * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4; */ 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; } /** *
       * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4; */ 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; } /** *
       * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4; */ public Builder clearProxyAccountID() { if (proxyAccountIDBuilder_ == null) { proxyAccountID_ = null; onChanged(); } else { proxyAccountID_ = null; proxyAccountIDBuilder_ = null; } return this; } /** *
       * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4; */ public com.hederahashgraph.api.proto.java.AccountID.Builder getProxyAccountIDBuilder() { onChanged(); return getProxyAccountIDFieldBuilder().getBuilder(); } /** *
       * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4; */ 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_; } } /** *
       * The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
       * 
* * .proto.AccountID proxyAccountID = 4; */ 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 proxyReceived = 6; */ public long getProxyReceived() { return proxyReceived_; } /** *
       * The total number of tinybars proxy staked to this account
       * 
* * int64 proxyReceived = 6; */ public Builder setProxyReceived(long value) { proxyReceived_ = value; onChanged(); return this; } /** *
       * The total number of tinybars proxy staked to this account
       * 
* * int64 proxyReceived = 6; */ 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 = 7; */ 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 = 7; */ 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 = 7; */ 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 = 7; */ 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 = 7; */ 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 = 7; */ 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 = 7; */ 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 = 7; */ 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 = 7; */ 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 = 8; */ public long getBalance() { return balance_; } /** *
       * The current balance of account in tinybars
       * 
* * uint64 balance = 8; */ public Builder setBalance(long value) { balance_ = value; onChanged(); return this; } /** *
       * The current balance of account in tinybars
       * 
* * uint64 balance = 8; */ public Builder clearBalance() { balance_ = 0L; onChanged(); return this; } private long generateSendRecordThreshold_ ; /** *
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that decreases the balance of this account by more than the threshold
       * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; */ @java.lang.Deprecated public long getGenerateSendRecordThreshold() { return generateSendRecordThreshold_; } /** *
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that decreases the balance of this account by more than the threshold
       * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; */ @java.lang.Deprecated public Builder setGenerateSendRecordThreshold(long value) { generateSendRecordThreshold_ = value; onChanged(); return this; } /** *
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that decreases the balance of this account by more than the threshold
       * 
* * uint64 generateSendRecordThreshold = 9 [deprecated = true]; */ @java.lang.Deprecated public Builder clearGenerateSendRecordThreshold() { generateSendRecordThreshold_ = 0L; onChanged(); return this; } private long generateReceiveRecordThreshold_ ; /** *
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that increases the balance of this account by more than the threshold
       * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; */ @java.lang.Deprecated public long getGenerateReceiveRecordThreshold() { return generateReceiveRecordThreshold_; } /** *
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that increases the balance of this account by more than the threshold
       * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; */ @java.lang.Deprecated public Builder setGenerateReceiveRecordThreshold(long value) { generateReceiveRecordThreshold_ = value; onChanged(); return this; } /** *
       * [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that increases the balance of this account by more than the threshold
       * 
* * uint64 generateReceiveRecordThreshold = 10 [deprecated = true]; */ @java.lang.Deprecated public Builder clearGenerateReceiveRecordThreshold() { generateReceiveRecordThreshold_ = 0L; onChanged(); return this; } private boolean receiverSigRequired_ ; /** *
       * If true, no transaction can transfer to this account unless signed by this account's key
       * 
* * bool receiverSigRequired = 11; */ public boolean getReceiverSigRequired() { return receiverSigRequired_; } /** *
       * If true, no transaction can transfer to this account unless signed by this account's key
       * 
* * bool receiverSigRequired = 11; */ 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 receiverSigRequired = 11; */ 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 expirationTime = 12; */ public boolean hasExpirationTime() { return expirationTimeBuilder_ != null || expirationTime_ != null; } /** *
       * The TimeStamp time at which this account is set to expire
       * 
* * .proto.Timestamp expirationTime = 12; */ 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 expirationTime = 12; */ 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 expirationTime = 12; */ 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 expirationTime = 12; */ 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 expirationTime = 12; */ 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 expirationTime = 12; */ 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 expirationTime = 12; */ 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 expirationTime = 12; */ 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 autoRenewPeriod = 13; */ 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 autoRenewPeriod = 13; */ 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 autoRenewPeriod = 13; */ 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 autoRenewPeriod = 13; */ 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 autoRenewPeriod = 13; */ 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 autoRenewPeriod = 13; */ 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 autoRenewPeriod = 13; */ 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 autoRenewPeriod = 13; */ 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 autoRenewPeriod = 13; */ 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 liveHashes_ = java.util.Collections.emptyList(); private void ensureLiveHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { liveHashes_ = new java.util.ArrayList(liveHashes_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.LiveHash, com.hederahashgraph.api.proto.java.LiveHash.Builder, com.hederahashgraph.api.proto.java.LiveHashOrBuilder> liveHashesBuilder_; /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public java.util.List getLiveHashesList() { if (liveHashesBuilder_ == null) { return java.util.Collections.unmodifiableList(liveHashes_); } else { return liveHashesBuilder_.getMessageList(); } } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public int getLiveHashesCount() { if (liveHashesBuilder_ == null) { return liveHashes_.size(); } else { return liveHashesBuilder_.getCount(); } } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public com.hederahashgraph.api.proto.java.LiveHash getLiveHashes(int index) { if (liveHashesBuilder_ == null) { return liveHashes_.get(index); } else { return liveHashesBuilder_.getMessage(index); } } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder setLiveHashes( int index, com.hederahashgraph.api.proto.java.LiveHash value) { if (liveHashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLiveHashesIsMutable(); liveHashes_.set(index, value); onChanged(); } else { liveHashesBuilder_.setMessage(index, value); } return this; } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder setLiveHashes( int index, com.hederahashgraph.api.proto.java.LiveHash.Builder builderForValue) { if (liveHashesBuilder_ == null) { ensureLiveHashesIsMutable(); liveHashes_.set(index, builderForValue.build()); onChanged(); } else { liveHashesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder addLiveHashes(com.hederahashgraph.api.proto.java.LiveHash value) { if (liveHashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLiveHashesIsMutable(); liveHashes_.add(value); onChanged(); } else { liveHashesBuilder_.addMessage(value); } return this; } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder addLiveHashes( int index, com.hederahashgraph.api.proto.java.LiveHash value) { if (liveHashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLiveHashesIsMutable(); liveHashes_.add(index, value); onChanged(); } else { liveHashesBuilder_.addMessage(index, value); } return this; } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder addLiveHashes( com.hederahashgraph.api.proto.java.LiveHash.Builder builderForValue) { if (liveHashesBuilder_ == null) { ensureLiveHashesIsMutable(); liveHashes_.add(builderForValue.build()); onChanged(); } else { liveHashesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder addLiveHashes( int index, com.hederahashgraph.api.proto.java.LiveHash.Builder builderForValue) { if (liveHashesBuilder_ == null) { ensureLiveHashesIsMutable(); liveHashes_.add(index, builderForValue.build()); onChanged(); } else { liveHashesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder addAllLiveHashes( java.lang.Iterable values) { if (liveHashesBuilder_ == null) { ensureLiveHashesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, liveHashes_); onChanged(); } else { liveHashesBuilder_.addAllMessages(values); } return this; } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder clearLiveHashes() { if (liveHashesBuilder_ == null) { liveHashes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { liveHashesBuilder_.clear(); } return this; } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public Builder removeLiveHashes(int index) { if (liveHashesBuilder_ == null) { ensureLiveHashesIsMutable(); liveHashes_.remove(index); onChanged(); } else { liveHashesBuilder_.remove(index); } return this; } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public com.hederahashgraph.api.proto.java.LiveHash.Builder getLiveHashesBuilder( int index) { return getLiveHashesFieldBuilder().getBuilder(index); } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public com.hederahashgraph.api.proto.java.LiveHashOrBuilder getLiveHashesOrBuilder( int index) { if (liveHashesBuilder_ == null) { return liveHashes_.get(index); } else { return liveHashesBuilder_.getMessageOrBuilder(index); } } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public java.util.List getLiveHashesOrBuilderList() { if (liveHashesBuilder_ != null) { return liveHashesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(liveHashes_); } } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public com.hederahashgraph.api.proto.java.LiveHash.Builder addLiveHashesBuilder() { return getLiveHashesFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.LiveHash.getDefaultInstance()); } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public com.hederahashgraph.api.proto.java.LiveHash.Builder addLiveHashesBuilder( int index) { return getLiveHashesFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.LiveHash.getDefaultInstance()); } /** *
       * All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
       * 
* * repeated .proto.LiveHash liveHashes = 14; */ public java.util.List getLiveHashesBuilderList() { return getLiveHashesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.LiveHash, com.hederahashgraph.api.proto.java.LiveHash.Builder, com.hederahashgraph.api.proto.java.LiveHashOrBuilder> getLiveHashesFieldBuilder() { if (liveHashesBuilder_ == null) { liveHashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.LiveHash, com.hederahashgraph.api.proto.java.LiveHash.Builder, com.hederahashgraph.api.proto.java.LiveHashOrBuilder>( liveHashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); liveHashes_ = null; } return liveHashesBuilder_; } private java.util.List tokenRelationships_ = java.util.Collections.emptyList(); private void ensureTokenRelationshipsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tokenRelationships_ = new java.util.ArrayList(tokenRelationships_); bitField0_ |= 0x00000002; } } 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ public int getTokenRelationshipsCount() { if (tokenRelationshipsBuilder_ == null) { return tokenRelationships_.size(); } else { return tokenRelationshipsBuilder_.getCount(); } } /** *
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ public Builder clearTokenRelationships() { if (tokenRelationshipsBuilder_ == null) { tokenRelationships_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { tokenRelationshipsBuilder_.clear(); } return this; } /** *
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ 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 tokenRelationships = 15; */ public com.hederahashgraph.api.proto.java.TokenRelationship.Builder getTokenRelationshipsBuilder( int index) { return getTokenRelationshipsFieldBuilder().getBuilder(index); } /** *
       * All tokens related to this account
       * 
* * repeated .proto.TokenRelationship tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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 tokenRelationships = 15; */ 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_ & 0x00000002) != 0), getParentForChildren(), isClean()); tokenRelationships_ = null; } return tokenRelationshipsBuilder_; } @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.CryptoGetInfoResponse.AccountInfo) } // @@protoc_insertion_point(class_scope:proto.CryptoGetInfoResponse.AccountInfo) private static final com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo(); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AccountInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AccountInfo(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.CryptoGetInfoResponse.AccountInfo 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; */ 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; */ 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; */ public com.hederahashgraph.api.proto.java.ResponseHeaderOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int ACCOUNTINFO_FIELD_NUMBER = 2; private com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo accountInfo_; /** *
   * Info about the account (a state proof can be generated for this)
   * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public boolean hasAccountInfo() { return accountInfo_ != null; } /** *
   * Info about the account (a state proof can be generated for this)
   * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo getAccountInfo() { return accountInfo_ == null ? com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.getDefaultInstance() : accountInfo_; } /** *
   * Info about the account (a state proof can be generated for this)
   * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfoOrBuilder getAccountInfoOrBuilder() { return getAccountInfo(); } 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 (accountInfo_ != null) { output.writeMessage(2, getAccountInfo()); } 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 (accountInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAccountInfo()); } 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.CryptoGetInfoResponse)) { return super.equals(obj); } com.hederahashgraph.api.proto.java.CryptoGetInfoResponse other = (com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (hasAccountInfo() != other.hasAccountInfo()) return false; if (hasAccountInfo()) { if (!getAccountInfo() .equals(other.getAccountInfo())) 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 (hasAccountInfo()) { hash = (37 * hash) + ACCOUNTINFO_FIELD_NUMBER; hash = (53 * hash) + getAccountInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse 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.CryptoGetInfoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse 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.CryptoGetInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse 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.CryptoGetInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse 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.CryptoGetInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse 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.CryptoGetInfoResponse 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.CryptoGetInfoResponse 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.CryptoGetInfoResponse 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 CryptoGetInfoQuery 
   * 
* * Protobuf type {@code proto.CryptoGetInfoResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.CryptoGetInfoResponse) com.hederahashgraph.api.proto.java.CryptoGetInfoResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.CryptoGetInfo.internal_static_proto_CryptoGetInfoResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.CryptoGetInfo.internal_static_proto_CryptoGetInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.class, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.Builder.class); } // Construct using com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.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 (accountInfoBuilder_ == null) { accountInfo_ = null; } else { accountInfo_ = null; accountInfoBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hederahashgraph.api.proto.java.CryptoGetInfo.internal_static_proto_CryptoGetInfoResponse_descriptor; } @java.lang.Override public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse getDefaultInstanceForType() { return com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.getDefaultInstance(); } @java.lang.Override public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse build() { com.hederahashgraph.api.proto.java.CryptoGetInfoResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse buildPartial() { com.hederahashgraph.api.proto.java.CryptoGetInfoResponse result = new com.hederahashgraph.api.proto.java.CryptoGetInfoResponse(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } if (accountInfoBuilder_ == null) { result.accountInfo_ = accountInfo_; } else { result.accountInfo_ = accountInfoBuilder_.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.CryptoGetInfoResponse) { return mergeFrom((com.hederahashgraph.api.proto.java.CryptoGetInfoResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hederahashgraph.api.proto.java.CryptoGetInfoResponse other) { if (other == com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (other.hasAccountInfo()) { mergeAccountInfo(other.getAccountInfo()); } 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.CryptoGetInfoResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) 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; */ 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; */ 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.CryptoGetInfoResponse.AccountInfo accountInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.Builder, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfoOrBuilder> accountInfoBuilder_; /** *
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public boolean hasAccountInfo() { return accountInfoBuilder_ != null || accountInfo_ != null; } /** *
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo getAccountInfo() { if (accountInfoBuilder_ == null) { return accountInfo_ == null ? com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.getDefaultInstance() : accountInfo_; } else { return accountInfoBuilder_.getMessage(); } } /** *
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public Builder setAccountInfo(com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo value) { if (accountInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } accountInfo_ = value; onChanged(); } else { accountInfoBuilder_.setMessage(value); } return this; } /** *
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public Builder setAccountInfo( com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.Builder builderForValue) { if (accountInfoBuilder_ == null) { accountInfo_ = builderForValue.build(); onChanged(); } else { accountInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public Builder mergeAccountInfo(com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo value) { if (accountInfoBuilder_ == null) { if (accountInfo_ != null) { accountInfo_ = com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.newBuilder(accountInfo_).mergeFrom(value).buildPartial(); } else { accountInfo_ = value; } onChanged(); } else { accountInfoBuilder_.mergeFrom(value); } return this; } /** *
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public Builder clearAccountInfo() { if (accountInfoBuilder_ == null) { accountInfo_ = null; onChanged(); } else { accountInfo_ = null; accountInfoBuilder_ = null; } return this; } /** *
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.Builder getAccountInfoBuilder() { onChanged(); return getAccountInfoFieldBuilder().getBuilder(); } /** *
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfoOrBuilder getAccountInfoOrBuilder() { if (accountInfoBuilder_ != null) { return accountInfoBuilder_.getMessageOrBuilder(); } else { return accountInfo_ == null ? com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.getDefaultInstance() : accountInfo_; } } /** *
     * Info about the account (a state proof can be generated for this)
     * 
* * .proto.CryptoGetInfoResponse.AccountInfo accountInfo = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.Builder, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfoOrBuilder> getAccountInfoFieldBuilder() { if (accountInfoBuilder_ == null) { accountInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfo.Builder, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.AccountInfoOrBuilder>( getAccountInfo(), getParentForChildren(), isClean()); accountInfo_ = null; } return accountInfoBuilder_; } @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.CryptoGetInfoResponse) } // @@protoc_insertion_point(class_scope:proto.CryptoGetInfoResponse) private static final com.hederahashgraph.api.proto.java.CryptoGetInfoResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.CryptoGetInfoResponse(); } public static com.hederahashgraph.api.proto.java.CryptoGetInfoResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CryptoGetInfoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CryptoGetInfoResponse(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.CryptoGetInfoResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy