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