Class ResetWorkflowExecutionRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
- io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ResetWorkflowExecutionRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- ResetWorkflowExecutionRequest
public static final class ResetWorkflowExecutionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder> implements ResetWorkflowExecutionRequestOrBuilder
Protobuf typetemporal.api.workflowservice.v1.ResetWorkflowExecutionRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ResetWorkflowExecutionRequest.BuilderaddAllPostResetOperations(java.lang.Iterable<? extends PostResetOperation> values)Operations to perform after the workflow has been reset.ResetWorkflowExecutionRequest.BuilderaddAllResetReapplyExcludeTypes(java.lang.Iterable<? extends ResetReapplyExcludeType> values)Event types not to be reappliedResetWorkflowExecutionRequest.BuilderaddAllResetReapplyExcludeTypesValue(java.lang.Iterable<java.lang.Integer> values)Event types not to be reappliedResetWorkflowExecutionRequest.BuilderaddPostResetOperations(int index, PostResetOperation value)Operations to perform after the workflow has been reset.ResetWorkflowExecutionRequest.BuilderaddPostResetOperations(int index, PostResetOperation.Builder builderForValue)Operations to perform after the workflow has been reset.ResetWorkflowExecutionRequest.BuilderaddPostResetOperations(PostResetOperation value)Operations to perform after the workflow has been reset.ResetWorkflowExecutionRequest.BuilderaddPostResetOperations(PostResetOperation.Builder builderForValue)Operations to perform after the workflow has been reset.PostResetOperation.BuilderaddPostResetOperationsBuilder()Operations to perform after the workflow has been reset.PostResetOperation.BuilderaddPostResetOperationsBuilder(int index)Operations to perform after the workflow has been reset.ResetWorkflowExecutionRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ResetWorkflowExecutionRequest.BuilderaddResetReapplyExcludeTypes(ResetReapplyExcludeType value)Event types not to be reappliedResetWorkflowExecutionRequest.BuilderaddResetReapplyExcludeTypesValue(int value)Event types not to be reappliedResetWorkflowExecutionRequestbuild()ResetWorkflowExecutionRequestbuildPartial()ResetWorkflowExecutionRequest.Builderclear()ResetWorkflowExecutionRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ResetWorkflowExecutionRequest.BuilderclearIdentity()The identity of the worker/clientResetWorkflowExecutionRequest.BuilderclearNamespace()string namespace = 1;ResetWorkflowExecutionRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ResetWorkflowExecutionRequest.BuilderclearPostResetOperations()Operations to perform after the workflow has been reset.ResetWorkflowExecutionRequest.BuilderclearReason()string reason = 3;ResetWorkflowExecutionRequest.BuilderclearRequestId()Used to de-dupe reset requestsResetWorkflowExecutionRequest.BuilderclearResetReapplyExcludeTypes()Event types not to be reappliedResetWorkflowExecutionRequest.BuilderclearResetReapplyType()Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated.ResetWorkflowExecutionRequest.BuilderclearWorkflowExecution()The workflow to reset.ResetWorkflowExecutionRequest.BuilderclearWorkflowTaskFinishEventId()The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to.ResetWorkflowExecutionRequest.Builderclone()ResetWorkflowExecutionRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetIdentity()The identity of the worker/clientcom.google.protobuf.ByteStringgetIdentityBytes()The identity of the worker/clientjava.lang.StringgetNamespace()string namespace = 1;com.google.protobuf.ByteStringgetNamespaceBytes()string namespace = 1;PostResetOperationgetPostResetOperations(int index)Operations to perform after the workflow has been reset.PostResetOperation.BuildergetPostResetOperationsBuilder(int index)Operations to perform after the workflow has been reset.java.util.List<PostResetOperation.Builder>getPostResetOperationsBuilderList()Operations to perform after the workflow has been reset.intgetPostResetOperationsCount()Operations to perform after the workflow has been reset.java.util.List<PostResetOperation>getPostResetOperationsList()Operations to perform after the workflow has been reset.PostResetOperationOrBuildergetPostResetOperationsOrBuilder(int index)Operations to perform after the workflow has been reset.java.util.List<? extends PostResetOperationOrBuilder>getPostResetOperationsOrBuilderList()Operations to perform after the workflow has been reset.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()Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated.intgetResetReapplyTypeValue()Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated.WorkflowExecutiongetWorkflowExecution()The workflow to reset.WorkflowExecution.BuildergetWorkflowExecutionBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ResetWorkflowExecutionRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ResetWorkflowExecutionRequest.BuildermergeFrom(com.google.protobuf.Message other)ResetWorkflowExecutionRequest.BuildermergeFrom(ResetWorkflowExecutionRequest other)ResetWorkflowExecutionRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ResetWorkflowExecutionRequest.BuildermergeWorkflowExecution(WorkflowExecution value)The workflow to reset.ResetWorkflowExecutionRequest.BuilderremovePostResetOperations(int index)Operations to perform after the workflow has been reset.ResetWorkflowExecutionRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ResetWorkflowExecutionRequest.BuildersetIdentity(java.lang.String value)The identity of the worker/clientResetWorkflowExecutionRequest.BuildersetIdentityBytes(com.google.protobuf.ByteString value)The identity of the worker/clientResetWorkflowExecutionRequest.BuildersetNamespace(java.lang.String value)string namespace = 1;ResetWorkflowExecutionRequest.BuildersetNamespaceBytes(com.google.protobuf.ByteString value)string namespace = 1;ResetWorkflowExecutionRequest.BuildersetPostResetOperations(int index, PostResetOperation value)Operations to perform after the workflow has been reset.ResetWorkflowExecutionRequest.BuildersetPostResetOperations(int index, PostResetOperation.Builder builderForValue)Operations to perform after the workflow has been reset.ResetWorkflowExecutionRequest.BuildersetReason(java.lang.String value)string reason = 3;ResetWorkflowExecutionRequest.BuildersetReasonBytes(com.google.protobuf.ByteString value)string reason = 3;ResetWorkflowExecutionRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ResetWorkflowExecutionRequest.BuildersetRequestId(java.lang.String value)Used to de-dupe reset requestsResetWorkflowExecutionRequest.BuildersetRequestIdBytes(com.google.protobuf.ByteString value)Used to de-dupe reset requestsResetWorkflowExecutionRequest.BuildersetResetReapplyExcludeTypes(int index, ResetReapplyExcludeType value)Event types not to be reappliedResetWorkflowExecutionRequest.BuildersetResetReapplyExcludeTypesValue(int index, int value)Event types not to be reappliedResetWorkflowExecutionRequest.BuildersetResetReapplyType(ResetReapplyType value)Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated.ResetWorkflowExecutionRequest.BuildersetResetReapplyTypeValue(int value)Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated.ResetWorkflowExecutionRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ResetWorkflowExecutionRequest.BuildersetWorkflowExecution(WorkflowExecution value)The workflow to reset.ResetWorkflowExecutionRequest.BuildersetWorkflowExecution(WorkflowExecution.Builder builderForValue)The workflow to reset.ResetWorkflowExecutionRequest.BuildersetWorkflowTaskFinishEventId(long value)The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
clear
public ResetWorkflowExecutionRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
getDefaultInstanceForType
public ResetWorkflowExecutionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ResetWorkflowExecutionRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ResetWorkflowExecutionRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ResetWorkflowExecutionRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
setField
public ResetWorkflowExecutionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
clearField
public ResetWorkflowExecutionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
clearOneof
public ResetWorkflowExecutionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
setRepeatedField
public ResetWorkflowExecutionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
addRepeatedField
public ResetWorkflowExecutionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
mergeFrom
public ResetWorkflowExecutionRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResetWorkflowExecutionRequest.Builder>
-
mergeFrom
public ResetWorkflowExecutionRequest.Builder mergeFrom(ResetWorkflowExecutionRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
mergeFrom
public ResetWorkflowExecutionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResetWorkflowExecutionRequest.Builder>- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
string namespace = 1;- Specified by:
getNamespacein interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
public ResetWorkflowExecutionRequest.Builder setNamespace(java.lang.String value)
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public ResetWorkflowExecutionRequest.Builder clearNamespace()
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public ResetWorkflowExecutionRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
hasWorkflowExecution
public 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;- Specified by:
hasWorkflowExecutionin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public 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;- Specified by:
getWorkflowExecutionin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The workflowExecution.
-
setWorkflowExecution
public ResetWorkflowExecutionRequest.Builder setWorkflowExecution(WorkflowExecution value)
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;
-
setWorkflowExecution
public ResetWorkflowExecutionRequest.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
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;
-
mergeWorkflowExecution
public ResetWorkflowExecutionRequest.Builder mergeWorkflowExecution(WorkflowExecution value)
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;
-
clearWorkflowExecution
public ResetWorkflowExecutionRequest.Builder clearWorkflowExecution()
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;
-
getWorkflowExecutionBuilder
public WorkflowExecution.Builder getWorkflowExecutionBuilder()
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;
-
getWorkflowExecutionOrBuilder
public 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;- Specified by:
getWorkflowExecutionOrBuilderin interfaceResetWorkflowExecutionRequestOrBuilder
-
getReason
public java.lang.String getReason()
string reason = 3;- Specified by:
getReasonin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
string reason = 3;- Specified by:
getReasonBytesin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for reason.
-
setReason
public ResetWorkflowExecutionRequest.Builder setReason(java.lang.String value)
string reason = 3;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
public ResetWorkflowExecutionRequest.Builder clearReason()
string reason = 3;- Returns:
- This builder for chaining.
-
setReasonBytes
public ResetWorkflowExecutionRequest.Builder setReasonBytes(com.google.protobuf.ByteString value)
string reason = 3;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
getWorkflowTaskFinishEventId
public 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;- Specified by:
getWorkflowTaskFinishEventIdin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The workflowTaskFinishEventId.
-
setWorkflowTaskFinishEventId
public ResetWorkflowExecutionRequest.Builder setWorkflowTaskFinishEventId(long value)
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;- Parameters:
value- The workflowTaskFinishEventId to set.- Returns:
- This builder for chaining.
-
clearWorkflowTaskFinishEventId
public ResetWorkflowExecutionRequest.Builder clearWorkflowTaskFinishEventId()
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:
- This builder for chaining.
-
getRequestId
public java.lang.String getRequestId()
Used to de-dupe reset requests
string request_id = 5;- Specified by:
getRequestIdin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()
Used to de-dupe reset requests
string request_id = 5;- Specified by:
getRequestIdBytesin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
public ResetWorkflowExecutionRequest.Builder setRequestId(java.lang.String value)
Used to de-dupe reset requests
string request_id = 5;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
public ResetWorkflowExecutionRequest.Builder clearRequestId()
Used to de-dupe reset requests
string request_id = 5;- Returns:
- This builder for chaining.
-
setRequestIdBytes
public ResetWorkflowExecutionRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
Used to de-dupe reset requests
string request_id = 5;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getResetReapplyTypeValue
@Deprecated public int getResetReapplyTypeValue()
Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=822Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6 [deprecated = true];- Specified by:
getResetReapplyTypeValuein interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The enum numeric value on the wire for resetReapplyType.
-
setResetReapplyTypeValue
@Deprecated public ResetWorkflowExecutionRequest.Builder setResetReapplyTypeValue(int value)
Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=822Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6 [deprecated = true];- Parameters:
value- The enum numeric value on the wire for resetReapplyType to set.- Returns:
- This builder for chaining.
-
getResetReapplyType
@Deprecated public ResetReapplyType getResetReapplyType()
Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=822Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6 [deprecated = true];- Specified by:
getResetReapplyTypein interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The resetReapplyType.
-
setResetReapplyType
@Deprecated public ResetWorkflowExecutionRequest.Builder setResetReapplyType(ResetReapplyType value)
Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=822Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6 [deprecated = true];- Parameters:
value- The resetReapplyType to set.- Returns:
- This builder for chaining.
-
clearResetReapplyType
@Deprecated public ResetWorkflowExecutionRequest.Builder clearResetReapplyType()
Deprecated.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=822Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6 [deprecated = true];- Returns:
- This builder for chaining.
-
getResetReapplyExcludeTypesList
public java.util.List<ResetReapplyExcludeType> getResetReapplyExcludeTypesList()
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Specified by:
getResetReapplyExcludeTypesListin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- A list containing the resetReapplyExcludeTypes.
-
getResetReapplyExcludeTypesCount
public int getResetReapplyExcludeTypesCount()
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Specified by:
getResetReapplyExcludeTypesCountin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The count of resetReapplyExcludeTypes.
-
getResetReapplyExcludeTypes
public ResetReapplyExcludeType getResetReapplyExcludeTypes(int index)
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Specified by:
getResetReapplyExcludeTypesin interfaceResetWorkflowExecutionRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resetReapplyExcludeTypes at the given index.
-
setResetReapplyExcludeTypes
public ResetWorkflowExecutionRequest.Builder setResetReapplyExcludeTypes(int index, ResetReapplyExcludeType value)
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Parameters:
index- The index to set the value at.value- The resetReapplyExcludeTypes to set.- Returns:
- This builder for chaining.
-
addResetReapplyExcludeTypes
public ResetWorkflowExecutionRequest.Builder addResetReapplyExcludeTypes(ResetReapplyExcludeType value)
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Parameters:
value- The resetReapplyExcludeTypes to add.- Returns:
- This builder for chaining.
-
addAllResetReapplyExcludeTypes
public ResetWorkflowExecutionRequest.Builder addAllResetReapplyExcludeTypes(java.lang.Iterable<? extends ResetReapplyExcludeType> values)
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Parameters:
values- The resetReapplyExcludeTypes to add.- Returns:
- This builder for chaining.
-
clearResetReapplyExcludeTypes
public ResetWorkflowExecutionRequest.Builder clearResetReapplyExcludeTypes()
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Returns:
- This builder for chaining.
-
getResetReapplyExcludeTypesValueList
public java.util.List<java.lang.Integer> getResetReapplyExcludeTypesValueList()
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Specified by:
getResetReapplyExcludeTypesValueListin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for resetReapplyExcludeTypes.
-
getResetReapplyExcludeTypesValue
public int getResetReapplyExcludeTypesValue(int index)
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Specified by:
getResetReapplyExcludeTypesValuein interfaceResetWorkflowExecutionRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of resetReapplyExcludeTypes at the given index.
-
setResetReapplyExcludeTypesValue
public ResetWorkflowExecutionRequest.Builder setResetReapplyExcludeTypesValue(int index, int value)
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for resetReapplyExcludeTypes to set.- Returns:
- This builder for chaining.
-
addResetReapplyExcludeTypesValue
public ResetWorkflowExecutionRequest.Builder addResetReapplyExcludeTypesValue(int value)
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Parameters:
value- The enum numeric value on the wire for resetReapplyExcludeTypes to add.- Returns:
- This builder for chaining.
-
addAllResetReapplyExcludeTypesValue
public ResetWorkflowExecutionRequest.Builder addAllResetReapplyExcludeTypesValue(java.lang.Iterable<java.lang.Integer> values)
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Parameters:
values- The enum numeric values on the wire for resetReapplyExcludeTypes to add.- Returns:
- This builder for chaining.
-
getPostResetOperationsList
public java.util.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;- Specified by:
getPostResetOperationsListin interfaceResetWorkflowExecutionRequestOrBuilder
-
getPostResetOperationsCount
public 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;- Specified by:
getPostResetOperationsCountin interfaceResetWorkflowExecutionRequestOrBuilder
-
getPostResetOperations
public 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;- Specified by:
getPostResetOperationsin interfaceResetWorkflowExecutionRequestOrBuilder
-
setPostResetOperations
public ResetWorkflowExecutionRequest.Builder setPostResetOperations(int index, PostResetOperation value)
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;
-
setPostResetOperations
public ResetWorkflowExecutionRequest.Builder setPostResetOperations(int index, PostResetOperation.Builder builderForValue)
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;
-
addPostResetOperations
public ResetWorkflowExecutionRequest.Builder addPostResetOperations(PostResetOperation value)
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;
-
addPostResetOperations
public ResetWorkflowExecutionRequest.Builder addPostResetOperations(int index, PostResetOperation value)
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;
-
addPostResetOperations
public ResetWorkflowExecutionRequest.Builder addPostResetOperations(PostResetOperation.Builder builderForValue)
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;
-
addPostResetOperations
public ResetWorkflowExecutionRequest.Builder addPostResetOperations(int index, PostResetOperation.Builder builderForValue)
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;
-
addAllPostResetOperations
public ResetWorkflowExecutionRequest.Builder addAllPostResetOperations(java.lang.Iterable<? extends PostResetOperation> values)
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;
-
clearPostResetOperations
public ResetWorkflowExecutionRequest.Builder clearPostResetOperations()
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;
-
removePostResetOperations
public ResetWorkflowExecutionRequest.Builder removePostResetOperations(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;
-
getPostResetOperationsBuilder
public PostResetOperation.Builder getPostResetOperationsBuilder(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;
-
getPostResetOperationsOrBuilder
public 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;- Specified by:
getPostResetOperationsOrBuilderin interfaceResetWorkflowExecutionRequestOrBuilder
-
getPostResetOperationsOrBuilderList
public java.util.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;- Specified by:
getPostResetOperationsOrBuilderListin interfaceResetWorkflowExecutionRequestOrBuilder
-
addPostResetOperationsBuilder
public PostResetOperation.Builder addPostResetOperationsBuilder()
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;
-
addPostResetOperationsBuilder
public PostResetOperation.Builder addPostResetOperationsBuilder(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;
-
getPostResetOperationsBuilderList
public java.util.List<PostResetOperation.Builder> getPostResetOperationsBuilderList()
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
public java.lang.String getIdentity()
The identity of the worker/client
string identity = 9;- Specified by:
getIdentityin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client
string identity = 9;- Specified by:
getIdentityBytesin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
public ResetWorkflowExecutionRequest.Builder setIdentity(java.lang.String value)
The identity of the worker/client
string identity = 9;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public ResetWorkflowExecutionRequest.Builder clearIdentity()
The identity of the worker/client
string identity = 9;- Returns:
- This builder for chaining.
-
setIdentityBytes
public ResetWorkflowExecutionRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the worker/client
string identity = 9;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ResetWorkflowExecutionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
mergeUnknownFields
public final ResetWorkflowExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
-
-