com.hederahashgraph.api.proto.java.CryptoCreateTransactionBodyOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: crypto_create.proto
package com.hederahashgraph.api.proto.java;
public interface CryptoCreateTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.CryptoCreateTransactionBody)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The key that must sign each transfer out of the account. If receiverSigRequired is true, then
* it must also sign any transfer into the account.
*
*
* .proto.Key key = 1;
* @return Whether the key field is set.
*/
boolean hasKey();
/**
*
**
* The key that must sign each transfer out of the account. If receiverSigRequired is true, then
* it must also sign any transfer into the account.
*
*
* .proto.Key key = 1;
* @return The key.
*/
com.hederahashgraph.api.proto.java.Key getKey();
/**
*
**
* The key that must sign each transfer out of the account. If receiverSigRequired is true, then
* it must also sign any transfer into the account.
*
*
* .proto.Key key = 1;
*/
com.hederahashgraph.api.proto.java.KeyOrBuilder getKeyOrBuilder();
/**
*
**
* The initial number of tinybars to put into the account
*
*
* uint64 initialBalance = 2;
* @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 = 3 [deprecated = true];
* @deprecated
* @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 = 3 [deprecated = true];
* @deprecated
* @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 = 3 [deprecated = true];
*/
@java.lang.Deprecated com.hederahashgraph.api.proto.java.AccountIDOrBuilder getProxyAccountIDOrBuilder();
/**
*
**
* [Deprecated]. The threshold amount (in tinybars) for which an account record is created for
* any send/withdraw transaction
*
*
* uint64 sendRecordThreshold = 6 [deprecated = true];
* @deprecated
* @return The sendRecordThreshold.
*/
@java.lang.Deprecated long getSendRecordThreshold();
/**
*
**
* [Deprecated]. The threshold amount (in tinybars) for which an account record is created for
* any receive/deposit transaction
*
*
* uint64 receiveRecordThreshold = 7 [deprecated = true];
* @deprecated
* @return The receiveRecordThreshold.
*/
@java.lang.Deprecated long getReceiveRecordThreshold();
/**
*
**
* If true, this account's key must sign any transaction depositing into this account (in
* addition to all withdrawals)
*
*
* bool receiverSigRequired = 8;
* @return The receiverSigRequired.
*/
boolean getReceiverSigRequired();
/**
*
**
* The account is charged to extend its expiration date every this many seconds. If it doesn't
* have enough balance, it extends as long as possible. If it is empty when it expires, then it
* is deleted.
*
*
* .proto.Duration autoRenewPeriod = 9;
* @return Whether the autoRenewPeriod field is set.
*/
boolean hasAutoRenewPeriod();
/**
*
**
* The account is charged to extend its expiration date every this many seconds. If it doesn't
* have enough balance, it extends as long as possible. If it is empty when it expires, then it
* is deleted.
*
*
* .proto.Duration autoRenewPeriod = 9;
* @return The autoRenewPeriod.
*/
com.hederahashgraph.api.proto.java.Duration getAutoRenewPeriod();
/**
*
**
* The account is charged to extend its expiration date every this many seconds. If it doesn't
* have enough balance, it extends as long as possible. If it is empty when it expires, then it
* is deleted.
*
*
* .proto.Duration autoRenewPeriod = 9;
*/
com.hederahashgraph.api.proto.java.DurationOrBuilder getAutoRenewPeriodOrBuilder();
/**
*
**
* The shard in which this account is created
*
*
* .proto.ShardID shardID = 10;
* @return Whether the shardID field is set.
*/
boolean hasShardID();
/**
*
**
* The shard in which this account is created
*
*
* .proto.ShardID shardID = 10;
* @return The shardID.
*/
com.hederahashgraph.api.proto.java.ShardID getShardID();
/**
*
**
* The shard in which this account is created
*
*
* .proto.ShardID shardID = 10;
*/
com.hederahashgraph.api.proto.java.ShardIDOrBuilder getShardIDOrBuilder();
/**
*
**
* The realm in which this account is created (leave this null to create a new realm)
*
*
* .proto.RealmID realmID = 11;
* @return Whether the realmID field is set.
*/
boolean hasRealmID();
/**
*
**
* The realm in which this account is created (leave this null to create a new realm)
*
*
* .proto.RealmID realmID = 11;
* @return The realmID.
*/
com.hederahashgraph.api.proto.java.RealmID getRealmID();
/**
*
**
* The realm in which this account is created (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 associated with the account (UTF-8 encoding max 100 bytes)
*
*
* string memo = 13;
* @return The memo.
*/
java.lang.String getMemo();
/**
*
**
* The memo associated with the account (UTF-8 encoding 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 account.<br/>
* If this is less than or equal to `used_auto_associations`, or 0, then this account
* 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 accounts except for auto-created accounts which default -1.
*
*
* int32 max_automatic_token_associations = 14;
* @return The maxAutomaticTokenAssociations.
*/
int getMaxAutomaticTokenAssociations();
/**
*
**
* ID of the account to which this account is staking.
*
*
* .proto.AccountID staked_account_id = 15;
* @return Whether the stakedAccountId field is set.
*/
boolean hasStakedAccountId();
/**
*
**
* ID of the account to which this account is staking.
*
*
* .proto.AccountID staked_account_id = 15;
* @return The stakedAccountId.
*/
com.hederahashgraph.api.proto.java.AccountID getStakedAccountId();
/**
*
**
* ID of the account to which this account is staking.
*
*
* .proto.AccountID staked_account_id = 15;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getStakedAccountIdOrBuilder();
/**
*
**
* ID of the node this account is staked to.
*
*
* int64 staked_node_id = 16;
* @return Whether the stakedNodeId field is set.
*/
boolean hasStakedNodeId();
/**
*
**
* ID of the node this account is staked to.
*
*
* int64 staked_node_id = 16;
* @return The stakedNodeId.
*/
long getStakedNodeId();
/**
*
**
* If true, the account declines receiving a staking reward. The default value is false.
*
*
* bool decline_reward = 17;
* @return The declineReward.
*/
boolean getDeclineReward();
/**
*
**
* The bytes to be used as the account's alias. It will be the
* serialization of a protobuf Key message for an ED25519/ECDSA_SECP256K1 primitive key type. Currently only primitive key bytes are
* supported as the key for an account with an alias. ThresholdKey, KeyList, ContractID, and
* delegatable_contract_id are not supported.
* May also be the EOA 20-byte address to create that is derived from the keccak-256 hash of a ECDSA_SECP256K1 primitive key.
* A given alias can map to at most one account on the network at a time. This uniqueness will be enforced
* relative to aliases currently on the network at alias assignment.
* If a transaction creates an account using an alias, any further crypto transfers to that alias will
* simply be deposited in that account, without creating anything, and with no creation fee being charged.
*
*
* bytes alias = 18;
* @return The alias.
*/
com.google.protobuf.ByteString getAlias();
public com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.StakedIdCase getStakedIdCase();
}