Skip to main content

Class: WorkflowTaskStartedEventAttributes

history.v1.WorkflowTaskStartedEventAttributes

Represents a WorkflowTaskStartedEventAttributes.

Implements#

Constructors#

constructor#

new WorkflowTaskStartedEventAttributes(properties?)

Constructs a new WorkflowTaskStartedEventAttributes.

Parameters#

NameType
properties?IWorkflowTaskStartedEventAttributes

Properties#

identity#

identity: string

WorkflowTaskStartedEventAttributes identity.

Implementation of#

IWorkflowTaskStartedEventAttributes.identity


requestId#

requestId: string

WorkflowTaskStartedEventAttributes requestId.

Implementation of#

IWorkflowTaskStartedEventAttributes.requestId


scheduledEventId#

scheduledEventId: Long

WorkflowTaskStartedEventAttributes scheduledEventId.

Implementation of#

IWorkflowTaskStartedEventAttributes.scheduledEventId

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowTaskStartedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowTaskStartedEventAttributes

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

WorkflowTaskStartedEventAttributes

WorkflowTaskStartedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): WorkflowTaskStartedEventAttributes

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

WorkflowTaskStartedEventAttributes

WorkflowTaskStartedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowTaskStartedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowTaskStartedEventAttributes

WorkflowTaskStartedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowTaskStartedEventAttributesWorkflowTaskStartedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object