Skip to main content

Class: NexusOperationExecutionListInfo

Limited Nexus operation information returned in the list response. When adding fields here, ensure that it is also present in NexusOperationExecutionInfo (note that it may already be present in NexusOperationExecutionInfo but not at the top-level).

Properties​

closeTime?​

optional closeTime?: $Properties | null

If the operation is in a terminal status, this field represents the time the operation transitioned to that status.


endpoint​

endpoint: string

Endpoint name.


executionDuration?​

optional executionDuration?: $Properties | null

The difference between close time and scheduled time. This field is only populated if the operation is closed.


operation​

operation: string

Operation name.


operationId​

operationId: string

A unique identifier of this operation within its namespace along with run ID (below).


runId​

runId: string

The run ID of the standalone Nexus operation.


scheduleTime?​

optional scheduleTime?: $Properties | null

Time the operation was originally scheduled via a StartNexusOperation request.


searchAttributes?​

optional searchAttributes?: $Properties | null

Search attributes from the start request.


service​

service: string

Service name.


stateSizeBytes​

stateSizeBytes: Long

Updated once on scheduled and once on terminal status.


stateTransitionCount​

stateTransitionCount: Long

Updated on terminal status.


status​

status: NexusOperationExecutionStatus

The status is updated once, when the operation is originally scheduled, and again when the operation reaches a terminal status.

Methods​

toJSON()​

toJSON(): object

Converts this NexusOperationExecutionListInfo to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): NexusOperationExecutionListInfo & $Properties

Creates a new NexusOperationExecutionListInfo instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

NexusOperationExecutionListInfo & $Properties

NexusOperationExecutionListInfo instance

Call Signature​

static create(properties?): NexusOperationExecutionListInfo

Creates a new NexusOperationExecutionListInfo instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

NexusOperationExecutionListInfo

NexusOperationExecutionListInfo instance


decode()​

static decode(reader, length?): NexusOperationExecutionListInfo & $Properties

Decodes a NexusOperationExecutionListInfo message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

NexusOperationExecutionListInfo & $Properties

NexusOperationExecutionListInfo

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): NexusOperationExecutionListInfo & $Properties

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

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

NexusOperationExecutionListInfo & $Properties

NexusOperationExecutionListInfo

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified NexusOperationExecutionListInfo message. Does not implicitly temporal.api.nexus.v1.NexusOperationExecutionListInfo.verify|verify messages.

Parameters​

message​

$Properties

NexusOperationExecutionListInfo message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

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

Parameters​

message​

$Properties

NexusOperationExecutionListInfo message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): NexusOperationExecutionListInfo

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

Parameters​

object​

Plain object

Returns​

NexusOperationExecutionListInfo

NexusOperationExecutionListInfo


toObject()​

static toObject(message, options?): object

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

Parameters​

message​

NexusOperationExecutionListInfo

NexusOperationExecutionListInfo

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object