github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v3/alert/alert.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/monitoring/proto/v3/alert.proto 3 // DO NOT EDIT!!! 4 5 package alert 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 alerting_condition "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/alerting_condition" 21 common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/common" 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 _ = &alerting_condition.AlertingCondition{} 40 _ = &common.LabelDescriptor{} 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 // Alert Resource 52 type Alert struct { 53 state protoimpl.MessageState 54 sizeCache protoimpl.SizeCache 55 unknownFields protoimpl.UnknownFields 56 // Name of Alert 57 // When creating a new instance, this field is optional and if not provided, 58 // it will be generated automatically. Last ID segment must conform to the 59 // following regex: [a-zA-Z0-9_.:-]{1,128} 60 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 61 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 62 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 63 Info *Alert_Info `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` 64 // State of alert 65 State *Alert_State `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` 66 } 67 68 func (m *Alert) Reset() { 69 *m = Alert{} 70 if protoimpl.UnsafeEnabled { 71 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[0] 72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 73 ms.StoreMessageInfo(mi) 74 } 75 } 76 77 func (m *Alert) String() string { 78 return protoimpl.X.MessageStringOf(m) 79 } 80 81 func (*Alert) ProtoMessage() {} 82 83 func (m *Alert) ProtoReflect() preflect.Message { 84 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[0] 85 if protoimpl.UnsafeEnabled && m != nil { 86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 87 if ms.LoadMessageInfo() == nil { 88 ms.StoreMessageInfo(mi) 89 } 90 return ms 91 } 92 return mi.MessageOf(m) 93 } 94 95 func (*Alert) GotenMessage() {} 96 97 // Deprecated, Use Alert.ProtoReflect.Descriptor instead. 98 func (*Alert) Descriptor() ([]byte, []int) { 99 return edgelq_monitoring_proto_v3_alert_proto_rawDescGZIP(), []int{0} 100 } 101 102 func (m *Alert) Unmarshal(b []byte) error { 103 return proto.Unmarshal(b, m) 104 } 105 106 func (m *Alert) Marshal() ([]byte, error) { 107 return proto.Marshal(m) 108 } 109 110 func (m *Alert) MarshalJSON() ([]byte, error) { 111 return protojson.MarshalOptions{}.Marshal(m) 112 } 113 114 func (m *Alert) UnmarshalJSON(data []byte) error { 115 return protojson.Unmarshal(data, m) 116 } 117 118 func (m *Alert) GetName() *Name { 119 if m != nil { 120 return m.Name 121 } 122 return nil 123 } 124 125 func (m *Alert) GetMetadata() *meta.Meta { 126 if m != nil { 127 return m.Metadata 128 } 129 return nil 130 } 131 132 func (m *Alert) GetDisplayName() string { 133 if m != nil { 134 return m.DisplayName 135 } 136 return "" 137 } 138 139 func (m *Alert) GetInfo() *Alert_Info { 140 if m != nil { 141 return m.Info 142 } 143 return nil 144 } 145 146 func (m *Alert) GetState() *Alert_State { 147 if m != nil { 148 return m.State 149 } 150 return nil 151 } 152 153 func (m *Alert) SetName(fv *Name) { 154 if m == nil { 155 panic(fmt.Errorf("can't set %s on nil %s", "Name", "Alert")) 156 } 157 m.Name = fv 158 } 159 160 func (m *Alert) SetMetadata(fv *meta.Meta) { 161 if m == nil { 162 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "Alert")) 163 } 164 m.Metadata = fv 165 } 166 167 func (m *Alert) SetDisplayName(fv string) { 168 if m == nil { 169 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "Alert")) 170 } 171 m.DisplayName = fv 172 } 173 174 func (m *Alert) SetInfo(fv *Alert_Info) { 175 if m == nil { 176 panic(fmt.Errorf("can't set %s on nil %s", "Info", "Alert")) 177 } 178 m.Info = fv 179 } 180 181 func (m *Alert) SetState(fv *Alert_State) { 182 if m == nil { 183 panic(fmt.Errorf("can't set %s on nil %s", "State", "Alert")) 184 } 185 m.State = fv 186 } 187 188 type Alert_Info struct { 189 state protoimpl.MessageState 190 sizeCache protoimpl.SizeCache 191 unknownFields protoimpl.UnknownFields 192 // TimeSerie labels that violated condition 193 TimeSerie *Alert_Info_TimeSerie `protobuf:"bytes,1,opt,name=time_serie,json=timeSerie,proto3" json:"time_serie,omitempty"` 194 // observed time series values during alert creation 195 ObservedValues *Alert_Info_ObservedValues `protobuf:"bytes,2,opt,name=observed_values,json=observedValues,proto3" json:"observed_values,omitempty"` 196 } 197 198 func (m *Alert_Info) Reset() { 199 *m = Alert_Info{} 200 if protoimpl.UnsafeEnabled { 201 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[1] 202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 203 ms.StoreMessageInfo(mi) 204 } 205 } 206 207 func (m *Alert_Info) String() string { 208 return protoimpl.X.MessageStringOf(m) 209 } 210 211 func (*Alert_Info) ProtoMessage() {} 212 213 func (m *Alert_Info) ProtoReflect() preflect.Message { 214 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[1] 215 if protoimpl.UnsafeEnabled && m != nil { 216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 217 if ms.LoadMessageInfo() == nil { 218 ms.StoreMessageInfo(mi) 219 } 220 return ms 221 } 222 return mi.MessageOf(m) 223 } 224 225 func (*Alert_Info) GotenMessage() {} 226 227 // Deprecated, Use Alert_Info.ProtoReflect.Descriptor instead. 228 func (*Alert_Info) Descriptor() ([]byte, []int) { 229 return edgelq_monitoring_proto_v3_alert_proto_rawDescGZIP(), []int{0, 0} 230 } 231 232 func (m *Alert_Info) Unmarshal(b []byte) error { 233 return proto.Unmarshal(b, m) 234 } 235 236 func (m *Alert_Info) Marshal() ([]byte, error) { 237 return proto.Marshal(m) 238 } 239 240 func (m *Alert_Info) MarshalJSON() ([]byte, error) { 241 return protojson.MarshalOptions{}.Marshal(m) 242 } 243 244 func (m *Alert_Info) UnmarshalJSON(data []byte) error { 245 return protojson.Unmarshal(data, m) 246 } 247 248 func (m *Alert_Info) GetTimeSerie() *Alert_Info_TimeSerie { 249 if m != nil { 250 return m.TimeSerie 251 } 252 return nil 253 } 254 255 func (m *Alert_Info) GetObservedValues() *Alert_Info_ObservedValues { 256 if m != nil { 257 return m.ObservedValues 258 } 259 return nil 260 } 261 262 func (m *Alert_Info) SetTimeSerie(fv *Alert_Info_TimeSerie) { 263 if m == nil { 264 panic(fmt.Errorf("can't set %s on nil %s", "TimeSerie", "Alert_Info")) 265 } 266 m.TimeSerie = fv 267 } 268 269 func (m *Alert_Info) SetObservedValues(fv *Alert_Info_ObservedValues) { 270 if m == nil { 271 panic(fmt.Errorf("can't set %s on nil %s", "ObservedValues", "Alert_Info")) 272 } 273 m.ObservedValues = fv 274 } 275 276 type Alert_State struct { 277 state protoimpl.MessageState 278 sizeCache protoimpl.SizeCache 279 unknownFields protoimpl.UnknownFields 280 IsFiring bool `protobuf:"varint,2,opt,name=is_firing,json=isFiring,proto3" json:"is_firing,omitempty"` 281 IsAcknowledged bool `protobuf:"varint,3,opt,name=is_acknowledged,json=isAcknowledged,proto3" json:"is_acknowledged,omitempty"` 282 IsSilenced bool `protobuf:"varint,4,opt,name=is_silenced,json=isSilenced,proto3" json:"is_silenced,omitempty"` 283 // describes in terms of time series when alert began and ended (resolved). 284 // uses Time Series derived timestamps, rather than real-time. 285 // use meta.create_time to get creation date. 286 Lifetime *common.TimeRange `protobuf:"bytes,7,opt,name=lifetime,proto3" json:"lifetime,omitempty"` 287 // This alert needs to be notified 288 NeedsNotification bool `protobuf:"varint,8,opt,name=needs_notification,json=needsNotification,proto3" json:"needs_notification,omitempty"` 289 // Notification resource is generated for this alert 290 NotificationCreated bool `protobuf:"varint,9,opt,name=notification_created,json=notificationCreated,proto3" json:"notification_created,omitempty"` 291 // Alert has ended and any needed notifications are processed 292 LifecycleCompleted bool `protobuf:"varint,10,opt,name=lifecycle_completed,json=lifecycleCompleted,proto3" json:"lifecycle_completed,omitempty"` 293 } 294 295 func (m *Alert_State) Reset() { 296 *m = Alert_State{} 297 if protoimpl.UnsafeEnabled { 298 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[2] 299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 300 ms.StoreMessageInfo(mi) 301 } 302 } 303 304 func (m *Alert_State) String() string { 305 return protoimpl.X.MessageStringOf(m) 306 } 307 308 func (*Alert_State) ProtoMessage() {} 309 310 func (m *Alert_State) ProtoReflect() preflect.Message { 311 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[2] 312 if protoimpl.UnsafeEnabled && m != nil { 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 314 if ms.LoadMessageInfo() == nil { 315 ms.StoreMessageInfo(mi) 316 } 317 return ms 318 } 319 return mi.MessageOf(m) 320 } 321 322 func (*Alert_State) GotenMessage() {} 323 324 // Deprecated, Use Alert_State.ProtoReflect.Descriptor instead. 325 func (*Alert_State) Descriptor() ([]byte, []int) { 326 return edgelq_monitoring_proto_v3_alert_proto_rawDescGZIP(), []int{0, 1} 327 } 328 329 func (m *Alert_State) Unmarshal(b []byte) error { 330 return proto.Unmarshal(b, m) 331 } 332 333 func (m *Alert_State) Marshal() ([]byte, error) { 334 return proto.Marshal(m) 335 } 336 337 func (m *Alert_State) MarshalJSON() ([]byte, error) { 338 return protojson.MarshalOptions{}.Marshal(m) 339 } 340 341 func (m *Alert_State) UnmarshalJSON(data []byte) error { 342 return protojson.Unmarshal(data, m) 343 } 344 345 func (m *Alert_State) GetIsFiring() bool { 346 if m != nil { 347 return m.IsFiring 348 } 349 return false 350 } 351 352 func (m *Alert_State) GetIsAcknowledged() bool { 353 if m != nil { 354 return m.IsAcknowledged 355 } 356 return false 357 } 358 359 func (m *Alert_State) GetIsSilenced() bool { 360 if m != nil { 361 return m.IsSilenced 362 } 363 return false 364 } 365 366 func (m *Alert_State) GetLifetime() *common.TimeRange { 367 if m != nil { 368 return m.Lifetime 369 } 370 return nil 371 } 372 373 func (m *Alert_State) GetNeedsNotification() bool { 374 if m != nil { 375 return m.NeedsNotification 376 } 377 return false 378 } 379 380 func (m *Alert_State) GetNotificationCreated() bool { 381 if m != nil { 382 return m.NotificationCreated 383 } 384 return false 385 } 386 387 func (m *Alert_State) GetLifecycleCompleted() bool { 388 if m != nil { 389 return m.LifecycleCompleted 390 } 391 return false 392 } 393 394 func (m *Alert_State) SetIsFiring(fv bool) { 395 if m == nil { 396 panic(fmt.Errorf("can't set %s on nil %s", "IsFiring", "Alert_State")) 397 } 398 m.IsFiring = fv 399 } 400 401 func (m *Alert_State) SetIsAcknowledged(fv bool) { 402 if m == nil { 403 panic(fmt.Errorf("can't set %s on nil %s", "IsAcknowledged", "Alert_State")) 404 } 405 m.IsAcknowledged = fv 406 } 407 408 func (m *Alert_State) SetIsSilenced(fv bool) { 409 if m == nil { 410 panic(fmt.Errorf("can't set %s on nil %s", "IsSilenced", "Alert_State")) 411 } 412 m.IsSilenced = fv 413 } 414 415 func (m *Alert_State) SetLifetime(fv *common.TimeRange) { 416 if m == nil { 417 panic(fmt.Errorf("can't set %s on nil %s", "Lifetime", "Alert_State")) 418 } 419 m.Lifetime = fv 420 } 421 422 func (m *Alert_State) SetNeedsNotification(fv bool) { 423 if m == nil { 424 panic(fmt.Errorf("can't set %s on nil %s", "NeedsNotification", "Alert_State")) 425 } 426 m.NeedsNotification = fv 427 } 428 429 func (m *Alert_State) SetNotificationCreated(fv bool) { 430 if m == nil { 431 panic(fmt.Errorf("can't set %s on nil %s", "NotificationCreated", "Alert_State")) 432 } 433 m.NotificationCreated = fv 434 } 435 436 func (m *Alert_State) SetLifecycleCompleted(fv bool) { 437 if m == nil { 438 panic(fmt.Errorf("can't set %s on nil %s", "LifecycleCompleted", "Alert_State")) 439 } 440 m.LifecycleCompleted = fv 441 } 442 443 type Alert_Info_TimeSerie struct { 444 state protoimpl.MessageState 445 sizeCache protoimpl.SizeCache 446 unknownFields protoimpl.UnknownFields 447 Key []byte `protobuf:"bytes,101,opt,name=key,proto3" json:"key,omitempty"` 448 Metric *common.Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` 449 MonitoredResource *common.MonitoredResource `protobuf:"bytes,2,opt,name=monitored_resource,json=monitoredResource,proto3" json:"monitored_resource,omitempty"` 450 } 451 452 func (m *Alert_Info_TimeSerie) Reset() { 453 *m = Alert_Info_TimeSerie{} 454 if protoimpl.UnsafeEnabled { 455 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[3] 456 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 457 ms.StoreMessageInfo(mi) 458 } 459 } 460 461 func (m *Alert_Info_TimeSerie) String() string { 462 return protoimpl.X.MessageStringOf(m) 463 } 464 465 func (*Alert_Info_TimeSerie) ProtoMessage() {} 466 467 func (m *Alert_Info_TimeSerie) ProtoReflect() preflect.Message { 468 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[3] 469 if protoimpl.UnsafeEnabled && m != nil { 470 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 471 if ms.LoadMessageInfo() == nil { 472 ms.StoreMessageInfo(mi) 473 } 474 return ms 475 } 476 return mi.MessageOf(m) 477 } 478 479 func (*Alert_Info_TimeSerie) GotenMessage() {} 480 481 // Deprecated, Use Alert_Info_TimeSerie.ProtoReflect.Descriptor instead. 482 func (*Alert_Info_TimeSerie) Descriptor() ([]byte, []int) { 483 return edgelq_monitoring_proto_v3_alert_proto_rawDescGZIP(), []int{0, 0, 0} 484 } 485 486 func (m *Alert_Info_TimeSerie) Unmarshal(b []byte) error { 487 return proto.Unmarshal(b, m) 488 } 489 490 func (m *Alert_Info_TimeSerie) Marshal() ([]byte, error) { 491 return proto.Marshal(m) 492 } 493 494 func (m *Alert_Info_TimeSerie) MarshalJSON() ([]byte, error) { 495 return protojson.MarshalOptions{}.Marshal(m) 496 } 497 498 func (m *Alert_Info_TimeSerie) UnmarshalJSON(data []byte) error { 499 return protojson.Unmarshal(data, m) 500 } 501 502 func (m *Alert_Info_TimeSerie) GetKey() []byte { 503 if m != nil { 504 return m.Key 505 } 506 return nil 507 } 508 509 func (m *Alert_Info_TimeSerie) GetMetric() *common.Metric { 510 if m != nil { 511 return m.Metric 512 } 513 return nil 514 } 515 516 func (m *Alert_Info_TimeSerie) GetMonitoredResource() *common.MonitoredResource { 517 if m != nil { 518 return m.MonitoredResource 519 } 520 return nil 521 } 522 523 func (m *Alert_Info_TimeSerie) SetKey(fv []byte) { 524 if m == nil { 525 panic(fmt.Errorf("can't set %s on nil %s", "Key", "Alert_Info_TimeSerie")) 526 } 527 m.Key = fv 528 } 529 530 func (m *Alert_Info_TimeSerie) SetMetric(fv *common.Metric) { 531 if m == nil { 532 panic(fmt.Errorf("can't set %s on nil %s", "Metric", "Alert_Info_TimeSerie")) 533 } 534 m.Metric = fv 535 } 536 537 func (m *Alert_Info_TimeSerie) SetMonitoredResource(fv *common.MonitoredResource) { 538 if m == nil { 539 panic(fmt.Errorf("can't set %s on nil %s", "MonitoredResource", "Alert_Info_TimeSerie")) 540 } 541 m.MonitoredResource = fv 542 } 543 544 type Alert_Info_ObservedValues struct { 545 state protoimpl.MessageState 546 sizeCache protoimpl.SizeCache 547 unknownFields protoimpl.UnknownFields 548 // oneof 549 ExampleValue float64 `protobuf:"fixed64,1,opt,name=example_value,json=exampleValue,proto3" json:"example_value,omitempty"` 550 PerMetric map[string]float64 `protobuf:"bytes,2,rep,name=per_metric,json=perMetric,proto3" json:"per_metric,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` 551 } 552 553 func (m *Alert_Info_ObservedValues) Reset() { 554 *m = Alert_Info_ObservedValues{} 555 if protoimpl.UnsafeEnabled { 556 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[4] 557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 558 ms.StoreMessageInfo(mi) 559 } 560 } 561 562 func (m *Alert_Info_ObservedValues) String() string { 563 return protoimpl.X.MessageStringOf(m) 564 } 565 566 func (*Alert_Info_ObservedValues) ProtoMessage() {} 567 568 func (m *Alert_Info_ObservedValues) ProtoReflect() preflect.Message { 569 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[4] 570 if protoimpl.UnsafeEnabled && m != nil { 571 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 572 if ms.LoadMessageInfo() == nil { 573 ms.StoreMessageInfo(mi) 574 } 575 return ms 576 } 577 return mi.MessageOf(m) 578 } 579 580 func (*Alert_Info_ObservedValues) GotenMessage() {} 581 582 // Deprecated, Use Alert_Info_ObservedValues.ProtoReflect.Descriptor instead. 583 func (*Alert_Info_ObservedValues) Descriptor() ([]byte, []int) { 584 return edgelq_monitoring_proto_v3_alert_proto_rawDescGZIP(), []int{0, 0, 1} 585 } 586 587 func (m *Alert_Info_ObservedValues) Unmarshal(b []byte) error { 588 return proto.Unmarshal(b, m) 589 } 590 591 func (m *Alert_Info_ObservedValues) Marshal() ([]byte, error) { 592 return proto.Marshal(m) 593 } 594 595 func (m *Alert_Info_ObservedValues) MarshalJSON() ([]byte, error) { 596 return protojson.MarshalOptions{}.Marshal(m) 597 } 598 599 func (m *Alert_Info_ObservedValues) UnmarshalJSON(data []byte) error { 600 return protojson.Unmarshal(data, m) 601 } 602 603 func (m *Alert_Info_ObservedValues) GetExampleValue() float64 { 604 if m != nil { 605 return m.ExampleValue 606 } 607 return float64(0) 608 } 609 610 func (m *Alert_Info_ObservedValues) GetPerMetric() map[string]float64 { 611 if m != nil { 612 return m.PerMetric 613 } 614 return nil 615 } 616 617 func (m *Alert_Info_ObservedValues) SetExampleValue(fv float64) { 618 if m == nil { 619 panic(fmt.Errorf("can't set %s on nil %s", "ExampleValue", "Alert_Info_ObservedValues")) 620 } 621 m.ExampleValue = fv 622 } 623 624 func (m *Alert_Info_ObservedValues) SetPerMetric(fv map[string]float64) { 625 if m == nil { 626 panic(fmt.Errorf("can't set %s on nil %s", "PerMetric", "Alert_Info_ObservedValues")) 627 } 628 m.PerMetric = fv 629 } 630 631 // oneof: 632 type Alert_State_Threshold struct { 633 state protoimpl.MessageState 634 sizeCache protoimpl.SizeCache 635 unknownFields protoimpl.UnknownFields 636 ObservedValue float64 `protobuf:"fixed64,1,opt,name=observed_value,json=observedValue,proto3" json:"observed_value,omitempty"` 637 } 638 639 func (m *Alert_State_Threshold) Reset() { 640 *m = Alert_State_Threshold{} 641 if protoimpl.UnsafeEnabled { 642 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[6] 643 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 644 ms.StoreMessageInfo(mi) 645 } 646 } 647 648 func (m *Alert_State_Threshold) String() string { 649 return protoimpl.X.MessageStringOf(m) 650 } 651 652 func (*Alert_State_Threshold) ProtoMessage() {} 653 654 func (m *Alert_State_Threshold) ProtoReflect() preflect.Message { 655 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[6] 656 if protoimpl.UnsafeEnabled && m != nil { 657 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 658 if ms.LoadMessageInfo() == nil { 659 ms.StoreMessageInfo(mi) 660 } 661 return ms 662 } 663 return mi.MessageOf(m) 664 } 665 666 func (*Alert_State_Threshold) GotenMessage() {} 667 668 // Deprecated, Use Alert_State_Threshold.ProtoReflect.Descriptor instead. 669 func (*Alert_State_Threshold) Descriptor() ([]byte, []int) { 670 return edgelq_monitoring_proto_v3_alert_proto_rawDescGZIP(), []int{0, 1, 0} 671 } 672 673 func (m *Alert_State_Threshold) Unmarshal(b []byte) error { 674 return proto.Unmarshal(b, m) 675 } 676 677 func (m *Alert_State_Threshold) Marshal() ([]byte, error) { 678 return proto.Marshal(m) 679 } 680 681 func (m *Alert_State_Threshold) MarshalJSON() ([]byte, error) { 682 return protojson.MarshalOptions{}.Marshal(m) 683 } 684 685 func (m *Alert_State_Threshold) UnmarshalJSON(data []byte) error { 686 return protojson.Unmarshal(data, m) 687 } 688 689 func (m *Alert_State_Threshold) GetObservedValue() float64 { 690 if m != nil { 691 return m.ObservedValue 692 } 693 return float64(0) 694 } 695 696 func (m *Alert_State_Threshold) SetObservedValue(fv float64) { 697 if m == nil { 698 panic(fmt.Errorf("can't set %s on nil %s", "ObservedValue", "Alert_State_Threshold")) 699 } 700 m.ObservedValue = fv 701 } 702 703 type Alert_State_CombineThreshold struct { 704 state protoimpl.MessageState 705 sizeCache protoimpl.SizeCache 706 unknownFields protoimpl.UnknownFields 707 } 708 709 func (m *Alert_State_CombineThreshold) Reset() { 710 *m = Alert_State_CombineThreshold{} 711 if protoimpl.UnsafeEnabled { 712 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[7] 713 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 714 ms.StoreMessageInfo(mi) 715 } 716 } 717 718 func (m *Alert_State_CombineThreshold) String() string { 719 return protoimpl.X.MessageStringOf(m) 720 } 721 722 func (*Alert_State_CombineThreshold) ProtoMessage() {} 723 724 func (m *Alert_State_CombineThreshold) ProtoReflect() preflect.Message { 725 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[7] 726 if protoimpl.UnsafeEnabled && m != nil { 727 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 728 if ms.LoadMessageInfo() == nil { 729 ms.StoreMessageInfo(mi) 730 } 731 return ms 732 } 733 return mi.MessageOf(m) 734 } 735 736 func (*Alert_State_CombineThreshold) GotenMessage() {} 737 738 // Deprecated, Use Alert_State_CombineThreshold.ProtoReflect.Descriptor instead. 739 func (*Alert_State_CombineThreshold) Descriptor() ([]byte, []int) { 740 return edgelq_monitoring_proto_v3_alert_proto_rawDescGZIP(), []int{0, 1, 1} 741 } 742 743 func (m *Alert_State_CombineThreshold) Unmarshal(b []byte) error { 744 return proto.Unmarshal(b, m) 745 } 746 747 func (m *Alert_State_CombineThreshold) Marshal() ([]byte, error) { 748 return proto.Marshal(m) 749 } 750 751 func (m *Alert_State_CombineThreshold) MarshalJSON() ([]byte, error) { 752 return protojson.MarshalOptions{}.Marshal(m) 753 } 754 755 func (m *Alert_State_CombineThreshold) UnmarshalJSON(data []byte) error { 756 return protojson.Unmarshal(data, m) 757 } 758 759 type Alert_State_CombineThreshold_PerMetric struct { 760 state protoimpl.MessageState 761 sizeCache protoimpl.SizeCache 762 unknownFields protoimpl.UnknownFields 763 ObservedValues map[string]float64 `protobuf:"bytes,2,rep,name=observed_values,json=observedValues,proto3" json:"observed_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` 764 } 765 766 func (m *Alert_State_CombineThreshold_PerMetric) Reset() { 767 *m = Alert_State_CombineThreshold_PerMetric{} 768 if protoimpl.UnsafeEnabled { 769 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[8] 770 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 771 ms.StoreMessageInfo(mi) 772 } 773 } 774 775 func (m *Alert_State_CombineThreshold_PerMetric) String() string { 776 return protoimpl.X.MessageStringOf(m) 777 } 778 779 func (*Alert_State_CombineThreshold_PerMetric) ProtoMessage() {} 780 781 func (m *Alert_State_CombineThreshold_PerMetric) ProtoReflect() preflect.Message { 782 mi := &edgelq_monitoring_proto_v3_alert_proto_msgTypes[8] 783 if protoimpl.UnsafeEnabled && m != nil { 784 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 785 if ms.LoadMessageInfo() == nil { 786 ms.StoreMessageInfo(mi) 787 } 788 return ms 789 } 790 return mi.MessageOf(m) 791 } 792 793 func (*Alert_State_CombineThreshold_PerMetric) GotenMessage() {} 794 795 // Deprecated, Use Alert_State_CombineThreshold_PerMetric.ProtoReflect.Descriptor instead. 796 func (*Alert_State_CombineThreshold_PerMetric) Descriptor() ([]byte, []int) { 797 return edgelq_monitoring_proto_v3_alert_proto_rawDescGZIP(), []int{0, 1, 1, 0} 798 } 799 800 func (m *Alert_State_CombineThreshold_PerMetric) Unmarshal(b []byte) error { 801 return proto.Unmarshal(b, m) 802 } 803 804 func (m *Alert_State_CombineThreshold_PerMetric) Marshal() ([]byte, error) { 805 return proto.Marshal(m) 806 } 807 808 func (m *Alert_State_CombineThreshold_PerMetric) MarshalJSON() ([]byte, error) { 809 return protojson.MarshalOptions{}.Marshal(m) 810 } 811 812 func (m *Alert_State_CombineThreshold_PerMetric) UnmarshalJSON(data []byte) error { 813 return protojson.Unmarshal(data, m) 814 } 815 816 func (m *Alert_State_CombineThreshold_PerMetric) GetObservedValues() map[string]float64 { 817 if m != nil { 818 return m.ObservedValues 819 } 820 return nil 821 } 822 823 func (m *Alert_State_CombineThreshold_PerMetric) SetObservedValues(fv map[string]float64) { 824 if m == nil { 825 panic(fmt.Errorf("can't set %s on nil %s", "ObservedValues", "Alert_State_CombineThreshold_PerMetric")) 826 } 827 m.ObservedValues = fv 828 } 829 830 var edgelq_monitoring_proto_v3_alert_proto preflect.FileDescriptor 831 832 var edgelq_monitoring_proto_v3_alert_proto_rawDesc = []byte{ 833 0x0a, 0x26, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 834 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x65, 835 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 836 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 837 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 838 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 839 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 840 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 841 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 842 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 843 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 844 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 845 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 846 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 847 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 848 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 849 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 850 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 851 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 852 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 853 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 854 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 855 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 856 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 857 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 858 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 859 0x6f, 0x22, 0xb7, 0x12, 0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x21, 0x0a, 0x04, 0x6e, 860 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0xb2, 0xda, 0x21, 0x09, 0x0a, 861 0x07, 0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 862 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 863 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 864 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 865 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 866 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 867 0x12, 0x31, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 868 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 869 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 870 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 871 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 872 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x53, 0x74, 0x61, 873 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x9f, 0x04, 0x0a, 0x04, 0x49, 0x6e, 874 0x66, 0x6f, 0x12, 0x46, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 875 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 876 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 877 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x52, 878 0x09, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x12, 0x55, 0x0a, 0x0f, 0x6f, 0x62, 879 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 880 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 881 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x49, 0x6e, 882 0x66, 0x6f, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 883 0x73, 0x52, 0x0e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 884 0x73, 0x1a, 0xa5, 0x01, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x12, 885 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 886 0x79, 0x12, 0x31, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 887 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 888 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x06, 0x6d, 0x65, 889 0x74, 0x72, 0x69, 0x63, 0x12, 0x53, 0x0a, 0x12, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 890 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 891 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 892 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 893 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 894 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x1a, 0xcf, 0x01, 0x0a, 0x0e, 0x4f, 0x62, 895 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 896 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 897 0x01, 0x28, 0x01, 0x52, 0x0c, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 898 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 899 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 900 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x2e, 901 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x56, 0x61, 0x6c, 902 0x75, 0x65, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x45, 0x6e, 0x74, 903 0x72, 0x79, 0x52, 0x09, 0x70, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x1a, 0x3c, 0x0a, 904 0x0e, 0x50, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 905 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 906 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 907 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xcd, 0x04, 0x0a, 0x05, 908 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x72, 0x69, 909 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x46, 0x69, 0x72, 0x69, 910 0x6e, 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 911 0x65, 0x64, 0x67, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x41, 912 0x63, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 913 0x73, 0x5f, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 914 0x52, 0x0a, 0x69, 0x73, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x08, 915 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 916 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 917 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, 0x6c, 0x69, 918 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x6e, 0x65, 0x65, 0x64, 0x73, 0x5f, 919 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 920 0x28, 0x08, 0x52, 0x11, 0x6e, 0x65, 0x65, 0x64, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 921 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x14, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 922 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 923 0x01, 0x28, 0x08, 0x52, 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 924 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x6c, 0x69, 0x66, 0x65, 925 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 926 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 927 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x1a, 0x32, 0x0a, 0x09, 0x54, 0x68, 0x72, 928 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 929 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 930 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xdb, 0x01, 931 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 932 0x6c, 0x64, 0x1a, 0xc6, 0x01, 0x0a, 0x09, 0x50, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 933 0x12, 0x76, 0x0a, 0x0f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 934 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 935 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 936 0x65, 0x72, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 937 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x2e, 0x50, 0x65, 0x72, 0x4d, 0x65, 938 0x74, 0x72, 0x69, 0x63, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x56, 0x61, 0x6c, 939 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 940 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x41, 0x0a, 0x13, 0x4f, 0x62, 0x73, 0x65, 941 0x72, 0x76, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 942 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 943 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 944 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0xdd, 0x07, 0xea, 0x41, 945 0x9c, 0x01, 0x0a, 0x1b, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x65, 946 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 947 0x7d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 948 0x63, 0x74, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 949 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 950 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 951 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 952 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 953 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 954 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x7d, 0x92, 0xd9, 955 0x21, 0xd2, 0x02, 0x0a, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x12, 0x06, 0x61, 0x6c, 0x65, 956 0x72, 0x74, 0x73, 0x1a, 0x11, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 957 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x16, 0x5b, 0x61, 0x2d, 0x7a, 0x41, 0x2d, 0x5a, 0x30, 958 0x2d, 0x39, 0x5f, 0x2e, 0x3a, 0x2d, 0x5d, 0x7b, 0x31, 0x2c, 0x31, 0x32, 0x38, 0x7d, 0x38, 0x05, 959 0x42, 0x92, 0x02, 0x08, 0x02, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 960 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 961 0x61, 0x6d, 0x65, 0x12, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x4e, 0x61, 0x6d, 962 0x65, 0x12, 0x2a, 0x0a, 0x1b, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 963 0x65, 0x72, 0x69, 0x65, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x74, 0x79, 0x70, 0x65, 964 0x12, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x20, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 965 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x72, 0x69, 0x6e, 0x67, 966 0x12, 0x09, 0x49, 0x73, 0x20, 0x46, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x0a, 0x15, 0x73, 967 0x74, 0x61, 0x74, 0x65, 0x2e, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 968 0x64, 0x67, 0x65, 0x64, 0x12, 0x0f, 0x49, 0x73, 0x20, 0x41, 0x63, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 969 0x65, 0x64, 0x67, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x69, 970 0x73, 0x5f, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x0b, 0x49, 0x73, 0x20, 0x53, 971 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x19, 0x73, 0x74, 0x61, 0x74, 0x65, 972 0x2e, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 973 0x74, 0x69, 0x6d, 0x65, 0x12, 0x0a, 0x53, 0x74, 0x61, 0x72, 0x74, 0x20, 0x54, 0x69, 0x6d, 0x65, 974 0x12, 0x23, 0x0a, 0x17, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 975 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x08, 0x45, 0x6e, 0x64, 976 0x20, 0x54, 0x69, 0x6d, 0x65, 0xb2, 0xdf, 0x21, 0xa6, 0x03, 0x0a, 0xa3, 0x03, 0x0a, 0xf7, 0x01, 977 0x0a, 0x0b, 0x62, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x73, 978 0x74, 0x61, 0x74, 0x65, 0x2e, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x73, 0x74, 979 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x54, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 980 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 981 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x6c, 982 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2d, 983 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 984 0x6f, 0x6e, 0x73, 0x2f, 0x2d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x2d, 0x1a, 0x77, 985 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 986 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 987 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 988 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 989 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 990 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 991 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 992 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x2d, 0x12, 0x11, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 993 0x2e, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x1b, 0x69, 0x6e, 994 0x66, 0x6f, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x2e, 0x6d, 0x65, 995 0x74, 0x72, 0x69, 0x63, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x27, 0x69, 0x6e, 0x66, 996 0x6f, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x2e, 0x6d, 0x65, 0x74, 997 0x72, 0x69, 0x63, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 998 0x74, 0x5f, 0x69, 0x64, 0x2a, 0x09, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 999 0x3f, 0x0a, 0x32, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 1000 0x69, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 1001 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 1002 0x62, 0x65, 0x5f, 0x69, 0x64, 0x2a, 0x09, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 1003 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xc2, 0x85, 0x2c, 0x2b, 1004 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 1005 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x2a, 0x05, 0x73, 0x74, 0x61, 0x74, 1006 0x65, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0xfe, 0x01, 0xe8, 0xde, 1007 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x43, 0x0a, 0x0b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 1008 0x74, 0x6f, 0x72, 0x65, 0x12, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 1009 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 1010 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 1011 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0xa2, 0x80, 0xd1, 0x02, 0x45, 0x0a, 1012 0x0c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x35, 0x67, 1013 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 1014 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 1015 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x61, 1016 0x6c, 0x65, 0x72, 0x74, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 1017 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x33, 0x42, 0x0a, 1018 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 1019 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 1020 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1021 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x33, 1022 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x3b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x62, 0x06, 0x70, 0x72, 1023 0x6f, 0x74, 0x6f, 0x33, 1024 } 1025 1026 var ( 1027 edgelq_monitoring_proto_v3_alert_proto_rawDescOnce sync.Once 1028 edgelq_monitoring_proto_v3_alert_proto_rawDescData = edgelq_monitoring_proto_v3_alert_proto_rawDesc 1029 ) 1030 1031 func edgelq_monitoring_proto_v3_alert_proto_rawDescGZIP() []byte { 1032 edgelq_monitoring_proto_v3_alert_proto_rawDescOnce.Do(func() { 1033 edgelq_monitoring_proto_v3_alert_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v3_alert_proto_rawDescData) 1034 }) 1035 return edgelq_monitoring_proto_v3_alert_proto_rawDescData 1036 } 1037 1038 var edgelq_monitoring_proto_v3_alert_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 1039 var edgelq_monitoring_proto_v3_alert_proto_goTypes = []interface{}{ 1040 (*Alert)(nil), // 0: ntt.monitoring.v3.Alert 1041 (*Alert_Info)(nil), // 1: ntt.monitoring.v3.Alert.Info 1042 (*Alert_State)(nil), // 2: ntt.monitoring.v3.Alert.State 1043 (*Alert_Info_TimeSerie)(nil), // 3: ntt.monitoring.v3.Alert.Info.TimeSerie 1044 (*Alert_Info_ObservedValues)(nil), // 4: ntt.monitoring.v3.Alert.Info.ObservedValues 1045 nil, // 5: ntt.monitoring.v3.Alert.Info.ObservedValues.PerMetricEntry 1046 (*Alert_State_Threshold)(nil), // 6: ntt.monitoring.v3.Alert.State.Threshold 1047 (*Alert_State_CombineThreshold)(nil), // 7: ntt.monitoring.v3.Alert.State.CombineThreshold 1048 (*Alert_State_CombineThreshold_PerMetric)(nil), // 8: ntt.monitoring.v3.Alert.State.CombineThreshold.PerMetric 1049 nil, // 9: ntt.monitoring.v3.Alert.State.CombineThreshold.PerMetric.ObservedValuesEntry 1050 (*meta.Meta)(nil), // 10: goten.types.Meta 1051 (*common.Metric)(nil), // 11: ntt.monitoring.v3.Metric 1052 (*common.MonitoredResource)(nil), // 12: ntt.monitoring.v3.MonitoredResource 1053 (*common.TimeRange)(nil), // 13: ntt.monitoring.v3.TimeRange 1054 } 1055 var edgelq_monitoring_proto_v3_alert_proto_depIdxs = []int32{ 1056 10, // 0: ntt.monitoring.v3.Alert.metadata:type_name -> goten.types.Meta 1057 1, // 1: ntt.monitoring.v3.Alert.info:type_name -> ntt.monitoring.v3.Alert.Info 1058 2, // 2: ntt.monitoring.v3.Alert.state:type_name -> ntt.monitoring.v3.Alert.State 1059 3, // 3: ntt.monitoring.v3.Alert.Info.time_serie:type_name -> ntt.monitoring.v3.Alert.Info.TimeSerie 1060 4, // 4: ntt.monitoring.v3.Alert.Info.observed_values:type_name -> ntt.monitoring.v3.Alert.Info.ObservedValues 1061 13, // 5: ntt.monitoring.v3.Alert.State.lifetime:type_name -> ntt.monitoring.v3.TimeRange 1062 11, // 6: ntt.monitoring.v3.Alert.Info.TimeSerie.metric:type_name -> ntt.monitoring.v3.Metric 1063 12, // 7: ntt.monitoring.v3.Alert.Info.TimeSerie.monitored_resource:type_name -> ntt.monitoring.v3.MonitoredResource 1064 5, // 8: ntt.monitoring.v3.Alert.Info.ObservedValues.per_metric:type_name -> ntt.monitoring.v3.Alert.Info.ObservedValues.PerMetricEntry 1065 9, // 9: ntt.monitoring.v3.Alert.State.CombineThreshold.PerMetric.observed_values:type_name -> ntt.monitoring.v3.Alert.State.CombineThreshold.PerMetric.ObservedValuesEntry 1066 10, // [10:10] is the sub-list for method output_type 1067 10, // [10:10] is the sub-list for method input_type 1068 10, // [10:10] is the sub-list for extension type_name 1069 10, // [10:10] is the sub-list for extension extendee 1070 0, // [0:10] is the sub-list for field type_name 1071 } 1072 1073 func init() { edgelq_monitoring_proto_v3_alert_proto_init() } 1074 func edgelq_monitoring_proto_v3_alert_proto_init() { 1075 if edgelq_monitoring_proto_v3_alert_proto != nil { 1076 return 1077 } 1078 if !protoimpl.UnsafeEnabled { 1079 1080 edgelq_monitoring_proto_v3_alert_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1081 switch v := v.(*Alert); i { 1082 case 0: 1083 return &v.state 1084 case 1: 1085 return &v.sizeCache 1086 case 2: 1087 return &v.unknownFields 1088 default: 1089 return nil 1090 } 1091 } 1092 edgelq_monitoring_proto_v3_alert_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1093 switch v := v.(*Alert_Info); i { 1094 case 0: 1095 return &v.state 1096 case 1: 1097 return &v.sizeCache 1098 case 2: 1099 return &v.unknownFields 1100 default: 1101 return nil 1102 } 1103 } 1104 edgelq_monitoring_proto_v3_alert_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1105 switch v := v.(*Alert_State); i { 1106 case 0: 1107 return &v.state 1108 case 1: 1109 return &v.sizeCache 1110 case 2: 1111 return &v.unknownFields 1112 default: 1113 return nil 1114 } 1115 } 1116 edgelq_monitoring_proto_v3_alert_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1117 switch v := v.(*Alert_Info_TimeSerie); i { 1118 case 0: 1119 return &v.state 1120 case 1: 1121 return &v.sizeCache 1122 case 2: 1123 return &v.unknownFields 1124 default: 1125 return nil 1126 } 1127 } 1128 edgelq_monitoring_proto_v3_alert_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1129 switch v := v.(*Alert_Info_ObservedValues); i { 1130 case 0: 1131 return &v.state 1132 case 1: 1133 return &v.sizeCache 1134 case 2: 1135 return &v.unknownFields 1136 default: 1137 return nil 1138 } 1139 } 1140 edgelq_monitoring_proto_v3_alert_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1141 switch v := v.(*Alert_State_Threshold); i { 1142 case 0: 1143 return &v.state 1144 case 1: 1145 return &v.sizeCache 1146 case 2: 1147 return &v.unknownFields 1148 default: 1149 return nil 1150 } 1151 } 1152 edgelq_monitoring_proto_v3_alert_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1153 switch v := v.(*Alert_State_CombineThreshold); i { 1154 case 0: 1155 return &v.state 1156 case 1: 1157 return &v.sizeCache 1158 case 2: 1159 return &v.unknownFields 1160 default: 1161 return nil 1162 } 1163 } 1164 edgelq_monitoring_proto_v3_alert_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1165 switch v := v.(*Alert_State_CombineThreshold_PerMetric); i { 1166 case 0: 1167 return &v.state 1168 case 1: 1169 return &v.sizeCache 1170 case 2: 1171 return &v.unknownFields 1172 default: 1173 return nil 1174 } 1175 } 1176 } 1177 1178 type x struct{} 1179 out := protoimpl.TypeBuilder{ 1180 File: protoimpl.DescBuilder{ 1181 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1182 RawDescriptor: edgelq_monitoring_proto_v3_alert_proto_rawDesc, 1183 NumEnums: 0, 1184 NumMessages: 10, 1185 NumExtensions: 0, 1186 NumServices: 0, 1187 }, 1188 GoTypes: edgelq_monitoring_proto_v3_alert_proto_goTypes, 1189 DependencyIndexes: edgelq_monitoring_proto_v3_alert_proto_depIdxs, 1190 MessageInfos: edgelq_monitoring_proto_v3_alert_proto_msgTypes, 1191 }.Build() 1192 edgelq_monitoring_proto_v3_alert_proto = out.File 1193 edgelq_monitoring_proto_v3_alert_proto_rawDesc = nil 1194 edgelq_monitoring_proto_v3_alert_proto_goTypes = nil 1195 edgelq_monitoring_proto_v3_alert_proto_depIdxs = nil 1196 }