go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/generic/manager.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: ligato/generic/manager.proto 6 7 package generic 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 anypb "google.golang.org/protobuf/types/known/anypb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type UpdateResult_Operation int32 25 26 const ( 27 UpdateResult_UNSPECIFIED UpdateResult_Operation = 0 28 UpdateResult_CREATE UpdateResult_Operation = 1 29 UpdateResult_UPDATE UpdateResult_Operation = 2 30 UpdateResult_DELETE UpdateResult_Operation = 3 31 ) 32 33 // Enum value maps for UpdateResult_Operation. 34 var ( 35 UpdateResult_Operation_name = map[int32]string{ 36 0: "UNSPECIFIED", 37 1: "CREATE", 38 2: "UPDATE", 39 3: "DELETE", 40 } 41 UpdateResult_Operation_value = map[string]int32{ 42 "UNSPECIFIED": 0, 43 "CREATE": 1, 44 "UPDATE": 2, 45 "DELETE": 3, 46 } 47 ) 48 49 func (x UpdateResult_Operation) Enum() *UpdateResult_Operation { 50 p := new(UpdateResult_Operation) 51 *p = x 52 return p 53 } 54 55 func (x UpdateResult_Operation) String() string { 56 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 57 } 58 59 func (UpdateResult_Operation) Descriptor() protoreflect.EnumDescriptor { 60 return file_ligato_generic_manager_proto_enumTypes[0].Descriptor() 61 } 62 63 func (UpdateResult_Operation) Type() protoreflect.EnumType { 64 return &file_ligato_generic_manager_proto_enumTypes[0] 65 } 66 67 func (x UpdateResult_Operation) Number() protoreflect.EnumNumber { 68 return protoreflect.EnumNumber(x) 69 } 70 71 // Deprecated: Use UpdateResult_Operation.Descriptor instead. 72 func (UpdateResult_Operation) EnumDescriptor() ([]byte, []int) { 73 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{6, 0} 74 } 75 76 // Item represents single instance described by the Model. 77 type Item struct { 78 state protoimpl.MessageState 79 sizeCache protoimpl.SizeCache 80 unknownFields protoimpl.UnknownFields 81 82 Id *Item_ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 83 Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 84 } 85 86 func (x *Item) Reset() { 87 *x = Item{} 88 if protoimpl.UnsafeEnabled { 89 mi := &file_ligato_generic_manager_proto_msgTypes[0] 90 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 91 ms.StoreMessageInfo(mi) 92 } 93 } 94 95 func (x *Item) String() string { 96 return protoimpl.X.MessageStringOf(x) 97 } 98 99 func (*Item) ProtoMessage() {} 100 101 func (x *Item) ProtoReflect() protoreflect.Message { 102 mi := &file_ligato_generic_manager_proto_msgTypes[0] 103 if protoimpl.UnsafeEnabled && x != nil { 104 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 105 if ms.LoadMessageInfo() == nil { 106 ms.StoreMessageInfo(mi) 107 } 108 return ms 109 } 110 return mi.MessageOf(x) 111 } 112 113 // Deprecated: Use Item.ProtoReflect.Descriptor instead. 114 func (*Item) Descriptor() ([]byte, []int) { 115 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{0} 116 } 117 118 func (x *Item) GetId() *Item_ID { 119 if x != nil { 120 return x.Id 121 } 122 return nil 123 } 124 125 func (x *Item) GetData() *Data { 126 if x != nil { 127 return x.Data 128 } 129 return nil 130 } 131 132 // Data represents encoded data for an item. 133 type Data struct { 134 state protoimpl.MessageState 135 sizeCache protoimpl.SizeCache 136 unknownFields protoimpl.UnknownFields 137 138 // Types that are assignable to Union: 139 // *Data_Any 140 Union isData_Union `protobuf_oneof:"union"` 141 } 142 143 func (x *Data) Reset() { 144 *x = Data{} 145 if protoimpl.UnsafeEnabled { 146 mi := &file_ligato_generic_manager_proto_msgTypes[1] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 148 ms.StoreMessageInfo(mi) 149 } 150 } 151 152 func (x *Data) String() string { 153 return protoimpl.X.MessageStringOf(x) 154 } 155 156 func (*Data) ProtoMessage() {} 157 158 func (x *Data) ProtoReflect() protoreflect.Message { 159 mi := &file_ligato_generic_manager_proto_msgTypes[1] 160 if protoimpl.UnsafeEnabled && x != nil { 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 162 if ms.LoadMessageInfo() == nil { 163 ms.StoreMessageInfo(mi) 164 } 165 return ms 166 } 167 return mi.MessageOf(x) 168 } 169 170 // Deprecated: Use Data.ProtoReflect.Descriptor instead. 171 func (*Data) Descriptor() ([]byte, []int) { 172 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{1} 173 } 174 175 func (m *Data) GetUnion() isData_Union { 176 if m != nil { 177 return m.Union 178 } 179 return nil 180 } 181 182 func (x *Data) GetAny() *anypb.Any { 183 if x, ok := x.GetUnion().(*Data_Any); ok { 184 return x.Any 185 } 186 return nil 187 } 188 189 type isData_Union interface { 190 isData_Union() 191 } 192 193 type Data_Any struct { 194 Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3,oneof"` 195 } 196 197 func (*Data_Any) isData_Union() {} 198 199 // Item status describes status of an item. 200 type ItemStatus struct { 201 state protoimpl.MessageState 202 sizeCache protoimpl.SizeCache 203 unknownFields protoimpl.UnknownFields 204 205 Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` 206 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 207 } 208 209 func (x *ItemStatus) Reset() { 210 *x = ItemStatus{} 211 if protoimpl.UnsafeEnabled { 212 mi := &file_ligato_generic_manager_proto_msgTypes[2] 213 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 214 ms.StoreMessageInfo(mi) 215 } 216 } 217 218 func (x *ItemStatus) String() string { 219 return protoimpl.X.MessageStringOf(x) 220 } 221 222 func (*ItemStatus) ProtoMessage() {} 223 224 func (x *ItemStatus) ProtoReflect() protoreflect.Message { 225 mi := &file_ligato_generic_manager_proto_msgTypes[2] 226 if protoimpl.UnsafeEnabled && x != nil { 227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 228 if ms.LoadMessageInfo() == nil { 229 ms.StoreMessageInfo(mi) 230 } 231 return ms 232 } 233 return mi.MessageOf(x) 234 } 235 236 // Deprecated: Use ItemStatus.ProtoReflect.Descriptor instead. 237 func (*ItemStatus) Descriptor() ([]byte, []int) { 238 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{2} 239 } 240 241 func (x *ItemStatus) GetStatus() string { 242 if x != nil { 243 return x.Status 244 } 245 return "" 246 } 247 248 func (x *ItemStatus) GetMessage() string { 249 if x != nil { 250 return x.Message 251 } 252 return "" 253 } 254 255 type SetConfigRequest struct { 256 state protoimpl.MessageState 257 sizeCache protoimpl.SizeCache 258 unknownFields protoimpl.UnknownFields 259 260 Updates []*UpdateItem `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` 261 // The overwrite_all can be set to true to overwrite all other configuration 262 // (this is also known as Full Resync) 263 OverwriteAll bool `protobuf:"varint,2,opt,name=overwrite_all,json=overwriteAll,proto3" json:"overwrite_all,omitempty"` 264 } 265 266 func (x *SetConfigRequest) Reset() { 267 *x = SetConfigRequest{} 268 if protoimpl.UnsafeEnabled { 269 mi := &file_ligato_generic_manager_proto_msgTypes[3] 270 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 271 ms.StoreMessageInfo(mi) 272 } 273 } 274 275 func (x *SetConfigRequest) String() string { 276 return protoimpl.X.MessageStringOf(x) 277 } 278 279 func (*SetConfigRequest) ProtoMessage() {} 280 281 func (x *SetConfigRequest) ProtoReflect() protoreflect.Message { 282 mi := &file_ligato_generic_manager_proto_msgTypes[3] 283 if protoimpl.UnsafeEnabled && x != nil { 284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 285 if ms.LoadMessageInfo() == nil { 286 ms.StoreMessageInfo(mi) 287 } 288 return ms 289 } 290 return mi.MessageOf(x) 291 } 292 293 // Deprecated: Use SetConfigRequest.ProtoReflect.Descriptor instead. 294 func (*SetConfigRequest) Descriptor() ([]byte, []int) { 295 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{3} 296 } 297 298 func (x *SetConfigRequest) GetUpdates() []*UpdateItem { 299 if x != nil { 300 return x.Updates 301 } 302 return nil 303 } 304 305 func (x *SetConfigRequest) GetOverwriteAll() bool { 306 if x != nil { 307 return x.OverwriteAll 308 } 309 return false 310 } 311 312 type SetConfigResponse struct { 313 state protoimpl.MessageState 314 sizeCache protoimpl.SizeCache 315 unknownFields protoimpl.UnknownFields 316 317 Results []*UpdateResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` 318 } 319 320 func (x *SetConfigResponse) Reset() { 321 *x = SetConfigResponse{} 322 if protoimpl.UnsafeEnabled { 323 mi := &file_ligato_generic_manager_proto_msgTypes[4] 324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 325 ms.StoreMessageInfo(mi) 326 } 327 } 328 329 func (x *SetConfigResponse) String() string { 330 return protoimpl.X.MessageStringOf(x) 331 } 332 333 func (*SetConfigResponse) ProtoMessage() {} 334 335 func (x *SetConfigResponse) ProtoReflect() protoreflect.Message { 336 mi := &file_ligato_generic_manager_proto_msgTypes[4] 337 if protoimpl.UnsafeEnabled && x != nil { 338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 339 if ms.LoadMessageInfo() == nil { 340 ms.StoreMessageInfo(mi) 341 } 342 return ms 343 } 344 return mi.MessageOf(x) 345 } 346 347 // Deprecated: Use SetConfigResponse.ProtoReflect.Descriptor instead. 348 func (*SetConfigResponse) Descriptor() ([]byte, []int) { 349 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{4} 350 } 351 352 func (x *SetConfigResponse) GetResults() []*UpdateResult { 353 if x != nil { 354 return x.Results 355 } 356 return nil 357 } 358 359 type UpdateItem struct { 360 state protoimpl.MessageState 361 sizeCache protoimpl.SizeCache 362 unknownFields protoimpl.UnknownFields 363 364 // The item describes item to be updated. 365 // For a delete operation set fields item.Data to nil. 366 Item *Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` 367 // The labels can be used to define user-defined labels for item. 368 // Label is string key-value pair associated with configuration item. 369 // Label key format guidelines: label key should be a lower-case alphanumeric 370 // string which may contain periods and hyphens (but it should not contain 371 // consecutive periods/hyphens and it should not start with period/hyphen). 372 // Labels for configuration items should be prefixed with the reverse DNS 373 // notation of a domain they originate from (with domain owner's permission) 374 // for example: com.example.foo-bar-label. 375 // The io.ligato.* and ligato.* prefixes are reserved by vpp-agent for internal use. 376 Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 377 } 378 379 func (x *UpdateItem) Reset() { 380 *x = UpdateItem{} 381 if protoimpl.UnsafeEnabled { 382 mi := &file_ligato_generic_manager_proto_msgTypes[5] 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 ms.StoreMessageInfo(mi) 385 } 386 } 387 388 func (x *UpdateItem) String() string { 389 return protoimpl.X.MessageStringOf(x) 390 } 391 392 func (*UpdateItem) ProtoMessage() {} 393 394 func (x *UpdateItem) ProtoReflect() protoreflect.Message { 395 mi := &file_ligato_generic_manager_proto_msgTypes[5] 396 if protoimpl.UnsafeEnabled && x != nil { 397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 398 if ms.LoadMessageInfo() == nil { 399 ms.StoreMessageInfo(mi) 400 } 401 return ms 402 } 403 return mi.MessageOf(x) 404 } 405 406 // Deprecated: Use UpdateItem.ProtoReflect.Descriptor instead. 407 func (*UpdateItem) Descriptor() ([]byte, []int) { 408 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{5} 409 } 410 411 func (x *UpdateItem) GetItem() *Item { 412 if x != nil { 413 return x.Item 414 } 415 return nil 416 } 417 418 func (x *UpdateItem) GetLabels() map[string]string { 419 if x != nil { 420 return x.Labels 421 } 422 return nil 423 } 424 425 type UpdateResult struct { 426 state protoimpl.MessageState 427 sizeCache protoimpl.SizeCache 428 unknownFields protoimpl.UnknownFields 429 430 Id *Item_ID `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` 431 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 432 Op UpdateResult_Operation `protobuf:"varint,2,opt,name=op,proto3,enum=ligato.generic.UpdateResult_Operation" json:"op,omitempty"` 433 Status *ItemStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` 434 } 435 436 func (x *UpdateResult) Reset() { 437 *x = UpdateResult{} 438 if protoimpl.UnsafeEnabled { 439 mi := &file_ligato_generic_manager_proto_msgTypes[6] 440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 441 ms.StoreMessageInfo(mi) 442 } 443 } 444 445 func (x *UpdateResult) String() string { 446 return protoimpl.X.MessageStringOf(x) 447 } 448 449 func (*UpdateResult) ProtoMessage() {} 450 451 func (x *UpdateResult) ProtoReflect() protoreflect.Message { 452 mi := &file_ligato_generic_manager_proto_msgTypes[6] 453 if protoimpl.UnsafeEnabled && x != nil { 454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 455 if ms.LoadMessageInfo() == nil { 456 ms.StoreMessageInfo(mi) 457 } 458 return ms 459 } 460 return mi.MessageOf(x) 461 } 462 463 // Deprecated: Use UpdateResult.ProtoReflect.Descriptor instead. 464 func (*UpdateResult) Descriptor() ([]byte, []int) { 465 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{6} 466 } 467 468 func (x *UpdateResult) GetId() *Item_ID { 469 if x != nil { 470 return x.Id 471 } 472 return nil 473 } 474 475 func (x *UpdateResult) GetKey() string { 476 if x != nil { 477 return x.Key 478 } 479 return "" 480 } 481 482 func (x *UpdateResult) GetOp() UpdateResult_Operation { 483 if x != nil { 484 return x.Op 485 } 486 return UpdateResult_UNSPECIFIED 487 } 488 489 func (x *UpdateResult) GetStatus() *ItemStatus { 490 if x != nil { 491 return x.Status 492 } 493 return nil 494 } 495 496 type GetConfigRequest struct { 497 state protoimpl.MessageState 498 sizeCache protoimpl.SizeCache 499 unknownFields protoimpl.UnknownFields 500 501 Ids []*Item_ID `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` 502 Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 503 } 504 505 func (x *GetConfigRequest) Reset() { 506 *x = GetConfigRequest{} 507 if protoimpl.UnsafeEnabled { 508 mi := &file_ligato_generic_manager_proto_msgTypes[7] 509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 510 ms.StoreMessageInfo(mi) 511 } 512 } 513 514 func (x *GetConfigRequest) String() string { 515 return protoimpl.X.MessageStringOf(x) 516 } 517 518 func (*GetConfigRequest) ProtoMessage() {} 519 520 func (x *GetConfigRequest) ProtoReflect() protoreflect.Message { 521 mi := &file_ligato_generic_manager_proto_msgTypes[7] 522 if protoimpl.UnsafeEnabled && x != nil { 523 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 524 if ms.LoadMessageInfo() == nil { 525 ms.StoreMessageInfo(mi) 526 } 527 return ms 528 } 529 return mi.MessageOf(x) 530 } 531 532 // Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead. 533 func (*GetConfigRequest) Descriptor() ([]byte, []int) { 534 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{7} 535 } 536 537 func (x *GetConfigRequest) GetIds() []*Item_ID { 538 if x != nil { 539 return x.Ids 540 } 541 return nil 542 } 543 544 func (x *GetConfigRequest) GetLabels() map[string]string { 545 if x != nil { 546 return x.Labels 547 } 548 return nil 549 } 550 551 type GetConfigResponse struct { 552 state protoimpl.MessageState 553 sizeCache protoimpl.SizeCache 554 unknownFields protoimpl.UnknownFields 555 556 Items []*ConfigItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 557 } 558 559 func (x *GetConfigResponse) Reset() { 560 *x = GetConfigResponse{} 561 if protoimpl.UnsafeEnabled { 562 mi := &file_ligato_generic_manager_proto_msgTypes[8] 563 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 564 ms.StoreMessageInfo(mi) 565 } 566 } 567 568 func (x *GetConfigResponse) String() string { 569 return protoimpl.X.MessageStringOf(x) 570 } 571 572 func (*GetConfigResponse) ProtoMessage() {} 573 574 func (x *GetConfigResponse) ProtoReflect() protoreflect.Message { 575 mi := &file_ligato_generic_manager_proto_msgTypes[8] 576 if protoimpl.UnsafeEnabled && x != nil { 577 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 578 if ms.LoadMessageInfo() == nil { 579 ms.StoreMessageInfo(mi) 580 } 581 return ms 582 } 583 return mi.MessageOf(x) 584 } 585 586 // Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead. 587 func (*GetConfigResponse) Descriptor() ([]byte, []int) { 588 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{8} 589 } 590 591 func (x *GetConfigResponse) GetItems() []*ConfigItem { 592 if x != nil { 593 return x.Items 594 } 595 return nil 596 } 597 598 type ConfigItem struct { 599 state protoimpl.MessageState 600 sizeCache protoimpl.SizeCache 601 unknownFields protoimpl.UnknownFields 602 603 Item *Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` 604 Status *ItemStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 605 Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 606 } 607 608 func (x *ConfigItem) Reset() { 609 *x = ConfigItem{} 610 if protoimpl.UnsafeEnabled { 611 mi := &file_ligato_generic_manager_proto_msgTypes[9] 612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 613 ms.StoreMessageInfo(mi) 614 } 615 } 616 617 func (x *ConfigItem) String() string { 618 return protoimpl.X.MessageStringOf(x) 619 } 620 621 func (*ConfigItem) ProtoMessage() {} 622 623 func (x *ConfigItem) ProtoReflect() protoreflect.Message { 624 mi := &file_ligato_generic_manager_proto_msgTypes[9] 625 if protoimpl.UnsafeEnabled && x != nil { 626 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 627 if ms.LoadMessageInfo() == nil { 628 ms.StoreMessageInfo(mi) 629 } 630 return ms 631 } 632 return mi.MessageOf(x) 633 } 634 635 // Deprecated: Use ConfigItem.ProtoReflect.Descriptor instead. 636 func (*ConfigItem) Descriptor() ([]byte, []int) { 637 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{9} 638 } 639 640 func (x *ConfigItem) GetItem() *Item { 641 if x != nil { 642 return x.Item 643 } 644 return nil 645 } 646 647 func (x *ConfigItem) GetStatus() *ItemStatus { 648 if x != nil { 649 return x.Status 650 } 651 return nil 652 } 653 654 func (x *ConfigItem) GetLabels() map[string]string { 655 if x != nil { 656 return x.Labels 657 } 658 return nil 659 } 660 661 type DumpStateRequest struct { 662 state protoimpl.MessageState 663 sizeCache protoimpl.SizeCache 664 unknownFields protoimpl.UnknownFields 665 666 Ids []*Item_ID `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` 667 } 668 669 func (x *DumpStateRequest) Reset() { 670 *x = DumpStateRequest{} 671 if protoimpl.UnsafeEnabled { 672 mi := &file_ligato_generic_manager_proto_msgTypes[10] 673 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 674 ms.StoreMessageInfo(mi) 675 } 676 } 677 678 func (x *DumpStateRequest) String() string { 679 return protoimpl.X.MessageStringOf(x) 680 } 681 682 func (*DumpStateRequest) ProtoMessage() {} 683 684 func (x *DumpStateRequest) ProtoReflect() protoreflect.Message { 685 mi := &file_ligato_generic_manager_proto_msgTypes[10] 686 if protoimpl.UnsafeEnabled && x != nil { 687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 688 if ms.LoadMessageInfo() == nil { 689 ms.StoreMessageInfo(mi) 690 } 691 return ms 692 } 693 return mi.MessageOf(x) 694 } 695 696 // Deprecated: Use DumpStateRequest.ProtoReflect.Descriptor instead. 697 func (*DumpStateRequest) Descriptor() ([]byte, []int) { 698 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{10} 699 } 700 701 func (x *DumpStateRequest) GetIds() []*Item_ID { 702 if x != nil { 703 return x.Ids 704 } 705 return nil 706 } 707 708 type DumpStateResponse struct { 709 state protoimpl.MessageState 710 sizeCache protoimpl.SizeCache 711 unknownFields protoimpl.UnknownFields 712 713 Items []*StateItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 714 } 715 716 func (x *DumpStateResponse) Reset() { 717 *x = DumpStateResponse{} 718 if protoimpl.UnsafeEnabled { 719 mi := &file_ligato_generic_manager_proto_msgTypes[11] 720 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 721 ms.StoreMessageInfo(mi) 722 } 723 } 724 725 func (x *DumpStateResponse) String() string { 726 return protoimpl.X.MessageStringOf(x) 727 } 728 729 func (*DumpStateResponse) ProtoMessage() {} 730 731 func (x *DumpStateResponse) ProtoReflect() protoreflect.Message { 732 mi := &file_ligato_generic_manager_proto_msgTypes[11] 733 if protoimpl.UnsafeEnabled && x != nil { 734 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 735 if ms.LoadMessageInfo() == nil { 736 ms.StoreMessageInfo(mi) 737 } 738 return ms 739 } 740 return mi.MessageOf(x) 741 } 742 743 // Deprecated: Use DumpStateResponse.ProtoReflect.Descriptor instead. 744 func (*DumpStateResponse) Descriptor() ([]byte, []int) { 745 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{11} 746 } 747 748 func (x *DumpStateResponse) GetItems() []*StateItem { 749 if x != nil { 750 return x.Items 751 } 752 return nil 753 } 754 755 type StateItem struct { 756 state protoimpl.MessageState 757 sizeCache protoimpl.SizeCache 758 unknownFields protoimpl.UnknownFields 759 760 Item *Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` 761 Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 762 } 763 764 func (x *StateItem) Reset() { 765 *x = StateItem{} 766 if protoimpl.UnsafeEnabled { 767 mi := &file_ligato_generic_manager_proto_msgTypes[12] 768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 769 ms.StoreMessageInfo(mi) 770 } 771 } 772 773 func (x *StateItem) String() string { 774 return protoimpl.X.MessageStringOf(x) 775 } 776 777 func (*StateItem) ProtoMessage() {} 778 779 func (x *StateItem) ProtoReflect() protoreflect.Message { 780 mi := &file_ligato_generic_manager_proto_msgTypes[12] 781 if protoimpl.UnsafeEnabled && x != nil { 782 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 783 if ms.LoadMessageInfo() == nil { 784 ms.StoreMessageInfo(mi) 785 } 786 return ms 787 } 788 return mi.MessageOf(x) 789 } 790 791 // Deprecated: Use StateItem.ProtoReflect.Descriptor instead. 792 func (*StateItem) Descriptor() ([]byte, []int) { 793 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{12} 794 } 795 796 func (x *StateItem) GetItem() *Item { 797 if x != nil { 798 return x.Item 799 } 800 return nil 801 } 802 803 func (x *StateItem) GetMetadata() map[string]string { 804 if x != nil { 805 return x.Metadata 806 } 807 return nil 808 } 809 810 type SubscribeRequest struct { 811 state protoimpl.MessageState 812 sizeCache protoimpl.SizeCache 813 unknownFields protoimpl.UnknownFields 814 815 Subscriptions []*Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` 816 } 817 818 func (x *SubscribeRequest) Reset() { 819 *x = SubscribeRequest{} 820 if protoimpl.UnsafeEnabled { 821 mi := &file_ligato_generic_manager_proto_msgTypes[13] 822 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 823 ms.StoreMessageInfo(mi) 824 } 825 } 826 827 func (x *SubscribeRequest) String() string { 828 return protoimpl.X.MessageStringOf(x) 829 } 830 831 func (*SubscribeRequest) ProtoMessage() {} 832 833 func (x *SubscribeRequest) ProtoReflect() protoreflect.Message { 834 mi := &file_ligato_generic_manager_proto_msgTypes[13] 835 if protoimpl.UnsafeEnabled && x != nil { 836 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 837 if ms.LoadMessageInfo() == nil { 838 ms.StoreMessageInfo(mi) 839 } 840 return ms 841 } 842 return mi.MessageOf(x) 843 } 844 845 // Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead. 846 func (*SubscribeRequest) Descriptor() ([]byte, []int) { 847 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{13} 848 } 849 850 func (x *SubscribeRequest) GetSubscriptions() []*Subscription { 851 if x != nil { 852 return x.Subscriptions 853 } 854 return nil 855 } 856 857 type SubscribeResponse struct { 858 state protoimpl.MessageState 859 sizeCache protoimpl.SizeCache 860 unknownFields protoimpl.UnknownFields 861 862 Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` 863 } 864 865 func (x *SubscribeResponse) Reset() { 866 *x = SubscribeResponse{} 867 if protoimpl.UnsafeEnabled { 868 mi := &file_ligato_generic_manager_proto_msgTypes[14] 869 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 870 ms.StoreMessageInfo(mi) 871 } 872 } 873 874 func (x *SubscribeResponse) String() string { 875 return protoimpl.X.MessageStringOf(x) 876 } 877 878 func (*SubscribeResponse) ProtoMessage() {} 879 880 func (x *SubscribeResponse) ProtoReflect() protoreflect.Message { 881 mi := &file_ligato_generic_manager_proto_msgTypes[14] 882 if protoimpl.UnsafeEnabled && x != nil { 883 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 884 if ms.LoadMessageInfo() == nil { 885 ms.StoreMessageInfo(mi) 886 } 887 return ms 888 } 889 return mi.MessageOf(x) 890 } 891 892 // Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead. 893 func (*SubscribeResponse) Descriptor() ([]byte, []int) { 894 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{14} 895 } 896 897 func (x *SubscribeResponse) GetNotifications() []*Notification { 898 if x != nil { 899 return x.Notifications 900 } 901 return nil 902 } 903 904 type Subscription struct { 905 state protoimpl.MessageState 906 sizeCache protoimpl.SizeCache 907 unknownFields protoimpl.UnknownFields 908 909 Id *Item_ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 910 } 911 912 func (x *Subscription) Reset() { 913 *x = Subscription{} 914 if protoimpl.UnsafeEnabled { 915 mi := &file_ligato_generic_manager_proto_msgTypes[15] 916 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 917 ms.StoreMessageInfo(mi) 918 } 919 } 920 921 func (x *Subscription) String() string { 922 return protoimpl.X.MessageStringOf(x) 923 } 924 925 func (*Subscription) ProtoMessage() {} 926 927 func (x *Subscription) ProtoReflect() protoreflect.Message { 928 mi := &file_ligato_generic_manager_proto_msgTypes[15] 929 if protoimpl.UnsafeEnabled && x != nil { 930 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 931 if ms.LoadMessageInfo() == nil { 932 ms.StoreMessageInfo(mi) 933 } 934 return ms 935 } 936 return mi.MessageOf(x) 937 } 938 939 // Deprecated: Use Subscription.ProtoReflect.Descriptor instead. 940 func (*Subscription) Descriptor() ([]byte, []int) { 941 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{15} 942 } 943 944 func (x *Subscription) GetId() *Item_ID { 945 if x != nil { 946 return x.Id 947 } 948 return nil 949 } 950 951 type Notification struct { 952 state protoimpl.MessageState 953 sizeCache protoimpl.SizeCache 954 unknownFields protoimpl.UnknownFields 955 956 Item *Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` 957 Status *ItemStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 958 } 959 960 func (x *Notification) Reset() { 961 *x = Notification{} 962 if protoimpl.UnsafeEnabled { 963 mi := &file_ligato_generic_manager_proto_msgTypes[16] 964 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 965 ms.StoreMessageInfo(mi) 966 } 967 } 968 969 func (x *Notification) String() string { 970 return protoimpl.X.MessageStringOf(x) 971 } 972 973 func (*Notification) ProtoMessage() {} 974 975 func (x *Notification) ProtoReflect() protoreflect.Message { 976 mi := &file_ligato_generic_manager_proto_msgTypes[16] 977 if protoimpl.UnsafeEnabled && x != nil { 978 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 979 if ms.LoadMessageInfo() == nil { 980 ms.StoreMessageInfo(mi) 981 } 982 return ms 983 } 984 return mi.MessageOf(x) 985 } 986 987 // Deprecated: Use Notification.ProtoReflect.Descriptor instead. 988 func (*Notification) Descriptor() ([]byte, []int) { 989 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{16} 990 } 991 992 func (x *Notification) GetItem() *Item { 993 if x != nil { 994 return x.Item 995 } 996 return nil 997 } 998 999 func (x *Notification) GetStatus() *ItemStatus { 1000 if x != nil { 1001 return x.Status 1002 } 1003 return nil 1004 } 1005 1006 // ID represents identifier for distinguishing items. 1007 type Item_ID struct { 1008 state protoimpl.MessageState 1009 sizeCache protoimpl.SizeCache 1010 unknownFields protoimpl.UnknownFields 1011 1012 Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` 1013 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 1014 } 1015 1016 func (x *Item_ID) Reset() { 1017 *x = Item_ID{} 1018 if protoimpl.UnsafeEnabled { 1019 mi := &file_ligato_generic_manager_proto_msgTypes[17] 1020 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1021 ms.StoreMessageInfo(mi) 1022 } 1023 } 1024 1025 func (x *Item_ID) String() string { 1026 return protoimpl.X.MessageStringOf(x) 1027 } 1028 1029 func (*Item_ID) ProtoMessage() {} 1030 1031 func (x *Item_ID) ProtoReflect() protoreflect.Message { 1032 mi := &file_ligato_generic_manager_proto_msgTypes[17] 1033 if protoimpl.UnsafeEnabled && x != nil { 1034 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1035 if ms.LoadMessageInfo() == nil { 1036 ms.StoreMessageInfo(mi) 1037 } 1038 return ms 1039 } 1040 return mi.MessageOf(x) 1041 } 1042 1043 // Deprecated: Use Item_ID.ProtoReflect.Descriptor instead. 1044 func (*Item_ID) Descriptor() ([]byte, []int) { 1045 return file_ligato_generic_manager_proto_rawDescGZIP(), []int{0, 0} 1046 } 1047 1048 func (x *Item_ID) GetModel() string { 1049 if x != nil { 1050 return x.Model 1051 } 1052 return "" 1053 } 1054 1055 func (x *Item_ID) GetName() string { 1056 if x != nil { 1057 return x.Name 1058 } 1059 return "" 1060 } 1061 1062 var File_ligato_generic_manager_proto protoreflect.FileDescriptor 1063 1064 var file_ligato_generic_manager_proto_rawDesc = []byte{ 1065 0x0a, 0x1c, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 1066 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 1067 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x1a, 0x19, 1068 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 1069 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x04, 0x49, 0x74, 1070 0x65, 0x6d, 0x12, 0x27, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 1071 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 1072 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x04, 0x64, 1073 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x67, 0x61, 1074 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 1075 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x2e, 0x0a, 0x02, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x6d, 1076 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 1077 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1078 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x39, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 1079 0x03, 0x61, 0x6e, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 1080 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 1081 0x48, 0x00, 0x52, 0x03, 0x61, 0x6e, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 1082 0x22, 0x3e, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 1083 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 1084 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 1085 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 1086 0x22, 0x6d, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 1087 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 1088 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 1089 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x74, 0x65, 1090 0x6d, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x76, 1091 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 1092 0x08, 0x52, 0x0c, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x22, 1093 0x4b, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 1094 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 1095 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 1096 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 1097 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0xb1, 0x01, 0x0a, 1098 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x28, 0x0a, 0x04, 0x69, 1099 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x67, 0x61, 1100 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 1101 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, 0x3e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 1102 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 1103 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x74, 0x65, 1104 0x6d, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 1105 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 1106 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 1107 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 1108 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 1109 0x22, 0xf7, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 1110 0x74, 0x12, 0x27, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 1111 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x49, 1112 0x74, 0x65, 0x6d, 0x2e, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 1113 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x02, 1114 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 1115 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 1116 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1117 0x52, 0x02, 0x6f, 0x70, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 1118 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 1119 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 1120 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x40, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 1121 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 1122 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 1123 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0a, 1124 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x22, 0xbe, 0x01, 0x0a, 0x10, 0x47, 1125 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 1126 0x29, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, 1127 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x49, 0x74, 1128 0x65, 0x6d, 0x2e, 0x49, 0x44, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61, 1129 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6c, 0x69, 0x67, 1130 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x43, 1131 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 1132 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 1133 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 1134 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 1135 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1136 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x45, 0x0a, 0x11, 0x47, 1137 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1138 0x12, 0x30, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 1139 0x1a, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 1140 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 1141 0x6d, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x74, 0x65, 1142 0x6d, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 1143 0x14, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 1144 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, 0x32, 0x0a, 0x06, 0x73, 1145 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 1146 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x49, 0x74, 0x65, 1147 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 1148 0x3e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 1149 0x26, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 1150 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x4c, 0x61, 0x62, 0x65, 1151 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 1152 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 1153 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 1154 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1155 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3d, 0x0a, 0x10, 0x44, 0x75, 1156 0x6d, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 1157 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, 0x69, 1158 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x49, 0x74, 0x65, 1159 0x6d, 0x2e, 0x49, 0x44, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x44, 0x0a, 0x11, 0x44, 0x75, 0x6d, 1160 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 1161 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 1162 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x53, 1163 0x74, 0x61, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 1164 0xb7, 0x01, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x28, 0x0a, 1165 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 1166 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x49, 0x74, 0x65, 1167 0x6d, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, 0x43, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 1168 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x69, 0x67, 0x61, 1169 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 1170 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 1171 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 1172 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 1173 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 1174 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 1175 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x56, 0x0a, 0x10, 0x53, 0x75, 0x62, 1176 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 1177 0x0d, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 1178 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 1179 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 1180 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 1181 0x73, 0x22, 0x57, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 1182 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 1183 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 1184 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x4e, 1185 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 1186 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x37, 0x0a, 0x0c, 0x53, 0x75, 1187 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x02, 0x69, 0x64, 1188 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 1189 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x49, 0x44, 0x52, 1190 0x02, 0x69, 0x64, 0x22, 0x6c, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 1191 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 1192 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 1193 0x69, 0x63, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, 0x32, 0x0a, 1194 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 1195 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x49, 1196 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 1197 0x73, 0x32, 0xda, 0x02, 0x0a, 0x0e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x53, 0x65, 0x72, 1198 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1199 0x67, 0x12, 0x20, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 1200 0x69, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 1201 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 1202 0x65, 0x72, 0x69, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 1203 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 1204 0x66, 0x69, 0x67, 0x12, 0x20, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 1205 0x65, 0x72, 0x69, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 1206 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 1207 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1208 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x09, 0x44, 0x75, 0x6d, 0x70, 1209 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 1210 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x44, 0x75, 0x6d, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 1211 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 1212 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x44, 0x75, 0x6d, 0x70, 0x53, 0x74, 0x61, 1213 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x53, 0x75, 1214 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x20, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 1215 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 1216 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6c, 0x69, 0x67, 0x61, 1217 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 1218 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x30, 1219 0x5a, 0x2e, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 1220 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 1221 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 1222 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1223 } 1224 1225 var ( 1226 file_ligato_generic_manager_proto_rawDescOnce sync.Once 1227 file_ligato_generic_manager_proto_rawDescData = file_ligato_generic_manager_proto_rawDesc 1228 ) 1229 1230 func file_ligato_generic_manager_proto_rawDescGZIP() []byte { 1231 file_ligato_generic_manager_proto_rawDescOnce.Do(func() { 1232 file_ligato_generic_manager_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_generic_manager_proto_rawDescData) 1233 }) 1234 return file_ligato_generic_manager_proto_rawDescData 1235 } 1236 1237 var file_ligato_generic_manager_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1238 var file_ligato_generic_manager_proto_msgTypes = make([]protoimpl.MessageInfo, 22) 1239 var file_ligato_generic_manager_proto_goTypes = []interface{}{ 1240 (UpdateResult_Operation)(0), // 0: ligato.generic.UpdateResult.Operation 1241 (*Item)(nil), // 1: ligato.generic.Item 1242 (*Data)(nil), // 2: ligato.generic.Data 1243 (*ItemStatus)(nil), // 3: ligato.generic.ItemStatus 1244 (*SetConfigRequest)(nil), // 4: ligato.generic.SetConfigRequest 1245 (*SetConfigResponse)(nil), // 5: ligato.generic.SetConfigResponse 1246 (*UpdateItem)(nil), // 6: ligato.generic.UpdateItem 1247 (*UpdateResult)(nil), // 7: ligato.generic.UpdateResult 1248 (*GetConfigRequest)(nil), // 8: ligato.generic.GetConfigRequest 1249 (*GetConfigResponse)(nil), // 9: ligato.generic.GetConfigResponse 1250 (*ConfigItem)(nil), // 10: ligato.generic.ConfigItem 1251 (*DumpStateRequest)(nil), // 11: ligato.generic.DumpStateRequest 1252 (*DumpStateResponse)(nil), // 12: ligato.generic.DumpStateResponse 1253 (*StateItem)(nil), // 13: ligato.generic.StateItem 1254 (*SubscribeRequest)(nil), // 14: ligato.generic.SubscribeRequest 1255 (*SubscribeResponse)(nil), // 15: ligato.generic.SubscribeResponse 1256 (*Subscription)(nil), // 16: ligato.generic.Subscription 1257 (*Notification)(nil), // 17: ligato.generic.Notification 1258 (*Item_ID)(nil), // 18: ligato.generic.Item.ID 1259 nil, // 19: ligato.generic.UpdateItem.LabelsEntry 1260 nil, // 20: ligato.generic.GetConfigRequest.LabelsEntry 1261 nil, // 21: ligato.generic.ConfigItem.LabelsEntry 1262 nil, // 22: ligato.generic.StateItem.MetadataEntry 1263 (*anypb.Any)(nil), // 23: google.protobuf.Any 1264 } 1265 var file_ligato_generic_manager_proto_depIdxs = []int32{ 1266 18, // 0: ligato.generic.Item.id:type_name -> ligato.generic.Item.ID 1267 2, // 1: ligato.generic.Item.data:type_name -> ligato.generic.Data 1268 23, // 2: ligato.generic.Data.any:type_name -> google.protobuf.Any 1269 6, // 3: ligato.generic.SetConfigRequest.updates:type_name -> ligato.generic.UpdateItem 1270 7, // 4: ligato.generic.SetConfigResponse.results:type_name -> ligato.generic.UpdateResult 1271 1, // 5: ligato.generic.UpdateItem.item:type_name -> ligato.generic.Item 1272 19, // 6: ligato.generic.UpdateItem.labels:type_name -> ligato.generic.UpdateItem.LabelsEntry 1273 18, // 7: ligato.generic.UpdateResult.id:type_name -> ligato.generic.Item.ID 1274 0, // 8: ligato.generic.UpdateResult.op:type_name -> ligato.generic.UpdateResult.Operation 1275 3, // 9: ligato.generic.UpdateResult.status:type_name -> ligato.generic.ItemStatus 1276 18, // 10: ligato.generic.GetConfigRequest.ids:type_name -> ligato.generic.Item.ID 1277 20, // 11: ligato.generic.GetConfigRequest.labels:type_name -> ligato.generic.GetConfigRequest.LabelsEntry 1278 10, // 12: ligato.generic.GetConfigResponse.items:type_name -> ligato.generic.ConfigItem 1279 1, // 13: ligato.generic.ConfigItem.item:type_name -> ligato.generic.Item 1280 3, // 14: ligato.generic.ConfigItem.status:type_name -> ligato.generic.ItemStatus 1281 21, // 15: ligato.generic.ConfigItem.labels:type_name -> ligato.generic.ConfigItem.LabelsEntry 1282 18, // 16: ligato.generic.DumpStateRequest.ids:type_name -> ligato.generic.Item.ID 1283 13, // 17: ligato.generic.DumpStateResponse.items:type_name -> ligato.generic.StateItem 1284 1, // 18: ligato.generic.StateItem.item:type_name -> ligato.generic.Item 1285 22, // 19: ligato.generic.StateItem.metadata:type_name -> ligato.generic.StateItem.MetadataEntry 1286 16, // 20: ligato.generic.SubscribeRequest.subscriptions:type_name -> ligato.generic.Subscription 1287 17, // 21: ligato.generic.SubscribeResponse.notifications:type_name -> ligato.generic.Notification 1288 18, // 22: ligato.generic.Subscription.id:type_name -> ligato.generic.Item.ID 1289 1, // 23: ligato.generic.Notification.item:type_name -> ligato.generic.Item 1290 3, // 24: ligato.generic.Notification.status:type_name -> ligato.generic.ItemStatus 1291 4, // 25: ligato.generic.ManagerService.SetConfig:input_type -> ligato.generic.SetConfigRequest 1292 8, // 26: ligato.generic.ManagerService.GetConfig:input_type -> ligato.generic.GetConfigRequest 1293 11, // 27: ligato.generic.ManagerService.DumpState:input_type -> ligato.generic.DumpStateRequest 1294 14, // 28: ligato.generic.ManagerService.Subscribe:input_type -> ligato.generic.SubscribeRequest 1295 5, // 29: ligato.generic.ManagerService.SetConfig:output_type -> ligato.generic.SetConfigResponse 1296 9, // 30: ligato.generic.ManagerService.GetConfig:output_type -> ligato.generic.GetConfigResponse 1297 12, // 31: ligato.generic.ManagerService.DumpState:output_type -> ligato.generic.DumpStateResponse 1298 15, // 32: ligato.generic.ManagerService.Subscribe:output_type -> ligato.generic.SubscribeResponse 1299 29, // [29:33] is the sub-list for method output_type 1300 25, // [25:29] is the sub-list for method input_type 1301 25, // [25:25] is the sub-list for extension type_name 1302 25, // [25:25] is the sub-list for extension extendee 1303 0, // [0:25] is the sub-list for field type_name 1304 } 1305 1306 func init() { file_ligato_generic_manager_proto_init() } 1307 func file_ligato_generic_manager_proto_init() { 1308 if File_ligato_generic_manager_proto != nil { 1309 return 1310 } 1311 if !protoimpl.UnsafeEnabled { 1312 file_ligato_generic_manager_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1313 switch v := v.(*Item); i { 1314 case 0: 1315 return &v.state 1316 case 1: 1317 return &v.sizeCache 1318 case 2: 1319 return &v.unknownFields 1320 default: 1321 return nil 1322 } 1323 } 1324 file_ligato_generic_manager_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1325 switch v := v.(*Data); i { 1326 case 0: 1327 return &v.state 1328 case 1: 1329 return &v.sizeCache 1330 case 2: 1331 return &v.unknownFields 1332 default: 1333 return nil 1334 } 1335 } 1336 file_ligato_generic_manager_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1337 switch v := v.(*ItemStatus); i { 1338 case 0: 1339 return &v.state 1340 case 1: 1341 return &v.sizeCache 1342 case 2: 1343 return &v.unknownFields 1344 default: 1345 return nil 1346 } 1347 } 1348 file_ligato_generic_manager_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1349 switch v := v.(*SetConfigRequest); i { 1350 case 0: 1351 return &v.state 1352 case 1: 1353 return &v.sizeCache 1354 case 2: 1355 return &v.unknownFields 1356 default: 1357 return nil 1358 } 1359 } 1360 file_ligato_generic_manager_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1361 switch v := v.(*SetConfigResponse); i { 1362 case 0: 1363 return &v.state 1364 case 1: 1365 return &v.sizeCache 1366 case 2: 1367 return &v.unknownFields 1368 default: 1369 return nil 1370 } 1371 } 1372 file_ligato_generic_manager_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1373 switch v := v.(*UpdateItem); i { 1374 case 0: 1375 return &v.state 1376 case 1: 1377 return &v.sizeCache 1378 case 2: 1379 return &v.unknownFields 1380 default: 1381 return nil 1382 } 1383 } 1384 file_ligato_generic_manager_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1385 switch v := v.(*UpdateResult); i { 1386 case 0: 1387 return &v.state 1388 case 1: 1389 return &v.sizeCache 1390 case 2: 1391 return &v.unknownFields 1392 default: 1393 return nil 1394 } 1395 } 1396 file_ligato_generic_manager_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1397 switch v := v.(*GetConfigRequest); i { 1398 case 0: 1399 return &v.state 1400 case 1: 1401 return &v.sizeCache 1402 case 2: 1403 return &v.unknownFields 1404 default: 1405 return nil 1406 } 1407 } 1408 file_ligato_generic_manager_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1409 switch v := v.(*GetConfigResponse); i { 1410 case 0: 1411 return &v.state 1412 case 1: 1413 return &v.sizeCache 1414 case 2: 1415 return &v.unknownFields 1416 default: 1417 return nil 1418 } 1419 } 1420 file_ligato_generic_manager_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1421 switch v := v.(*ConfigItem); i { 1422 case 0: 1423 return &v.state 1424 case 1: 1425 return &v.sizeCache 1426 case 2: 1427 return &v.unknownFields 1428 default: 1429 return nil 1430 } 1431 } 1432 file_ligato_generic_manager_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1433 switch v := v.(*DumpStateRequest); i { 1434 case 0: 1435 return &v.state 1436 case 1: 1437 return &v.sizeCache 1438 case 2: 1439 return &v.unknownFields 1440 default: 1441 return nil 1442 } 1443 } 1444 file_ligato_generic_manager_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1445 switch v := v.(*DumpStateResponse); i { 1446 case 0: 1447 return &v.state 1448 case 1: 1449 return &v.sizeCache 1450 case 2: 1451 return &v.unknownFields 1452 default: 1453 return nil 1454 } 1455 } 1456 file_ligato_generic_manager_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1457 switch v := v.(*StateItem); i { 1458 case 0: 1459 return &v.state 1460 case 1: 1461 return &v.sizeCache 1462 case 2: 1463 return &v.unknownFields 1464 default: 1465 return nil 1466 } 1467 } 1468 file_ligato_generic_manager_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1469 switch v := v.(*SubscribeRequest); i { 1470 case 0: 1471 return &v.state 1472 case 1: 1473 return &v.sizeCache 1474 case 2: 1475 return &v.unknownFields 1476 default: 1477 return nil 1478 } 1479 } 1480 file_ligato_generic_manager_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1481 switch v := v.(*SubscribeResponse); i { 1482 case 0: 1483 return &v.state 1484 case 1: 1485 return &v.sizeCache 1486 case 2: 1487 return &v.unknownFields 1488 default: 1489 return nil 1490 } 1491 } 1492 file_ligato_generic_manager_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1493 switch v := v.(*Subscription); i { 1494 case 0: 1495 return &v.state 1496 case 1: 1497 return &v.sizeCache 1498 case 2: 1499 return &v.unknownFields 1500 default: 1501 return nil 1502 } 1503 } 1504 file_ligato_generic_manager_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 1505 switch v := v.(*Notification); i { 1506 case 0: 1507 return &v.state 1508 case 1: 1509 return &v.sizeCache 1510 case 2: 1511 return &v.unknownFields 1512 default: 1513 return nil 1514 } 1515 } 1516 file_ligato_generic_manager_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 1517 switch v := v.(*Item_ID); i { 1518 case 0: 1519 return &v.state 1520 case 1: 1521 return &v.sizeCache 1522 case 2: 1523 return &v.unknownFields 1524 default: 1525 return nil 1526 } 1527 } 1528 } 1529 file_ligato_generic_manager_proto_msgTypes[1].OneofWrappers = []interface{}{ 1530 (*Data_Any)(nil), 1531 } 1532 type x struct{} 1533 out := protoimpl.TypeBuilder{ 1534 File: protoimpl.DescBuilder{ 1535 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1536 RawDescriptor: file_ligato_generic_manager_proto_rawDesc, 1537 NumEnums: 1, 1538 NumMessages: 22, 1539 NumExtensions: 0, 1540 NumServices: 1, 1541 }, 1542 GoTypes: file_ligato_generic_manager_proto_goTypes, 1543 DependencyIndexes: file_ligato_generic_manager_proto_depIdxs, 1544 EnumInfos: file_ligato_generic_manager_proto_enumTypes, 1545 MessageInfos: file_ligato_generic_manager_proto_msgTypes, 1546 }.Build() 1547 File_ligato_generic_manager_proto = out.File 1548 file_ligato_generic_manager_proto_rawDesc = nil 1549 file_ligato_generic_manager_proto_goTypes = nil 1550 file_ligato_generic_manager_proto_depIdxs = nil 1551 }