Skip to main content

Class: ResetWorkflowFailureInfo

failure.v1.ResetWorkflowFailureInfo

Represents a ResetWorkflowFailureInfo.

Implements#

Constructors#

constructor#

new ResetWorkflowFailureInfo(properties?)

Constructs a new ResetWorkflowFailureInfo.

Parameters#

NameType
properties?IResetWorkflowFailureInfo

Properties#

lastHeartbeatDetails#

Optional lastHeartbeatDetails: null | IPayloads

ResetWorkflowFailureInfo lastHeartbeatDetails.

Implementation of#

IResetWorkflowFailureInfo.lastHeartbeatDetails

Methods#

toJSON#

toJSON(): Object

Converts this ResetWorkflowFailureInfo to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ResetWorkflowFailureInfo

Decodes a ResetWorkflowFailureInfo 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#

ResetWorkflowFailureInfo

ResetWorkflowFailureInfo


decodeDelimited#

Static decodeDelimited(reader): ResetWorkflowFailureInfo

Decodes a ResetWorkflowFailureInfo 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#

ResetWorkflowFailureInfo

ResetWorkflowFailureInfo


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ResetWorkflowFailureInfo

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ResetWorkflowFailureInfo

ResetWorkflowFailureInfo


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageResetWorkflowFailureInfoResetWorkflowFailureInfo
options?IConversionOptions-

Returns#

Object

Plain object