github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v4/alerting_condition/alerting_condition.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/monitoring/proto/v4/alerting_condition.proto 3 // DO NOT EDIT!!! 4 5 package alerting_condition 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_policy "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/alerting_policy" 21 common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/common" 22 time_serie "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/time_serie" 23 meta "github.com/cloudwan/goten-sdk/types/meta" 24 durationpb "google.golang.org/protobuf/types/known/durationpb" 25 ) 26 27 // Reference imports to suppress errors if they are not otherwise used. 28 var ( 29 _ = fmt.Errorf 30 _ = reflect.Method{} 31 _ = sync.Once{} 32 33 _ = protojson.MarshalOptions{} 34 _ = proto.MarshalOptions{} 35 _ = preflect.Value{} 36 _ = protoimpl.DescBuilder{} 37 ) 38 39 // make sure we're using proto imports 40 var ( 41 _ = &alerting_policy.AlertingPolicy{} 42 _ = &common.LabelDescriptor{} 43 _ = &time_serie.Point{} 44 _ = &durationpb.Duration{} 45 _ = &meta.Meta{} 46 ) 47 48 const ( 49 // Verify that this generated code is sufficiently up-to-date. 50 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 51 // Verify that runtime/protoimpl is sufficiently up-to-date. 52 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 53 ) 54 55 type AlertingCondition_Spec_TimeSeries_Threshold_Compare int32 56 57 const ( 58 AlertingCondition_Spec_TimeSeries_Threshold_COMPARE_UNSPECIFIED AlertingCondition_Spec_TimeSeries_Threshold_Compare = 0 59 AlertingCondition_Spec_TimeSeries_Threshold_GT AlertingCondition_Spec_TimeSeries_Threshold_Compare = 1 60 AlertingCondition_Spec_TimeSeries_Threshold_LT AlertingCondition_Spec_TimeSeries_Threshold_Compare = 2 61 ) 62 63 var ( 64 AlertingCondition_Spec_TimeSeries_Threshold_Compare_name = map[int32]string{ 65 0: "COMPARE_UNSPECIFIED", 66 1: "GT", 67 2: "LT", 68 } 69 70 AlertingCondition_Spec_TimeSeries_Threshold_Compare_value = map[string]int32{ 71 "COMPARE_UNSPECIFIED": 0, 72 "GT": 1, 73 "LT": 2, 74 } 75 ) 76 77 func (x AlertingCondition_Spec_TimeSeries_Threshold_Compare) Enum() *AlertingCondition_Spec_TimeSeries_Threshold_Compare { 78 p := new(AlertingCondition_Spec_TimeSeries_Threshold_Compare) 79 *p = x 80 return p 81 } 82 83 func (x AlertingCondition_Spec_TimeSeries_Threshold_Compare) String() string { 84 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 85 } 86 87 func (AlertingCondition_Spec_TimeSeries_Threshold_Compare) Descriptor() preflect.EnumDescriptor { 88 return edgelq_monitoring_proto_v4_alerting_condition_proto_enumTypes[0].Descriptor() 89 } 90 91 func (AlertingCondition_Spec_TimeSeries_Threshold_Compare) Type() preflect.EnumType { 92 return &edgelq_monitoring_proto_v4_alerting_condition_proto_enumTypes[0] 93 } 94 95 func (x AlertingCondition_Spec_TimeSeries_Threshold_Compare) Number() preflect.EnumNumber { 96 return preflect.EnumNumber(x) 97 } 98 99 // Deprecated, Use AlertingCondition_Spec_TimeSeries_Threshold_Compare.ProtoReflect.Descriptor instead. 100 func (AlertingCondition_Spec_TimeSeries_Threshold_Compare) EnumDescriptor() ([]byte, []int) { 101 return edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescGZIP(), []int{0, 0, 0, 1, 0} 102 } 103 104 // AlertingCondition Resource 105 type AlertingCondition struct { 106 state protoimpl.MessageState 107 sizeCache protoimpl.SizeCache 108 unknownFields protoimpl.UnknownFields 109 // Name of AlertingCondition 110 // When creating a new instance, this field is optional and if not provided, 111 // it will be generated automatically. Last ID segment must conform to the 112 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 113 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 114 // Metadata is an object with information like create, update and delete time 115 // (for async deleted resources), has user labels/annotations, sharding 116 // information, multi-region syncing information and may have non-schema 117 // owners (useful for taking ownership of resources belonging to lower level 118 // services by higher ones). 119 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 120 // Display Name 121 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 122 // Long description 123 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` 124 Spec *AlertingCondition_Spec `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"` 125 State *AlertingCondition_State `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` 126 } 127 128 func (m *AlertingCondition) Reset() { 129 *m = AlertingCondition{} 130 if protoimpl.UnsafeEnabled { 131 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[0] 132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 133 ms.StoreMessageInfo(mi) 134 } 135 } 136 137 func (m *AlertingCondition) String() string { 138 return protoimpl.X.MessageStringOf(m) 139 } 140 141 func (*AlertingCondition) ProtoMessage() {} 142 143 func (m *AlertingCondition) ProtoReflect() preflect.Message { 144 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[0] 145 if protoimpl.UnsafeEnabled && m != nil { 146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 147 if ms.LoadMessageInfo() == nil { 148 ms.StoreMessageInfo(mi) 149 } 150 return ms 151 } 152 return mi.MessageOf(m) 153 } 154 155 func (*AlertingCondition) GotenMessage() {} 156 157 // Deprecated, Use AlertingCondition.ProtoReflect.Descriptor instead. 158 func (*AlertingCondition) Descriptor() ([]byte, []int) { 159 return edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescGZIP(), []int{0} 160 } 161 162 func (m *AlertingCondition) Unmarshal(b []byte) error { 163 return proto.Unmarshal(b, m) 164 } 165 166 func (m *AlertingCondition) Marshal() ([]byte, error) { 167 return proto.Marshal(m) 168 } 169 170 func (m *AlertingCondition) MarshalJSON() ([]byte, error) { 171 return protojson.MarshalOptions{}.Marshal(m) 172 } 173 174 func (m *AlertingCondition) UnmarshalJSON(data []byte) error { 175 return protojson.Unmarshal(data, m) 176 } 177 178 func (m *AlertingCondition) GetName() *Name { 179 if m != nil { 180 return m.Name 181 } 182 return nil 183 } 184 185 func (m *AlertingCondition) GetMetadata() *meta.Meta { 186 if m != nil { 187 return m.Metadata 188 } 189 return nil 190 } 191 192 func (m *AlertingCondition) GetDisplayName() string { 193 if m != nil { 194 return m.DisplayName 195 } 196 return "" 197 } 198 199 func (m *AlertingCondition) GetDescription() string { 200 if m != nil { 201 return m.Description 202 } 203 return "" 204 } 205 206 func (m *AlertingCondition) GetSpec() *AlertingCondition_Spec { 207 if m != nil { 208 return m.Spec 209 } 210 return nil 211 } 212 213 func (m *AlertingCondition) GetState() *AlertingCondition_State { 214 if m != nil { 215 return m.State 216 } 217 return nil 218 } 219 220 func (m *AlertingCondition) SetName(fv *Name) { 221 if m == nil { 222 panic(fmt.Errorf("can't set %s on nil %s", "Name", "AlertingCondition")) 223 } 224 m.Name = fv 225 } 226 227 func (m *AlertingCondition) SetMetadata(fv *meta.Meta) { 228 if m == nil { 229 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "AlertingCondition")) 230 } 231 m.Metadata = fv 232 } 233 234 func (m *AlertingCondition) SetDisplayName(fv string) { 235 if m == nil { 236 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "AlertingCondition")) 237 } 238 m.DisplayName = fv 239 } 240 241 func (m *AlertingCondition) SetDescription(fv string) { 242 if m == nil { 243 panic(fmt.Errorf("can't set %s on nil %s", "Description", "AlertingCondition")) 244 } 245 m.Description = fv 246 } 247 248 func (m *AlertingCondition) SetSpec(fv *AlertingCondition_Spec) { 249 if m == nil { 250 panic(fmt.Errorf("can't set %s on nil %s", "Spec", "AlertingCondition")) 251 } 252 m.Spec = fv 253 } 254 255 func (m *AlertingCondition) SetState(fv *AlertingCondition_State) { 256 if m == nil { 257 panic(fmt.Errorf("can't set %s on nil %s", "State", "AlertingCondition")) 258 } 259 m.State = fv 260 } 261 262 type AlertingCondition_Spec struct { 263 state protoimpl.MessageState 264 sizeCache protoimpl.SizeCache 265 unknownFields protoimpl.UnknownFields 266 TimeSeries *AlertingCondition_Spec_TimeSeries `protobuf:"bytes,1,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` 267 } 268 269 func (m *AlertingCondition_Spec) Reset() { 270 *m = AlertingCondition_Spec{} 271 if protoimpl.UnsafeEnabled { 272 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[1] 273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 274 ms.StoreMessageInfo(mi) 275 } 276 } 277 278 func (m *AlertingCondition_Spec) String() string { 279 return protoimpl.X.MessageStringOf(m) 280 } 281 282 func (*AlertingCondition_Spec) ProtoMessage() {} 283 284 func (m *AlertingCondition_Spec) ProtoReflect() preflect.Message { 285 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[1] 286 if protoimpl.UnsafeEnabled && m != nil { 287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 288 if ms.LoadMessageInfo() == nil { 289 ms.StoreMessageInfo(mi) 290 } 291 return ms 292 } 293 return mi.MessageOf(m) 294 } 295 296 func (*AlertingCondition_Spec) GotenMessage() {} 297 298 // Deprecated, Use AlertingCondition_Spec.ProtoReflect.Descriptor instead. 299 func (*AlertingCondition_Spec) Descriptor() ([]byte, []int) { 300 return edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescGZIP(), []int{0, 0} 301 } 302 303 func (m *AlertingCondition_Spec) Unmarshal(b []byte) error { 304 return proto.Unmarshal(b, m) 305 } 306 307 func (m *AlertingCondition_Spec) Marshal() ([]byte, error) { 308 return proto.Marshal(m) 309 } 310 311 func (m *AlertingCondition_Spec) MarshalJSON() ([]byte, error) { 312 return protojson.MarshalOptions{}.Marshal(m) 313 } 314 315 func (m *AlertingCondition_Spec) UnmarshalJSON(data []byte) error { 316 return protojson.Unmarshal(data, m) 317 } 318 319 func (m *AlertingCondition_Spec) GetTimeSeries() *AlertingCondition_Spec_TimeSeries { 320 if m != nil { 321 return m.TimeSeries 322 } 323 return nil 324 } 325 326 func (m *AlertingCondition_Spec) SetTimeSeries(fv *AlertingCondition_Spec_TimeSeries) { 327 if m == nil { 328 panic(fmt.Errorf("can't set %s on nil %s", "TimeSeries", "AlertingCondition_Spec")) 329 } 330 m.TimeSeries = fv 331 } 332 333 type AlertingCondition_State struct { 334 state protoimpl.MessageState 335 sizeCache protoimpl.SizeCache 336 unknownFields protoimpl.UnknownFields 337 FiringAlertsCount int64 `protobuf:"varint,1,opt,name=firing_alerts_count,json=firingAlertsCount,proto3" json:"firing_alerts_count,omitempty"` 338 } 339 340 func (m *AlertingCondition_State) Reset() { 341 *m = AlertingCondition_State{} 342 if protoimpl.UnsafeEnabled { 343 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[2] 344 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 345 ms.StoreMessageInfo(mi) 346 } 347 } 348 349 func (m *AlertingCondition_State) String() string { 350 return protoimpl.X.MessageStringOf(m) 351 } 352 353 func (*AlertingCondition_State) ProtoMessage() {} 354 355 func (m *AlertingCondition_State) ProtoReflect() preflect.Message { 356 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[2] 357 if protoimpl.UnsafeEnabled && m != nil { 358 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 359 if ms.LoadMessageInfo() == nil { 360 ms.StoreMessageInfo(mi) 361 } 362 return ms 363 } 364 return mi.MessageOf(m) 365 } 366 367 func (*AlertingCondition_State) GotenMessage() {} 368 369 // Deprecated, Use AlertingCondition_State.ProtoReflect.Descriptor instead. 370 func (*AlertingCondition_State) Descriptor() ([]byte, []int) { 371 return edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescGZIP(), []int{0, 1} 372 } 373 374 func (m *AlertingCondition_State) Unmarshal(b []byte) error { 375 return proto.Unmarshal(b, m) 376 } 377 378 func (m *AlertingCondition_State) Marshal() ([]byte, error) { 379 return proto.Marshal(m) 380 } 381 382 func (m *AlertingCondition_State) MarshalJSON() ([]byte, error) { 383 return protojson.MarshalOptions{}.Marshal(m) 384 } 385 386 func (m *AlertingCondition_State) UnmarshalJSON(data []byte) error { 387 return protojson.Unmarshal(data, m) 388 } 389 390 func (m *AlertingCondition_State) GetFiringAlertsCount() int64 { 391 if m != nil { 392 return m.FiringAlertsCount 393 } 394 return int64(0) 395 } 396 397 func (m *AlertingCondition_State) SetFiringAlertsCount(fv int64) { 398 if m == nil { 399 panic(fmt.Errorf("can't set %s on nil %s", "FiringAlertsCount", "AlertingCondition_State")) 400 } 401 m.FiringAlertsCount = fv 402 } 403 404 type AlertingCondition_Spec_TimeSeries struct { 405 state protoimpl.MessageState 406 sizeCache protoimpl.SizeCache 407 unknownFields protoimpl.UnknownFields 408 // Time Series Query 409 Query *AlertingCondition_Spec_TimeSeries_Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` 410 // Either specify single threshold or combine threshold, which allows to 411 // pair each metric value to their specific thresholds, 412 // e.g. distinguish mean (loss, latency, jitter) in single query. 413 // If combine threshold is used, alert will be triggered only when all 414 // thresholds are violated. Example use case: 415 // * Trigger alert when CPU utilization > ... and uptime > ... (so we dont 416 // alert during startup unnecessarily). 417 // Time series sharing same fields except metric.type are merged 418 // (originally determined by aggregation.groupByFields). 419 Threshold *AlertingCondition_Spec_TimeSeries_Threshold `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty"` 420 CombineThreshold *AlertingCondition_Spec_TimeSeries_CombineThreshold `protobuf:"bytes,3,opt,name=combine_threshold,json=combineThreshold,proto3" json:"combine_threshold,omitempty"` 421 // Duration describes length of time needed for the condition to trigger 422 // a new alert of resolve an existing one 423 Duration *durationpb.Duration `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty"` 424 } 425 426 func (m *AlertingCondition_Spec_TimeSeries) Reset() { 427 *m = AlertingCondition_Spec_TimeSeries{} 428 if protoimpl.UnsafeEnabled { 429 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[3] 430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 431 ms.StoreMessageInfo(mi) 432 } 433 } 434 435 func (m *AlertingCondition_Spec_TimeSeries) String() string { 436 return protoimpl.X.MessageStringOf(m) 437 } 438 439 func (*AlertingCondition_Spec_TimeSeries) ProtoMessage() {} 440 441 func (m *AlertingCondition_Spec_TimeSeries) ProtoReflect() preflect.Message { 442 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[3] 443 if protoimpl.UnsafeEnabled && m != nil { 444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 445 if ms.LoadMessageInfo() == nil { 446 ms.StoreMessageInfo(mi) 447 } 448 return ms 449 } 450 return mi.MessageOf(m) 451 } 452 453 func (*AlertingCondition_Spec_TimeSeries) GotenMessage() {} 454 455 // Deprecated, Use AlertingCondition_Spec_TimeSeries.ProtoReflect.Descriptor instead. 456 func (*AlertingCondition_Spec_TimeSeries) Descriptor() ([]byte, []int) { 457 return edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescGZIP(), []int{0, 0, 0} 458 } 459 460 func (m *AlertingCondition_Spec_TimeSeries) Unmarshal(b []byte) error { 461 return proto.Unmarshal(b, m) 462 } 463 464 func (m *AlertingCondition_Spec_TimeSeries) Marshal() ([]byte, error) { 465 return proto.Marshal(m) 466 } 467 468 func (m *AlertingCondition_Spec_TimeSeries) MarshalJSON() ([]byte, error) { 469 return protojson.MarshalOptions{}.Marshal(m) 470 } 471 472 func (m *AlertingCondition_Spec_TimeSeries) UnmarshalJSON(data []byte) error { 473 return protojson.Unmarshal(data, m) 474 } 475 476 func (m *AlertingCondition_Spec_TimeSeries) GetQuery() *AlertingCondition_Spec_TimeSeries_Query { 477 if m != nil { 478 return m.Query 479 } 480 return nil 481 } 482 483 func (m *AlertingCondition_Spec_TimeSeries) GetThreshold() *AlertingCondition_Spec_TimeSeries_Threshold { 484 if m != nil { 485 return m.Threshold 486 } 487 return nil 488 } 489 490 func (m *AlertingCondition_Spec_TimeSeries) GetCombineThreshold() *AlertingCondition_Spec_TimeSeries_CombineThreshold { 491 if m != nil { 492 return m.CombineThreshold 493 } 494 return nil 495 } 496 497 func (m *AlertingCondition_Spec_TimeSeries) GetDuration() *durationpb.Duration { 498 if m != nil { 499 return m.Duration 500 } 501 return nil 502 } 503 504 func (m *AlertingCondition_Spec_TimeSeries) SetQuery(fv *AlertingCondition_Spec_TimeSeries_Query) { 505 if m == nil { 506 panic(fmt.Errorf("can't set %s on nil %s", "Query", "AlertingCondition_Spec_TimeSeries")) 507 } 508 m.Query = fv 509 } 510 511 func (m *AlertingCondition_Spec_TimeSeries) SetThreshold(fv *AlertingCondition_Spec_TimeSeries_Threshold) { 512 if m == nil { 513 panic(fmt.Errorf("can't set %s on nil %s", "Threshold", "AlertingCondition_Spec_TimeSeries")) 514 } 515 m.Threshold = fv 516 } 517 518 func (m *AlertingCondition_Spec_TimeSeries) SetCombineThreshold(fv *AlertingCondition_Spec_TimeSeries_CombineThreshold) { 519 if m == nil { 520 panic(fmt.Errorf("can't set %s on nil %s", "CombineThreshold", "AlertingCondition_Spec_TimeSeries")) 521 } 522 m.CombineThreshold = fv 523 } 524 525 func (m *AlertingCondition_Spec_TimeSeries) SetDuration(fv *durationpb.Duration) { 526 if m == nil { 527 panic(fmt.Errorf("can't set %s on nil %s", "Duration", "AlertingCondition_Spec_TimeSeries")) 528 } 529 m.Duration = fv 530 } 531 532 type AlertingCondition_Spec_TimeSeries_Query struct { 533 state protoimpl.MessageState 534 sizeCache protoimpl.SizeCache 535 unknownFields protoimpl.UnknownFields 536 // Filter used for time-series. 537 Filter *time_serie.Filter `protobuf:"bytes,1,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 538 // Generated, filter-able selector, extracted from filter value. It will 539 // contain all extracted conditions for '==' and 'IN' operators. 540 // It will exclude conditions for operators '!=' and 'NOT IN'. 541 // This allows filtering AlertingConditions by filter conditions. 542 Selector *common.TimeSeriesSelector `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` 543 // Time Series aggregation. In case of combine threshold, it is used 544 // by "main" metric.type, and additional metric types if overrides are 545 // not specified. 546 Aggregation *common.Aggregation `protobuf:"bytes,3,opt,name=aggregation,proto3" json:"aggregation,omitempty"` 547 // If metric.type uses CombineThreshold and multiple metrics, it can 548 // provide extra per metric aggregation override. This cannot be 549 // specified for "main" metric.type. But be aware, AP and GroupByFields 550 // must be exactly same as in "aggregation" field. 551 PerMetricAggregations map[string]*common.Aggregation `protobuf:"bytes,4,rep,name=per_metric_aggregations,json=perMetricAggregations,proto3" json:"per_metric_aggregations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 552 } 553 554 func (m *AlertingCondition_Spec_TimeSeries_Query) Reset() { 555 *m = AlertingCondition_Spec_TimeSeries_Query{} 556 if protoimpl.UnsafeEnabled { 557 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[4] 558 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 559 ms.StoreMessageInfo(mi) 560 } 561 } 562 563 func (m *AlertingCondition_Spec_TimeSeries_Query) String() string { 564 return protoimpl.X.MessageStringOf(m) 565 } 566 567 func (*AlertingCondition_Spec_TimeSeries_Query) ProtoMessage() {} 568 569 func (m *AlertingCondition_Spec_TimeSeries_Query) ProtoReflect() preflect.Message { 570 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[4] 571 if protoimpl.UnsafeEnabled && m != nil { 572 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 573 if ms.LoadMessageInfo() == nil { 574 ms.StoreMessageInfo(mi) 575 } 576 return ms 577 } 578 return mi.MessageOf(m) 579 } 580 581 func (*AlertingCondition_Spec_TimeSeries_Query) GotenMessage() {} 582 583 // Deprecated, Use AlertingCondition_Spec_TimeSeries_Query.ProtoReflect.Descriptor instead. 584 func (*AlertingCondition_Spec_TimeSeries_Query) Descriptor() ([]byte, []int) { 585 return edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescGZIP(), []int{0, 0, 0, 0} 586 } 587 588 func (m *AlertingCondition_Spec_TimeSeries_Query) Unmarshal(b []byte) error { 589 return proto.Unmarshal(b, m) 590 } 591 592 func (m *AlertingCondition_Spec_TimeSeries_Query) Marshal() ([]byte, error) { 593 return proto.Marshal(m) 594 } 595 596 func (m *AlertingCondition_Spec_TimeSeries_Query) MarshalJSON() ([]byte, error) { 597 return protojson.MarshalOptions{}.Marshal(m) 598 } 599 600 func (m *AlertingCondition_Spec_TimeSeries_Query) UnmarshalJSON(data []byte) error { 601 return protojson.Unmarshal(data, m) 602 } 603 604 func (m *AlertingCondition_Spec_TimeSeries_Query) GetFilter() *time_serie.Filter { 605 if m != nil { 606 return m.Filter 607 } 608 return nil 609 } 610 611 func (m *AlertingCondition_Spec_TimeSeries_Query) GetSelector() *common.TimeSeriesSelector { 612 if m != nil { 613 return m.Selector 614 } 615 return nil 616 } 617 618 func (m *AlertingCondition_Spec_TimeSeries_Query) GetAggregation() *common.Aggregation { 619 if m != nil { 620 return m.Aggregation 621 } 622 return nil 623 } 624 625 func (m *AlertingCondition_Spec_TimeSeries_Query) GetPerMetricAggregations() map[string]*common.Aggregation { 626 if m != nil { 627 return m.PerMetricAggregations 628 } 629 return nil 630 } 631 632 func (m *AlertingCondition_Spec_TimeSeries_Query) SetFilter(fv *time_serie.Filter) { 633 if m == nil { 634 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "AlertingCondition_Spec_TimeSeries_Query")) 635 } 636 m.Filter = fv 637 } 638 639 func (m *AlertingCondition_Spec_TimeSeries_Query) SetSelector(fv *common.TimeSeriesSelector) { 640 if m == nil { 641 panic(fmt.Errorf("can't set %s on nil %s", "Selector", "AlertingCondition_Spec_TimeSeries_Query")) 642 } 643 m.Selector = fv 644 } 645 646 func (m *AlertingCondition_Spec_TimeSeries_Query) SetAggregation(fv *common.Aggregation) { 647 if m == nil { 648 panic(fmt.Errorf("can't set %s on nil %s", "Aggregation", "AlertingCondition_Spec_TimeSeries_Query")) 649 } 650 m.Aggregation = fv 651 } 652 653 func (m *AlertingCondition_Spec_TimeSeries_Query) SetPerMetricAggregations(fv map[string]*common.Aggregation) { 654 if m == nil { 655 panic(fmt.Errorf("can't set %s on nil %s", "PerMetricAggregations", "AlertingCondition_Spec_TimeSeries_Query")) 656 } 657 m.PerMetricAggregations = fv 658 } 659 660 type AlertingCondition_Spec_TimeSeries_Threshold struct { 661 state protoimpl.MessageState 662 sizeCache protoimpl.SizeCache 663 unknownFields protoimpl.UnknownFields 664 // Compare function specifies if observed value must be GreaterThan (GT) 665 // or LesserThan (LT) threshold value in order to trigger an alert. 666 // 667 // Example: for metric latency {compare: GT, value: 150} will trigger if 668 // actual latency is above 150ms. 669 Compare AlertingCondition_Spec_TimeSeries_Threshold_Compare `protobuf:"varint,1,opt,name=compare,proto3,enum=ntt.monitoring.v4.AlertingCondition_Spec_TimeSeries_Threshold_Compare" json:"compare,omitempty"` 670 // threshold value 671 Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` 672 } 673 674 func (m *AlertingCondition_Spec_TimeSeries_Threshold) Reset() { 675 *m = AlertingCondition_Spec_TimeSeries_Threshold{} 676 if protoimpl.UnsafeEnabled { 677 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[5] 678 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 679 ms.StoreMessageInfo(mi) 680 } 681 } 682 683 func (m *AlertingCondition_Spec_TimeSeries_Threshold) String() string { 684 return protoimpl.X.MessageStringOf(m) 685 } 686 687 func (*AlertingCondition_Spec_TimeSeries_Threshold) ProtoMessage() {} 688 689 func (m *AlertingCondition_Spec_TimeSeries_Threshold) ProtoReflect() preflect.Message { 690 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[5] 691 if protoimpl.UnsafeEnabled && m != nil { 692 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 693 if ms.LoadMessageInfo() == nil { 694 ms.StoreMessageInfo(mi) 695 } 696 return ms 697 } 698 return mi.MessageOf(m) 699 } 700 701 func (*AlertingCondition_Spec_TimeSeries_Threshold) GotenMessage() {} 702 703 // Deprecated, Use AlertingCondition_Spec_TimeSeries_Threshold.ProtoReflect.Descriptor instead. 704 func (*AlertingCondition_Spec_TimeSeries_Threshold) Descriptor() ([]byte, []int) { 705 return edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescGZIP(), []int{0, 0, 0, 1} 706 } 707 708 func (m *AlertingCondition_Spec_TimeSeries_Threshold) Unmarshal(b []byte) error { 709 return proto.Unmarshal(b, m) 710 } 711 712 func (m *AlertingCondition_Spec_TimeSeries_Threshold) Marshal() ([]byte, error) { 713 return proto.Marshal(m) 714 } 715 716 func (m *AlertingCondition_Spec_TimeSeries_Threshold) MarshalJSON() ([]byte, error) { 717 return protojson.MarshalOptions{}.Marshal(m) 718 } 719 720 func (m *AlertingCondition_Spec_TimeSeries_Threshold) UnmarshalJSON(data []byte) error { 721 return protojson.Unmarshal(data, m) 722 } 723 724 func (m *AlertingCondition_Spec_TimeSeries_Threshold) GetCompare() AlertingCondition_Spec_TimeSeries_Threshold_Compare { 725 if m != nil { 726 return m.Compare 727 } 728 return AlertingCondition_Spec_TimeSeries_Threshold_COMPARE_UNSPECIFIED 729 } 730 731 func (m *AlertingCondition_Spec_TimeSeries_Threshold) GetValue() float64 { 732 if m != nil { 733 return m.Value 734 } 735 return float64(0) 736 } 737 738 func (m *AlertingCondition_Spec_TimeSeries_Threshold) SetCompare(fv AlertingCondition_Spec_TimeSeries_Threshold_Compare) { 739 if m == nil { 740 panic(fmt.Errorf("can't set %s on nil %s", "Compare", "AlertingCondition_Spec_TimeSeries_Threshold")) 741 } 742 m.Compare = fv 743 } 744 745 func (m *AlertingCondition_Spec_TimeSeries_Threshold) SetValue(fv float64) { 746 if m == nil { 747 panic(fmt.Errorf("can't set %s on nil %s", "Value", "AlertingCondition_Spec_TimeSeries_Threshold")) 748 } 749 m.Value = fv 750 } 751 752 type AlertingCondition_Spec_TimeSeries_CombineThreshold struct { 753 state protoimpl.MessageState 754 sizeCache protoimpl.SizeCache 755 unknownFields protoimpl.UnknownFields 756 // Per Metric threshold. 757 // 758 // If multiple metrics are selected each metric may specify a different 759 // threshold 760 PerMetric map[string]*AlertingCondition_Spec_TimeSeries_Threshold `protobuf:"bytes,1,rep,name=per_metric,json=perMetric,proto3" json:"per_metric,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 761 // Primary metric.type for this condition. 762 // Although Alerts generated across multiple metric.type are possible, 763 // Alert instance has single "info.time_serie.metric.type" field path 764 // value. 765 MainMetricType string `protobuf:"bytes,3,opt,name=main_metric_type,json=mainMetricType,proto3" json:"main_metric_type,omitempty"` 766 // Internal per metric identifiers in binary key 767 PerMetricTypeKv map[string][]byte `protobuf:"bytes,4,rep,name=per_metric_type_kv,json=perMetricTypeKv,proto3" json:"per_metric_type_kv,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 768 } 769 770 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) Reset() { 771 *m = AlertingCondition_Spec_TimeSeries_CombineThreshold{} 772 if protoimpl.UnsafeEnabled { 773 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[6] 774 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 775 ms.StoreMessageInfo(mi) 776 } 777 } 778 779 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) String() string { 780 return protoimpl.X.MessageStringOf(m) 781 } 782 783 func (*AlertingCondition_Spec_TimeSeries_CombineThreshold) ProtoMessage() {} 784 785 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) ProtoReflect() preflect.Message { 786 mi := &edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[6] 787 if protoimpl.UnsafeEnabled && m != nil { 788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 789 if ms.LoadMessageInfo() == nil { 790 ms.StoreMessageInfo(mi) 791 } 792 return ms 793 } 794 return mi.MessageOf(m) 795 } 796 797 func (*AlertingCondition_Spec_TimeSeries_CombineThreshold) GotenMessage() {} 798 799 // Deprecated, Use AlertingCondition_Spec_TimeSeries_CombineThreshold.ProtoReflect.Descriptor instead. 800 func (*AlertingCondition_Spec_TimeSeries_CombineThreshold) Descriptor() ([]byte, []int) { 801 return edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescGZIP(), []int{0, 0, 0, 2} 802 } 803 804 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) Unmarshal(b []byte) error { 805 return proto.Unmarshal(b, m) 806 } 807 808 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) Marshal() ([]byte, error) { 809 return proto.Marshal(m) 810 } 811 812 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) MarshalJSON() ([]byte, error) { 813 return protojson.MarshalOptions{}.Marshal(m) 814 } 815 816 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) UnmarshalJSON(data []byte) error { 817 return protojson.Unmarshal(data, m) 818 } 819 820 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) GetPerMetric() map[string]*AlertingCondition_Spec_TimeSeries_Threshold { 821 if m != nil { 822 return m.PerMetric 823 } 824 return nil 825 } 826 827 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) GetMainMetricType() string { 828 if m != nil { 829 return m.MainMetricType 830 } 831 return "" 832 } 833 834 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) GetPerMetricTypeKv() map[string][]byte { 835 if m != nil { 836 return m.PerMetricTypeKv 837 } 838 return nil 839 } 840 841 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) SetPerMetric(fv map[string]*AlertingCondition_Spec_TimeSeries_Threshold) { 842 if m == nil { 843 panic(fmt.Errorf("can't set %s on nil %s", "PerMetric", "AlertingCondition_Spec_TimeSeries_CombineThreshold")) 844 } 845 m.PerMetric = fv 846 } 847 848 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) SetMainMetricType(fv string) { 849 if m == nil { 850 panic(fmt.Errorf("can't set %s on nil %s", "MainMetricType", "AlertingCondition_Spec_TimeSeries_CombineThreshold")) 851 } 852 m.MainMetricType = fv 853 } 854 855 func (m *AlertingCondition_Spec_TimeSeries_CombineThreshold) SetPerMetricTypeKv(fv map[string][]byte) { 856 if m == nil { 857 panic(fmt.Errorf("can't set %s on nil %s", "PerMetricTypeKv", "AlertingCondition_Spec_TimeSeries_CombineThreshold")) 858 } 859 m.PerMetricTypeKv = fv 860 } 861 862 var edgelq_monitoring_proto_v4_alerting_condition_proto preflect.FileDescriptor 863 864 var edgelq_monitoring_proto_v4_alerting_condition_proto_rawDesc = []byte{ 865 0x0a, 0x33, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 866 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x6c, 0x65, 867 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 868 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 869 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 870 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 871 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 872 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 873 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 874 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 875 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 876 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 877 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 878 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 879 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 880 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 881 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 882 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 883 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 884 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 885 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 886 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 887 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 888 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 889 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x64, 0x67, 0x65, 890 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 891 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 892 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 893 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 894 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 895 0x22, 0x8a, 0x16, 0x0a, 0x11, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 896 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 897 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0xb2, 0xda, 0x21, 0x15, 0x0a, 0x13, 0x0a, 0x11, 0x41, 0x6c, 898 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 899 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 900 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 901 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 902 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 903 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 904 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 905 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xca, 0xc6, 906 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x02, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 907 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x05, 908 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 909 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 910 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x42, 911 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 912 0x40, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 913 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 914 0x76, 0x34, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 915 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 916 0x65, 0x1a, 0x85, 0x0d, 0x0a, 0x04, 0x53, 0x70, 0x65, 0x63, 0x12, 0x5f, 0x0a, 0x0b, 0x74, 0x69, 917 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 918 0x34, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 919 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 920 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 921 0x65, 0x72, 0x69, 0x65, 0x73, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 0x01, 0x52, 922 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x95, 0x0c, 0x0a, 0x0a, 923 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x05, 0x71, 0x75, 924 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 925 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x6c, 926 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 927 0x53, 0x70, 0x65, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 928 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 0x01, 0x52, 929 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 930 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 931 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x6c, 932 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 933 0x53, 0x70, 0x65, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 934 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 935 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x72, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x5f, 936 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 937 0x45, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 938 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 939 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 940 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x54, 0x68, 0x72, 941 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x54, 942 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x45, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 943 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 944 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 945 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0e, 0xca, 0xc6, 0x27, 0x0a, 0x5a, 0x04, 0x32, 0x02, 0x08, 946 0x3c, 0x62, 0x02, 0x08, 0x01, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 947 0xc1, 0x03, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x29, 0x0a, 0x06, 0x66, 0x69, 0x6c, 948 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0xb2, 0xda, 0x21, 0x0d, 0x1a, 949 0x0b, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x52, 0x06, 0x66, 0x69, 950 0x6c, 0x74, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 951 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 952 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 953 0x65, 0x72, 0x69, 0x65, 0x73, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x04, 0xf0, 954 0xd9, 0x21, 0x01, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x4a, 0x0a, 955 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 956 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 957 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 958 0x6f, 0x6e, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 0x01, 0x52, 0x0b, 0x61, 0x67, 959 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x8d, 0x01, 0x0a, 0x17, 0x70, 0x65, 960 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 961 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x55, 0x2e, 0x6e, 0x74, 962 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 963 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 964 0x6e, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 965 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 966 0x63, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 967 0x72, 0x79, 0x52, 0x15, 0x70, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x67, 0x67, 968 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x68, 0x0a, 0x1a, 0x50, 0x65, 0x72, 969 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 970 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 971 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 972 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 973 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x67, 0x67, 974 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 975 0x02, 0x38, 0x01, 0x1a, 0xb7, 0x01, 0x0a, 0x09, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 976 0x64, 0x12, 0x60, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 977 0x28, 0x0e, 0x32, 0x46, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 978 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 979 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x54, 0x69, 980 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 981 0x6c, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x70, 982 0x61, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 983 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x32, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 984 0x70, 0x61, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x45, 0x5f, 985 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 986 0x02, 0x47, 0x54, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x4c, 0x54, 0x10, 0x02, 0x1a, 0x93, 0x04, 987 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 988 0x6c, 0x64, 0x12, 0x73, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 989 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x54, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 990 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 991 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x65, 992 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 993 0x62, 0x69, 0x6e, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x2e, 0x50, 0x65, 994 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x65, 995 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x32, 0x0a, 0x10, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 996 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 997 0x09, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x2a, 0x02, 0x68, 0x01, 0x52, 0x0e, 0x6d, 0x61, 0x69, 998 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x12, 999 0x70, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 1000 0x6b, 0x76, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 1001 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x6c, 0x65, 1002 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 1003 0x70, 0x65, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x43, 1004 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x2e, 1005 0x50, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x4b, 0x76, 0x45, 1006 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x0f, 0x70, 0x65, 0x72, 0x4d, 1007 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x4b, 0x76, 0x1a, 0x7c, 0x0a, 0x0e, 0x50, 1008 0x65, 0x72, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 1009 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 1010 0x54, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 1011 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 1012 0x76, 0x34, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 1013 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 1014 0x72, 0x69, 0x65, 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x52, 0x05, 1015 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x50, 0x65, 0x72, 1016 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x4b, 0x76, 0x45, 0x6e, 0x74, 0x72, 1017 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 1018 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 1019 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 1020 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x1a, 0x37, 0x0a, 0x05, 0x53, 0x74, 0x61, 1021 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x65, 1022 0x72, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 1023 0x11, 0x66, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x43, 0x6f, 0x75, 1024 0x6e, 0x74, 0x3a, 0xf8, 0x05, 0xea, 0x41, 0x99, 0x01, 0x0a, 0x27, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 1025 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 1026 0x2f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 1027 0x6f, 0x6e, 0x12, 0x6e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 1028 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 1029 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 1030 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 1031 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 1032 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x61, 1033 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 1034 0x6e, 0x7d, 0x92, 0xd9, 0x21, 0x9c, 0x01, 0x0a, 0x12, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 1035 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x61, 0x6c, 0x65, 1036 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 1037 0x0e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x38, 1038 0x05, 0x42, 0x60, 0x08, 0x02, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 1039 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 1040 0x61, 0x6d, 0x65, 0x12, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x4e, 0x61, 0x6d, 1041 0x65, 0x12, 0x30, 0x0a, 0x19, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x69, 0x6e, 1042 0x67, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x13, 1043 0x46, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x20, 0x43, 0x6f, 1044 0x75, 0x6e, 0x74, 0xaa, 0xd9, 0x21, 0x4f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x0a, 0x0c, 0x64, 1045 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x0a, 0x0b, 0x64, 0x65, 0x73, 1046 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 1047 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x73, 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 1048 0x61, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 1049 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xb2, 0xdf, 0x21, 0x9a, 0x02, 0x0a, 0x97, 0x02, 0x0a, 0x94, 1050 0x02, 0x0a, 0x0d, 0x62, 0x79, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 1051 0x12, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x44, 1052 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 1053 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2d, 0x2f, 0x61, 0x6c, 0x65, 1054 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2d, 0x2f, 1055 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 1056 0x6e, 0x73, 0x2f, 0x2d, 0x1a, 0x4b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 1057 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 1058 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 1059 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2d, 0x2f, 0x61, 0x6c, 0x65, 1060 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1061 0x2d, 0x1a, 0x5b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 1062 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 1063 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 1064 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 1065 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 1066 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2d, 0x2a, 0x05, 1067 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 1068 0x65, 0xc2, 0x85, 0x2c, 0x38, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 0x73, 1069 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 1070 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x04, 0x73, 0x70, 0x65, 0x63, 0x2a, 0x05, 0x73, 0x74, 1071 0x61, 0x74, 0x65, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0xd8, 0x02, 1072 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x5d, 0x0a, 0x18, 0x61, 0x6c, 0x65, 0x72, 0x74, 1073 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 1074 0x6f, 0x72, 0x65, 0x12, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 1075 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 1076 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 1077 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 1078 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x80, 0xd1, 0x02, 0x5f, 0x0a, 0x19, 0x61, 0x6c, 0x65, 1079 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 1080 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 1081 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 1082 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x63, 1083 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 1084 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 1085 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 1086 0x62, 0x2e, 0x76, 0x34, 0x42, 0x16, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 1087 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x58, 1088 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1089 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 1090 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 1091 0x76, 0x34, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 1092 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 1093 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1094 } 1095 1096 var ( 1097 edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescOnce sync.Once 1098 edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescData = edgelq_monitoring_proto_v4_alerting_condition_proto_rawDesc 1099 ) 1100 1101 func edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescGZIP() []byte { 1102 edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescOnce.Do(func() { 1103 edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescData) 1104 }) 1105 return edgelq_monitoring_proto_v4_alerting_condition_proto_rawDescData 1106 } 1107 1108 var edgelq_monitoring_proto_v4_alerting_condition_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1109 var edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 1110 var edgelq_monitoring_proto_v4_alerting_condition_proto_goTypes = []interface{}{ 1111 (AlertingCondition_Spec_TimeSeries_Threshold_Compare)(0), // 0: ntt.monitoring.v4.AlertingCondition_Spec_TimeSeries_Threshold_Compare 1112 (*AlertingCondition)(nil), // 1: ntt.monitoring.v4.AlertingCondition 1113 (*AlertingCondition_Spec)(nil), // 2: ntt.monitoring.v4.AlertingCondition.Spec 1114 (*AlertingCondition_State)(nil), // 3: ntt.monitoring.v4.AlertingCondition.State 1115 (*AlertingCondition_Spec_TimeSeries)(nil), // 4: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries 1116 (*AlertingCondition_Spec_TimeSeries_Query)(nil), // 5: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Query 1117 (*AlertingCondition_Spec_TimeSeries_Threshold)(nil), // 6: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Threshold 1118 (*AlertingCondition_Spec_TimeSeries_CombineThreshold)(nil), // 7: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.CombineThreshold 1119 nil, // 8: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Query.PerMetricAggregationsEntry 1120 nil, // 9: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.CombineThreshold.PerMetricEntry 1121 nil, // 10: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.CombineThreshold.PerMetricTypeKvEntry 1122 (*meta.Meta)(nil), // 11: goten.types.Meta 1123 (*durationpb.Duration)(nil), // 12: google.protobuf.Duration 1124 (*common.TimeSeriesSelector)(nil), // 13: ntt.monitoring.v4.TimeSeriesSelector 1125 (*common.Aggregation)(nil), // 14: ntt.monitoring.v4.Aggregation 1126 } 1127 var edgelq_monitoring_proto_v4_alerting_condition_proto_depIdxs = []int32{ 1128 11, // 0: ntt.monitoring.v4.AlertingCondition.metadata:type_name -> goten.types.Meta 1129 2, // 1: ntt.monitoring.v4.AlertingCondition.spec:type_name -> ntt.monitoring.v4.AlertingCondition.Spec 1130 3, // 2: ntt.monitoring.v4.AlertingCondition.state:type_name -> ntt.monitoring.v4.AlertingCondition.State 1131 4, // 3: ntt.monitoring.v4.AlertingCondition.Spec.time_series:type_name -> ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries 1132 5, // 4: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.query:type_name -> ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Query 1133 6, // 5: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.threshold:type_name -> ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Threshold 1134 7, // 6: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.combine_threshold:type_name -> ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.CombineThreshold 1135 12, // 7: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.duration:type_name -> google.protobuf.Duration 1136 13, // 8: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Query.selector:type_name -> ntt.monitoring.v4.TimeSeriesSelector 1137 14, // 9: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Query.aggregation:type_name -> ntt.monitoring.v4.Aggregation 1138 8, // 10: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Query.per_metric_aggregations:type_name -> ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Query.PerMetricAggregationsEntry 1139 0, // 11: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Threshold.compare:type_name -> ntt.monitoring.v4.AlertingCondition_Spec_TimeSeries_Threshold_Compare 1140 9, // 12: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.CombineThreshold.per_metric:type_name -> ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.CombineThreshold.PerMetricEntry 1141 10, // 13: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.CombineThreshold.per_metric_type_kv:type_name -> ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.CombineThreshold.PerMetricTypeKvEntry 1142 14, // 14: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Query.PerMetricAggregationsEntry.value:type_name -> ntt.monitoring.v4.Aggregation 1143 6, // 15: ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.CombineThreshold.PerMetricEntry.value:type_name -> ntt.monitoring.v4.AlertingCondition.Spec.TimeSeries.Threshold 1144 16, // [16:16] is the sub-list for method output_type 1145 16, // [16:16] is the sub-list for method input_type 1146 16, // [16:16] is the sub-list for extension type_name 1147 16, // [16:16] is the sub-list for extension extendee 1148 0, // [0:16] is the sub-list for field type_name 1149 } 1150 1151 func init() { edgelq_monitoring_proto_v4_alerting_condition_proto_init() } 1152 func edgelq_monitoring_proto_v4_alerting_condition_proto_init() { 1153 if edgelq_monitoring_proto_v4_alerting_condition_proto != nil { 1154 return 1155 } 1156 if !protoimpl.UnsafeEnabled { 1157 1158 edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1159 switch v := v.(*AlertingCondition); i { 1160 case 0: 1161 return &v.state 1162 case 1: 1163 return &v.sizeCache 1164 case 2: 1165 return &v.unknownFields 1166 default: 1167 return nil 1168 } 1169 } 1170 edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1171 switch v := v.(*AlertingCondition_Spec); i { 1172 case 0: 1173 return &v.state 1174 case 1: 1175 return &v.sizeCache 1176 case 2: 1177 return &v.unknownFields 1178 default: 1179 return nil 1180 } 1181 } 1182 edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1183 switch v := v.(*AlertingCondition_State); i { 1184 case 0: 1185 return &v.state 1186 case 1: 1187 return &v.sizeCache 1188 case 2: 1189 return &v.unknownFields 1190 default: 1191 return nil 1192 } 1193 } 1194 edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1195 switch v := v.(*AlertingCondition_Spec_TimeSeries); i { 1196 case 0: 1197 return &v.state 1198 case 1: 1199 return &v.sizeCache 1200 case 2: 1201 return &v.unknownFields 1202 default: 1203 return nil 1204 } 1205 } 1206 edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1207 switch v := v.(*AlertingCondition_Spec_TimeSeries_Query); i { 1208 case 0: 1209 return &v.state 1210 case 1: 1211 return &v.sizeCache 1212 case 2: 1213 return &v.unknownFields 1214 default: 1215 return nil 1216 } 1217 } 1218 edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1219 switch v := v.(*AlertingCondition_Spec_TimeSeries_Threshold); i { 1220 case 0: 1221 return &v.state 1222 case 1: 1223 return &v.sizeCache 1224 case 2: 1225 return &v.unknownFields 1226 default: 1227 return nil 1228 } 1229 } 1230 edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1231 switch v := v.(*AlertingCondition_Spec_TimeSeries_CombineThreshold); i { 1232 case 0: 1233 return &v.state 1234 case 1: 1235 return &v.sizeCache 1236 case 2: 1237 return &v.unknownFields 1238 default: 1239 return nil 1240 } 1241 } 1242 } 1243 1244 type x struct{} 1245 out := protoimpl.TypeBuilder{ 1246 File: protoimpl.DescBuilder{ 1247 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1248 RawDescriptor: edgelq_monitoring_proto_v4_alerting_condition_proto_rawDesc, 1249 NumEnums: 1, 1250 NumMessages: 10, 1251 NumExtensions: 0, 1252 NumServices: 0, 1253 }, 1254 GoTypes: edgelq_monitoring_proto_v4_alerting_condition_proto_goTypes, 1255 DependencyIndexes: edgelq_monitoring_proto_v4_alerting_condition_proto_depIdxs, 1256 EnumInfos: edgelq_monitoring_proto_v4_alerting_condition_proto_enumTypes, 1257 MessageInfos: edgelq_monitoring_proto_v4_alerting_condition_proto_msgTypes, 1258 }.Build() 1259 edgelq_monitoring_proto_v4_alerting_condition_proto = out.File 1260 edgelq_monitoring_proto_v4_alerting_condition_proto_rawDesc = nil 1261 edgelq_monitoring_proto_v4_alerting_condition_proto_goTypes = nil 1262 edgelq_monitoring_proto_v4_alerting_condition_proto_depIdxs = nil 1263 }