Class ActivityTaskCanceledEventAttributes
Inheritance
ActivityTaskCanceledEventAttributes
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class ActivityTaskCanceledEventAttributes : Google.Protobuf.IMessage<ActivityTaskCanceledEventAttributes>, Google.Protobuf.IBufferMessage
Constructors
ActivityTaskCanceledEventAttributes()
Declaration
public ActivityTaskCanceledEventAttributes()
ActivityTaskCanceledEventAttributes(ActivityTaskCanceledEventAttributes)
Declaration
public ActivityTaskCanceledEventAttributes(ActivityTaskCanceledEventAttributes other)
Parameters
Fields
DetailsFieldNumber
Field number for the "details" field.
Declaration
public const int DetailsFieldNumber = null
Field Value
IdentityFieldNumber
Field number for the "identity" field.
Declaration
public const int IdentityFieldNumber = null
Field Value
LatestCancelRequestedEventIdFieldNumber
Field number for the "latest_cancel_requested_event_id" field.
Declaration
public const int LatestCancelRequestedEventIdFieldNumber = null
Field Value
ScheduledEventIdFieldNumber
Field number for the "scheduled_event_id" field.
Declaration
public const int ScheduledEventIdFieldNumber = null
Field Value
StartedEventIdFieldNumber
Field number for the "started_event_id" field.
Declaration
public const int StartedEventIdFieldNumber = null
Field Value
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Details
Additional information that the activity reported upon confirming cancellation
Declaration
public Payloads Details { get; set; }
Property Value
Identity
id of the worker who canceled this activity
Declaration
public string Identity { get; set; }
Property Value
LatestCancelRequestedEventId
id of the most recent ACTIVITY_TASK_CANCEL_REQUESTED
event which refers to the same
activity
Declaration
public long LatestCancelRequestedEventId { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<ActivityTaskCanceledEventAttributes> Parser { get; }
Property Value
ScheduledEventId
The id of the ACTIVITY_TASK_SCHEDULED
event this cancel confirmation corresponds to
Declaration
public long ScheduledEventId { get; set; }
Property Value
StartedEventId
The id of the ACTIVITY_TASK_STARTED
event this cancel confirmation corresponds to
Declaration
public long StartedEventId { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public ActivityTaskCanceledEventAttributes Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(ActivityTaskCanceledEventAttributes)
Declaration
public bool Equals(ActivityTaskCanceledEventAttributes 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(ActivityTaskCanceledEventAttributes)
Declaration
public void MergeFrom(ActivityTaskCanceledEventAttributes 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