Skip to main content

Class: WorkflowTaskTimedOutEventAttributes

history.v1.WorkflowTaskTimedOutEventAttributes

Represents a WorkflowTaskTimedOutEventAttributes.

Implements#

Constructors#

constructor#

new WorkflowTaskTimedOutEventAttributes(properties?)

Constructs a new WorkflowTaskTimedOutEventAttributes.

Parameters#

NameType
properties?IWorkflowTaskTimedOutEventAttributes

Properties#

scheduledEventId#

scheduledEventId: Long

WorkflowTaskTimedOutEventAttributes scheduledEventId.

Implementation of#

IWorkflowTaskTimedOutEventAttributes.scheduledEventId


startedEventId#

startedEventId: Long

WorkflowTaskTimedOutEventAttributes startedEventId.

Implementation of#

IWorkflowTaskTimedOutEventAttributes.startedEventId


timeoutType#

timeoutType: TimeoutType

WorkflowTaskTimedOutEventAttributes timeoutType.

Implementation of#

IWorkflowTaskTimedOutEventAttributes.timeoutType

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowTaskTimedOutEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowTaskTimedOutEventAttributes

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

WorkflowTaskTimedOutEventAttributes

WorkflowTaskTimedOutEventAttributes


decodeDelimited#

Static decodeDelimited(reader): WorkflowTaskTimedOutEventAttributes

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

WorkflowTaskTimedOutEventAttributes

WorkflowTaskTimedOutEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowTaskTimedOutEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowTaskTimedOutEventAttributes

WorkflowTaskTimedOutEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowTaskTimedOutEventAttributesWorkflowTaskTimedOutEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object