#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Assignment {
#[prost(message, optional, tag = "1")]
pub assigned_to: ::core::option::Option<UserDetails>,
#[prost(message, optional, tag = "2")]
pub assigned_by: ::core::option::Option<UserDetails>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserDetails {
#[prost(message, optional, tag = "1")]
pub user_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEventAcknowledge {
#[prost(message, optional, tag = "1")]
pub acknowledged_by: ::core::option::Option<UserDetails>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEventAssign {
#[prost(message, optional, tag = "1")]
pub assignment: ::core::option::Option<Assignment>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEventClose {
#[prost(message, optional, tag = "1")]
pub closed_by: ::core::option::Option<UserDetails>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEventOriginatorAdministrative {
#[prost(message, optional, tag = "1")]
pub user_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEventOriginatorOperational {
#[prost(message, optional, tag = "1")]
pub system_name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum OriginatorType {
Unspecified = 0,
Operational = 1,
Administrative = 2,
}
impl OriginatorType {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "ORIGINATOR_TYPE_UNSPECIFIED",
Self::Operational => "ORIGINATOR_TYPE_OPERATIONAL",
Self::Administrative => "ORIGINATOR_TYPE_ADMINISTRATIVE",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"ORIGINATOR_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
"ORIGINATOR_TYPE_OPERATIONAL" => Some(Self::Operational),
"ORIGINATOR_TYPE_ADMINISTRATIVE" => Some(Self::Administrative),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEventSnoozeIndicator {
#[prost(message, optional, tag = "1")]
pub start_time: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[prost(message, optional, tag = "2")]
pub duration_minutes: ::core::option::Option<i32>,
#[prost(message, optional, tag = "3")]
pub user_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum IncidentEventType {
Unspecified = 0,
UpsertState = 2,
Open = 4,
Close = 5,
SnoozeIndicator = 6,
Assign = 7,
Unassign = 9,
Acknowledge = 8,
}
impl IncidentEventType {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "INCIDENT_EVENT_TYPE_UNSPECIFIED",
Self::UpsertState => "INCIDENT_EVENT_TYPE_UPSERT_STATE",
Self::Open => "INCIDENT_EVENT_TYPE_OPEN",
Self::Close => "INCIDENT_EVENT_TYPE_CLOSE",
Self::SnoozeIndicator => "INCIDENT_EVENT_TYPE_SNOOZE_INDICATOR",
Self::Assign => "INCIDENT_EVENT_TYPE_ASSIGN",
Self::Unassign => "INCIDENT_EVENT_TYPE_UNASSIGN",
Self::Acknowledge => "INCIDENT_EVENT_TYPE_ACKNOWLEDGE",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"INCIDENT_EVENT_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
"INCIDENT_EVENT_TYPE_UPSERT_STATE" => Some(Self::UpsertState),
"INCIDENT_EVENT_TYPE_OPEN" => Some(Self::Open),
"INCIDENT_EVENT_TYPE_CLOSE" => Some(Self::Close),
"INCIDENT_EVENT_TYPE_SNOOZE_INDICATOR" => Some(Self::SnoozeIndicator),
"INCIDENT_EVENT_TYPE_ASSIGN" => Some(Self::Assign),
"INCIDENT_EVENT_TYPE_UNASSIGN" => Some(Self::Unassign),
"INCIDENT_EVENT_TYPE_ACKNOWLEDGE" => Some(Self::Acknowledge),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpsertIncidentStatePayload {
#[prost(message, optional, tag = "1")]
pub cx_event_key: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum UpsertIncidentStateType {
Unspecified = 0,
Triggered = 1,
Resolved = 2,
}
impl UpsertIncidentStateType {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "UPSERT_INCIDENT_STATE_TYPE_UNSPECIFIED",
Self::Triggered => "UPSERT_INCIDENT_STATE_TYPE_TRIGGERED",
Self::Resolved => "UPSERT_INCIDENT_STATE_TYPE_RESOLVED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UPSERT_INCIDENT_STATE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
"UPSERT_INCIDENT_STATE_TYPE_TRIGGERED" => Some(Self::Triggered),
"UPSERT_INCIDENT_STATE_TYPE_RESOLVED" => Some(Self::Resolved),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEventUpsertState {
#[prost(enumeration = "UpsertIncidentStateType", tag = "1")]
pub state_type: i32,
#[prost(message, optional, tag = "2")]
pub payload: ::core::option::Option<UpsertIncidentStatePayload>,
#[prost(message, optional, tag = "3")]
pub is_muted: ::core::option::Option<bool>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct IncidentEventUnassign {}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEvent {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(enumeration = "IncidentEventType", tag = "2")]
pub incident_event_type: i32,
#[prost(enumeration = "OriginatorType", tag = "3")]
pub originator_type: i32,
#[prost(
oneof = "incident_event::IncidentEventPayload",
tags = "200, 201, 205, 202, 203, 204"
)]
pub incident_event_payload: ::core::option::Option<
incident_event::IncidentEventPayload,
>,
#[prost(oneof = "incident_event::Originator", tags = "100, 101")]
pub originator: ::core::option::Option<incident_event::Originator>,
}
pub mod incident_event {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum IncidentEventPayload {
#[prost(message, tag = "200")]
SnoozeIndicator(super::IncidentEventSnoozeIndicator),
#[prost(message, tag = "201")]
Assignment(super::IncidentEventAssign),
#[prost(message, tag = "205")]
Unassign(super::IncidentEventUnassign),
#[prost(message, tag = "202")]
UpsertState(super::IncidentEventUpsertState),
#[prost(message, tag = "203")]
Acknowledge(super::IncidentEventAcknowledge),
#[prost(message, tag = "204")]
Close(super::IncidentEventClose),
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Originator {
#[prost(message, tag = "100")]
AdministrativeEvent(super::IncidentEventOriginatorAdministrative),
#[prost(message, tag = "101")]
OperationalEvent(super::IncidentEventOriginatorOperational),
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum IncidentSeverity {
Unspecified = 0,
Info = 1,
Warning = 2,
Error = 3,
Critical = 4,
Low = 5,
}
impl IncidentSeverity {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "INCIDENT_SEVERITY_UNSPECIFIED",
Self::Info => "INCIDENT_SEVERITY_INFO",
Self::Warning => "INCIDENT_SEVERITY_WARNING",
Self::Error => "INCIDENT_SEVERITY_ERROR",
Self::Critical => "INCIDENT_SEVERITY_CRITICAL",
Self::Low => "INCIDENT_SEVERITY_LOW",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"INCIDENT_SEVERITY_UNSPECIFIED" => Some(Self::Unspecified),
"INCIDENT_SEVERITY_INFO" => Some(Self::Info),
"INCIDENT_SEVERITY_WARNING" => Some(Self::Warning),
"INCIDENT_SEVERITY_ERROR" => Some(Self::Error),
"INCIDENT_SEVERITY_CRITICAL" => Some(Self::Critical),
"INCIDENT_SEVERITY_LOW" => Some(Self::Low),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum IncidentState {
Unspecified = 0,
Triggered = 1,
Resolved = 2,
}
impl IncidentState {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "INCIDENT_STATE_UNSPECIFIED",
Self::Triggered => "INCIDENT_STATE_TRIGGERED",
Self::Resolved => "INCIDENT_STATE_RESOLVED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"INCIDENT_STATE_UNSPECIFIED" => Some(Self::Unspecified),
"INCIDENT_STATE_TRIGGERED" => Some(Self::Triggered),
"INCIDENT_STATE_RESOLVED" => Some(Self::Resolved),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum IncidentStatus {
Unspecified = 0,
Triggered = 1,
Acknowledged = 2,
Resolved = 3,
}
impl IncidentStatus {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "INCIDENT_STATUS_UNSPECIFIED",
Self::Triggered => "INCIDENT_STATUS_TRIGGERED",
Self::Acknowledged => "INCIDENT_STATUS_ACKNOWLEDGED",
Self::Resolved => "INCIDENT_STATUS_RESOLVED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"INCIDENT_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
"INCIDENT_STATUS_TRIGGERED" => Some(Self::Triggered),
"INCIDENT_STATUS_ACKNOWLEDGED" => Some(Self::Acknowledged),
"INCIDENT_STATUS_RESOLVED" => Some(Self::Resolved),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MetaLabel {
#[prost(message, optional, tag = "1")]
pub key: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "2")]
pub value: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Incident {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "2")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(enumeration = "IncidentState", tag = "3")]
pub state: i32,
#[prost(enumeration = "IncidentStatus", tag = "4")]
pub status: i32,
#[prost(message, repeated, tag = "5")]
pub assignments: ::prost::alloc::vec::Vec<Assignment>,
#[prost(message, optional, tag = "6")]
pub description: ::core::option::Option<::prost::alloc::string::String>,
#[prost(enumeration = "IncidentSeverity", tag = "7")]
pub severity: i32,
#[prost(map = "string, string", tag = "13")]
pub contextual_labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
#[prost(map = "string, string", tag = "14")]
pub display_labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
#[prost(message, repeated, tag = "10")]
pub events: ::prost::alloc::vec::Vec<IncidentEvent>,
#[prost(message, optional, tag = "11")]
pub created_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[prost(message, optional, tag = "12")]
pub closed_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[prost(message, optional, tag = "15")]
pub last_state_update_time: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[prost(message, optional, tag = "16")]
pub last_state_update_key: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "17")]
pub is_muted: ::core::option::Option<bool>,
#[prost(message, repeated, tag = "18")]
pub meta_labels: ::prost::alloc::vec::Vec<MetaLabel>,
#[prost(message, optional, tag = "19")]
pub duration: ::core::option::Option<::prost_wkt_types::Duration>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentFieldOneOf {
#[prost(
oneof = "incident_field_one_of::Field",
tags = "1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11"
)]
pub field: ::core::option::Option<incident_field_one_of::Field>,
}
pub mod incident_field_one_of {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Field {
#[prost(message, tag = "1")]
Id(::prost::alloc::string::String),
#[prost(enumeration = "super::IncidentSeverity", tag = "2")]
Severity(i32),
#[prost(message, tag = "3")]
Name(::prost::alloc::string::String),
#[prost(message, tag = "4")]
CreatedAt(::prost_wkt_types::Timestamp),
#[prost(message, tag = "5")]
ClosedAt(::prost_wkt_types::Timestamp),
#[prost(enumeration = "super::IncidentState", tag = "6")]
State(i32),
#[prost(enumeration = "super::IncidentStatus", tag = "7")]
Status(i32),
#[prost(message, tag = "8")]
LastStateUpdateTime(::prost_wkt_types::Timestamp),
#[prost(message, tag = "9")]
ApplicationName(::prost::alloc::string::String),
#[prost(message, tag = "10")]
SubsystemName(::prost::alloc::string::String),
#[prost(message, tag = "11")]
Duration(::prost_wkt_types::Duration),
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContextualLabels {
#[prost(message, optional, tag = "1")]
pub field_name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "2")]
pub field_value: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GroupByValues {
#[prost(oneof = "group_by_values::Values", tags = "1, 2")]
pub values: ::core::option::Option<group_by_values::Values>,
}
pub mod group_by_values {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Values {
#[prost(message, tag = "1")]
IncidentField(super::IncidentFieldOneOf),
#[prost(message, tag = "2")]
ContextualLabels(super::ContextualLabels),
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentAggregation {
#[prost(message, repeated, tag = "1")]
pub group_bys_value: ::prost::alloc::vec::Vec<GroupByValues>,
#[prost(message, repeated, tag = "2")]
pub agg_state_count: ::prost::alloc::vec::Vec<IncidentStateCount>,
#[prost(message, repeated, tag = "3")]
pub agg_status_count: ::prost::alloc::vec::Vec<IncidentStatusCount>,
#[prost(message, repeated, tag = "4")]
pub agg_severity_count: ::prost::alloc::vec::Vec<IncidentSeverityCount>,
#[prost(message, repeated, tag = "5")]
pub agg_assignments_count: ::prost::alloc::vec::Vec<IncidentAssignmentCount>,
#[prost(message, optional, tag = "6")]
pub first_created_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[prost(message, optional, tag = "7")]
pub last_closed_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[prost(message, optional, tag = "8")]
pub all_values_count: ::core::option::Option<u32>,
#[prost(message, repeated, tag = "9")]
pub list_incidents_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(message, optional, tag = "10")]
pub last_state_update_time: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[prost(message, repeated, tag = "11")]
pub agg_meta_labels_count: ::prost::alloc::vec::Vec<IncidentMetaLabelsCount>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentMetaLabelsCount {
#[prost(message, optional, tag = "1")]
pub meta_label: ::core::option::Option<MetaLabel>,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<u32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentAssignmentCount {
#[prost(message, optional, tag = "1")]
pub assigned_to: ::core::option::Option<UserDetails>,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<u32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct IncidentSeverityCount {
#[prost(enumeration = "IncidentSeverity", tag = "1")]
pub severity: i32,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<u32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct IncidentStatusCount {
#[prost(enumeration = "IncidentStatus", tag = "1")]
pub status: i32,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<u32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct IncidentStateCount {
#[prost(enumeration = "IncidentState", tag = "1")]
pub state: i32,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<u32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum IncidentFields {
IncidentsFieldsUnspecified = 0,
IncidentsFieldsId = 1,
IncidentsFieldsSeverity = 2,
IncidentsFieldsName = 3,
IncidentsFieldsCreatedTime = 4,
IncidentsFieldsClosedTime = 5,
IncidentsFieldsState = 6,
IncidentsFieldsStatus = 7,
IncidentsFieldsLastStateUpdateTime = 8,
IncidentsFieldsApplicationName = 9,
IncidentsFieldsSubsystemName = 10,
IncidentsFieldsDuration = 11,
}
impl IncidentFields {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::IncidentsFieldsUnspecified => "INCIDENTS_FIELDS_UNSPECIFIED",
Self::IncidentsFieldsId => "INCIDENTS_FIELDS_ID",
Self::IncidentsFieldsSeverity => "INCIDENTS_FIELDS_SEVERITY",
Self::IncidentsFieldsName => "INCIDENTS_FIELDS_NAME",
Self::IncidentsFieldsCreatedTime => "INCIDENTS_FIELDS_CREATED_TIME",
Self::IncidentsFieldsClosedTime => "INCIDENTS_FIELDS_CLOSED_TIME",
Self::IncidentsFieldsState => "INCIDENTS_FIELDS_STATE",
Self::IncidentsFieldsStatus => "INCIDENTS_FIELDS_STATUS",
Self::IncidentsFieldsLastStateUpdateTime => {
"INCIDENTS_FIELDS_LAST_STATE_UPDATE_TIME"
}
Self::IncidentsFieldsApplicationName => "INCIDENTS_FIELDS_APPLICATION_NAME",
Self::IncidentsFieldsSubsystemName => "INCIDENTS_FIELDS_SUBSYSTEM_NAME",
Self::IncidentsFieldsDuration => "INCIDENTS_FIELDS_DURATION",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"INCIDENTS_FIELDS_UNSPECIFIED" => Some(Self::IncidentsFieldsUnspecified),
"INCIDENTS_FIELDS_ID" => Some(Self::IncidentsFieldsId),
"INCIDENTS_FIELDS_SEVERITY" => Some(Self::IncidentsFieldsSeverity),
"INCIDENTS_FIELDS_NAME" => Some(Self::IncidentsFieldsName),
"INCIDENTS_FIELDS_CREATED_TIME" => Some(Self::IncidentsFieldsCreatedTime),
"INCIDENTS_FIELDS_CLOSED_TIME" => Some(Self::IncidentsFieldsClosedTime),
"INCIDENTS_FIELDS_STATE" => Some(Self::IncidentsFieldsState),
"INCIDENTS_FIELDS_STATUS" => Some(Self::IncidentsFieldsStatus),
"INCIDENTS_FIELDS_LAST_STATE_UPDATE_TIME" => {
Some(Self::IncidentsFieldsLastStateUpdateTime)
}
"INCIDENTS_FIELDS_APPLICATION_NAME" => {
Some(Self::IncidentsFieldsApplicationName)
}
"INCIDENTS_FIELDS_SUBSYSTEM_NAME" => Some(Self::IncidentsFieldsSubsystemName),
"INCIDENTS_FIELDS_DURATION" => Some(Self::IncidentsFieldsDuration),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum FilterOperator {
OrOrUnspecified = 0,
And = 1,
}
impl FilterOperator {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::OrOrUnspecified => "FILTER_OPERATOR_OR_OR_UNSPECIFIED",
Self::And => "FILTER_OPERATOR_AND",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"FILTER_OPERATOR_OR_OR_UNSPECIFIED" => Some(Self::OrOrUnspecified),
"FILTER_OPERATOR_AND" => Some(Self::And),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OrderBy {
#[prost(enumeration = "OrderByDirection", tag = "2")]
pub direction: i32,
#[prost(oneof = "order_by::Field", tags = "10, 11")]
pub field: ::core::option::Option<order_by::Field>,
}
pub mod order_by {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Field {
#[prost(enumeration = "super::IncidentFields", tag = "10")]
IncidentField(i32),
#[prost(message, tag = "11")]
ContextualLabel(::prost::alloc::string::String),
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GroupBy {
#[prost(enumeration = "OrderByDirection", tag = "1")]
pub order_by_direction: i32,
#[prost(oneof = "group_by::Field", tags = "10, 11")]
pub field: ::core::option::Option<group_by::Field>,
}
pub mod group_by {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Field {
#[prost(enumeration = "super::IncidentFields", tag = "10")]
IncidentField(i32),
#[prost(message, tag = "11")]
ContextualLabel(::prost::alloc::string::String),
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentSearchQuery {
#[prost(message, optional, tag = "1")]
pub query: ::core::option::Option<::prost::alloc::string::String>,
#[prost(oneof = "incident_search_query::Field", tags = "10, 11")]
pub field: ::core::option::Option<incident_search_query::Field>,
}
pub mod incident_search_query {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Field {
#[prost(enumeration = "super::IncidentFields", tag = "10")]
IncidentField(i32),
#[prost(message, tag = "11")]
ContextualLabel(::prost::alloc::string::String),
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum OrderByFields {
Unspecified = 0,
Id = 1,
Severity = 2,
Name = 3,
CreatedTime = 4,
ClosedTime = 5,
}
impl OrderByFields {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "ORDER_BY_FIELDS_UNSPECIFIED",
Self::Id => "ORDER_BY_FIELDS_ID",
Self::Severity => "ORDER_BY_FIELDS_SEVERITY",
Self::Name => "ORDER_BY_FIELDS_NAME",
Self::CreatedTime => "ORDER_BY_FIELDS_CREATED_TIME",
Self::ClosedTime => "ORDER_BY_FIELDS_CLOSED_TIME",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"ORDER_BY_FIELDS_UNSPECIFIED" => Some(Self::Unspecified),
"ORDER_BY_FIELDS_ID" => Some(Self::Id),
"ORDER_BY_FIELDS_SEVERITY" => Some(Self::Severity),
"ORDER_BY_FIELDS_NAME" => Some(Self::Name),
"ORDER_BY_FIELDS_CREATED_TIME" => Some(Self::CreatedTime),
"ORDER_BY_FIELDS_CLOSED_TIME" => Some(Self::ClosedTime),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum OrderByDirection {
Unspecified = 0,
Asc = 1,
Desc = 2,
}
impl OrderByDirection {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "ORDER_BY_DIRECTION_UNSPECIFIED",
Self::Asc => "ORDER_BY_DIRECTION_ASC",
Self::Desc => "ORDER_BY_DIRECTION_DESC",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"ORDER_BY_DIRECTION_UNSPECIFIED" => Some(Self::Unspecified),
"ORDER_BY_DIRECTION_ASC" => Some(Self::Asc),
"ORDER_BY_DIRECTION_DESC" => Some(Self::Desc),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentQueryFilter {
#[prost(message, repeated, tag = "1")]
pub assignee: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(enumeration = "IncidentStatus", repeated, tag = "2")]
pub status: ::prost::alloc::vec::Vec<i32>,
#[prost(enumeration = "IncidentState", repeated, tag = "3")]
pub state: ::prost::alloc::vec::Vec<i32>,
#[prost(enumeration = "IncidentSeverity", repeated, tag = "4")]
pub severity: ::prost::alloc::vec::Vec<i32>,
#[prost(map = "string, message", tag = "5")]
pub contextual_labels: ::std::collections::HashMap<
::prost::alloc::string::String,
ContextualLabelValues,
>,
#[deprecated]
#[prost(message, optional, tag = "6")]
pub start_time: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[deprecated]
#[prost(message, optional, tag = "7")]
pub end_time: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[prost(message, optional, tag = "8")]
pub search_query: ::core::option::Option<IncidentSearchQuery>,
#[prost(message, repeated, tag = "9")]
pub application_name: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(message, repeated, tag = "10")]
pub subsystem_name: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(message, optional, tag = "11")]
pub is_muted: ::core::option::Option<bool>,
#[prost(message, optional, tag = "12")]
pub created_at_range: ::core::option::Option<TimeRange>,
#[prost(message, optional, tag = "13")]
pub incident_duration_range: ::core::option::Option<TimeRange>,
#[prost(message, repeated, tag = "14")]
pub meta_labels: ::prost::alloc::vec::Vec<MetaLabel>,
#[prost(enumeration = "FilterOperator", tag = "15")]
pub meta_labels_op: i32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TimeRange {
#[prost(message, optional, tag = "1")]
pub start_time: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[prost(message, optional, tag = "2")]
pub end_time: ::core::option::Option<::prost_wkt_types::Timestamp>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContextualLabelValues {
#[prost(message, repeated, tag = "1")]
pub contextual_label_values: ::prost::alloc::vec::Vec<
::prost::alloc::string::String,
>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEventQueryFilter {
#[prost(enumeration = "IncidentStatus", repeated, tag = "1")]
pub status: ::prost::alloc::vec::Vec<i32>,
#[prost(enumeration = "IncidentSeverity", repeated, tag = "2")]
pub severity: ::prost::alloc::vec::Vec<i32>,
#[prost(map = "string, message", tag = "3")]
pub contextual_labels: ::std::collections::HashMap<
::prost::alloc::string::String,
ContextualLabelValues,
>,
#[prost(message, optional, tag = "4")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "5")]
pub is_muted: ::core::option::Option<bool>,
#[prost(message, optional, tag = "6")]
pub timestamp: ::core::option::Option<TimeRange>,
#[prost(message, optional, tag = "7")]
pub labels: ::core::option::Option<LabelsFilter>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LabelsFilter {
#[prost(message, repeated, tag = "1")]
pub meta_labels: ::prost::alloc::vec::Vec<MetaLabel>,
#[prost(enumeration = "FilterOperator", tag = "2")]
pub operator: i32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssigneeWithCount {
#[prost(message, optional, tag = "1")]
pub assignee: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<i32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct IncidentStatusWithCount {
#[prost(enumeration = "IncidentStatus", tag = "1")]
pub status: i32,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<i32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct IncidentStateWithCount {
#[prost(enumeration = "IncidentState", tag = "1")]
pub state: i32,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<i32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct IncidentSeverityWithCount {
#[prost(enumeration = "IncidentSeverity", tag = "1")]
pub severity: i32,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<i32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentMetaLabelsWithCount {
#[prost(message, optional, tag = "1")]
pub meta_label: ::core::option::Option<MetaLabel>,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<i32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentQueryFiltersValues {
#[prost(message, repeated, tag = "1")]
pub assignee_with_count: ::prost::alloc::vec::Vec<AssigneeWithCount>,
#[prost(message, repeated, tag = "2")]
pub status_with_count: ::prost::alloc::vec::Vec<IncidentStatusWithCount>,
#[prost(message, repeated, tag = "3")]
pub state_with_count: ::prost::alloc::vec::Vec<IncidentStateWithCount>,
#[prost(message, repeated, tag = "4")]
pub severity_with_count: ::prost::alloc::vec::Vec<IncidentSeverityWithCount>,
#[prost(map = "string, message", tag = "5")]
pub contextual_labels: ::std::collections::HashMap<
::prost::alloc::string::String,
ContextualLabelValuesWithCount,
>,
#[prost(message, repeated, tag = "6")]
pub meta_labels_with_count: ::prost::alloc::vec::Vec<IncidentMetaLabelsWithCount>,
#[prost(enumeration = "FilterOperator", tag = "7")]
pub meta_labels_op: i32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContextualLabelValuesWithCount {
#[prost(message, repeated, tag = "1")]
pub values_with_count: ::prost::alloc::vec::Vec<ContextualLabelValueWithCount>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContextualLabelValueWithCount {
#[prost(message, optional, tag = "1")]
pub contextual_label_value: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "2")]
pub count: ::core::option::Option<i32>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEventExtended {
#[prost(message, optional, tag = "1")]
pub cx_event_key: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "2")]
pub incident_event: ::core::option::Option<IncidentEvent>,
#[prost(message, optional, tag = "4")]
pub cx_event_timestamp: ::core::option::Option<::prost_wkt_types::Timestamp>,
#[prost(message, optional, tag = "5")]
pub incident_event_extended_metadata: ::core::option::Option<
IncidentEventExtendedMetadata,
>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncidentEventExtendedMetadata {
#[prost(enumeration = "IncidentSeverity", tag = "1")]
pub incident_severity: i32,
#[prost(message, optional, tag = "2")]
pub alert_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(enumeration = "IncidentState", tag = "3")]
pub incident_state: i32,
#[prost(message, optional, tag = "4")]
pub alert_name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(enumeration = "IncidentEventAlertType", tag = "5")]
pub alert_type: i32,
#[prost(message, optional, tag = "6")]
pub is_muted: ::core::option::Option<bool>,
#[prost(enumeration = "IncidentStatus", tag = "7")]
pub incident_status: i32,
#[prost(message, repeated, tag = "8")]
pub alert_group_by_fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(message, repeated, tag = "9")]
pub alert_labels: ::prost::alloc::vec::Vec<MetaLabel>,
#[prost(map = "string, string", tag = "10")]
pub incident_permutation: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum IncidentEventAlertType {
StandardOrUnspecified = 0,
Metric = 1,
NewValue = 2,
Ratio = 3,
TimeRelative = 4,
UniqueCount = 5,
Tracing = 6,
Flow = 7,
}
impl IncidentEventAlertType {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::StandardOrUnspecified => {
"INCIDENT_EVENT_ALERT_TYPE_STANDARD_OR_UNSPECIFIED"
}
Self::Metric => "INCIDENT_EVENT_ALERT_TYPE_METRIC",
Self::NewValue => "INCIDENT_EVENT_ALERT_TYPE_NEW_VALUE",
Self::Ratio => "INCIDENT_EVENT_ALERT_TYPE_RATIO",
Self::TimeRelative => "INCIDENT_EVENT_ALERT_TYPE_TIME_RELATIVE",
Self::UniqueCount => "INCIDENT_EVENT_ALERT_TYPE_UNIQUE_COUNT",
Self::Tracing => "INCIDENT_EVENT_ALERT_TYPE_TRACING",
Self::Flow => "INCIDENT_EVENT_ALERT_TYPE_FLOW",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"INCIDENT_EVENT_ALERT_TYPE_STANDARD_OR_UNSPECIFIED" => {
Some(Self::StandardOrUnspecified)
}
"INCIDENT_EVENT_ALERT_TYPE_METRIC" => Some(Self::Metric),
"INCIDENT_EVENT_ALERT_TYPE_NEW_VALUE" => Some(Self::NewValue),
"INCIDENT_EVENT_ALERT_TYPE_RATIO" => Some(Self::Ratio),
"INCIDENT_EVENT_ALERT_TYPE_TIME_RELATIVE" => Some(Self::TimeRelative),
"INCIDENT_EVENT_ALERT_TYPE_UNIQUE_COUNT" => Some(Self::UniqueCount),
"INCIDENT_EVENT_ALERT_TYPE_TRACING" => Some(Self::Tracing),
"INCIDENT_EVENT_ALERT_TYPE_FLOW" => Some(Self::Flow),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetIncidentRequest {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetIncidentResponse {
#[prost(message, optional, tag = "1")]
pub incident: ::core::option::Option<Incident>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListIncidentsResponse {
#[prost(message, repeated, tag = "1")]
pub incidents: ::prost::alloc::vec::Vec<Incident>,
#[prost(message, optional, tag = "4")]
pub pagination: ::core::option::Option<PaginationResponse>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListIncidentsRequest {
#[prost(message, optional, tag = "4")]
pub filter: ::core::option::Option<IncidentQueryFilter>,
#[prost(message, optional, tag = "5")]
pub pagination: ::core::option::Option<PaginationRequest>,
#[prost(message, repeated, tag = "6")]
pub order_bys: ::prost::alloc::vec::Vec<OrderBy>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BatchGetIncidentRequest {
#[prost(message, repeated, tag = "1")]
pub ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BatchGetIncidentResponse {
#[prost(map = "string, message", tag = "1")]
pub incidents: ::std::collections::HashMap<::prost::alloc::string::String, Incident>,
#[prost(message, repeated, tag = "2")]
pub not_found_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteIncidentRequest {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaginationRequest {
#[prost(message, optional, tag = "1")]
pub page_size: ::core::option::Option<u32>,
#[prost(message, optional, tag = "2")]
pub page_token: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaginationResponse {
#[prost(message, optional, tag = "1")]
pub total_size: ::core::option::Option<u32>,
#[prost(message, optional, tag = "2")]
pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListIncidentAggregationsRequest {
#[prost(message, optional, tag = "1")]
pub filter: ::core::option::Option<IncidentQueryFilter>,
#[prost(message, repeated, tag = "2")]
pub group_bys: ::prost::alloc::vec::Vec<GroupBy>,
#[prost(message, optional, tag = "3")]
pub pagination: ::core::option::Option<PaginationRequest>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListIncidentAggregationsResponse {
#[prost(message, repeated, tag = "1")]
pub incident_aggs: ::prost::alloc::vec::Vec<IncidentAggregation>,
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<PaginationResponse>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetFilterValuesRequest {
#[prost(message, optional, tag = "1")]
pub filter: ::core::option::Option<IncidentQueryFilter>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetFilterValuesResponse {
#[prost(message, optional, tag = "1")]
pub filters_values: ::core::option::Option<IncidentQueryFiltersValues>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetIncidentEventsRequest {
#[prost(message, optional, tag = "1")]
pub incident_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetIncidentEventsResponse {
#[prost(message, repeated, tag = "1")]
pub incident_events: ::prost::alloc::vec::Vec<IncidentEvent>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssignIncidentsRequest {
#[prost(message, repeated, tag = "5")]
pub incident_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(message, optional, tag = "2")]
pub assigned_to: ::core::option::Option<UserDetails>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UnassignIncidentsRequest {
#[prost(message, repeated, tag = "1")]
pub incident_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UnassignIncidentsResponse {
#[prost(message, repeated, tag = "1")]
pub incidents: ::prost::alloc::vec::Vec<Incident>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssignIncidentsResponse {
#[prost(message, repeated, tag = "2")]
pub incidents: ::prost::alloc::vec::Vec<Incident>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AcknowledgeIncidentsRequest {
#[prost(message, repeated, tag = "2")]
pub incident_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AcknowledgeIncidentsResponse {
#[prost(message, repeated, tag = "2")]
pub incidents: ::prost::alloc::vec::Vec<Incident>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CloseIncidentsRequest {
#[prost(message, repeated, tag = "2")]
pub incident_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CloseIncidentsResponse {
#[prost(message, repeated, tag = "2")]
pub incidents: ::prost::alloc::vec::Vec<Incident>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResolveIncidentsRequest {
#[prost(message, repeated, tag = "1")]
pub incident_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResolveIncidentsResponse {
#[prost(message, repeated, tag = "1")]
pub incidents: ::prost::alloc::vec::Vec<Incident>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetIncidentUsingCorrelationKeyRequest {
#[prost(message, optional, tag = "1")]
pub correlation_key: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "2")]
pub incident_point_in_time: ::core::option::Option<::prost_wkt_types::Timestamp>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetIncidentUsingCorrelationKeyResponse {
#[prost(message, optional, tag = "1")]
pub incident: ::core::option::Option<Incident>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListIncidentEventsRequest {
#[prost(message, optional, tag = "1")]
pub filter: ::core::option::Option<IncidentEventQueryFilter>,
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<PaginationRequest>,
#[prost(message, optional, tag = "3")]
pub order_by: ::core::option::Option<ListIncidentEventRequestOrderBy>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ListIncidentEventRequestOrderBy {
#[prost(enumeration = "IncidentEventOrderByFieldType", tag = "1")]
pub field: i32,
#[prost(enumeration = "OrderByDirection", tag = "2")]
pub direction: i32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListIncidentEventsResponse {
#[prost(message, repeated, tag = "1")]
pub items: ::prost::alloc::vec::Vec<IncidentEventExtended>,
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<PaginationResponse>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListIncidentEventsTotalCountRequest {
#[prost(message, optional, tag = "1")]
pub filter: ::core::option::Option<IncidentEventQueryFilter>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ListIncidentEventsTotalCountResponse {
#[prost(message, optional, tag = "1")]
pub count: ::core::option::Option<u64>,
#[prost(message, optional, tag = "2")]
pub reached_limit: ::core::option::Option<bool>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListIncidentEventsFilterValuesRequest {
#[prost(message, optional, tag = "1")]
pub filter: ::core::option::Option<IncidentEventQueryFilter>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListIncidentEventsFilterValuesResponse {
#[prost(message, optional, tag = "1")]
pub filters_values: ::core::option::Option<IncidentQueryFiltersValues>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum IncidentEventOrderByFieldType {
TimestampOrUnspecified = 0,
}
impl IncidentEventOrderByFieldType {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::TimestampOrUnspecified => {
"INCIDENT_EVENT_ORDER_BY_FIELD_TYPE_TIMESTAMP_OR_UNSPECIFIED"
}
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"INCIDENT_EVENT_ORDER_BY_FIELD_TYPE_TIMESTAMP_OR_UNSPECIFIED" => {
Some(Self::TimestampOrUnspecified)
}
_ => None,
}
}
}
pub mod incidents_service_client {
#![allow(
unused_variables,
dead_code,
missing_docs,
clippy::wildcard_imports,
clippy::let_unit_value,
)]
use tonic::codegen::*;
use tonic::codegen::http::Uri;
#[derive(Debug, Clone)]
pub struct IncidentsServiceClient<T> {
inner: tonic::client::Grpc<T>,
}
impl IncidentsServiceClient<tonic::transport::Channel> {
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
where
D: TryInto<tonic::transport::Endpoint>,
D::Error: Into<StdError>,
{
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
Ok(Self::new(conn))
}
}
impl<T> IncidentsServiceClient<T>
where
T: tonic::client::GrpcService<tonic::body::BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
{
pub fn new(inner: T) -> Self {
let inner = tonic::client::Grpc::new(inner);
Self { inner }
}
pub fn with_origin(inner: T, origin: Uri) -> Self {
let inner = tonic::client::Grpc::with_origin(inner, origin);
Self { inner }
}
pub fn with_interceptor<F>(
inner: T,
interceptor: F,
) -> IncidentsServiceClient<InterceptedService<T, F>>
where
F: tonic::service::Interceptor,
T::ResponseBody: Default,
T: tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
Response = http::Response<
<T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
>,
>,
<T as tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
>>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
{
IncidentsServiceClient::new(InterceptedService::new(inner, interceptor))
}
#[must_use]
pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
self.inner = self.inner.send_compressed(encoding);
self
}
#[must_use]
pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
self.inner = self.inner.accept_compressed(encoding);
self
}
#[must_use]
pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
self.inner = self.inner.max_decoding_message_size(limit);
self
}
#[must_use]
pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
self.inner = self.inner.max_encoding_message_size(limit);
self
}
pub async fn get_incident(
&mut self,
request: impl tonic::IntoRequest<super::GetIncidentRequest>,
) -> std::result::Result<
tonic::Response<super::GetIncidentResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/GetIncident",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"GetIncident",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn batch_get_incident(
&mut self,
request: impl tonic::IntoRequest<super::BatchGetIncidentRequest>,
) -> std::result::Result<
tonic::Response<super::BatchGetIncidentResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/BatchGetIncident",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"BatchGetIncident",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn list_incidents(
&mut self,
request: impl tonic::IntoRequest<super::ListIncidentsRequest>,
) -> std::result::Result<
tonic::Response<super::ListIncidentsResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/ListIncidents",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"ListIncidents",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn list_incident_aggregations(
&mut self,
request: impl tonic::IntoRequest<super::ListIncidentAggregationsRequest>,
) -> std::result::Result<
tonic::Response<super::ListIncidentAggregationsResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/ListIncidentAggregations",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"ListIncidentAggregations",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn get_filter_values(
&mut self,
request: impl tonic::IntoRequest<super::GetFilterValuesRequest>,
) -> std::result::Result<
tonic::Response<super::GetFilterValuesResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/GetFilterValues",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"GetFilterValues",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn assign_incidents(
&mut self,
request: impl tonic::IntoRequest<super::AssignIncidentsRequest>,
) -> std::result::Result<
tonic::Response<super::AssignIncidentsResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/AssignIncidents",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"AssignIncidents",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn unassign_incidents(
&mut self,
request: impl tonic::IntoRequest<super::UnassignIncidentsRequest>,
) -> std::result::Result<
tonic::Response<super::UnassignIncidentsResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/UnassignIncidents",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"UnassignIncidents",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn acknowledge_incidents(
&mut self,
request: impl tonic::IntoRequest<super::AcknowledgeIncidentsRequest>,
) -> std::result::Result<
tonic::Response<super::AcknowledgeIncidentsResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/AcknowledgeIncidents",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"AcknowledgeIncidents",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn close_incidents(
&mut self,
request: impl tonic::IntoRequest<super::CloseIncidentsRequest>,
) -> std::result::Result<
tonic::Response<super::CloseIncidentsResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/CloseIncidents",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"CloseIncidents",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn get_incident_events(
&mut self,
request: impl tonic::IntoRequest<super::GetIncidentEventsRequest>,
) -> std::result::Result<
tonic::Response<super::GetIncidentEventsResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/GetIncidentEvents",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"GetIncidentEvents",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn resolve_incidents(
&mut self,
request: impl tonic::IntoRequest<super::ResolveIncidentsRequest>,
) -> std::result::Result<
tonic::Response<super::ResolveIncidentsResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/ResolveIncidents",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"ResolveIncidents",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn get_incident_using_correlation_key(
&mut self,
request: impl tonic::IntoRequest<
super::GetIncidentUsingCorrelationKeyRequest,
>,
) -> std::result::Result<
tonic::Response<super::GetIncidentUsingCorrelationKeyResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/GetIncidentUsingCorrelationKey",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"GetIncidentUsingCorrelationKey",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn list_incident_events(
&mut self,
request: impl tonic::IntoRequest<super::ListIncidentEventsRequest>,
) -> std::result::Result<
tonic::Response<super::ListIncidentEventsResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/ListIncidentEvents",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"ListIncidentEvents",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn list_incident_events_total_count(
&mut self,
request: impl tonic::IntoRequest<super::ListIncidentEventsTotalCountRequest>,
) -> std::result::Result<
tonic::Response<super::ListIncidentEventsTotalCountResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/ListIncidentEventsTotalCount",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"ListIncidentEventsTotalCount",
),
);
self.inner.unary(req, path, codec).await
}
pub async fn list_incident_events_filter_values(
&mut self,
request: impl tonic::IntoRequest<
super::ListIncidentEventsFilterValuesRequest,
>,
) -> std::result::Result<
tonic::Response<super::ListIncidentEventsFilterValuesResponse>,
tonic::Status,
> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::unknown(
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/com.coralogixapis.incidents.v1.IncidentsService/ListIncidentEventsFilterValues",
);
let mut req = request.into_request();
req.extensions_mut()
.insert(
GrpcMethod::new(
"com.coralogixapis.incidents.v1.IncidentsService",
"ListIncidentEventsFilterValues",
),
);
self.inner.unary(req, path, codec).await
}
}
}