Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class CryptoUpdateTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<CryptoUpdateTransactionBody,CryptoUpdateTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<CryptoUpdateTransactionBody,CryptoUpdateTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,CryptoUpdateTransactionBodyOrBuilder
@Generated
public final class CryptoUpdateTransactionBody
extends com.google.protobuf.GeneratedMessageLite<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 NoneProtobuf type
proto.CryptoUpdateTransactionBody-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Modify the current state of an account.static enumstatic enumstatic enumstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) * An account identifier.<br/> This identifies the account which is to be modified in this transaction.* A duration to extend account expiration.<br/> An amount of time, in seconds, to extend the expiration date for this account when _automatically_ renewed.com.google.protobuf.BoolValue* A boolean indicating that this account has chosen to decline rewards for staking its balances.static CryptoUpdateTransactionBodycom.google.protobuf.ByteString* The delegated contract address to set for the account.* A new account expiration time, in seconds since the epoch.getHookCreationDetails(int index) * The hooks to create for the account.int* The hooks to create for the account.* The hooks to create for the account.getHookCreationDetailsOrBuilder(int index) * The hooks to create for the account.List<? extends HookCreationDetailsOrBuilder> * The hooks to create for the account.longgetHookIdsToDelete(int index) * The ids the hooks to delete from the account.int* The ids the hooks to delete from the account.* The ids the hooks to delete from the account.getKey()* An account key.<br/> This may be a "primitive" key (a singly cryptographic key), or a composite key.com.google.protobuf.Int32Value* 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.com.google.protobuf.StringValuegetMemo()* A short description of this Account.Deprecated.intDeprecated.proto.CryptoUpdateTransactionBody.proxyFraction is deprecated.longDeprecated.proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated.com.google.protobuf.UInt64ValueDeprecated.booleanDeprecated.proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated.com.google.protobuf.BoolValue* A flag indicating the account holder must authorize all incoming token transfers.longDeprecated.proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated.com.google.protobuf.UInt64ValueDeprecated.* ID of the account to which this account is staking its balances.long* ID of the node this account is staked to.boolean* An account identifier.<br/> This identifies the account which is to be modified in this transaction.boolean* A duration to extend account expiration.<br/> An amount of time, in seconds, to extend the expiration date for this account when _automatically_ renewed.boolean* A boolean indicating that this account has chosen to decline rewards for staking its balances.boolean* A new account expiration time, in seconds since the epoch.booleanhasKey()* An account key.<br/> This may be a "primitive" key (a singly cryptographic key), or a composite key.boolean* 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.booleanhasMemo()* A short description of this Account.booleanDeprecated.booleanDeprecated.proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated.booleanDeprecated.booleanDeprecated.proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated.boolean* A flag indicating the account holder must authorize all incoming token transfers.booleanDeprecated.proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated.booleanDeprecated.boolean* ID of the account to which this account is staking its balances.boolean* ID of the node this account is staked to.newBuilder(CryptoUpdateTransactionBody prototype) static CryptoUpdateTransactionBodyparseDelimitedFrom(InputStream input) static CryptoUpdateTransactionBodyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CryptoUpdateTransactionBodyparseFrom(byte[] data) static CryptoUpdateTransactionBodyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CryptoUpdateTransactionBodyparseFrom(com.google.protobuf.ByteString data) static CryptoUpdateTransactionBodyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CryptoUpdateTransactionBodyparseFrom(com.google.protobuf.CodedInputStream input) static CryptoUpdateTransactionBodyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CryptoUpdateTransactionBodyparseFrom(InputStream input) static CryptoUpdateTransactionBodyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CryptoUpdateTransactionBodyparseFrom(ByteBuffer data) static CryptoUpdateTransactionBodyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CryptoUpdateTransactionBody> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ACCOUNTIDTOUPDATE_FIELD_NUMBER
public static final int ACCOUNTIDTOUPDATE_FIELD_NUMBER- See Also:
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER- See Also:
-
PROXYACCOUNTID_FIELD_NUMBER
public static final int PROXYACCOUNTID_FIELD_NUMBER- See Also:
-
PROXYFRACTION_FIELD_NUMBER
public static final int PROXYFRACTION_FIELD_NUMBER- See Also:
-
SENDRECORDTHRESHOLD_FIELD_NUMBER
public static final int SENDRECORDTHRESHOLD_FIELD_NUMBER- See Also:
-
SENDRECORDTHRESHOLDWRAPPER_FIELD_NUMBER
public static final int SENDRECORDTHRESHOLDWRAPPER_FIELD_NUMBER- See Also:
-
RECEIVERECORDTHRESHOLD_FIELD_NUMBER
public static final int RECEIVERECORDTHRESHOLD_FIELD_NUMBER- See Also:
-
RECEIVERECORDTHRESHOLDWRAPPER_FIELD_NUMBER
public static final int RECEIVERECORDTHRESHOLDWRAPPER_FIELD_NUMBER- See Also:
-
AUTORENEWPERIOD_FIELD_NUMBER
public static final int AUTORENEWPERIOD_FIELD_NUMBER- See Also:
-
EXPIRATIONTIME_FIELD_NUMBER
public static final int EXPIRATIONTIME_FIELD_NUMBER- See Also:
-
RECEIVERSIGREQUIRED_FIELD_NUMBER
public static final int RECEIVERSIGREQUIRED_FIELD_NUMBER- See Also:
-
RECEIVERSIGREQUIREDWRAPPER_FIELD_NUMBER
public static final int RECEIVERSIGREQUIREDWRAPPER_FIELD_NUMBER- See Also:
-
MEMO_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER- See Also:
-
MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER
public static final int MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER- See Also:
-
STAKED_ACCOUNT_ID_FIELD_NUMBER
public static final int STAKED_ACCOUNT_ID_FIELD_NUMBER- See Also:
-
STAKED_NODE_ID_FIELD_NUMBER
public static final int STAKED_NODE_ID_FIELD_NUMBER- See Also:
-
DECLINE_REWARD_FIELD_NUMBER
public static final int DECLINE_REWARD_FIELD_NUMBER- See Also:
-
HOOK_IDS_TO_DELETE_FIELD_NUMBER
public static final int HOOK_IDS_TO_DELETE_FIELD_NUMBER- See Also:
-
HOOK_CREATION_DETAILS_FIELD_NUMBER
public static final int HOOK_CREATION_DETAILS_FIELD_NUMBER- See Also:
-
DELEGATION_ADDRESS_FIELD_NUMBER
public static final int DELEGATION_ADDRESS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getSendRecordThresholdFieldCase
- Specified by:
getSendRecordThresholdFieldCasein interfaceCryptoUpdateTransactionBodyOrBuilder
-
getReceiveRecordThresholdFieldCase
public CryptoUpdateTransactionBody.ReceiveRecordThresholdFieldCase getReceiveRecordThresholdFieldCase()- Specified by:
getReceiveRecordThresholdFieldCasein interfaceCryptoUpdateTransactionBodyOrBuilder
-
getReceiverSigRequiredFieldCase
- Specified by:
getReceiverSigRequiredFieldCasein interfaceCryptoUpdateTransactionBodyOrBuilder
-
getStakedIdCase
- Specified by:
getStakedIdCasein interfaceCryptoUpdateTransactionBodyOrBuilder
-
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:
hasAccountIDToUpdatein interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the accountIDToUpdate field is set.
-
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:
getAccountIDToUpdatein interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The accountIDToUpdate.
-
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:
hasKeyin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the key field is set.
-
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:
getKeyin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The key.
-
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:
hasProxyAccountIDin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the proxyAccountID field is set.
-
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:
getProxyAccountIDin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The proxyAccountID.
-
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:
getProxyFractionin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The proxyFraction.
-
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:
hasSendRecordThresholdin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the sendRecordThreshold field is set.
-
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:
getSendRecordThresholdin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The sendRecordThreshold.
-
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:
hasSendRecordThresholdWrapperin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the sendRecordThresholdWrapper field is set.
-
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:
getSendRecordThresholdWrapperin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The sendRecordThresholdWrapper.
-
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:
hasReceiveRecordThresholdin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the receiveRecordThreshold field is set.
-
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:
getReceiveRecordThresholdin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The receiveRecordThreshold.
-
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:
hasReceiveRecordThresholdWrapperin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the receiveRecordThresholdWrapper field is set.
-
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:
getReceiveRecordThresholdWrapperin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The receiveRecordThresholdWrapper.
-
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:
hasAutoRenewPeriodin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the autoRenewPeriod field is set.
-
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:
getAutoRenewPeriodin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The autoRenewPeriod.
-
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:
hasExpirationTimein interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the expirationTime field is set.
-
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:
getExpirationTimein interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The expirationTime.
-
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:
hasReceiverSigRequiredin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the receiverSigRequired field is set.
-
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:
getReceiverSigRequiredin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The receiverSigRequired.
-
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:
hasReceiverSigRequiredWrapperin interfaceCryptoUpdateTransactionBodyOrBuilder- 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:
getReceiverSigRequiredWrapperin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The receiverSigRequiredWrapper.
-
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:
hasMemoin interfaceCryptoUpdateTransactionBodyOrBuilder- 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:
getMemoin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The memo.
-
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:
hasMaxAutomaticTokenAssociationsin interfaceCryptoUpdateTransactionBodyOrBuilder- 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:
getMaxAutomaticTokenAssociationsin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The maxAutomaticTokenAssociations.
-
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:
hasStakedAccountIdin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- Whether the stakedAccountId field is set.
-
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:
getStakedAccountIdin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The stakedAccountId.
-
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:
hasStakedNodeIdin interfaceCryptoUpdateTransactionBodyOrBuilder- 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:
getStakedNodeIdin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The stakedNodeId.
-
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:
hasDeclineRewardin interfaceCryptoUpdateTransactionBodyOrBuilder- 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:
getDeclineRewardin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The declineReward.
-
getHookIdsToDeleteList
* The ids the hooks to delete from the account.
repeated int64 hook_ids_to_delete = 19;- Specified by:
getHookIdsToDeleteListin interfaceCryptoUpdateTransactionBodyOrBuilder- 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:
getHookIdsToDeleteCountin interfaceCryptoUpdateTransactionBodyOrBuilder- 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:
getHookIdsToDeletein interfaceCryptoUpdateTransactionBodyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The hookIdsToDelete at the given index.
-
getHookCreationDetailsList
* The hooks to create for the account.
repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;- Specified by:
getHookCreationDetailsListin interfaceCryptoUpdateTransactionBodyOrBuilder
-
getHookCreationDetailsOrBuilderList
* The hooks to create for the account.
repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20; -
getHookCreationDetailsCount
public int getHookCreationDetailsCount()* The hooks to create for the account.
repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;- Specified by:
getHookCreationDetailsCountin interfaceCryptoUpdateTransactionBodyOrBuilder
-
getHookCreationDetails
* The hooks to create for the account.
repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;- Specified by:
getHookCreationDetailsin interfaceCryptoUpdateTransactionBodyOrBuilder
-
getHookCreationDetailsOrBuilder
* 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:
getDelegationAddressin interfaceCryptoUpdateTransactionBodyOrBuilder- Returns:
- The delegationAddress.
-
parseFrom
public static CryptoUpdateTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CryptoUpdateTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CryptoUpdateTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CryptoUpdateTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CryptoUpdateTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CryptoUpdateTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CryptoUpdateTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CryptoUpdateTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CryptoUpdateTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CryptoUpdateTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<CryptoUpdateTransactionBody,CryptoUpdateTransactionBody.Builder>
-
getDefaultInstance
-
parser
-