Class ContractCreateTransactionBody

java.lang.Object
com.google.protobuf.AbstractMessageLite<ContractCreateTransactionBody,ContractCreateTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<ContractCreateTransactionBody,ContractCreateTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, ContractCreateTransactionBodyOrBuilder

@Generated public final class ContractCreateTransactionBody extends com.google.protobuf.GeneratedMessageLite<ContractCreateTransactionBody,ContractCreateTransactionBody.Builder> implements ContractCreateTransactionBodyOrBuilder
 *
 Create a new smart contract.

 If this transaction succeeds, the `ContractID` for the new smart contract
 SHALL be set in the transaction receipt.<br/>
 The contract is defined by the initial bytecode (or `initcode`). The
 `initcode` SHALL be stored either in a previously created file, or in the
 transaction body itself for very small contracts.

 As part of contract creation, the constructor defined for the new smart
 contract SHALL run with the parameters provided in the
 `constructorParameters` field.<br/>
 The gas to "power" that constructor MUST be provided via the `gas` field,
 and SHALL be charged to the payer for this transaction.<br/>
 If the contract _constructor_ stores information, it is charged gas for that
 storage. There is a separate fee in HBAR to maintain that storage until the
 expiration, and that fee SHALL be added to this transaction as part of the
 _transaction fee_, rather than gas.

 ### Block Stream Effects
 A `CreateContractOutput` message SHALL be emitted for each transaction.
 
