Class ActivityTaskScheduledEventAttributes
Inheritance
ActivityTaskScheduledEventAttributes
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class ActivityTaskScheduledEventAttributes : Google.Protobuf.IMessage<ActivityTaskScheduledEventAttributes>, Google.Protobuf.IBufferMessage
Constructors
ActivityTaskScheduledEventAttributes()
Declaration
public ActivityTaskScheduledEventAttributes()
ActivityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes)
Declaration
public ActivityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes other)
Parameters
Fields
ActivityIdFieldNumber
Field number for the "activity_id" field.
Declaration
public const int ActivityIdFieldNumber = null
Field Value
ActivityTypeFieldNumber
Field number for the "activity_type" field.
Declaration
public const int ActivityTypeFieldNumber = null
Field Value
Field number for the "header" field.
Declaration
public const int HeaderFieldNumber = null
Field Value
HeartbeatTimeoutFieldNumber
Field number for the "heartbeat_timeout" field.
Declaration
public const int HeartbeatTimeoutFieldNumber = null
Field Value
InputFieldNumber
Field number for the "input" field.
Declaration
public const int InputFieldNumber = null
Field Value
RetryPolicyFieldNumber
Field number for the "retry_policy" field.
Declaration
public const int RetryPolicyFieldNumber = null
Field Value
ScheduleToCloseTimeoutFieldNumber
Field number for the "schedule_to_close_timeout" field.
Declaration
public const int ScheduleToCloseTimeoutFieldNumber = null
Field Value
ScheduleToStartTimeoutFieldNumber
Field number for the "schedule_to_start_timeout" field.
Declaration
public const int ScheduleToStartTimeoutFieldNumber = null
Field Value
StartToCloseTimeoutFieldNumber
Field number for the "start_to_close_timeout" field.
Declaration
public const int StartToCloseTimeoutFieldNumber = null
Field Value
TaskQueueFieldNumber
Field number for the "task_queue" field.
Declaration
public const int TaskQueueFieldNumber = null
Field Value
WorkflowTaskCompletedEventIdFieldNumber
Field number for the "workflow_task_completed_event_id" field.
Declaration
public const int WorkflowTaskCompletedEventIdFieldNumber = null
Field Value
Properties
ActivityId
The worker/user assigned identifier for the activity
Declaration
public string ActivityId { get; set; }
Property Value
ActivityType
Declaration
public ActivityType ActivityType { get; set; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Declaration
public Header Header { get; set; }
Property Value
HeartbeatTimeout
Maximum permitted time between successful worker heartbeats.
Declaration
public Google.Protobuf.WellKnownTypes.Duration HeartbeatTimeout { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Duration |
|
Input
Declaration
public Payloads Input { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<ActivityTaskScheduledEventAttributes> Parser { get; }
Property Value
RetryPolicy
Activities are assigned a default retry policy controlled by the service's dynamic
configuration. Retries will happen up to schedule_to_close_timeout
. To disable retries set
retry_policy.maximum_attempts to 1.
Declaration
public RetryPolicy RetryPolicy { get; set; }
Property Value
ScheduleToCloseTimeout
Indicates how long the caller is willing to wait for an activity completion. Limits how long
retries will be attempted. Either this or start_to_close_timeout
must be specified.
(-- api-linter: core::0140::prepositions=disabled
aip.dev/not-precedent: "to" is used to indicate interval. --)
Declaration
public Google.Protobuf.WellKnownTypes.Duration ScheduleToCloseTimeout { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Duration |
|
ScheduleToStartTimeout
Limits time an activity task can stay in a task queue before a worker picks it up. This
timeout is always non retryable, as all a retry would achieve is to put it back into the same
queue. Defaults to schedule_to_close_timeout
or workflow execution timeout if not
specified.
(-- api-linter: core::0140::prepositions=disabled
aip.dev/not-precedent: "to" is used to indicate interval. --)
Declaration
public Google.Protobuf.WellKnownTypes.Duration ScheduleToStartTimeout { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Duration |
|
StartToCloseTimeout
Maximum time an activity is allowed to execute after being picked up by a worker. This
timeout is always retryable. Either this or schedule_to_close_timeout
must be
specified.
(-- api-linter: core::0140::prepositions=disabled
aip.dev/not-precedent: "to" is used to indicate interval. --)
Declaration
public Google.Protobuf.WellKnownTypes.Duration StartToCloseTimeout { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Duration |
|
TaskQueue
Declaration
public TaskQueue TaskQueue { get; set; }
Property Value
WorkflowTaskCompletedEventId
The WORKFLOW_TASK_COMPLETED
event which this command was reported with
Declaration
public long WorkflowTaskCompletedEventId { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public ActivityTaskScheduledEventAttributes Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(ActivityTaskScheduledEventAttributes)
Declaration
public bool Equals(ActivityTaskScheduledEventAttributes 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(ActivityTaskScheduledEventAttributes)
Declaration
public void MergeFrom(ActivityTaskScheduledEventAttributes 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