All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hederahashgraph.api.proto.java.ContractCreateTransactionBodyOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.57.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: contract_create.proto

package com.hederahashgraph.api.proto.java;

public interface ContractCreateTransactionBodyOrBuilder extends
    // @@protoc_insertion_point(interface_extends:proto.ContractCreateTransactionBody)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   **
   * The file containing the smart contract initcode. A copy will be made and held by the
   * contract instance, and have the same expiration time as the instance.
   * 
* * .proto.FileID fileID = 1; * @return Whether the fileID field is set. */ boolean hasFileID(); /** *
   **
   * The file containing the smart contract initcode. A copy will be made and held by the
   * contract instance, and have the same expiration time as the instance.
   * 
* * .proto.FileID fileID = 1; * @return The fileID. */ com.hederahashgraph.api.proto.java.FileID getFileID(); /** *
   **
   * The file containing the smart contract initcode. A copy will be made and held by the
   * contract instance, and have the same expiration time as the instance.
   * 
* * .proto.FileID fileID = 1; */ com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIDOrBuilder(); /** *
   **
   * The bytes of the smart contract initcode. This is only useful if the smart contract init
   * is less than the hedera transaction limit. In those cases fileID must be used.
   * 
* * bytes initcode = 16; * @return Whether the initcode field is set. */ boolean hasInitcode(); /** *
   **
   * The bytes of the smart contract initcode. This is only useful if the smart contract init
   * is less than the hedera transaction limit. In those cases fileID must be used.
   * 
* * bytes initcode = 16; * @return The initcode. */ com.google.protobuf.ByteString getInitcode(); /** *
   **
   * the state of the instance and its fields can be modified arbitrarily if this key signs a
   * transaction to modify it. If this is null, then such modifications are not possible, and
   * there is no administrator that can override the normal operation of this smart contract
   * instance. Note that if it is created with no admin keys, then there is no administrator to
   * authorize changing the admin keys, so there can never be any admin keys for that instance.
   * 
* * .proto.Key adminKey = 3; * @return Whether the adminKey field is set. */ boolean hasAdminKey(); /** *
   **
   * the state of the instance and its fields can be modified arbitrarily if this key signs a
   * transaction to modify it. If this is null, then such modifications are not possible, and
   * there is no administrator that can override the normal operation of this smart contract
   * instance. Note that if it is created with no admin keys, then there is no administrator to
   * authorize changing the admin keys, so there can never be any admin keys for that instance.
   * 
* * .proto.Key adminKey = 3; * @return The adminKey. */ com.hederahashgraph.api.proto.java.Key getAdminKey(); /** *
   **
   * the state of the instance and its fields can be modified arbitrarily if this key signs a
   * transaction to modify it. If this is null, then such modifications are not possible, and
   * there is no administrator that can override the normal operation of this smart contract
   * instance. Note that if it is created with no admin keys, then there is no administrator to
   * authorize changing the admin keys, so there can never be any admin keys for that instance.
   * 
* * .proto.Key adminKey = 3; */ com.hederahashgraph.api.proto.java.KeyOrBuilder getAdminKeyOrBuilder(); /** *
   **
   * gas to run the constructor
   * 
* * int64 gas = 4; * @return The gas. */ long getGas(); /** *
   **
   * initial number of tinybars to put into the cryptocurrency account associated with and owned
   * by the smart contract
   * 
* * int64 initialBalance = 5; * @return The initialBalance. */ long getInitialBalance(); /** *
   **
   * [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 = 6 [deprecated = true]; * @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 = 6 [deprecated = true]; * @return The proxyAccountID. */ @java.lang.Deprecated com.hederahashgraph.api.proto.java.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 = 6 [deprecated = true]; */ @java.lang.Deprecated com.hederahashgraph.api.proto.java.AccountIDOrBuilder getProxyAccountIDOrBuilder(); /** *
   **
   * the instance will charge its account every this many seconds to renew for this long
   * 
* * .proto.Duration autoRenewPeriod = 8; * @return Whether the autoRenewPeriod field is set. */ boolean hasAutoRenewPeriod(); /** *
   **
   * the instance will charge its account every this many seconds to renew for this long
   * 
* * .proto.Duration autoRenewPeriod = 8; * @return The autoRenewPeriod. */ com.hederahashgraph.api.proto.java.Duration getAutoRenewPeriod(); /** *
   **
   * the instance will charge its account every this many seconds to renew for this long
   * 
* * .proto.Duration autoRenewPeriod = 8; */ com.hederahashgraph.api.proto.java.DurationOrBuilder getAutoRenewPeriodOrBuilder(); /** *
   **
   * parameters to pass to the constructor
   * 
* * bytes constructorParameters = 9; * @return The constructorParameters. */ com.google.protobuf.ByteString getConstructorParameters(); /** *
   **
   * shard in which to create this
   * 
* * .proto.ShardID shardID = 10; * @return Whether the shardID field is set. */ boolean hasShardID(); /** *
   **
   * shard in which to create this
   * 
* * .proto.ShardID shardID = 10; * @return The shardID. */ com.hederahashgraph.api.proto.java.ShardID getShardID(); /** *
   **
   * shard in which to create this
   * 
* * .proto.ShardID shardID = 10; */ com.hederahashgraph.api.proto.java.ShardIDOrBuilder getShardIDOrBuilder(); /** *
   **
   * realm in which to create this (leave this null to create a new realm)
   * 
* * .proto.RealmID realmID = 11; * @return Whether the realmID field is set. */ boolean hasRealmID(); /** *
   **
   * realm in which to create this (leave this null to create a new realm)
   * 
* * .proto.RealmID realmID = 11; * @return The realmID. */ com.hederahashgraph.api.proto.java.RealmID getRealmID(); /** *
   **
   * realm in which to create this (leave this null to create a new realm)
   * 
* * .proto.RealmID realmID = 11; */ com.hederahashgraph.api.proto.java.RealmIDOrBuilder getRealmIDOrBuilder(); /** *
   **
   * if realmID is null, then this the admin key for the new realm that will be created
   * 
* * .proto.Key newRealmAdminKey = 12; * @return Whether the newRealmAdminKey field is set. */ boolean hasNewRealmAdminKey(); /** *
   **
   * if realmID is null, then this the admin key for the new realm that will be created
   * 
* * .proto.Key newRealmAdminKey = 12; * @return The newRealmAdminKey. */ com.hederahashgraph.api.proto.java.Key getNewRealmAdminKey(); /** *
   **
   * if realmID is null, then this the admin key for the new realm that will be created
   * 
* * .proto.Key newRealmAdminKey = 12; */ com.hederahashgraph.api.proto.java.KeyOrBuilder getNewRealmAdminKeyOrBuilder(); /** *
   **
   * the memo that was submitted as part of the contract (max 100 bytes)
   * 
* * string memo = 13; * @return The memo. */ java.lang.String getMemo(); /** *
   **
   * the memo that was submitted as part of the contract (max 100 bytes)
   * 
* * string memo = 13; * @return The bytes for memo. */ com.google.protobuf.ByteString getMemoBytes(); /** *
   **
   * The maximum number of tokens that can be auto-associated with the contract.<br/>
   * If this is 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`.<br/>
   * By default this value is 0 for contracts.
   * 
* * int32 max_automatic_token_associations = 14; * @return The maxAutomaticTokenAssociations. */ int getMaxAutomaticTokenAssociations(); /** *
   **
   * An account to charge for auto-renewal of this contract. If not set, or set to an
   * account with zero hbar balance, the contract's own hbar balance will be used to
   * cover auto-renewal fees.
   * 
* * .proto.AccountID auto_renew_account_id = 15; * @return Whether the autoRenewAccountId field is set. */ boolean hasAutoRenewAccountId(); /** *
   **
   * An account to charge for auto-renewal of this contract. If not set, or set to an
   * account with zero hbar balance, the contract's own hbar balance will be used to
   * cover auto-renewal fees.
   * 
* * .proto.AccountID auto_renew_account_id = 15; * @return The autoRenewAccountId. */ com.hederahashgraph.api.proto.java.AccountID getAutoRenewAccountId(); /** *
   **
   * An account to charge for auto-renewal of this contract. If not set, or set to an
   * account with zero hbar balance, the contract's own hbar balance will be used to
   * cover auto-renewal fees.
   * 
* * .proto.AccountID auto_renew_account_id = 15; */ com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAutoRenewAccountIdOrBuilder(); /** *
   **
   * ID of the account to which this contract is staking.
   * 
* * .proto.AccountID staked_account_id = 17; * @return Whether the stakedAccountId field is set. */ boolean hasStakedAccountId(); /** *
   **
   * ID of the account to which this contract is staking.
   * 
* * .proto.AccountID staked_account_id = 17; * @return The stakedAccountId. */ com.hederahashgraph.api.proto.java.AccountID getStakedAccountId(); /** *
   **
   * ID of the account to which this contract is staking.
   * 
* * .proto.AccountID staked_account_id = 17; */ com.hederahashgraph.api.proto.java.AccountIDOrBuilder getStakedAccountIdOrBuilder(); /** *
   **
   * ID of the node this contract is staked to.
   * 
* * int64 staked_node_id = 18; * @return Whether the stakedNodeId field is set. */ boolean hasStakedNodeId(); /** *
   **
   * ID of the node this contract is staked to.
   * 
* * int64 staked_node_id = 18; * @return The stakedNodeId. */ long getStakedNodeId(); /** *
   **
   * If true, the contract declines receiving a staking reward. The default value is false.
   * 
* * bool decline_reward = 19; * @return The declineReward. */ boolean getDeclineReward(); public com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.InitcodeSourceCase getInitcodeSourceCase(); public com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.StakedIdCase getStakedIdCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy