Skip to main content

Class: RespondActivityTaskFailedByIdRequest

workflowservice.v1.RespondActivityTaskFailedByIdRequest

Represents a RespondActivityTaskFailedByIdRequest.

Implements#

Constructors#

constructor#

new RespondActivityTaskFailedByIdRequest(properties?)

Constructs a new RespondActivityTaskFailedByIdRequest.

Parameters#

NameType
properties?IRespondActivityTaskFailedByIdRequest

Properties#

activityId#

activityId: string

RespondActivityTaskFailedByIdRequest activityId.

Implementation of#

IRespondActivityTaskFailedByIdRequest.activityId


failure#

Optional failure: null | IFailure

RespondActivityTaskFailedByIdRequest failure.

Implementation of#

IRespondActivityTaskFailedByIdRequest.failure


identity#

identity: string

RespondActivityTaskFailedByIdRequest identity.

Implementation of#

IRespondActivityTaskFailedByIdRequest.identity


namespace#

namespace: string

RespondActivityTaskFailedByIdRequest namespace.

Implementation of#

IRespondActivityTaskFailedByIdRequest.namespace


runId#

runId: string

RespondActivityTaskFailedByIdRequest runId.

Implementation of#

IRespondActivityTaskFailedByIdRequest.runId


workflowId#

workflowId: string

RespondActivityTaskFailedByIdRequest workflowId.

Implementation of#

IRespondActivityTaskFailedByIdRequest.workflowId

Methods#

toJSON#

toJSON(): Object

Converts this RespondActivityTaskFailedByIdRequest to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): RespondActivityTaskFailedByIdRequest

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

RespondActivityTaskFailedByIdRequest

RespondActivityTaskFailedByIdRequest


decodeDelimited#

Static decodeDelimited(reader): RespondActivityTaskFailedByIdRequest

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

RespondActivityTaskFailedByIdRequest

RespondActivityTaskFailedByIdRequest


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): RespondActivityTaskFailedByIdRequest

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

RespondActivityTaskFailedByIdRequest

RespondActivityTaskFailedByIdRequest


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageRespondActivityTaskFailedByIdRequestRespondActivityTaskFailedByIdRequest
options?IConversionOptions-

Returns#

Object

Plain object