com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBodyOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: crypto_update.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface CryptoUpdateTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.CryptoUpdateTransactionBody)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The account ID which is being updated in this transaction
*
*
* .proto.AccountID accountIDToUpdate = 2;
* @return Whether the accountIDToUpdate field is set.
*/
boolean hasAccountIDToUpdate();
/**
*
**
* The account ID which is being updated in this transaction
*
*
* .proto.AccountID accountIDToUpdate = 2;
* @return The accountIDToUpdate.
*/
com.hedera.hashgraph.sdk.proto.AccountID getAccountIDToUpdate();
/**
*
**
* The account ID which is being updated in this transaction
*
*
* .proto.AccountID accountIDToUpdate = 2;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getAccountIDToUpdateOrBuilder();
/**
*
**
* The new key
*
*
* .proto.Key key = 3;
* @return Whether the key field is set.
*/
boolean hasKey();
/**
*
**
* The new key
*
*
* .proto.Key key = 3;
* @return The key.
*/
com.hedera.hashgraph.sdk.proto.Key getKey();
/**
*
**
* The new key
*
*
* .proto.Key key = 3;
*/
com.hedera.hashgraph.sdk.proto.KeyOrBuilder getKeyOrBuilder();
/**
*
**
* [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
* invalid account, or is an account that isn't a node, then this account is automatically proxy
* staked to a node chosen by the network, but without earning payments. If the proxyAccountID
* account refuses to accept proxy staking , or if it is not currently running a node, then it
* will behave as if proxyAccountID was null.
*
*
* .proto.AccountID proxyAccountID = 4 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.proxyAccountID is deprecated.
* See crypto_update.proto;l=60
* @return Whether the proxyAccountID field is set.
*/
@java.lang.Deprecated boolean hasProxyAccountID();
/**
*
**
* [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
* invalid account, or is an account that isn't a node, then this account is automatically proxy
* staked to a node chosen by the network, but without earning payments. If the proxyAccountID
* account refuses to accept proxy staking , or if it is not currently running a node, then it
* will behave as if proxyAccountID was null.
*
*
* .proto.AccountID proxyAccountID = 4 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.proxyAccountID is deprecated.
* See crypto_update.proto;l=60
* @return The proxyAccountID.
*/
@java.lang.Deprecated com.hedera.hashgraph.sdk.proto.AccountID getProxyAccountID();
/**
*
**
* [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
* invalid account, or is an account that isn't a node, then this account is automatically proxy
* staked to a node chosen by the network, but without earning payments. If the proxyAccountID
* account refuses to accept proxy staking , or if it is not currently running a node, then it
* will behave as if proxyAccountID was null.
*
*
* .proto.AccountID proxyAccountID = 4 [deprecated = true];
*/
@java.lang.Deprecated com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getProxyAccountIDOrBuilder();
/**
*
**
* [Deprecated]. Payments earned from proxy staking are shared between the node and this
* account, with proxyFraction / 10000 going to this account
*
*
* int32 proxyFraction = 5 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.proxyFraction is deprecated.
* See crypto_update.proto;l=66
* @return The proxyFraction.
*/
@java.lang.Deprecated int getProxyFraction();
/**
*
**
* [Deprecated]. The new threshold amount (in tinybars) for which an account record is
* created for any send/withdraw transaction
*
*
* uint64 sendRecordThreshold = 6 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated.
* See crypto_update.proto;l=73
* @return Whether the sendRecordThreshold field is set.
*/
@java.lang.Deprecated boolean hasSendRecordThreshold();
/**
*
**
* [Deprecated]. The new threshold amount (in tinybars) for which an account record is
* created for any send/withdraw transaction
*
*
* uint64 sendRecordThreshold = 6 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.sendRecordThreshold is deprecated.
* See crypto_update.proto;l=73
* @return The sendRecordThreshold.
*/
@java.lang.Deprecated long getSendRecordThreshold();
/**
*
**
* [Deprecated]. The new threshold amount (in tinybars) for which an account record is
* created for any send/withdraw transaction
*
*
* .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.sendRecordThresholdWrapper is deprecated.
* See crypto_update.proto;l=79
* @return Whether the sendRecordThresholdWrapper field is set.
*/
@java.lang.Deprecated boolean hasSendRecordThresholdWrapper();
/**
*
**
* [Deprecated]. The new threshold amount (in tinybars) for which an account record is
* created for any send/withdraw transaction
*
*
* .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.sendRecordThresholdWrapper is deprecated.
* See crypto_update.proto;l=79
* @return The sendRecordThresholdWrapper.
*/
@java.lang.Deprecated com.google.protobuf.UInt64Value getSendRecordThresholdWrapper();
/**
*
**
* [Deprecated]. The new threshold amount (in tinybars) for which an account record is
* created for any send/withdraw transaction
*
*
* .google.protobuf.UInt64Value sendRecordThresholdWrapper = 11 [deprecated = true];
*/
@java.lang.Deprecated com.google.protobuf.UInt64ValueOrBuilder getSendRecordThresholdWrapperOrBuilder();
/**
*
**
* [Deprecated]. The new threshold amount (in tinybars) for which an account record is
* created for any receive/deposit transaction.
*
*
* uint64 receiveRecordThreshold = 7 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated.
* See crypto_update.proto;l=88
* @return Whether the receiveRecordThreshold field is set.
*/
@java.lang.Deprecated boolean hasReceiveRecordThreshold();
/**
*
**
* [Deprecated]. The new threshold amount (in tinybars) for which an account record is
* created for any receive/deposit transaction.
*
*
* uint64 receiveRecordThreshold = 7 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThreshold is deprecated.
* See crypto_update.proto;l=88
* @return The receiveRecordThreshold.
*/
@java.lang.Deprecated long getReceiveRecordThreshold();
/**
*
**
* [Deprecated]. The new threshold amount (in tinybars) for which an account record is
* created for any receive/deposit transaction.
*
*
* .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThresholdWrapper is deprecated.
* See crypto_update.proto;l=94
* @return Whether the receiveRecordThresholdWrapper field is set.
*/
@java.lang.Deprecated boolean hasReceiveRecordThresholdWrapper();
/**
*
**
* [Deprecated]. The new threshold amount (in tinybars) for which an account record is
* created for any receive/deposit transaction.
*
*
* .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.receiveRecordThresholdWrapper is deprecated.
* See crypto_update.proto;l=94
* @return The receiveRecordThresholdWrapper.
*/
@java.lang.Deprecated com.google.protobuf.UInt64Value getReceiveRecordThresholdWrapper();
/**
*
**
* [Deprecated]. The new threshold amount (in tinybars) for which an account record is
* created for any receive/deposit transaction.
*
*
* .google.protobuf.UInt64Value receiveRecordThresholdWrapper = 12 [deprecated = true];
*/
@java.lang.Deprecated com.google.protobuf.UInt64ValueOrBuilder getReceiveRecordThresholdWrapperOrBuilder();
/**
*
**
* The duration in which it will automatically extend the expiration period. If it doesn't have
* enough balance, it extends as long as possible. If it is empty when it expires, then it is
* deleted.
*
*
* .proto.Duration autoRenewPeriod = 8;
* @return Whether the autoRenewPeriod field is set.
*/
boolean hasAutoRenewPeriod();
/**
*
**
* The duration in which it will automatically extend the expiration period. If it doesn't have
* enough balance, it extends as long as possible. If it is empty when it expires, then it is
* deleted.
*
*
* .proto.Duration autoRenewPeriod = 8;
* @return The autoRenewPeriod.
*/
com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod();
/**
*
**
* The duration in which it will automatically extend the expiration period. If it doesn't have
* enough balance, it extends as long as possible. If it is empty when it expires, then it is
* deleted.
*
*
* .proto.Duration autoRenewPeriod = 8;
*/
com.hedera.hashgraph.sdk.proto.DurationOrBuilder getAutoRenewPeriodOrBuilder();
/**
*
**
* The new expiration time to extend to (ignored if equal to or before the current one)
*
*
* .proto.Timestamp expirationTime = 9;
* @return Whether the expirationTime field is set.
*/
boolean hasExpirationTime();
/**
*
**
* The new expiration time to extend to (ignored if equal to or before the current one)
*
*
* .proto.Timestamp expirationTime = 9;
* @return The expirationTime.
*/
com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime();
/**
*
**
* The new expiration time to extend to (ignored if equal to or before the current one)
*
*
* .proto.Timestamp expirationTime = 9;
*/
com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getExpirationTimeOrBuilder();
/**
*
**
* [Deprecated] Do NOT use this field to set a false value because the server cannot
* distinguish from the default value. Use receiverSigRequiredWrapper field for this
* purpose.
*
*
* bool receiverSigRequired = 10 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated.
* See crypto_update.proto;l=115
* @return Whether the receiverSigRequired field is set.
*/
@java.lang.Deprecated boolean hasReceiverSigRequired();
/**
*
**
* [Deprecated] Do NOT use this field to set a false value because the server cannot
* distinguish from the default value. Use receiverSigRequiredWrapper field for this
* purpose.
*
*
* bool receiverSigRequired = 10 [deprecated = true];
* @deprecated proto.CryptoUpdateTransactionBody.receiverSigRequired is deprecated.
* See crypto_update.proto;l=115
* @return The receiverSigRequired.
*/
@java.lang.Deprecated boolean getReceiverSigRequired();
/**
*
**
* If true, this account's key must sign any transaction depositing into this account (in
* addition to all withdrawals)
*
*
* .google.protobuf.BoolValue receiverSigRequiredWrapper = 13;
* @return Whether the receiverSigRequiredWrapper field is set.
*/
boolean hasReceiverSigRequiredWrapper();
/**
*
**
* If true, this account's key must sign any transaction depositing into this account (in
* addition to all withdrawals)
*
*
* .google.protobuf.BoolValue receiverSigRequiredWrapper = 13;
* @return The receiverSigRequiredWrapper.
*/
com.google.protobuf.BoolValue getReceiverSigRequiredWrapper();
/**
*
**
* If true, this account's key must sign any transaction depositing into this account (in
* addition to all withdrawals)
*
*
* .google.protobuf.BoolValue receiverSigRequiredWrapper = 13;
*/
com.google.protobuf.BoolValueOrBuilder getReceiverSigRequiredWrapperOrBuilder();
/**
*
**
* If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
*
*
* .google.protobuf.StringValue memo = 14;
* @return Whether the memo field is set.
*/
boolean hasMemo();
/**
*
**
* If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
*
*
* .google.protobuf.StringValue memo = 14;
* @return The memo.
*/
com.google.protobuf.StringValue getMemo();
/**
*
**
* If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
*
*
* .google.protobuf.StringValue memo = 14;
*/
com.google.protobuf.StringValueOrBuilder getMemoOrBuilder();
/**
*
**
* If set, modify the maximum number of tokens that can be auto-associated with the
* account.<br/>
* If this is set and less than or equal to `used_auto_associations`, or 0, then this account
* MUST manually associate with a token before transacting in that token.<br/>
* This value MAY also be `-1` to indicate no limit.<br/>
* This value MUST NOT be less than `-1`.
*
*
* .google.protobuf.Int32Value max_automatic_token_associations = 15;
* @return Whether the maxAutomaticTokenAssociations field is set.
*/
boolean hasMaxAutomaticTokenAssociations();
/**
*
**
* If set, modify the maximum number of tokens that can be auto-associated with the
* account.<br/>
* If this is set and less than or equal to `used_auto_associations`, or 0, then this account
* MUST manually associate with a token before transacting in that token.<br/>
* This value MAY also be `-1` to indicate no limit.<br/>
* This value MUST NOT be less than `-1`.
*
*
* .google.protobuf.Int32Value max_automatic_token_associations = 15;
* @return The maxAutomaticTokenAssociations.
*/
com.google.protobuf.Int32Value getMaxAutomaticTokenAssociations();
/**
*
**
* If set, modify the maximum number of tokens that can be auto-associated with the
* account.<br/>
* If this is set and less than or equal to `used_auto_associations`, or 0, then this account
* MUST manually associate with a token before transacting in that token.<br/>
* This value MAY also be `-1` to indicate no limit.<br/>
* This value MUST NOT be less than `-1`.
*
*
* .google.protobuf.Int32Value max_automatic_token_associations = 15;
*/
com.google.protobuf.Int32ValueOrBuilder getMaxAutomaticTokenAssociationsOrBuilder();
/**
*
**
* ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
* this field removes this account's staked account ID.
*
*
* .proto.AccountID staked_account_id = 16;
* @return Whether the stakedAccountId field is set.
*/
boolean hasStakedAccountId();
/**
*
**
* ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
* this field removes this account's staked account ID.
*
*
* .proto.AccountID staked_account_id = 16;
* @return The stakedAccountId.
*/
com.hedera.hashgraph.sdk.proto.AccountID getStakedAccountId();
/**
*
**
* ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
* this field removes this account's staked account ID.
*
*
* .proto.AccountID staked_account_id = 16;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getStakedAccountIdOrBuilder();
/**
*
**
* ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
* removes this account's staked node ID.
*
*
* int64 staked_node_id = 17;
* @return Whether the stakedNodeId field is set.
*/
boolean hasStakedNodeId();
/**
*
**
* ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
* removes this account's staked node ID.
*
*
* int64 staked_node_id = 17;
* @return The stakedNodeId.
*/
long getStakedNodeId();
/**
*
**
* If true, the account declines receiving a staking reward. The default value is false.
*
*
* .google.protobuf.BoolValue decline_reward = 18;
* @return Whether the declineReward field is set.
*/
boolean hasDeclineReward();
/**
*
**
* If true, the account declines receiving a staking reward. The default value is false.
*
*
* .google.protobuf.BoolValue decline_reward = 18;
* @return The declineReward.
*/
com.google.protobuf.BoolValue getDeclineReward();
/**
*
**
* If true, the account declines receiving a staking reward. The default value is false.
*
*
* .google.protobuf.BoolValue decline_reward = 18;
*/
com.google.protobuf.BoolValueOrBuilder getDeclineRewardOrBuilder();
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.SendRecordThresholdFieldCase getSendRecordThresholdFieldCase();
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.ReceiveRecordThresholdFieldCase getReceiveRecordThresholdFieldCase();
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.ReceiverSigRequiredFieldCase getReceiverSigRequiredFieldCase();
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.StakedIdCase getStakedIdCase();
}