Class WorkflowExecutionInfo
- Namespace
- Temporalio.Api.Workflow.V1
- Assembly
- Temporalio.dll
public sealed class WorkflowExecutionInfo : IMessage<WorkflowExecutionInfo>, IEquatable<WorkflowExecutionInfo>, IDeepCloneable<WorkflowExecutionInfo>, IBufferMessage, IMessage
- Inheritance
-
WorkflowExecutionInfo
- Implements
- Inherited Members
Constructors
WorkflowExecutionInfo()
public WorkflowExecutionInfo()
WorkflowExecutionInfo(WorkflowExecutionInfo)
public WorkflowExecutionInfo(WorkflowExecutionInfo other)
Parameters
other
WorkflowExecutionInfo
Fields
AutoResetPointsFieldNumber
Field number for the "auto_reset_points" field.
public const int AutoResetPointsFieldNumber = 12
Field Value
CloseTimeFieldNumber
Field number for the "close_time" field.
public const int CloseTimeFieldNumber = 4
Field Value
ExecutionFieldNumber
Field number for the "execution" field.
public const int ExecutionFieldNumber = 1
Field Value
ExecutionTimeFieldNumber
Field number for the "execution_time" field.
public const int ExecutionTimeFieldNumber = 9
Field Value
HistoryLengthFieldNumber
Field number for the "history_length" field.
public const int HistoryLengthFieldNumber = 6
Field Value
HistorySizeBytesFieldNumber
Field number for the "history_size_bytes" field.
public const int HistorySizeBytesFieldNumber = 15
Field Value
MemoFieldNumber
Field number for the "memo" field.
public const int MemoFieldNumber = 10
Field Value
MostRecentWorkerVersionStampFieldNumber
Field number for the "most_recent_worker_version_stamp" field.
public const int MostRecentWorkerVersionStampFieldNumber = 16
Field Value
ParentExecutionFieldNumber
Field number for the "parent_execution" field.
public const int ParentExecutionFieldNumber = 8
Field Value
ParentNamespaceIdFieldNumber
Field number for the "parent_namespace_id" field.
public const int ParentNamespaceIdFieldNumber = 7
Field Value
SearchAttributesFieldNumber
Field number for the "search_attributes" field.
public const int SearchAttributesFieldNumber = 11
Field Value
StartTimeFieldNumber
Field number for the "start_time" field.
public const int StartTimeFieldNumber = 3
Field Value
StateTransitionCountFieldNumber
Field number for the "state_transition_count" field.
public const int StateTransitionCountFieldNumber = 14
Field Value
StatusFieldNumber
Field number for the "status" field.
public const int StatusFieldNumber = 5
Field Value
TaskQueueFieldNumber
Field number for the "task_queue" field.
public const int TaskQueueFieldNumber = 13
Field Value
TypeFieldNumber
Field number for the "type" field.
public const int TypeFieldNumber = 2
Field Value
Properties
AutoResetPoints
public ResetPoints AutoResetPoints { get; set; }
Property Value
CloseTime
public Timestamp CloseTime { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
Execution
public WorkflowExecution Execution { get; set; }
Property Value
ExecutionTime
public Timestamp ExecutionTime { get; set; }
Property Value
HistoryLength
public long HistoryLength { get; set; }
Property Value
HistorySizeBytes
public long HistorySizeBytes { get; set; }
Property Value
Memo
public Memo Memo { get; set; }
Property Value
MostRecentWorkerVersionStamp
If set, the most recent worker version stamp that appeared in a workflow task completion
public WorkerVersionStamp MostRecentWorkerVersionStamp { get; set; }
Property Value
ParentExecution
public WorkflowExecution ParentExecution { get; set; }
Property Value
ParentNamespaceId
public string ParentNamespaceId { get; set; }
Property Value
Parser
public static MessageParser<WorkflowExecutionInfo> Parser { get; }
Property Value
SearchAttributes
public SearchAttributes SearchAttributes { get; set; }
Property Value
StartTime
public Timestamp StartTime { get; set; }
Property Value
StateTransitionCount
public long StateTransitionCount { get; set; }
Property Value
Status
public WorkflowExecutionStatus Status { get; set; }
Property Value
TaskQueue
public string TaskQueue { get; set; }
Property Value
Type
public WorkflowType Type { 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 WorkflowExecutionInfo Clone()
Returns
- WorkflowExecutionInfo
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(WorkflowExecutionInfo)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(WorkflowExecutionInfo other)
Parameters
other
WorkflowExecutionInfoAn 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(WorkflowExecutionInfo)
Merges the given message into this one.
public void MergeFrom(WorkflowExecutionInfo other)
Parameters
other
WorkflowExecutionInfo
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.