Interface ResetWorkflowExecutionRequestOrBuilder

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

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

    • getNamespace

      String getNamespace()
      string namespace = 1;
      Returns:
      The namespace.
    • getNamespaceBytes

      com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1;
      Returns:
      The bytes for namespace.
    • hasWorkflowExecution

      boolean hasWorkflowExecution()
       The workflow to reset. If this contains a run ID then the workflow will be reset back to the
       provided event ID in that run. Otherwise it will be reset to the provided event ID in the
       current run. In all cases the current run will be terminated and a new run started.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
      Returns:
      Whether the workflowExecution field is set.
    • getWorkflowExecution

      WorkflowExecution getWorkflowExecution()
       The workflow to reset. If this contains a run ID then the workflow will be reset back to the
       provided event ID in that run. Otherwise it will be reset to the provided event ID in the
       current run. In all cases the current run will be terminated and a new run started.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
      Returns:
      The workflowExecution.
    • getWorkflowExecutionOrBuilder

      WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
       The workflow to reset. If this contains a run ID then the workflow will be reset back to the
       provided event ID in that run. Otherwise it will be reset to the provided event ID in the
       current run. In all cases the current run will be terminated and a new run started.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
    • getReason

      String getReason()
      string reason = 3;
      Returns:
      The reason.
    • getReasonBytes

      com.google.protobuf.ByteString getReasonBytes()
      string reason = 3;
      Returns:
      The bytes for reason.
    • getWorkflowTaskFinishEventId

      long getWorkflowTaskFinishEventId()
       The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or
       `WORKFLOW_TASK_STARTED` event to reset to.
       
      int64 workflow_task_finish_event_id = 4;
      Returns:
      The workflowTaskFinishEventId.
    • getRequestId

      String getRequestId()
       Used to de-dupe reset requests
       
      string request_id = 5;
      Returns:
      The requestId.
    • getRequestIdBytes

      com.google.protobuf.ByteString getRequestIdBytes()
       Used to de-dupe reset requests
       
      string request_id = 5;
      Returns:
      The bytes for requestId.
    • getResetReapplyTypeValue

      @Deprecated int getResetReapplyTypeValue()
      Deprecated.
      temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=967
       Deprecated. Use `options`.
       Default: RESET_REAPPLY_TYPE_SIGNAL
       
      .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6 [deprecated = true];
      Returns:
      The enum numeric value on the wire for resetReapplyType.
    • getResetReapplyType

      @Deprecated ResetReapplyType getResetReapplyType()
      Deprecated.
      temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=967
       Deprecated. Use `options`.
       Default: RESET_REAPPLY_TYPE_SIGNAL
       
      .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6 [deprecated = true];
      Returns:
      The resetReapplyType.
    • getResetReapplyExcludeTypesList

      List<ResetReapplyExcludeType> getResetReapplyExcludeTypesList()
       Event types not to be reapplied
       
      repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;
      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 = 7;
      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 = 7;
      Parameters:
      index - The index of the element to return.
      Returns:
      The resetReapplyExcludeTypes at the given index.
    • getResetReapplyExcludeTypesValueList

      List<Integer> getResetReapplyExcludeTypesValueList()
       Event types not to be reapplied
       
      repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;
      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 = 7;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of resetReapplyExcludeTypes at the given index.
    • getPostResetOperationsList

      List<PostResetOperation> getPostResetOperationsList()
       Operations to perform after the workflow has been reset. These operations will be applied
       to the *new* run of the workflow execution in the order they are provided.
       All operations are applied to the workflow before the first new workflow task is generated
       
      repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 8;
    • getPostResetOperations

      PostResetOperation getPostResetOperations(int index)
       Operations to perform after the workflow has been reset. These operations will be applied
       to the *new* run of the workflow execution in the order they are provided.
       All operations are applied to the workflow before the first new workflow task is generated
       
      repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 8;
    • getPostResetOperationsCount

      int getPostResetOperationsCount()
       Operations to perform after the workflow has been reset. These operations will be applied
       to the *new* run of the workflow execution in the order they are provided.
       All operations are applied to the workflow before the first new workflow task is generated
       
      repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 8;
    • getPostResetOperationsOrBuilderList

      List<? extends PostResetOperationOrBuilder> getPostResetOperationsOrBuilderList()
       Operations to perform after the workflow has been reset. These operations will be applied
       to the *new* run of the workflow execution in the order they are provided.
       All operations are applied to the workflow before the first new workflow task is generated
       
      repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 8;
    • getPostResetOperationsOrBuilder

      PostResetOperationOrBuilder getPostResetOperationsOrBuilder(int index)
       Operations to perform after the workflow has been reset. These operations will be applied
       to the *new* run of the workflow execution in the order they are provided.
       All operations are applied to the workflow before the first new workflow task is generated
       
      repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 8;
    • getIdentity

      String getIdentity()
       The identity of the worker/client
       
      string identity = 9;
      Returns:
      The identity.
    • getIdentityBytes

      com.google.protobuf.ByteString getIdentityBytes()
       The identity of the worker/client
       
      string identity = 9;
      Returns:
      The bytes for identity.