Class PollActivityTaskQueueResponse
Inheritance
PollActivityTaskQueueResponse
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class PollActivityTaskQueueResponse : Google.Protobuf.IMessage<PollActivityTaskQueueResponse>, Google.Protobuf.IBufferMessage
Constructors
PollActivityTaskQueueResponse()
Declaration
public PollActivityTaskQueueResponse()
PollActivityTaskQueueResponse(PollActivityTaskQueueResponse)
Declaration
public PollActivityTaskQueueResponse(PollActivityTaskQueueResponse 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
AttemptFieldNumber
Field number for the "attempt" field.
Declaration
public const int AttemptFieldNumber = null
Field Value
CurrentAttemptScheduledTimeFieldNumber
Field number for the "current_attempt_scheduled_time" field.
Declaration
public const int CurrentAttemptScheduledTimeFieldNumber = null
Field Value
Field number for the "header" field.
Declaration
public const int HeaderFieldNumber = null
Field Value
HeartbeatDetailsFieldNumber
Field number for the "heartbeat_details" field.
Declaration
public const int HeartbeatDetailsFieldNumber = null
Field Value
HeartbeatTimeoutFieldNumber
Field number for the "heartbeat_timeout" field.
Declaration
public const int HeartbeatTimeoutFieldNumber = null
Field Value
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
ScheduledTimeFieldNumber
Field number for the "scheduled_time" field.
Declaration
public const int ScheduledTimeFieldNumber = null
Field Value
ScheduleToCloseTimeoutFieldNumber
Field number for the "schedule_to_close_timeout" field.
Declaration
public const int ScheduleToCloseTimeoutFieldNumber = null
Field Value
StartedTimeFieldNumber
Field number for the "started_time" field.
Declaration
public const int StartedTimeFieldNumber = null
Field Value
StartToCloseTimeoutFieldNumber
Field number for the "start_to_close_timeout" field.
Declaration
public const int StartToCloseTimeoutFieldNumber = null
Field Value
TaskTokenFieldNumber
Field number for the "task_token" field.
Declaration
public const int TaskTokenFieldNumber = null
Field Value
WorkflowExecutionFieldNumber
Field number for the "workflow_execution" field.
Declaration
public const int WorkflowExecutionFieldNumber = null
Field Value
WorkflowNamespaceFieldNumber
Field number for the "workflow_namespace" field.
Declaration
public const int WorkflowNamespaceFieldNumber = null
Field Value
WorkflowTypeFieldNumber
Field number for the "workflow_type" field.
Declaration
public const int WorkflowTypeFieldNumber = null
Field Value
Properties
ActivityId
The autogenerated or user specified identifier of this activity. Can be used to complete the
activity via RespondActivityTaskCompletedById
. May be re-used as long as the last usage
has resolved, but unique IDs for every activity invocation is a good idea.
Declaration
public string ActivityId { get; set; }
Property Value
ActivityType
Declaration
public ActivityType ActivityType { get; set; }
Property Value
Attempt
Starting at 1, the number of attempts to perform this activity
Declaration
public int Attempt { get; set; }
Property Value
CurrentAttemptScheduledTime
When was this task attempt scheduled
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp CurrentAttemptScheduledTime { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Headers specified by the scheduling workflow. Commonly used to propagate contextual info
from the workflow to its activities. For example, tracing contexts.
Declaration
public Header Header { get; set; }
Property Value
HeartbeatDetails
Details of the last heartbeat that was recorded for this activity as of the time this task
was delivered.
Declaration
public Payloads HeartbeatDetails { get; set; }
Property Value
HeartbeatTimeout
Window within which the activity must report a heartbeat, or be timed out.
Declaration
public Google.Protobuf.WellKnownTypes.Duration HeartbeatTimeout { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Duration |
|
Arguments to the activity invocation
Declaration
public Payloads Input { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<PollActivityTaskQueueResponse> Parser { get; }
Property Value
RetryPolicy
This is the retry policy the service uses which may be different from the one provided
(or not) during activity scheduling. The service can override the provided one if some
values are not specified or exceed configured system limits.
Declaration
public RetryPolicy RetryPolicy { get; set; }
Property Value
ScheduledTime
When was this task first scheduled
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp ScheduledTime { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
ScheduleToCloseTimeout
First scheduled -> final result reported timeout
(-- 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 |
|
StartedTime
When was this task started (this attempt)
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp StartedTime { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
StartToCloseTimeout
Current attempt start -> final result reported timeout
(-- 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 |
|
TaskToken
A unique identifier for this task
Declaration
public Google.Protobuf.ByteString TaskToken { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
WorkflowExecution
Execution info of the requesting workflow
Declaration
public WorkflowExecution WorkflowExecution { get; set; }
Property Value
WorkflowNamespace
The namespace the workflow which requested this activity lives in
Declaration
public string WorkflowNamespace { get; set; }
Property Value
WorkflowType
Type of the requesting workflow
Declaration
public WorkflowType WorkflowType { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public PollActivityTaskQueueResponse Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(PollActivityTaskQueueResponse)
Declaration
public bool Equals(PollActivityTaskQueueResponse 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(PollActivityTaskQueueResponse)
Declaration
public void MergeFrom(PollActivityTaskQueueResponse 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