Class RespondWorkflowTaskCompletedRequest
Inheritance
RespondWorkflowTaskCompletedRequest
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class RespondWorkflowTaskCompletedRequest : Google.Protobuf.IMessage<RespondWorkflowTaskCompletedRequest>, Google.Protobuf.IBufferMessage
Constructors
RespondWorkflowTaskCompletedRequest()
Declaration
public RespondWorkflowTaskCompletedRequest()
RespondWorkflowTaskCompletedRequest(RespondWorkflowTaskCompletedRequest)
Declaration
public RespondWorkflowTaskCompletedRequest(RespondWorkflowTaskCompletedRequest other)
Parameters
Fields
BinaryChecksumFieldNumber
Field number for the "binary_checksum" field.
Declaration
public const int BinaryChecksumFieldNumber = null
Field Value
CommandsFieldNumber
Field number for the "commands" field.
Declaration
public const int CommandsFieldNumber = null
Field Value
ForceCreateNewWorkflowTaskFieldNumber
Field number for the "force_create_new_workflow_task" field.
Declaration
public const int ForceCreateNewWorkflowTaskFieldNumber = null
Field Value
IdentityFieldNumber
Field number for the "identity" field.
Declaration
public const int IdentityFieldNumber = null
Field Value
NamespaceFieldNumber
Field number for the "namespace" field.
Declaration
public const int NamespaceFieldNumber = null
Field Value
QueryResultsFieldNumber
Field number for the "query_results" field.
Declaration
public const int QueryResultsFieldNumber = null
Field Value
ReturnNewWorkflowTaskFieldNumber
Field number for the "return_new_workflow_task" field.
Declaration
public const int ReturnNewWorkflowTaskFieldNumber = null
Field Value
StickyAttributesFieldNumber
Field number for the "sticky_attributes" field.
Declaration
public const int StickyAttributesFieldNumber = null
Field Value
TaskTokenFieldNumber
Field number for the "task_token" field.
Declaration
public const int TaskTokenFieldNumber = null
Field Value
WorkerVersioningIdFieldNumber
Field number for the "worker_versioning_id" field.
Declaration
public const int WorkerVersioningIdFieldNumber = null
Field Value
Properties
BinaryChecksum
Worker process' unique binary id
Declaration
public string BinaryChecksum { get; set; }
Property Value
Commands
A list of commands generated when driving the workflow code in response to the new task
Declaration
public Google.Protobuf.Collections.RepeatedField<Command> Commands { get; }
Property Value
Type |
Description |
Google.Protobuf.Collections.RepeatedField<Command> |
|
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
ForceCreateNewWorkflowTask
Can be used to force creation of a new workflow task, even if no commands have resolved or
one would not otherwise have been generated. This is used when the worker knows it is doing
something useful, but cannot complete it within the workflow task timeout. Local activities
which run for longer than the task timeout being the prime example.
Declaration
public bool ForceCreateNewWorkflowTask { get; set; }
Property Value
Identity
The identity of the worker/client
Declaration
public string Identity { get; set; }
Property Value
Namespace
Declaration
public string Namespace { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<RespondWorkflowTaskCompletedRequest> Parser { get; }
Property Value
QueryResults
Responses to the queries
field in the task being responded to
Declaration
public Google.Protobuf.Collections.MapField<string, WorkflowQueryResult> QueryResults { get; }
Property Value
ReturnNewWorkflowTask
If set, the worker wishes to immediately receive the next workflow task as a response to
this completion. This can save on polling round-trips.
Declaration
public bool ReturnNewWorkflowTask { get; set; }
Property Value
StickyAttributes
May be set by workers to indicate that the worker desires future tasks to be provided with
incremental history on a sticky queue.
Declaration
public StickyExecutionAttributes StickyAttributes { get; set; }
Property Value
TaskToken
The task token as received in PollWorkflowTaskQueueResponse
Declaration
public Google.Protobuf.ByteString TaskToken { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
WorkerVersioningId
If using versioning, worker should send the same id here that it used to
poll for the workflow task.
When worker_versioning_id
has a worker_build_id
, and binary_checksum
is not
set, that value should also be considered as the binary_checksum
.
Declaration
public VersionId WorkerVersioningId { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public RespondWorkflowTaskCompletedRequest Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(RespondWorkflowTaskCompletedRequest)
Declaration
public bool Equals(RespondWorkflowTaskCompletedRequest 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(RespondWorkflowTaskCompletedRequest)
Declaration
public void MergeFrom(RespondWorkflowTaskCompletedRequest 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