Skip to main content

Class: WorkflowTaskFailedEventAttributes

history.v1.WorkflowTaskFailedEventAttributes

Represents a WorkflowTaskFailedEventAttributes.

Implements#

Constructors#

constructor#

new WorkflowTaskFailedEventAttributes(properties?)

Constructs a new WorkflowTaskFailedEventAttributes.

Parameters#

NameType
properties?IWorkflowTaskFailedEventAttributes

Properties#

baseRunId#

baseRunId: string

WorkflowTaskFailedEventAttributes baseRunId.

Implementation of#

IWorkflowTaskFailedEventAttributes.baseRunId


binaryChecksum#

binaryChecksum: string

WorkflowTaskFailedEventAttributes binaryChecksum.

Implementation of#

IWorkflowTaskFailedEventAttributes.binaryChecksum


cause#

cause: WorkflowTaskFailedCause

WorkflowTaskFailedEventAttributes cause.

Implementation of#

IWorkflowTaskFailedEventAttributes.cause


failure#

Optional failure: null | IFailure

WorkflowTaskFailedEventAttributes failure.

Implementation of#

IWorkflowTaskFailedEventAttributes.failure


forkEventVersion#

forkEventVersion: Long

WorkflowTaskFailedEventAttributes forkEventVersion.

Implementation of#

IWorkflowTaskFailedEventAttributes.forkEventVersion


identity#

identity: string

WorkflowTaskFailedEventAttributes identity.

Implementation of#

IWorkflowTaskFailedEventAttributes.identity


newRunId#

newRunId: string

WorkflowTaskFailedEventAttributes newRunId.

Implementation of#

IWorkflowTaskFailedEventAttributes.newRunId


scheduledEventId#

scheduledEventId: Long

WorkflowTaskFailedEventAttributes scheduledEventId.

Implementation of#

IWorkflowTaskFailedEventAttributes.scheduledEventId


startedEventId#

startedEventId: Long

WorkflowTaskFailedEventAttributes startedEventId.

Implementation of#

IWorkflowTaskFailedEventAttributes.startedEventId

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowTaskFailedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowTaskFailedEventAttributes

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

WorkflowTaskFailedEventAttributes

WorkflowTaskFailedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): WorkflowTaskFailedEventAttributes

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

WorkflowTaskFailedEventAttributes

WorkflowTaskFailedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowTaskFailedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowTaskFailedEventAttributes

WorkflowTaskFailedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowTaskFailedEventAttributesWorkflowTaskFailedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object