Class WorkflowQuery
Inheritance
WorkflowQuery
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class WorkflowQuery : Google.Protobuf.IMessage<WorkflowQuery>, Google.Protobuf.IBufferMessage
Constructors
WorkflowQuery()
Declaration
WorkflowQuery(WorkflowQuery)
Declaration
public WorkflowQuery(WorkflowQuery other)
Parameters
Fields
Field number for the "header" field.
Declaration
public const int HeaderFieldNumber = null
Field Value
QueryArgsFieldNumber
Field number for the "query_args" field.
Declaration
public const int QueryArgsFieldNumber = null
Field Value
QueryTypeFieldNumber
Field number for the "query_type" field.
Declaration
public const int QueryTypeFieldNumber = null
Field Value
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Headers that were passed by the caller of the query and copied by temporal
server into the workflow task.
Declaration
public Header Header { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<WorkflowQuery> Parser { get; }
Property Value
QueryArgs
Serialized arguments that will be provided to the query handler.
Declaration
public Payloads QueryArgs { get; set; }
Property Value
QueryType
The workflow-author-defined identifier of the query. Typically a function name.
Declaration
public string QueryType { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public WorkflowQuery Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(WorkflowQuery)
Declaration
public bool Equals(WorkflowQuery 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(WorkflowQuery)
Declaration
public void MergeFrom(WorkflowQuery 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