Skip to main content

Class: WorkflowTaskCompletedEventAttributes

history.v1.WorkflowTaskCompletedEventAttributes

Represents a WorkflowTaskCompletedEventAttributes.

Implements#

Constructors#

constructor#

new WorkflowTaskCompletedEventAttributes(properties?)

Constructs a new WorkflowTaskCompletedEventAttributes.

Parameters#

NameType
properties?IWorkflowTaskCompletedEventAttributes

Properties#

binaryChecksum#

binaryChecksum: string

WorkflowTaskCompletedEventAttributes binaryChecksum.

Implementation of#

IWorkflowTaskCompletedEventAttributes.binaryChecksum


identity#

identity: string

WorkflowTaskCompletedEventAttributes identity.

Implementation of#

IWorkflowTaskCompletedEventAttributes.identity


scheduledEventId#

scheduledEventId: Long

WorkflowTaskCompletedEventAttributes scheduledEventId.

Implementation of#

IWorkflowTaskCompletedEventAttributes.scheduledEventId


startedEventId#

startedEventId: Long

WorkflowTaskCompletedEventAttributes startedEventId.

Implementation of#

IWorkflowTaskCompletedEventAttributes.startedEventId

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowTaskCompletedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowTaskCompletedEventAttributes

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

WorkflowTaskCompletedEventAttributes

WorkflowTaskCompletedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): WorkflowTaskCompletedEventAttributes

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

WorkflowTaskCompletedEventAttributes

WorkflowTaskCompletedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowTaskCompletedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowTaskCompletedEventAttributes

WorkflowTaskCompletedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowTaskCompletedEventAttributesWorkflowTaskCompletedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object