Table of Contents

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

int

CloseTimeFieldNumber

Field number for the "close_time" field.

public const int CloseTimeFieldNumber = 4

Field Value

int

ExecutionFieldNumber

Field number for the "execution" field.

public const int ExecutionFieldNumber = 1

Field Value

int

ExecutionTimeFieldNumber

Field number for the "execution_time" field.

public const int ExecutionTimeFieldNumber = 9

Field Value

int

HistoryLengthFieldNumber

Field number for the "history_length" field.

public const int HistoryLengthFieldNumber = 6

Field Value

int

HistorySizeBytesFieldNumber

Field number for the "history_size_bytes" field.

public const int HistorySizeBytesFieldNumber = 15

Field Value

int

MemoFieldNumber

Field number for the "memo" field.

public const int MemoFieldNumber = 10

Field Value

int

MostRecentWorkerVersionStampFieldNumber

Field number for the "most_recent_worker_version_stamp" field.

public const int MostRecentWorkerVersionStampFieldNumber = 16

Field Value

int

ParentExecutionFieldNumber

Field number for the "parent_execution" field.

public const int ParentExecutionFieldNumber = 8

Field Value

int

ParentNamespaceIdFieldNumber

Field number for the "parent_namespace_id" field.

public const int ParentNamespaceIdFieldNumber = 7

Field Value

int

SearchAttributesFieldNumber

Field number for the "search_attributes" field.

public const int SearchAttributesFieldNumber = 11

Field Value

int

StartTimeFieldNumber

Field number for the "start_time" field.

public const int StartTimeFieldNumber = 3

Field Value

int

StateTransitionCountFieldNumber

Field number for the "state_transition_count" field.

public const int StateTransitionCountFieldNumber = 14

Field Value

int

StatusFieldNumber

Field number for the "status" field.

public const int StatusFieldNumber = 5

Field Value

int

TaskQueueFieldNumber

Field number for the "task_queue" field.

public const int TaskQueueFieldNumber = 13

Field Value

int

TypeFieldNumber

Field number for the "type" field.

public const int TypeFieldNumber = 2

Field Value

int

Properties

AutoResetPoints

public ResetPoints AutoResetPoints { get; set; }

Property Value

ResetPoints

CloseTime

public Timestamp CloseTime { get; set; }

Property Value

Timestamp

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Execution

public WorkflowExecution Execution { get; set; }

Property Value

WorkflowExecution

ExecutionTime

public Timestamp ExecutionTime { get; set; }

Property Value

Timestamp

HistoryLength

public long HistoryLength { get; set; }

Property Value

long

HistorySizeBytes

public long HistorySizeBytes { get; set; }

Property Value

long

Memo

public Memo Memo { get; set; }

Property Value

Memo

MostRecentWorkerVersionStamp

If set, the most recent worker version stamp that appeared in a workflow task completion

public WorkerVersionStamp MostRecentWorkerVersionStamp { get; set; }

Property Value

WorkerVersionStamp

ParentExecution

public WorkflowExecution ParentExecution { get; set; }

Property Value

WorkflowExecution

ParentNamespaceId

public string ParentNamespaceId { get; set; }

Property Value

string

Parser

public static MessageParser<WorkflowExecutionInfo> Parser { get; }

Property Value

MessageParser<WorkflowExecutionInfo>

SearchAttributes

public SearchAttributes SearchAttributes { get; set; }

Property Value

SearchAttributes

StartTime

public Timestamp StartTime { get; set; }

Property Value

Timestamp

StateTransitionCount

public long StateTransitionCount { get; set; }

Property Value

long

Status

public WorkflowExecutionStatus Status { get; set; }

Property Value

WorkflowExecutionStatus

TaskQueue

public string TaskQueue { get; set; }

Property Value

string

Type

public WorkflowType Type { get; set; }

Property Value

WorkflowType

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

bool

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

Equals(WorkflowExecutionInfo)

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

public bool Equals(WorkflowExecutionInfo other)

Parameters

other WorkflowExecutionInfo

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(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 CodedOutputStream

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