Class Schedule.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Schedule,Schedule.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Schedule,Schedule.Builder>
com.hedera.hashgraph.sdk.proto.Schedule.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, ScheduleOrBuilder, Cloneable
Enclosing class:
Schedule

public static final class Schedule.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Schedule,Schedule.Builder> implements ScheduleOrBuilder
 *
 Representation of a Hedera Schedule entry in the network Merkle tree.<br/>
 A Schedule represents a request to run a transaction _at some future time_
 either when the `Schedule` expires (if long term schedules are enabled and
 `wait_for_expiry` is true) or as soon as the `Schedule` has gathered
 enough signatures via any combination of the `scheduleCreate` and 0 or more
 subsequent `scheduleSign` transactions.
 
Protobuf type proto.Schedule
  • Method Details

    • hasScheduleId

      public boolean hasScheduleId()
       *
       This schedule's ID within the global network state.
       <p>
       This value SHALL be unique within the network.
       
      .proto.ScheduleID schedule_id = 1;
      Specified by:
      hasScheduleId in interface ScheduleOrBuilder
      Returns:
      Whether the scheduleId field is set.
    • getScheduleId

      public ScheduleID getScheduleId()
       *
       This schedule's ID within the global network state.
       <p>
       This value SHALL be unique within the network.
       
      .proto.ScheduleID schedule_id = 1;
      Specified by:
      getScheduleId in interface ScheduleOrBuilder
      Returns:
      The scheduleId.
    • setScheduleId

      public Schedule.Builder setScheduleId(ScheduleID value)
       *
       This schedule's ID within the global network state.
       <p>
       This value SHALL be unique within the network.
       
      .proto.ScheduleID schedule_id = 1;
    • setScheduleId

      public Schedule.Builder setScheduleId(ScheduleID.Builder builderForValue)
       *
       This schedule's ID within the global network state.
       <p>
       This value SHALL be unique within the network.
       
      .proto.ScheduleID schedule_id = 1;
    • mergeScheduleId

      public Schedule.Builder mergeScheduleId(ScheduleID value)
       *
       This schedule's ID within the global network state.
       <p>
       This value SHALL be unique within the network.
       
      .proto.ScheduleID schedule_id = 1;
    • clearScheduleId

      public Schedule.Builder clearScheduleId()
       *
       This schedule's ID within the global network state.
       <p>
       This value SHALL be unique within the network.
       
      .proto.ScheduleID schedule_id = 1;
    • getDeleted

      public boolean getDeleted()
       *
       A flag indicating this schedule is deleted.
       <p>
       A schedule SHALL either be executed or deleted, but never both.
       
      bool deleted = 2;
      Specified by:
      getDeleted in interface ScheduleOrBuilder
      Returns:
      The deleted.
    • setDeleted

      public Schedule.Builder setDeleted(boolean value)
       *
       A flag indicating this schedule is deleted.
       <p>
       A schedule SHALL either be executed or deleted, but never both.
       
      bool deleted = 2;
      Parameters:
      value - The deleted to set.
      Returns:
      This builder for chaining.
    • clearDeleted

      public Schedule.Builder clearDeleted()
       *
       A flag indicating this schedule is deleted.
       <p>
       A schedule SHALL either be executed or deleted, but never both.
       
      bool deleted = 2;
      Returns:
      This builder for chaining.
    • getExecuted

      public boolean getExecuted()
       *
       A flag indicating this schedule has executed.
       <p>
       A schedule SHALL either be executed or deleted, but never both.
       
      bool executed = 3;
      Specified by:
      getExecuted in interface ScheduleOrBuilder
      Returns:
      The executed.
    • setExecuted

      public Schedule.Builder setExecuted(boolean value)
       *
       A flag indicating this schedule has executed.
       <p>
       A schedule SHALL either be executed or deleted, but never both.
       
      bool executed = 3;
      Parameters:
      value - The executed to set.
      Returns:
      This builder for chaining.
    • clearExecuted

      public Schedule.Builder clearExecuted()
       *
       A flag indicating this schedule has executed.
       <p>
       A schedule SHALL either be executed or deleted, but never both.
       
      bool executed = 3;
      Returns:
      This builder for chaining.
    • getWaitForExpiry

      public boolean getWaitForExpiry()
       *
       A schedule flag to wait for expiration before executing.
       <p>
       A schedule SHALL be executed immediately when all necessary signatures
       are gathered, unless this flag is set.<br/>
       If this flag is set, the schedule SHALL wait until the consensus time
       reaches `expiration_time_provided`, when signatures MUST again be
       verified. If all required signatures are present at that time, the
       schedule SHALL be executed. Otherwise the schedule SHALL expire without
       execution.
       <p>
       Note that a schedule is always removed from state after it expires,
       regardless of whether it was executed or not.
       
      bool wait_for_expiry = 4;
      Specified by:
      getWaitForExpiry in interface ScheduleOrBuilder
      Returns:
      The waitForExpiry.
    • setWaitForExpiry

      public Schedule.Builder setWaitForExpiry(boolean value)
       *
       A schedule flag to wait for expiration before executing.
       <p>
       A schedule SHALL be executed immediately when all necessary signatures
       are gathered, unless this flag is set.<br/>
       If this flag is set, the schedule SHALL wait until the consensus time
       reaches `expiration_time_provided`, when signatures MUST again be
       verified. If all required signatures are present at that time, the
       schedule SHALL be executed. Otherwise the schedule SHALL expire without
       execution.
       <p>
       Note that a schedule is always removed from state after it expires,
       regardless of whether it was executed or not.
       
      bool wait_for_expiry = 4;
      Parameters:
      value - The waitForExpiry to set.
      Returns:
      This builder for chaining.
    • clearWaitForExpiry

      public Schedule.Builder clearWaitForExpiry()
       *
       A schedule flag to wait for expiration before executing.
       <p>
       A schedule SHALL be executed immediately when all necessary signatures
       are gathered, unless this flag is set.<br/>
       If this flag is set, the schedule SHALL wait until the consensus time
       reaches `expiration_time_provided`, when signatures MUST again be
       verified. If all required signatures are present at that time, the
       schedule SHALL be executed. Otherwise the schedule SHALL expire without
       execution.
       <p>
       Note that a schedule is always removed from state after it expires,
       regardless of whether it was executed or not.
       
      bool wait_for_expiry = 4;
      Returns:
      This builder for chaining.
    • getMemo

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

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

      public Schedule.Builder setMemo(String value)
       *
       A short description for this schedule.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      string memo = 5;
      Parameters:
      value - The memo to set.
      Returns:
      This builder for chaining.
    • clearMemo

      public Schedule.Builder clearMemo()
       *
       A short description for this schedule.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      string memo = 5;
      Returns:
      This builder for chaining.
    • setMemoBytes

      public Schedule.Builder setMemoBytes(com.google.protobuf.ByteString value)
       *
       A short description for this schedule.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      string memo = 5;
      Parameters:
      value - The bytes for memo to set.
      Returns:
      This builder for chaining.
    • hasSchedulerAccountId

      public boolean hasSchedulerAccountId()
       *
       The scheduler account for this schedule.
       <p>
       This SHALL be the account that submitted the original
       ScheduleCreate transaction.
       
      .proto.AccountID scheduler_account_id = 6;
      Specified by:
      hasSchedulerAccountId in interface ScheduleOrBuilder
      Returns:
      Whether the schedulerAccountId field is set.
    • getSchedulerAccountId

      public AccountID getSchedulerAccountId()
       *
       The scheduler account for this schedule.
       <p>
       This SHALL be the account that submitted the original
       ScheduleCreate transaction.
       
      .proto.AccountID scheduler_account_id = 6;
      Specified by:
      getSchedulerAccountId in interface ScheduleOrBuilder
      Returns:
      The schedulerAccountId.
    • setSchedulerAccountId

      public Schedule.Builder setSchedulerAccountId(AccountID value)
       *
       The scheduler account for this schedule.
       <p>
       This SHALL be the account that submitted the original
       ScheduleCreate transaction.
       
      .proto.AccountID scheduler_account_id = 6;
    • setSchedulerAccountId

      public Schedule.Builder setSchedulerAccountId(AccountID.Builder builderForValue)
       *
       The scheduler account for this schedule.
       <p>
       This SHALL be the account that submitted the original
       ScheduleCreate transaction.
       
      .proto.AccountID scheduler_account_id = 6;
    • mergeSchedulerAccountId

      public Schedule.Builder mergeSchedulerAccountId(AccountID value)
       *
       The scheduler account for this schedule.
       <p>
       This SHALL be the account that submitted the original
       ScheduleCreate transaction.
       
      .proto.AccountID scheduler_account_id = 6;
    • clearSchedulerAccountId

      public Schedule.Builder clearSchedulerAccountId()
       *
       The scheduler account for this schedule.
       <p>
       This SHALL be the account that submitted the original
       ScheduleCreate transaction.
       
      .proto.AccountID scheduler_account_id = 6;
    • hasPayerAccountId

      public boolean hasPayerAccountId()
       *
       The explicit payer account for the scheduled transaction.
       <p>
       If set, this account SHALL be added to the accounts that MUST sign the
       schedule before it may execute.
       
      .proto.AccountID payer_account_id = 7;
      Specified by:
      hasPayerAccountId in interface ScheduleOrBuilder
      Returns:
      Whether the payerAccountId field is set.
    • getPayerAccountId

      public AccountID getPayerAccountId()
       *
       The explicit payer account for the scheduled transaction.
       <p>
       If set, this account SHALL be added to the accounts that MUST sign the
       schedule before it may execute.
       
      .proto.AccountID payer_account_id = 7;
      Specified by:
      getPayerAccountId in interface ScheduleOrBuilder
      Returns:
      The payerAccountId.
    • setPayerAccountId

      public Schedule.Builder setPayerAccountId(AccountID value)
       *
       The explicit payer account for the scheduled transaction.
       <p>
       If set, this account SHALL be added to the accounts that MUST sign the
       schedule before it may execute.
       
      .proto.AccountID payer_account_id = 7;
    • setPayerAccountId

      public Schedule.Builder setPayerAccountId(AccountID.Builder builderForValue)
       *
       The explicit payer account for the scheduled transaction.
       <p>
       If set, this account SHALL be added to the accounts that MUST sign the
       schedule before it may execute.
       
      .proto.AccountID payer_account_id = 7;
    • mergePayerAccountId

      public Schedule.Builder mergePayerAccountId(AccountID value)
       *
       The explicit payer account for the scheduled transaction.
       <p>
       If set, this account SHALL be added to the accounts that MUST sign the
       schedule before it may execute.
       
      .proto.AccountID payer_account_id = 7;
    • clearPayerAccountId

      public Schedule.Builder clearPayerAccountId()
       *
       The explicit payer account for the scheduled transaction.
       <p>
       If set, this account SHALL be added to the accounts that MUST sign the
       schedule before it may execute.
       
      .proto.AccountID payer_account_id = 7;
    • hasAdminKey

      public boolean hasAdminKey()
       *
       The admin key for this schedule.
       <p>
       This key, if set, MUST sign any `schedule_delete` transaction.<br/>
       If not set, then this schedule SHALL NOT be deleted, and any
       `schedule_delete` transaction for this schedule SHALL fail.
       
      .proto.Key admin_key = 8;
      Specified by:
      hasAdminKey in interface ScheduleOrBuilder
      Returns:
      Whether the adminKey field is set.
    • getAdminKey

      public Key getAdminKey()
       *
       The admin key for this schedule.
       <p>
       This key, if set, MUST sign any `schedule_delete` transaction.<br/>
       If not set, then this schedule SHALL NOT be deleted, and any
       `schedule_delete` transaction for this schedule SHALL fail.
       
      .proto.Key admin_key = 8;
      Specified by:
      getAdminKey in interface ScheduleOrBuilder
      Returns:
      The adminKey.
    • setAdminKey

      public Schedule.Builder setAdminKey(Key value)
       *
       The admin key for this schedule.
       <p>
       This key, if set, MUST sign any `schedule_delete` transaction.<br/>
       If not set, then this schedule SHALL NOT be deleted, and any
       `schedule_delete` transaction for this schedule SHALL fail.
       
      .proto.Key admin_key = 8;
    • setAdminKey

      public Schedule.Builder setAdminKey(Key.Builder builderForValue)
       *
       The admin key for this schedule.
       <p>
       This key, if set, MUST sign any `schedule_delete` transaction.<br/>
       If not set, then this schedule SHALL NOT be deleted, and any
       `schedule_delete` transaction for this schedule SHALL fail.
       
      .proto.Key admin_key = 8;
    • mergeAdminKey

      public Schedule.Builder mergeAdminKey(Key value)
       *
       The admin key for this schedule.
       <p>
       This key, if set, MUST sign any `schedule_delete` transaction.<br/>
       If not set, then this schedule SHALL NOT be deleted, and any
       `schedule_delete` transaction for this schedule SHALL fail.
       
      .proto.Key admin_key = 8;
    • clearAdminKey

      public Schedule.Builder clearAdminKey()
       *
       The admin key for this schedule.
       <p>
       This key, if set, MUST sign any `schedule_delete` transaction.<br/>
       If not set, then this schedule SHALL NOT be deleted, and any
       `schedule_delete` transaction for this schedule SHALL fail.
       
      .proto.Key admin_key = 8;
    • hasScheduleValidStart

      public boolean hasScheduleValidStart()
       *
       The transaction valid start value for this schedule.
       <p>
       This MUST be set, and SHALL be copied from the `TransactionID` of
       the original `schedule_create` transaction.
       
      .proto.Timestamp schedule_valid_start = 9;
      Specified by:
      hasScheduleValidStart in interface ScheduleOrBuilder
      Returns:
      Whether the scheduleValidStart field is set.
    • getScheduleValidStart

      public Timestamp getScheduleValidStart()
       *
       The transaction valid start value for this schedule.
       <p>
       This MUST be set, and SHALL be copied from the `TransactionID` of
       the original `schedule_create` transaction.
       
      .proto.Timestamp schedule_valid_start = 9;
      Specified by:
      getScheduleValidStart in interface ScheduleOrBuilder
      Returns:
      The scheduleValidStart.
    • setScheduleValidStart

      public Schedule.Builder setScheduleValidStart(Timestamp value)
       *
       The transaction valid start value for this schedule.
       <p>
       This MUST be set, and SHALL be copied from the `TransactionID` of
       the original `schedule_create` transaction.
       
      .proto.Timestamp schedule_valid_start = 9;
    • setScheduleValidStart

      public Schedule.Builder setScheduleValidStart(Timestamp.Builder builderForValue)
       *
       The transaction valid start value for this schedule.
       <p>
       This MUST be set, and SHALL be copied from the `TransactionID` of
       the original `schedule_create` transaction.
       
      .proto.Timestamp schedule_valid_start = 9;
    • mergeScheduleValidStart

      public Schedule.Builder mergeScheduleValidStart(Timestamp value)
       *
       The transaction valid start value for this schedule.
       <p>
       This MUST be set, and SHALL be copied from the `TransactionID` of
       the original `schedule_create` transaction.
       
      .proto.Timestamp schedule_valid_start = 9;
    • clearScheduleValidStart

      public Schedule.Builder clearScheduleValidStart()
       *
       The transaction valid start value for this schedule.
       <p>
       This MUST be set, and SHALL be copied from the `TransactionID` of
       the original `schedule_create` transaction.
       
      .proto.Timestamp schedule_valid_start = 9;
    • getProvidedExpirationSecond

      public long getProvidedExpirationSecond()
       *
       The requested expiration time of the schedule if provided by the user.
       <p>
       If not provided in the `schedule_create` transaction, this SHALL be set
       to a default value equal to the current consensus time, forward offset by
       the maximum schedule expiration time in the current dynamic network
       configuration (typically 62 days).<br/>
       The actual `calculated_expiration_second` MAY be "earlier" than this,
       but MUST NOT be later.
       
      int64 provided_expiration_second = 10;
      Specified by:
      getProvidedExpirationSecond in interface ScheduleOrBuilder
      Returns:
      The providedExpirationSecond.
    • setProvidedExpirationSecond

      public Schedule.Builder setProvidedExpirationSecond(long value)
       *
       The requested expiration time of the schedule if provided by the user.
       <p>
       If not provided in the `schedule_create` transaction, this SHALL be set
       to a default value equal to the current consensus time, forward offset by
       the maximum schedule expiration time in the current dynamic network
       configuration (typically 62 days).<br/>
       The actual `calculated_expiration_second` MAY be "earlier" than this,
       but MUST NOT be later.
       
      int64 provided_expiration_second = 10;
      Parameters:
      value - The providedExpirationSecond to set.
      Returns:
      This builder for chaining.
    • clearProvidedExpirationSecond

      public Schedule.Builder clearProvidedExpirationSecond()
       *
       The requested expiration time of the schedule if provided by the user.
       <p>
       If not provided in the `schedule_create` transaction, this SHALL be set
       to a default value equal to the current consensus time, forward offset by
       the maximum schedule expiration time in the current dynamic network
       configuration (typically 62 days).<br/>
       The actual `calculated_expiration_second` MAY be "earlier" than this,
       but MUST NOT be later.
       
      int64 provided_expiration_second = 10;
      Returns:
      This builder for chaining.
    • getCalculatedExpirationSecond

      public long getCalculatedExpirationSecond()
       *
       The calculated expiration time of the schedule.
       <p>
       This SHALL be calculated from the requested expiration time in the
       `schedule_create` transaction, and limited by the maximum expiration time
       in the current dynamic network configuration (typically 62 days).
       <p>
       The schedule SHALL 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;
      Specified by:
      getCalculatedExpirationSecond in interface ScheduleOrBuilder
      Returns:
      The calculatedExpirationSecond.
    • setCalculatedExpirationSecond

      public Schedule.Builder setCalculatedExpirationSecond(long value)
       *
       The calculated expiration time of the schedule.
       <p>
       This SHALL be calculated from the requested expiration time in the
       `schedule_create` transaction, and limited by the maximum expiration time
       in the current dynamic network configuration (typically 62 days).
       <p>
       The schedule SHALL 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;
      Parameters:
      value - The calculatedExpirationSecond to set.
      Returns:
      This builder for chaining.
    • clearCalculatedExpirationSecond

      public Schedule.Builder clearCalculatedExpirationSecond()
       *
       The calculated expiration time of the schedule.
       <p>
       This SHALL be calculated from the requested expiration time in the
       `schedule_create` transaction, and limited by the maximum expiration time
       in the current dynamic network configuration (typically 62 days).
       <p>
       The schedule SHALL 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;
      Returns:
      This builder for chaining.
    • hasResolutionTime

      public boolean hasResolutionTime()
       *
       The consensus timestamp of the transaction that executed or deleted this schedule.
       <p>
       This value SHALL be set to the `current_consensus_time` when a
       `schedule_delete` transaction is completed.<br/>
       This value SHALL be set to the `current_consensus_time` when the
       scheduled transaction is executed, either as a result of gathering the
       final required signature, or, if long-term schedule execution is enabled,
       at the requested execution time.
       
      .proto.Timestamp resolution_time = 12;
      Specified by:
      hasResolutionTime in interface ScheduleOrBuilder
      Returns:
      Whether the resolutionTime field is set.
    • getResolutionTime

      public Timestamp getResolutionTime()
       *
       The consensus timestamp of the transaction that executed or deleted this schedule.
       <p>
       This value SHALL be set to the `current_consensus_time` when a
       `schedule_delete` transaction is completed.<br/>
       This value SHALL be set to the `current_consensus_time` when the
       scheduled transaction is executed, either as a result of gathering the
       final required signature, or, if long-term schedule execution is enabled,
       at the requested execution time.
       
      .proto.Timestamp resolution_time = 12;
      Specified by:
      getResolutionTime in interface ScheduleOrBuilder
      Returns:
      The resolutionTime.
    • setResolutionTime

      public Schedule.Builder setResolutionTime(Timestamp value)
       *
       The consensus timestamp of the transaction that executed or deleted this schedule.
       <p>
       This value SHALL be set to the `current_consensus_time` when a
       `schedule_delete` transaction is completed.<br/>
       This value SHALL be set to the `current_consensus_time` when the
       scheduled transaction is executed, either as a result of gathering the
       final required signature, or, if long-term schedule execution is enabled,
       at the requested execution time.
       
      .proto.Timestamp resolution_time = 12;
    • setResolutionTime

      public Schedule.Builder setResolutionTime(Timestamp.Builder builderForValue)
       *
       The consensus timestamp of the transaction that executed or deleted this schedule.
       <p>
       This value SHALL be set to the `current_consensus_time` when a
       `schedule_delete` transaction is completed.<br/>
       This value SHALL be set to the `current_consensus_time` when the
       scheduled transaction is executed, either as a result of gathering the
       final required signature, or, if long-term schedule execution is enabled,
       at the requested execution time.
       
      .proto.Timestamp resolution_time = 12;
    • mergeResolutionTime

      public Schedule.Builder mergeResolutionTime(Timestamp value)
       *
       The consensus timestamp of the transaction that executed or deleted this schedule.
       <p>
       This value SHALL be set to the `current_consensus_time` when a
       `schedule_delete` transaction is completed.<br/>
       This value SHALL be set to the `current_consensus_time` when the
       scheduled transaction is executed, either as a result of gathering the
       final required signature, or, if long-term schedule execution is enabled,
       at the requested execution time.
       
      .proto.Timestamp resolution_time = 12;
    • clearResolutionTime

      public Schedule.Builder clearResolutionTime()
       *
       The consensus timestamp of the transaction that executed or deleted this schedule.
       <p>
       This value SHALL be set to the `current_consensus_time` when a
       `schedule_delete` transaction is completed.<br/>
       This value SHALL be set to the `current_consensus_time` when the
       scheduled transaction is executed, either as a result of gathering the
       final required signature, or, if long-term schedule execution is enabled,
       at the requested execution time.
       
      .proto.Timestamp resolution_time = 12;
    • hasScheduledTransaction

      public boolean hasScheduledTransaction()
       *
       The scheduled transaction to execute.
       <p>
       This MUST be one of the transaction types permitted in the current value
       of the `schedule.whitelist` in the dynamic network configuration.
       
      .proto.SchedulableTransactionBody scheduled_transaction = 13;
      Specified by:
      hasScheduledTransaction in interface ScheduleOrBuilder
      Returns:
      Whether the scheduledTransaction field is set.
    • getScheduledTransaction

      public SchedulableTransactionBody getScheduledTransaction()
       *
       The scheduled transaction to execute.
       <p>
       This MUST be one of the transaction types permitted in the current value
       of the `schedule.whitelist` in the dynamic network configuration.
       
      .proto.SchedulableTransactionBody scheduled_transaction = 13;
      Specified by:
      getScheduledTransaction in interface ScheduleOrBuilder
      Returns:
      The scheduledTransaction.
    • setScheduledTransaction

      public Schedule.Builder setScheduledTransaction(SchedulableTransactionBody value)
       *
       The scheduled transaction to execute.
       <p>
       This MUST be one of the transaction types permitted in the current value
       of the `schedule.whitelist` in the dynamic network configuration.
       
      .proto.SchedulableTransactionBody scheduled_transaction = 13;
    • setScheduledTransaction

      public Schedule.Builder setScheduledTransaction(SchedulableTransactionBody.Builder builderForValue)
       *
       The scheduled transaction to execute.
       <p>
       This MUST be one of the transaction types permitted in the current value
       of the `schedule.whitelist` in the dynamic network configuration.
       
      .proto.SchedulableTransactionBody scheduled_transaction = 13;
    • mergeScheduledTransaction

      public Schedule.Builder mergeScheduledTransaction(SchedulableTransactionBody value)
       *
       The scheduled transaction to execute.
       <p>
       This MUST be one of the transaction types permitted in the current value
       of the `schedule.whitelist` in the dynamic network configuration.
       
      .proto.SchedulableTransactionBody scheduled_transaction = 13;
    • clearScheduledTransaction

      public Schedule.Builder clearScheduledTransaction()
       *
       The scheduled transaction to execute.
       <p>
       This MUST be one of the transaction types permitted in the current value
       of the `schedule.whitelist` in the dynamic network configuration.
       
      .proto.SchedulableTransactionBody scheduled_transaction = 13;
    • hasOriginalCreateTransaction

      public boolean hasOriginalCreateTransaction()
       *
       The full transaction that created this schedule.
       <p>
       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 when the `scheduled_transaction` is executed.
       
      .proto.TransactionBody original_create_transaction = 14;
      Specified by:
      hasOriginalCreateTransaction in interface ScheduleOrBuilder
      Returns:
      Whether the originalCreateTransaction field is set.
    • getOriginalCreateTransaction

      public TransactionBody getOriginalCreateTransaction()
       *
       The full transaction that created this schedule.
       <p>
       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 when the `scheduled_transaction` is executed.
       
      .proto.TransactionBody original_create_transaction = 14;
      Specified by:
      getOriginalCreateTransaction in interface ScheduleOrBuilder
      Returns:
      The originalCreateTransaction.
    • setOriginalCreateTransaction

      public Schedule.Builder setOriginalCreateTransaction(TransactionBody value)
       *
       The full transaction that created this schedule.
       <p>
       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 when the `scheduled_transaction` is executed.
       
      .proto.TransactionBody original_create_transaction = 14;
    • setOriginalCreateTransaction

      public Schedule.Builder setOriginalCreateTransaction(TransactionBody.Builder builderForValue)
       *
       The full transaction that created this schedule.
       <p>
       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 when the `scheduled_transaction` is executed.
       
      .proto.TransactionBody original_create_transaction = 14;
    • mergeOriginalCreateTransaction

      public Schedule.Builder mergeOriginalCreateTransaction(TransactionBody value)
       *
       The full transaction that created this schedule.
       <p>
       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 when the `scheduled_transaction` is executed.
       
      .proto.TransactionBody original_create_transaction = 14;
    • clearOriginalCreateTransaction

      public Schedule.Builder clearOriginalCreateTransaction()
       *
       The full transaction that created this schedule.
       <p>
       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 when the `scheduled_transaction` is executed.
       
      .proto.TransactionBody original_create_transaction = 14;
    • getSignatoriesList

      public List<Key> getSignatoriesList()
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
      Specified by:
      getSignatoriesList in interface ScheduleOrBuilder
    • getSignatoriesCount

      public int getSignatoriesCount()
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
      Specified by:
      getSignatoriesCount in interface ScheduleOrBuilder
    • getSignatories

      public Key getSignatories(int index)
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
      Specified by:
      getSignatories in interface ScheduleOrBuilder
    • setSignatories

      public Schedule.Builder setSignatories(int index, Key value)
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
    • setSignatories

      public Schedule.Builder setSignatories(int index, Key.Builder builderForValue)
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
    • addSignatories

      public Schedule.Builder addSignatories(Key value)
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
    • addSignatories

      public Schedule.Builder addSignatories(int index, Key value)
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
    • addSignatories

      public Schedule.Builder addSignatories(Key.Builder builderForValue)
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
    • addSignatories

      public Schedule.Builder addSignatories(int index, Key.Builder builderForValue)
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
    • addAllSignatories

      public Schedule.Builder addAllSignatories(Iterable<? extends Key> values)
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
    • clearSignatories

      public Schedule.Builder clearSignatories()
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;
    • removeSignatories

      public Schedule.Builder removeSignatories(int index)
       *
       All of the "primitive" keys that have already signed this schedule.
       <p>
       The scheduled transaction SHALL NOT be executed before this list is
       sufficient to "activate" the required keys for the scheduled transaction.<br/>
       A Key SHALL NOT be stored in this list unless the corresponding private
       key has signed either the original `schedule_create` transaction or a
       subsequent `schedule_sign` transaction intended for, and referencing to,
       this specific schedule.
       <p>
       The only keys stored are "primitive" keys (ED25519 or ECDSA_SECP256K1) in
       order to ensure that any key list or threshold keys are correctly handled,
       regardless of signing order, intervening changes, or other situations.
       The `scheduled_transaction` SHALL execute only if, at the time of
       execution, this list contains sufficient public keys to satisfy the
       full requirements for signature on that transaction.
       
      repeated .proto.Key signatories = 15;