Protobuf type proto.ContractCreateTransactionBody
  • Field Details

    • FILEID_FIELD_NUMBER

      public static final int FILEID_FIELD_NUMBER
      See Also:
    • INITCODE_FIELD_NUMBER

      public static final int INITCODE_FIELD_NUMBER
      See Also:
    • ADMINKEY_FIELD_NUMBER

      public static final int ADMINKEY_FIELD_NUMBER
      See Also:
    • GAS_FIELD_NUMBER

      public static final int GAS_FIELD_NUMBER
      See Also:
    • INITIALBALANCE_FIELD_NUMBER

      public static final int INITIALBALANCE_FIELD_NUMBER
      See Also:
    • PROXYACCOUNTID_FIELD_NUMBER

      public static final int PROXYACCOUNTID_FIELD_NUMBER
      See Also:
    • AUTORENEWPERIOD_FIELD_NUMBER

      public static final int AUTORENEWPERIOD_FIELD_NUMBER
      See Also:
    • CONSTRUCTORPARAMETERS_FIELD_NUMBER

      public static final int CONSTRUCTORPARAMETERS_FIELD_NUMBER
      See Also:
    • SHARDID_FIELD_NUMBER

      public static final int SHARDID_FIELD_NUMBER
      See Also:
    • REALMID_FIELD_NUMBER

      public static final int REALMID_FIELD_NUMBER
      See Also:
    • NEWREALMADMINKEY_FIELD_NUMBER

      public static final int NEWREALMADMINKEY_FIELD_NUMBER
      See Also:
    • MEMO_FIELD_NUMBER

      public static final int MEMO_FIELD_NUMBER
      See Also:
    • MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER

      public static final int MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER
      See Also:
    • AUTO_RENEW_ACCOUNT_ID_FIELD_NUMBER

      public static final int AUTO_RENEW_ACCOUNT_ID_FIELD_NUMBER
      See Also:
    • STAKED_ACCOUNT_ID_FIELD_NUMBER

      public static final int STAKED_ACCOUNT_ID_FIELD_NUMBER
      See Also:
    • STAKED_NODE_ID_FIELD_NUMBER

      public static final int STAKED_NODE_ID_FIELD_NUMBER
      See Also:
    • DECLINE_REWARD_FIELD_NUMBER

      public static final int DECLINE_REWARD_FIELD_NUMBER
      See Also:
    • HOOK_CREATION_DETAILS_FIELD_NUMBER

      public static final int HOOK_CREATION_DETAILS_FIELD_NUMBER
      See Also:
  • Method Details

    • getInitcodeSourceCase

      public ContractCreateTransactionBody.InitcodeSourceCase getInitcodeSourceCase()
      Specified by:
      getInitcodeSourceCase in interface ContractCreateTransactionBodyOrBuilder
    • getStakedIdCase

      Specified by:
      getStakedIdCase in interface ContractCreateTransactionBodyOrBuilder
    • hasFileID

      public boolean hasFileID()
       *
       The source for the smart contract EVM bytecode.
       <p>
       The file containing the smart contract initcode.
       A copy of the contents SHALL be made and held as `bytes`
       in smart contract state.<br/>
       The contract bytecode is limited in size only by the
       network file size limit.
       
      .proto.FileID fileID = 1;
      Specified by:
      hasFileID in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the fileID field is set.
    • getFileID

      public FileID getFileID()
       *
       The source for the smart contract EVM bytecode.
       <p>
       The file containing the smart contract initcode.
       A copy of the contents SHALL be made and held as `bytes`
       in smart contract state.<br/>
       The contract bytecode is limited in size only by the
       network file size limit.
       
      .proto.FileID fileID = 1;
      Specified by:
      getFileID in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The fileID.
    • hasInitcode

      public boolean hasInitcode()
       *
       The source for the smart contract EVM bytecode.
       <p>
       The bytes of the smart contract initcode. A copy of the contents
       SHALL be made and held as `bytes` in smart contract state.<br/>
       This value is limited in length by the network transaction size
       limit. This entire transaction, including all fields and signatures,
       MUST be less than the network transaction size limit.
       
      bytes initcode = 16;
      Specified by:
      hasInitcode in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the initcode field is set.
    • getInitcode

      public com.google.protobuf.ByteString getInitcode()
       *
       The source for the smart contract EVM bytecode.
       <p>
       The bytes of the smart contract initcode. A copy of the contents
       SHALL be made and held as `bytes` in smart contract state.<br/>
       This value is limited in length by the network transaction size
       limit. This entire transaction, including all fields and signatures,
       MUST be less than the network transaction size limit.
       
      bytes initcode = 16;
      Specified by:
      getInitcode in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The initcode.
    • hasAdminKey

      public boolean hasAdminKey()
       *
       Access control for modification of the smart contract after
       it is created.
       <p>
       If this field is set, that key MUST sign this transaction.<br/>
       If this field is set, that key MUST sign each future transaction to
       update or delete the contract.<br/>
       An updateContract transaction that _only_ extends the topic
       expirationTime (a "manual renewal" transaction) SHALL NOT require
       admin key signature.
       <p>
       A contract without an admin key SHALL be immutable, except for
       expiration and renewal.
       
      .proto.Key adminKey = 3;
      Specified by:
      hasAdminKey in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the adminKey field is set.
    • getAdminKey

      public Key getAdminKey()
       *
       Access control for modification of the smart contract after
       it is created.
       <p>
       If this field is set, that key MUST sign this transaction.<br/>
       If this field is set, that key MUST sign each future transaction to
       update or delete the contract.<br/>
       An updateContract transaction that _only_ extends the topic
       expirationTime (a "manual renewal" transaction) SHALL NOT require
       admin key signature.
       <p>
       A contract without an admin key SHALL be immutable, except for
       expiration and renewal.
       
      .proto.Key adminKey = 3;
      Specified by:
      getAdminKey in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The adminKey.
    • getGas

      public long getGas()
       *
       A maximum limit to the amount of gas to use for the constructor call.
       <p>
       The network SHALL charge the greater of the following, but SHALL NOT
       charge more than the value of this field.
       <ol>
       <li>The actual gas consumed by the smart contract
       constructor call.</li>
       <li>`80%` of this value.</li>
       </ol>
       The `80%` factor encourages reasonable estimation, while allowing for
       some overage to ensure successful execution.
       
      int64 gas = 4;
      Specified by:
      getGas in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The gas.
    • getInitialBalance

      public long getInitialBalance()
       *
       The amount of HBAR to use as an initial balance for the account
       representing the new smart contract.
       <p>
       This value is presented in tinybar
       (10<sup><strong>-</strong>8</sup> HBAR).<br/>
       The HBAR provided here will be withdrawn from the payer account that
       signed this transaction.
       
      int64 initialBalance = 5;
      Specified by:
      getInitialBalance in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The initialBalance.
    • hasProxyAccountID

      @Deprecated public boolean hasProxyAccountID()
      Deprecated.
       *
       Proxy account staking is handled via `staked_id`.
       <p>
       Former field to designate a proxy account for HBAR staking.
       This field MUST NOT be set.
       
      .proto.AccountID proxyAccountID = 6 [deprecated = true];
      Specified by:
      hasProxyAccountID in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the proxyAccountID field is set.
    • getProxyAccountID

      @Deprecated public AccountID getProxyAccountID()
      Deprecated.
       *
       Proxy account staking is handled via `staked_id`.
       <p>
       Former field to designate a proxy account for HBAR staking.
       This field MUST NOT be set.
       
      .proto.AccountID proxyAccountID = 6 [deprecated = true];
      Specified by:
      getProxyAccountID in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The proxyAccountID.
    • hasAutoRenewPeriod

      public boolean hasAutoRenewPeriod()
       *
       The initial lifetime, in seconds, for the smart contract, and the number
       of seconds for which the smart contract will be automatically renewed
       upon expiration.
       <p>
       This value MUST be set.<br/>
       This value MUST be greater than the configured MIN_AUTORENEW_PERIOD.<br/>
       This value MUST be less than the configured MAX_AUTORENEW_PERIOD.<br/>
       
      .proto.Duration autoRenewPeriod = 8;
      Specified by:
      hasAutoRenewPeriod in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the autoRenewPeriod field is set.
    • getAutoRenewPeriod

      public Duration getAutoRenewPeriod()
       *
       The initial lifetime, in seconds, for the smart contract, and the number
       of seconds for which the smart contract will be automatically renewed
       upon expiration.
       <p>
       This value MUST be set.<br/>
       This value MUST be greater than the configured MIN_AUTORENEW_PERIOD.<br/>
       This value MUST be less than the configured MAX_AUTORENEW_PERIOD.<br/>
       
      .proto.Duration autoRenewPeriod = 8;
      Specified by:
      getAutoRenewPeriod in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The autoRenewPeriod.
    • getConstructorParameters

      public com.google.protobuf.ByteString getConstructorParameters()
       *
       An array of bytes containing the EVM-encoded parameters to pass to
       the smart contract constructor defined in the smart contract init
       code provided.
       
      bytes constructorParameters = 9;
      Specified by:
      getConstructorParameters in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The constructorParameters.
    • hasShardID

      public boolean hasShardID()
       *
       <blockquote>Review Question<br/>
       <blockquote>Should this be deprecated?<br/>
       It's never been used and probably never should be used...<br/>
       Shard should be determined by the node the transaction is submitted to.
       </blockquote></blockquote>
       <p>
       The shard in which to create the new smart contract.<br/>
       This value is currently ignored.
       
      .proto.ShardID shardID = 10;
      Specified by:
      hasShardID in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the shardID field is set.
    • getShardID

      public ShardID getShardID()
       *
       <blockquote>Review Question<br/>
       <blockquote>Should this be deprecated?<br/>
       It's never been used and probably never should be used...<br/>
       Shard should be determined by the node the transaction is submitted to.
       </blockquote></blockquote>
       <p>
       The shard in which to create the new smart contract.<br/>
       This value is currently ignored.
       
      .proto.ShardID shardID = 10;
      Specified by:
      getShardID in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The shardID.
    • hasRealmID

      public boolean hasRealmID()
       *
       <blockquote>Review Question<br/>
       <blockquote>Should this be deprecated?<br/>
       It's never been used and probably never should be used...<br/>
       Realm should be determined by node and network parameters.
       </blockquote></blockquote>
       <p>
       The shard/realm in which to create the new smart contract.<br/>
       This value is currently ignored.
       
      .proto.RealmID realmID = 11;
      Specified by:
      hasRealmID in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the realmID field is set.
    • getRealmID

      public RealmID getRealmID()
       *
       <blockquote>Review Question<br/>
       <blockquote>Should this be deprecated?<br/>
       It's never been used and probably never should be used...<br/>
       Realm should be determined by node and network parameters.
       </blockquote></blockquote>
       <p>
       The shard/realm in which to create the new smart contract.<br/>
       This value is currently ignored.
       
      .proto.RealmID realmID = 11;
      Specified by:
      getRealmID in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The realmID.
    • hasNewRealmAdminKey

      public boolean hasNewRealmAdminKey()
       *
       <blockquote>Review Question<br/>
       <blockquote>Should this be deprecated?<br/>
       It's never been used and probably never should be used...<br/>
       If a realm is used, it must already exist; we shouldn't be creating it
       without a separate transaction.</blockquote></blockquote>
       <p>
       This was intended to provide an admin key for any new realm created
       during the creation of the smart contract.<br/>
       This value is currently ignored. a new realm SHALL NOT be created,
       regardless of the value of `realmID`.
       
      .proto.Key newRealmAdminKey = 12;
      Specified by:
      hasNewRealmAdminKey in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the newRealmAdminKey field is set.
    • getNewRealmAdminKey

      public Key getNewRealmAdminKey()
       *
       <blockquote>Review Question<br/>
       <blockquote>Should this be deprecated?<br/>
       It's never been used and probably never should be used...<br/>
       If a realm is used, it must already exist; we shouldn't be creating it
       without a separate transaction.</blockquote></blockquote>
       <p>
       This was intended to provide an admin key for any new realm created
       during the creation of the smart contract.<br/>
       This value is currently ignored. a new realm SHALL NOT be created,
       regardless of the value of `realmID`.
       
      .proto.Key newRealmAdminKey = 12;
      Specified by:
      getNewRealmAdminKey in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The newRealmAdminKey.
    • getMemo

      public String getMemo()
       *
       A short memo for this smart contract.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      string memo = 13;
      Specified by:
      getMemo in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The memo.
    • getMemoBytes

      public com.google.protobuf.ByteString getMemoBytes()
       *
       A short memo for this smart contract.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      string memo = 13;
      Specified by:
      getMemoBytes in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The bytes for memo.
    • getMaxAutomaticTokenAssociations

      public int getMaxAutomaticTokenAssociations()
       *
       The maximum number of tokens that can be auto-associated with this
       smart contract.
       <p>
       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/>
       Following HIP-904 This value may also be `-1` to indicate no limit.<br/>
       This value MUST NOT be less than `-1`.
       
      int32 max_automatic_token_associations = 14;
      Specified by:
      getMaxAutomaticTokenAssociations in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The maxAutomaticTokenAssociations.
    • hasAutoRenewAccountId

      public boolean hasAutoRenewAccountId()
       *
       The id of an account, in the same shard and realm as this smart
       contract, that has signed this transaction, allowing the network to use
       its balance, when needed, to automatically extend this contract's
       expiration time.
       <p>
       If this field is set, that key MUST sign this transaction.<br/>
       If this field is set, then the network SHALL deduct the necessary fees
       from the designated auto renew account, if that account has sufficient
       balance. If the auto renew account does not have sufficient balance,
       then the fees for contract renewal SHALL be deducted from the HBAR
       balance held by the smart contract.<br/>
       If this field is not set, then all renewal fees SHALL be deducted from
       the HBAR balance held by this contract.
       
      .proto.AccountID auto_renew_account_id = 15;
      Specified by:
      hasAutoRenewAccountId in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the autoRenewAccountId field is set.
    • getAutoRenewAccountId

      public AccountID getAutoRenewAccountId()
       *
       The id of an account, in the same shard and realm as this smart
       contract, that has signed this transaction, allowing the network to use
       its balance, when needed, to automatically extend this contract's
       expiration time.
       <p>
       If this field is set, that key MUST sign this transaction.<br/>
       If this field is set, then the network SHALL deduct the necessary fees
       from the designated auto renew account, if that account has sufficient
       balance. If the auto renew account does not have sufficient balance,
       then the fees for contract renewal SHALL be deducted from the HBAR
       balance held by the smart contract.<br/>
       If this field is not set, then all renewal fees SHALL be deducted from
       the HBAR balance held by this contract.
       
      .proto.AccountID auto_renew_account_id = 15;
      Specified by:
      getAutoRenewAccountId in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The autoRenewAccountId.
    • hasStakedAccountId

      public boolean hasStakedAccountId()
       *
       An account ID.
       <p>
       This smart contract SHALL stake its HBAR via this account as proxy.
       
      .proto.AccountID staked_account_id = 17;
      Specified by:
      hasStakedAccountId in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the stakedAccountId field is set.
    • getStakedAccountId

      public AccountID getStakedAccountId()
       *
       An account ID.
       <p>
       This smart contract SHALL stake its HBAR via this account as proxy.
       
      .proto.AccountID staked_account_id = 17;
      Specified by:
      getStakedAccountId in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The stakedAccountId.
    • hasStakedNodeId

      public boolean hasStakedNodeId()
       *
       The ID of a network node.
       <p>
       This smart contract SHALL stake its HBAR to this node.
       <p>
       <blockquote>Note: node IDs do fluctuate as node operators change.
       Most contracts are immutable, and a contract staking to an invalid
       node ID SHALL NOT participate in staking. Immutable contracts MAY
       find it more reliable to use a proxy account for staking
       (via `staked_account_id`) to enable updating the _effective_ staking
       node ID when necessary through updating the proxy
       account.</blockquote>
       
      int64 staked_node_id = 18;
      Specified by:
      hasStakedNodeId in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      Whether the stakedNodeId field is set.
    • getStakedNodeId

      public long getStakedNodeId()
       *
       The ID of a network node.
       <p>
       This smart contract SHALL stake its HBAR to this node.
       <p>
       <blockquote>Note: node IDs do fluctuate as node operators change.
       Most contracts are immutable, and a contract staking to an invalid
       node ID SHALL NOT participate in staking. Immutable contracts MAY
       find it more reliable to use a proxy account for staking
       (via `staked_account_id`) to enable updating the _effective_ staking
       node ID when necessary through updating the proxy
       account.</blockquote>
       
      int64 staked_node_id = 18;
      Specified by:
      getStakedNodeId in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The stakedNodeId.
    • getDeclineReward

      public boolean getDeclineReward()
       *
       A flag indicating that this smart contract declines to receive any
       reward for staking its HBAR balance to help secure the network.
       <p>
       If set to true, this smart contract SHALL NOT receive any reward for
       staking its HBAR balance to help secure the network, regardless of
       staking configuration, but MAY stake HBAR to support the network
       without reward.
       
      bool decline_reward = 19;
      Specified by:
      getDeclineReward in interface ContractCreateTransactionBodyOrBuilder
      Returns:
      The declineReward.
    • getHookCreationDetailsList

      public List<HookCreationDetails> getHookCreationDetailsList()
       *
       Details of hooks to add immediately after creating this contract.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
      Specified by:
      getHookCreationDetailsList in interface ContractCreateTransactionBodyOrBuilder
    • getHookCreationDetailsOrBuilderList

      public List<? extends HookCreationDetailsOrBuilder> getHookCreationDetailsOrBuilderList()
       *
       Details of hooks to add immediately after creating this contract.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • getHookCreationDetailsCount

      public int getHookCreationDetailsCount()
       *
       Details of hooks to add immediately after creating this contract.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
      Specified by:
      getHookCreationDetailsCount in interface ContractCreateTransactionBodyOrBuilder
    • getHookCreationDetails

      public HookCreationDetails getHookCreationDetails(int index)
       *
       Details of hooks to add immediately after creating this contract.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
      Specified by:
      getHookCreationDetails in interface ContractCreateTransactionBodyOrBuilder
    • getHookCreationDetailsOrBuilder

      public HookCreationDetailsOrBuilder getHookCreationDetailsOrBuilder(int index)
       *
       Details of hooks to add immediately after creating this contract.
       
      repeated .com.hedera.hapi.node.hooks.HookCreationDetails hook_creation_details = 20;
    • parseFrom

      public static ContractCreateTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContractCreateTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContractCreateTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContractCreateTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContractCreateTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContractCreateTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContractCreateTransactionBody parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContractCreateTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ContractCreateTransactionBody parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ContractCreateTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContractCreateTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContractCreateTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static ContractCreateTransactionBody.Builder newBuilder()
    • newBuilder

    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<ContractCreateTransactionBody,ContractCreateTransactionBody.Builder>
    • getDefaultInstance

      public static ContractCreateTransactionBody getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ContractCreateTransactionBody> parser()