Class ResetWorkflowExecutionRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ResetWorkflowExecutionRequestOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:ResetWorkflowExecutionRequest.java.pb.meta") public final class ResetWorkflowExecutionRequest extends com.google.protobuf.GeneratedMessageV3 implements ResetWorkflowExecutionRequestOrBuilder
Protobuf type temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest
See Also:
  • Field Details

    • NAMESPACE_FIELD_NUMBER

      public static final int NAMESPACE_FIELD_NUMBER
      See Also:
    • WORKFLOW_EXECUTION_FIELD_NUMBER

      public static final int WORKFLOW_EXECUTION_FIELD_NUMBER
      See Also:
    • REASON_FIELD_NUMBER

      public static final int REASON_FIELD_NUMBER
      See Also:
    • WORKFLOW_TASK_FINISH_EVENT_ID_FIELD_NUMBER

      public static final int WORKFLOW_TASK_FINISH_EVENT_ID_FIELD_NUMBER
      See Also:
    • REQUEST_ID_FIELD_NUMBER

      public static final int REQUEST_ID_FIELD_NUMBER
      See Also:
    • RESET_REAPPLY_TYPE_FIELD_NUMBER

      public static final int RESET_REAPPLY_TYPE_FIELD_NUMBER
      See Also:
    • RESET_REAPPLY_EXCLUDE_TYPES_FIELD_NUMBER

      public static final int RESET_REAPPLY_EXCLUDE_TYPES_FIELD_NUMBER
      See Also:
    • POST_RESET_OPERATIONS_FIELD_NUMBER

      public static final int POST_RESET_OPERATIONS_FIELD_NUMBER
      See Also:
    • IDENTITY_FIELD_NUMBER

      public static final int IDENTITY_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ResetWorkflowExecutionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResetWorkflowExecutionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResetWorkflowExecutionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResetWorkflowExecutionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResetWorkflowExecutionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResetWorkflowExecutionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResetWorkflowExecutionRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ResetWorkflowExecutionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ResetWorkflowExecutionRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ResetWorkflowExecutionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ResetWorkflowExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ResetWorkflowExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ResetWorkflowExecutionRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ResetWorkflowExecutionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ResetWorkflowExecutionRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ResetWorkflowExecutionRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<ResetWorkflowExecutionRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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