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?
optionalcloseTime?:$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?
optionalexecutionDuration?:$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?
optionalscheduleTime?:$Properties|null
Time the operation was originally scheduled via a StartNexusOperation request.
searchAttributes?
optionalsearchAttributes?:$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
staticcreate(properties?):NexusOperationExecutionListInfo&$Properties
Creates a new NexusOperationExecutionListInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
NexusOperationExecutionListInfo & $Properties
NexusOperationExecutionListInfo instance
Call Signature
staticcreate(properties?):NexusOperationExecutionListInfo
Creates a new NexusOperationExecutionListInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
NexusOperationExecutionListInfo
NexusOperationExecutionListInfo instance
decode()
staticdecode(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()
staticdecodeDelimited(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()
staticencode(message,writer?):Writer
Encodes the specified NexusOperationExecutionListInfo message. Does not implicitly temporal.api.nexus.v1.NexusOperationExecutionListInfo.verify|verify messages.
Parameters
message
NexusOperationExecutionListInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified NexusOperationExecutionListInfo message, length delimited. Does not implicitly temporal.api.nexus.v1.NexusOperationExecutionListInfo.verify|verify messages.
Parameters
message
NexusOperationExecutionListInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(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()
statictoObject(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