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 Summary
Modifier and TypeMethodDescriptionThe identity of the worker/clientcom.google.protobuf.ByteStringThe identity of the worker/clientstring namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;getPostResetOperations(int index) Operations to perform after the workflow has been reset.intOperations to perform after the workflow has been reset.Operations to perform after the workflow has been reset.getPostResetOperationsOrBuilder(int index) Operations to perform after the workflow has been reset.List<? extends PostResetOperationOrBuilder> Operations to perform after the workflow has been reset.string reason = 3;com.google.protobuf.ByteStringstring reason = 3;Used to de-dupe reset requestscom.google.protobuf.ByteStringUsed to de-dupe reset requestsgetResetReapplyExcludeTypes(int index) Event types not to be reappliedintEvent types not to be reappliedEvent types not to be reappliedintgetResetReapplyExcludeTypesValue(int index) Event types not to be reappliedEvent types not to be reappliedDeprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated.intDeprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated.The workflow to reset.The workflow to reset.longThe id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to.booleanThe workflow to reset.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNamespace
-
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
-
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
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()Used to de-dupe reset requests
string request_id = 5;- Returns:
- The bytes for requestId.
-
getResetReapplyTypeValue
Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=967Deprecated. 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.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=967Deprecated. 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
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
-
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
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
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
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()The identity of the worker/client
string identity = 9;- Returns:
- The bytes for identity.
-