com.hederahashgraph.api.proto.java.ContractUpdateTransactionBodyOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: contract_update.proto
package com.hederahashgraph.api.proto.java;
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.hederahashgraph.api.proto.java.ContractID getContractID();
/**
*
**
* The id of the contract to be updated
*
*
* .proto.ContractID contractID = 1;
*/
com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Key getAdminKey();
/**
*
**
* The new key to control updates to the contract
*
*
* .proto.Key adminKey = 3;
*/
com.hederahashgraph.api.proto.java.KeyOrBuilder getAdminKeyOrBuilder();
/**
*
**
* [Deprecated] The new id of the account to which the contract is proxy staked
*
*
* .proto.AccountID proxyAccountID = 6 [deprecated = true];
* @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];
* @return The proxyAccountID.
*/
@java.lang.Deprecated com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Duration getAutoRenewPeriod();
/**
*
**
* If an auto-renew account is in use, the lifetime to be added by each auto-renewal.
*
*
* .proto.Duration autoRenewPeriod = 7;
*/
com.hederahashgraph.api.proto.java.DurationOrBuilder getAutoRenewPeriodOrBuilder();
/**
*
**
* This field is unused and will have no impact on the specified smart contract.
*
*
* .proto.FileID fileID = 8 [deprecated = true];
* @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];
* @return The fileID.
*/
@java.lang.Deprecated com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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];
* @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];
* @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];
* @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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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();
public com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.MemoFieldCase getMemoFieldCase();
public com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.StakedIdCase getStakedIdCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy