Class WorkflowExecutionExtendedInfo
- Namespace
- Temporalio.Api.Workflow.V1
- Assembly
- Temporalio.dll
Holds all the extra information about workflow execution that is not part of Visibility.
public sealed class WorkflowExecutionExtendedInfo : IMessage<WorkflowExecutionExtendedInfo>, IEquatable<WorkflowExecutionExtendedInfo>, IDeepCloneable<WorkflowExecutionExtendedInfo>, IBufferMessage, IMessage
- Inheritance
-
WorkflowExecutionExtendedInfo
- Implements
-
IMessage<WorkflowExecutionExtendedInfo>IDeepCloneable<WorkflowExecutionExtendedInfo>IBufferMessageIMessage
- Inherited Members
Constructors
WorkflowExecutionExtendedInfo()
public WorkflowExecutionExtendedInfo()
WorkflowExecutionExtendedInfo(WorkflowExecutionExtendedInfo)
public WorkflowExecutionExtendedInfo(WorkflowExecutionExtendedInfo other)
Parameters
Fields
CancelRequestedFieldNumber
Field number for the "cancel_requested" field.
public const int CancelRequestedFieldNumber = 3
Field Value
ExecutionExpirationTimeFieldNumber
Field number for the "execution_expiration_time" field.
public const int ExecutionExpirationTimeFieldNumber = 1
Field Value
LastResetTimeFieldNumber
Field number for the "last_reset_time" field.
public const int LastResetTimeFieldNumber = 4
Field Value
OriginalStartTimeFieldNumber
Field number for the "original_start_time" field.
public const int OriginalStartTimeFieldNumber = 5
Field Value
RequestIdInfosFieldNumber
Field number for the "request_id_infos" field.
public const int RequestIdInfosFieldNumber = 7
Field Value
ResetRunIdFieldNumber
Field number for the "reset_run_id" field.
public const int ResetRunIdFieldNumber = 6
Field Value
RunExpirationTimeFieldNumber
Field number for the "run_expiration_time" field.
public const int RunExpirationTimeFieldNumber = 2
Field Value
Properties
CancelRequested
indicates if the workflow received a cancel request
public bool CancelRequested { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
ExecutionExpirationTime
Workflow execution expiration time is defined as workflow start time plus expiration timeout. Workflow start time may change after workflow reset.
public Timestamp ExecutionExpirationTime { get; set; }
Property Value
- Timestamp
LastResetTime
Last workflow reset time. Nil if the workflow was never reset.
public Timestamp LastResetTime { get; set; }
Property Value
- Timestamp
OriginalStartTime
Original workflow start time.
public Timestamp OriginalStartTime { get; set; }
Property Value
- Timestamp
Parser
public static MessageParser<WorkflowExecutionExtendedInfo> Parser { get; }
Property Value
- MessageParser<WorkflowExecutionExtendedInfo>
RequestIdInfos
Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is used in the StartWorkflowExecution request).
public MapField<string, RequestIdInfo> RequestIdInfos { get; }
Property Value
- MapField<string, RequestIdInfo>
ResetRunId
Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
public string ResetRunId { get; set; }
Property Value
RunExpirationTime
Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
public Timestamp RunExpirationTime { get; set; }
Property Value
- Timestamp
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 WorkflowExecutionExtendedInfo Clone()
Returns
- WorkflowExecutionExtendedInfo
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
Equals(WorkflowExecutionExtendedInfo)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(WorkflowExecutionExtendedInfo other)
Parameters
other
WorkflowExecutionExtendedInfoAn 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
input
CodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(WorkflowExecutionExtendedInfo)
Merges the given message into this one.
public void MergeFrom(WorkflowExecutionExtendedInfo 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
output
CodedOutputStreamCoded output stream to write the data to. Must not be null.