Interface ResetOptionsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ResetOptions, ResetOptions.Builder

    @Generated(value="protoc",
               comments="annotations:ResetOptionsOrBuilder.java.pb.meta")
    public interface ResetOptionsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasFirstWorkflowTask

        boolean hasFirstWorkflowTask()
         Resets to the first workflow task completed or started event.
         
        .google.protobuf.Empty first_workflow_task = 1;
        Returns:
        Whether the firstWorkflowTask field is set.
      • getFirstWorkflowTask

        Empty getFirstWorkflowTask()
         Resets to the first workflow task completed or started event.
         
        .google.protobuf.Empty first_workflow_task = 1;
        Returns:
        The firstWorkflowTask.
      • getFirstWorkflowTaskOrBuilder

        EmptyOrBuilder getFirstWorkflowTaskOrBuilder()
         Resets to the first workflow task completed or started event.
         
        .google.protobuf.Empty first_workflow_task = 1;
      • hasLastWorkflowTask

        boolean hasLastWorkflowTask()
         Resets to the last workflow task completed or started event.
         
        .google.protobuf.Empty last_workflow_task = 2;
        Returns:
        Whether the lastWorkflowTask field is set.
      • getLastWorkflowTask

        Empty getLastWorkflowTask()
         Resets to the last workflow task completed or started event.
         
        .google.protobuf.Empty last_workflow_task = 2;
        Returns:
        The lastWorkflowTask.
      • getLastWorkflowTaskOrBuilder

        EmptyOrBuilder getLastWorkflowTaskOrBuilder()
         Resets to the last workflow task completed or started event.
         
        .google.protobuf.Empty last_workflow_task = 2;
      • getWorkflowTaskId

        long getWorkflowTaskId()
         The id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or
         `WORKFLOW_TASK_STARTED` event to reset to.
         Note that this option doesn't make sense when used as part of a batch request.
         
        int64 workflow_task_id = 3;
        Returns:
        The workflowTaskId.
      • getBuildId

        java.lang.String getBuildId()
         Resets to the first workflow task processed by this build id.
         If the workflow was not processed by the build id, or the workflow task can't be
         determined, no reset will be performed.
         Note that by default, this reset is allowed to be to a prior run in a chain of
         continue-as-new.
         
        string build_id = 4;
        Returns:
        The buildId.
      • getBuildIdBytes

        com.google.protobuf.ByteString getBuildIdBytes()
         Resets to the first workflow task processed by this build id.
         If the workflow was not processed by the build id, or the workflow task can't be
         determined, no reset will be performed.
         Note that by default, this reset is allowed to be to a prior run in a chain of
         continue-as-new.
         
        string build_id = 4;
        Returns:
        The bytes for buildId.
      • getResetReapplyTypeValue

        int getResetReapplyTypeValue()
         History event reapply options.
         
        .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 10;
        Returns:
        The enum numeric value on the wire for resetReapplyType.
      • getResetReapplyType

        ResetReapplyType getResetReapplyType()
         History event reapply options.
         
        .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 10;
        Returns:
        The resetReapplyType.
      • getCurrentRunOnly

        boolean getCurrentRunOnly()
         If true, limit the reset to only within the current run. (Applies to build_id targets and
         possibly others in the future.)
         
        bool current_run_only = 11;
        Returns:
        The currentRunOnly.