Class CryptoUpdateTransactionBody.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<CryptoUpdateTransactionBody,CryptoUpdateTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<CryptoUpdateTransactionBody,CryptoUpdateTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, CryptoUpdateTransactionBodyOrBuilder, Cloneable
Enclosing class:
CryptoUpdateTransactionBody

public static final class CryptoUpdateTransactionBody.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CryptoUpdateTransactionBody,CryptoUpdateTransactionBody.Builder> implements CryptoUpdateTransactionBodyOrBuilder
 *
 Modify the current state of an account.

 ### Requirements
 - The `key` for this account MUST sign all account update transactions.
 - If the `key` field is set for this transaction, then _both_ the current
 `key` and the new `key` MUST sign this transaction, for security and to
 prevent setting the `key` field to an invalid value.
 - If the `auto_renew_account` field is set for this transaction, the account
 identified in that field MUST sign this transaction.
 - Fields set to non-default values in this transaction SHALL be updated on
 success. Fields not set to non-default values SHALL NOT be
 updated on success.
 - All fields that may be modified in this transaction SHALL have a
 default value of unset (a.k.a. `null`).

 ### Block Stream Effects
 None
 
Protobuf type proto.CryptoUpdateTransactionBody
  • Method Details

    • getSendRecordThresholdFieldCase

      public CryptoUpdateTransactionBody.SendRecordThresholdFieldCase getSendRecordThresholdFieldCase()
      Specified by:
      getSendRecordThresholdFieldCase in interface CryptoUpdateTransactionBodyOrBuilder
    • clearSendRecordThresholdField

      public CryptoUpdateTransactionBody.Builder clearSendRecordThresholdField()
    • getReceiveRecordThresholdFieldCase

      public CryptoUpdateTransactionBody.ReceiveRecordThresholdFieldCase getReceiveRecordThresholdFieldCase()
      Specified by:
      getReceiveRecordThresholdFieldCase in interface CryptoUpdateTransactionBodyOrBuilder
    • clearReceiveRecordThresholdField

      public CryptoUpdateTransactionBody.Builder clearReceiveRecordThresholdField()
    • getReceiverSigRequiredFieldCase

      public CryptoUpdateTransactionBody.ReceiverSigRequiredFieldCase getReceiverSigRequiredFieldCase()
      Specified by:
      getReceiverSigRequiredFieldCase in interface CryptoUpdateTransactionBodyOrBuilder
    • clearReceiverSigRequiredField

      public CryptoUpdateTransactionBody.Builder clearReceiverSigRequiredField()
    • getStakedIdCase

      public CryptoUpdateTransactionBody.StakedIdCase getStakedIdCase()
      Specified by:
      getStakedIdCase in interface CryptoUpdateTransactionBodyOrBuilder
    • clearStakedId

      public CryptoUpdateTransactionBody.Builder clearStakedId()
    • hasAccountIDToUpdate

      public boolean hasAccountIDToUpdate()
       *
       An account identifier.<br/>
       This identifies the account which is to be modified in this transaction.
       <p>
       This field is REQUIRED.
       
      .proto.AccountID accountIDToUpdate = 2;
      Specified by:
      hasAccountIDToUpdate in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the accountIDToUpdate field is set.
    • getAccountIDToUpdate

      public AccountID getAccountIDToUpdate()
       *
       An account identifier.<br/>
       This identifies the account which is to be modified in this transaction.
       <p>
       This field is REQUIRED.
       
      .proto.AccountID accountIDToUpdate = 2;
      Specified by:
      getAccountIDToUpdate in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The accountIDToUpdate.
    • setAccountIDToUpdate

      public CryptoUpdateTransactionBody.Builder setAccountIDToUpdate(AccountID value)
       *
       An account identifier.<br/>
       This identifies the account which is to be modified in this transaction.
       <p>
       This field is REQUIRED.
       
      .proto.AccountID accountIDToUpdate = 2;
    • setAccountIDToUpdate

      public CryptoUpdateTransactionBody.Builder setAccountIDToUpdate(AccountID.Builder builderForValue)
       *
       An account identifier.<br/>
       This identifies the account which is to be modified in this transaction.
       <p>
       This field is REQUIRED.
       
      .proto.AccountID accountIDToUpdate = 2;
    • mergeAccountIDToUpdate

      public CryptoUpdateTransactionBody.Builder mergeAccountIDToUpdate(AccountID value)
       *
       An account identifier.<br/>
       This identifies the account which is to be modified in this transaction.
       <p>
       This field is REQUIRED.
       
      .proto.AccountID accountIDToUpdate = 2;
    • clearAccountIDToUpdate

      public CryptoUpdateTransactionBody.Builder clearAccountIDToUpdate()
       *
       An account identifier.<br/>
       This identifies the account which is to be modified in this transaction.
       <p>
       This field is REQUIRED.
       
      .proto.AccountID accountIDToUpdate = 2;
    • hasKey

      public boolean hasKey()
       *
       An account key.<br/>
       This may be a "primitive" key (a singly cryptographic key), or a
       composite key.
       <p>
       If set, this key MUST be a valid key.<br/>
       If set, the previous key and new key MUST both sign this transaction.
       
      .proto.Key key = 3;
      Specified by:
      hasKey in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the key field is set.
    • getKey

      public Key getKey()
       *
       An account key.<br/>
       This may be a "primitive" key (a singly cryptographic key), or a
       composite key.
       <p>
       If set, this key MUST be a valid key.<br/>
       If set, the previous key and new key MUST both sign this transaction.
       
      .proto.Key key = 3;
      Specified by:
      getKey in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The key.
    • setKey

       *
       An account key.<br/>
       This may be a "primitive" key (a singly cryptographic key), or a
       composite key.
       <p>
       If set, this key MUST be a valid key.<br/>
       If set, the previous key and new key MUST both sign this transaction.
       
      .proto.Key key = 3;
    • setKey

      public CryptoUpdateTransactionBody.Builder setKey(Key.Builder builderForValue)
       *
       An account key.<br/>
       This may be a "primitive" key (a singly cryptographic key), or a
       composite key.
       <p>
       If set, this key MUST be a valid key.<br/>
       If set, the previous key and new key MUST both sign this transaction.
       
      .proto.Key key = 3;
    • mergeKey

      public CryptoUpdateTransactionBody.Builder mergeKey(Key value)
       *
       An account key.<br/>
       This may be a "primitive" key (a singly cryptographic key), or a
       composite key.
       <p>
       If set, this key MUST be a valid key.<br/>
       If set, the previous key and new key MUST both sign this transaction.
       
      .proto.Key key = 3;
    • clearKey

       *
       An account key.<br/>
       This may be a "primitive" key (a singly cryptographic key), or a
       composite key.
       <p>
       If set, this key MUST be a valid key.<br/>
       If set, the previous key and new key MUST both sign this transaction.
       
      .proto.Key key = 3;
    • hasProxyAccountID

      @Deprecated public boolean hasProxyAccountID()
      Deprecated.
       *
       Removed in favor of the `staked_id` oneOf.<br/>
       An account identifier for a "proxy" account. This account's HBAR are
       staked to a node selected by the proxy account.
       
      .proto.AccountID proxyAccountID = 4 [deprecated = true];
      Specified by:
      hasProxyAccountID in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the proxyAccountID field is set.
    • getProxyAccountID

      @Deprecated public AccountID getProxyAccountID()
      Deprecated.
       *
       Removed in favor of the `staked_id` oneOf.<br/>
       An account identifier for a "proxy" account. This account's HBAR are
       staked to a node selected by the proxy account.
       
      .proto.AccountID proxyAccountID = 4 [deprecated = true];
      Specified by:
      getProxyAccountID in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The proxyAccountID.
    • setProxyAccountID

      @Deprecated public CryptoUpdateTransactionBody.Builder setProxyAccountID(AccountID value)
      Deprecated.
       *
       Removed in favor of the `staked_id` oneOf.<br/>
       An account identifier for a "proxy" account. This account's HBAR are
       staked to a node selected by the proxy account.
       
      .proto.AccountID proxyAccountID = 4 [deprecated = true];
    • setProxyAccountID

      @Deprecated public CryptoUpdateTransactionBody.Builder setProxyAccountID(AccountID.Builder builderForValue)
      Deprecated.
       *
       Removed in favor of the `staked_id` oneOf.<br/>
       An account identifier for a "proxy" account. This account's HBAR are
       staked to a node selected by the proxy account.
       
      .proto.AccountID proxyAccountID = 4 [deprecated = true];
    • mergeProxyAccountID

      @Deprecated public CryptoUpdateTransactionBody.Builder mergeProxyAccountID(AccountID value)
      Deprecated.
       *
       Removed in favor of the `staked_id` oneOf.<br/>
       An account identifier for a "proxy" account. This account's HBAR are
       staked to a node selected by the proxy account.
       
      .proto.AccountID proxyAccountID = 4 [deprecated = true];
    • clearProxyAccountID

      @Deprecated public CryptoUpdateTransactionBody.Builder clearProxyAccountID()
      Deprecated.
       *
       Removed in favor of the `staked_id` oneOf.<br/>
       An account identifier for a "proxy" account. This account's HBAR are
       staked to a node selected by the proxy account.
       
      .proto.AccountID proxyAccountID = 4 [deprecated = true];
    • getProxyFraction

      @Deprecated public int getProxyFraction()
      Deprecated.
      proto.CryptoUpdateTransactionBody.proxyFraction is deprecated. See crypto_update.proto;l=83
       *
       Removed prior to the first available history.<br/>
       A fraction to split staking rewards between this account and the proxy
       account.
       
      int32 proxyFraction = 5 [deprecated = true];
      Specified by:
      getProxyFraction in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The proxyFraction.
    • setProxyFraction

      @Deprecated public CryptoUpdateTransactionBody.Builder setProxyFraction(int value)
      Deprecated.
      proto.CryptoUpdateTransactionBody.proxyFraction is deprecated. See crypto_update.proto;l=83
       *
       Removed prior to the first available history.<br/>
       A fraction to split staking rewards between this account and the proxy
       account.
       
      int32 proxyFraction = 5 [deprecated = true];
      Parameters:
      value - The proxyFraction to set.
      Returns:
      This builder for chaining.
    • clearProxyFraction

      @Deprecated public CryptoUpdateTransactionBody.Builder clearProxyFraction()
      Deprecated.
      proto.CryptoUpdateTransactionBody.proxyFraction is deprecated. See crypto_update.proto;l=83
       *
       Removed prior to the first available history.<br/>
       A fraction to split staking rewards between this account and the proxy
       account.
       
      int32 proxyFraction = 5 [deprecated = true];
      Returns:
      This builder for chaining.
    • hasSendRecordThreshold

      @Deprecated public boolean hasSendRecordThreshold()
      Deprecated.
      proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. See crypto_update.proto;l=93
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       The new threshold amount (in tinybars) for which an account record is
       created for any send/withdraw transaction
       
      uint64 sendRecordThreshold = 6 [deprecated = true];
      Specified by:
      hasSendRecordThreshold in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the sendRecordThreshold field is set.
    • getSendRecordThreshold

      @Deprecated public long getSendRecordThreshold()
      Deprecated.
      proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. See crypto_update.proto;l=93
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       The new threshold amount (in tinybars) for which an account record is
       created for any send/withdraw transaction
       
      uint64 sendRecordThreshold = 6 [deprecated = true];
      Specified by:
      getSendRecordThreshold in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The sendRecordThreshold.
    • setSendRecordThreshold

      @Deprecated public CryptoUpdateTransactionBody.Builder setSendRecordThreshold(long value)
      Deprecated.
      proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. See crypto_update.proto;l=93
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       The new threshold amount (in tinybars) for which an account record is
       created for any send/withdraw transaction
       
      uint64 sendRecordThreshold = 6 [deprecated = true];
      Parameters:
      value - The sendRecordThreshold to set.
      Returns:
      This builder for chaining.
    • clearSendRecordThreshold

      @Deprecated public CryptoUpdateTransactionBody.Builder clearSendRecordThreshold()
      Deprecated.
      proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated. See crypto_update.proto;l=93
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       The new threshold amount (in tinybars) for which an account record is
       created for any send/withdraw transaction
       
      uint64 sendRecordThreshold = 6 [deprecated = true];
      Returns:
      This builder for chaining.
    • hasSendRecordThresholdWrapper

      @Deprecated public boolean hasSendRecordThresholdWrapper()
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
      Specified by:
      hasSendRecordThresholdWrapper in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the sendRecordThresholdWrapper field is set.
    • getSendRecordThresholdWrapper

      @Deprecated public com.google.protobuf.UInt64Value getSendRecordThresholdWrapper()
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
      Specified by:
      getSendRecordThresholdWrapper in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The sendRecordThresholdWrapper.
    • setSendRecordThresholdWrapper

      @Deprecated public CryptoUpdateTransactionBody.Builder setSendRecordThresholdWrapper(com.google.protobuf.UInt64Value value)
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
    • setSendRecordThresholdWrapper

      @Deprecated public CryptoUpdateTransactionBody.Builder setSendRecordThresholdWrapper(com.google.protobuf.UInt64Value.Builder builderForValue)
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
    • mergeSendRecordThresholdWrapper

      @Deprecated public CryptoUpdateTransactionBody.Builder mergeSendRecordThresholdWrapper(com.google.protobuf.UInt64Value value)
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
    • clearSendRecordThresholdWrapper

      @Deprecated public CryptoUpdateTransactionBody.Builder clearSendRecordThresholdWrapper()
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
    • hasReceiveRecordThreshold

      @Deprecated public boolean hasReceiveRecordThreshold()
      Deprecated.
      proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. See crypto_update.proto;l=113
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       The new threshold amount (in tinybars) for which an account record is
       created for any receive/deposit transaction.
       
      uint64 receiveRecordThreshold = 7 [deprecated = true];
      Specified by:
      hasReceiveRecordThreshold in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the receiveRecordThreshold field is set.
    • getReceiveRecordThreshold

      @Deprecated public long getReceiveRecordThreshold()
      Deprecated.
      proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. See crypto_update.proto;l=113
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       The new threshold amount (in tinybars) for which an account record is
       created for any receive/deposit transaction.
       
      uint64 receiveRecordThreshold = 7 [deprecated = true];
      Specified by:
      getReceiveRecordThreshold in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The receiveRecordThreshold.
    • setReceiveRecordThreshold

      @Deprecated public CryptoUpdateTransactionBody.Builder setReceiveRecordThreshold(long value)
      Deprecated.
      proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. See crypto_update.proto;l=113
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       The new threshold amount (in tinybars) for which an account record is
       created for any receive/deposit transaction.
       
      uint64 receiveRecordThreshold = 7 [deprecated = true];
      Parameters:
      value - The receiveRecordThreshold to set.
      Returns:
      This builder for chaining.
    • clearReceiveRecordThreshold

      @Deprecated public CryptoUpdateTransactionBody.Builder clearReceiveRecordThreshold()
      Deprecated.
      proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated. See crypto_update.proto;l=113
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       The new threshold amount (in tinybars) for which an account record is
       created for any receive/deposit transaction.
       
      uint64 receiveRecordThreshold = 7 [deprecated = true];
      Returns:
      This builder for chaining.
    • hasReceiveRecordThresholdWrapper

      @Deprecated public boolean hasReceiveRecordThresholdWrapper()
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
      Specified by:
      hasReceiveRecordThresholdWrapper in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the receiveRecordThresholdWrapper field is set.
    • getReceiveRecordThresholdWrapper

      @Deprecated public com.google.protobuf.UInt64Value getReceiveRecordThresholdWrapper()
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
      Specified by:
      getReceiveRecordThresholdWrapper in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The receiveRecordThresholdWrapper.
    • setReceiveRecordThresholdWrapper

      @Deprecated public CryptoUpdateTransactionBody.Builder setReceiveRecordThresholdWrapper(com.google.protobuf.UInt64Value value)
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
    • setReceiveRecordThresholdWrapper

      @Deprecated public CryptoUpdateTransactionBody.Builder setReceiveRecordThresholdWrapper(com.google.protobuf.UInt64Value.Builder builderForValue)
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
    • mergeReceiveRecordThresholdWrapper

      @Deprecated public CryptoUpdateTransactionBody.Builder mergeReceiveRecordThresholdWrapper(com.google.protobuf.UInt64Value value)
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
    • clearReceiveRecordThresholdWrapper

      @Deprecated public CryptoUpdateTransactionBody.Builder clearReceiveRecordThresholdWrapper()
      Deprecated.
       *
       Removed prior to the first available history, and may be related
       to an early design dead-end.<br/>
       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];
    • hasAutoRenewPeriod

      public boolean hasAutoRenewPeriod()
       *
       A duration to extend account expiration.<br/>
       An amount of time, in seconds, to extend the expiration date for this
       account when _automatically_ renewed.
       <p>
       This duration MUST be between the current configured minimum and maximum
       values defined for the network.<br/>
       This duration SHALL be applied only when _automatically_ extending the
       account expiration.
       
      .proto.Duration autoRenewPeriod = 8;
      Specified by:
      hasAutoRenewPeriod in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the autoRenewPeriod field is set.
    • getAutoRenewPeriod

      public Duration getAutoRenewPeriod()
       *
       A duration to extend account expiration.<br/>
       An amount of time, in seconds, to extend the expiration date for this
       account when _automatically_ renewed.
       <p>
       This duration MUST be between the current configured minimum and maximum
       values defined for the network.<br/>
       This duration SHALL be applied only when _automatically_ extending the
       account expiration.
       
      .proto.Duration autoRenewPeriod = 8;
      Specified by:
      getAutoRenewPeriod in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The autoRenewPeriod.
    • setAutoRenewPeriod

      public CryptoUpdateTransactionBody.Builder setAutoRenewPeriod(Duration value)
       *
       A duration to extend account expiration.<br/>
       An amount of time, in seconds, to extend the expiration date for this
       account when _automatically_ renewed.
       <p>
       This duration MUST be between the current configured minimum and maximum
       values defined for the network.<br/>
       This duration SHALL be applied only when _automatically_ extending the
       account expiration.
       
      .proto.Duration autoRenewPeriod = 8;
    • setAutoRenewPeriod

      public CryptoUpdateTransactionBody.Builder setAutoRenewPeriod(Duration.Builder builderForValue)
       *
       A duration to extend account expiration.<br/>
       An amount of time, in seconds, to extend the expiration date for this
       account when _automatically_ renewed.
       <p>
       This duration MUST be between the current configured minimum and maximum
       values defined for the network.<br/>
       This duration SHALL be applied only when _automatically_ extending the
       account expiration.
       
      .proto.Duration autoRenewPeriod = 8;
    • mergeAutoRenewPeriod

      public CryptoUpdateTransactionBody.Builder mergeAutoRenewPeriod(Duration value)
       *
       A duration to extend account expiration.<br/>
       An amount of time, in seconds, to extend the expiration date for this
       account when _automatically_ renewed.
       <p>
       This duration MUST be between the current configured minimum and maximum
       values defined for the network.<br/>
       This duration SHALL be applied only when _automatically_ extending the
       account expiration.
       
      .proto.Duration autoRenewPeriod = 8;
    • clearAutoRenewPeriod

      public CryptoUpdateTransactionBody.Builder clearAutoRenewPeriod()
       *
       A duration to extend account expiration.<br/>
       An amount of time, in seconds, to extend the expiration date for this
       account when _automatically_ renewed.
       <p>
       This duration MUST be between the current configured minimum and maximum
       values defined for the network.<br/>
       This duration SHALL be applied only when _automatically_ extending the
       account expiration.
       
      .proto.Duration autoRenewPeriod = 8;
    • hasExpirationTime

      public boolean hasExpirationTime()
       *
       A new account expiration time, in seconds since the epoch.
       <p>
       For this purpose, `epoch` SHALL be the UNIX epoch with 0
       at `1970-01-01T00:00:00.000Z`.<br/>
       If set, this value MUST be later than the current consensus time.<br/>
       If set, this value MUST be earlier than the current consensus time
       extended by the current maximum expiration time configured for the
       network.
       
      .proto.Timestamp expirationTime = 9;
      Specified by:
      hasExpirationTime in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the expirationTime field is set.
    • getExpirationTime

      public Timestamp getExpirationTime()
       *
       A new account expiration time, in seconds since the epoch.
       <p>
       For this purpose, `epoch` SHALL be the UNIX epoch with 0
       at `1970-01-01T00:00:00.000Z`.<br/>
       If set, this value MUST be later than the current consensus time.<br/>
       If set, this value MUST be earlier than the current consensus time
       extended by the current maximum expiration time configured for the
       network.
       
      .proto.Timestamp expirationTime = 9;
      Specified by:
      getExpirationTime in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The expirationTime.
    • setExpirationTime

      public CryptoUpdateTransactionBody.Builder setExpirationTime(Timestamp value)
       *
       A new account expiration time, in seconds since the epoch.
       <p>
       For this purpose, `epoch` SHALL be the UNIX epoch with 0
       at `1970-01-01T00:00:00.000Z`.<br/>
       If set, this value MUST be later than the current consensus time.<br/>
       If set, this value MUST be earlier than the current consensus time
       extended by the current maximum expiration time configured for the
       network.
       
      .proto.Timestamp expirationTime = 9;
    • setExpirationTime

      public CryptoUpdateTransactionBody.Builder setExpirationTime(Timestamp.Builder builderForValue)
       *
       A new account expiration time, in seconds since the epoch.
       <p>
       For this purpose, `epoch` SHALL be the UNIX epoch with 0
       at `1970-01-01T00:00:00.000Z`.<br/>
       If set, this value MUST be later than the current consensus time.<br/>
       If set, this value MUST be earlier than the current consensus time
       extended by the current maximum expiration time configured for the
       network.
       
      .proto.Timestamp expirationTime = 9;
    • mergeExpirationTime

      public CryptoUpdateTransactionBody.Builder mergeExpirationTime(Timestamp value)
       *
       A new account expiration time, in seconds since the epoch.
       <p>
       For this purpose, `epoch` SHALL be the UNIX epoch with 0
       at `1970-01-01T00:00:00.000Z`.<br/>
       If set, this value MUST be later than the current consensus time.<br/>
       If set, this value MUST be earlier than the current consensus time
       extended by the current maximum expiration time configured for the
       network.
       
      .proto.Timestamp expirationTime = 9;
    • clearExpirationTime

      public CryptoUpdateTransactionBody.Builder clearExpirationTime()
       *
       A new account expiration time, in seconds since the epoch.
       <p>
       For this purpose, `epoch` SHALL be the UNIX epoch with 0
       at `1970-01-01T00:00:00.000Z`.<br/>
       If set, this value MUST be later than the current consensus time.<br/>
       If set, this value MUST be earlier than the current consensus time
       extended by the current maximum expiration time configured for the
       network.
       
      .proto.Timestamp expirationTime = 9;
    • hasReceiverSigRequired

      @Deprecated public boolean hasReceiverSigRequired()
      Deprecated.
      proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. See crypto_update.proto;l=155
       *
       Removed to distinguish between unset and a default value.<br/>
       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];
      Specified by:
      hasReceiverSigRequired in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the receiverSigRequired field is set.
    • getReceiverSigRequired

      @Deprecated public boolean getReceiverSigRequired()
      Deprecated.
      proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. See crypto_update.proto;l=155
       *
       Removed to distinguish between unset and a default value.<br/>
       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];
      Specified by:
      getReceiverSigRequired in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The receiverSigRequired.
    • setReceiverSigRequired

      @Deprecated public CryptoUpdateTransactionBody.Builder setReceiverSigRequired(boolean value)
      Deprecated.
      proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. See crypto_update.proto;l=155
       *
       Removed to distinguish between unset and a default value.<br/>
       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];
      Parameters:
      value - The receiverSigRequired to set.
      Returns:
      This builder for chaining.
    • clearReceiverSigRequired

      @Deprecated public CryptoUpdateTransactionBody.Builder clearReceiverSigRequired()
      Deprecated.
      proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated. See crypto_update.proto;l=155
       *
       Removed to distinguish between unset and a default value.<br/>
       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];
      Returns:
      This builder for chaining.
    • hasReceiverSigRequiredWrapper

      public boolean hasReceiverSigRequiredWrapper()
       *
       A flag indicating the account holder must authorize all incoming
       token transfers.
       <p>
       If this flag is set then any transaction that would result in adding
       hbar or other tokens to this account balance MUST be signed by the
       identifying key of this account (that is, the `key` field).
       
      .google.protobuf.BoolValue receiverSigRequiredWrapper = 13;
      Specified by:
      hasReceiverSigRequiredWrapper in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the receiverSigRequiredWrapper field is set.
    • getReceiverSigRequiredWrapper

      public com.google.protobuf.BoolValue getReceiverSigRequiredWrapper()
       *
       A flag indicating the account holder must authorize all incoming
       token transfers.
       <p>
       If this flag is set then any transaction that would result in adding
       hbar or other tokens to this account balance MUST be signed by the
       identifying key of this account (that is, the `key` field).
       
      .google.protobuf.BoolValue receiverSigRequiredWrapper = 13;
      Specified by:
      getReceiverSigRequiredWrapper in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The receiverSigRequiredWrapper.
    • setReceiverSigRequiredWrapper

      public CryptoUpdateTransactionBody.Builder setReceiverSigRequiredWrapper(com.google.protobuf.BoolValue value)
       *
       A flag indicating the account holder must authorize all incoming
       token transfers.
       <p>
       If this flag is set then any transaction that would result in adding
       hbar or other tokens to this account balance MUST be signed by the
       identifying key of this account (that is, the `key` field).
       
      .google.protobuf.BoolValue receiverSigRequiredWrapper = 13;
    • setReceiverSigRequiredWrapper

      public CryptoUpdateTransactionBody.Builder setReceiverSigRequiredWrapper(com.google.protobuf.BoolValue.Builder builderForValue)
       *
       A flag indicating the account holder must authorize all incoming
       token transfers.
       <p>
       If this flag is set then any transaction that would result in adding
       hbar or other tokens to this account balance MUST be signed by the
       identifying key of this account (that is, the `key` field).
       
      .google.protobuf.BoolValue receiverSigRequiredWrapper = 13;
    • mergeReceiverSigRequiredWrapper

      public CryptoUpdateTransactionBody.Builder mergeReceiverSigRequiredWrapper(com.google.protobuf.BoolValue value)
       *
       A flag indicating the account holder must authorize all incoming
       token transfers.
       <p>
       If this flag is set then any transaction that would result in adding
       hbar or other tokens to this account balance MUST be signed by the
       identifying key of this account (that is, the `key` field).
       
      .google.protobuf.BoolValue receiverSigRequiredWrapper = 13;
    • clearReceiverSigRequiredWrapper

      public CryptoUpdateTransactionBody.Builder clearReceiverSigRequiredWrapper()
       *
       A flag indicating the account holder must authorize all incoming
       token transfers.
       <p>
       If this flag is set then any transaction that would result in adding
       hbar or other tokens to this account balance MUST be signed by the
       identifying key of this account (that is, the `key` field).
       
      .google.protobuf.BoolValue receiverSigRequiredWrapper = 13;
    • hasMemo

      public boolean hasMemo()
       *
       A short description of this Account.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      .google.protobuf.StringValue memo = 14;
      Specified by:
      hasMemo in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the memo field is set.
    • getMemo

      public com.google.protobuf.StringValue getMemo()
       *
       A short description of this Account.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      .google.protobuf.StringValue memo = 14;
      Specified by:
      getMemo in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The memo.
    • setMemo

      public CryptoUpdateTransactionBody.Builder setMemo(com.google.protobuf.StringValue value)
       *
       A short description of this Account.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      .google.protobuf.StringValue memo = 14;
    • setMemo

      public CryptoUpdateTransactionBody.Builder setMemo(com.google.protobuf.StringValue.Builder builderForValue)
       *
       A short description of this Account.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      .google.protobuf.StringValue memo = 14;
    • mergeMemo

      public CryptoUpdateTransactionBody.Builder mergeMemo(com.google.protobuf.StringValue value)
       *
       A short description of this Account.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      .google.protobuf.StringValue memo = 14;
    • clearMemo

       *
       A short description of this Account.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      .google.protobuf.StringValue memo = 14;
    • hasMaxAutomaticTokenAssociations

      public boolean hasMaxAutomaticTokenAssociations()
       *
       A maximum number of tokens that can be auto-associated
       with this account.<br/>
       By default this value is 0 for all accounts except for automatically
       created accounts (i.e smart contracts) which default to -1.
       <p>
       If this value is `0`, then this account MUST manually associate to
       a token before holding or transacting in that token.<br/>
       This value MAY also be `-1` to indicate no limit.<br/>
       If set, this value MUST NOT be less than `-1`.<br/>
       
      .google.protobuf.Int32Value max_automatic_token_associations = 15;
      Specified by:
      hasMaxAutomaticTokenAssociations in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the maxAutomaticTokenAssociations field is set.
    • getMaxAutomaticTokenAssociations

      public com.google.protobuf.Int32Value getMaxAutomaticTokenAssociations()
       *
       A maximum number of tokens that can be auto-associated
       with this account.<br/>
       By default this value is 0 for all accounts except for automatically
       created accounts (i.e smart contracts) which default to -1.
       <p>
       If this value is `0`, then this account MUST manually associate to
       a token before holding or transacting in that token.<br/>
       This value MAY also be `-1` to indicate no limit.<br/>
       If set, this value MUST NOT be less than `-1`.<br/>
       
      .google.protobuf.Int32Value max_automatic_token_associations = 15;
      Specified by:
      getMaxAutomaticTokenAssociations in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The maxAutomaticTokenAssociations.
    • setMaxAutomaticTokenAssociations

      public CryptoUpdateTransactionBody.Builder setMaxAutomaticTokenAssociations(com.google.protobuf.Int32Value value)
       *
       A maximum number of tokens that can be auto-associated
       with this account.<br/>
       By default this value is 0 for all accounts except for automatically
       created accounts (i.e smart contracts) which default to -1.
       <p>
       If this value is `0`, then this account MUST manually associate to
       a token before holding or transacting in that token.<br/>
       This value MAY also be `-1` to indicate no limit.<br/>
       If set, this value MUST NOT be less than `-1`.<br/>
       
      .google.protobuf.Int32Value max_automatic_token_associations = 15;
    • setMaxAutomaticTokenAssociations

      public CryptoUpdateTransactionBody.Builder setMaxAutomaticTokenAssociations(com.google.protobuf.Int32Value.Builder builderForValue)
       *
       A maximum number of tokens that can be auto-associated
       with this account.<br/>
       By default this value is 0 for all accounts except for automatically
       created accounts (i.e smart contracts) which default to -1.
       <p>
       If this value is `0`, then this account MUST manually associate to
       a token before holding or transacting in that token.<br/>
       This value MAY also be `-1` to indicate no limit.<br/>
       If set, this value MUST NOT be less than `-1`.<br/>
       
      .google.protobuf.Int32Value max_automatic_token_associations = 15;
    • mergeMaxAutomaticTokenAssociations

      public CryptoUpdateTransactionBody.Builder mergeMaxAutomaticTokenAssociations(com.google.protobuf.Int32Value value)
       *
       A maximum number of tokens that can be auto-associated
       with this account.<br/>
       By default this value is 0 for all accounts except for automatically
       created accounts (i.e smart contracts) which default to -1.
       <p>
       If this value is `0`, then this account MUST manually associate to
       a token before holding or transacting in that token.<br/>
       This value MAY also be `-1` to indicate no limit.<br/>
       If set, this value MUST NOT be less than `-1`.<br/>
       
      .google.protobuf.Int32Value max_automatic_token_associations = 15;
    • clearMaxAutomaticTokenAssociations

      public CryptoUpdateTransactionBody.Builder clearMaxAutomaticTokenAssociations()
       *
       A maximum number of tokens that can be auto-associated
       with this account.<br/>
       By default this value is 0 for all accounts except for automatically
       created accounts (i.e smart contracts) which default to -1.
       <p>
       If this value is `0`, then this account MUST manually associate to
       a token before holding or transacting in that token.<br/>
       This value MAY also be `-1` to indicate no limit.<br/>
       If set, this value MUST NOT be less than `-1`.<br/>
       
      .google.protobuf.Int32Value max_automatic_token_associations = 15;
    • hasStakedAccountId

      public boolean hasStakedAccountId()
       *
       ID of the account to which this account is staking its balances.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, MUST be the sentinel value of `0.0.0`.
       
      .proto.AccountID staked_account_id = 16;
      Specified by:
      hasStakedAccountId in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the stakedAccountId field is set.
    • getStakedAccountId

      public AccountID getStakedAccountId()
       *
       ID of the account to which this account is staking its balances.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, MUST be the sentinel value of `0.0.0`.
       
      .proto.AccountID staked_account_id = 16;
      Specified by:
      getStakedAccountId in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The stakedAccountId.
    • setStakedAccountId

      public CryptoUpdateTransactionBody.Builder setStakedAccountId(AccountID value)
       *
       ID of the account to which this account is staking its balances.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, MUST be the sentinel value of `0.0.0`.
       
      .proto.AccountID staked_account_id = 16;
    • setStakedAccountId

      public CryptoUpdateTransactionBody.Builder setStakedAccountId(AccountID.Builder builderForValue)
       *
       ID of the account to which this account is staking its balances.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, MUST be the sentinel value of `0.0.0`.
       
      .proto.AccountID staked_account_id = 16;
    • mergeStakedAccountId

      public CryptoUpdateTransactionBody.Builder mergeStakedAccountId(AccountID value)
       *
       ID of the account to which this account is staking its balances.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, MUST be the sentinel value of `0.0.0`.
       
      .proto.AccountID staked_account_id = 16;
    • clearStakedAccountId

      public CryptoUpdateTransactionBody.Builder clearStakedAccountId()
       *
       ID of the account to which this account is staking its balances.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, MUST be the sentinel value of `0.0.0`.
       
      .proto.AccountID staked_account_id = 16;
    • hasStakedNodeId

      public boolean hasStakedNodeId()
       *
       ID of the node this account is staked to.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, SHALL be the sentinel value of `-1`.<br/>
       Wallet software SHOULD surface staking issues to users and provide a
       simple mechanism to update staking to a new node ID in the event the
       prior staked node ID ceases to be valid.
       
      int64 staked_node_id = 17;
      Specified by:
      hasStakedNodeId in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the stakedNodeId field is set.
    • getStakedNodeId

      public long getStakedNodeId()
       *
       ID of the node this account is staked to.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, SHALL be the sentinel value of `-1`.<br/>
       Wallet software SHOULD surface staking issues to users and provide a
       simple mechanism to update staking to a new node ID in the event the
       prior staked node ID ceases to be valid.
       
      int64 staked_node_id = 17;
      Specified by:
      getStakedNodeId in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The stakedNodeId.
    • setStakedNodeId

      public CryptoUpdateTransactionBody.Builder setStakedNodeId(long value)
       *
       ID of the node this account is staked to.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, SHALL be the sentinel value of `-1`.<br/>
       Wallet software SHOULD surface staking issues to users and provide a
       simple mechanism to update staking to a new node ID in the event the
       prior staked node ID ceases to be valid.
       
      int64 staked_node_id = 17;
      Parameters:
      value - The stakedNodeId to set.
      Returns:
      This builder for chaining.
    • clearStakedNodeId

      public CryptoUpdateTransactionBody.Builder clearStakedNodeId()
       *
       ID of the node this account is staked to.
       <p>
       If this account is not currently staking its balances, then this
       field, if set, SHALL be the sentinel value of `-1`.<br/>
       Wallet software SHOULD surface staking issues to users and provide a
       simple mechanism to update staking to a new node ID in the event the
       prior staked node ID ceases to be valid.
       
      int64 staked_node_id = 17;
      Returns:
      This builder for chaining.
    • hasDeclineReward

      public boolean hasDeclineReward()
       *
       A boolean indicating that this account has chosen to decline rewards for
       staking its balances.
       <p>
       This account MAY still stake its balances, but SHALL NOT receive reward
       payments for doing so, if this value is set, and `true`.
       
      .google.protobuf.BoolValue decline_reward = 18;
      Specified by:
      hasDeclineReward in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      Whether the declineReward field is set.
    • getDeclineReward

      public com.google.protobuf.BoolValue getDeclineReward()
       *
       A boolean indicating that this account has chosen to decline rewards for
       staking its balances.
       <p>
       This account MAY still stake its balances, but SHALL NOT receive reward
       payments for doing so, if this value is set, and `true`.
       
      .google.protobuf.BoolValue decline_reward = 18;
      Specified by:
      getDeclineReward in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The declineReward.
    • setDeclineReward

      public CryptoUpdateTransactionBody.Builder setDeclineReward(com.google.protobuf.BoolValue value)
       *
       A boolean indicating that this account has chosen to decline rewards for
       staking its balances.
       <p>
       This account MAY still stake its balances, but SHALL NOT receive reward
       payments for doing so, if this value is set, and `true`.
       
      .google.protobuf.BoolValue decline_reward = 18;
    • setDeclineReward

      public CryptoUpdateTransactionBody.Builder setDeclineReward(com.google.protobuf.BoolValue.Builder builderForValue)
       *
       A boolean indicating that this account has chosen to decline rewards for
       staking its balances.
       <p>
       This account MAY still stake its balances, but SHALL NOT receive reward
       payments for doing so, if this value is set, and `true`.
       
      .google.protobuf.BoolValue decline_reward = 18;
    • mergeDeclineReward

      public CryptoUpdateTransactionBody.Builder mergeDeclineReward(com.google.protobuf.BoolValue value)
       *
       A boolean indicating that this account has chosen to decline rewards for
       staking its balances.
       <p>
       This account MAY still stake its balances, but SHALL NOT receive reward
       payments for doing so, if this value is set, and `true`.
       
      .google.protobuf.BoolValue decline_reward = 18;
    • clearDeclineReward

      public CryptoUpdateTransactionBody.Builder clearDeclineReward()
       *
       A boolean indicating that this account has chosen to decline rewards for
       staking its balances.
       <p>
       This account MAY still stake its balances, but SHALL NOT receive reward
       payments for doing so, if this value is set, and `true`.
       
      .google.protobuf.BoolValue decline_reward = 18;
    • getHookIdsToDeleteList

      public List<Long> getHookIdsToDeleteList()
       *
       The ids the hooks to delete from the account.
       
      repeated int64 hook_ids_to_delete = 19;
      Specified by:
      getHookIdsToDeleteList in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      A list containing the hookIdsToDelete.
    • getHookIdsToDeleteCount

      public int getHookIdsToDeleteCount()
       *
       The ids the hooks to delete from the account.
       
      repeated int64 hook_ids_to_delete = 19;
      Specified by:
      getHookIdsToDeleteCount in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The count of hookIdsToDelete.
    • getHookIdsToDelete

      public long getHookIdsToDelete(int index)
       *
       The ids the hooks to delete from the account.
       
      repeated int64 hook_ids_to_delete = 19;
      Specified by:
      getHookIdsToDelete in interface CryptoUpdateTransactionBodyOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The hookIdsToDelete at the given index.
    • setHookIdsToDelete

      public CryptoUpdateTransactionBody.Builder setHookIdsToDelete(int index, long value)
       *
       The ids the hooks to delete from the account.
       
      repeated int64 hook_ids_to_delete = 19;
      Parameters:
      value - The hookIdsToDelete to set.
      Returns:
      This builder for chaining.
    • addHookIdsToDelete

      public CryptoUpdateTransactionBody.Builder addHookIdsToDelete(long value)
       *
       The ids the hooks to delete from the account.
       
      repeated int64 hook_ids_to_delete = 19;
      Parameters:
      value - The hookIdsToDelete to add.
      Returns:
      This builder for chaining.
    • addAllHookIdsToDelete

      public CryptoUpdateTransactionBody.Builder addAllHookIdsToDelete(Iterable<? extends Long> values)
       *
       The ids the hooks to delete from the account.
       
      repeated int64 hook_ids_to_delete = 19;
      Parameters:
      values - The hookIdsToDelete to add.
      Returns:
      This builder for chaining.
    • clearHookIdsToDelete

      public CryptoUpdateTransactionBody.Builder clearHookIdsToDelete()
       *
       The ids the hooks to delete from the account.
       
      repeated int64 hook_ids_to_delete = 19;
      Returns:
      This builder for chaining.
    • getHookCreationDetailsList

      public List<HookCreationDetails> getHookCreationDetailsList()
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
      Specified by:
      getHookCreationDetailsList in interface CryptoUpdateTransactionBodyOrBuilder
    • getHookCreationDetailsCount

      public int getHookCreationDetailsCount()
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
      Specified by:
      getHookCreationDetailsCount in interface CryptoUpdateTransactionBodyOrBuilder
    • getHookCreationDetails

      public HookCreationDetails getHookCreationDetails(int index)
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
      Specified by:
      getHookCreationDetails in interface CryptoUpdateTransactionBodyOrBuilder
    • setHookCreationDetails

      public CryptoUpdateTransactionBody.Builder setHookCreationDetails(int index, HookCreationDetails value)
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • setHookCreationDetails

      public CryptoUpdateTransactionBody.Builder setHookCreationDetails(int index, HookCreationDetails.Builder builderForValue)
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • addHookCreationDetails

      public CryptoUpdateTransactionBody.Builder addHookCreationDetails(HookCreationDetails value)
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • addHookCreationDetails

      public CryptoUpdateTransactionBody.Builder addHookCreationDetails(int index, HookCreationDetails value)
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • addHookCreationDetails

      public CryptoUpdateTransactionBody.Builder addHookCreationDetails(HookCreationDetails.Builder builderForValue)
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • addHookCreationDetails

      public CryptoUpdateTransactionBody.Builder addHookCreationDetails(int index, HookCreationDetails.Builder builderForValue)
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • addAllHookCreationDetails

      public CryptoUpdateTransactionBody.Builder addAllHookCreationDetails(Iterable<? extends HookCreationDetails> values)
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • clearHookCreationDetails

      public CryptoUpdateTransactionBody.Builder clearHookCreationDetails()
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • removeHookCreationDetails

      public CryptoUpdateTransactionBody.Builder removeHookCreationDetails(int index)
       *
       The hooks to create for the account.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • getDelegationAddress

      public com.google.protobuf.ByteString getDelegationAddress()
       *
       The delegated contract address to set for the account.
       <p>
       If this field is unset (empty), no change is made to account's `delegation_address`.
       If set, the value MUST be 20 bytes long (EVM address).
       Submitting a value of `0x0000000000000000000000000000000000000000` will clear
       account's current `delegation_address`.
      
       If this field is set on the account, anytime a call is made to the account's address
       (either an EVM call within HSCS or a child call dispatched by CryptoTransfer)
       the EVM code of the contract referenced by `delegation_address` will be
       executed in the context of the account.
       
      bytes delegation_address = 21;
      Specified by:
      getDelegationAddress in interface CryptoUpdateTransactionBodyOrBuilder
      Returns:
      The delegationAddress.
    • setDelegationAddress

      public CryptoUpdateTransactionBody.Builder setDelegationAddress(com.google.protobuf.ByteString value)
       *
       The delegated contract address to set for the account.
       <p>
       If this field is unset (empty), no change is made to account's `delegation_address`.
       If set, the value MUST be 20 bytes long (EVM address).
       Submitting a value of `0x0000000000000000000000000000000000000000` will clear
       account's current `delegation_address`.
      
       If this field is set on the account, anytime a call is made to the account's address
       (either an EVM call within HSCS or a child call dispatched by CryptoTransfer)
       the EVM code of the contract referenced by `delegation_address` will be
       executed in the context of the account.
       
      bytes delegation_address = 21;
      Parameters:
      value - The delegationAddress to set.
      Returns:
      This builder for chaining.
    • clearDelegationAddress

      public CryptoUpdateTransactionBody.Builder clearDelegationAddress()
       *
       The delegated contract address to set for the account.
       <p>
       If this field is unset (empty), no change is made to account's `delegation_address`.
       If set, the value MUST be 20 bytes long (EVM address).
       Submitting a value of `0x0000000000000000000000000000000000000000` will clear
       account's current `delegation_address`.
      
       If this field is set on the account, anytime a call is made to the account's address
       (either an EVM call within HSCS or a child call dispatched by CryptoTransfer)
       the EVM code of the contract referenced by `delegation_address` will be
       executed in the context of the account.
       
      bytes delegation_address = 21;
      Returns:
      This builder for chaining.