Table of Contents

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
IBufferMessage
IMessage
Inherited Members

Constructors

WorkflowExecutionExtendedInfo()

public WorkflowExecutionExtendedInfo()

WorkflowExecutionExtendedInfo(WorkflowExecutionExtendedInfo)

public WorkflowExecutionExtendedInfo(WorkflowExecutionExtendedInfo other)

Parameters

other WorkflowExecutionExtendedInfo

Fields

CancelRequestedFieldNumber

Field number for the "cancel_requested" field.

public const int CancelRequestedFieldNumber = 3

Field Value

int

ExecutionExpirationTimeFieldNumber

Field number for the "execution_expiration_time" field.

public const int ExecutionExpirationTimeFieldNumber = 1

Field Value

int

LastResetTimeFieldNumber

Field number for the "last_reset_time" field.

public const int LastResetTimeFieldNumber = 4

Field Value

int

OriginalStartTimeFieldNumber

Field number for the "original_start_time" field.

public const int OriginalStartTimeFieldNumber = 5

Field Value

int

RunExpirationTimeFieldNumber

Field number for the "run_expiration_time" field.

public const int RunExpirationTimeFieldNumber = 2

Field Value

int

Properties

CancelRequested

indicates if the workflow received a cancel request

public bool CancelRequested { get; set; }

Property Value

bool

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>

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

bool

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

Equals(WorkflowExecutionExtendedInfo)

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

public bool Equals(WorkflowExecutionExtendedInfo other)

Parameters

other WorkflowExecutionExtendedInfo

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(WorkflowExecutionExtendedInfo)

Merges the given message into this one.

public void MergeFrom(WorkflowExecutionExtendedInfo other)

Parameters

other WorkflowExecutionExtendedInfo

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.