github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v3/notification/notification.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/monitoring/proto/v3/notification.proto 3 // DO NOT EDIT!!! 4 5 package notification 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 alert "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/alert" 21 alerting_condition "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/alerting_condition" 22 alerting_policy "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/alerting_policy" 23 common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/common" 24 notification_channel "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/notification_channel" 25 project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/project" 26 meta "github.com/cloudwan/goten-sdk/types/meta" 27 ) 28 29 // Reference imports to suppress errors if they are not otherwise used. 30 var ( 31 _ = fmt.Errorf 32 _ = reflect.Method{} 33 _ = sync.Once{} 34 35 _ = protojson.MarshalOptions{} 36 _ = proto.MarshalOptions{} 37 _ = preflect.Value{} 38 _ = protoimpl.DescBuilder{} 39 ) 40 41 // make sure we're using proto imports 42 var ( 43 _ = &alert.Alert{} 44 _ = &alerting_condition.AlertingCondition{} 45 _ = &alerting_policy.AlertingPolicy{} 46 _ = &common.LabelDescriptor{} 47 _ = ¬ification_channel.NotificationChannel{} 48 _ = &project.Project{} 49 _ = &meta.Meta{} 50 ) 51 52 const ( 53 // Verify that this generated code is sufficiently up-to-date. 54 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 55 // Verify that runtime/protoimpl is sufficiently up-to-date. 56 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 57 ) 58 59 type Notification_State_NotificationState_Status int32 60 61 const ( 62 Notification_State_NotificationState_UNKNOWN Notification_State_NotificationState_Status = 0 63 Notification_State_NotificationState_PENDING Notification_State_NotificationState_Status = 1 64 Notification_State_NotificationState_FAILED Notification_State_NotificationState_Status = 2 65 Notification_State_NotificationState_SUPPRESSED Notification_State_NotificationState_Status = 3 66 Notification_State_NotificationState_SENT Notification_State_NotificationState_Status = 4 67 // Status types that can be used by webhook integrated providers, like 68 // PagerDuty. 69 Notification_State_NotificationState_DELIVERED Notification_State_NotificationState_Status = 5 70 Notification_State_NotificationState_ACKNOWLEDGED Notification_State_NotificationState_Status = 6 71 Notification_State_NotificationState_UNACKNOWLEDGED Notification_State_NotificationState_Status = 7 72 ) 73 74 var ( 75 Notification_State_NotificationState_Status_name = map[int32]string{ 76 0: "UNKNOWN", 77 1: "PENDING", 78 2: "FAILED", 79 3: "SUPPRESSED", 80 4: "SENT", 81 5: "DELIVERED", 82 6: "ACKNOWLEDGED", 83 7: "UNACKNOWLEDGED", 84 } 85 86 Notification_State_NotificationState_Status_value = map[string]int32{ 87 "UNKNOWN": 0, 88 "PENDING": 1, 89 "FAILED": 2, 90 "SUPPRESSED": 3, 91 "SENT": 4, 92 "DELIVERED": 5, 93 "ACKNOWLEDGED": 6, 94 "UNACKNOWLEDGED": 7, 95 } 96 ) 97 98 func (x Notification_State_NotificationState_Status) Enum() *Notification_State_NotificationState_Status { 99 p := new(Notification_State_NotificationState_Status) 100 *p = x 101 return p 102 } 103 104 func (x Notification_State_NotificationState_Status) String() string { 105 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 106 } 107 108 func (Notification_State_NotificationState_Status) Descriptor() preflect.EnumDescriptor { 109 return edgelq_monitoring_proto_v3_notification_proto_enumTypes[0].Descriptor() 110 } 111 112 func (Notification_State_NotificationState_Status) Type() preflect.EnumType { 113 return &edgelq_monitoring_proto_v3_notification_proto_enumTypes[0] 114 } 115 116 func (x Notification_State_NotificationState_Status) Number() preflect.EnumNumber { 117 return preflect.EnumNumber(x) 118 } 119 120 // Deprecated, Use Notification_State_NotificationState_Status.ProtoReflect.Descriptor instead. 121 func (Notification_State_NotificationState_Status) EnumDescriptor() ([]byte, []int) { 122 return edgelq_monitoring_proto_v3_notification_proto_rawDescGZIP(), []int{0, 0, 0, 0} 123 } 124 125 // Notification Resource 126 type Notification struct { 127 state protoimpl.MessageState 128 sizeCache protoimpl.SizeCache 129 unknownFields protoimpl.UnknownFields 130 // Name of Notification 131 // When creating a new instance, this field is optional and if not provided, 132 // it will be generated automatically. Last ID segment must conform to the 133 // following regex: [a-zA-Z0-9_.:-]{1,128} 134 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 135 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 136 // Reference to alerting policy that this notification is for 137 AlertingPolicy *alerting_policy.Name `protobuf:"bytes,3,opt,customtype=Name,name=alerting_policy,json=alertingPolicy,proto3" json:"alerting_policy,omitempty"` 138 // References to alerts that are part of this notification 139 Alerts []*alert.Name `protobuf:"bytes,4,rep,customtype=Name,name=alerts,proto3" json:"alerts,omitempty"` 140 State *Notification_State `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` 141 } 142 143 func (m *Notification) Reset() { 144 *m = Notification{} 145 if protoimpl.UnsafeEnabled { 146 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[0] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 148 ms.StoreMessageInfo(mi) 149 } 150 } 151 152 func (m *Notification) String() string { 153 return protoimpl.X.MessageStringOf(m) 154 } 155 156 func (*Notification) ProtoMessage() {} 157 158 func (m *Notification) ProtoReflect() preflect.Message { 159 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[0] 160 if protoimpl.UnsafeEnabled && m != nil { 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 162 if ms.LoadMessageInfo() == nil { 163 ms.StoreMessageInfo(mi) 164 } 165 return ms 166 } 167 return mi.MessageOf(m) 168 } 169 170 func (*Notification) GotenMessage() {} 171 172 // Deprecated, Use Notification.ProtoReflect.Descriptor instead. 173 func (*Notification) Descriptor() ([]byte, []int) { 174 return edgelq_monitoring_proto_v3_notification_proto_rawDescGZIP(), []int{0} 175 } 176 177 func (m *Notification) Unmarshal(b []byte) error { 178 return proto.Unmarshal(b, m) 179 } 180 181 func (m *Notification) Marshal() ([]byte, error) { 182 return proto.Marshal(m) 183 } 184 185 func (m *Notification) MarshalJSON() ([]byte, error) { 186 return protojson.MarshalOptions{}.Marshal(m) 187 } 188 189 func (m *Notification) UnmarshalJSON(data []byte) error { 190 return protojson.Unmarshal(data, m) 191 } 192 193 func (m *Notification) GetName() *Name { 194 if m != nil { 195 return m.Name 196 } 197 return nil 198 } 199 200 func (m *Notification) GetMetadata() *meta.Meta { 201 if m != nil { 202 return m.Metadata 203 } 204 return nil 205 } 206 207 func (m *Notification) GetAlertingPolicy() *alerting_policy.Name { 208 if m != nil { 209 return m.AlertingPolicy 210 } 211 return nil 212 } 213 214 func (m *Notification) GetAlerts() []*alert.Name { 215 if m != nil { 216 return m.Alerts 217 } 218 return nil 219 } 220 221 func (m *Notification) GetState() *Notification_State { 222 if m != nil { 223 return m.State 224 } 225 return nil 226 } 227 228 func (m *Notification) SetName(fv *Name) { 229 if m == nil { 230 panic(fmt.Errorf("can't set %s on nil %s", "Name", "Notification")) 231 } 232 m.Name = fv 233 } 234 235 func (m *Notification) SetMetadata(fv *meta.Meta) { 236 if m == nil { 237 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "Notification")) 238 } 239 m.Metadata = fv 240 } 241 242 func (m *Notification) SetAlertingPolicy(fv *alerting_policy.Name) { 243 if m == nil { 244 panic(fmt.Errorf("can't set %s on nil %s", "AlertingPolicy", "Notification")) 245 } 246 m.AlertingPolicy = fv 247 } 248 249 func (m *Notification) SetAlerts(fv []*alert.Name) { 250 if m == nil { 251 panic(fmt.Errorf("can't set %s on nil %s", "Alerts", "Notification")) 252 } 253 m.Alerts = fv 254 } 255 256 func (m *Notification) SetState(fv *Notification_State) { 257 if m == nil { 258 panic(fmt.Errorf("can't set %s on nil %s", "State", "Notification")) 259 } 260 m.State = fv 261 } 262 263 type Notification_State struct { 264 state protoimpl.MessageState 265 sizeCache protoimpl.SizeCache 266 unknownFields protoimpl.UnknownFields 267 IsResolved bool `protobuf:"varint,1,opt,name=is_resolved,json=isResolved,proto3" json:"is_resolved,omitempty"` 268 // Notification state 269 NotificationState []*Notification_State_NotificationState `protobuf:"bytes,2,rep,name=notification_state,json=notificationState,proto3" json:"notification_state,omitempty"` 270 // Internal state to keep track of whether any notification sends needs to 271 // be retried for new incident 272 IncidentNotifyAttemptsDone bool `protobuf:"varint,3,opt,name=incident_notify_attempts_done,json=incidentNotifyAttemptsDone,proto3" json:"incident_notify_attempts_done,omitempty"` 273 // Internal state to keep track of whether any notification sends needs to 274 // be retried for resolution 275 ResolutionNotifyAttemptsDone bool `protobuf:"varint,4,opt,name=resolution_notify_attempts_done,json=resolutionNotifyAttemptsDone,proto3" json:"resolution_notify_attempts_done,omitempty"` 276 // Time range for which alerts for the policy are clubbed together 277 AlertsLifetime *common.TimeRange `protobuf:"bytes,5,opt,name=alerts_lifetime,json=alertsLifetime,proto3" json:"alerts_lifetime,omitempty"` 278 ResolutionNotificationState []*Notification_State_NotificationState `protobuf:"bytes,6,rep,name=resolution_notification_state,json=resolutionNotificationState,proto3" json:"resolution_notification_state,omitempty"` 279 // Alert has ended and any needed notifications are processed 280 LifecycleCompleted bool `protobuf:"varint,7,opt,name=lifecycle_completed,json=lifecycleCompleted,proto3" json:"lifecycle_completed,omitempty"` 281 } 282 283 func (m *Notification_State) Reset() { 284 *m = Notification_State{} 285 if protoimpl.UnsafeEnabled { 286 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[1] 287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 288 ms.StoreMessageInfo(mi) 289 } 290 } 291 292 func (m *Notification_State) String() string { 293 return protoimpl.X.MessageStringOf(m) 294 } 295 296 func (*Notification_State) ProtoMessage() {} 297 298 func (m *Notification_State) ProtoReflect() preflect.Message { 299 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[1] 300 if protoimpl.UnsafeEnabled && m != nil { 301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 302 if ms.LoadMessageInfo() == nil { 303 ms.StoreMessageInfo(mi) 304 } 305 return ms 306 } 307 return mi.MessageOf(m) 308 } 309 310 func (*Notification_State) GotenMessage() {} 311 312 // Deprecated, Use Notification_State.ProtoReflect.Descriptor instead. 313 func (*Notification_State) Descriptor() ([]byte, []int) { 314 return edgelq_monitoring_proto_v3_notification_proto_rawDescGZIP(), []int{0, 0} 315 } 316 317 func (m *Notification_State) Unmarshal(b []byte) error { 318 return proto.Unmarshal(b, m) 319 } 320 321 func (m *Notification_State) Marshal() ([]byte, error) { 322 return proto.Marshal(m) 323 } 324 325 func (m *Notification_State) MarshalJSON() ([]byte, error) { 326 return protojson.MarshalOptions{}.Marshal(m) 327 } 328 329 func (m *Notification_State) UnmarshalJSON(data []byte) error { 330 return protojson.Unmarshal(data, m) 331 } 332 333 func (m *Notification_State) GetIsResolved() bool { 334 if m != nil { 335 return m.IsResolved 336 } 337 return false 338 } 339 340 func (m *Notification_State) GetNotificationState() []*Notification_State_NotificationState { 341 if m != nil { 342 return m.NotificationState 343 } 344 return nil 345 } 346 347 func (m *Notification_State) GetIncidentNotifyAttemptsDone() bool { 348 if m != nil { 349 return m.IncidentNotifyAttemptsDone 350 } 351 return false 352 } 353 354 func (m *Notification_State) GetResolutionNotifyAttemptsDone() bool { 355 if m != nil { 356 return m.ResolutionNotifyAttemptsDone 357 } 358 return false 359 } 360 361 func (m *Notification_State) GetAlertsLifetime() *common.TimeRange { 362 if m != nil { 363 return m.AlertsLifetime 364 } 365 return nil 366 } 367 368 func (m *Notification_State) GetResolutionNotificationState() []*Notification_State_NotificationState { 369 if m != nil { 370 return m.ResolutionNotificationState 371 } 372 return nil 373 } 374 375 func (m *Notification_State) GetLifecycleCompleted() bool { 376 if m != nil { 377 return m.LifecycleCompleted 378 } 379 return false 380 } 381 382 func (m *Notification_State) SetIsResolved(fv bool) { 383 if m == nil { 384 panic(fmt.Errorf("can't set %s on nil %s", "IsResolved", "Notification_State")) 385 } 386 m.IsResolved = fv 387 } 388 389 func (m *Notification_State) SetNotificationState(fv []*Notification_State_NotificationState) { 390 if m == nil { 391 panic(fmt.Errorf("can't set %s on nil %s", "NotificationState", "Notification_State")) 392 } 393 m.NotificationState = fv 394 } 395 396 func (m *Notification_State) SetIncidentNotifyAttemptsDone(fv bool) { 397 if m == nil { 398 panic(fmt.Errorf("can't set %s on nil %s", "IncidentNotifyAttemptsDone", "Notification_State")) 399 } 400 m.IncidentNotifyAttemptsDone = fv 401 } 402 403 func (m *Notification_State) SetResolutionNotifyAttemptsDone(fv bool) { 404 if m == nil { 405 panic(fmt.Errorf("can't set %s on nil %s", "ResolutionNotifyAttemptsDone", "Notification_State")) 406 } 407 m.ResolutionNotifyAttemptsDone = fv 408 } 409 410 func (m *Notification_State) SetAlertsLifetime(fv *common.TimeRange) { 411 if m == nil { 412 panic(fmt.Errorf("can't set %s on nil %s", "AlertsLifetime", "Notification_State")) 413 } 414 m.AlertsLifetime = fv 415 } 416 417 func (m *Notification_State) SetResolutionNotificationState(fv []*Notification_State_NotificationState) { 418 if m == nil { 419 panic(fmt.Errorf("can't set %s on nil %s", "ResolutionNotificationState", "Notification_State")) 420 } 421 m.ResolutionNotificationState = fv 422 } 423 424 func (m *Notification_State) SetLifecycleCompleted(fv bool) { 425 if m == nil { 426 panic(fmt.Errorf("can't set %s on nil %s", "LifecycleCompleted", "Notification_State")) 427 } 428 m.LifecycleCompleted = fv 429 } 430 431 type Notification_State_NotificationState struct { 432 state protoimpl.MessageState 433 sizeCache protoimpl.SizeCache 434 unknownFields protoimpl.UnknownFields 435 // Notification channel name 436 NotificationChannel *notification_channel.Name `protobuf:"bytes,1,opt,customtype=Name,name=notification_channel,json=notificationChannel,proto3" json:"notification_channel,omitempty"` 437 Status Notification_State_NotificationState_Status `protobuf:"varint,2,opt,name=status,proto3,enum=ntt.monitoring.v3.Notification_State_NotificationState_Status" json:"status,omitempty"` 438 // Error message if status is FAILED 439 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` 440 // Provider specific data. Allows tracking ids of notifications sent to 441 // specific channels. 442 ProviderData *Notification_State_NotificationState_ProviderData `protobuf:"bytes,4,opt,name=provider_data,json=providerData,proto3" json:"provider_data,omitempty"` 443 NotifyAttempts int64 `protobuf:"varint,5,opt,name=notify_attempts,json=notifyAttempts,proto3" json:"notify_attempts,omitempty"` 444 } 445 446 func (m *Notification_State_NotificationState) Reset() { 447 *m = Notification_State_NotificationState{} 448 if protoimpl.UnsafeEnabled { 449 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[2] 450 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 451 ms.StoreMessageInfo(mi) 452 } 453 } 454 455 func (m *Notification_State_NotificationState) String() string { 456 return protoimpl.X.MessageStringOf(m) 457 } 458 459 func (*Notification_State_NotificationState) ProtoMessage() {} 460 461 func (m *Notification_State_NotificationState) ProtoReflect() preflect.Message { 462 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[2] 463 if protoimpl.UnsafeEnabled && m != nil { 464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 465 if ms.LoadMessageInfo() == nil { 466 ms.StoreMessageInfo(mi) 467 } 468 return ms 469 } 470 return mi.MessageOf(m) 471 } 472 473 func (*Notification_State_NotificationState) GotenMessage() {} 474 475 // Deprecated, Use Notification_State_NotificationState.ProtoReflect.Descriptor instead. 476 func (*Notification_State_NotificationState) Descriptor() ([]byte, []int) { 477 return edgelq_monitoring_proto_v3_notification_proto_rawDescGZIP(), []int{0, 0, 0} 478 } 479 480 func (m *Notification_State_NotificationState) Unmarshal(b []byte) error { 481 return proto.Unmarshal(b, m) 482 } 483 484 func (m *Notification_State_NotificationState) Marshal() ([]byte, error) { 485 return proto.Marshal(m) 486 } 487 488 func (m *Notification_State_NotificationState) MarshalJSON() ([]byte, error) { 489 return protojson.MarshalOptions{}.Marshal(m) 490 } 491 492 func (m *Notification_State_NotificationState) UnmarshalJSON(data []byte) error { 493 return protojson.Unmarshal(data, m) 494 } 495 496 func (m *Notification_State_NotificationState) GetNotificationChannel() *notification_channel.Name { 497 if m != nil { 498 return m.NotificationChannel 499 } 500 return nil 501 } 502 503 func (m *Notification_State_NotificationState) GetStatus() Notification_State_NotificationState_Status { 504 if m != nil { 505 return m.Status 506 } 507 return Notification_State_NotificationState_UNKNOWN 508 } 509 510 func (m *Notification_State_NotificationState) GetError() string { 511 if m != nil { 512 return m.Error 513 } 514 return "" 515 } 516 517 func (m *Notification_State_NotificationState) GetProviderData() *Notification_State_NotificationState_ProviderData { 518 if m != nil { 519 return m.ProviderData 520 } 521 return nil 522 } 523 524 func (m *Notification_State_NotificationState) GetNotifyAttempts() int64 { 525 if m != nil { 526 return m.NotifyAttempts 527 } 528 return int64(0) 529 } 530 531 func (m *Notification_State_NotificationState) SetNotificationChannel(fv *notification_channel.Name) { 532 if m == nil { 533 panic(fmt.Errorf("can't set %s on nil %s", "NotificationChannel", "Notification_State_NotificationState")) 534 } 535 m.NotificationChannel = fv 536 } 537 538 func (m *Notification_State_NotificationState) SetStatus(fv Notification_State_NotificationState_Status) { 539 if m == nil { 540 panic(fmt.Errorf("can't set %s on nil %s", "Status", "Notification_State_NotificationState")) 541 } 542 m.Status = fv 543 } 544 545 func (m *Notification_State_NotificationState) SetError(fv string) { 546 if m == nil { 547 panic(fmt.Errorf("can't set %s on nil %s", "Error", "Notification_State_NotificationState")) 548 } 549 m.Error = fv 550 } 551 552 func (m *Notification_State_NotificationState) SetProviderData(fv *Notification_State_NotificationState_ProviderData) { 553 if m == nil { 554 panic(fmt.Errorf("can't set %s on nil %s", "ProviderData", "Notification_State_NotificationState")) 555 } 556 m.ProviderData = fv 557 } 558 559 func (m *Notification_State_NotificationState) SetNotifyAttempts(fv int64) { 560 if m == nil { 561 panic(fmt.Errorf("can't set %s on nil %s", "NotifyAttempts", "Notification_State_NotificationState")) 562 } 563 m.NotifyAttempts = fv 564 } 565 566 // Provider specific data 567 type Notification_State_NotificationState_ProviderData struct { 568 state protoimpl.MessageState 569 sizeCache protoimpl.SizeCache 570 unknownFields protoimpl.UnknownFields 571 Slack *Notification_State_NotificationState_ProviderData_Slack `protobuf:"bytes,3,opt,name=slack,proto3" json:"slack,omitempty"` 572 PagerDuty *Notification_State_NotificationState_ProviderData_PagerDuty `protobuf:"bytes,4,opt,name=pager_duty,json=pagerDuty,proto3" json:"pager_duty,omitempty"` 573 } 574 575 func (m *Notification_State_NotificationState_ProviderData) Reset() { 576 *m = Notification_State_NotificationState_ProviderData{} 577 if protoimpl.UnsafeEnabled { 578 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[3] 579 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 580 ms.StoreMessageInfo(mi) 581 } 582 } 583 584 func (m *Notification_State_NotificationState_ProviderData) String() string { 585 return protoimpl.X.MessageStringOf(m) 586 } 587 588 func (*Notification_State_NotificationState_ProviderData) ProtoMessage() {} 589 590 func (m *Notification_State_NotificationState_ProviderData) ProtoReflect() preflect.Message { 591 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[3] 592 if protoimpl.UnsafeEnabled && m != nil { 593 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 594 if ms.LoadMessageInfo() == nil { 595 ms.StoreMessageInfo(mi) 596 } 597 return ms 598 } 599 return mi.MessageOf(m) 600 } 601 602 func (*Notification_State_NotificationState_ProviderData) GotenMessage() {} 603 604 // Deprecated, Use Notification_State_NotificationState_ProviderData.ProtoReflect.Descriptor instead. 605 func (*Notification_State_NotificationState_ProviderData) Descriptor() ([]byte, []int) { 606 return edgelq_monitoring_proto_v3_notification_proto_rawDescGZIP(), []int{0, 0, 0, 0} 607 } 608 609 func (m *Notification_State_NotificationState_ProviderData) Unmarshal(b []byte) error { 610 return proto.Unmarshal(b, m) 611 } 612 613 func (m *Notification_State_NotificationState_ProviderData) Marshal() ([]byte, error) { 614 return proto.Marshal(m) 615 } 616 617 func (m *Notification_State_NotificationState_ProviderData) MarshalJSON() ([]byte, error) { 618 return protojson.MarshalOptions{}.Marshal(m) 619 } 620 621 func (m *Notification_State_NotificationState_ProviderData) UnmarshalJSON(data []byte) error { 622 return protojson.Unmarshal(data, m) 623 } 624 625 func (m *Notification_State_NotificationState_ProviderData) GetSlack() *Notification_State_NotificationState_ProviderData_Slack { 626 if m != nil { 627 return m.Slack 628 } 629 return nil 630 } 631 632 func (m *Notification_State_NotificationState_ProviderData) GetPagerDuty() *Notification_State_NotificationState_ProviderData_PagerDuty { 633 if m != nil { 634 return m.PagerDuty 635 } 636 return nil 637 } 638 639 func (m *Notification_State_NotificationState_ProviderData) SetSlack(fv *Notification_State_NotificationState_ProviderData_Slack) { 640 if m == nil { 641 panic(fmt.Errorf("can't set %s on nil %s", "Slack", "Notification_State_NotificationState_ProviderData")) 642 } 643 m.Slack = fv 644 } 645 646 func (m *Notification_State_NotificationState_ProviderData) SetPagerDuty(fv *Notification_State_NotificationState_ProviderData_PagerDuty) { 647 if m == nil { 648 panic(fmt.Errorf("can't set %s on nil %s", "PagerDuty", "Notification_State_NotificationState_ProviderData")) 649 } 650 m.PagerDuty = fv 651 } 652 653 // Slack 654 type Notification_State_NotificationState_ProviderData_Slack struct { 655 state protoimpl.MessageState 656 sizeCache protoimpl.SizeCache 657 unknownFields protoimpl.UnknownFields 658 Ts string `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` 659 } 660 661 func (m *Notification_State_NotificationState_ProviderData_Slack) Reset() { 662 *m = Notification_State_NotificationState_ProviderData_Slack{} 663 if protoimpl.UnsafeEnabled { 664 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[4] 665 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 666 ms.StoreMessageInfo(mi) 667 } 668 } 669 670 func (m *Notification_State_NotificationState_ProviderData_Slack) String() string { 671 return protoimpl.X.MessageStringOf(m) 672 } 673 674 func (*Notification_State_NotificationState_ProviderData_Slack) ProtoMessage() {} 675 676 func (m *Notification_State_NotificationState_ProviderData_Slack) ProtoReflect() preflect.Message { 677 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[4] 678 if protoimpl.UnsafeEnabled && m != nil { 679 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 680 if ms.LoadMessageInfo() == nil { 681 ms.StoreMessageInfo(mi) 682 } 683 return ms 684 } 685 return mi.MessageOf(m) 686 } 687 688 func (*Notification_State_NotificationState_ProviderData_Slack) GotenMessage() {} 689 690 // Deprecated, Use Notification_State_NotificationState_ProviderData_Slack.ProtoReflect.Descriptor instead. 691 func (*Notification_State_NotificationState_ProviderData_Slack) Descriptor() ([]byte, []int) { 692 return edgelq_monitoring_proto_v3_notification_proto_rawDescGZIP(), []int{0, 0, 0, 0, 0} 693 } 694 695 func (m *Notification_State_NotificationState_ProviderData_Slack) Unmarshal(b []byte) error { 696 return proto.Unmarshal(b, m) 697 } 698 699 func (m *Notification_State_NotificationState_ProviderData_Slack) Marshal() ([]byte, error) { 700 return proto.Marshal(m) 701 } 702 703 func (m *Notification_State_NotificationState_ProviderData_Slack) MarshalJSON() ([]byte, error) { 704 return protojson.MarshalOptions{}.Marshal(m) 705 } 706 707 func (m *Notification_State_NotificationState_ProviderData_Slack) UnmarshalJSON(data []byte) error { 708 return protojson.Unmarshal(data, m) 709 } 710 711 func (m *Notification_State_NotificationState_ProviderData_Slack) GetTs() string { 712 if m != nil { 713 return m.Ts 714 } 715 return "" 716 } 717 718 func (m *Notification_State_NotificationState_ProviderData_Slack) SetTs(fv string) { 719 if m == nil { 720 panic(fmt.Errorf("can't set %s on nil %s", "Ts", "Notification_State_NotificationState_ProviderData_Slack")) 721 } 722 m.Ts = fv 723 } 724 725 // Pager Duty 726 type Notification_State_NotificationState_ProviderData_PagerDuty struct { 727 state protoimpl.MessageState 728 sizeCache protoimpl.SizeCache 729 unknownFields protoimpl.UnknownFields 730 IncidentKey string `protobuf:"bytes,1,opt,name=incident_key,json=incidentKey,proto3" json:"incident_key,omitempty"` 731 } 732 733 func (m *Notification_State_NotificationState_ProviderData_PagerDuty) Reset() { 734 *m = Notification_State_NotificationState_ProviderData_PagerDuty{} 735 if protoimpl.UnsafeEnabled { 736 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[5] 737 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 738 ms.StoreMessageInfo(mi) 739 } 740 } 741 742 func (m *Notification_State_NotificationState_ProviderData_PagerDuty) String() string { 743 return protoimpl.X.MessageStringOf(m) 744 } 745 746 func (*Notification_State_NotificationState_ProviderData_PagerDuty) ProtoMessage() {} 747 748 func (m *Notification_State_NotificationState_ProviderData_PagerDuty) ProtoReflect() preflect.Message { 749 mi := &edgelq_monitoring_proto_v3_notification_proto_msgTypes[5] 750 if protoimpl.UnsafeEnabled && m != nil { 751 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 752 if ms.LoadMessageInfo() == nil { 753 ms.StoreMessageInfo(mi) 754 } 755 return ms 756 } 757 return mi.MessageOf(m) 758 } 759 760 func (*Notification_State_NotificationState_ProviderData_PagerDuty) GotenMessage() {} 761 762 // Deprecated, Use Notification_State_NotificationState_ProviderData_PagerDuty.ProtoReflect.Descriptor instead. 763 func (*Notification_State_NotificationState_ProviderData_PagerDuty) Descriptor() ([]byte, []int) { 764 return edgelq_monitoring_proto_v3_notification_proto_rawDescGZIP(), []int{0, 0, 0, 0, 1} 765 } 766 767 func (m *Notification_State_NotificationState_ProviderData_PagerDuty) Unmarshal(b []byte) error { 768 return proto.Unmarshal(b, m) 769 } 770 771 func (m *Notification_State_NotificationState_ProviderData_PagerDuty) Marshal() ([]byte, error) { 772 return proto.Marshal(m) 773 } 774 775 func (m *Notification_State_NotificationState_ProviderData_PagerDuty) MarshalJSON() ([]byte, error) { 776 return protojson.MarshalOptions{}.Marshal(m) 777 } 778 779 func (m *Notification_State_NotificationState_ProviderData_PagerDuty) UnmarshalJSON(data []byte) error { 780 return protojson.Unmarshal(data, m) 781 } 782 783 func (m *Notification_State_NotificationState_ProviderData_PagerDuty) GetIncidentKey() string { 784 if m != nil { 785 return m.IncidentKey 786 } 787 return "" 788 } 789 790 func (m *Notification_State_NotificationState_ProviderData_PagerDuty) SetIncidentKey(fv string) { 791 if m == nil { 792 panic(fmt.Errorf("can't set %s on nil %s", "IncidentKey", "Notification_State_NotificationState_ProviderData_PagerDuty")) 793 } 794 m.IncidentKey = fv 795 } 796 797 var edgelq_monitoring_proto_v3_notification_proto preflect.FileDescriptor 798 799 var edgelq_monitoring_proto_v3_notification_proto_rawDesc = []byte{ 800 0x0a, 0x2d, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 801 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 0x6f, 0x74, 802 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 803 0x11, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 804 0x76, 0x33, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 805 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 806 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 807 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 808 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 809 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 810 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 811 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 812 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 813 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 814 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 815 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 816 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 817 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 818 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 819 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 820 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 821 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 822 0x1a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 823 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 824 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x11, 0x0a, 0x0c, 0x4e, 0x6f, 825 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x04, 0x6e, 0x61, 826 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xb2, 0xda, 0x21, 0x10, 0x0a, 0x0e, 827 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 828 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 829 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 830 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 831 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x0f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 832 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0xb2, 0xda, 833 0x21, 0x12, 0x0a, 0x10, 0x0a, 0x0e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 834 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 835 0x6c, 0x69, 0x63, 0x79, 0x12, 0x25, 0x0a, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x18, 0x04, 836 0x20, 0x03, 0x28, 0x09, 0x42, 0x0d, 0xb2, 0xda, 0x21, 0x09, 0x0a, 0x07, 0x0a, 0x05, 0x41, 0x6c, 837 0x65, 0x72, 0x74, 0x52, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x73, 838 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x74, 0x74, 839 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 840 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 841 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0xa1, 0x0a, 0x0a, 0x05, 0x53, 0x74, 0x61, 842 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 843 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x6c, 844 0x76, 0x65, 0x64, 0x12, 0x66, 0x0a, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 845 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 846 0x37, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 847 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 848 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 849 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x11, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 850 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x41, 0x0a, 0x1d, 0x69, 851 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x61, 852 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 853 0x28, 0x08, 0x52, 0x1a, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 854 0x66, 0x79, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x45, 855 0x0a, 0x1f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x6f, 0x74, 856 0x69, 0x66, 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 857 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 858 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 859 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x5f, 860 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 861 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 862 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0e, 0x61, 0x6c, 863 0x65, 0x72, 0x74, 0x73, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x7b, 0x0a, 0x1d, 864 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 865 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 866 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 867 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 868 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 869 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x1b, 0x72, 0x65, 870 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 871 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x6c, 0x69, 0x66, 872 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 873 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 874 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x1a, 0x8f, 0x06, 0x0a, 0x11, 0x4e, 875 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 876 0x12, 0x4e, 0x0a, 0x14, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 877 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1b, 878 0xb2, 0xda, 0x21, 0x17, 0x0a, 0x15, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 879 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x13, 0x6e, 0x6f, 0x74, 880 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 881 0x12, 0x56, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 882 0x32, 0x3e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 883 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 884 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 885 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 886 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 887 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x69, 888 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 889 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 890 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 891 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4e, 0x6f, 0x74, 892 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x50, 893 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x70, 0x72, 0x6f, 894 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x27, 0x0a, 0x0f, 0x6e, 0x6f, 0x74, 895 0x69, 0x66, 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 896 0x28, 0x03, 0x52, 0x0e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 897 0x74, 0x73, 0x1a, 0xa8, 0x02, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 898 0x61, 0x74, 0x61, 0x12, 0x60, 0x0a, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 899 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 900 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 901 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 902 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x76, 903 0x69, 0x64, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x52, 0x05, 904 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x6d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x64, 905 0x75, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 906 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 907 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 908 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 909 0x74, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 910 0x50, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x72, 911 0x44, 0x75, 0x74, 0x79, 0x1a, 0x17, 0x0a, 0x05, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 912 0x02, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x73, 0x1a, 0x2e, 0x0a, 913 0x09, 0x50, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 914 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 915 0x52, 0x0b, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x22, 0x7d, 0x0a, 916 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 917 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 918 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 919 0x0a, 0x53, 0x55, 0x50, 0x50, 0x52, 0x45, 0x53, 0x53, 0x45, 0x44, 0x10, 0x03, 0x12, 0x08, 0x0a, 920 0x04, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, 0x4c, 0x49, 0x56, 921 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x43, 0x4b, 0x4e, 0x4f, 0x57, 922 0x4c, 0x45, 0x44, 0x47, 0x45, 0x44, 0x10, 0x06, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x41, 0x43, 923 0x4b, 0x4e, 0x4f, 0x57, 0x4c, 0x45, 0x44, 0x47, 0x45, 0x44, 0x10, 0x07, 0x3a, 0xe7, 0x04, 0xea, 924 0x41, 0x89, 0x01, 0x0a, 0x22, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 925 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 926 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x63, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 927 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 928 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 929 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x61, 930 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x2f, 931 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6e, 932 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x92, 0xd9, 0x21, 0xee, 933 0x01, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 934 0x12, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 935 0x0e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2a, 936 0x16, 0x5b, 0x61, 0x2d, 0x7a, 0x41, 0x2d, 0x5a, 0x30, 0x2d, 0x39, 0x5f, 0x2e, 0x3a, 0x2d, 0x5d, 937 0x7b, 0x31, 0x2c, 0x31, 0x32, 0x38, 0x7d, 0x38, 0x05, 0x42, 0xa3, 0x01, 0x08, 0x02, 0x12, 0x0c, 938 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0f, 939 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 940 0x0f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 941 0x12, 0x3d, 0x0a, 0x23, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 942 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 943 0x74, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x12, 0x16, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 944 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x12, 945 0x2e, 0x0a, 0x18, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 946 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x4e, 0x6f, 0x74, 947 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x53, 0x74, 0x61, 0x74, 0x65, 0xb2, 948 0xdf, 0x21, 0xa2, 0x01, 0x0a, 0x9f, 0x01, 0x0a, 0x87, 0x01, 0x0a, 0x0b, 0x62, 0x79, 0x53, 0x74, 949 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x61, 950 0x6c, 0x65, 0x72, 0x74, 0x73, 0x5f, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x73, 951 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x56, 0x70, 0x72, 0x6f, 0x6a, 0x65, 952 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 953 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 954 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 955 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 956 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 957 0x2d, 0x12, 0x13, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x69, 0x73, 0x5f, 0x72, 0x65, 958 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 959 0x6d, 0x65, 0xc2, 0x85, 0x2c, 0x30, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0f, 0x61, 0x6c, 960 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x06, 0x61, 961 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x08, 0x6d, 0x65, 962 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0xaf, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 963 0x02, 0x51, 0x0a, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 964 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 965 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 966 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x74, 967 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 968 0x69, 0x6f, 0x6e, 0xa2, 0x80, 0xd1, 0x02, 0x53, 0x0a, 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 969 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3c, 0x67, 970 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 971 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 972 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 973 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 974 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 975 0x70, 0x62, 0x2e, 0x76, 0x33, 0x42, 0x11, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 976 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 0x67, 0x69, 0x74, 0x68, 977 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 978 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 979 0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 980 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x6e, 0x6f, 0x74, 0x69, 981 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 982 } 983 984 var ( 985 edgelq_monitoring_proto_v3_notification_proto_rawDescOnce sync.Once 986 edgelq_monitoring_proto_v3_notification_proto_rawDescData = edgelq_monitoring_proto_v3_notification_proto_rawDesc 987 ) 988 989 func edgelq_monitoring_proto_v3_notification_proto_rawDescGZIP() []byte { 990 edgelq_monitoring_proto_v3_notification_proto_rawDescOnce.Do(func() { 991 edgelq_monitoring_proto_v3_notification_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v3_notification_proto_rawDescData) 992 }) 993 return edgelq_monitoring_proto_v3_notification_proto_rawDescData 994 } 995 996 var edgelq_monitoring_proto_v3_notification_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 997 var edgelq_monitoring_proto_v3_notification_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 998 var edgelq_monitoring_proto_v3_notification_proto_goTypes = []interface{}{ 999 (Notification_State_NotificationState_Status)(0), // 0: ntt.monitoring.v3.Notification_State_NotificationState_Status 1000 (*Notification)(nil), // 1: ntt.monitoring.v3.Notification 1001 (*Notification_State)(nil), // 2: ntt.monitoring.v3.Notification.State 1002 (*Notification_State_NotificationState)(nil), // 3: ntt.monitoring.v3.Notification.State.NotificationState 1003 (*Notification_State_NotificationState_ProviderData)(nil), // 4: ntt.monitoring.v3.Notification.State.NotificationState.ProviderData 1004 (*Notification_State_NotificationState_ProviderData_Slack)(nil), // 5: ntt.monitoring.v3.Notification.State.NotificationState.ProviderData.Slack 1005 (*Notification_State_NotificationState_ProviderData_PagerDuty)(nil), // 6: ntt.monitoring.v3.Notification.State.NotificationState.ProviderData.PagerDuty 1006 (*meta.Meta)(nil), // 7: goten.types.Meta 1007 (*common.TimeRange)(nil), // 8: ntt.monitoring.v3.TimeRange 1008 } 1009 var edgelq_monitoring_proto_v3_notification_proto_depIdxs = []int32{ 1010 7, // 0: ntt.monitoring.v3.Notification.metadata:type_name -> goten.types.Meta 1011 2, // 1: ntt.monitoring.v3.Notification.state:type_name -> ntt.monitoring.v3.Notification.State 1012 3, // 2: ntt.monitoring.v3.Notification.State.notification_state:type_name -> ntt.monitoring.v3.Notification.State.NotificationState 1013 8, // 3: ntt.monitoring.v3.Notification.State.alerts_lifetime:type_name -> ntt.monitoring.v3.TimeRange 1014 3, // 4: ntt.monitoring.v3.Notification.State.resolution_notification_state:type_name -> ntt.monitoring.v3.Notification.State.NotificationState 1015 0, // 5: ntt.monitoring.v3.Notification.State.NotificationState.status:type_name -> ntt.monitoring.v3.Notification_State_NotificationState_Status 1016 4, // 6: ntt.monitoring.v3.Notification.State.NotificationState.provider_data:type_name -> ntt.monitoring.v3.Notification.State.NotificationState.ProviderData 1017 5, // 7: ntt.monitoring.v3.Notification.State.NotificationState.ProviderData.slack:type_name -> ntt.monitoring.v3.Notification.State.NotificationState.ProviderData.Slack 1018 6, // 8: ntt.monitoring.v3.Notification.State.NotificationState.ProviderData.pager_duty:type_name -> ntt.monitoring.v3.Notification.State.NotificationState.ProviderData.PagerDuty 1019 9, // [9:9] is the sub-list for method output_type 1020 9, // [9:9] is the sub-list for method input_type 1021 9, // [9:9] is the sub-list for extension type_name 1022 9, // [9:9] is the sub-list for extension extendee 1023 0, // [0:9] is the sub-list for field type_name 1024 } 1025 1026 func init() { edgelq_monitoring_proto_v3_notification_proto_init() } 1027 func edgelq_monitoring_proto_v3_notification_proto_init() { 1028 if edgelq_monitoring_proto_v3_notification_proto != nil { 1029 return 1030 } 1031 if !protoimpl.UnsafeEnabled { 1032 1033 edgelq_monitoring_proto_v3_notification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1034 switch v := v.(*Notification); i { 1035 case 0: 1036 return &v.state 1037 case 1: 1038 return &v.sizeCache 1039 case 2: 1040 return &v.unknownFields 1041 default: 1042 return nil 1043 } 1044 } 1045 edgelq_monitoring_proto_v3_notification_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1046 switch v := v.(*Notification_State); i { 1047 case 0: 1048 return &v.state 1049 case 1: 1050 return &v.sizeCache 1051 case 2: 1052 return &v.unknownFields 1053 default: 1054 return nil 1055 } 1056 } 1057 edgelq_monitoring_proto_v3_notification_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1058 switch v := v.(*Notification_State_NotificationState); i { 1059 case 0: 1060 return &v.state 1061 case 1: 1062 return &v.sizeCache 1063 case 2: 1064 return &v.unknownFields 1065 default: 1066 return nil 1067 } 1068 } 1069 edgelq_monitoring_proto_v3_notification_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1070 switch v := v.(*Notification_State_NotificationState_ProviderData); i { 1071 case 0: 1072 return &v.state 1073 case 1: 1074 return &v.sizeCache 1075 case 2: 1076 return &v.unknownFields 1077 default: 1078 return nil 1079 } 1080 } 1081 edgelq_monitoring_proto_v3_notification_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1082 switch v := v.(*Notification_State_NotificationState_ProviderData_Slack); i { 1083 case 0: 1084 return &v.state 1085 case 1: 1086 return &v.sizeCache 1087 case 2: 1088 return &v.unknownFields 1089 default: 1090 return nil 1091 } 1092 } 1093 edgelq_monitoring_proto_v3_notification_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1094 switch v := v.(*Notification_State_NotificationState_ProviderData_PagerDuty); i { 1095 case 0: 1096 return &v.state 1097 case 1: 1098 return &v.sizeCache 1099 case 2: 1100 return &v.unknownFields 1101 default: 1102 return nil 1103 } 1104 } 1105 } 1106 1107 type x struct{} 1108 out := protoimpl.TypeBuilder{ 1109 File: protoimpl.DescBuilder{ 1110 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1111 RawDescriptor: edgelq_monitoring_proto_v3_notification_proto_rawDesc, 1112 NumEnums: 1, 1113 NumMessages: 6, 1114 NumExtensions: 0, 1115 NumServices: 0, 1116 }, 1117 GoTypes: edgelq_monitoring_proto_v3_notification_proto_goTypes, 1118 DependencyIndexes: edgelq_monitoring_proto_v3_notification_proto_depIdxs, 1119 EnumInfos: edgelq_monitoring_proto_v3_notification_proto_enumTypes, 1120 MessageInfos: edgelq_monitoring_proto_v3_notification_proto_msgTypes, 1121 }.Build() 1122 edgelq_monitoring_proto_v3_notification_proto = out.File 1123 edgelq_monitoring_proto_v3_notification_proto_rawDesc = nil 1124 edgelq_monitoring_proto_v3_notification_proto_goTypes = nil 1125 edgelq_monitoring_proto_v3_notification_proto_depIdxs = nil 1126 }