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 Summary
Modifier and TypeMethodDescriptionResets to the first workflow task processed by this build id.com.google.protobuf.ByteStringResets to the first workflow task processed by this build id.booleanIf true, limit the reset to only within the current run.com.google.protobuf.EmptyResets to the first workflow task completed or started event.com.google.protobuf.EmptyOrBuilderResets to the first workflow task completed or started event.com.google.protobuf.EmptyResets to the last workflow task completed or started event.com.google.protobuf.EmptyOrBuilderResets to the last workflow task completed or started event.getResetReapplyExcludeTypes(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.common.v1.ResetOptions.reset_reapply_type is deprecated.intDeprecated.temporal.api.common.v1.ResetOptions.reset_reapply_type is deprecated.longThe id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to.booleanResets to the first workflow task processed by this build id.booleanResets to the first workflow task completed or started event.booleanResets to the last workflow task completed or started event.booleanThe id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to.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
-
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
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
Deprecated.temporal.api.common.v1.ResetOptions.reset_reapply_type is deprecated. See temporal/api/common/v1/message.proto;l=175Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 10 [deprecated = true];- Returns:
- The enum numeric value on the wire for resetReapplyType.
-
getResetReapplyType
Deprecated.temporal.api.common.v1.ResetOptions.reset_reapply_type is deprecated. See temporal/api/common/v1/message.proto;l=175Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 10 [deprecated = true];- 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
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
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
-
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.
-
getTargetCase
ResetOptions.TargetCase getTargetCase()
-