Skip to main content

Class: RespondWorkflowTaskFailedRequest

workflowservice.v1.RespondWorkflowTaskFailedRequest

Represents a RespondWorkflowTaskFailedRequest.

Implements#

Constructors#

constructor#

new RespondWorkflowTaskFailedRequest(properties?)

Constructs a new RespondWorkflowTaskFailedRequest.

Parameters#

NameType
properties?IRespondWorkflowTaskFailedRequest

Properties#

binaryChecksum#

binaryChecksum: string

RespondWorkflowTaskFailedRequest binaryChecksum.

Implementation of#

IRespondWorkflowTaskFailedRequest.binaryChecksum


cause#

cause: WorkflowTaskFailedCause

RespondWorkflowTaskFailedRequest cause.

Implementation of#

IRespondWorkflowTaskFailedRequest.cause


failure#

Optional failure: null | IFailure

RespondWorkflowTaskFailedRequest failure.

Implementation of#

IRespondWorkflowTaskFailedRequest.failure


identity#

identity: string

RespondWorkflowTaskFailedRequest identity.

Implementation of#

IRespondWorkflowTaskFailedRequest.identity


namespace#

namespace: string

RespondWorkflowTaskFailedRequest namespace.

Implementation of#

IRespondWorkflowTaskFailedRequest.namespace


taskToken#

taskToken: Uint8Array

RespondWorkflowTaskFailedRequest taskToken.

Implementation of#

IRespondWorkflowTaskFailedRequest.taskToken

Methods#

toJSON#

toJSON(): Object

Converts this RespondWorkflowTaskFailedRequest to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): RespondWorkflowTaskFailedRequest

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

RespondWorkflowTaskFailedRequest

RespondWorkflowTaskFailedRequest


decodeDelimited#

Static decodeDelimited(reader): RespondWorkflowTaskFailedRequest

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

RespondWorkflowTaskFailedRequest

RespondWorkflowTaskFailedRequest


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): RespondWorkflowTaskFailedRequest

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

RespondWorkflowTaskFailedRequest

RespondWorkflowTaskFailedRequest


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageRespondWorkflowTaskFailedRequestRespondWorkflowTaskFailedRequest
options?IConversionOptions-

Returns#

Object

Plain object