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

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

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

package com.hedera.hashgraph.sdk.proto;

/**
 * 
 **
 * Change properties for the given account. Any null field is ignored (left unchanged). This
 * transaction must be signed by the existing key for this account. If the transaction is changing
 * the key field, then the transaction must be signed by both the old key (from before the change)
 * and the new key. The old key must sign for security. The new key must sign as a safeguard to
 * avoid accidentally changing to an invalid key, and then having no way to recover. 
 * If the update transaction sets the <tt>auto_renew_account</tt> field to anything other 
 * than the sentinel <tt>0.0.0</tt>, the key of the referenced account must sign.
 * 
* * Protobuf type {@code proto.CryptoUpdateTransactionBody} */ public final class CryptoUpdateTransactionBody extends com.google.protobuf.GeneratedMessageLite< CryptoUpdateTransactionBody, CryptoUpdateTransactionBody.Builder> implements // @@protoc_insertion_point(message_implements:proto.CryptoUpdateTransactionBody) CryptoUpdateTransactionBodyOrBuilder { private CryptoUpdateTransactionBody() { } private int sendRecordThresholdFieldCase_ = 0; private java.lang.Object sendRecordThresholdField_; public enum SendRecordThresholdFieldCase { SENDRECORDTHRESHOLD(6), SENDRECORDTHRESHOLDWRAPPER(11), SENDRECORDTHRESHOLDFIELD_NOT_SET(0); private final int value; private SendRecordThresholdFieldCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SendRecordThresholdFieldCase valueOf(int value) { return forNumber(value); } public static SendRecordThresholdFieldCase forNumber(int value) { switch (value) { case 6: return SENDRECORDTHRESHOLD; case 11: return SENDRECORDTHRESHOLDWRAPPER; case 0: return SENDRECORDTHRESHOLDFIELD_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; @java.lang.Override public SendRecordThresholdFieldCase getSendRecordThresholdFieldCase() { return SendRecordThresholdFieldCase.forNumber( sendRecordThresholdFieldCase_); } private void clearSendRecordThresholdField() { sendRecordThresholdFieldCase_ = 0; sendRecordThresholdField_ = null; } private int receiveRecordThresholdFieldCase_ = 0; private java.lang.Object receiveRecordThresholdField_; public enum ReceiveRecordThresholdFieldCase { RECEIVERECORDTHRESHOLD(7), RECEIVERECORDTHRESHOLDWRAPPER(12), RECEIVERECORDTHRESHOLDFIELD_NOT_SET(0); private final int value; private ReceiveRecordThresholdFieldCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ReceiveRecordThresholdFieldCase valueOf(int value) { return forNumber(value); } public static ReceiveRecordThresholdFieldCase forNumber(int value) { switch (value) { case 7: return RECEIVERECORDTHRESHOLD; case 12: return RECEIVERECORDTHRESHOLDWRAPPER; case 0: return RECEIVERECORDTHRESHOLDFIELD_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; @java.lang.Override public ReceiveRecordThresholdFieldCase getReceiveRecordThresholdFieldCase() { return ReceiveRecordThresholdFieldCase.forNumber( receiveRecordThresholdFieldCase_); } private void clearReceiveRecordThresholdField() { receiveRecordThresholdFieldCase_ = 0; receiveRecordThresholdField_ = null; } private int receiverSigRequiredFieldCase_ = 0; private java.lang.Object receiverSigRequiredField_; public enum ReceiverSigRequiredFieldCase { RECEIVERSIGREQUIRED(10), RECEIVERSIGREQUIREDWRAPPER(13), RECEIVERSIGREQUIREDFIELD_NOT_SET(0); private final int value; private ReceiverSigRequiredFieldCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ReceiverSigRequiredFieldCase valueOf(int value) { return forNumber(value); } public static ReceiverSigRequiredFieldCase forNumber(int value) { switch (value) { case 10: return RECEIVERSIGREQUIRED; case 13: return RECEIVERSIGREQUIREDWRAPPER; case 0: return RECEIVERSIGREQUIREDFIELD_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; @java.lang.Override public ReceiverSigRequiredFieldCase getReceiverSigRequiredFieldCase() { return ReceiverSigRequiredFieldCase.forNumber( receiverSigRequiredFieldCase_); } private void clearReceiverSigRequiredField() { receiverSigRequiredFieldCase_ = 0; receiverSigRequiredField_ = null; } private int stakedIdCase_ = 0; private java.lang.Object stakedId_; public enum StakedIdCase { STAKED_ACCOUNT_ID(16), STAKED_NODE_ID(17), STAKEDID_NOT_SET(0); private final int value; private StakedIdCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static StakedIdCase valueOf(int value) { return forNumber(value); } public static StakedIdCase forNumber(int value) { switch (value) { case 16: return STAKED_ACCOUNT_ID; case 17: return STAKED_NODE_ID; case 0: return STAKEDID_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; @java.lang.Override public StakedIdCase getStakedIdCase() { return StakedIdCase.forNumber( stakedIdCase_); } private void clearStakedId() { stakedIdCase_ = 0; stakedId_ = null; } public static final int ACCOUNTIDTOUPDATE_FIELD_NUMBER = 2; private com.hedera.hashgraph.sdk.proto.AccountID accountIDToUpdate_; /** *
   **
   * The account ID which is being updated in this transaction
   * 
