Class WorkflowExecution
Identifies a specific workflow within a namespace. Practically speaking, because run_id is a
uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty
run id as a way of saying "target the latest run of the workflow".
Inheritance
WorkflowExecution
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class WorkflowExecution : Google.Protobuf.IMessage<WorkflowExecution>, Google.Protobuf.IBufferMessage
Constructors
WorkflowExecution()
Declaration
public WorkflowExecution()
WorkflowExecution(WorkflowExecution)
Declaration
public WorkflowExecution(WorkflowExecution other)
Parameters
Fields
RunIdFieldNumber
Field number for the "run_id" field.
Declaration
public const int RunIdFieldNumber = null
Field Value
WorkflowIdFieldNumber
Field number for the "workflow_id" field.
Declaration
public const int WorkflowIdFieldNumber = null
Field Value
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<WorkflowExecution> Parser { get; }
Property Value
RunId
Declaration
public string RunId { get; set; }
Property Value
WorkflowId
Declaration
public string WorkflowId { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public WorkflowExecution Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(WorkflowExecution)
Declaration
public bool Equals(WorkflowExecution other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(WorkflowExecution)
Declaration
public void MergeFrom(WorkflowExecution other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage