Class: RecordActivityTaskHeartbeatByIdRequest
workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest
Represents a RecordActivityTaskHeartbeatByIdRequest.
Implements
Constructors
constructor
• new RecordActivityTaskHeartbeatByIdRequest(properties?
): RecordActivityTaskHeartbeatByIdRequest
Constructs a new RecordActivityTaskHeartbeatByIdRequest.
Parameters
Name | Type | Description |
---|---|---|
properties? | IRecordActivityTaskHeartbeatByIdRequest | Properties 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
Name | Type | Description |
---|---|---|
properties? | IRecordActivityTaskHeartbeatByIdRequest | Properties to set |
Returns
RecordActivityTaskHeartbeatByIdRequest
RecordActivityTaskHeartbeatByIdRequest instance
decode
▸ decode(reader
, length?
): RecordActivityTaskHeartbeatByIdRequest
Decodes a RecordActivityTaskHeartbeatByIdRequest message from the specified reader or buffer.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message 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
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader 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
Name | Type | Description |
---|---|---|
message | IRecordActivityTaskHeartbeatByIdRequest | RecordActivityTaskHeartbeatByIdRequest message or plain object to encode |
writer? | Writer | Writer 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
Name | Type | Description |
---|---|---|
message | IRecordActivityTaskHeartbeatByIdRequest | RecordActivityTaskHeartbeatByIdRequest message or plain object to encode |
writer? | Writer | Writer 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
Name | Type | Description |
---|---|---|
object | Object | Plain object |
Returns
RecordActivityTaskHeartbeatByIdRequest
RecordActivityTaskHeartbeatByIdRequest
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?
): string
Gets the default type url for RecordActivityTaskHeartbeatByIdRequest
Parameters
Name | Type | Description |
---|---|---|
typeUrlPrefix? | string | your 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
Name | Type | Description |
---|---|---|
message | RecordActivityTaskHeartbeatByIdRequest | RecordActivityTaskHeartbeatByIdRequest |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object