* * .proto.AccountID accountIDToUpdate = 2; */ @java.lang.Override public boolean hasAccountIDToUpdate() { return accountIDToUpdate_ != null; } /** *
   **
   * The account ID which is being updated in this transaction
   * 
* * .proto.AccountID accountIDToUpdate = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getAccountIDToUpdate() { return accountIDToUpdate_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : accountIDToUpdate_; } /** *
   **
   * The account ID which is being updated in this transaction
   * 
* * .proto.AccountID accountIDToUpdate = 2; */ private void setAccountIDToUpdate(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); accountIDToUpdate_ = value; } /** *
   **
   * The account ID which is being updated in this transaction
   * 
* * .proto.AccountID accountIDToUpdate = 2; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAccountIDToUpdate(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); if (accountIDToUpdate_ != null && accountIDToUpdate_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) { accountIDToUpdate_ = com.hedera.hashgraph.sdk.proto.AccountID.newBuilder(accountIDToUpdate_).mergeFrom(value).buildPartial(); } else { accountIDToUpdate_ = value; } } /** *
   **
   * The account ID which is being updated in this transaction
   * 
* * .proto.AccountID accountIDToUpdate = 2; */ private void clearAccountIDToUpdate() { accountIDToUpdate_ = null; } public static final int KEY_FIELD_NUMBER = 3; private com.hedera.hashgraph.sdk.proto.Key key_; /** *
   **
   * The new key
   * 
* * .proto.Key key = 3; */ @java.lang.Override public boolean hasKey() { return key_ != null; } /** *
   **
   * The new key
   * 
* * .proto.Key key = 3; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getKey() { return key_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : key_; } /** *
   **
   * The new key
   * 
* * .proto.Key key = 3; */ private void setKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); key_ = value; } /** *
   **
   * The new key
   * 
* * .proto.Key key = 3; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); if (key_ != null && key_ != com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance()) { key_ = com.hedera.hashgraph.sdk.proto.Key.newBuilder(key_).mergeFrom(value).buildPartial(); } else { key_ = value; } } /** *
   **
   * The new key
   * 
* * .proto.Key key = 3; */ private void clearKey() { key_ = null; } public static final int PROXYACCOUNTID_FIELD_NUMBER = 4; private com.hedera.hashgraph.sdk.proto.AccountID proxyAccountID_; /** *
   **
   * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
   * invalid account, or is an account that isn't a node, then this account is automatically proxy
   * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
   * account refuses to accept proxy staking , or if it is not currently running a node, then it
   * will behave as if proxyAccountID was null.
   * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public boolean hasProxyAccountID() { return proxyAccountID_ != null; } /** *
   **
   * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
   * invalid account, or is an account that isn't a node, then this account is automatically proxy
   * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
   * account refuses to accept proxy staking , or if it is not currently running a node, then it
   * will behave as if proxyAccountID was null.
   * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.hedera.hashgraph.sdk.proto.AccountID getProxyAccountID() { return proxyAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : proxyAccountID_; } /** *
   **
   * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
   * invalid account, or is an account that isn't a node, then this account is automatically proxy
   * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
   * account refuses to accept proxy staking , or if it is not currently running a node, then it
   * will behave as if proxyAccountID was null.
   * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ private void setProxyAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); proxyAccountID_ = value; } /** *
   **
   * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
   * invalid account, or is an account that isn't a node, then this account is automatically proxy
   * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
   * account refuses to accept proxy staking , or if it is not currently running a node, then it
   * will behave as if proxyAccountID was null.
   * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeProxyAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); if (proxyAccountID_ != null && proxyAccountID_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) { proxyAccountID_ = com.hedera.hashgraph.sdk.proto.AccountID.newBuilder(proxyAccountID_).mergeFrom(value).buildPartial(); } else { proxyAccountID_ = value; } } /** *
   **
   * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
   * invalid account, or is an account that isn't a node, then this account is automatically proxy
   * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
   * account refuses to accept proxy staking , or if it is not currently running a node, then it
   * will behave as if proxyAccountID was null.
   * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ private void clearProxyAccountID() { proxyAccountID_ = null; } public static final int PROXYFRACTION_FIELD_NUMBER = 5; private int proxyFraction_; /** *
   **
   * [Deprecated]. Payments earned from proxy staking are shared between the node and this
   * account, with proxyFraction / 10000 going to this account
   * 
* * int32 proxyFraction = 5 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.proxyFraction is deprecated. * See crypto_update.proto;l=66 * @return The proxyFraction. */ @java.lang.Override @java.lang.Deprecated public int getProxyFraction() { return proxyFraction_; } /** *
   **
   * [Deprecated]. Payments earned from proxy staking are shared between the node and this
   * account, with proxyFraction / 10000 going to this account
   * 
* * int32 proxyFraction = 5 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.proxyFraction is deprecated. * See crypto_update.proto;l=66 * @param value The proxyFraction to set. */ private void setProxyFraction(int value) { proxyFraction_ = value; } /** *
   **
   * [Deprecated]. Payments earned from proxy staking are shared between the node and this
   * account, with proxyFraction / 10000 going to this account
   * 
* * int32 proxyFraction = 5 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.proxyFraction is deprecated. * See crypto_update.proto;l=66 */ private void clearProxyFraction() { proxyFraction_ = 0; } public static final int SENDRECORDTHRESHOLD_FIELD_NUMBER = 6; /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any send/withdraw transaction
   * 
