com.hedera.hashgraph.sdk.proto.ScheduleOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: schedule.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface ScheduleOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.Schedule)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* This schedule's unique ID within the global network state.
*
*
* .proto.ScheduleID schedule_id = 1;
* @return Whether the scheduleId field is set.
*/
boolean hasScheduleId();
/**
*
**
* This schedule's unique ID within the global network state.
*
*
* .proto.ScheduleID schedule_id = 1;
* @return The scheduleId.
*/
com.hedera.hashgraph.sdk.proto.ScheduleID getScheduleId();
/**
*
**
* This schedule's unique ID within the global network state.
*
*
* .proto.ScheduleID schedule_id = 1;
*/
com.hedera.hashgraph.sdk.proto.ScheduleIDOrBuilder getScheduleIdOrBuilder();
/**
*
**
* The schedule deleted flag
* A schedule will either be executed or deleted, but never both.
*
*
* bool deleted = 2;
* @return The deleted.
*/
boolean getDeleted();
/**
*
**
* The schedule executed flag
* A schedule will either be executed or deleted, but never both.
*
*
* bool executed = 3;
* @return The executed.
*/
boolean getExecuted();
/**
*
**
* The schedule flag to wait for expiration
* A schedule will be executed immediately when all necessary signatures are gathered, unless
* this flag is set. If this flag is set, the schedule will wait until the consensus time
* reaches expiration_time_provided, when signatures will again be verified, and if all
* required signatures are present at that time, the schedule will be executed. Otherwise
* the schedule will expire without execution.
* Note that a schedule is always removed from state when it expires, regardless of whether it
* was executed or not.
*
*
* bool wait_for_expiry = 4;
* @return The waitForExpiry.
*/
boolean getWaitForExpiry();
/**
*
**
* The memo associated with this schedule.
*
*
* string memo = 5;
* @return The memo.
*/
java.lang.String getMemo();
/**
*
**
* The memo associated with this schedule.
*
*
* string memo = 5;
* @return The bytes for memo.
*/
com.google.protobuf.ByteString
getMemoBytes();
/**
*
**
* The schedule account for this schedule. This is the account that submitted the original
* ScheduleCreate transaction.
*
*
* .proto.AccountID scheduler_account_id = 6;
* @return Whether the schedulerAccountId field is set.
*/
boolean hasSchedulerAccountId();
/**
*
**
* The schedule account for this schedule. This is the account that submitted the original
* ScheduleCreate transaction.
*
*
* .proto.AccountID scheduler_account_id = 6;
* @return The schedulerAccountId.
*/
com.hedera.hashgraph.sdk.proto.AccountID getSchedulerAccountId();
/**
*
**
* The schedule account for this schedule. This is the account that submitted the original
* ScheduleCreate transaction.
*
*
* .proto.AccountID scheduler_account_id = 6;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getSchedulerAccountIdOrBuilder();
/**
*
**
* The explicit payer account for the scheduled transaction.
* This account is added to the accounts that must sign the schedule before it will execute.
*
*
* .proto.AccountID payer_account_id = 7;
* @return Whether the payerAccountId field is set.
*/
boolean hasPayerAccountId();
/**
*
**
* The explicit payer account for the scheduled transaction.
* This account is added to the accounts that must sign the schedule before it will execute.
*
*
* .proto.AccountID payer_account_id = 7;
* @return The payerAccountId.
*/
com.hedera.hashgraph.sdk.proto.AccountID getPayerAccountId();
/**
*
**
* The explicit payer account for the scheduled transaction.
* This account is added to the accounts that must sign the schedule before it will execute.
*
*
* .proto.AccountID payer_account_id = 7;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getPayerAccountIdOrBuilder();
/**
*
**
* The admin key for this schedule.
* If this is not set, then the schedule cannot be deleted.
*
*
* .proto.Key admin_key = 8;
* @return Whether the adminKey field is set.
*/
boolean hasAdminKey();
/**
*
**
* The admin key for this schedule.
* If this is not set, then the schedule cannot be deleted.
*
*
* .proto.Key admin_key = 8;
* @return The adminKey.
*/
com.hedera.hashgraph.sdk.proto.Key getAdminKey();
/**
*
**
* The admin key for this schedule.
* If this is not set, then the schedule cannot be deleted.
*
*
* .proto.Key admin_key = 8;
*/
com.hedera.hashgraph.sdk.proto.KeyOrBuilder getAdminKeyOrBuilder();
/**
*
**
* The transaction valid start value from the transaction that created this schedule.
*
*
* .proto.Timestamp schedule_valid_start = 9;
* @return Whether the scheduleValidStart field is set.
*/
boolean hasScheduleValidStart();
/**
*
**
* The transaction valid start value from the transaction that created this schedule.
*
*
* .proto.Timestamp schedule_valid_start = 9;
* @return The scheduleValidStart.
*/
com.hedera.hashgraph.sdk.proto.Timestamp getScheduleValidStart();
/**
*
**
* The transaction valid start value from the transaction that created this schedule.
*
*
* .proto.Timestamp schedule_valid_start = 9;
*/
com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getScheduleValidStartOrBuilder();
/**
*
**
* The requested expiration time of the schedule as provided by the user.
* The actual calculated expiration time may be "earlier" than this, but will not be later.
*
*
* int64 provided_expiration_second = 10;
* @return The providedExpirationSecond.
*/
long getProvidedExpirationSecond();
/**
*
**
* The calculated expiration time of the schedule. This is calculated based on the requested
* expiration time from the create transaction, and the maximum expiration permitted by the
* network.
* The schedule will be removed from global network state after the network reaches a consensus
* time greater than or equal to this value.
*
*
* int64 calculated_expiration_second = 11;
* @return The calculatedExpirationSecond.
*/
long getCalculatedExpirationSecond();
/**
*
**
* The consensus timestamp of the transaction that executed or deleted this schedule.
*
*
* .proto.Timestamp resolution_time = 12;
* @return Whether the resolutionTime field is set.
*/
boolean hasResolutionTime();
/**
*
**
* The consensus timestamp of the transaction that executed or deleted this schedule.
*
*
* .proto.Timestamp resolution_time = 12;
* @return The resolutionTime.
*/
com.hedera.hashgraph.sdk.proto.Timestamp getResolutionTime();
/**
*
**
* The consensus timestamp of the transaction that executed or deleted this schedule.
*
*
* .proto.Timestamp resolution_time = 12;
*/
com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getResolutionTimeOrBuilder();
/**
*
**
* The scheduled transaction to execute.
*
*
* .proto.SchedulableTransactionBody scheduled_transaction = 13;
* @return Whether the scheduledTransaction field is set.
*/
boolean hasScheduledTransaction();
/**
*
**
* The scheduled transaction to execute.
*
*
* .proto.SchedulableTransactionBody scheduled_transaction = 13;
* @return The scheduledTransaction.
*/
com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody getScheduledTransaction();
/**
*
**
* The scheduled transaction to execute.
*
*
* .proto.SchedulableTransactionBody scheduled_transaction = 13;
*/
com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOrBuilder getScheduledTransactionOrBuilder();
/**
*
**
* The full transaction that created this schedule. This is primarily used for duplicate
* schedule create detection. This is also the source of the parent transaction ID, from
* which the child transaction ID is derived.
*
*
* .proto.TransactionBody original_create_transaction = 14;
* @return Whether the originalCreateTransaction field is set.
*/
boolean hasOriginalCreateTransaction();
/**
*
**
* The full transaction that created this schedule. This is primarily used for duplicate
* schedule create detection. This is also the source of the parent transaction ID, from
* which the child transaction ID is derived.
*
*
* .proto.TransactionBody original_create_transaction = 14;
* @return The originalCreateTransaction.
*/
com.hedera.hashgraph.sdk.proto.TransactionBody getOriginalCreateTransaction();
/**
*
**
* The full transaction that created this schedule. This is primarily used for duplicate
* schedule create detection. This is also the source of the parent transaction ID, from
* which the child transaction ID is derived.
*
*
* .proto.TransactionBody original_create_transaction = 14;
*/
com.hedera.hashgraph.sdk.proto.TransactionBodyOrBuilder getOriginalCreateTransactionOrBuilder();
/**
*
**
* All the primitive keys that have already signed this schedule.
* The scheduled transaction will not be executed before this list is
* sufficient to "activate" the required keys for the scheduled transaction.
*
*
* repeated .proto.Key signatories = 15;
*/
java.util.List
getSignatoriesList();
/**
*
**
* All the primitive keys that have already signed this schedule.
* The scheduled transaction will not be executed before this list is
* sufficient to "activate" the required keys for the scheduled transaction.
*
*
* repeated .proto.Key signatories = 15;
*/
com.hedera.hashgraph.sdk.proto.Key getSignatories(int index);
/**
*
**
* All the primitive keys that have already signed this schedule.
* The scheduled transaction will not be executed before this list is
* sufficient to "activate" the required keys for the scheduled transaction.
*
*
* repeated .proto.Key signatories = 15;
*/
int getSignatoriesCount();
/**
*
**
* All the primitive keys that have already signed this schedule.
* The scheduled transaction will not be executed before this list is
* sufficient to "activate" the required keys for the scheduled transaction.
*
*
* repeated .proto.Key signatories = 15;
*/
java.util.List extends com.hedera.hashgraph.sdk.proto.KeyOrBuilder>
getSignatoriesOrBuilderList();
/**
*
**
* All the primitive keys that have already signed this schedule.
* The scheduled transaction will not be executed before this list is
* sufficient to "activate" the required keys for the scheduled transaction.
*
*
* repeated .proto.Key signatories = 15;
*/
com.hedera.hashgraph.sdk.proto.KeyOrBuilder getSignatoriesOrBuilder(
int index);
}