com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBodyOrBuilder 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: contract_update.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface ContractUpdateTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.ContractUpdateTransactionBody)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The id of the contract to be updated
*
*
* .proto.ContractID contractID = 1;
* @return Whether the contractID field is set.
*/
boolean hasContractID();
/**
*
**
* The id of the contract to be updated
*
*
* .proto.ContractID contractID = 1;
* @return The contractID.
*/
com.hedera.hashgraph.sdk.proto.ContractID getContractID();
/**
*
**
* The id of the contract to be updated
*
*
* .proto.ContractID contractID = 1;
*/
com.hedera.hashgraph.sdk.proto.ContractIDOrBuilder getContractIDOrBuilder();
/**
*
**
* The new expiry of the contract, no earlier than the current expiry (resolves to
* EXPIRATION_REDUCTION_NOT_ALLOWED otherwise)
*
*
* .proto.Timestamp expirationTime = 2;
* @return Whether the expirationTime field is set.
*/
boolean hasExpirationTime();
/**
*
**
* The new expiry of the contract, no earlier than the current expiry (resolves to
* EXPIRATION_REDUCTION_NOT_ALLOWED otherwise)
*
*
* .proto.Timestamp expirationTime = 2;
* @return The expirationTime.
*/
com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime();
/**
*
**
* The new expiry of the contract, no earlier than the current expiry (resolves to
* EXPIRATION_REDUCTION_NOT_ALLOWED otherwise)
*
*
* .proto.Timestamp expirationTime = 2;
*/
com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getExpirationTimeOrBuilder();
/**
*
**
* The new key to control updates to the contract
*
*
* .proto.Key adminKey = 3;
* @return Whether the adminKey field is set.
*/
boolean hasAdminKey();
/**
*
**
* The new key to control updates to the contract
*
*
* .proto.Key adminKey = 3;
* @return The adminKey.
*/
com.hedera.hashgraph.sdk.proto.Key getAdminKey();
/**
*
**
* The new key to control updates to the contract
*
*
* .proto.Key adminKey = 3;
*/
com.hedera.hashgraph.sdk.proto.KeyOrBuilder getAdminKeyOrBuilder();
/**
*
**
* [Deprecated] The new id of the account to which the contract is proxy staked
*
*
* .proto.AccountID proxyAccountID = 6 [deprecated = true];
* @deprecated proto.ContractUpdateTransactionBody.proxyAccountID is deprecated.
* See contract_update.proto;l=72
* @return Whether the proxyAccountID field is set.
*/
@java.lang.Deprecated boolean hasProxyAccountID();
/**
*
**
* [Deprecated] The new id of the account to which the contract is proxy staked
*
*
* .proto.AccountID proxyAccountID = 6 [deprecated = true];
* @deprecated proto.ContractUpdateTransactionBody.proxyAccountID is deprecated.
* See contract_update.proto;l=72
* @return The proxyAccountID.
*/
@java.lang.Deprecated com.hedera.hashgraph.sdk.proto.AccountID getProxyAccountID();
/**
*
**
* [Deprecated] The new id of the account to which the contract is proxy staked
*
*
* .proto.AccountID proxyAccountID = 6 [deprecated = true];
*/
@java.lang.Deprecated com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getProxyAccountIDOrBuilder();
/**
*
**
* If an auto-renew account is in use, the lifetime to be added by each auto-renewal.
*
*
* .proto.Duration autoRenewPeriod = 7;
* @return Whether the autoRenewPeriod field is set.
*/
boolean hasAutoRenewPeriod();
/**
*
**
* If an auto-renew account is in use, the lifetime to be added by each auto-renewal.
*
*
* .proto.Duration autoRenewPeriod = 7;
* @return The autoRenewPeriod.
*/
com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod();
/**
*
**
* If an auto-renew account is in use, the lifetime to be added by each auto-renewal.
*
*
* .proto.Duration autoRenewPeriod = 7;
*/
com.hedera.hashgraph.sdk.proto.DurationOrBuilder getAutoRenewPeriodOrBuilder();
/**
*
**
* This field is unused and will have no impact on the specified smart contract.
*
*
* .proto.FileID fileID = 8 [deprecated = true];
* @deprecated proto.ContractUpdateTransactionBody.fileID is deprecated.
* See contract_update.proto;l=82
* @return Whether the fileID field is set.
*/
@java.lang.Deprecated boolean hasFileID();
/**
*
**
* This field is unused and will have no impact on the specified smart contract.
*
*
* .proto.FileID fileID = 8 [deprecated = true];
* @deprecated proto.ContractUpdateTransactionBody.fileID is deprecated.
* See contract_update.proto;l=82
* @return The fileID.
*/
@java.lang.Deprecated com.hedera.hashgraph.sdk.proto.FileID getFileID();
/**
*
**
* This field is unused and will have no impact on the specified smart contract.
*
*
* .proto.FileID fileID = 8 [deprecated = true];
*/
@java.lang.Deprecated com.hedera.hashgraph.sdk.proto.FileIDOrBuilder getFileIDOrBuilder();
/**
*
**
* [Deprecated] If set with a non-zero length, the new memo to be associated with the account
* (UTF-8 encoding max 100 bytes)
*
*
* string memo = 9 [deprecated = true];
* @deprecated proto.ContractUpdateTransactionBody.memo is deprecated.
* See contract_update.proto;l=92
* @return Whether the memo field is set.
*/
@java.lang.Deprecated boolean hasMemo();
/**
*
**
* [Deprecated] If set with a non-zero length, the new memo to be associated with the account
* (UTF-8 encoding max 100 bytes)
*
*
* string memo = 9 [deprecated = true];
* @deprecated proto.ContractUpdateTransactionBody.memo is deprecated.
* See contract_update.proto;l=92
* @return The memo.
*/
@java.lang.Deprecated java.lang.String getMemo();
/**
*
**
* [Deprecated] If set with a non-zero length, the new memo to be associated with the account
* (UTF-8 encoding max 100 bytes)
*
*
* string memo = 9 [deprecated = true];
* @deprecated proto.ContractUpdateTransactionBody.memo is deprecated.
* See contract_update.proto;l=92
* @return The bytes for memo.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getMemoBytes();
/**
*
**
* If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
*
*
* .google.protobuf.StringValue memoWrapper = 10;
* @return Whether the memoWrapper field is set.
*/
boolean hasMemoWrapper();
/**
*
**
* If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
*
*
* .google.protobuf.StringValue memoWrapper = 10;
* @return The memoWrapper.
*/
com.google.protobuf.StringValue getMemoWrapper();
/**
*
**
* If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
*
*
* .google.protobuf.StringValue memoWrapper = 10;
*/
com.google.protobuf.StringValueOrBuilder getMemoWrapperOrBuilder();
/**
*
**
* If set, modify the maximum number of tokens that can be auto-associated with the
* contract.<br/>
* If this is set and less than or equal to `used_auto_associations`, or 0, then this contract
* 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 = 11;
* @return Whether the maxAutomaticTokenAssociations field is set.
*/
boolean hasMaxAutomaticTokenAssociations();
/**
*
**
* If set, modify the maximum number of tokens that can be auto-associated with the
* contract.<br/>
* If this is set and less than or equal to `used_auto_associations`, or 0, then this contract
* 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 = 11;
* @return The maxAutomaticTokenAssociations.
*/
com.google.protobuf.Int32Value getMaxAutomaticTokenAssociations();
/**
*
**
* If set, modify the maximum number of tokens that can be auto-associated with the
* contract.<br/>
* If this is set and less than or equal to `used_auto_associations`, or 0, then this contract
* 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 = 11;
*/
com.google.protobuf.Int32ValueOrBuilder getMaxAutomaticTokenAssociationsOrBuilder();
/**
*
**
* If set to the sentinel <tt>0.0.0</tt> AccountID, this field removes the contract's auto-renew
* account. Otherwise it updates the contract's auto-renew account to the referenced account.
*
*
* .proto.AccountID auto_renew_account_id = 12;
* @return Whether the autoRenewAccountId field is set.
*/
boolean hasAutoRenewAccountId();
/**
*
**
* If set to the sentinel <tt>0.0.0</tt> AccountID, this field removes the contract's auto-renew
* account. Otherwise it updates the contract's auto-renew account to the referenced account.
*
*
* .proto.AccountID auto_renew_account_id = 12;
* @return The autoRenewAccountId.
*/
com.hedera.hashgraph.sdk.proto.AccountID getAutoRenewAccountId();
/**
*
**
* If set to the sentinel <tt>0.0.0</tt> AccountID, this field removes the contract's auto-renew
* account. Otherwise it updates the contract's auto-renew account to the referenced account.
*
*
* .proto.AccountID auto_renew_account_id = 12;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getAutoRenewAccountIdOrBuilder();
/**
*
**
* ID of the new account to which this contract is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
* this field removes the contract's staked account ID.
*
*
* .proto.AccountID staked_account_id = 13;
* @return Whether the stakedAccountId field is set.
*/
boolean hasStakedAccountId();
/**
*
**
* ID of the new account to which this contract is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
* this field removes the contract's staked account ID.
*
*
* .proto.AccountID staked_account_id = 13;
* @return The stakedAccountId.
*/
com.hedera.hashgraph.sdk.proto.AccountID getStakedAccountId();
/**
*
**
* ID of the new account to which this contract is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
* this field removes the contract's staked account ID.
*
*
* .proto.AccountID staked_account_id = 13;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getStakedAccountIdOrBuilder();
/**
*
**
* ID of the new node this contract is staked to. If set to the sentinel <tt>-1</tt>, this field
* removes the contract's staked node ID.
*
*
* int64 staked_node_id = 14;
* @return Whether the stakedNodeId field is set.
*/
boolean hasStakedNodeId();
/**
*
**
* ID of the new node this contract is staked to. If set to the sentinel <tt>-1</tt>, this field
* removes the contract's staked node ID.
*
*
* int64 staked_node_id = 14;
* @return The stakedNodeId.
*/
long getStakedNodeId();
/**
*
**
* If true, the contract declines receiving a staking reward.
*
*
* .google.protobuf.BoolValue decline_reward = 15;
* @return Whether the declineReward field is set.
*/
boolean hasDeclineReward();
/**
*
**
* If true, the contract declines receiving a staking reward.
*
*
* .google.protobuf.BoolValue decline_reward = 15;
* @return The declineReward.
*/
com.google.protobuf.BoolValue getDeclineReward();
/**
*
**
* If true, the contract declines receiving a staking reward.
*
*
* .google.protobuf.BoolValue decline_reward = 15;
*/
com.google.protobuf.BoolValueOrBuilder getDeclineRewardOrBuilder();
com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.MemoFieldCase getMemoFieldCase();
com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.StakedIdCase getStakedIdCase();
}