* * uint64 sendRecordThreshold = 6 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. * See crypto_update.proto;l=73 * @return Whether the sendRecordThreshold field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasSendRecordThreshold() { return sendRecordThresholdFieldCase_ == 6; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any send/withdraw transaction
   * 
* * uint64 sendRecordThreshold = 6 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. * See crypto_update.proto;l=73 * @return The sendRecordThreshold. */ @java.lang.Override @java.lang.Deprecated public long getSendRecordThreshold() { if (sendRecordThresholdFieldCase_ == 6) { return (java.lang.Long) sendRecordThresholdField_; } return 0L; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any send/withdraw transaction
   * 
* * uint64 sendRecordThreshold = 6 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. * See crypto_update.proto;l=73 * @param value The sendRecordThreshold to set. */ private void setSendRecordThreshold(long value) { sendRecordThresholdFieldCase_ = 6; sendRecordThresholdField_ = value; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any send/withdraw transaction
   * 
* * uint64 sendRecordThreshold = 6 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. * See crypto_update.proto;l=73 */ private void clearSendRecordThreshold() { if (sendRecordThresholdFieldCase_ == 6) { sendRecordThresholdFieldCase_ = 0; sendRecordThresholdField_ = null; } } public static final int SENDRECORDTHRESHOLDWRAPPER_FIELD_NUMBER = 11; /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any send/withdraw transaction
   * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public boolean hasSendRecordThresholdWrapper() { return sendRecordThresholdFieldCase_ == 11; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any send/withdraw transaction
   * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.UInt64Value getSendRecordThresholdWrapper() { if (sendRecordThresholdFieldCase_ == 11) { return (com.google.protobuf.UInt64Value) sendRecordThresholdField_; } return com.google.protobuf.UInt64Value.getDefaultInstance(); } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any send/withdraw transaction
   * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ private void setSendRecordThresholdWrapper(com.google.protobuf.UInt64Value value) { value.getClass(); sendRecordThresholdField_ = value; sendRecordThresholdFieldCase_ = 11; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any send/withdraw transaction
   * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ private void mergeSendRecordThresholdWrapper(com.google.protobuf.UInt64Value value) { value.getClass(); if (sendRecordThresholdFieldCase_ == 11 && sendRecordThresholdField_ != com.google.protobuf.UInt64Value.getDefaultInstance()) { sendRecordThresholdField_ = com.google.protobuf.UInt64Value.newBuilder((com.google.protobuf.UInt64Value) sendRecordThresholdField_) .mergeFrom(value).buildPartial(); } else { sendRecordThresholdField_ = value; } sendRecordThresholdFieldCase_ = 11; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any send/withdraw transaction
   * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ private void clearSendRecordThresholdWrapper() { if (sendRecordThresholdFieldCase_ == 11) { sendRecordThresholdFieldCase_ = 0; sendRecordThresholdField_ = null; } } public static final int RECEIVERECORDTHRESHOLD_FIELD_NUMBER = 7; /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any receive/deposit transaction.
   * 
* * uint64 receiveRecordThreshold = 7 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. * See crypto_update.proto;l=88 * @return Whether the receiveRecordThreshold field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasReceiveRecordThreshold() { return receiveRecordThresholdFieldCase_ == 7; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any receive/deposit transaction.
   * 
* * uint64 receiveRecordThreshold = 7 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. * See crypto_update.proto;l=88 * @return The receiveRecordThreshold. */ @java.lang.Override @java.lang.Deprecated public long getReceiveRecordThreshold() { if (receiveRecordThresholdFieldCase_ == 7) { return (java.lang.Long) receiveRecordThresholdField_; } return 0L; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any receive/deposit transaction.
   * 
* * uint64 receiveRecordThreshold = 7 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. * See crypto_update.proto;l=88 * @param value The receiveRecordThreshold to set. */ private void setReceiveRecordThreshold(long value) { receiveRecordThresholdFieldCase_ = 7; receiveRecordThresholdField_ = value; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any receive/deposit transaction.
   * 
* * uint64 receiveRecordThreshold = 7 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. * See crypto_update.proto;l=88 */ private void clearReceiveRecordThreshold() { if (receiveRecordThresholdFieldCase_ == 7) { receiveRecordThresholdFieldCase_ = 0; receiveRecordThresholdField_ = null; } } public static final int RECEIVERECORDTHRESHOLDWRAPPER_FIELD_NUMBER = 12; /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any receive/deposit transaction.
   * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public boolean hasReceiveRecordThresholdWrapper() { return receiveRecordThresholdFieldCase_ == 12; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any receive/deposit transaction.
   * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.UInt64Value getReceiveRecordThresholdWrapper() { if (receiveRecordThresholdFieldCase_ == 12) { return (com.google.protobuf.UInt64Value) receiveRecordThresholdField_; } return com.google.protobuf.UInt64Value.getDefaultInstance(); } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any receive/deposit transaction.
   * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ private void setReceiveRecordThresholdWrapper(com.google.protobuf.UInt64Value value) { value.getClass(); receiveRecordThresholdField_ = value; receiveRecordThresholdFieldCase_ = 12; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any receive/deposit transaction.
   * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ private void mergeReceiveRecordThresholdWrapper(com.google.protobuf.UInt64Value value) { value.getClass(); if (receiveRecordThresholdFieldCase_ == 12 && receiveRecordThresholdField_ != com.google.protobuf.UInt64Value.getDefaultInstance()) { receiveRecordThresholdField_ = com.google.protobuf.UInt64Value.newBuilder((com.google.protobuf.UInt64Value) receiveRecordThresholdField_) .mergeFrom(value).buildPartial(); } else { receiveRecordThresholdField_ = value; } receiveRecordThresholdFieldCase_ = 12; } /** *
   **
   * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
   * created for any receive/deposit transaction.
   * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ private void clearReceiveRecordThresholdWrapper() { if (receiveRecordThresholdFieldCase_ == 12) { receiveRecordThresholdFieldCase_ = 0; receiveRecordThresholdField_ = null; } } public static final int AUTORENEWPERIOD_FIELD_NUMBER = 8; private com.hedera.hashgraph.sdk.proto.Duration autoRenewPeriod_; /** *
   **
   * The duration in which it will automatically extend the expiration period. If it doesn't have
   * enough balance, it extends as long as possible. If it is empty when it expires, then it is
   * deleted.
   * 
* * .proto.Duration autoRenewPeriod = 8; */ @java.lang.Override public boolean hasAutoRenewPeriod() { return autoRenewPeriod_ != null; } /** *
   **
   * The duration in which it will automatically extend the expiration period. If it doesn't have
   * enough balance, it extends as long as possible. If it is empty when it expires, then it is
   * deleted.
   * 
* * .proto.Duration autoRenewPeriod = 8; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod() { return autoRenewPeriod_ == null ? com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance() : autoRenewPeriod_; } /** *
   **
   * The duration in which it will automatically extend the expiration period. If it doesn't have
   * enough balance, it extends as long as possible. If it is empty when it expires, then it is
   * deleted.
   * 
* * .proto.Duration autoRenewPeriod = 8; */ private void setAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { value.getClass(); autoRenewPeriod_ = value; } /** *
   **
   * The duration in which it will automatically extend the expiration period. If it doesn't have
   * enough balance, it extends as long as possible. If it is empty when it expires, then it is
   * deleted.
   * 
* * .proto.Duration autoRenewPeriod = 8; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { value.getClass(); if (autoRenewPeriod_ != null && autoRenewPeriod_ != com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance()) { autoRenewPeriod_ = com.hedera.hashgraph.sdk.proto.Duration.newBuilder(autoRenewPeriod_).mergeFrom(value).buildPartial(); } else { autoRenewPeriod_ = value; } } /** *
   **
   * The duration in which it will automatically extend the expiration period. If it doesn't have
   * enough balance, it extends as long as possible. If it is empty when it expires, then it is
   * deleted.
   * 
* * .proto.Duration autoRenewPeriod = 8; */ private void clearAutoRenewPeriod() { autoRenewPeriod_ = null; } public static final int EXPIRATIONTIME_FIELD_NUMBER = 9; private com.hedera.hashgraph.sdk.proto.Timestamp expirationTime_; /** *
   **
   * The new expiration time to extend to (ignored if equal to or before the current one)
   * 
* * .proto.Timestamp expirationTime = 9; */ @java.lang.Override public boolean hasExpirationTime() { return expirationTime_ != null; } /** *
   **
   * The new expiration time to extend to (ignored if equal to or before the current one)
   * 
* * .proto.Timestamp expirationTime = 9; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime() { return expirationTime_ == null ? com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance() : expirationTime_; } /** *
   **
   * The new expiration time to extend to (ignored if equal to or before the current one)
   * 
* * .proto.Timestamp expirationTime = 9; */ private void setExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { value.getClass(); expirationTime_ = value; } /** *
   **
   * The new expiration time to extend to (ignored if equal to or before the current one)
   * 
* * .proto.Timestamp expirationTime = 9; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { value.getClass(); if (expirationTime_ != null && expirationTime_ != com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance()) { expirationTime_ = com.hedera.hashgraph.sdk.proto.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); } else { expirationTime_ = value; } } /** *
   **
   * The new expiration time to extend to (ignored if equal to or before the current one)
   * 
* * .proto.Timestamp expirationTime = 9; */ private void clearExpirationTime() { expirationTime_ = null; } public static final int RECEIVERSIGREQUIRED_FIELD_NUMBER = 10; /** *
   **
   * [Deprecated] Do NOT use this field to set a false value because the server cannot
   * distinguish from the default value. Use receiverSigRequiredWrapper field for this
   * purpose.
   * 
* * bool receiverSigRequired = 10 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. * See crypto_update.proto;l=115 * @return Whether the receiverSigRequired field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasReceiverSigRequired() { return receiverSigRequiredFieldCase_ == 10; } /** *
   **
   * [Deprecated] Do NOT use this field to set a false value because the server cannot
   * distinguish from the default value. Use receiverSigRequiredWrapper field for this
   * purpose.
   * 
* * bool receiverSigRequired = 10 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. * See crypto_update.proto;l=115 * @return The receiverSigRequired. */ @java.lang.Override @java.lang.Deprecated public boolean getReceiverSigRequired() { if (receiverSigRequiredFieldCase_ == 10) { return (java.lang.Boolean) receiverSigRequiredField_; } return false; } /** *
   **
   * [Deprecated] Do NOT use this field to set a false value because the server cannot
   * distinguish from the default value. Use receiverSigRequiredWrapper field for this
   * purpose.
   * 
* * bool receiverSigRequired = 10 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. * See crypto_update.proto;l=115 * @param value The receiverSigRequired to set. */ private void setReceiverSigRequired(boolean value) { receiverSigRequiredFieldCase_ = 10; receiverSigRequiredField_ = value; } /** *
   **
   * [Deprecated] Do NOT use this field to set a false value because the server cannot
   * distinguish from the default value. Use receiverSigRequiredWrapper field for this
   * purpose.
   * 
* * bool receiverSigRequired = 10 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. * See crypto_update.proto;l=115 */ private void clearReceiverSigRequired() { if (receiverSigRequiredFieldCase_ == 10) { receiverSigRequiredFieldCase_ = 0; receiverSigRequiredField_ = null; } } public static final int RECEIVERSIGREQUIREDWRAPPER_FIELD_NUMBER = 13; /** *
   **
   * If true, this account's key must sign any transaction depositing into this account (in
   * addition to all withdrawals)
   * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ @java.lang.Override public boolean hasReceiverSigRequiredWrapper() { return receiverSigRequiredFieldCase_ == 13; } /** *
   **
   * If true, this account's key must sign any transaction depositing into this account (in
   * addition to all withdrawals)
   * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ @java.lang.Override public com.google.protobuf.BoolValue getReceiverSigRequiredWrapper() { if (receiverSigRequiredFieldCase_ == 13) { return (com.google.protobuf.BoolValue) receiverSigRequiredField_; } return com.google.protobuf.BoolValue.getDefaultInstance(); } /** *
   **
   * If true, this account's key must sign any transaction depositing into this account (in
   * addition to all withdrawals)
   * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ private void setReceiverSigRequiredWrapper(com.google.protobuf.BoolValue value) { value.getClass(); receiverSigRequiredField_ = value; receiverSigRequiredFieldCase_ = 13; } /** *
   **
   * If true, this account's key must sign any transaction depositing into this account (in
   * addition to all withdrawals)
   * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ private void mergeReceiverSigRequiredWrapper(com.google.protobuf.BoolValue value) { value.getClass(); if (receiverSigRequiredFieldCase_ == 13 && receiverSigRequiredField_ != com.google.protobuf.BoolValue.getDefaultInstance()) { receiverSigRequiredField_ = com.google.protobuf.BoolValue.newBuilder((com.google.protobuf.BoolValue) receiverSigRequiredField_) .mergeFrom(value).buildPartial(); } else { receiverSigRequiredField_ = value; } receiverSigRequiredFieldCase_ = 13; } /** *
   **
   * If true, this account's key must sign any transaction depositing into this account (in
   * addition to all withdrawals)
   * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ private void clearReceiverSigRequiredWrapper() { if (receiverSigRequiredFieldCase_ == 13) { receiverSigRequiredFieldCase_ = 0; receiverSigRequiredField_ = null; } } public static final int MEMO_FIELD_NUMBER = 14; private com.google.protobuf.StringValue memo_; /** *
   **
   * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
   * 
* * .google.protobuf.StringValue memo = 14; */ @java.lang.Override public boolean hasMemo() { return memo_ != null; } /** *
   **
   * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
   * 
* * .google.protobuf.StringValue memo = 14; */ @java.lang.Override public com.google.protobuf.StringValue getMemo() { return memo_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : memo_; } /** *
   **
   * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
   * 
* * .google.protobuf.StringValue memo = 14; */ private void setMemo(com.google.protobuf.StringValue value) { value.getClass(); memo_ = value; } /** *
   **
   * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
   * 
* * .google.protobuf.StringValue memo = 14; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeMemo(com.google.protobuf.StringValue value) { value.getClass(); if (memo_ != null && memo_ != com.google.protobuf.StringValue.getDefaultInstance()) { memo_ = com.google.protobuf.StringValue.newBuilder(memo_).mergeFrom(value).buildPartial(); } else { memo_ = value; } } /** *
   **
   * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
   * 
* * .google.protobuf.StringValue memo = 14; */ private void clearMemo() { memo_ = null; } public static final int MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER = 15; private com.google.protobuf.Int32Value maxAutomaticTokenAssociations_; /** *
   **
   * If set, modify the maximum number of tokens that can be auto-associated with the
   * account.<br/>
   * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
   * MUST manually associate with a token before transacting in that token.<br/>
   * This value MAY also be `-1` to indicate no limit.<br/>
   * This value MUST NOT be less than `-1`.
   * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ @java.lang.Override public boolean hasMaxAutomaticTokenAssociations() { return maxAutomaticTokenAssociations_ != null; } /** *
   **
   * If set, modify the maximum number of tokens that can be auto-associated with the
   * account.<br/>
   * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
   * MUST manually associate with a token before transacting in that token.<br/>
   * This value MAY also be `-1` to indicate no limit.<br/>
   * This value MUST NOT be less than `-1`.
   * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ @java.lang.Override public com.google.protobuf.Int32Value getMaxAutomaticTokenAssociations() { return maxAutomaticTokenAssociations_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : maxAutomaticTokenAssociations_; } /** *
   **
   * If set, modify the maximum number of tokens that can be auto-associated with the
   * account.<br/>
   * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
   * MUST manually associate with a token before transacting in that token.<br/>
   * This value MAY also be `-1` to indicate no limit.<br/>
   * This value MUST NOT be less than `-1`.
   * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ private void setMaxAutomaticTokenAssociations(com.google.protobuf.Int32Value value) { value.getClass(); maxAutomaticTokenAssociations_ = value; } /** *
   **
   * If set, modify the maximum number of tokens that can be auto-associated with the
   * account.<br/>
   * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
   * MUST manually associate with a token before transacting in that token.<br/>
   * This value MAY also be `-1` to indicate no limit.<br/>
   * This value MUST NOT be less than `-1`.
   * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeMaxAutomaticTokenAssociations(com.google.protobuf.Int32Value value) { value.getClass(); if (maxAutomaticTokenAssociations_ != null && maxAutomaticTokenAssociations_ != com.google.protobuf.Int32Value.getDefaultInstance()) { maxAutomaticTokenAssociations_ = com.google.protobuf.Int32Value.newBuilder(maxAutomaticTokenAssociations_).mergeFrom(value).buildPartial(); } else { maxAutomaticTokenAssociations_ = value; } } /** *
   **
   * If set, modify the maximum number of tokens that can be auto-associated with the
   * account.<br/>
   * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
   * MUST manually associate with a token before transacting in that token.<br/>
   * This value MAY also be `-1` to indicate no limit.<br/>
   * This value MUST NOT be less than `-1`.
   * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ private void clearMaxAutomaticTokenAssociations() { maxAutomaticTokenAssociations_ = null; } public static final int STAKED_ACCOUNT_ID_FIELD_NUMBER = 16; /** *
   **
   * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
   * this field removes this account's staked account ID.
   * 
* * .proto.AccountID staked_account_id = 16; */ @java.lang.Override public boolean hasStakedAccountId() { return stakedIdCase_ == 16; } /** *
   **
   * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
   * this field removes this account's staked account ID.
   * 
* * .proto.AccountID staked_account_id = 16; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getStakedAccountId() { if (stakedIdCase_ == 16) { return (com.hedera.hashgraph.sdk.proto.AccountID) stakedId_; } return com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance(); } /** *
   **
   * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
   * this field removes this account's staked account ID.
   * 
* * .proto.AccountID staked_account_id = 16; */ private void setStakedAccountId(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); stakedId_ = value; stakedIdCase_ = 16; } /** *
   **
   * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
   * this field removes this account's staked account ID.
   * 
* * .proto.AccountID staked_account_id = 16; */ private void mergeStakedAccountId(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); if (stakedIdCase_ == 16 && stakedId_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) { stakedId_ = com.hedera.hashgraph.sdk.proto.AccountID.newBuilder((com.hedera.hashgraph.sdk.proto.AccountID) stakedId_) .mergeFrom(value).buildPartial(); } else { stakedId_ = value; } stakedIdCase_ = 16; } /** *
   **
   * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
   * this field removes this account's staked account ID.
   * 
* * .proto.AccountID staked_account_id = 16; */ private void clearStakedAccountId() { if (stakedIdCase_ == 16) { stakedIdCase_ = 0; stakedId_ = null; } } public static final int STAKED_NODE_ID_FIELD_NUMBER = 17; /** *
   **
   * ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
   * removes this account's staked node ID.
   * 
* * int64 staked_node_id = 17; * @return Whether the stakedNodeId field is set. */ @java.lang.Override public boolean hasStakedNodeId() { return stakedIdCase_ == 17; } /** *
   **
   * ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
   * removes this account's staked node ID.
   * 
* * int64 staked_node_id = 17; * @return The stakedNodeId. */ @java.lang.Override public long getStakedNodeId() { if (stakedIdCase_ == 17) { return (java.lang.Long) stakedId_; } return 0L; } /** *
   **
   * ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
   * removes this account's staked node ID.
   * 
* * int64 staked_node_id = 17; * @param value The stakedNodeId to set. */ private void setStakedNodeId(long value) { stakedIdCase_ = 17; stakedId_ = value; } /** *
   **
   * ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
   * removes this account's staked node ID.
   * 
* * int64 staked_node_id = 17; */ private void clearStakedNodeId() { if (stakedIdCase_ == 17) { stakedIdCase_ = 0; stakedId_ = null; } } public static final int DECLINE_REWARD_FIELD_NUMBER = 18; private com.google.protobuf.BoolValue declineReward_; /** *
   **
   * If true, the account declines receiving a staking reward. The default value is false.
   * 
* * .google.protobuf.BoolValue decline_reward = 18; */ @java.lang.Override public boolean hasDeclineReward() { return declineReward_ != null; } /** *
   **
   * If true, the account declines receiving a staking reward. The default value is false.
   * 
* * .google.protobuf.BoolValue decline_reward = 18; */ @java.lang.Override public com.google.protobuf.BoolValue getDeclineReward() { return declineReward_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : declineReward_; } /** *
   **
   * If true, the account declines receiving a staking reward. The default value is false.
   * 
* * .google.protobuf.BoolValue decline_reward = 18; */ private void setDeclineReward(com.google.protobuf.BoolValue value) { value.getClass(); declineReward_ = value; } /** *
   **
   * If true, the account declines receiving a staking reward. The default value is false.
   * 
* * .google.protobuf.BoolValue decline_reward = 18; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeDeclineReward(com.google.protobuf.BoolValue value) { value.getClass(); if (declineReward_ != null && declineReward_ != com.google.protobuf.BoolValue.getDefaultInstance()) { declineReward_ = com.google.protobuf.BoolValue.newBuilder(declineReward_).mergeFrom(value).buildPartial(); } else { declineReward_ = value; } } /** *
   **
   * If true, the account declines receiving a staking reward. The default value is false.
   * 
* * .google.protobuf.BoolValue decline_reward = 18; */ private void clearDeclineReward() { declineReward_ = null; } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   **
   * Change properties for the given account. Any null field is ignored (left unchanged). This
   * transaction must be signed by the existing key for this account. If the transaction is changing
   * the key field, then the transaction must be signed by both the old key (from before the change)
   * and the new key. The old key must sign for security. The new key must sign as a safeguard to
   * avoid accidentally changing to an invalid key, and then having no way to recover. 
   * If the update transaction sets the <tt>auto_renew_account</tt> field to anything other 
   * than the sentinel <tt>0.0.0</tt>, the key of the referenced account must sign.
   * 
* * Protobuf type {@code proto.CryptoUpdateTransactionBody} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody, Builder> implements // @@protoc_insertion_point(builder_implements:proto.CryptoUpdateTransactionBody) com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBodyOrBuilder { // Construct using com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } @java.lang.Override public SendRecordThresholdFieldCase getSendRecordThresholdFieldCase() { return instance.getSendRecordThresholdFieldCase(); } public Builder clearSendRecordThresholdField() { copyOnWrite(); instance.clearSendRecordThresholdField(); return this; } @java.lang.Override public ReceiveRecordThresholdFieldCase getReceiveRecordThresholdFieldCase() { return instance.getReceiveRecordThresholdFieldCase(); } public Builder clearReceiveRecordThresholdField() { copyOnWrite(); instance.clearReceiveRecordThresholdField(); return this; } @java.lang.Override public ReceiverSigRequiredFieldCase getReceiverSigRequiredFieldCase() { return instance.getReceiverSigRequiredFieldCase(); } public Builder clearReceiverSigRequiredField() { copyOnWrite(); instance.clearReceiverSigRequiredField(); return this; } @java.lang.Override public StakedIdCase getStakedIdCase() { return instance.getStakedIdCase(); } public Builder clearStakedId() { copyOnWrite(); instance.clearStakedId(); return this; } /** *
     **
     * The account ID which is being updated in this transaction
     * 
* * .proto.AccountID accountIDToUpdate = 2; */ @java.lang.Override public boolean hasAccountIDToUpdate() { return instance.hasAccountIDToUpdate(); } /** *
     **
     * The account ID which is being updated in this transaction
     * 
* * .proto.AccountID accountIDToUpdate = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getAccountIDToUpdate() { return instance.getAccountIDToUpdate(); } /** *
     **
     * The account ID which is being updated in this transaction
     * 
* * .proto.AccountID accountIDToUpdate = 2; */ public Builder setAccountIDToUpdate(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.setAccountIDToUpdate(value); return this; } /** *
     **
     * The account ID which is being updated in this transaction
     * 
* * .proto.AccountID accountIDToUpdate = 2; */ public Builder setAccountIDToUpdate( com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) { copyOnWrite(); instance.setAccountIDToUpdate(builderForValue.build()); return this; } /** *
     **
     * The account ID which is being updated in this transaction
     * 
* * .proto.AccountID accountIDToUpdate = 2; */ public Builder mergeAccountIDToUpdate(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.mergeAccountIDToUpdate(value); return this; } /** *
     **
     * The account ID which is being updated in this transaction
     * 
* * .proto.AccountID accountIDToUpdate = 2; */ public Builder clearAccountIDToUpdate() { copyOnWrite(); instance.clearAccountIDToUpdate(); return this; } /** *
     **
     * The new key
     * 
* * .proto.Key key = 3; */ @java.lang.Override public boolean hasKey() { return instance.hasKey(); } /** *
     **
     * The new key
     * 
* * .proto.Key key = 3; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getKey() { return instance.getKey(); } /** *
     **
     * The new key
     * 
* * .proto.Key key = 3; */ public Builder setKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.setKey(value); return this; } /** *
     **
     * The new key
     * 
* * .proto.Key key = 3; */ public Builder setKey( com.hedera.hashgraph.sdk.proto.Key.Builder builderForValue) { copyOnWrite(); instance.setKey(builderForValue.build()); return this; } /** *
     **
     * The new key
     * 
* * .proto.Key key = 3; */ public Builder mergeKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.mergeKey(value); return this; } /** *
     **
     * The new key
     * 
* * .proto.Key key = 3; */ public Builder clearKey() { copyOnWrite(); instance.clearKey(); return this; } /** *
     **
     * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
     * invalid account, or is an account that isn't a node, then this account is automatically proxy
     * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
     * account refuses to accept proxy staking , or if it is not currently running a node, then it
     * will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public boolean hasProxyAccountID() { return instance.hasProxyAccountID(); } /** *
     **
     * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
     * invalid account, or is an account that isn't a node, then this account is automatically proxy
     * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
     * account refuses to accept proxy staking , or if it is not currently running a node, then it
     * will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.hedera.hashgraph.sdk.proto.AccountID getProxyAccountID() { return instance.getProxyAccountID(); } /** *
     **
     * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
     * invalid account, or is an account that isn't a node, then this account is automatically proxy
     * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
     * account refuses to accept proxy staking , or if it is not currently running a node, then it
     * will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder setProxyAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.setProxyAccountID(value); return this; } /** *
     **
     * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
     * invalid account, or is an account that isn't a node, then this account is automatically proxy
     * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
     * account refuses to accept proxy staking , or if it is not currently running a node, then it
     * will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder setProxyAccountID( com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) { copyOnWrite(); instance.setProxyAccountID(builderForValue.build()); return this; } /** *
     **
     * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
     * invalid account, or is an account that isn't a node, then this account is automatically proxy
     * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
     * account refuses to accept proxy staking , or if it is not currently running a node, then it
     * will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder mergeProxyAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.mergeProxyAccountID(value); return this; } /** *
     **
     * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
     * invalid account, or is an account that isn't a node, then this account is automatically proxy
     * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
     * account refuses to accept proxy staking , or if it is not currently running a node, then it
     * will behave as if proxyAccountID was null.
     * 
* * .proto.AccountID proxyAccountID = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder clearProxyAccountID() { copyOnWrite(); instance.clearProxyAccountID(); return this; } /** *
     **
     * [Deprecated]. Payments earned from proxy staking are shared between the node and this
     * account, with proxyFraction / 10000 going to this account
     * 
* * int32 proxyFraction = 5 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.proxyFraction is deprecated. * See crypto_update.proto;l=66 * @return The proxyFraction. */ @java.lang.Override @java.lang.Deprecated public int getProxyFraction() { return instance.getProxyFraction(); } /** *
     **
     * [Deprecated]. Payments earned from proxy staking are shared between the node and this
     * account, with proxyFraction / 10000 going to this account
     * 
* * int32 proxyFraction = 5 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.proxyFraction is deprecated. * See crypto_update.proto;l=66 * @param value The proxyFraction to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setProxyFraction(int value) { copyOnWrite(); instance.setProxyFraction(value); return this; } /** *
     **
     * [Deprecated]. Payments earned from proxy staking are shared between the node and this
     * account, with proxyFraction / 10000 going to this account
     * 
* * int32 proxyFraction = 5 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.proxyFraction is deprecated. * See crypto_update.proto;l=66 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearProxyFraction() { copyOnWrite(); instance.clearProxyFraction(); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any send/withdraw transaction
     * 
* * uint64 sendRecordThreshold = 6 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. * See crypto_update.proto;l=73 * @return Whether the sendRecordThreshold field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasSendRecordThreshold() { return instance.hasSendRecordThreshold(); } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any send/withdraw transaction
     * 
* * uint64 sendRecordThreshold = 6 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. * See crypto_update.proto;l=73 * @return The sendRecordThreshold. */ @java.lang.Override @java.lang.Deprecated public long getSendRecordThreshold() { return instance.getSendRecordThreshold(); } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any send/withdraw transaction
     * 
* * uint64 sendRecordThreshold = 6 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. * See crypto_update.proto;l=73 * @param value The sendRecordThreshold to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setSendRecordThreshold(long value) { copyOnWrite(); instance.setSendRecordThreshold(value); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any send/withdraw transaction
     * 
* * uint64 sendRecordThreshold = 6 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. * See crypto_update.proto;l=73 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSendRecordThreshold() { copyOnWrite(); instance.clearSendRecordThreshold(); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any send/withdraw transaction
     * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public boolean hasSendRecordThresholdWrapper() { return instance.hasSendRecordThresholdWrapper(); } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any send/withdraw transaction
     * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.UInt64Value getSendRecordThresholdWrapper() { return instance.getSendRecordThresholdWrapper(); } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any send/withdraw transaction
     * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ @java.lang.Deprecated public Builder setSendRecordThresholdWrapper(com.google.protobuf.UInt64Value value) { copyOnWrite(); instance.setSendRecordThresholdWrapper(value); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any send/withdraw transaction
     * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ @java.lang.Deprecated public Builder setSendRecordThresholdWrapper( com.google.protobuf.UInt64Value.Builder builderForValue) { copyOnWrite(); instance.setSendRecordThresholdWrapper(builderForValue.build()); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any send/withdraw transaction
     * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ @java.lang.Deprecated public Builder mergeSendRecordThresholdWrapper(com.google.protobuf.UInt64Value value) { copyOnWrite(); instance.mergeSendRecordThresholdWrapper(value); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any send/withdraw transaction
     * 
* * .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true]; */ @java.lang.Deprecated public Builder clearSendRecordThresholdWrapper() { copyOnWrite(); instance.clearSendRecordThresholdWrapper(); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any receive/deposit transaction.
     * 
* * uint64 receiveRecordThreshold = 7 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. * See crypto_update.proto;l=88 * @return Whether the receiveRecordThreshold field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasReceiveRecordThreshold() { return instance.hasReceiveRecordThreshold(); } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any receive/deposit transaction.
     * 
* * uint64 receiveRecordThreshold = 7 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. * See crypto_update.proto;l=88 * @return The receiveRecordThreshold. */ @java.lang.Override @java.lang.Deprecated public long getReceiveRecordThreshold() { return instance.getReceiveRecordThreshold(); } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any receive/deposit transaction.
     * 
* * uint64 receiveRecordThreshold = 7 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. * See crypto_update.proto;l=88 * @param value The receiveRecordThreshold to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setReceiveRecordThreshold(long value) { copyOnWrite(); instance.setReceiveRecordThreshold(value); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any receive/deposit transaction.
     * 
* * uint64 receiveRecordThreshold = 7 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. * See crypto_update.proto;l=88 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearReceiveRecordThreshold() { copyOnWrite(); instance.clearReceiveRecordThreshold(); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any receive/deposit transaction.
     * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public boolean hasReceiveRecordThresholdWrapper() { return instance.hasReceiveRecordThresholdWrapper(); } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any receive/deposit transaction.
     * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.UInt64Value getReceiveRecordThresholdWrapper() { return instance.getReceiveRecordThresholdWrapper(); } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any receive/deposit transaction.
     * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ @java.lang.Deprecated public Builder setReceiveRecordThresholdWrapper(com.google.protobuf.UInt64Value value) { copyOnWrite(); instance.setReceiveRecordThresholdWrapper(value); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any receive/deposit transaction.
     * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ @java.lang.Deprecated public Builder setReceiveRecordThresholdWrapper( com.google.protobuf.UInt64Value.Builder builderForValue) { copyOnWrite(); instance.setReceiveRecordThresholdWrapper(builderForValue.build()); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any receive/deposit transaction.
     * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ @java.lang.Deprecated public Builder mergeReceiveRecordThresholdWrapper(com.google.protobuf.UInt64Value value) { copyOnWrite(); instance.mergeReceiveRecordThresholdWrapper(value); return this; } /** *
     **
     * [Deprecated]. The new threshold amount (in tinybars) for which an account record is
     * created for any receive/deposit transaction.
     * 
* * .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true]; */ @java.lang.Deprecated public Builder clearReceiveRecordThresholdWrapper() { copyOnWrite(); instance.clearReceiveRecordThresholdWrapper(); return this; } /** *
     **
     * The duration in which it will automatically extend the expiration period. If it doesn't have
     * enough balance, it extends as long as possible. If it is empty when it expires, then it is
     * deleted.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ @java.lang.Override public boolean hasAutoRenewPeriod() { return instance.hasAutoRenewPeriod(); } /** *
     **
     * The duration in which it will automatically extend the expiration period. If it doesn't have
     * enough balance, it extends as long as possible. If it is empty when it expires, then it is
     * deleted.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod() { return instance.getAutoRenewPeriod(); } /** *
     **
     * The duration in which it will automatically extend the expiration period. If it doesn't have
     * enough balance, it extends as long as possible. If it is empty when it expires, then it is
     * deleted.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ public Builder setAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { copyOnWrite(); instance.setAutoRenewPeriod(value); return this; } /** *
     **
     * The duration in which it will automatically extend the expiration period. If it doesn't have
     * enough balance, it extends as long as possible. If it is empty when it expires, then it is
     * deleted.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ public Builder setAutoRenewPeriod( com.hedera.hashgraph.sdk.proto.Duration.Builder builderForValue) { copyOnWrite(); instance.setAutoRenewPeriod(builderForValue.build()); return this; } /** *
     **
     * The duration in which it will automatically extend the expiration period. If it doesn't have
     * enough balance, it extends as long as possible. If it is empty when it expires, then it is
     * deleted.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ public Builder mergeAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { copyOnWrite(); instance.mergeAutoRenewPeriod(value); return this; } /** *
     **
     * The duration in which it will automatically extend the expiration period. If it doesn't have
     * enough balance, it extends as long as possible. If it is empty when it expires, then it is
     * deleted.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ public Builder clearAutoRenewPeriod() { copyOnWrite(); instance.clearAutoRenewPeriod(); return this; } /** *
     **
     * The new expiration time to extend to (ignored if equal to or before the current one)
     * 
* * .proto.Timestamp expirationTime = 9; */ @java.lang.Override public boolean hasExpirationTime() { return instance.hasExpirationTime(); } /** *
     **
     * The new expiration time to extend to (ignored if equal to or before the current one)
     * 
* * .proto.Timestamp expirationTime = 9; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime() { return instance.getExpirationTime(); } /** *
     **
     * The new expiration time to extend to (ignored if equal to or before the current one)
     * 
* * .proto.Timestamp expirationTime = 9; */ public Builder setExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { copyOnWrite(); instance.setExpirationTime(value); return this; } /** *
     **
     * The new expiration time to extend to (ignored if equal to or before the current one)
     * 
* * .proto.Timestamp expirationTime = 9; */ public Builder setExpirationTime( com.hedera.hashgraph.sdk.proto.Timestamp.Builder builderForValue) { copyOnWrite(); instance.setExpirationTime(builderForValue.build()); return this; } /** *
     **
     * The new expiration time to extend to (ignored if equal to or before the current one)
     * 
* * .proto.Timestamp expirationTime = 9; */ public Builder mergeExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { copyOnWrite(); instance.mergeExpirationTime(value); return this; } /** *
     **
     * The new expiration time to extend to (ignored if equal to or before the current one)
     * 
* * .proto.Timestamp expirationTime = 9; */ public Builder clearExpirationTime() { copyOnWrite(); instance.clearExpirationTime(); return this; } /** *
     **
     * [Deprecated] Do NOT use this field to set a false value because the server cannot
     * distinguish from the default value. Use receiverSigRequiredWrapper field for this
     * purpose.
     * 
* * bool receiverSigRequired = 10 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. * See crypto_update.proto;l=115 * @return Whether the receiverSigRequired field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasReceiverSigRequired() { return instance.hasReceiverSigRequired(); } /** *
     **
     * [Deprecated] Do NOT use this field to set a false value because the server cannot
     * distinguish from the default value. Use receiverSigRequiredWrapper field for this
     * purpose.
     * 
* * bool receiverSigRequired = 10 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. * See crypto_update.proto;l=115 * @return The receiverSigRequired. */ @java.lang.Override @java.lang.Deprecated public boolean getReceiverSigRequired() { return instance.getReceiverSigRequired(); } /** *
     **
     * [Deprecated] Do NOT use this field to set a false value because the server cannot
     * distinguish from the default value. Use receiverSigRequiredWrapper field for this
     * purpose.
     * 
* * bool receiverSigRequired = 10 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. * See crypto_update.proto;l=115 * @param value The receiverSigRequired to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setReceiverSigRequired(boolean value) { copyOnWrite(); instance.setReceiverSigRequired(value); return this; } /** *
     **
     * [Deprecated] Do NOT use this field to set a false value because the server cannot
     * distinguish from the default value. Use receiverSigRequiredWrapper field for this
     * purpose.
     * 
* * bool receiverSigRequired = 10 [deprecated = true]; * @deprecated proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. * See crypto_update.proto;l=115 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearReceiverSigRequired() { copyOnWrite(); instance.clearReceiverSigRequired(); return this; } /** *
     **
     * If true, this account's key must sign any transaction depositing into this account (in
     * addition to all withdrawals)
     * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ @java.lang.Override public boolean hasReceiverSigRequiredWrapper() { return instance.hasReceiverSigRequiredWrapper(); } /** *
     **
     * If true, this account's key must sign any transaction depositing into this account (in
     * addition to all withdrawals)
     * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ @java.lang.Override public com.google.protobuf.BoolValue getReceiverSigRequiredWrapper() { return instance.getReceiverSigRequiredWrapper(); } /** *
     **
     * If true, this account's key must sign any transaction depositing into this account (in
     * addition to all withdrawals)
     * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ public Builder setReceiverSigRequiredWrapper(com.google.protobuf.BoolValue value) { copyOnWrite(); instance.setReceiverSigRequiredWrapper(value); return this; } /** *
     **
     * If true, this account's key must sign any transaction depositing into this account (in
     * addition to all withdrawals)
     * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ public Builder setReceiverSigRequiredWrapper( com.google.protobuf.BoolValue.Builder builderForValue) { copyOnWrite(); instance.setReceiverSigRequiredWrapper(builderForValue.build()); return this; } /** *
     **
     * If true, this account's key must sign any transaction depositing into this account (in
     * addition to all withdrawals)
     * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ public Builder mergeReceiverSigRequiredWrapper(com.google.protobuf.BoolValue value) { copyOnWrite(); instance.mergeReceiverSigRequiredWrapper(value); return this; } /** *
     **
     * If true, this account's key must sign any transaction depositing into this account (in
     * addition to all withdrawals)
     * 
* * .google.protobuf.BoolValue receiverSigRequiredWrapper = 13; */ public Builder clearReceiverSigRequiredWrapper() { copyOnWrite(); instance.clearReceiverSigRequiredWrapper(); return this; } /** *
     **
     * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 14; */ @java.lang.Override public boolean hasMemo() { return instance.hasMemo(); } /** *
     **
     * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 14; */ @java.lang.Override public com.google.protobuf.StringValue getMemo() { return instance.getMemo(); } /** *
     **
     * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 14; */ public Builder setMemo(com.google.protobuf.StringValue value) { copyOnWrite(); instance.setMemo(value); return this; } /** *
     **
     * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 14; */ public Builder setMemo( com.google.protobuf.StringValue.Builder builderForValue) { copyOnWrite(); instance.setMemo(builderForValue.build()); return this; } /** *
     **
     * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 14; */ public Builder mergeMemo(com.google.protobuf.StringValue value) { copyOnWrite(); instance.mergeMemo(value); return this; } /** *
     **
     * If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 14; */ public Builder clearMemo() { copyOnWrite(); instance.clearMemo(); return this; } /** *
     **
     * If set, modify the maximum number of tokens that can be auto-associated with the
     * account.<br/>
     * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
     * MUST manually associate with a token before transacting in that token.<br/>
     * This value MAY also be `-1` to indicate no limit.<br/>
     * This value MUST NOT be less than `-1`.
     * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ @java.lang.Override public boolean hasMaxAutomaticTokenAssociations() { return instance.hasMaxAutomaticTokenAssociations(); } /** *
     **
     * If set, modify the maximum number of tokens that can be auto-associated with the
     * account.<br/>
     * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
     * MUST manually associate with a token before transacting in that token.<br/>
     * This value MAY also be `-1` to indicate no limit.<br/>
     * This value MUST NOT be less than `-1`.
     * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ @java.lang.Override public com.google.protobuf.Int32Value getMaxAutomaticTokenAssociations() { return instance.getMaxAutomaticTokenAssociations(); } /** *
     **
     * If set, modify the maximum number of tokens that can be auto-associated with the
     * account.<br/>
     * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
     * MUST manually associate with a token before transacting in that token.<br/>
     * This value MAY also be `-1` to indicate no limit.<br/>
     * This value MUST NOT be less than `-1`.
     * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ public Builder setMaxAutomaticTokenAssociations(com.google.protobuf.Int32Value value) { copyOnWrite(); instance.setMaxAutomaticTokenAssociations(value); return this; } /** *
     **
     * If set, modify the maximum number of tokens that can be auto-associated with the
     * account.<br/>
     * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
     * MUST manually associate with a token before transacting in that token.<br/>
     * This value MAY also be `-1` to indicate no limit.<br/>
     * This value MUST NOT be less than `-1`.
     * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ public Builder setMaxAutomaticTokenAssociations( com.google.protobuf.Int32Value.Builder builderForValue) { copyOnWrite(); instance.setMaxAutomaticTokenAssociations(builderForValue.build()); return this; } /** *
     **
     * If set, modify the maximum number of tokens that can be auto-associated with the
     * account.<br/>
     * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
     * MUST manually associate with a token before transacting in that token.<br/>
     * This value MAY also be `-1` to indicate no limit.<br/>
     * This value MUST NOT be less than `-1`.
     * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ public Builder mergeMaxAutomaticTokenAssociations(com.google.protobuf.Int32Value value) { copyOnWrite(); instance.mergeMaxAutomaticTokenAssociations(value); return this; } /** *
     **
     * If set, modify the maximum number of tokens that can be auto-associated with the
     * account.<br/>
     * If this is set and less than or equal to `used_auto_associations`, or 0, then this account
     * MUST manually associate with a token before transacting in that token.<br/>
     * This value MAY also be `-1` to indicate no limit.<br/>
     * This value MUST NOT be less than `-1`.
     * 
* * .google.protobuf.Int32Value max_automatic_token_associations = 15; */ public Builder clearMaxAutomaticTokenAssociations() { copyOnWrite(); instance.clearMaxAutomaticTokenAssociations(); return this; } /** *
     **
     * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
     * this field removes this account's staked account ID.
     * 
* * .proto.AccountID staked_account_id = 16; */ @java.lang.Override public boolean hasStakedAccountId() { return instance.hasStakedAccountId(); } /** *
     **
     * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
     * this field removes this account's staked account ID.
     * 
* * .proto.AccountID staked_account_id = 16; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getStakedAccountId() { return instance.getStakedAccountId(); } /** *
     **
     * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
     * this field removes this account's staked account ID.
     * 
* * .proto.AccountID staked_account_id = 16; */ public Builder setStakedAccountId(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.setStakedAccountId(value); return this; } /** *
     **
     * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
     * this field removes this account's staked account ID.
     * 
* * .proto.AccountID staked_account_id = 16; */ public Builder setStakedAccountId( com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) { copyOnWrite(); instance.setStakedAccountId(builderForValue.build()); return this; } /** *
     **
     * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
     * this field removes this account's staked account ID.
     * 
* * .proto.AccountID staked_account_id = 16; */ public Builder mergeStakedAccountId(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.mergeStakedAccountId(value); return this; } /** *
     **
     * ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
     * this field removes this account's staked account ID.
     * 
* * .proto.AccountID staked_account_id = 16; */ public Builder clearStakedAccountId() { copyOnWrite(); instance.clearStakedAccountId(); return this; } /** *
     **
     * ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
     * removes this account's staked node ID.
     * 
* * int64 staked_node_id = 17; * @return Whether the stakedNodeId field is set. */ @java.lang.Override public boolean hasStakedNodeId() { return instance.hasStakedNodeId(); } /** *
     **
     * ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
     * removes this account's staked node ID.
     * 
* * int64 staked_node_id = 17; * @return The stakedNodeId. */ @java.lang.Override public long getStakedNodeId() { return instance.getStakedNodeId(); } /** *
     **
     * ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
     * removes this account's staked node ID.
     * 
* * int64 staked_node_id = 17; * @param value The stakedNodeId to set. * @return This builder for chaining. */ public Builder setStakedNodeId(long value) { copyOnWrite(); instance.setStakedNodeId(value); return this; } /** *
     **
     * ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
     * removes this account's staked node ID.
     * 
* * int64 staked_node_id = 17; * @return This builder for chaining. */ public Builder clearStakedNodeId() { copyOnWrite(); instance.clearStakedNodeId(); return this; } /** *
     **
     * If true, the account declines receiving a staking reward. The default value is false.
     * 
* * .google.protobuf.BoolValue decline_reward = 18; */ @java.lang.Override public boolean hasDeclineReward() { return instance.hasDeclineReward(); } /** *
     **
     * If true, the account declines receiving a staking reward. The default value is false.
     * 
* * .google.protobuf.BoolValue decline_reward = 18; */ @java.lang.Override public com.google.protobuf.BoolValue getDeclineReward() { return instance.getDeclineReward(); } /** *
     **
     * If true, the account declines receiving a staking reward. The default value is false.
     * 
* * .google.protobuf.BoolValue decline_reward = 18; */ public Builder setDeclineReward(com.google.protobuf.BoolValue value) { copyOnWrite(); instance.setDeclineReward(value); return this; } /** *
     **
     * If true, the account declines receiving a staking reward. The default value is false.
     * 
* * .google.protobuf.BoolValue decline_reward = 18; */ public Builder setDeclineReward( com.google.protobuf.BoolValue.Builder builderForValue) { copyOnWrite(); instance.setDeclineReward(builderForValue.build()); return this; } /** *
     **
     * If true, the account declines receiving a staking reward. The default value is false.
     * 
* * .google.protobuf.BoolValue decline_reward = 18; */ public Builder mergeDeclineReward(com.google.protobuf.BoolValue value) { copyOnWrite(); instance.mergeDeclineReward(value); return this; } /** *
     **
     * If true, the account declines receiving a staking reward. The default value is false.
     * 
* * .google.protobuf.BoolValue decline_reward = 18; */ public Builder clearDeclineReward() { copyOnWrite(); instance.clearDeclineReward(); return this; } // @@protoc_insertion_point(builder_scope:proto.CryptoUpdateTransactionBody) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "sendRecordThresholdField_", "sendRecordThresholdFieldCase_", "receiveRecordThresholdField_", "receiveRecordThresholdFieldCase_", "receiverSigRequiredField_", "receiverSigRequiredFieldCase_", "stakedId_", "stakedIdCase_", "accountIDToUpdate_", "key_", "proxyAccountID_", "proxyFraction_", "autoRenewPeriod_", "expirationTime_", com.google.protobuf.UInt64Value.class, com.google.protobuf.UInt64Value.class, com.google.protobuf.BoolValue.class, "memo_", "maxAutomaticTokenAssociations_", com.hedera.hashgraph.sdk.proto.AccountID.class, "declineReward_", }; java.lang.String info = "\u0000\u0011\u0004\u0000\u0002\u0012\u0011\u0000\u0000\u0000\u0002\t\u0003\t\u0004" + "\t\u0005\u0004\u00066\u0000\u00076\u0001\b\t\t\t\n:\u0002\u000b<\u0000\f<\u0001\r" + "<\u0002\u000e\t\u000f\t\u0010<\u0003\u00115\u0003\u0012\t"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:proto.CryptoUpdateTransactionBody) private static final com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody DEFAULT_INSTANCE; static { CryptoUpdateTransactionBody defaultInstance = new CryptoUpdateTransactionBody(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( CryptoUpdateTransactionBody.class, defaultInstance); } public static com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy