github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/ts_condition/ts_condition.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/alerting/proto/v1/ts_condition.proto 3 // DO NOT EDIT!!! 4 5 package ts_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 rcommon "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/common" 21 document "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/document" 22 log_condition_template "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/log_condition_template" 23 policy "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/policy" 24 meta "github.com/cloudwan/goten-sdk/types/meta" 25 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 26 ) 27 28 // Reference imports to suppress errors if they are not otherwise used. 29 var ( 30 _ = fmt.Errorf 31 _ = reflect.Method{} 32 _ = sync.Once{} 33 34 _ = protojson.MarshalOptions{} 35 _ = proto.MarshalOptions{} 36 _ = preflect.Value{} 37 _ = protoimpl.DescBuilder{} 38 ) 39 40 // make sure we're using proto imports 41 var ( 42 _ = &document.Document{} 43 _ = &log_condition_template.LogConditionTemplate{} 44 _ = &policy.Policy{} 45 _ = &rcommon.LogCndSpec{} 46 _ = &fieldmaskpb.FieldMask{} 47 _ = &meta.Meta{} 48 ) 49 50 const ( 51 // Verify that this generated code is sufficiently up-to-date. 52 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 53 // Verify that runtime/protoimpl is sufficiently up-to-date. 54 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 55 ) 56 57 // TsCondition describes when Alert based on TimeSeries data should be raised. 58 type TsCondition struct { 59 state protoimpl.MessageState 60 sizeCache protoimpl.SizeCache 61 unknownFields protoimpl.UnknownFields 62 // Name of TsCondition 63 // When creating a new instance, this field is optional and if not provided, 64 // it will be generated automatically. Last ID segment must conform to the 65 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 66 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 67 // Metadata is an object with information like create, update and delete time 68 // (for async deleted resources), has user labels/annotations, sharding 69 // information, multi-region syncing information and may have non-schema 70 // owners (useful for taking ownership of resources belonging to lower level 71 // services by higher ones). 72 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 73 // Display Name 74 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 75 // Long description 76 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` 77 // List of documents useful for troubleshooting and fixing alerts triggered 78 // by this condition. 79 SupportingDocs []*document.Reference `protobuf:"bytes,5,rep,customtype=Reference,name=supporting_docs,json=supportingDocs,proto3" json:"supporting_docs,omitempty"` 80 // Spec defines queries, thresholds and anomaly detector specs. 81 Spec *rcommon.TsCndSpec `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty"` 82 // Internal field. 83 Internal *TsCondition_Internal `protobuf:"bytes,7,opt,name=internal,proto3" json:"internal,omitempty"` 84 // filter selector simplifies querying TsCondition resources. 85 // For example, it allows to make query like: 86 // * List TsConditions WHERE filter_selector.metric.types CONTAINS 87 // "device/cpu" 88 FilterSelector *TsCondition_Selector `protobuf:"bytes,8,opt,name=filter_selector,json=filterSelector,proto3" json:"filter_selector,omitempty"` 89 // template source for current TsCondition 90 TemplateSource *TsCondition_TemplateSource `protobuf:"bytes,9,opt,name=template_source,json=templateSource,proto3" json:"template_source,omitempty"` 91 } 92 93 func (m *TsCondition) Reset() { 94 *m = TsCondition{} 95 if protoimpl.UnsafeEnabled { 96 mi := &edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[0] 97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 98 ms.StoreMessageInfo(mi) 99 } 100 } 101 102 func (m *TsCondition) String() string { 103 return protoimpl.X.MessageStringOf(m) 104 } 105 106 func (*TsCondition) ProtoMessage() {} 107 108 func (m *TsCondition) ProtoReflect() preflect.Message { 109 mi := &edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[0] 110 if protoimpl.UnsafeEnabled && m != nil { 111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 112 if ms.LoadMessageInfo() == nil { 113 ms.StoreMessageInfo(mi) 114 } 115 return ms 116 } 117 return mi.MessageOf(m) 118 } 119 120 func (*TsCondition) GotenMessage() {} 121 122 // Deprecated, Use TsCondition.ProtoReflect.Descriptor instead. 123 func (*TsCondition) Descriptor() ([]byte, []int) { 124 return edgelq_alerting_proto_v1_ts_condition_proto_rawDescGZIP(), []int{0} 125 } 126 127 func (m *TsCondition) Unmarshal(b []byte) error { 128 return proto.Unmarshal(b, m) 129 } 130 131 func (m *TsCondition) Marshal() ([]byte, error) { 132 return proto.Marshal(m) 133 } 134 135 func (m *TsCondition) MarshalJSON() ([]byte, error) { 136 return protojson.MarshalOptions{}.Marshal(m) 137 } 138 139 func (m *TsCondition) UnmarshalJSON(data []byte) error { 140 return protojson.Unmarshal(data, m) 141 } 142 143 func (m *TsCondition) GetName() *Name { 144 if m != nil { 145 return m.Name 146 } 147 return nil 148 } 149 150 func (m *TsCondition) GetMetadata() *meta.Meta { 151 if m != nil { 152 return m.Metadata 153 } 154 return nil 155 } 156 157 func (m *TsCondition) GetDisplayName() string { 158 if m != nil { 159 return m.DisplayName 160 } 161 return "" 162 } 163 164 func (m *TsCondition) GetDescription() string { 165 if m != nil { 166 return m.Description 167 } 168 return "" 169 } 170 171 func (m *TsCondition) GetSupportingDocs() []*document.Reference { 172 if m != nil { 173 return m.SupportingDocs 174 } 175 return nil 176 } 177 178 func (m *TsCondition) GetSpec() *rcommon.TsCndSpec { 179 if m != nil { 180 return m.Spec 181 } 182 return nil 183 } 184 185 func (m *TsCondition) GetInternal() *TsCondition_Internal { 186 if m != nil { 187 return m.Internal 188 } 189 return nil 190 } 191 192 func (m *TsCondition) GetFilterSelector() *TsCondition_Selector { 193 if m != nil { 194 return m.FilterSelector 195 } 196 return nil 197 } 198 199 func (m *TsCondition) GetTemplateSource() *TsCondition_TemplateSource { 200 if m != nil { 201 return m.TemplateSource 202 } 203 return nil 204 } 205 206 func (m *TsCondition) SetName(fv *Name) { 207 if m == nil { 208 panic(fmt.Errorf("can't set %s on nil %s", "Name", "TsCondition")) 209 } 210 m.Name = fv 211 } 212 213 func (m *TsCondition) SetMetadata(fv *meta.Meta) { 214 if m == nil { 215 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "TsCondition")) 216 } 217 m.Metadata = fv 218 } 219 220 func (m *TsCondition) SetDisplayName(fv string) { 221 if m == nil { 222 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "TsCondition")) 223 } 224 m.DisplayName = fv 225 } 226 227 func (m *TsCondition) SetDescription(fv string) { 228 if m == nil { 229 panic(fmt.Errorf("can't set %s on nil %s", "Description", "TsCondition")) 230 } 231 m.Description = fv 232 } 233 234 func (m *TsCondition) SetSupportingDocs(fv []*document.Reference) { 235 if m == nil { 236 panic(fmt.Errorf("can't set %s on nil %s", "SupportingDocs", "TsCondition")) 237 } 238 m.SupportingDocs = fv 239 } 240 241 func (m *TsCondition) SetSpec(fv *rcommon.TsCndSpec) { 242 if m == nil { 243 panic(fmt.Errorf("can't set %s on nil %s", "Spec", "TsCondition")) 244 } 245 m.Spec = fv 246 } 247 248 func (m *TsCondition) SetInternal(fv *TsCondition_Internal) { 249 if m == nil { 250 panic(fmt.Errorf("can't set %s on nil %s", "Internal", "TsCondition")) 251 } 252 m.Internal = fv 253 } 254 255 func (m *TsCondition) SetFilterSelector(fv *TsCondition_Selector) { 256 if m == nil { 257 panic(fmt.Errorf("can't set %s on nil %s", "FilterSelector", "TsCondition")) 258 } 259 m.FilterSelector = fv 260 } 261 262 func (m *TsCondition) SetTemplateSource(fv *TsCondition_TemplateSource) { 263 if m == nil { 264 panic(fmt.Errorf("can't set %s on nil %s", "TemplateSource", "TsCondition")) 265 } 266 m.TemplateSource = fv 267 } 268 269 // Internal data. 270 type TsCondition_Internal struct { 271 state protoimpl.MessageState 272 sizeCache protoimpl.SizeCache 273 unknownFields protoimpl.UnknownFields 274 CommonKeyKset []byte `protobuf:"bytes,1,opt,name=common_key_kset,json=commonKeyKset,proto3" json:"common_key_kset,omitempty"` 275 EntrySpecGeneration int32 `protobuf:"varint,2,opt,name=entry_spec_generation,json=entrySpecGeneration,proto3" json:"entry_spec_generation,omitempty"` 276 AlertingLocation rcommon.PolicySpec_ProcessingLocation `protobuf:"varint,3,opt,name=alerting_location,json=alertingLocation,proto3,enum=ntt.alerting.v1.PolicySpec_ProcessingLocation" json:"alerting_location,omitempty"` 277 } 278 279 func (m *TsCondition_Internal) Reset() { 280 *m = TsCondition_Internal{} 281 if protoimpl.UnsafeEnabled { 282 mi := &edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[1] 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 284 ms.StoreMessageInfo(mi) 285 } 286 } 287 288 func (m *TsCondition_Internal) String() string { 289 return protoimpl.X.MessageStringOf(m) 290 } 291 292 func (*TsCondition_Internal) ProtoMessage() {} 293 294 func (m *TsCondition_Internal) ProtoReflect() preflect.Message { 295 mi := &edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[1] 296 if protoimpl.UnsafeEnabled && m != nil { 297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 298 if ms.LoadMessageInfo() == nil { 299 ms.StoreMessageInfo(mi) 300 } 301 return ms 302 } 303 return mi.MessageOf(m) 304 } 305 306 func (*TsCondition_Internal) GotenMessage() {} 307 308 // Deprecated, Use TsCondition_Internal.ProtoReflect.Descriptor instead. 309 func (*TsCondition_Internal) Descriptor() ([]byte, []int) { 310 return edgelq_alerting_proto_v1_ts_condition_proto_rawDescGZIP(), []int{0, 0} 311 } 312 313 func (m *TsCondition_Internal) Unmarshal(b []byte) error { 314 return proto.Unmarshal(b, m) 315 } 316 317 func (m *TsCondition_Internal) Marshal() ([]byte, error) { 318 return proto.Marshal(m) 319 } 320 321 func (m *TsCondition_Internal) MarshalJSON() ([]byte, error) { 322 return protojson.MarshalOptions{}.Marshal(m) 323 } 324 325 func (m *TsCondition_Internal) UnmarshalJSON(data []byte) error { 326 return protojson.Unmarshal(data, m) 327 } 328 329 func (m *TsCondition_Internal) GetCommonKeyKset() []byte { 330 if m != nil { 331 return m.CommonKeyKset 332 } 333 return nil 334 } 335 336 func (m *TsCondition_Internal) GetEntrySpecGeneration() int32 { 337 if m != nil { 338 return m.EntrySpecGeneration 339 } 340 return int32(0) 341 } 342 343 func (m *TsCondition_Internal) GetAlertingLocation() rcommon.PolicySpec_ProcessingLocation { 344 if m != nil { 345 return m.AlertingLocation 346 } 347 return rcommon.PolicySpec_UNDEFINED 348 } 349 350 func (m *TsCondition_Internal) SetCommonKeyKset(fv []byte) { 351 if m == nil { 352 panic(fmt.Errorf("can't set %s on nil %s", "CommonKeyKset", "TsCondition_Internal")) 353 } 354 m.CommonKeyKset = fv 355 } 356 357 func (m *TsCondition_Internal) SetEntrySpecGeneration(fv int32) { 358 if m == nil { 359 panic(fmt.Errorf("can't set %s on nil %s", "EntrySpecGeneration", "TsCondition_Internal")) 360 } 361 m.EntrySpecGeneration = fv 362 } 363 364 func (m *TsCondition_Internal) SetAlertingLocation(fv rcommon.PolicySpec_ProcessingLocation) { 365 if m == nil { 366 panic(fmt.Errorf("can't set %s on nil %s", "AlertingLocation", "TsCondition_Internal")) 367 } 368 m.AlertingLocation = fv 369 } 370 371 // Selector contains detected metric/resource types and common 372 // labels used in filters from all queries. Selector facilitates 373 // filtering TsCondition resources. 374 // It is generated when TsCondition is saved (on the fly). 375 type TsCondition_Selector struct { 376 state protoimpl.MessageState 377 sizeCache protoimpl.SizeCache 378 unknownFields protoimpl.UnknownFields 379 MetricTypes []string `protobuf:"bytes,1,rep,name=metric_types,json=metricTypes,proto3" json:"metric_types,omitempty"` 380 ResourceTypes []string `protobuf:"bytes,2,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"` 381 CommonMetricLabels map[string]*TsCondition_Selector_Strings `protobuf:"bytes,3,rep,name=common_metric_labels,json=commonMetricLabels,proto3" json:"common_metric_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 382 CommonResourceLabels map[string]*TsCondition_Selector_Strings `protobuf:"bytes,4,rep,name=common_resource_labels,json=commonResourceLabels,proto3" json:"common_resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 383 } 384 385 func (m *TsCondition_Selector) Reset() { 386 *m = TsCondition_Selector{} 387 if protoimpl.UnsafeEnabled { 388 mi := &edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[2] 389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 390 ms.StoreMessageInfo(mi) 391 } 392 } 393 394 func (m *TsCondition_Selector) String() string { 395 return protoimpl.X.MessageStringOf(m) 396 } 397 398 func (*TsCondition_Selector) ProtoMessage() {} 399 400 func (m *TsCondition_Selector) ProtoReflect() preflect.Message { 401 mi := &edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[2] 402 if protoimpl.UnsafeEnabled && m != nil { 403 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 404 if ms.LoadMessageInfo() == nil { 405 ms.StoreMessageInfo(mi) 406 } 407 return ms 408 } 409 return mi.MessageOf(m) 410 } 411 412 func (*TsCondition_Selector) GotenMessage() {} 413 414 // Deprecated, Use TsCondition_Selector.ProtoReflect.Descriptor instead. 415 func (*TsCondition_Selector) Descriptor() ([]byte, []int) { 416 return edgelq_alerting_proto_v1_ts_condition_proto_rawDescGZIP(), []int{0, 1} 417 } 418 419 func (m *TsCondition_Selector) Unmarshal(b []byte) error { 420 return proto.Unmarshal(b, m) 421 } 422 423 func (m *TsCondition_Selector) Marshal() ([]byte, error) { 424 return proto.Marshal(m) 425 } 426 427 func (m *TsCondition_Selector) MarshalJSON() ([]byte, error) { 428 return protojson.MarshalOptions{}.Marshal(m) 429 } 430 431 func (m *TsCondition_Selector) UnmarshalJSON(data []byte) error { 432 return protojson.Unmarshal(data, m) 433 } 434 435 func (m *TsCondition_Selector) GetMetricTypes() []string { 436 if m != nil { 437 return m.MetricTypes 438 } 439 return nil 440 } 441 442 func (m *TsCondition_Selector) GetResourceTypes() []string { 443 if m != nil { 444 return m.ResourceTypes 445 } 446 return nil 447 } 448 449 func (m *TsCondition_Selector) GetCommonMetricLabels() map[string]*TsCondition_Selector_Strings { 450 if m != nil { 451 return m.CommonMetricLabels 452 } 453 return nil 454 } 455 456 func (m *TsCondition_Selector) GetCommonResourceLabels() map[string]*TsCondition_Selector_Strings { 457 if m != nil { 458 return m.CommonResourceLabels 459 } 460 return nil 461 } 462 463 func (m *TsCondition_Selector) SetMetricTypes(fv []string) { 464 if m == nil { 465 panic(fmt.Errorf("can't set %s on nil %s", "MetricTypes", "TsCondition_Selector")) 466 } 467 m.MetricTypes = fv 468 } 469 470 func (m *TsCondition_Selector) SetResourceTypes(fv []string) { 471 if m == nil { 472 panic(fmt.Errorf("can't set %s on nil %s", "ResourceTypes", "TsCondition_Selector")) 473 } 474 m.ResourceTypes = fv 475 } 476 477 func (m *TsCondition_Selector) SetCommonMetricLabels(fv map[string]*TsCondition_Selector_Strings) { 478 if m == nil { 479 panic(fmt.Errorf("can't set %s on nil %s", "CommonMetricLabels", "TsCondition_Selector")) 480 } 481 m.CommonMetricLabels = fv 482 } 483 484 func (m *TsCondition_Selector) SetCommonResourceLabels(fv map[string]*TsCondition_Selector_Strings) { 485 if m == nil { 486 panic(fmt.Errorf("can't set %s on nil %s", "CommonResourceLabels", "TsCondition_Selector")) 487 } 488 m.CommonResourceLabels = fv 489 } 490 491 // TemplateSource describes where condition is coming from originally. 492 type TsCondition_TemplateSource struct { 493 state protoimpl.MessageState 494 sizeCache protoimpl.SizeCache 495 unknownFields protoimpl.UnknownFields 496 // Reference to template 497 Template *log_condition_template.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=template,proto3" json:"template,omitempty"` 498 // List of modified fields compared to the template. 499 // It is a mask of Spec object. 500 UpdatedFields *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=updated_fields,json=updatedFields,proto3" json:"updated_fields,omitempty"` 501 } 502 503 func (m *TsCondition_TemplateSource) Reset() { 504 *m = TsCondition_TemplateSource{} 505 if protoimpl.UnsafeEnabled { 506 mi := &edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[3] 507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 508 ms.StoreMessageInfo(mi) 509 } 510 } 511 512 func (m *TsCondition_TemplateSource) String() string { 513 return protoimpl.X.MessageStringOf(m) 514 } 515 516 func (*TsCondition_TemplateSource) ProtoMessage() {} 517 518 func (m *TsCondition_TemplateSource) ProtoReflect() preflect.Message { 519 mi := &edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[3] 520 if protoimpl.UnsafeEnabled && m != nil { 521 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 522 if ms.LoadMessageInfo() == nil { 523 ms.StoreMessageInfo(mi) 524 } 525 return ms 526 } 527 return mi.MessageOf(m) 528 } 529 530 func (*TsCondition_TemplateSource) GotenMessage() {} 531 532 // Deprecated, Use TsCondition_TemplateSource.ProtoReflect.Descriptor instead. 533 func (*TsCondition_TemplateSource) Descriptor() ([]byte, []int) { 534 return edgelq_alerting_proto_v1_ts_condition_proto_rawDescGZIP(), []int{0, 2} 535 } 536 537 func (m *TsCondition_TemplateSource) Unmarshal(b []byte) error { 538 return proto.Unmarshal(b, m) 539 } 540 541 func (m *TsCondition_TemplateSource) Marshal() ([]byte, error) { 542 return proto.Marshal(m) 543 } 544 545 func (m *TsCondition_TemplateSource) MarshalJSON() ([]byte, error) { 546 return protojson.MarshalOptions{}.Marshal(m) 547 } 548 549 func (m *TsCondition_TemplateSource) UnmarshalJSON(data []byte) error { 550 return protojson.Unmarshal(data, m) 551 } 552 553 func (m *TsCondition_TemplateSource) GetTemplate() *log_condition_template.Reference { 554 if m != nil { 555 return m.Template 556 } 557 return nil 558 } 559 560 func (m *TsCondition_TemplateSource) GetUpdatedFields() *fieldmaskpb.FieldMask { 561 if m != nil { 562 return m.UpdatedFields 563 } 564 return nil 565 } 566 567 func (m *TsCondition_TemplateSource) SetTemplate(fv *log_condition_template.Reference) { 568 if m == nil { 569 panic(fmt.Errorf("can't set %s on nil %s", "Template", "TsCondition_TemplateSource")) 570 } 571 m.Template = fv 572 } 573 574 func (m *TsCondition_TemplateSource) SetUpdatedFields(fv *fieldmaskpb.FieldMask) { 575 if m == nil { 576 panic(fmt.Errorf("can't set %s on nil %s", "UpdatedFields", "TsCondition_TemplateSource")) 577 } 578 m.UpdatedFields = fv 579 } 580 581 type TsCondition_Selector_Strings struct { 582 state protoimpl.MessageState 583 sizeCache protoimpl.SizeCache 584 unknownFields protoimpl.UnknownFields 585 Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` 586 } 587 588 func (m *TsCondition_Selector_Strings) Reset() { 589 *m = TsCondition_Selector_Strings{} 590 if protoimpl.UnsafeEnabled { 591 mi := &edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[4] 592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 593 ms.StoreMessageInfo(mi) 594 } 595 } 596 597 func (m *TsCondition_Selector_Strings) String() string { 598 return protoimpl.X.MessageStringOf(m) 599 } 600 601 func (*TsCondition_Selector_Strings) ProtoMessage() {} 602 603 func (m *TsCondition_Selector_Strings) ProtoReflect() preflect.Message { 604 mi := &edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[4] 605 if protoimpl.UnsafeEnabled && m != nil { 606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 607 if ms.LoadMessageInfo() == nil { 608 ms.StoreMessageInfo(mi) 609 } 610 return ms 611 } 612 return mi.MessageOf(m) 613 } 614 615 func (*TsCondition_Selector_Strings) GotenMessage() {} 616 617 // Deprecated, Use TsCondition_Selector_Strings.ProtoReflect.Descriptor instead. 618 func (*TsCondition_Selector_Strings) Descriptor() ([]byte, []int) { 619 return edgelq_alerting_proto_v1_ts_condition_proto_rawDescGZIP(), []int{0, 1, 0} 620 } 621 622 func (m *TsCondition_Selector_Strings) Unmarshal(b []byte) error { 623 return proto.Unmarshal(b, m) 624 } 625 626 func (m *TsCondition_Selector_Strings) Marshal() ([]byte, error) { 627 return proto.Marshal(m) 628 } 629 630 func (m *TsCondition_Selector_Strings) MarshalJSON() ([]byte, error) { 631 return protojson.MarshalOptions{}.Marshal(m) 632 } 633 634 func (m *TsCondition_Selector_Strings) UnmarshalJSON(data []byte) error { 635 return protojson.Unmarshal(data, m) 636 } 637 638 func (m *TsCondition_Selector_Strings) GetValues() []string { 639 if m != nil { 640 return m.Values 641 } 642 return nil 643 } 644 645 func (m *TsCondition_Selector_Strings) SetValues(fv []string) { 646 if m == nil { 647 panic(fmt.Errorf("can't set %s on nil %s", "Values", "TsCondition_Selector_Strings")) 648 } 649 m.Values = fv 650 } 651 652 var edgelq_alerting_proto_v1_ts_condition_proto preflect.FileDescriptor 653 654 var edgelq_alerting_proto_v1_ts_condition_proto_rawDesc = []byte{ 655 0x0a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 656 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x73, 0x5f, 0x63, 0x6f, 657 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x6e, 658 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x19, 659 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 660 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 661 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 662 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 663 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 664 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 665 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 666 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 667 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 668 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 669 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 670 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 671 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 672 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 673 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 674 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 675 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 676 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 677 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 678 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 679 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 680 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 681 0x74, 0x6f, 0x1a, 0x25, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 682 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 683 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 684 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 685 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 686 0x98, 0x11, 0x0a, 0x0b, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 687 0x27, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x13, 0xb2, 688 0xda, 0x21, 0x0f, 0x0a, 0x0d, 0x0a, 0x0b, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 689 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 690 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 691 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 692 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 693 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xca, 694 0xc6, 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 695 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 696 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xca, 0xc6, 697 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x04, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 698 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 699 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 700 0x12, 0xb2, 0xda, 0x21, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 701 0x74, 0x10, 0x04, 0x52, 0x0e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x44, 702 0x6f, 0x63, 0x73, 0x12, 0x38, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 703 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 704 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x73, 0x43, 0x6e, 0x64, 0x53, 0x70, 0x65, 0x63, 0x42, 0x08, 0xca, 705 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x47, 0x0a, 706 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 707 0x25, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 708 0x31, 0x2e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 709 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x42, 0x04, 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x08, 0x69, 0x6e, 710 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x54, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 711 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 712 0x25, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 713 0x31, 0x2e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 714 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x04, 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x0e, 0x66, 0x69, 715 0x6c, 0x74, 0x65, 0x72, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x54, 0x0a, 0x0f, 716 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 717 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 718 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 719 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x75, 0x72, 720 0x63, 0x65, 0x52, 0x0e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x75, 0x72, 721 0x63, 0x65, 0x1a, 0xc3, 0x01, 0x0a, 0x08, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 722 0x26, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6b, 0x73, 723 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 724 0x4b, 0x65, 0x79, 0x4b, 0x73, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x6e, 0x74, 0x72, 0x79, 725 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 726 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x70, 0x65, 727 0x63, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x11, 0x61, 728 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 729 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 730 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 731 0x70, 0x65, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4c, 0x6f, 732 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 733 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xcd, 0x04, 0x0a, 0x08, 0x53, 0x65, 0x6c, 734 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 735 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x65, 0x74, 736 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 737 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 738 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 739 0x6f, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 740 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 741 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 742 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6c, 0x65, 743 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 744 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x63, 0x6f, 745 0x6d, 0x6d, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 746 0x12, 0x75, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 747 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 748 0x32, 0x3f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 749 0x76, 0x31, 0x2e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 750 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 751 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 752 0x79, 0x52, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 753 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x21, 0x0a, 0x07, 0x53, 0x74, 0x72, 0x69, 0x6e, 754 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 755 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x74, 0x0a, 0x17, 0x43, 0x6f, 756 0x6d, 0x6d, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 757 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 758 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x43, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 759 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 760 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 761 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x53, 0x74, 762 0x72, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 763 0x1a, 0x76, 0x0a, 0x19, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 764 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 765 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 766 0x43, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 767 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 768 0x2e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6c, 769 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x05, 0x76, 770 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x8f, 0x01, 0x0a, 0x0e, 0x54, 0x65, 0x6d, 771 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x74, 772 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xb2, 773 0xda, 0x21, 0x1a, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 774 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x10, 0x04, 0x52, 0x08, 0x74, 775 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 776 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 777 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 778 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0d, 0x75, 0x70, 0x64, 779 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x3a, 0xbd, 0x05, 0xea, 0x41, 0x63, 780 0x0a, 0x1f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 781 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 782 0x6e, 0x12, 0x40, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 783 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 784 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x2f, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 785 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 786 0x6f, 0x6e, 0x7d, 0x92, 0xd9, 0x21, 0x96, 0x02, 0x0a, 0x0c, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x64, 787 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x0c, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 788 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x38, 0x05, 0x42, 0x70, 789 0x08, 0x02, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 0x61, 0x6d, 0x65, 790 0x12, 0x1c, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 791 0x12, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 792 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x07, 793 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x13, 0x73, 0x70, 0x65, 0x63, 0x2e, 794 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x12, 0x10, 795 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x62, 0x79, 796 0x42, 0x7c, 0x08, 0x03, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 0x61, 797 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 798 0x6d, 0x65, 0x12, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 799 0x12, 0x1a, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 800 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0f, 801 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x12, 802 0x0f, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x64, 0x6f, 0x63, 0x73, 803 0x12, 0x0c, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x04, 0x53, 0x70, 0x65, 0x63, 0xaa, 0xd9, 804 0x21, 0x2f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 805 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 806 0x69, 0x6f, 0x6e, 0x1a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 807 0x65, 0xb2, 0xdf, 0x21, 0x86, 0x01, 0x0a, 0x83, 0x01, 0x0a, 0x80, 0x01, 0x0a, 0x0d, 0x62, 0x79, 808 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0c, 0x64, 0x69, 0x73, 809 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x2c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 810 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70, 0x6f, 811 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2d, 0x2f, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 812 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2d, 0x1a, 0x33, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 813 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 814 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x2f, 0x74, 0x73, 815 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2d, 0xda, 0x94, 0x23, 0x08, 816 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xc2, 0x85, 0x2c, 0x6e, 0x22, 0x04, 0x6e, 0x61, 817 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 818 0x22, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x0f, 0x73, 819 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x22, 0x04, 820 0x73, 0x70, 0x65, 0x63, 0x22, 0x0f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x73, 821 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 822 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x42, 0x0f, 0x66, 0x69, 0x6c, 0x74, 0x65, 823 0x72, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x42, 0xa6, 0x02, 0xe8, 0xde, 0x21, 824 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x4f, 0x0a, 0x12, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 825 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x39, 0x67, 0x69, 0x74, 0x68, 826 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 827 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 828 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 829 0x69, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x80, 0xd1, 0x02, 0x51, 0x0a, 0x13, 0x74, 0x73, 0x5f, 0x63, 830 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 831 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 832 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 833 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 834 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 835 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 836 0x2e, 0x76, 0x31, 0x42, 0x10, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 837 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 838 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 839 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x73, 840 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 841 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 842 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 843 } 844 845 var ( 846 edgelq_alerting_proto_v1_ts_condition_proto_rawDescOnce sync.Once 847 edgelq_alerting_proto_v1_ts_condition_proto_rawDescData = edgelq_alerting_proto_v1_ts_condition_proto_rawDesc 848 ) 849 850 func edgelq_alerting_proto_v1_ts_condition_proto_rawDescGZIP() []byte { 851 edgelq_alerting_proto_v1_ts_condition_proto_rawDescOnce.Do(func() { 852 edgelq_alerting_proto_v1_ts_condition_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_alerting_proto_v1_ts_condition_proto_rawDescData) 853 }) 854 return edgelq_alerting_proto_v1_ts_condition_proto_rawDescData 855 } 856 857 var edgelq_alerting_proto_v1_ts_condition_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 858 var edgelq_alerting_proto_v1_ts_condition_proto_goTypes = []interface{}{ 859 (*TsCondition)(nil), // 0: ntt.alerting.v1.TsCondition 860 (*TsCondition_Internal)(nil), // 1: ntt.alerting.v1.TsCondition.Internal 861 (*TsCondition_Selector)(nil), // 2: ntt.alerting.v1.TsCondition.Selector 862 (*TsCondition_TemplateSource)(nil), // 3: ntt.alerting.v1.TsCondition.TemplateSource 863 (*TsCondition_Selector_Strings)(nil), // 4: ntt.alerting.v1.TsCondition.Selector.Strings 864 nil, // 5: ntt.alerting.v1.TsCondition.Selector.CommonMetricLabelsEntry 865 nil, // 6: ntt.alerting.v1.TsCondition.Selector.CommonResourceLabelsEntry 866 (*meta.Meta)(nil), // 7: goten.types.Meta 867 (*rcommon.TsCndSpec)(nil), // 8: ntt.alerting.v1.TsCndSpec 868 (rcommon.PolicySpec_ProcessingLocation)(0), // 9: ntt.alerting.v1.PolicySpec_ProcessingLocation 869 (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask 870 } 871 var edgelq_alerting_proto_v1_ts_condition_proto_depIdxs = []int32{ 872 7, // 0: ntt.alerting.v1.TsCondition.metadata:type_name -> goten.types.Meta 873 8, // 1: ntt.alerting.v1.TsCondition.spec:type_name -> ntt.alerting.v1.TsCndSpec 874 1, // 2: ntt.alerting.v1.TsCondition.internal:type_name -> ntt.alerting.v1.TsCondition.Internal 875 2, // 3: ntt.alerting.v1.TsCondition.filter_selector:type_name -> ntt.alerting.v1.TsCondition.Selector 876 3, // 4: ntt.alerting.v1.TsCondition.template_source:type_name -> ntt.alerting.v1.TsCondition.TemplateSource 877 9, // 5: ntt.alerting.v1.TsCondition.Internal.alerting_location:type_name -> ntt.alerting.v1.PolicySpec_ProcessingLocation 878 5, // 6: ntt.alerting.v1.TsCondition.Selector.common_metric_labels:type_name -> ntt.alerting.v1.TsCondition.Selector.CommonMetricLabelsEntry 879 6, // 7: ntt.alerting.v1.TsCondition.Selector.common_resource_labels:type_name -> ntt.alerting.v1.TsCondition.Selector.CommonResourceLabelsEntry 880 10, // 8: ntt.alerting.v1.TsCondition.TemplateSource.updated_fields:type_name -> google.protobuf.FieldMask 881 4, // 9: ntt.alerting.v1.TsCondition.Selector.CommonMetricLabelsEntry.value:type_name -> ntt.alerting.v1.TsCondition.Selector.Strings 882 4, // 10: ntt.alerting.v1.TsCondition.Selector.CommonResourceLabelsEntry.value:type_name -> ntt.alerting.v1.TsCondition.Selector.Strings 883 11, // [11:11] is the sub-list for method output_type 884 11, // [11:11] is the sub-list for method input_type 885 11, // [11:11] is the sub-list for extension type_name 886 11, // [11:11] is the sub-list for extension extendee 887 0, // [0:11] is the sub-list for field type_name 888 } 889 890 func init() { edgelq_alerting_proto_v1_ts_condition_proto_init() } 891 func edgelq_alerting_proto_v1_ts_condition_proto_init() { 892 if edgelq_alerting_proto_v1_ts_condition_proto != nil { 893 return 894 } 895 if !protoimpl.UnsafeEnabled { 896 897 edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 898 switch v := v.(*TsCondition); i { 899 case 0: 900 return &v.state 901 case 1: 902 return &v.sizeCache 903 case 2: 904 return &v.unknownFields 905 default: 906 return nil 907 } 908 } 909 edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 910 switch v := v.(*TsCondition_Internal); i { 911 case 0: 912 return &v.state 913 case 1: 914 return &v.sizeCache 915 case 2: 916 return &v.unknownFields 917 default: 918 return nil 919 } 920 } 921 edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 922 switch v := v.(*TsCondition_Selector); i { 923 case 0: 924 return &v.state 925 case 1: 926 return &v.sizeCache 927 case 2: 928 return &v.unknownFields 929 default: 930 return nil 931 } 932 } 933 edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 934 switch v := v.(*TsCondition_TemplateSource); i { 935 case 0: 936 return &v.state 937 case 1: 938 return &v.sizeCache 939 case 2: 940 return &v.unknownFields 941 default: 942 return nil 943 } 944 } 945 edgelq_alerting_proto_v1_ts_condition_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 946 switch v := v.(*TsCondition_Selector_Strings); i { 947 case 0: 948 return &v.state 949 case 1: 950 return &v.sizeCache 951 case 2: 952 return &v.unknownFields 953 default: 954 return nil 955 } 956 } 957 } 958 959 type x struct{} 960 out := protoimpl.TypeBuilder{ 961 File: protoimpl.DescBuilder{ 962 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 963 RawDescriptor: edgelq_alerting_proto_v1_ts_condition_proto_rawDesc, 964 NumEnums: 0, 965 NumMessages: 7, 966 NumExtensions: 0, 967 NumServices: 0, 968 }, 969 GoTypes: edgelq_alerting_proto_v1_ts_condition_proto_goTypes, 970 DependencyIndexes: edgelq_alerting_proto_v1_ts_condition_proto_depIdxs, 971 MessageInfos: edgelq_alerting_proto_v1_ts_condition_proto_msgTypes, 972 }.Build() 973 edgelq_alerting_proto_v1_ts_condition_proto = out.File 974 edgelq_alerting_proto_v1_ts_condition_proto_rawDesc = nil 975 edgelq_alerting_proto_v1_ts_condition_proto_goTypes = nil 976 edgelq_alerting_proto_v1_ts_condition_proto_depIdxs = nil 977 }