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
-
IMessage<NexusOperationExecutionListInfo>IDeepCloneable<NexusOperationExecutionListInfo>IBufferMessageIMessage
- Inherited Members
Constructors
NexusOperationExecutionListInfo()
public NexusOperationExecutionListInfo()
NexusOperationExecutionListInfo(NexusOperationExecutionListInfo)
public NexusOperationExecutionListInfo(NexusOperationExecutionListInfo other)
Parameters
Fields
CloseTimeFieldNumber
Field number for the "close_time" field.
public const int CloseTimeFieldNumber = 7
Field Value
EndpointFieldNumber
Field number for the "endpoint" field.
public const int EndpointFieldNumber = 3
Field Value
ExecutionDurationFieldNumber
Field number for the "execution_duration" field.
public const int ExecutionDurationFieldNumber = 11
Field Value
OperationFieldNumber
Field number for the "operation" field.
public const int OperationFieldNumber = 5
Field Value
OperationIdFieldNumber
Field number for the "operation_id" field.
public const int OperationIdFieldNumber = 1
Field Value
RunIdFieldNumber
Field number for the "run_id" field.
public const int RunIdFieldNumber = 2
Field Value
ScheduleTimeFieldNumber
Field number for the "schedule_time" field.
public const int ScheduleTimeFieldNumber = 6
Field Value
SearchAttributesFieldNumber
Field number for the "search_attributes" field.
public const int SearchAttributesFieldNumber = 9
Field Value
ServiceFieldNumber
Field number for the "service" field.
public const int ServiceFieldNumber = 4
Field Value
StateTransitionCountFieldNumber
Field number for the "state_transition_count" field.
public const int StateTransitionCountFieldNumber = 10
Field Value
StatusFieldNumber
Field number for the "status" field.
public const int StatusFieldNumber = 8
Field Value
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
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
OperationId
A unique identifier of this operation within its namespace along with run ID (below).
public string OperationId { get; set; }
Property Value
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
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
Service
Service name.
public string Service { get; set; }
Property Value
StateTransitionCount
Updated on terminal status.
public long StateTransitionCount { get; set; }
Property Value
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
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
otherobject
Returns
Equals(NexusOperationExecutionListInfo)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(NexusOperationExecutionListInfo other)
Parameters
otherNexusOperationExecutionListInfoAn object to compare with this object.
Returns
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
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(NexusOperationExecutionListInfo)
Merges the given message into this one.
public void MergeFrom(NexusOperationExecutionListInfo other)
Parameters
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
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.