pub struct DescribeTaskQueueRequest {
pub namespace: String,
pub task_queue: Option<TaskQueue>,
pub task_queue_type: i32,
pub report_stats: bool,
pub report_config: bool,
pub include_task_queue_status: bool,
pub api_mode: i32,
pub versions: Option<TaskQueueVersionSelection>,
pub task_queue_types: Vec<i32>,
pub report_pollers: bool,
pub report_task_reachability: bool,
}Expand description
(– api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork –)
Fields§
§namespace: String§task_queue: Option<TaskQueue>Sticky queues are not supported in deprecated ENHANCED mode.
task_queue_type: i32If unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used.
Only supported in default mode (use task_queue_types in ENHANCED mode instead).
report_stats: boolReport stats for the requested task queue type(s).
report_config: boolReport Task Queue Config
include_task_queue_status: boolDeprecated, use report_stats instead.
If true, the task queue status will be included in the response.
api_mode: i32Deprecated. ENHANCED mode is also being deprecated. Select the API mode to use for this request: DEFAULT mode (if unset) or ENHANCED mode. Consult the documentation for each field to understand which mode it is supported in.
versions: Option<TaskQueueVersionSelection>Deprecated (as part of the ENHANCED mode deprecation). 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 –)
task_queue_types: Vec<i32>Deprecated (as part of the ENHANCED mode deprecation). Task queue types to report info about. If not specified, all types are considered.
report_pollers: boolDeprecated (as part of the ENHANCED mode deprecation). Report list of pollers for requested task queue types and versions.
report_task_reachability: boolDeprecated (as part of the ENHANCED mode deprecation). Report task reachability for the requested versions and all task types (task reachability is not reported per task type).
Implementations§
Source§impl DescribeTaskQueueRequest
impl DescribeTaskQueueRequest
Sourcepub fn task_queue_type(&self) -> TaskQueueType
pub fn task_queue_type(&self) -> TaskQueueType
Returns the enum value of task_queue_type, or the default if the field is set to an invalid enum value.
Sourcepub fn set_task_queue_type(&mut self, value: TaskQueueType)
pub fn set_task_queue_type(&mut self, value: TaskQueueType)
Sets task_queue_type to the provided enum value.
Sourcepub fn api_mode(&self) -> DescribeTaskQueueMode
pub fn api_mode(&self) -> DescribeTaskQueueMode
Returns the enum value of api_mode, or the default if the field is set to an invalid enum value.
Sourcepub fn set_api_mode(&mut self, value: DescribeTaskQueueMode)
pub fn set_api_mode(&mut self, value: DescribeTaskQueueMode)
Sets api_mode to the provided enum value.
Sourcepub fn task_queue_types(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<TaskQueueType>>
pub fn task_queue_types( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<TaskQueueType>>
Returns an iterator which yields the valid enum values contained in task_queue_types.
Sourcepub fn push_task_queue_types(&mut self, value: TaskQueueType)
pub fn push_task_queue_types(&mut self, value: TaskQueueType)
Appends the provided enum value to task_queue_types.
Trait Implementations§
Source§impl Clone for DescribeTaskQueueRequest
impl Clone for DescribeTaskQueueRequest
Source§fn clone(&self) -> DescribeTaskQueueRequest
fn clone(&self) -> DescribeTaskQueueRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DescribeTaskQueueRequest
impl Debug for DescribeTaskQueueRequest
Source§impl Default for DescribeTaskQueueRequest
impl Default for DescribeTaskQueueRequest
Source§impl Hash for DescribeTaskQueueRequest
impl Hash for DescribeTaskQueueRequest
Source§impl Message for DescribeTaskQueueRequest
impl Message for DescribeTaskQueueRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl Name for DescribeTaskQueueRequest
impl Name for DescribeTaskQueueRequest
Source§const NAME: &'static str = "DescribeTaskQueueRequest"
const NAME: &'static str = "DescribeTaskQueueRequest"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "temporal.api.workflowservice.v1"
const PACKAGE: &'static str = "temporal.api.workflowservice.v1"
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Message.
It’s prefixed with the package name and names of any parent messages,
e.g. google.rpc.BadRequest.FieldViolation.
By default, this is the package name followed by the message name.
Fully-qualified names must be unique within a domain of Type URLs.Source§impl PartialEq for DescribeTaskQueueRequest
impl PartialEq for DescribeTaskQueueRequest
impl Eq for DescribeTaskQueueRequest
impl StructuralPartialEq for DescribeTaskQueueRequest
Auto Trait Implementations§
impl Freeze for DescribeTaskQueueRequest
impl RefUnwindSafe for DescribeTaskQueueRequest
impl Send for DescribeTaskQueueRequest
impl Sync for DescribeTaskQueueRequest
impl Unpin for DescribeTaskQueueRequest
impl UnsafeUnpin for DescribeTaskQueueRequest
impl UnwindSafe for DescribeTaskQueueRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request