Skip to main content

Class: RecordActivityTaskHeartbeatByIdRequest

workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest

Represents a RecordActivityTaskHeartbeatByIdRequest.

Implements

Constructors

constructor

new RecordActivityTaskHeartbeatByIdRequest(properties?)

Constructs a new RecordActivityTaskHeartbeatByIdRequest.

Parameters

NameTypeDescription
properties?IRecordActivityTaskHeartbeatByIdRequestProperties to set

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


create

Static create(properties?): RecordActivityTaskHeartbeatByIdRequest

Creates a new RecordActivityTaskHeartbeatByIdRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IRecordActivityTaskHeartbeatByIdRequestProperties to set

Returns

RecordActivityTaskHeartbeatByIdRequest

RecordActivityTaskHeartbeatByIdRequest instance


decode

Static decode(reader, length?): RecordActivityTaskHeartbeatByIdRequest

Decodes a RecordActivityTaskHeartbeatByIdRequest message from the specified reader or buffer.

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing

Parameters

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

Returns

RecordActivityTaskHeartbeatByIdRequest

RecordActivityTaskHeartbeatByIdRequest


decodeDelimited

Static decodeDelimited(reader): RecordActivityTaskHeartbeatByIdRequest

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

Throws

If the payload is not a reader or valid buffer

Throws

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 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

Static 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

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


getTypeUrl

Static 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

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?IConversionOptionsConversion options

Returns

Object

Plain object