Skip to main content

Class: RecordActivityTaskHeartbeatByIdRequest

workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest

Represents a RecordActivityTaskHeartbeatByIdRequest.

Implements#

Constructors#

constructor#

new RecordActivityTaskHeartbeatByIdRequest(properties?)

Constructs a new RecordActivityTaskHeartbeatByIdRequest.

Parameters#

NameType
properties?IRecordActivityTaskHeartbeatByIdRequest

Properties#

activityId#

activityId: string

RecordActivityTaskHeartbeatByIdRequest activityId.

Implementation of#

IRecordActivityTaskHeartbeatByIdRequest.activityId


details#

Optional details: null | IPayloads

RecordActivityTaskHeartbeatByIdRequest details.

Implementation of#

IRecordActivityTaskHeartbeatByIdRequest.details


identity#

identity: string

RecordActivityTaskHeartbeatByIdRequest identity.

Implementation of#

IRecordActivityTaskHeartbeatByIdRequest.identity


namespace#

namespace: string

RecordActivityTaskHeartbeatByIdRequest namespace.

Implementation of#

IRecordActivityTaskHeartbeatByIdRequest.namespace


runId#

runId: string

RecordActivityTaskHeartbeatByIdRequest runId.

Implementation of#

IRecordActivityTaskHeartbeatByIdRequest.runId


workflowId#

workflowId: string

RecordActivityTaskHeartbeatByIdRequest workflowId.

Implementation of#

IRecordActivityTaskHeartbeatByIdRequest.workflowId

Methods#

toJSON#

toJSON(): Object

Converts this RecordActivityTaskHeartbeatByIdRequest to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): RecordActivityTaskHeartbeatByIdRequest

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

RecordActivityTaskHeartbeatByIdRequest

RecordActivityTaskHeartbeatByIdRequest


decodeDelimited#

Static decodeDelimited(reader): RecordActivityTaskHeartbeatByIdRequest

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

RecordActivityTaskHeartbeatByIdRequest

RecordActivityTaskHeartbeatByIdRequest


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): RecordActivityTaskHeartbeatByIdRequest

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

RecordActivityTaskHeartbeatByIdRequest

RecordActivityTaskHeartbeatByIdRequest


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageRecordActivityTaskHeartbeatByIdRequestRecordActivityTaskHeartbeatByIdRequest
options?IConversionOptions-

Returns#

Object

Plain object