Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ScheduleCreateTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ScheduleCreateTransactionBody,ScheduleCreateTransactionBody.Builder
@Generated
public interface ScheduleCreateTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* A `Key` required to delete this schedule.* An expiration time.getMemo()* A short description of the schedule.com.google.protobuf.ByteString* A short description of the schedule.* An account identifier of a `payer` for the scheduled transaction.* A scheduled transaction.boolean* A flag to delay execution until expiration.boolean* A `Key` required to delete this schedule.boolean* An expiration time.boolean* An account identifier of a `payer` for the scheduled transaction.boolean* A scheduled transaction.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasScheduledTransactionBody
boolean hasScheduledTransactionBody()* A scheduled transaction. <p> This value is REQUIRED.<br/> This transaction body MUST be one of the types enabled in the network configuration value `scheduling.whitelist`.
.proto.SchedulableTransactionBody scheduledTransactionBody = 1;- Returns:
- Whether the scheduledTransactionBody field is set.
-
getScheduledTransactionBody
SchedulableTransactionBody getScheduledTransactionBody()* A scheduled transaction. <p> This value is REQUIRED.<br/> This transaction body MUST be one of the types enabled in the network configuration value `scheduling.whitelist`.
.proto.SchedulableTransactionBody scheduledTransactionBody = 1;- Returns:
- The scheduledTransactionBody.
-
getMemo
String getMemo()* A short description of the schedule. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 2;- Returns:
- The memo.
-
getMemoBytes
com.google.protobuf.ByteString getMemoBytes()* A short description of the schedule. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 2;- Returns:
- The bytes for memo.
-
hasAdminKey
boolean hasAdminKey()* A `Key` required to delete this schedule. <p> If this is not set, or is an empty `KeyList`, this schedule SHALL be immutable and SHALL NOT be deleted.
.proto.Key adminKey = 3;- Returns:
- Whether the adminKey field is set.
-
getAdminKey
Key getAdminKey()* A `Key` required to delete this schedule. <p> If this is not set, or is an empty `KeyList`, this schedule SHALL be immutable and SHALL NOT be deleted.
.proto.Key adminKey = 3;- Returns:
- The adminKey.
-
hasPayerAccountID
boolean hasPayerAccountID()* An account identifier of a `payer` for the scheduled transaction. <p> This value MAY be unset. If unset, the `payer` for this `scheduleCreate` transaction SHALL be the `payer` for the scheduled transaction.<br/> If this is set, the identified account SHALL be charged the fees required for the scheduled transaction when it is executed.<br/> If the actual `payer` for the _scheduled_ transaction lacks sufficient HBAR balance to pay service fees for the scheduled transaction _when it executes_, the scheduled transaction SHALL fail with `INSUFFICIENT_PAYER_BALANCE`.<br/>
.proto.AccountID payerAccountID = 4;- Returns:
- Whether the payerAccountID field is set.
-
getPayerAccountID
AccountID getPayerAccountID()* An account identifier of a `payer` for the scheduled transaction. <p> This value MAY be unset. If unset, the `payer` for this `scheduleCreate` transaction SHALL be the `payer` for the scheduled transaction.<br/> If this is set, the identified account SHALL be charged the fees required for the scheduled transaction when it is executed.<br/> If the actual `payer` for the _scheduled_ transaction lacks sufficient HBAR balance to pay service fees for the scheduled transaction _when it executes_, the scheduled transaction SHALL fail with `INSUFFICIENT_PAYER_BALANCE`.<br/>
.proto.AccountID payerAccountID = 4;- Returns:
- The payerAccountID.
-
hasExpirationTime
boolean hasExpirationTime()* An expiration time. <p> If not set, the expiration SHALL default to the current consensus time advanced by either the network configuration value `scheduling.maxExpirationFutureSeconds`, if `wait_for_expiry` is set and "long term" schedules are enabled, or the network configuration value `ledger.scheduleTxExpiryTimeSecs` otherwise.
.proto.Timestamp expiration_time = 5;- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
Timestamp getExpirationTime()* An expiration time. <p> If not set, the expiration SHALL default to the current consensus time advanced by either the network configuration value `scheduling.maxExpirationFutureSeconds`, if `wait_for_expiry` is set and "long term" schedules are enabled, or the network configuration value `ledger.scheduleTxExpiryTimeSecs` otherwise.
.proto.Timestamp expiration_time = 5;- Returns:
- The expirationTime.
-
getWaitForExpiry
boolean getWaitForExpiry()* A flag to delay execution until expiration. <p> If this flag is set the scheduled transaction SHALL NOT be evaluated for execution before the network consensus time matches or exceeds the `expiration_time`.<br/> If this flag is not set, the scheduled transaction SHALL be executed immediately when all required signatures are received, whether in this `scheduleCreate` transaction or a later `scheduleSign` transaction.<br/> This value SHALL NOT be used and MUST NOT be set when the network configuration value `scheduling.longTermEnabled` is not enabled.
bool wait_for_expiry = 13;- Returns:
- The waitForExpiry.
-