Skip to main content

Class: ResetWorkflowExecutionRequest

workflowservice.v1.ResetWorkflowExecutionRequest

Represents a ResetWorkflowExecutionRequest.

Implements

Constructors

constructor

new ResetWorkflowExecutionRequest(properties?)

Constructs a new ResetWorkflowExecutionRequest.

Parameters

NameTypeDescription
properties?IResetWorkflowExecutionRequestProperties to set

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


create

Static create(properties?): ResetWorkflowExecutionRequest

Creates a new ResetWorkflowExecutionRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IResetWorkflowExecutionRequestProperties to set

Returns

ResetWorkflowExecutionRequest

ResetWorkflowExecutionRequest instance


decode

Static decode(reader, length?): ResetWorkflowExecutionRequest

Decodes a ResetWorkflowExecutionRequest message from the specified reader or buffer.

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

ResetWorkflowExecutionRequest

ResetWorkflowExecutionRequest


decodeDelimited

Static decodeDelimited(reader): ResetWorkflowExecutionRequest

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

Throws

If the payload is not a reader or valid buffer

Throws

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 temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.verify|verify messages.

Parameters

NameTypeDescription
messageIResetWorkflowExecutionRequestResetWorkflowExecutionRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

Static encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIResetWorkflowExecutionRequestResetWorkflowExecutionRequest message or plain object to encode
writer?WriterWriter to encode to

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


getTypeUrl

Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for ResetWorkflowExecutionRequest

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


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?IConversionOptionsConversion options

Returns

Object

Plain object