Skip to main content

Class: ResetWorkflowExecutionRequest

workflowservice.v1.ResetWorkflowExecutionRequest

Represents a ResetWorkflowExecutionRequest.

Implements#

Constructors#

constructor#

new ResetWorkflowExecutionRequest(properties?)

Constructs a new ResetWorkflowExecutionRequest.

Parameters#

NameType
properties?IResetWorkflowExecutionRequest

Properties#

namespace#

namespace: string

ResetWorkflowExecutionRequest namespace.

Implementation of#

IResetWorkflowExecutionRequest.namespace


reason#

reason: string

ResetWorkflowExecutionRequest reason.

Implementation of#

IResetWorkflowExecutionRequest.reason


requestId#

requestId: string

ResetWorkflowExecutionRequest requestId.

Implementation of#

IResetWorkflowExecutionRequest.requestId


resetReapplyType#

resetReapplyType: ResetReapplyType

ResetWorkflowExecutionRequest resetReapplyType.

Implementation of#

IResetWorkflowExecutionRequest.resetReapplyType


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

ResetWorkflowExecutionRequest workflowExecution.

Implementation of#

IResetWorkflowExecutionRequest.workflowExecution


workflowTaskFinishEventId#

workflowTaskFinishEventId: Long

ResetWorkflowExecutionRequest workflowTaskFinishEventId.

Implementation of#

IResetWorkflowExecutionRequest.workflowTaskFinishEventId

Methods#

toJSON#

toJSON(): Object

Converts this ResetWorkflowExecutionRequest to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ResetWorkflowExecutionRequest

Decodes a ResetWorkflowExecutionRequest message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

ResetWorkflowExecutionRequest

ResetWorkflowExecutionRequest


decodeDelimited#

Static decodeDelimited(reader): ResetWorkflowExecutionRequest

Decodes a ResetWorkflowExecutionRequest message from the specified reader or buffer, length delimited.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

ResetWorkflowExecutionRequest

ResetWorkflowExecutionRequest


encode#

Static encode(message, writer?): Writer

Encodes the specified ResetWorkflowExecutionRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.verify|verify} messages.

Parameters#

NameTypeDescription
messageIResetWorkflowExecutionRequestResetWorkflowExecutionRequest message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified ResetWorkflowExecutionRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.verify|verify} messages.

Parameters#

NameTypeDescription
messageIResetWorkflowExecutionRequestResetWorkflowExecutionRequest message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ResetWorkflowExecutionRequest

Creates a ResetWorkflowExecutionRequest message from a plain object. Also converts values to their respective internal types.

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ResetWorkflowExecutionRequest

ResetWorkflowExecutionRequest


toObject#

Static toObject(message, options?): Object

Creates a plain object from a ResetWorkflowExecutionRequest message. Also converts values to other types if specified.

Parameters#

NameTypeDescription
messageResetWorkflowExecutionRequestResetWorkflowExecutionRequest
options?IConversionOptions-

Returns#

Object

Plain object