Class ResetWorkflowExecutionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ResetWorkflowExecutionRequest.Builder>
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, Cloneable
Enclosing class:
ResetWorkflowExecutionRequest

public static final class ResetWorkflowExecutionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder> implements ResetWorkflowExecutionRequestOrBuilder
Protobuf type temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • getDefaultInstanceForType

      public ResetWorkflowExecutionRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ResetWorkflowExecutionRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • setField

      public ResetWorkflowExecutionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • clearField

      public ResetWorkflowExecutionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • clearOneof

      public ResetWorkflowExecutionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • setRepeatedField

      public ResetWorkflowExecutionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • addRepeatedField

      public ResetWorkflowExecutionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • mergeFrom

      public ResetWorkflowExecutionRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResetWorkflowExecutionRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • mergeFrom

      public ResetWorkflowExecutionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResetWorkflowExecutionRequest.Builder>
      Throws:
      IOException
    • getNamespace

      public String getNamespace()
      string namespace = 1;
      Specified by:
      getNamespace in interface ResetWorkflowExecutionRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface ResetWorkflowExecutionRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public ResetWorkflowExecutionRequest.Builder setNamespace(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:
      hasWorkflowExecution in interface ResetWorkflowExecutionRequestOrBuilder
      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:
      getWorkflowExecution in interface ResetWorkflowExecutionRequestOrBuilder
      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:
      getWorkflowExecutionOrBuilder in interface ResetWorkflowExecutionRequestOrBuilder
    • getReason

      public String getReason()
      string reason = 3;
      Specified by:
      getReason in interface ResetWorkflowExecutionRequestOrBuilder
      Returns:
      The reason.
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
      string reason = 3;
      Specified by:
      getReasonBytes in interface ResetWorkflowExecutionRequestOrBuilder
      Returns:
      The bytes for reason.
    • setReason

      string reason = 3;
      Parameters:
      value - The reason to set.
      Returns:
      This builder for chaining.
    • 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:
      getWorkflowTaskFinishEventId in interface ResetWorkflowExecutionRequestOrBuilder
      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 String getRequestId()
       Used to de-dupe reset requests
       
      string request_id = 5;
      Specified by:
      getRequestId in interface ResetWorkflowExecutionRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Used to de-dupe reset requests
       
      string request_id = 5;
      Specified by:
      getRequestIdBytes in interface ResetWorkflowExecutionRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public ResetWorkflowExecutionRequest.Builder setRequestId(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=967
       Deprecated. Use `options`.
       Default: RESET_REAPPLY_TYPE_SIGNAL
       
      .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6 [deprecated = true];
      Specified by:
      getResetReapplyTypeValue in interface ResetWorkflowExecutionRequestOrBuilder
      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=967
       Deprecated. 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=967
       Deprecated. Use `options`.
       Default: RESET_REAPPLY_TYPE_SIGNAL
       
      .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6 [deprecated = true];
      Specified by:
      getResetReapplyType in interface ResetWorkflowExecutionRequestOrBuilder
      Returns:
      The resetReapplyType.
    • setResetReapplyType

      Deprecated.
      temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=967
       Deprecated. 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=967
       Deprecated. 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 List<ResetReapplyExcludeType> getResetReapplyExcludeTypesList()
       Event types not to be reapplied
       
      repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;
      Specified by:
      getResetReapplyExcludeTypesList in interface ResetWorkflowExecutionRequestOrBuilder
      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:
      getResetReapplyExcludeTypesCount in interface ResetWorkflowExecutionRequestOrBuilder
      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:
      getResetReapplyExcludeTypes in interface ResetWorkflowExecutionRequestOrBuilder
      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(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 List<Integer> getResetReapplyExcludeTypesValueList()
       Event types not to be reapplied
       
      repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;
      Specified by:
      getResetReapplyExcludeTypesValueList in interface ResetWorkflowExecutionRequestOrBuilder
      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:
      getResetReapplyExcludeTypesValue in interface ResetWorkflowExecutionRequestOrBuilder
      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(Iterable<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 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:
      getPostResetOperationsList in interface ResetWorkflowExecutionRequestOrBuilder
    • 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:
      getPostResetOperationsCount in interface ResetWorkflowExecutionRequestOrBuilder
    • 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:
      getPostResetOperations in interface ResetWorkflowExecutionRequestOrBuilder
    • 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(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:
      getPostResetOperationsOrBuilder in interface ResetWorkflowExecutionRequestOrBuilder
    • getPostResetOperationsOrBuilderList

      public 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:
      getPostResetOperationsOrBuilderList in interface ResetWorkflowExecutionRequestOrBuilder
    • 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 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 String getIdentity()
       The identity of the worker/client
       
      string identity = 9;
      Specified by:
      getIdentity in interface ResetWorkflowExecutionRequestOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       The identity of the worker/client
       
      string identity = 9;
      Specified by:
      getIdentityBytes in interface ResetWorkflowExecutionRequestOrBuilder
      Returns:
      The bytes for identity.
    • setIdentity

      public ResetWorkflowExecutionRequest.Builder setIdentity(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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>
    • mergeUnknownFields

      public final ResetWorkflowExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResetWorkflowExecutionRequest.Builder>