Table of Contents

Class NexusOperationExecutionListInfo

Namespace
Temporalio.Api.Nexus.V1
Assembly
Temporalio.dll

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

public sealed class NexusOperationExecutionListInfo : IMessage<NexusOperationExecutionListInfo>, IEquatable<NexusOperationExecutionListInfo>, IDeepCloneable<NexusOperationExecutionListInfo>, IBufferMessage, IMessage
Inheritance
NexusOperationExecutionListInfo
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

NexusOperationExecutionListInfo()

public NexusOperationExecutionListInfo()

NexusOperationExecutionListInfo(NexusOperationExecutionListInfo)

public NexusOperationExecutionListInfo(NexusOperationExecutionListInfo other)

Parameters

other NexusOperationExecutionListInfo

Fields

CloseTimeFieldNumber

Field number for the "close_time" field.

public const int CloseTimeFieldNumber = 7

Field Value

int

EndpointFieldNumber

Field number for the "endpoint" field.

public const int EndpointFieldNumber = 3

Field Value

int

ExecutionDurationFieldNumber

Field number for the "execution_duration" field.

public const int ExecutionDurationFieldNumber = 11

Field Value

int

OperationFieldNumber

Field number for the "operation" field.

public const int OperationFieldNumber = 5

Field Value

int

OperationIdFieldNumber

Field number for the "operation_id" field.

public const int OperationIdFieldNumber = 1

Field Value

int

RunIdFieldNumber

Field number for the "run_id" field.

public const int RunIdFieldNumber = 2

Field Value

int

ScheduleTimeFieldNumber

Field number for the "schedule_time" field.

public const int ScheduleTimeFieldNumber = 6

Field Value

int

SearchAttributesFieldNumber

Field number for the "search_attributes" field.

public const int SearchAttributesFieldNumber = 9

Field Value

int

ServiceFieldNumber

Field number for the "service" field.

public const int ServiceFieldNumber = 4

Field Value

int

StateTransitionCountFieldNumber

Field number for the "state_transition_count" field.

public const int StateTransitionCountFieldNumber = 10

Field Value

int

StatusFieldNumber

Field number for the "status" field.

public const int StatusFieldNumber = 8

Field Value

int

Properties

CloseTime

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

public Timestamp CloseTime { get; set; }

Property Value

Timestamp

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Endpoint

Endpoint name.

public string Endpoint { get; set; }

Property Value

string

ExecutionDuration

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

public Duration ExecutionDuration { get; set; }

Property Value

Duration

Operation

Operation name.

public string Operation { get; set; }

Property Value

string

OperationId

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

public string OperationId { get; set; }

Property Value

string

Parser

public static MessageParser<NexusOperationExecutionListInfo> Parser { get; }

Property Value

MessageParser<NexusOperationExecutionListInfo>

RunId

The run ID of the standalone Nexus operation.

public string RunId { get; set; }

Property Value

string

ScheduleTime

Time the operation was originally scheduled via a StartNexusOperation request.

public Timestamp ScheduleTime { get; set; }

Property Value

Timestamp

SearchAttributes

Search attributes from the start request.

public SearchAttributes SearchAttributes { get; set; }

Property Value

SearchAttributes

Service

Service name.

public string Service { get; set; }

Property Value

string

StateTransitionCount

Updated on terminal status.

public long StateTransitionCount { get; set; }

Property Value

long

Status

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

public NexusOperationExecutionStatus Status { get; set; }

Property Value

NexusOperationExecutionStatus

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public NexusOperationExecutionListInfo Clone()

Returns

NexusOperationExecutionListInfo

A deep clone of this object.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(NexusOperationExecutionListInfo)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(NexusOperationExecutionListInfo other)

Parameters

other NexusOperationExecutionListInfo

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(NexusOperationExecutionListInfo)

Merges the given message into this one.

public void MergeFrom(NexusOperationExecutionListInfo other)

Parameters

other NexusOperationExecutionListInfo

Remarks

See the user guide for precise merge semantics.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.