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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetNamespace()string namespace = 1;com.google.protobuf.ByteStringgetNamespaceBytes()string namespace = 1;java.lang.StringgetReason()string reason = 3;com.google.protobuf.ByteStringgetReasonBytes()string reason = 3;java.lang.StringgetRequestId()Used to de-dupe reset requestscom.google.protobuf.ByteStringgetRequestIdBytes()Used to de-dupe reset requestsResetReapplyExcludeTypegetResetReapplyExcludeTypes(int index)Event types not to be reappliedintgetResetReapplyExcludeTypesCount()Event types not to be reappliedjava.util.List<ResetReapplyExcludeType>getResetReapplyExcludeTypesList()Event types not to be reappliedintgetResetReapplyExcludeTypesValue(int index)Event types not to be reappliedjava.util.List<java.lang.Integer>getResetReapplyExcludeTypesValueList()Event types not to be reappliedResetReapplyTypegetResetReapplyType()Event types to be reapplied (deprecated) Default: RESET_REAPPLY_TYPE_SIGNALintgetResetReapplyTypeValue()Event types to be reapplied (deprecated) Default: RESET_REAPPLY_TYPE_SIGNALWorkflowExecutiongetWorkflowExecution()The workflow to reset.WorkflowExecutionOrBuildergetWorkflowExecutionOrBuilder()The workflow to reset.longgetWorkflowTaskFinishEventId()The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to.booleanhasWorkflowExecution()The workflow to reset.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamespace
java.lang.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
java.lang.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
java.lang.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
int getResetReapplyTypeValue()
Event types to be reapplied (deprecated) Default: RESET_REAPPLY_TYPE_SIGNAL
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6;- 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 = 6;- Returns:
- The resetReapplyType.
-
getResetReapplyExcludeTypesList
java.util.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
java.util.List<java.lang.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.
-
-