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