Class ActivityTaskStartedEventAttributes
Inheritance
ActivityTaskStartedEventAttributes
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class ActivityTaskStartedEventAttributes : Google.Protobuf.IMessage<ActivityTaskStartedEventAttributes>, Google.Protobuf.IBufferMessage
Constructors
ActivityTaskStartedEventAttributes()
Declaration
public ActivityTaskStartedEventAttributes()
ActivityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes)
Declaration
public ActivityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes other)
Parameters
Fields
AttemptFieldNumber
Field number for the "attempt" field.
Declaration
public const int AttemptFieldNumber = null
Field Value
IdentityFieldNumber
Field number for the "identity" field.
Declaration
public const int IdentityFieldNumber = null
Field Value
LastFailureFieldNumber
Field number for the "last_failure" field.
Declaration
public const int LastFailureFieldNumber = 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
Properties
Attempt
Starting at 1, the number of times this task has been attempted
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 |
|
Identity
id of the worker that picked up this task
Declaration
public string Identity { get; set; }
Property Value
LastFailure
Will be set to the most recent failure details, if this task has previously failed and then
been retried.
Declaration
public Failure LastFailure { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<ActivityTaskStartedEventAttributes> Parser { get; }
Property Value
RequestId
Declaration
public string RequestId { get; set; }
Property Value
ScheduledEventId
The id of the ACTIVITY_TASK_SCHEDULED
event this task corresponds to
Declaration
public long ScheduledEventId { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public ActivityTaskStartedEventAttributes Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(ActivityTaskStartedEventAttributes)
Declaration
public bool Equals(ActivityTaskStartedEventAttributes 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(ActivityTaskStartedEventAttributes)
Declaration
public void MergeFrom(ActivityTaskStartedEventAttributes 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