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

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

        com.google.protobuf.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

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

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

        boolean hasWorkflowTaskId()
         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:
        Whether the workflowTaskId field is set.
      • 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.
      • hasBuildId

        boolean hasBuildId()
         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:
        Whether the buildId field is set.
      • 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()
         Event types to be reapplied (deprecated)
         Default: RESET_REAPPLY_TYPE_SIGNAL
         
        .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 10;
        Returns:
        The enum numeric value on the wire for resetReapplyType.
      • getResetReapplyType

        ResetReapplyType getResetReapplyType()
         Event types to be reapplied (deprecated)
         Default: RESET_REAPPLY_TYPE_SIGNAL
         
        .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.
      • getResetReapplyExcludeTypesList

        java.util.List<ResetReapplyExcludeType> getResetReapplyExcludeTypesList()
         Event types not to be reapplied
         
        repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
        Returns:
        A list containing the resetReapplyExcludeTypes.
      • getResetReapplyExcludeTypesCount

        int getResetReapplyExcludeTypesCount()
         Event types not to be reapplied
         
        repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
        Returns:
        The count of resetReapplyExcludeTypes.
      • getResetReapplyExcludeTypes

        ResetReapplyExcludeType getResetReapplyExcludeTypes​(int index)
         Event types not to be reapplied
         
        repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
        Parameters:
        index - The index of the element to return.
        Returns:
        The resetReapplyExcludeTypes at the given index.
      • getResetReapplyExcludeTypesValueList

        java.util.List<java.lang.Integer> getResetReapplyExcludeTypesValueList()
         Event types not to be reapplied
         
        repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
        Returns:
        A list containing the enum numeric values on the wire for resetReapplyExcludeTypes.
      • getResetReapplyExcludeTypesValue

        int getResetReapplyExcludeTypesValue​(int index)
         Event types not to be reapplied
         
        repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of resetReapplyExcludeTypes at the given index.