Skip to main content

Class: RecordActivityTaskHeartbeatByIdRequest

workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest

Represents a RecordActivityTaskHeartbeatByIdRequest.

Implements

Constructors

constructor

new RecordActivityTaskHeartbeatByIdRequest(properties?): RecordActivityTaskHeartbeatByIdRequest

Constructs a new RecordActivityTaskHeartbeatByIdRequest.

Parameters

NameTypeDescription
properties?IRecordActivityTaskHeartbeatByIdRequestProperties to set

Returns

RecordActivityTaskHeartbeatByIdRequest

Properties

activityId

activityId: string

Id of the activity we're heartbeating

Implementation of

IRecordActivityTaskHeartbeatByIdRequest.activityId


details

Optional details: null | IPayloads

Arbitrary data, of which the most recent call is kept, to store for this activity

Implementation of

IRecordActivityTaskHeartbeatByIdRequest.details


identity

identity: string

The identity of the worker/client

Implementation of

IRecordActivityTaskHeartbeatByIdRequest.identity


namespace

namespace: string

Namespace of the workflow which scheduled this activity

Implementation of

IRecordActivityTaskHeartbeatByIdRequest.namespace


runId

runId: string

Run Id of the workflow which scheduled this activity

Implementation of

IRecordActivityTaskHeartbeatByIdRequest.runId


workflowId

workflowId: string

Id of the workflow which scheduled this activity

Implementation of

IRecordActivityTaskHeartbeatByIdRequest.workflowId

Methods

toJSON

toJSON(): Object

Converts this RecordActivityTaskHeartbeatByIdRequest to JSON.

Returns

Object

JSON object


create

create(properties?): RecordActivityTaskHeartbeatByIdRequest

Creates a new RecordActivityTaskHeartbeatByIdRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IRecordActivityTaskHeartbeatByIdRequestProperties to set

Returns

RecordActivityTaskHeartbeatByIdRequest

RecordActivityTaskHeartbeatByIdRequest instance


decode

decode(reader, length?): RecordActivityTaskHeartbeatByIdRequest

Decodes a RecordActivityTaskHeartbeatByIdRequest message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

RecordActivityTaskHeartbeatByIdRequest

RecordActivityTaskHeartbeatByIdRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): RecordActivityTaskHeartbeatByIdRequest

Decodes a RecordActivityTaskHeartbeatByIdRequest message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

RecordActivityTaskHeartbeatByIdRequest

RecordActivityTaskHeartbeatByIdRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIRecordActivityTaskHeartbeatByIdRequestRecordActivityTaskHeartbeatByIdRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIRecordActivityTaskHeartbeatByIdRequestRecordActivityTaskHeartbeatByIdRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

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


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for RecordActivityTaskHeartbeatByIdRequest

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageRecordActivityTaskHeartbeatByIdRequestRecordActivityTaskHeartbeatByIdRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object