Class PendingWorkflowTaskInfo
Inheritance
PendingWorkflowTaskInfo
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class PendingWorkflowTaskInfo : Google.Protobuf.IMessage<PendingWorkflowTaskInfo>, Google.Protobuf.IBufferMessage
Constructors
PendingWorkflowTaskInfo()
Declaration
public PendingWorkflowTaskInfo()
PendingWorkflowTaskInfo(PendingWorkflowTaskInfo)
Declaration
public PendingWorkflowTaskInfo(PendingWorkflowTaskInfo other)
Parameters
Fields
AttemptFieldNumber
Field number for the "attempt" field.
Declaration
public const int AttemptFieldNumber = null
Field Value
OriginalScheduledTimeFieldNumber
Field number for the "original_scheduled_time" field.
Declaration
public const int OriginalScheduledTimeFieldNumber = null
Field Value
ScheduledTimeFieldNumber
Field number for the "scheduled_time" field.
Declaration
public const int ScheduledTimeFieldNumber = null
Field Value
StartedTimeFieldNumber
Field number for the "started_time" field.
Declaration
public const int StartedTimeFieldNumber = null
Field Value
StateFieldNumber
Field number for the "state" field.
Declaration
public const int StateFieldNumber = null
Field Value
Properties
Attempt
Declaration
public int Attempt { get; set; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
OriginalScheduledTime
original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
some threshold, the workflow task will be forced timeout.
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp OriginalScheduledTime { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<PendingWorkflowTaskInfo> Parser { get; }
Property Value
ScheduledTime
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp ScheduledTime { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
StartedTime
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp StartedTime { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
State
Declaration
public PendingWorkflowTaskState State { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public PendingWorkflowTaskInfo Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(PendingWorkflowTaskInfo)
Declaration
public bool Equals(PendingWorkflowTaskInfo 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(PendingWorkflowTaskInfo)
Declaration
public void MergeFrom(PendingWorkflowTaskInfo 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