Table of Contents

Class DescribeTaskQueueRequest

Namespace
Temporalio.Api.WorkflowService.V1
Assembly
Temporalio.dll

(-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)

public sealed class DescribeTaskQueueRequest : IMessage<DescribeTaskQueueRequest>, IEquatable<DescribeTaskQueueRequest>, IDeepCloneable<DescribeTaskQueueRequest>, IBufferMessage, IMessage
Inheritance
DescribeTaskQueueRequest
Implements
IDeepCloneable<DescribeTaskQueueRequest>
IBufferMessage
IMessage
Inherited Members

Constructors

DescribeTaskQueueRequest()

public DescribeTaskQueueRequest()

DescribeTaskQueueRequest(DescribeTaskQueueRequest)

public DescribeTaskQueueRequest(DescribeTaskQueueRequest other)

Parameters

other DescribeTaskQueueRequest

Fields

ApiModeFieldNumber

Field number for the "api_mode" field.

public const int ApiModeFieldNumber = 5

Field Value

int

IncludeTaskQueueStatusFieldNumber

Field number for the "include_task_queue_status" field.

public const int IncludeTaskQueueStatusFieldNumber = 4

Field Value

int

NamespaceFieldNumber

Field number for the "namespace" field.

public const int NamespaceFieldNumber = 1

Field Value

int

ReportPollersFieldNumber

Field number for the "report_pollers" field.

public const int ReportPollersFieldNumber = 9

Field Value

int

ReportTaskReachabilityFieldNumber

Field number for the "report_task_reachability" field.

public const int ReportTaskReachabilityFieldNumber = 10

Field Value

int

TaskQueueFieldNumber

Field number for the "task_queue" field.

public const int TaskQueueFieldNumber = 2

Field Value

int

TaskQueueTypeFieldNumber

Field number for the "task_queue_type" field.

public const int TaskQueueTypeFieldNumber = 3

Field Value

int

TaskQueueTypesFieldNumber

Field number for the "task_queue_types" field.

public const int TaskQueueTypesFieldNumber = 7

Field Value

int

VersionsFieldNumber

Field number for the "versions" field.

public const int VersionsFieldNumber = 6

Field Value

int

Properties

ApiMode

All options except task_queue_type and include_task_queue_status are only available in the ENHANCED mode.

public DescribeTaskQueueMode ApiMode { get; set; }

Property Value

DescribeTaskQueueMode

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

IncludeTaskQueueStatus

Deprecated. Ignored in ENHANCED mode.

public bool IncludeTaskQueueStatus { get; set; }

Property Value

bool

Namespace

public string Namespace { get; set; }

Property Value

string

Parser

public static MessageParser<DescribeTaskQueueRequest> Parser { get; }

Property Value

MessageParser<DescribeTaskQueueRequest>

ReportPollers

Report backlog info for the requested task queue types and versions bool report_backlog_info = 8; Report list of pollers for requested task queue types and versions

public bool ReportPollers { get; set; }

Property Value

bool

ReportTaskReachability

Report task reachability for the requested versions and all task types (task reachability is not reported per task type).

public bool ReportTaskReachability { get; set; }

Property Value

bool

TaskQueue

Sticky queues are not supported in ENHANCED mode.

public TaskQueue TaskQueue { get; set; }

Property Value

TaskQueue

TaskQueueType

Deprecated. Use ENHANCED mode with task_queue_types. Ignored in ENHANCED mode. If unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used.

public TaskQueueType TaskQueueType { get; set; }

Property Value

TaskQueueType

TaskQueueTypes

Task queue types to report info about. If not specified, all types are considered.

public RepeatedField<TaskQueueType> TaskQueueTypes { get; }

Property Value

RepeatedField<TaskQueueType>

Versions

Optional. If not provided, the result for the default Build ID will be returned. The default Build ID is the one mentioned in the first unconditional Assignment Rule. If there is no default Build ID, the result for the unversioned queue will be returned. (-- api-linter: core::0140::prepositions --)

public TaskQueueVersionSelection Versions { get; set; }

Property Value

TaskQueueVersionSelection

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public DescribeTaskQueueRequest Clone()

Returns

DescribeTaskQueueRequest

A deep clone of this object.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(DescribeTaskQueueRequest)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(DescribeTaskQueueRequest other)

Parameters

other DescribeTaskQueueRequest

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(DescribeTaskQueueRequest)

Merges the given message into this one.

public void MergeFrom(DescribeTaskQueueRequest other)

Parameters

other DescribeTaskQueueRequest

Remarks

See the user guide for precise merge semantics.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.