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-jdk7 Show documentation
Show all versions of sdk-jdk7 Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: contract_update.proto
package com.hedera.hashgraph.sdk.proto;
public interface ContractUpdateTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.ContractUpdateTransactionBody)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* 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 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 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();
/**
*
**
* [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();
/**
*
**
* 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();
/**
*
**
* 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();
/**
*
**
* [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 maximum number of tokens that this contract can be
* automatically associated with (i.e., receive air-drops from).
*
*
* .google.protobuf.Int32Value max_automatic_token_associations = 11;
* @return Whether the maxAutomaticTokenAssociations field is set.
*/
boolean hasMaxAutomaticTokenAssociations();
/**
*
**
* If set, the new maximum number of tokens that this contract can be
* automatically associated with (i.e., receive air-drops from).
*
*
* .google.protobuf.Int32Value max_automatic_token_associations = 11;
* @return The maxAutomaticTokenAssociations.
*/
com.google.protobuf.Int32Value getMaxAutomaticTokenAssociations();
/**
*
**
* 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();
/**
*
**
* 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 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();
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.MemoFieldCase getMemoFieldCase();
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.StakedIdCase getStakedIdCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy