github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v3/alerting_policy/alerting_policy.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/monitoring/proto/v3/alerting_policy.proto 3 // DO NOT EDIT!!! 4 5 package alerting_policy 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 notification_channel "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/notification_channel" 21 project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/project" 22 meta "github.com/cloudwan/goten-sdk/types/meta" 23 ) 24 25 // Reference imports to suppress errors if they are not otherwise used. 26 var ( 27 _ = fmt.Errorf 28 _ = reflect.Method{} 29 _ = sync.Once{} 30 31 _ = protojson.MarshalOptions{} 32 _ = proto.MarshalOptions{} 33 _ = preflect.Value{} 34 _ = protoimpl.DescBuilder{} 35 ) 36 37 // make sure we're using proto imports 38 var ( 39 _ = ¬ification_channel.NotificationChannel{} 40 _ = &project.Project{} 41 _ = &meta.Meta{} 42 ) 43 44 const ( 45 // Verify that this generated code is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 47 // Verify that runtime/protoimpl is sufficiently up-to-date. 48 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 49 ) 50 51 type AlertingPolicy_Spec_ConditionsCombiner int32 52 53 const ( 54 AlertingPolicy_Spec_OR AlertingPolicy_Spec_ConditionsCombiner = 0 55 AlertingPolicy_Spec_AND AlertingPolicy_Spec_ConditionsCombiner = 1 56 ) 57 58 var ( 59 AlertingPolicy_Spec_ConditionsCombiner_name = map[int32]string{ 60 0: "OR", 61 1: "AND", 62 } 63 64 AlertingPolicy_Spec_ConditionsCombiner_value = map[string]int32{ 65 "OR": 0, 66 "AND": 1, 67 } 68 ) 69 70 func (x AlertingPolicy_Spec_ConditionsCombiner) Enum() *AlertingPolicy_Spec_ConditionsCombiner { 71 p := new(AlertingPolicy_Spec_ConditionsCombiner) 72 *p = x 73 return p 74 } 75 76 func (x AlertingPolicy_Spec_ConditionsCombiner) String() string { 77 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 78 } 79 80 func (AlertingPolicy_Spec_ConditionsCombiner) Descriptor() preflect.EnumDescriptor { 81 return edgelq_monitoring_proto_v3_alerting_policy_proto_enumTypes[0].Descriptor() 82 } 83 84 func (AlertingPolicy_Spec_ConditionsCombiner) Type() preflect.EnumType { 85 return &edgelq_monitoring_proto_v3_alerting_policy_proto_enumTypes[0] 86 } 87 88 func (x AlertingPolicy_Spec_ConditionsCombiner) Number() preflect.EnumNumber { 89 return preflect.EnumNumber(x) 90 } 91 92 // Deprecated, Use AlertingPolicy_Spec_ConditionsCombiner.ProtoReflect.Descriptor instead. 93 func (AlertingPolicy_Spec_ConditionsCombiner) EnumDescriptor() ([]byte, []int) { 94 return edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescGZIP(), []int{0, 1, 0} 95 } 96 97 // AlertingPolicy Resource 98 type AlertingPolicy struct { 99 state protoimpl.MessageState 100 sizeCache protoimpl.SizeCache 101 unknownFields protoimpl.UnknownFields 102 // Name of AlertingPolicy 103 // When creating a new instance, this field is optional and if not provided, 104 // it will be generated automatically. Last ID segment must conform to the 105 // following regex: [a-z][a-z0-9\-]{0,28}[a-z0-9] 106 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 107 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 108 // display name 109 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 110 // Long description 111 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` 112 Documentation *AlertingPolicy_Documentation `protobuf:"bytes,5,opt,name=documentation,proto3" json:"documentation,omitempty"` 113 // Spec 114 Spec *AlertingPolicy_Spec `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty"` 115 State *AlertingPolicy_State `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"` 116 } 117 118 func (m *AlertingPolicy) Reset() { 119 *m = AlertingPolicy{} 120 if protoimpl.UnsafeEnabled { 121 mi := &edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[0] 122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 123 ms.StoreMessageInfo(mi) 124 } 125 } 126 127 func (m *AlertingPolicy) String() string { 128 return protoimpl.X.MessageStringOf(m) 129 } 130 131 func (*AlertingPolicy) ProtoMessage() {} 132 133 func (m *AlertingPolicy) ProtoReflect() preflect.Message { 134 mi := &edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[0] 135 if protoimpl.UnsafeEnabled && m != nil { 136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 137 if ms.LoadMessageInfo() == nil { 138 ms.StoreMessageInfo(mi) 139 } 140 return ms 141 } 142 return mi.MessageOf(m) 143 } 144 145 func (*AlertingPolicy) GotenMessage() {} 146 147 // Deprecated, Use AlertingPolicy.ProtoReflect.Descriptor instead. 148 func (*AlertingPolicy) Descriptor() ([]byte, []int) { 149 return edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescGZIP(), []int{0} 150 } 151 152 func (m *AlertingPolicy) Unmarshal(b []byte) error { 153 return proto.Unmarshal(b, m) 154 } 155 156 func (m *AlertingPolicy) Marshal() ([]byte, error) { 157 return proto.Marshal(m) 158 } 159 160 func (m *AlertingPolicy) MarshalJSON() ([]byte, error) { 161 return protojson.MarshalOptions{}.Marshal(m) 162 } 163 164 func (m *AlertingPolicy) UnmarshalJSON(data []byte) error { 165 return protojson.Unmarshal(data, m) 166 } 167 168 func (m *AlertingPolicy) GetName() *Name { 169 if m != nil { 170 return m.Name 171 } 172 return nil 173 } 174 175 func (m *AlertingPolicy) GetMetadata() *meta.Meta { 176 if m != nil { 177 return m.Metadata 178 } 179 return nil 180 } 181 182 func (m *AlertingPolicy) GetDisplayName() string { 183 if m != nil { 184 return m.DisplayName 185 } 186 return "" 187 } 188 189 func (m *AlertingPolicy) GetDescription() string { 190 if m != nil { 191 return m.Description 192 } 193 return "" 194 } 195 196 func (m *AlertingPolicy) GetDocumentation() *AlertingPolicy_Documentation { 197 if m != nil { 198 return m.Documentation 199 } 200 return nil 201 } 202 203 func (m *AlertingPolicy) GetSpec() *AlertingPolicy_Spec { 204 if m != nil { 205 return m.Spec 206 } 207 return nil 208 } 209 210 func (m *AlertingPolicy) GetState() *AlertingPolicy_State { 211 if m != nil { 212 return m.State 213 } 214 return nil 215 } 216 217 func (m *AlertingPolicy) SetName(fv *Name) { 218 if m == nil { 219 panic(fmt.Errorf("can't set %s on nil %s", "Name", "AlertingPolicy")) 220 } 221 m.Name = fv 222 } 223 224 func (m *AlertingPolicy) SetMetadata(fv *meta.Meta) { 225 if m == nil { 226 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "AlertingPolicy")) 227 } 228 m.Metadata = fv 229 } 230 231 func (m *AlertingPolicy) SetDisplayName(fv string) { 232 if m == nil { 233 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "AlertingPolicy")) 234 } 235 m.DisplayName = fv 236 } 237 238 func (m *AlertingPolicy) SetDescription(fv string) { 239 if m == nil { 240 panic(fmt.Errorf("can't set %s on nil %s", "Description", "AlertingPolicy")) 241 } 242 m.Description = fv 243 } 244 245 func (m *AlertingPolicy) SetDocumentation(fv *AlertingPolicy_Documentation) { 246 if m == nil { 247 panic(fmt.Errorf("can't set %s on nil %s", "Documentation", "AlertingPolicy")) 248 } 249 m.Documentation = fv 250 } 251 252 func (m *AlertingPolicy) SetSpec(fv *AlertingPolicy_Spec) { 253 if m == nil { 254 panic(fmt.Errorf("can't set %s on nil %s", "Spec", "AlertingPolicy")) 255 } 256 m.Spec = fv 257 } 258 259 func (m *AlertingPolicy) SetState(fv *AlertingPolicy_State) { 260 if m == nil { 261 panic(fmt.Errorf("can't set %s on nil %s", "State", "AlertingPolicy")) 262 } 263 m.State = fv 264 } 265 266 // Documentation 267 type AlertingPolicy_Documentation struct { 268 state protoimpl.MessageState 269 sizeCache protoimpl.SizeCache 270 unknownFields protoimpl.UnknownFields 271 // Documentation content 272 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` 273 // documentation mime type. Only `"text/markdown"` is supported. 274 MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` 275 } 276 277 func (m *AlertingPolicy_Documentation) Reset() { 278 *m = AlertingPolicy_Documentation{} 279 if protoimpl.UnsafeEnabled { 280 mi := &edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[1] 281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 282 ms.StoreMessageInfo(mi) 283 } 284 } 285 286 func (m *AlertingPolicy_Documentation) String() string { 287 return protoimpl.X.MessageStringOf(m) 288 } 289 290 func (*AlertingPolicy_Documentation) ProtoMessage() {} 291 292 func (m *AlertingPolicy_Documentation) ProtoReflect() preflect.Message { 293 mi := &edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[1] 294 if protoimpl.UnsafeEnabled && m != nil { 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 296 if ms.LoadMessageInfo() == nil { 297 ms.StoreMessageInfo(mi) 298 } 299 return ms 300 } 301 return mi.MessageOf(m) 302 } 303 304 func (*AlertingPolicy_Documentation) GotenMessage() {} 305 306 // Deprecated, Use AlertingPolicy_Documentation.ProtoReflect.Descriptor instead. 307 func (*AlertingPolicy_Documentation) Descriptor() ([]byte, []int) { 308 return edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescGZIP(), []int{0, 0} 309 } 310 311 func (m *AlertingPolicy_Documentation) Unmarshal(b []byte) error { 312 return proto.Unmarshal(b, m) 313 } 314 315 func (m *AlertingPolicy_Documentation) Marshal() ([]byte, error) { 316 return proto.Marshal(m) 317 } 318 319 func (m *AlertingPolicy_Documentation) MarshalJSON() ([]byte, error) { 320 return protojson.MarshalOptions{}.Marshal(m) 321 } 322 323 func (m *AlertingPolicy_Documentation) UnmarshalJSON(data []byte) error { 324 return protojson.Unmarshal(data, m) 325 } 326 327 func (m *AlertingPolicy_Documentation) GetContent() string { 328 if m != nil { 329 return m.Content 330 } 331 return "" 332 } 333 334 func (m *AlertingPolicy_Documentation) GetMimeType() string { 335 if m != nil { 336 return m.MimeType 337 } 338 return "" 339 } 340 341 func (m *AlertingPolicy_Documentation) SetContent(fv string) { 342 if m == nil { 343 panic(fmt.Errorf("can't set %s on nil %s", "Content", "AlertingPolicy_Documentation")) 344 } 345 m.Content = fv 346 } 347 348 func (m *AlertingPolicy_Documentation) SetMimeType(fv string) { 349 if m == nil { 350 panic(fmt.Errorf("can't set %s on nil %s", "MimeType", "AlertingPolicy_Documentation")) 351 } 352 m.MimeType = fv 353 } 354 355 type AlertingPolicy_Spec struct { 356 state protoimpl.MessageState 357 sizeCache protoimpl.SizeCache 358 unknownFields protoimpl.UnknownFields 359 // Whether policy is enabled and will evaluate any conditions 360 // Note: If any existing fired alerts are present, 361 // they will not be resolved automatically 362 // TODO: consider if they should? 363 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 364 // Condition Combiner when deciding if ANY (OR) or ALL (AND) conditions for 365 // given subset of resource labels must fire in order to trigger an alert 366 // TODO: Add support to AND 367 ConditionCombiner AlertingPolicy_Spec_ConditionsCombiner `protobuf:"varint,2,opt,name=condition_combiner,json=conditionCombiner,proto3,enum=ntt.monitoring.v3.AlertingPolicy_Spec_ConditionsCombiner" json:"condition_combiner,omitempty"` 368 // Notification specification 369 Notification *AlertingPolicy_Spec_Notification `protobuf:"bytes,4,opt,name=notification,proto3" json:"notification,omitempty"` 370 } 371 372 func (m *AlertingPolicy_Spec) Reset() { 373 *m = AlertingPolicy_Spec{} 374 if protoimpl.UnsafeEnabled { 375 mi := &edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[2] 376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 377 ms.StoreMessageInfo(mi) 378 } 379 } 380 381 func (m *AlertingPolicy_Spec) String() string { 382 return protoimpl.X.MessageStringOf(m) 383 } 384 385 func (*AlertingPolicy_Spec) ProtoMessage() {} 386 387 func (m *AlertingPolicy_Spec) ProtoReflect() preflect.Message { 388 mi := &edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[2] 389 if protoimpl.UnsafeEnabled && m != nil { 390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 391 if ms.LoadMessageInfo() == nil { 392 ms.StoreMessageInfo(mi) 393 } 394 return ms 395 } 396 return mi.MessageOf(m) 397 } 398 399 func (*AlertingPolicy_Spec) GotenMessage() {} 400 401 // Deprecated, Use AlertingPolicy_Spec.ProtoReflect.Descriptor instead. 402 func (*AlertingPolicy_Spec) Descriptor() ([]byte, []int) { 403 return edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescGZIP(), []int{0, 1} 404 } 405 406 func (m *AlertingPolicy_Spec) Unmarshal(b []byte) error { 407 return proto.Unmarshal(b, m) 408 } 409 410 func (m *AlertingPolicy_Spec) Marshal() ([]byte, error) { 411 return proto.Marshal(m) 412 } 413 414 func (m *AlertingPolicy_Spec) MarshalJSON() ([]byte, error) { 415 return protojson.MarshalOptions{}.Marshal(m) 416 } 417 418 func (m *AlertingPolicy_Spec) UnmarshalJSON(data []byte) error { 419 return protojson.Unmarshal(data, m) 420 } 421 422 func (m *AlertingPolicy_Spec) GetEnabled() bool { 423 if m != nil { 424 return m.Enabled 425 } 426 return false 427 } 428 429 func (m *AlertingPolicy_Spec) GetConditionCombiner() AlertingPolicy_Spec_ConditionsCombiner { 430 if m != nil { 431 return m.ConditionCombiner 432 } 433 return AlertingPolicy_Spec_OR 434 } 435 436 func (m *AlertingPolicy_Spec) GetNotification() *AlertingPolicy_Spec_Notification { 437 if m != nil { 438 return m.Notification 439 } 440 return nil 441 } 442 443 func (m *AlertingPolicy_Spec) SetEnabled(fv bool) { 444 if m == nil { 445 panic(fmt.Errorf("can't set %s on nil %s", "Enabled", "AlertingPolicy_Spec")) 446 } 447 m.Enabled = fv 448 } 449 450 func (m *AlertingPolicy_Spec) SetConditionCombiner(fv AlertingPolicy_Spec_ConditionsCombiner) { 451 if m == nil { 452 panic(fmt.Errorf("can't set %s on nil %s", "ConditionCombiner", "AlertingPolicy_Spec")) 453 } 454 m.ConditionCombiner = fv 455 } 456 457 func (m *AlertingPolicy_Spec) SetNotification(fv *AlertingPolicy_Spec_Notification) { 458 if m == nil { 459 panic(fmt.Errorf("can't set %s on nil %s", "Notification", "AlertingPolicy_Spec")) 460 } 461 m.Notification = fv 462 } 463 464 type AlertingPolicy_State struct { 465 state protoimpl.MessageState 466 sizeCache protoimpl.SizeCache 467 unknownFields protoimpl.UnknownFields 468 // Number of ongoing alerts (incident has not ended) 469 ActiveAlertsCount int64 `protobuf:"varint,1,opt,name=active_alerts_count,json=activeAlertsCount,proto3" json:"active_alerts_count,omitempty"` 470 } 471 472 func (m *AlertingPolicy_State) Reset() { 473 *m = AlertingPolicy_State{} 474 if protoimpl.UnsafeEnabled { 475 mi := &edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[3] 476 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 477 ms.StoreMessageInfo(mi) 478 } 479 } 480 481 func (m *AlertingPolicy_State) String() string { 482 return protoimpl.X.MessageStringOf(m) 483 } 484 485 func (*AlertingPolicy_State) ProtoMessage() {} 486 487 func (m *AlertingPolicy_State) ProtoReflect() preflect.Message { 488 mi := &edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[3] 489 if protoimpl.UnsafeEnabled && m != nil { 490 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 491 if ms.LoadMessageInfo() == nil { 492 ms.StoreMessageInfo(mi) 493 } 494 return ms 495 } 496 return mi.MessageOf(m) 497 } 498 499 func (*AlertingPolicy_State) GotenMessage() {} 500 501 // Deprecated, Use AlertingPolicy_State.ProtoReflect.Descriptor instead. 502 func (*AlertingPolicy_State) Descriptor() ([]byte, []int) { 503 return edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescGZIP(), []int{0, 2} 504 } 505 506 func (m *AlertingPolicy_State) Unmarshal(b []byte) error { 507 return proto.Unmarshal(b, m) 508 } 509 510 func (m *AlertingPolicy_State) Marshal() ([]byte, error) { 511 return proto.Marshal(m) 512 } 513 514 func (m *AlertingPolicy_State) MarshalJSON() ([]byte, error) { 515 return protojson.MarshalOptions{}.Marshal(m) 516 } 517 518 func (m *AlertingPolicy_State) UnmarshalJSON(data []byte) error { 519 return protojson.Unmarshal(data, m) 520 } 521 522 func (m *AlertingPolicy_State) GetActiveAlertsCount() int64 { 523 if m != nil { 524 return m.ActiveAlertsCount 525 } 526 return int64(0) 527 } 528 529 func (m *AlertingPolicy_State) SetActiveAlertsCount(fv int64) { 530 if m == nil { 531 panic(fmt.Errorf("can't set %s on nil %s", "ActiveAlertsCount", "AlertingPolicy_State")) 532 } 533 m.ActiveAlertsCount = fv 534 } 535 536 // Notification specification for a given Policy 537 type AlertingPolicy_Spec_Notification struct { 538 state protoimpl.MessageState 539 sizeCache protoimpl.SizeCache 540 unknownFields protoimpl.UnknownFields 541 // Enabled flag determines whether any notifications will be sent 542 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 543 Channels []*notification_channel.Reference `protobuf:"bytes,3,rep,customtype=Reference,name=channels,proto3" json:"channels,omitempty"` 544 } 545 546 func (m *AlertingPolicy_Spec_Notification) Reset() { 547 *m = AlertingPolicy_Spec_Notification{} 548 if protoimpl.UnsafeEnabled { 549 mi := &edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[4] 550 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 551 ms.StoreMessageInfo(mi) 552 } 553 } 554 555 func (m *AlertingPolicy_Spec_Notification) String() string { 556 return protoimpl.X.MessageStringOf(m) 557 } 558 559 func (*AlertingPolicy_Spec_Notification) ProtoMessage() {} 560 561 func (m *AlertingPolicy_Spec_Notification) ProtoReflect() preflect.Message { 562 mi := &edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[4] 563 if protoimpl.UnsafeEnabled && m != nil { 564 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 565 if ms.LoadMessageInfo() == nil { 566 ms.StoreMessageInfo(mi) 567 } 568 return ms 569 } 570 return mi.MessageOf(m) 571 } 572 573 func (*AlertingPolicy_Spec_Notification) GotenMessage() {} 574 575 // Deprecated, Use AlertingPolicy_Spec_Notification.ProtoReflect.Descriptor instead. 576 func (*AlertingPolicy_Spec_Notification) Descriptor() ([]byte, []int) { 577 return edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescGZIP(), []int{0, 1, 0} 578 } 579 580 func (m *AlertingPolicy_Spec_Notification) Unmarshal(b []byte) error { 581 return proto.Unmarshal(b, m) 582 } 583 584 func (m *AlertingPolicy_Spec_Notification) Marshal() ([]byte, error) { 585 return proto.Marshal(m) 586 } 587 588 func (m *AlertingPolicy_Spec_Notification) MarshalJSON() ([]byte, error) { 589 return protojson.MarshalOptions{}.Marshal(m) 590 } 591 592 func (m *AlertingPolicy_Spec_Notification) UnmarshalJSON(data []byte) error { 593 return protojson.Unmarshal(data, m) 594 } 595 596 func (m *AlertingPolicy_Spec_Notification) GetEnabled() bool { 597 if m != nil { 598 return m.Enabled 599 } 600 return false 601 } 602 603 func (m *AlertingPolicy_Spec_Notification) GetChannels() []*notification_channel.Reference { 604 if m != nil { 605 return m.Channels 606 } 607 return nil 608 } 609 610 func (m *AlertingPolicy_Spec_Notification) SetEnabled(fv bool) { 611 if m == nil { 612 panic(fmt.Errorf("can't set %s on nil %s", "Enabled", "AlertingPolicy_Spec_Notification")) 613 } 614 m.Enabled = fv 615 } 616 617 func (m *AlertingPolicy_Spec_Notification) SetChannels(fv []*notification_channel.Reference) { 618 if m == nil { 619 panic(fmt.Errorf("can't set %s on nil %s", "Channels", "AlertingPolicy_Spec_Notification")) 620 } 621 m.Channels = fv 622 } 623 624 var edgelq_monitoring_proto_v3_alerting_policy_proto preflect.FileDescriptor 625 626 var edgelq_monitoring_proto_v3_alerting_policy_proto_rawDesc = []byte{ 627 0x0a, 0x30, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 628 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x65, 629 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 630 0x74, 0x6f, 0x12, 0x11, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 631 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 632 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 633 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 634 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 635 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 636 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 637 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 638 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 639 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 640 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 641 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 642 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 643 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 644 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 645 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 646 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 647 0x6f, 0x22, 0x8f, 0x0c, 0x0a, 0x0e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 648 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 649 0x28, 0x09, 0x42, 0x16, 0xb2, 0xda, 0x21, 0x12, 0x0a, 0x10, 0x0a, 0x0e, 0x41, 0x6c, 0x65, 0x72, 650 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 651 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 652 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 653 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 654 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 655 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 656 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 657 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 658 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 659 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6e, 0x74, 660 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 661 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 662 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x64, 0x6f, 663 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x04, 0x73, 664 0x70, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 665 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 666 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x70, 0x65, 667 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 668 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 669 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 670 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 671 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x5d, 0x0a, 0x0d, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 672 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 673 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 674 0x74, 0x12, 0x32, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 675 0x20, 0x01, 0x28, 0x09, 0x42, 0x15, 0xca, 0xc6, 0x27, 0x11, 0x2a, 0x0f, 0x5a, 0x0d, 0x74, 0x65, 676 0x78, 0x74, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x08, 0x6d, 0x69, 0x6d, 677 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x80, 0x03, 0x0a, 0x04, 0x53, 0x70, 0x65, 0x63, 0x12, 0x18, 678 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 679 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x73, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x64, 680 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 681 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 682 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 683 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 684 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x72, 0x42, 685 0x09, 0xca, 0xc6, 0x27, 0x05, 0x3a, 0x03, 0x1a, 0x01, 0x00, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x64, 686 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x57, 0x0a, 687 0x0c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 688 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 689 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 690 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 691 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 692 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x69, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 693 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 694 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 695 0x12, 0x39, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 696 0x28, 0x09, 0x42, 0x1d, 0xb2, 0xda, 0x21, 0x19, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 697 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x10, 698 0x02, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 699 0x03, 0x22, 0x25, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 700 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x52, 0x10, 0x00, 0x12, 701 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x44, 0x10, 0x01, 0x1a, 0x37, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 702 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x6c, 0x65, 0x72, 703 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 704 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 705 0x74, 0x3a, 0xef, 0x04, 0xea, 0x41, 0x6e, 0x0a, 0x24, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 706 0x69, 0x6e, 0x67, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 707 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x46, 0x70, 708 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 709 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 710 0x6e, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 711 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 712 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x92, 0xd9, 0x21, 0x92, 0x01, 0x0a, 0x10, 0x61, 0x6c, 0x65, 0x72, 713 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x10, 0x61, 0x6c, 714 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x1a, 0x07, 715 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x18, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x61, 716 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 717 0x6e, 0x38, 0x05, 0x42, 0x47, 0x08, 0x02, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 718 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 719 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x4e, 720 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x65, 0x6e, 0x61, 0x62, 721 0x6c, 0x65, 0x64, 0x12, 0x07, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0xaa, 0xd9, 0x21, 0x74, 722 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 723 0x6e, 0x61, 0x6d, 0x65, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 724 0x6e, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x73, 725 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 726 0x73, 0x0a, 0x15, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 727 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x65, 728 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 729 0x6e, 0x61, 0x6d, 0x65, 0xb2, 0xdf, 0x21, 0x93, 0x01, 0x0a, 0x90, 0x01, 0x0a, 0x8d, 0x01, 0x0a, 730 0x0d, 0x62, 0x79, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0c, 731 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x2f, 0x70, 0x72, 732 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 733 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 734 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2d, 0x1a, 0x36, 0x70, 735 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 736 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 737 0x6e, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 738 0x69, 0x65, 0x73, 0x2f, 0x2d, 0x2a, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0xda, 0x94, 0x23, 0x08, 739 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xc2, 0x85, 0x2c, 0x47, 0x22, 0x04, 0x6e, 0x61, 740 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 741 0x22, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x04, 0x73, 742 0x70, 0x65, 0x63, 0x2a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 743 0x64, 0x61, 0x74, 0x61, 0x42, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 744 0x69, 0x6f, 0x6e, 0x42, 0xc3, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x57, 0x0a, 745 0x15, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 746 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 747 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 748 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x74, 749 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 750 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0xa2, 0x80, 0xd1, 0x02, 0x59, 0x0a, 0x16, 0x61, 0x6c, 0x65, 751 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x61, 0x63, 0x63, 752 0x65, 0x73, 0x73, 0x12, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 753 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 754 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 755 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 756 0x6c, 0x69, 0x63, 0x79, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 757 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x33, 0x42, 0x13, 758 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 759 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 760 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 761 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x73, 762 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 763 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 764 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 765 0x33, 766 } 767 768 var ( 769 edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescOnce sync.Once 770 edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescData = edgelq_monitoring_proto_v3_alerting_policy_proto_rawDesc 771 ) 772 773 func edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescGZIP() []byte { 774 edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescOnce.Do(func() { 775 edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescData) 776 }) 777 return edgelq_monitoring_proto_v3_alerting_policy_proto_rawDescData 778 } 779 780 var edgelq_monitoring_proto_v3_alerting_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 781 var edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 782 var edgelq_monitoring_proto_v3_alerting_policy_proto_goTypes = []interface{}{ 783 (AlertingPolicy_Spec_ConditionsCombiner)(0), // 0: ntt.monitoring.v3.AlertingPolicy_Spec_ConditionsCombiner 784 (*AlertingPolicy)(nil), // 1: ntt.monitoring.v3.AlertingPolicy 785 (*AlertingPolicy_Documentation)(nil), // 2: ntt.monitoring.v3.AlertingPolicy.Documentation 786 (*AlertingPolicy_Spec)(nil), // 3: ntt.monitoring.v3.AlertingPolicy.Spec 787 (*AlertingPolicy_State)(nil), // 4: ntt.monitoring.v3.AlertingPolicy.State 788 (*AlertingPolicy_Spec_Notification)(nil), // 5: ntt.monitoring.v3.AlertingPolicy.Spec.Notification 789 (*meta.Meta)(nil), // 6: goten.types.Meta 790 } 791 var edgelq_monitoring_proto_v3_alerting_policy_proto_depIdxs = []int32{ 792 6, // 0: ntt.monitoring.v3.AlertingPolicy.metadata:type_name -> goten.types.Meta 793 2, // 1: ntt.monitoring.v3.AlertingPolicy.documentation:type_name -> ntt.monitoring.v3.AlertingPolicy.Documentation 794 3, // 2: ntt.monitoring.v3.AlertingPolicy.spec:type_name -> ntt.monitoring.v3.AlertingPolicy.Spec 795 4, // 3: ntt.monitoring.v3.AlertingPolicy.state:type_name -> ntt.monitoring.v3.AlertingPolicy.State 796 0, // 4: ntt.monitoring.v3.AlertingPolicy.Spec.condition_combiner:type_name -> ntt.monitoring.v3.AlertingPolicy_Spec_ConditionsCombiner 797 5, // 5: ntt.monitoring.v3.AlertingPolicy.Spec.notification:type_name -> ntt.monitoring.v3.AlertingPolicy.Spec.Notification 798 6, // [6:6] is the sub-list for method output_type 799 6, // [6:6] is the sub-list for method input_type 800 6, // [6:6] is the sub-list for extension type_name 801 6, // [6:6] is the sub-list for extension extendee 802 0, // [0:6] is the sub-list for field type_name 803 } 804 805 func init() { edgelq_monitoring_proto_v3_alerting_policy_proto_init() } 806 func edgelq_monitoring_proto_v3_alerting_policy_proto_init() { 807 if edgelq_monitoring_proto_v3_alerting_policy_proto != nil { 808 return 809 } 810 if !protoimpl.UnsafeEnabled { 811 812 edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 813 switch v := v.(*AlertingPolicy); i { 814 case 0: 815 return &v.state 816 case 1: 817 return &v.sizeCache 818 case 2: 819 return &v.unknownFields 820 default: 821 return nil 822 } 823 } 824 edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 825 switch v := v.(*AlertingPolicy_Documentation); i { 826 case 0: 827 return &v.state 828 case 1: 829 return &v.sizeCache 830 case 2: 831 return &v.unknownFields 832 default: 833 return nil 834 } 835 } 836 edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 837 switch v := v.(*AlertingPolicy_Spec); i { 838 case 0: 839 return &v.state 840 case 1: 841 return &v.sizeCache 842 case 2: 843 return &v.unknownFields 844 default: 845 return nil 846 } 847 } 848 edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 849 switch v := v.(*AlertingPolicy_State); i { 850 case 0: 851 return &v.state 852 case 1: 853 return &v.sizeCache 854 case 2: 855 return &v.unknownFields 856 default: 857 return nil 858 } 859 } 860 edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 861 switch v := v.(*AlertingPolicy_Spec_Notification); i { 862 case 0: 863 return &v.state 864 case 1: 865 return &v.sizeCache 866 case 2: 867 return &v.unknownFields 868 default: 869 return nil 870 } 871 } 872 } 873 874 type x struct{} 875 out := protoimpl.TypeBuilder{ 876 File: protoimpl.DescBuilder{ 877 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 878 RawDescriptor: edgelq_monitoring_proto_v3_alerting_policy_proto_rawDesc, 879 NumEnums: 1, 880 NumMessages: 5, 881 NumExtensions: 0, 882 NumServices: 0, 883 }, 884 GoTypes: edgelq_monitoring_proto_v3_alerting_policy_proto_goTypes, 885 DependencyIndexes: edgelq_monitoring_proto_v3_alerting_policy_proto_depIdxs, 886 EnumInfos: edgelq_monitoring_proto_v3_alerting_policy_proto_enumTypes, 887 MessageInfos: edgelq_monitoring_proto_v3_alerting_policy_proto_msgTypes, 888 }.Build() 889 edgelq_monitoring_proto_v3_alerting_policy_proto = out.File 890 edgelq_monitoring_proto_v3_alerting_policy_proto_rawDesc = nil 891 edgelq_monitoring_proto_v3_alerting_policy_proto_goTypes = nil 892 edgelq_monitoring_proto_v3_alerting_policy_proto_depIdxs = nil 893 }