Class WorkflowTaskStartedEventAttributes
Inheritance
WorkflowTaskStartedEventAttributes
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class WorkflowTaskStartedEventAttributes : Google.Protobuf.IMessage<WorkflowTaskStartedEventAttributes>, Google.Protobuf.IBufferMessage
Constructors
WorkflowTaskStartedEventAttributes()
Declaration
public WorkflowTaskStartedEventAttributes()
WorkflowTaskStartedEventAttributes(WorkflowTaskStartedEventAttributes)
Declaration
public WorkflowTaskStartedEventAttributes(WorkflowTaskStartedEventAttributes other)
Parameters
Fields
HistorySizeBytesFieldNumber
Field number for the "history_size_bytes" field.
Declaration
public const int HistorySizeBytesFieldNumber = null
Field Value
IdentityFieldNumber
Field number for the "identity" field.
Declaration
public const int IdentityFieldNumber = null
Field Value
RequestIdFieldNumber
Field number for the "request_id" field.
Declaration
public const int RequestIdFieldNumber = null
Field Value
ScheduledEventIdFieldNumber
Field number for the "scheduled_event_id" field.
Declaration
public const int ScheduledEventIdFieldNumber = null
Field Value
SuggestContinueAsNewFieldNumber
Field number for the "suggest_continue_as_new" field.
Declaration
public const int SuggestContinueAsNewFieldNumber = null
Field Value
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
HistorySizeBytes
Total history size in bytes, which the workflow might use to decide when to
continue-as-new regardless of the suggestion. Note that history event count is
just the event id of this event, so we don't include it explicitly here.
Declaration
public long HistorySizeBytes { get; set; }
Property Value
Identity
Identity of the worker who picked up this task
Declaration
public string Identity { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<WorkflowTaskStartedEventAttributes> Parser { get; }
Property Value
RequestId
Declaration
public string RequestId { get; set; }
Property Value
ScheduledEventId
The id of the WORKFLOW_TASK_SCHEDULED
event this task corresponds to
Declaration
public long ScheduledEventId { get; set; }
Property Value
SuggestContinueAsNew
True if this workflow should continue-as-new soon because its history size (in
either event count or bytes) is getting large.
Declaration
public bool SuggestContinueAsNew { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public WorkflowTaskStartedEventAttributes Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(WorkflowTaskStartedEventAttributes)
Declaration
public bool Equals(WorkflowTaskStartedEventAttributes other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
MergeFrom(Google.Protobuf.CodedInputStream)
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(WorkflowTaskStartedEventAttributes)
Declaration
public void MergeFrom(WorkflowTaskStartedEventAttributes 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