io.temporal.api.common.v1.ResetOptionsOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/common/v1/message.proto
package io.temporal.api.common.v1;
@javax.annotation.Generated(value="protoc", comments="annotations:ResetOptionsOrBuilder.java.pb.meta")
public interface ResetOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:temporal.api.common.v1.ResetOptions)
com.google.protobuf.MessageOrBuilder {
/**
*
* Resets to the first workflow task completed or started event.
*
*
* .google.protobuf.Empty first_workflow_task = 1;
* @return Whether the firstWorkflowTask field is set.
*/
boolean hasFirstWorkflowTask();
/**
*
* Resets to the first workflow task completed or started event.
*
*
* .google.protobuf.Empty first_workflow_task = 1;
* @return The firstWorkflowTask.
*/
com.google.protobuf.Empty getFirstWorkflowTask();
/**
*
* Resets to the first workflow task completed or started event.
*
*
* .google.protobuf.Empty first_workflow_task = 1;
*/
com.google.protobuf.EmptyOrBuilder getFirstWorkflowTaskOrBuilder();
/**
*
* Resets to the last workflow task completed or started event.
*
*
* .google.protobuf.Empty last_workflow_task = 2;
* @return Whether the lastWorkflowTask field is set.
*/
boolean hasLastWorkflowTask();
/**
*
* Resets to the last workflow task completed or started event.
*
*
* .google.protobuf.Empty last_workflow_task = 2;
* @return The lastWorkflowTask.
*/
com.google.protobuf.Empty getLastWorkflowTask();
/**
*
* Resets to the last workflow task completed or started event.
*
*
* .google.protobuf.Empty last_workflow_task = 2;
*/
com.google.protobuf.EmptyOrBuilder getLastWorkflowTaskOrBuilder();
/**
*
* 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;
* @return The workflowTaskId.
*/
long getWorkflowTaskId();
/**
*
* 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;
* @return The buildId.
*/
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;
* @return The bytes for buildId.
*/
com.google.protobuf.ByteString
getBuildIdBytes();
/**
*
* Event types to be reapplied (deprecated)
* Default: RESET_REAPPLY_TYPE_SIGNAL
*
*
* .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 10;
* @return The enum numeric value on the wire for resetReapplyType.
*/
int getResetReapplyTypeValue();
/**
*
* Event types to be reapplied (deprecated)
* Default: RESET_REAPPLY_TYPE_SIGNAL
*
*
* .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 10;
* @return The resetReapplyType.
*/
io.temporal.api.enums.v1.ResetReapplyType getResetReapplyType();
/**
*
* 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;
* @return The currentRunOnly.
*/
boolean getCurrentRunOnly();
/**
*
* Event types not to be reapplied
*
*
* repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
* @return A list containing the resetReapplyExcludeTypes.
*/
java.util.List getResetReapplyExcludeTypesList();
/**
*
* Event types not to be reapplied
*
*
* repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
* @return The count of resetReapplyExcludeTypes.
*/
int getResetReapplyExcludeTypesCount();
/**
*
* Event types not to be reapplied
*
*
* repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
* @param index The index of the element to return.
* @return The resetReapplyExcludeTypes at the given index.
*/
io.temporal.api.enums.v1.ResetReapplyExcludeType getResetReapplyExcludeTypes(int index);
/**
*
* Event types not to be reapplied
*
*
* repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
* @return A list containing the enum numeric values on the wire for resetReapplyExcludeTypes.
*/
java.util.List
getResetReapplyExcludeTypesValueList();
/**
*
* Event types not to be reapplied
*
*
* repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of resetReapplyExcludeTypes at the given index.
*/
int getResetReapplyExcludeTypesValue(int index);
public io.temporal.api.common.v1.ResetOptions.TargetCase getTargetCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy