github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/ts_condition_template/ts_condition_template_change.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/alerting/proto/v1/ts_condition_template_change.proto 3 // DO NOT EDIT!!! 4 5 package ts_condition_template 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 policy_template "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/policy_template" 21 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = &policy_template.PolicyTemplate{} 39 _ = &fieldmaskpb.FieldMask{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 // TsConditionTemplateChange is used by Watch notifications Responses to 50 // describe change of single TsConditionTemplate One of Added, Modified, Removed 51 type TsConditionTemplateChange struct { 52 state protoimpl.MessageState 53 sizeCache protoimpl.SizeCache 54 unknownFields protoimpl.UnknownFields 55 // TsConditionTemplate change 56 // 57 // Types that are valid to be assigned to ChangeType: 58 // *TsConditionTemplateChange_Added_ 59 // *TsConditionTemplateChange_Modified_ 60 // *TsConditionTemplateChange_Current_ 61 // *TsConditionTemplateChange_Removed_ 62 ChangeType isTsConditionTemplateChange_ChangeType `protobuf_oneof:"change_type"` 63 } 64 65 func (m *TsConditionTemplateChange) Reset() { 66 *m = TsConditionTemplateChange{} 67 if protoimpl.UnsafeEnabled { 68 mi := &edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[0] 69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 70 ms.StoreMessageInfo(mi) 71 } 72 } 73 74 func (m *TsConditionTemplateChange) String() string { 75 return protoimpl.X.MessageStringOf(m) 76 } 77 78 func (*TsConditionTemplateChange) ProtoMessage() {} 79 80 func (m *TsConditionTemplateChange) ProtoReflect() preflect.Message { 81 mi := &edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[0] 82 if protoimpl.UnsafeEnabled && m != nil { 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 84 if ms.LoadMessageInfo() == nil { 85 ms.StoreMessageInfo(mi) 86 } 87 return ms 88 } 89 return mi.MessageOf(m) 90 } 91 92 func (*TsConditionTemplateChange) GotenMessage() {} 93 94 // Deprecated, Use TsConditionTemplateChange.ProtoReflect.Descriptor instead. 95 func (*TsConditionTemplateChange) Descriptor() ([]byte, []int) { 96 return edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescGZIP(), []int{0} 97 } 98 99 func (m *TsConditionTemplateChange) Unmarshal(b []byte) error { 100 return proto.Unmarshal(b, m) 101 } 102 103 func (m *TsConditionTemplateChange) Marshal() ([]byte, error) { 104 return proto.Marshal(m) 105 } 106 107 func (m *TsConditionTemplateChange) MarshalJSON() ([]byte, error) { 108 return protojson.MarshalOptions{}.Marshal(m) 109 } 110 111 func (m *TsConditionTemplateChange) UnmarshalJSON(data []byte) error { 112 return protojson.Unmarshal(data, m) 113 } 114 115 type isTsConditionTemplateChange_ChangeType interface { 116 isTsConditionTemplateChange_ChangeType() 117 } 118 119 type TsConditionTemplateChange_Added_ struct { 120 // Added is returned when watched document is added, either created or 121 // enters Query view 122 Added *TsConditionTemplateChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof"` 123 } 124 type TsConditionTemplateChange_Modified_ struct { 125 // Modified is returned when watched document is modified 126 Modified *TsConditionTemplateChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof"` 127 } 128 type TsConditionTemplateChange_Current_ struct { 129 // Current is returned in stateless watch when document enters query view or 130 // is modified within. 131 Current *TsConditionTemplateChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof"` 132 } 133 type TsConditionTemplateChange_Removed_ struct { 134 // Removed is returned when TsConditionTemplate is deleted or leaves Query 135 // view 136 Removed *TsConditionTemplateChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof"` 137 } 138 139 func (*TsConditionTemplateChange_Added_) isTsConditionTemplateChange_ChangeType() {} 140 func (*TsConditionTemplateChange_Modified_) isTsConditionTemplateChange_ChangeType() {} 141 func (*TsConditionTemplateChange_Current_) isTsConditionTemplateChange_ChangeType() {} 142 func (*TsConditionTemplateChange_Removed_) isTsConditionTemplateChange_ChangeType() {} 143 func (m *TsConditionTemplateChange) GetChangeType() isTsConditionTemplateChange_ChangeType { 144 if m != nil { 145 return m.ChangeType 146 } 147 return nil 148 } 149 func (m *TsConditionTemplateChange) GetAdded() *TsConditionTemplateChange_Added { 150 if x, ok := m.GetChangeType().(*TsConditionTemplateChange_Added_); ok { 151 return x.Added 152 } 153 return nil 154 } 155 func (m *TsConditionTemplateChange) GetModified() *TsConditionTemplateChange_Modified { 156 if x, ok := m.GetChangeType().(*TsConditionTemplateChange_Modified_); ok { 157 return x.Modified 158 } 159 return nil 160 } 161 func (m *TsConditionTemplateChange) GetCurrent() *TsConditionTemplateChange_Current { 162 if x, ok := m.GetChangeType().(*TsConditionTemplateChange_Current_); ok { 163 return x.Current 164 } 165 return nil 166 } 167 func (m *TsConditionTemplateChange) GetRemoved() *TsConditionTemplateChange_Removed { 168 if x, ok := m.GetChangeType().(*TsConditionTemplateChange_Removed_); ok { 169 return x.Removed 170 } 171 return nil 172 } 173 func (m *TsConditionTemplateChange) SetChangeType(ofv isTsConditionTemplateChange_ChangeType) { 174 if m == nil { 175 panic(fmt.Errorf("can't set %s on nil %s", "isTsConditionTemplateChange_ChangeType", "TsConditionTemplateChange")) 176 } 177 m.ChangeType = ofv 178 } 179 func (m *TsConditionTemplateChange) SetAdded(fv *TsConditionTemplateChange_Added) { 180 m.SetChangeType(&TsConditionTemplateChange_Added_{Added: fv}) 181 } 182 func (m *TsConditionTemplateChange) SetModified(fv *TsConditionTemplateChange_Modified) { 183 m.SetChangeType(&TsConditionTemplateChange_Modified_{Modified: fv}) 184 } 185 func (m *TsConditionTemplateChange) SetCurrent(fv *TsConditionTemplateChange_Current) { 186 m.SetChangeType(&TsConditionTemplateChange_Current_{Current: fv}) 187 } 188 func (m *TsConditionTemplateChange) SetRemoved(fv *TsConditionTemplateChange_Removed) { 189 m.SetChangeType(&TsConditionTemplateChange_Removed_{Removed: fv}) 190 } 191 192 // TsConditionTemplate has been added to query view 193 type TsConditionTemplateChange_Added struct { 194 state protoimpl.MessageState 195 sizeCache protoimpl.SizeCache 196 unknownFields protoimpl.UnknownFields 197 TsConditionTemplate *TsConditionTemplate `protobuf:"bytes,1,opt,name=ts_condition_template,json=tsConditionTemplate,proto3" json:"ts_condition_template,omitempty"` 198 // Integer describing index of added TsConditionTemplate in resulting query 199 // view. 200 ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 201 } 202 203 func (m *TsConditionTemplateChange_Added) Reset() { 204 *m = TsConditionTemplateChange_Added{} 205 if protoimpl.UnsafeEnabled { 206 mi := &edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[1] 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 208 ms.StoreMessageInfo(mi) 209 } 210 } 211 212 func (m *TsConditionTemplateChange_Added) String() string { 213 return protoimpl.X.MessageStringOf(m) 214 } 215 216 func (*TsConditionTemplateChange_Added) ProtoMessage() {} 217 218 func (m *TsConditionTemplateChange_Added) ProtoReflect() preflect.Message { 219 mi := &edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[1] 220 if protoimpl.UnsafeEnabled && m != nil { 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 222 if ms.LoadMessageInfo() == nil { 223 ms.StoreMessageInfo(mi) 224 } 225 return ms 226 } 227 return mi.MessageOf(m) 228 } 229 230 func (*TsConditionTemplateChange_Added) GotenMessage() {} 231 232 // Deprecated, Use TsConditionTemplateChange_Added.ProtoReflect.Descriptor instead. 233 func (*TsConditionTemplateChange_Added) Descriptor() ([]byte, []int) { 234 return edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescGZIP(), []int{0, 0} 235 } 236 237 func (m *TsConditionTemplateChange_Added) Unmarshal(b []byte) error { 238 return proto.Unmarshal(b, m) 239 } 240 241 func (m *TsConditionTemplateChange_Added) Marshal() ([]byte, error) { 242 return proto.Marshal(m) 243 } 244 245 func (m *TsConditionTemplateChange_Added) MarshalJSON() ([]byte, error) { 246 return protojson.MarshalOptions{}.Marshal(m) 247 } 248 249 func (m *TsConditionTemplateChange_Added) UnmarshalJSON(data []byte) error { 250 return protojson.Unmarshal(data, m) 251 } 252 253 func (m *TsConditionTemplateChange_Added) GetTsConditionTemplate() *TsConditionTemplate { 254 if m != nil { 255 return m.TsConditionTemplate 256 } 257 return nil 258 } 259 260 func (m *TsConditionTemplateChange_Added) GetViewIndex() int32 { 261 if m != nil { 262 return m.ViewIndex 263 } 264 return int32(0) 265 } 266 267 func (m *TsConditionTemplateChange_Added) SetTsConditionTemplate(fv *TsConditionTemplate) { 268 if m == nil { 269 panic(fmt.Errorf("can't set %s on nil %s", "TsConditionTemplate", "TsConditionTemplateChange_Added")) 270 } 271 m.TsConditionTemplate = fv 272 } 273 274 func (m *TsConditionTemplateChange_Added) SetViewIndex(fv int32) { 275 if m == nil { 276 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "TsConditionTemplateChange_Added")) 277 } 278 m.ViewIndex = fv 279 } 280 281 // TsConditionTemplate changed some of it's fields - contains either full 282 // document or masked change 283 type TsConditionTemplateChange_Modified struct { 284 state protoimpl.MessageState 285 sizeCache protoimpl.SizeCache 286 unknownFields protoimpl.UnknownFields 287 // Name of modified TsConditionTemplate 288 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 289 // New version of TsConditionTemplate or masked difference, depending on 290 // mask_changes instrumentation of issued [WatchTsConditionTemplateRequest] 291 // or [WatchTsConditionTemplatesRequest] 292 TsConditionTemplate *TsConditionTemplate `protobuf:"bytes,2,opt,name=ts_condition_template,json=tsConditionTemplate,proto3" json:"ts_condition_template,omitempty"` 293 // Used when mask_changes is set, contains field paths of modified 294 // properties. 295 FieldMask *TsConditionTemplate_FieldMask `protobuf:"bytes,3,opt,customtype=TsConditionTemplate_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 296 // Previous view index specifies previous position of modified 297 // TsConditionTemplate. When modification doesn't affect sorted order, value 298 // will remain identical to [view_index]. 299 PreviousViewIndex int32 `protobuf:"varint,4,opt,name=previous_view_index,json=previousViewIndex,proto3" json:"previous_view_index,omitempty"` 300 // Integer specifying TsConditionTemplate new index in resulting query view. 301 ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 302 } 303 304 func (m *TsConditionTemplateChange_Modified) Reset() { 305 *m = TsConditionTemplateChange_Modified{} 306 if protoimpl.UnsafeEnabled { 307 mi := &edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[2] 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 309 ms.StoreMessageInfo(mi) 310 } 311 } 312 313 func (m *TsConditionTemplateChange_Modified) String() string { 314 return protoimpl.X.MessageStringOf(m) 315 } 316 317 func (*TsConditionTemplateChange_Modified) ProtoMessage() {} 318 319 func (m *TsConditionTemplateChange_Modified) ProtoReflect() preflect.Message { 320 mi := &edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[2] 321 if protoimpl.UnsafeEnabled && m != nil { 322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 323 if ms.LoadMessageInfo() == nil { 324 ms.StoreMessageInfo(mi) 325 } 326 return ms 327 } 328 return mi.MessageOf(m) 329 } 330 331 func (*TsConditionTemplateChange_Modified) GotenMessage() {} 332 333 // Deprecated, Use TsConditionTemplateChange_Modified.ProtoReflect.Descriptor instead. 334 func (*TsConditionTemplateChange_Modified) Descriptor() ([]byte, []int) { 335 return edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescGZIP(), []int{0, 1} 336 } 337 338 func (m *TsConditionTemplateChange_Modified) Unmarshal(b []byte) error { 339 return proto.Unmarshal(b, m) 340 } 341 342 func (m *TsConditionTemplateChange_Modified) Marshal() ([]byte, error) { 343 return proto.Marshal(m) 344 } 345 346 func (m *TsConditionTemplateChange_Modified) MarshalJSON() ([]byte, error) { 347 return protojson.MarshalOptions{}.Marshal(m) 348 } 349 350 func (m *TsConditionTemplateChange_Modified) UnmarshalJSON(data []byte) error { 351 return protojson.Unmarshal(data, m) 352 } 353 354 func (m *TsConditionTemplateChange_Modified) GetName() *Name { 355 if m != nil { 356 return m.Name 357 } 358 return nil 359 } 360 361 func (m *TsConditionTemplateChange_Modified) GetTsConditionTemplate() *TsConditionTemplate { 362 if m != nil { 363 return m.TsConditionTemplate 364 } 365 return nil 366 } 367 368 func (m *TsConditionTemplateChange_Modified) GetFieldMask() *TsConditionTemplate_FieldMask { 369 if m != nil { 370 return m.FieldMask 371 } 372 return nil 373 } 374 375 func (m *TsConditionTemplateChange_Modified) GetPreviousViewIndex() int32 { 376 if m != nil { 377 return m.PreviousViewIndex 378 } 379 return int32(0) 380 } 381 382 func (m *TsConditionTemplateChange_Modified) GetViewIndex() int32 { 383 if m != nil { 384 return m.ViewIndex 385 } 386 return int32(0) 387 } 388 389 func (m *TsConditionTemplateChange_Modified) SetName(fv *Name) { 390 if m == nil { 391 panic(fmt.Errorf("can't set %s on nil %s", "Name", "TsConditionTemplateChange_Modified")) 392 } 393 m.Name = fv 394 } 395 396 func (m *TsConditionTemplateChange_Modified) SetTsConditionTemplate(fv *TsConditionTemplate) { 397 if m == nil { 398 panic(fmt.Errorf("can't set %s on nil %s", "TsConditionTemplate", "TsConditionTemplateChange_Modified")) 399 } 400 m.TsConditionTemplate = fv 401 } 402 403 func (m *TsConditionTemplateChange_Modified) SetFieldMask(fv *TsConditionTemplate_FieldMask) { 404 if m == nil { 405 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "TsConditionTemplateChange_Modified")) 406 } 407 m.FieldMask = fv 408 } 409 410 func (m *TsConditionTemplateChange_Modified) SetPreviousViewIndex(fv int32) { 411 if m == nil { 412 panic(fmt.Errorf("can't set %s on nil %s", "PreviousViewIndex", "TsConditionTemplateChange_Modified")) 413 } 414 m.PreviousViewIndex = fv 415 } 416 417 func (m *TsConditionTemplateChange_Modified) SetViewIndex(fv int32) { 418 if m == nil { 419 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "TsConditionTemplateChange_Modified")) 420 } 421 m.ViewIndex = fv 422 } 423 424 // TsConditionTemplate has been added or modified in a query view. Version 425 // used for stateless watching 426 type TsConditionTemplateChange_Current struct { 427 state protoimpl.MessageState 428 sizeCache protoimpl.SizeCache 429 unknownFields protoimpl.UnknownFields 430 TsConditionTemplate *TsConditionTemplate `protobuf:"bytes,1,opt,name=ts_condition_template,json=tsConditionTemplate,proto3" json:"ts_condition_template,omitempty"` 431 } 432 433 func (m *TsConditionTemplateChange_Current) Reset() { 434 *m = TsConditionTemplateChange_Current{} 435 if protoimpl.UnsafeEnabled { 436 mi := &edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[3] 437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 438 ms.StoreMessageInfo(mi) 439 } 440 } 441 442 func (m *TsConditionTemplateChange_Current) String() string { 443 return protoimpl.X.MessageStringOf(m) 444 } 445 446 func (*TsConditionTemplateChange_Current) ProtoMessage() {} 447 448 func (m *TsConditionTemplateChange_Current) ProtoReflect() preflect.Message { 449 mi := &edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[3] 450 if protoimpl.UnsafeEnabled && m != nil { 451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 452 if ms.LoadMessageInfo() == nil { 453 ms.StoreMessageInfo(mi) 454 } 455 return ms 456 } 457 return mi.MessageOf(m) 458 } 459 460 func (*TsConditionTemplateChange_Current) GotenMessage() {} 461 462 // Deprecated, Use TsConditionTemplateChange_Current.ProtoReflect.Descriptor instead. 463 func (*TsConditionTemplateChange_Current) Descriptor() ([]byte, []int) { 464 return edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescGZIP(), []int{0, 2} 465 } 466 467 func (m *TsConditionTemplateChange_Current) Unmarshal(b []byte) error { 468 return proto.Unmarshal(b, m) 469 } 470 471 func (m *TsConditionTemplateChange_Current) Marshal() ([]byte, error) { 472 return proto.Marshal(m) 473 } 474 475 func (m *TsConditionTemplateChange_Current) MarshalJSON() ([]byte, error) { 476 return protojson.MarshalOptions{}.Marshal(m) 477 } 478 479 func (m *TsConditionTemplateChange_Current) UnmarshalJSON(data []byte) error { 480 return protojson.Unmarshal(data, m) 481 } 482 483 func (m *TsConditionTemplateChange_Current) GetTsConditionTemplate() *TsConditionTemplate { 484 if m != nil { 485 return m.TsConditionTemplate 486 } 487 return nil 488 } 489 490 func (m *TsConditionTemplateChange_Current) SetTsConditionTemplate(fv *TsConditionTemplate) { 491 if m == nil { 492 panic(fmt.Errorf("can't set %s on nil %s", "TsConditionTemplate", "TsConditionTemplateChange_Current")) 493 } 494 m.TsConditionTemplate = fv 495 } 496 497 // Removed is returned when TsConditionTemplate is deleted or leaves Query 498 // view 499 type TsConditionTemplateChange_Removed struct { 500 state protoimpl.MessageState 501 sizeCache protoimpl.SizeCache 502 unknownFields protoimpl.UnknownFields 503 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 504 // Integer specifying removed TsConditionTemplate index. Not populated in 505 // stateless watch type. 506 ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 507 } 508 509 func (m *TsConditionTemplateChange_Removed) Reset() { 510 *m = TsConditionTemplateChange_Removed{} 511 if protoimpl.UnsafeEnabled { 512 mi := &edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[4] 513 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 514 ms.StoreMessageInfo(mi) 515 } 516 } 517 518 func (m *TsConditionTemplateChange_Removed) String() string { 519 return protoimpl.X.MessageStringOf(m) 520 } 521 522 func (*TsConditionTemplateChange_Removed) ProtoMessage() {} 523 524 func (m *TsConditionTemplateChange_Removed) ProtoReflect() preflect.Message { 525 mi := &edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[4] 526 if protoimpl.UnsafeEnabled && m != nil { 527 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 528 if ms.LoadMessageInfo() == nil { 529 ms.StoreMessageInfo(mi) 530 } 531 return ms 532 } 533 return mi.MessageOf(m) 534 } 535 536 func (*TsConditionTemplateChange_Removed) GotenMessage() {} 537 538 // Deprecated, Use TsConditionTemplateChange_Removed.ProtoReflect.Descriptor instead. 539 func (*TsConditionTemplateChange_Removed) Descriptor() ([]byte, []int) { 540 return edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescGZIP(), []int{0, 3} 541 } 542 543 func (m *TsConditionTemplateChange_Removed) Unmarshal(b []byte) error { 544 return proto.Unmarshal(b, m) 545 } 546 547 func (m *TsConditionTemplateChange_Removed) Marshal() ([]byte, error) { 548 return proto.Marshal(m) 549 } 550 551 func (m *TsConditionTemplateChange_Removed) MarshalJSON() ([]byte, error) { 552 return protojson.MarshalOptions{}.Marshal(m) 553 } 554 555 func (m *TsConditionTemplateChange_Removed) UnmarshalJSON(data []byte) error { 556 return protojson.Unmarshal(data, m) 557 } 558 559 func (m *TsConditionTemplateChange_Removed) GetName() *Name { 560 if m != nil { 561 return m.Name 562 } 563 return nil 564 } 565 566 func (m *TsConditionTemplateChange_Removed) GetViewIndex() int32 { 567 if m != nil { 568 return m.ViewIndex 569 } 570 return int32(0) 571 } 572 573 func (m *TsConditionTemplateChange_Removed) SetName(fv *Name) { 574 if m == nil { 575 panic(fmt.Errorf("can't set %s on nil %s", "Name", "TsConditionTemplateChange_Removed")) 576 } 577 m.Name = fv 578 } 579 580 func (m *TsConditionTemplateChange_Removed) SetViewIndex(fv int32) { 581 if m == nil { 582 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "TsConditionTemplateChange_Removed")) 583 } 584 m.ViewIndex = fv 585 } 586 587 var edgelq_alerting_proto_v1_ts_condition_template_change_proto preflect.FileDescriptor 588 589 var edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDesc = []byte{ 590 0x0a, 0x3b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 591 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x73, 0x5f, 0x63, 0x6f, 592 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 593 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x6e, 594 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x19, 595 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 596 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 597 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 598 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 599 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 600 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 601 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 602 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x65, 0x64, 603 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 604 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 605 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 606 0x74, 0x6f, 0x22, 0x84, 0x08, 0x0a, 0x19, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 607 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 608 0x12, 0x48, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 609 0x30, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 610 0x31, 0x2e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 611 0x70, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x65, 612 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x12, 0x51, 0x0a, 0x08, 0x6d, 0x6f, 613 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6e, 614 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 615 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 616 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 617 0x64, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x4e, 0x0a, 618 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 619 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 620 0x2e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 621 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x43, 0x75, 0x72, 0x72, 0x65, 622 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4e, 0x0a, 623 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 624 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 625 0x2e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 626 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 627 0x65, 0x64, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x1a, 0x80, 0x01, 628 0x0a, 0x05, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x58, 0x0a, 0x15, 0x74, 0x73, 0x5f, 0x63, 0x6f, 629 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 630 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 631 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 632 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x13, 0x74, 0x73, 633 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 634 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 635 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 636 0x1a, 0xbc, 0x02, 0x0a, 0x08, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x2f, 0x0a, 637 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1b, 0xb2, 0xda, 0x21, 638 0x17, 0x0a, 0x15, 0x0a, 0x13, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 639 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x58, 640 0x0a, 0x15, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 641 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 642 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 643 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 644 0x61, 0x74, 0x65, 0x52, 0x13, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 645 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 646 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 647 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 648 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x1b, 0xb2, 0xda, 0x21, 0x17, 0x32, 0x15, 649 0x0a, 0x13, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 650 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 651 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x76, 0x69, 0x65, 652 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x70, 653 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x56, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 654 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 655 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 656 0x63, 0x0a, 0x07, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x58, 0x0a, 0x15, 0x74, 0x73, 657 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 658 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 659 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x73, 0x43, 0x6f, 660 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 661 0x13, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 662 0x6c, 0x61, 0x74, 0x65, 0x1a, 0x59, 0x0a, 0x07, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 663 0x2f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1b, 0xb2, 664 0xda, 0x21, 0x17, 0x0a, 0x15, 0x0a, 0x13, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 665 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 666 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 667 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x3a, 668 0x19, 0x9a, 0xd9, 0x21, 0x15, 0x0a, 0x13, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 669 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x68, 670 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x9c, 0x01, 0xe8, 0xde, 0x21, 0x00, 671 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 672 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x1e, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 673 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 674 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x5c, 0x67, 0x69, 0x74, 0x68, 675 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 676 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 677 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x73, 0x5f, 678 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 679 0x74, 0x65, 0x3b, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 680 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 681 } 682 683 var ( 684 edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescOnce sync.Once 685 edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescData = edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDesc 686 ) 687 688 func edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescGZIP() []byte { 689 edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescOnce.Do(func() { 690 edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescData) 691 }) 692 return edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDescData 693 } 694 695 var edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 696 var edgelq_alerting_proto_v1_ts_condition_template_change_proto_goTypes = []interface{}{ 697 (*TsConditionTemplateChange)(nil), // 0: ntt.alerting.v1.TsConditionTemplateChange 698 (*TsConditionTemplateChange_Added)(nil), // 1: ntt.alerting.v1.TsConditionTemplateChange.Added 699 (*TsConditionTemplateChange_Modified)(nil), // 2: ntt.alerting.v1.TsConditionTemplateChange.Modified 700 (*TsConditionTemplateChange_Current)(nil), // 3: ntt.alerting.v1.TsConditionTemplateChange.Current 701 (*TsConditionTemplateChange_Removed)(nil), // 4: ntt.alerting.v1.TsConditionTemplateChange.Removed 702 (*TsConditionTemplate)(nil), // 5: ntt.alerting.v1.TsConditionTemplate 703 (*TsConditionTemplate_FieldMask)(nil), // 6: ntt.alerting.v1.TsConditionTemplate_FieldMask 704 } 705 var edgelq_alerting_proto_v1_ts_condition_template_change_proto_depIdxs = []int32{ 706 1, // 0: ntt.alerting.v1.TsConditionTemplateChange.added:type_name -> ntt.alerting.v1.TsConditionTemplateChange.Added 707 2, // 1: ntt.alerting.v1.TsConditionTemplateChange.modified:type_name -> ntt.alerting.v1.TsConditionTemplateChange.Modified 708 3, // 2: ntt.alerting.v1.TsConditionTemplateChange.current:type_name -> ntt.alerting.v1.TsConditionTemplateChange.Current 709 4, // 3: ntt.alerting.v1.TsConditionTemplateChange.removed:type_name -> ntt.alerting.v1.TsConditionTemplateChange.Removed 710 5, // 4: ntt.alerting.v1.TsConditionTemplateChange.Added.ts_condition_template:type_name -> ntt.alerting.v1.TsConditionTemplate 711 5, // 5: ntt.alerting.v1.TsConditionTemplateChange.Modified.ts_condition_template:type_name -> ntt.alerting.v1.TsConditionTemplate 712 6, // 6: ntt.alerting.v1.TsConditionTemplateChange.Modified.field_mask:type_name -> ntt.alerting.v1.TsConditionTemplate_FieldMask 713 5, // 7: ntt.alerting.v1.TsConditionTemplateChange.Current.ts_condition_template:type_name -> ntt.alerting.v1.TsConditionTemplate 714 8, // [8:8] is the sub-list for method output_type 715 8, // [8:8] is the sub-list for method input_type 716 8, // [8:8] is the sub-list for extension type_name 717 8, // [8:8] is the sub-list for extension extendee 718 0, // [0:8] is the sub-list for field type_name 719 } 720 721 func init() { edgelq_alerting_proto_v1_ts_condition_template_change_proto_init() } 722 func edgelq_alerting_proto_v1_ts_condition_template_change_proto_init() { 723 if edgelq_alerting_proto_v1_ts_condition_template_change_proto != nil { 724 return 725 } 726 if !protoimpl.UnsafeEnabled { 727 728 edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 729 switch v := v.(*TsConditionTemplateChange); i { 730 case 0: 731 return &v.state 732 case 1: 733 return &v.sizeCache 734 case 2: 735 return &v.unknownFields 736 default: 737 return nil 738 } 739 } 740 edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 741 switch v := v.(*TsConditionTemplateChange_Added); i { 742 case 0: 743 return &v.state 744 case 1: 745 return &v.sizeCache 746 case 2: 747 return &v.unknownFields 748 default: 749 return nil 750 } 751 } 752 edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 753 switch v := v.(*TsConditionTemplateChange_Modified); i { 754 case 0: 755 return &v.state 756 case 1: 757 return &v.sizeCache 758 case 2: 759 return &v.unknownFields 760 default: 761 return nil 762 } 763 } 764 edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 765 switch v := v.(*TsConditionTemplateChange_Current); i { 766 case 0: 767 return &v.state 768 case 1: 769 return &v.sizeCache 770 case 2: 771 return &v.unknownFields 772 default: 773 return nil 774 } 775 } 776 edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 777 switch v := v.(*TsConditionTemplateChange_Removed); i { 778 case 0: 779 return &v.state 780 case 1: 781 return &v.sizeCache 782 case 2: 783 return &v.unknownFields 784 default: 785 return nil 786 } 787 } 788 } 789 790 edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes[0].OneofWrappers = []interface{}{ 791 (*TsConditionTemplateChange_Added_)(nil), 792 (*TsConditionTemplateChange_Modified_)(nil), 793 (*TsConditionTemplateChange_Current_)(nil), 794 (*TsConditionTemplateChange_Removed_)(nil), 795 } 796 type x struct{} 797 out := protoimpl.TypeBuilder{ 798 File: protoimpl.DescBuilder{ 799 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 800 RawDescriptor: edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDesc, 801 NumEnums: 0, 802 NumMessages: 5, 803 NumExtensions: 0, 804 NumServices: 0, 805 }, 806 GoTypes: edgelq_alerting_proto_v1_ts_condition_template_change_proto_goTypes, 807 DependencyIndexes: edgelq_alerting_proto_v1_ts_condition_template_change_proto_depIdxs, 808 MessageInfos: edgelq_alerting_proto_v1_ts_condition_template_change_proto_msgTypes, 809 }.Build() 810 edgelq_alerting_proto_v1_ts_condition_template_change_proto = out.File 811 edgelq_alerting_proto_v1_ts_condition_template_change_proto_rawDesc = nil 812 edgelq_alerting_proto_v1_ts_condition_template_change_proto_goTypes = nil 813 edgelq_alerting_proto_v1_ts_condition_template_change_proto_depIdxs = nil 814 }