go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers-sdk/v1/plugin/plugin.pb.go (about) 1 // Copyright (c) Mondoo, Inc. 2 // SPDX-License-Identifier: BUSL-1.1 3 4 // Code generated by protoc-gen-go. DO NOT EDIT. 5 // versions: 6 // protoc-gen-go v1.31.0 7 // protoc v4.24.3 8 // source: plugin.proto 9 10 package plugin 11 12 import ( 13 llx "go.mondoo.com/cnquery/llx" 14 inventory "go.mondoo.com/cnquery/providers-sdk/v1/inventory" 15 upstream "go.mondoo.com/cnquery/providers-sdk/v1/upstream" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 type ParseCLIReq struct { 30 state protoimpl.MessageState 31 sizeCache protoimpl.SizeCache 32 unknownFields protoimpl.UnknownFields 33 34 Connector string `protobuf:"bytes,1,opt,name=connector,proto3" json:"connector,omitempty"` 35 Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` 36 Flags map[string]*llx.Primitive `protobuf:"bytes,3,rep,name=flags,proto3" json:"flags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 37 } 38 39 func (x *ParseCLIReq) Reset() { 40 *x = ParseCLIReq{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_plugin_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *ParseCLIReq) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*ParseCLIReq) ProtoMessage() {} 53 54 func (x *ParseCLIReq) ProtoReflect() protoreflect.Message { 55 mi := &file_plugin_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use ParseCLIReq.ProtoReflect.Descriptor instead. 67 func (*ParseCLIReq) Descriptor() ([]byte, []int) { 68 return file_plugin_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *ParseCLIReq) GetConnector() string { 72 if x != nil { 73 return x.Connector 74 } 75 return "" 76 } 77 78 func (x *ParseCLIReq) GetArgs() []string { 79 if x != nil { 80 return x.Args 81 } 82 return nil 83 } 84 85 func (x *ParseCLIReq) GetFlags() map[string]*llx.Primitive { 86 if x != nil { 87 return x.Flags 88 } 89 return nil 90 } 91 92 type ParseCLIRes struct { 93 state protoimpl.MessageState 94 sizeCache protoimpl.SizeCache 95 unknownFields protoimpl.UnknownFields 96 97 // inventory after parsing of CLI; no connection, no discovery, no resolution 98 Asset *inventory.Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` 99 } 100 101 func (x *ParseCLIRes) Reset() { 102 *x = ParseCLIRes{} 103 if protoimpl.UnsafeEnabled { 104 mi := &file_plugin_proto_msgTypes[1] 105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 106 ms.StoreMessageInfo(mi) 107 } 108 } 109 110 func (x *ParseCLIRes) String() string { 111 return protoimpl.X.MessageStringOf(x) 112 } 113 114 func (*ParseCLIRes) ProtoMessage() {} 115 116 func (x *ParseCLIRes) ProtoReflect() protoreflect.Message { 117 mi := &file_plugin_proto_msgTypes[1] 118 if protoimpl.UnsafeEnabled && x != nil { 119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 120 if ms.LoadMessageInfo() == nil { 121 ms.StoreMessageInfo(mi) 122 } 123 return ms 124 } 125 return mi.MessageOf(x) 126 } 127 128 // Deprecated: Use ParseCLIRes.ProtoReflect.Descriptor instead. 129 func (*ParseCLIRes) Descriptor() ([]byte, []int) { 130 return file_plugin_proto_rawDescGZIP(), []int{1} 131 } 132 133 func (x *ParseCLIRes) GetAsset() *inventory.Asset { 134 if x != nil { 135 return x.Asset 136 } 137 return nil 138 } 139 140 type ConnectReq struct { 141 state protoimpl.MessageState 142 sizeCache protoimpl.SizeCache 143 unknownFields protoimpl.UnknownFields 144 145 Features []byte `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"` 146 // The one primary targeted asset for the connection 147 Asset *inventory.Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` 148 HasRecording bool `protobuf:"varint,20,opt,name=has_recording,json=hasRecording,proto3" json:"has_recording,omitempty"` 149 CallbackServer uint32 `protobuf:"varint,21,opt,name=callback_server,json=callbackServer,proto3" json:"callback_server,omitempty"` 150 Upstream *upstream.UpstreamConfig `protobuf:"bytes,22,opt,name=upstream,proto3" json:"upstream,omitempty"` 151 } 152 153 func (x *ConnectReq) Reset() { 154 *x = ConnectReq{} 155 if protoimpl.UnsafeEnabled { 156 mi := &file_plugin_proto_msgTypes[2] 157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 158 ms.StoreMessageInfo(mi) 159 } 160 } 161 162 func (x *ConnectReq) String() string { 163 return protoimpl.X.MessageStringOf(x) 164 } 165 166 func (*ConnectReq) ProtoMessage() {} 167 168 func (x *ConnectReq) ProtoReflect() protoreflect.Message { 169 mi := &file_plugin_proto_msgTypes[2] 170 if protoimpl.UnsafeEnabled && x != nil { 171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 172 if ms.LoadMessageInfo() == nil { 173 ms.StoreMessageInfo(mi) 174 } 175 return ms 176 } 177 return mi.MessageOf(x) 178 } 179 180 // Deprecated: Use ConnectReq.ProtoReflect.Descriptor instead. 181 func (*ConnectReq) Descriptor() ([]byte, []int) { 182 return file_plugin_proto_rawDescGZIP(), []int{2} 183 } 184 185 func (x *ConnectReq) GetFeatures() []byte { 186 if x != nil { 187 return x.Features 188 } 189 return nil 190 } 191 192 func (x *ConnectReq) GetAsset() *inventory.Asset { 193 if x != nil { 194 return x.Asset 195 } 196 return nil 197 } 198 199 func (x *ConnectReq) GetHasRecording() bool { 200 if x != nil { 201 return x.HasRecording 202 } 203 return false 204 } 205 206 func (x *ConnectReq) GetCallbackServer() uint32 { 207 if x != nil { 208 return x.CallbackServer 209 } 210 return 0 211 } 212 213 func (x *ConnectReq) GetUpstream() *upstream.UpstreamConfig { 214 if x != nil { 215 return x.Upstream 216 } 217 return nil 218 } 219 220 type ConnectRes struct { 221 state protoimpl.MessageState 222 sizeCache protoimpl.SizeCache 223 unknownFields protoimpl.UnknownFields 224 225 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 226 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 227 // the connected asset with additional information from this connection 228 Asset *inventory.Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` 229 // inventory of other discovered assets 230 Inventory *inventory.Inventory `protobuf:"bytes,4,opt,name=inventory,proto3" json:"inventory,omitempty"` 231 } 232 233 func (x *ConnectRes) Reset() { 234 *x = ConnectRes{} 235 if protoimpl.UnsafeEnabled { 236 mi := &file_plugin_proto_msgTypes[3] 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 ms.StoreMessageInfo(mi) 239 } 240 } 241 242 func (x *ConnectRes) String() string { 243 return protoimpl.X.MessageStringOf(x) 244 } 245 246 func (*ConnectRes) ProtoMessage() {} 247 248 func (x *ConnectRes) ProtoReflect() protoreflect.Message { 249 mi := &file_plugin_proto_msgTypes[3] 250 if protoimpl.UnsafeEnabled && x != nil { 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 if ms.LoadMessageInfo() == nil { 253 ms.StoreMessageInfo(mi) 254 } 255 return ms 256 } 257 return mi.MessageOf(x) 258 } 259 260 // Deprecated: Use ConnectRes.ProtoReflect.Descriptor instead. 261 func (*ConnectRes) Descriptor() ([]byte, []int) { 262 return file_plugin_proto_rawDescGZIP(), []int{3} 263 } 264 265 func (x *ConnectRes) GetId() uint32 { 266 if x != nil { 267 return x.Id 268 } 269 return 0 270 } 271 272 func (x *ConnectRes) GetName() string { 273 if x != nil { 274 return x.Name 275 } 276 return "" 277 } 278 279 func (x *ConnectRes) GetAsset() *inventory.Asset { 280 if x != nil { 281 return x.Asset 282 } 283 return nil 284 } 285 286 func (x *ConnectRes) GetInventory() *inventory.Inventory { 287 if x != nil { 288 return x.Inventory 289 } 290 return nil 291 } 292 293 type ShutdownReq struct { 294 state protoimpl.MessageState 295 sizeCache protoimpl.SizeCache 296 unknownFields protoimpl.UnknownFields 297 } 298 299 func (x *ShutdownReq) Reset() { 300 *x = ShutdownReq{} 301 if protoimpl.UnsafeEnabled { 302 mi := &file_plugin_proto_msgTypes[4] 303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 304 ms.StoreMessageInfo(mi) 305 } 306 } 307 308 func (x *ShutdownReq) String() string { 309 return protoimpl.X.MessageStringOf(x) 310 } 311 312 func (*ShutdownReq) ProtoMessage() {} 313 314 func (x *ShutdownReq) ProtoReflect() protoreflect.Message { 315 mi := &file_plugin_proto_msgTypes[4] 316 if protoimpl.UnsafeEnabled && x != nil { 317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 318 if ms.LoadMessageInfo() == nil { 319 ms.StoreMessageInfo(mi) 320 } 321 return ms 322 } 323 return mi.MessageOf(x) 324 } 325 326 // Deprecated: Use ShutdownReq.ProtoReflect.Descriptor instead. 327 func (*ShutdownReq) Descriptor() ([]byte, []int) { 328 return file_plugin_proto_rawDescGZIP(), []int{4} 329 } 330 331 type ShutdownRes struct { 332 state protoimpl.MessageState 333 sizeCache protoimpl.SizeCache 334 unknownFields protoimpl.UnknownFields 335 } 336 337 func (x *ShutdownRes) Reset() { 338 *x = ShutdownRes{} 339 if protoimpl.UnsafeEnabled { 340 mi := &file_plugin_proto_msgTypes[5] 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 ms.StoreMessageInfo(mi) 343 } 344 } 345 346 func (x *ShutdownRes) String() string { 347 return protoimpl.X.MessageStringOf(x) 348 } 349 350 func (*ShutdownRes) ProtoMessage() {} 351 352 func (x *ShutdownRes) ProtoReflect() protoreflect.Message { 353 mi := &file_plugin_proto_msgTypes[5] 354 if protoimpl.UnsafeEnabled && x != nil { 355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 356 if ms.LoadMessageInfo() == nil { 357 ms.StoreMessageInfo(mi) 358 } 359 return ms 360 } 361 return mi.MessageOf(x) 362 } 363 364 // Deprecated: Use ShutdownRes.ProtoReflect.Descriptor instead. 365 func (*ShutdownRes) Descriptor() ([]byte, []int) { 366 return file_plugin_proto_rawDescGZIP(), []int{5} 367 } 368 369 type DataReq struct { 370 state protoimpl.MessageState 371 sizeCache protoimpl.SizeCache 372 unknownFields protoimpl.UnknownFields 373 374 Connection uint32 `protobuf:"varint,1,opt,name=connection,proto3" json:"connection,omitempty"` 375 Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` 376 ResourceId string `protobuf:"bytes,4,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` 377 Field string `protobuf:"bytes,5,opt,name=field,proto3" json:"field,omitempty"` 378 Args map[string]*llx.Primitive `protobuf:"bytes,6,rep,name=args,proto3" json:"args,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 379 } 380 381 func (x *DataReq) Reset() { 382 *x = DataReq{} 383 if protoimpl.UnsafeEnabled { 384 mi := &file_plugin_proto_msgTypes[6] 385 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 386 ms.StoreMessageInfo(mi) 387 } 388 } 389 390 func (x *DataReq) String() string { 391 return protoimpl.X.MessageStringOf(x) 392 } 393 394 func (*DataReq) ProtoMessage() {} 395 396 func (x *DataReq) ProtoReflect() protoreflect.Message { 397 mi := &file_plugin_proto_msgTypes[6] 398 if protoimpl.UnsafeEnabled && x != nil { 399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 400 if ms.LoadMessageInfo() == nil { 401 ms.StoreMessageInfo(mi) 402 } 403 return ms 404 } 405 return mi.MessageOf(x) 406 } 407 408 // Deprecated: Use DataReq.ProtoReflect.Descriptor instead. 409 func (*DataReq) Descriptor() ([]byte, []int) { 410 return file_plugin_proto_rawDescGZIP(), []int{6} 411 } 412 413 func (x *DataReq) GetConnection() uint32 { 414 if x != nil { 415 return x.Connection 416 } 417 return 0 418 } 419 420 func (x *DataReq) GetResource() string { 421 if x != nil { 422 return x.Resource 423 } 424 return "" 425 } 426 427 func (x *DataReq) GetResourceId() string { 428 if x != nil { 429 return x.ResourceId 430 } 431 return "" 432 } 433 434 func (x *DataReq) GetField() string { 435 if x != nil { 436 return x.Field 437 } 438 return "" 439 } 440 441 func (x *DataReq) GetArgs() map[string]*llx.Primitive { 442 if x != nil { 443 return x.Args 444 } 445 return nil 446 } 447 448 type DataRes struct { 449 state protoimpl.MessageState 450 sizeCache protoimpl.SizeCache 451 unknownFields protoimpl.UnknownFields 452 453 Data *llx.Primitive `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 454 Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` 455 // The ID uniquely identifies this request and all associated callbacks 456 Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` 457 } 458 459 func (x *DataRes) Reset() { 460 *x = DataRes{} 461 if protoimpl.UnsafeEnabled { 462 mi := &file_plugin_proto_msgTypes[7] 463 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 464 ms.StoreMessageInfo(mi) 465 } 466 } 467 468 func (x *DataRes) String() string { 469 return protoimpl.X.MessageStringOf(x) 470 } 471 472 func (*DataRes) ProtoMessage() {} 473 474 func (x *DataRes) ProtoReflect() protoreflect.Message { 475 mi := &file_plugin_proto_msgTypes[7] 476 if protoimpl.UnsafeEnabled && x != nil { 477 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 478 if ms.LoadMessageInfo() == nil { 479 ms.StoreMessageInfo(mi) 480 } 481 return ms 482 } 483 return mi.MessageOf(x) 484 } 485 486 // Deprecated: Use DataRes.ProtoReflect.Descriptor instead. 487 func (*DataRes) Descriptor() ([]byte, []int) { 488 return file_plugin_proto_rawDescGZIP(), []int{7} 489 } 490 491 func (x *DataRes) GetData() *llx.Primitive { 492 if x != nil { 493 return x.Data 494 } 495 return nil 496 } 497 498 func (x *DataRes) GetError() string { 499 if x != nil { 500 return x.Error 501 } 502 return "" 503 } 504 505 func (x *DataRes) GetId() string { 506 if x != nil { 507 return x.Id 508 } 509 return "" 510 } 511 512 type CollectRes struct { 513 state protoimpl.MessageState 514 sizeCache protoimpl.SizeCache 515 unknownFields protoimpl.UnknownFields 516 } 517 518 func (x *CollectRes) Reset() { 519 *x = CollectRes{} 520 if protoimpl.UnsafeEnabled { 521 mi := &file_plugin_proto_msgTypes[8] 522 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 523 ms.StoreMessageInfo(mi) 524 } 525 } 526 527 func (x *CollectRes) String() string { 528 return protoimpl.X.MessageStringOf(x) 529 } 530 531 func (*CollectRes) ProtoMessage() {} 532 533 func (x *CollectRes) ProtoReflect() protoreflect.Message { 534 mi := &file_plugin_proto_msgTypes[8] 535 if protoimpl.UnsafeEnabled && x != nil { 536 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 537 if ms.LoadMessageInfo() == nil { 538 ms.StoreMessageInfo(mi) 539 } 540 return ms 541 } 542 return mi.MessageOf(x) 543 } 544 545 // Deprecated: Use CollectRes.ProtoReflect.Descriptor instead. 546 func (*CollectRes) Descriptor() ([]byte, []int) { 547 return file_plugin_proto_rawDescGZIP(), []int{8} 548 } 549 550 type StoreReq struct { 551 state protoimpl.MessageState 552 sizeCache protoimpl.SizeCache 553 unknownFields protoimpl.UnknownFields 554 555 Connection uint32 `protobuf:"varint,1,opt,name=connection,proto3" json:"connection,omitempty"` 556 Resources []*ResourceData `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` 557 } 558 559 func (x *StoreReq) Reset() { 560 *x = StoreReq{} 561 if protoimpl.UnsafeEnabled { 562 mi := &file_plugin_proto_msgTypes[9] 563 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 564 ms.StoreMessageInfo(mi) 565 } 566 } 567 568 func (x *StoreReq) String() string { 569 return protoimpl.X.MessageStringOf(x) 570 } 571 572 func (*StoreReq) ProtoMessage() {} 573 574 func (x *StoreReq) ProtoReflect() protoreflect.Message { 575 mi := &file_plugin_proto_msgTypes[9] 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 StoreReq.ProtoReflect.Descriptor instead. 587 func (*StoreReq) Descriptor() ([]byte, []int) { 588 return file_plugin_proto_rawDescGZIP(), []int{9} 589 } 590 591 func (x *StoreReq) GetConnection() uint32 { 592 if x != nil { 593 return x.Connection 594 } 595 return 0 596 } 597 598 func (x *StoreReq) GetResources() []*ResourceData { 599 if x != nil { 600 return x.Resources 601 } 602 return nil 603 } 604 605 type ResourceData struct { 606 state protoimpl.MessageState 607 sizeCache protoimpl.SizeCache 608 unknownFields protoimpl.UnknownFields 609 610 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 611 Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` 612 Fields map[string]*llx.Result `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 613 } 614 615 func (x *ResourceData) Reset() { 616 *x = ResourceData{} 617 if protoimpl.UnsafeEnabled { 618 mi := &file_plugin_proto_msgTypes[10] 619 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 620 ms.StoreMessageInfo(mi) 621 } 622 } 623 624 func (x *ResourceData) String() string { 625 return protoimpl.X.MessageStringOf(x) 626 } 627 628 func (*ResourceData) ProtoMessage() {} 629 630 func (x *ResourceData) ProtoReflect() protoreflect.Message { 631 mi := &file_plugin_proto_msgTypes[10] 632 if protoimpl.UnsafeEnabled && x != nil { 633 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 634 if ms.LoadMessageInfo() == nil { 635 ms.StoreMessageInfo(mi) 636 } 637 return ms 638 } 639 return mi.MessageOf(x) 640 } 641 642 // Deprecated: Use ResourceData.ProtoReflect.Descriptor instead. 643 func (*ResourceData) Descriptor() ([]byte, []int) { 644 return file_plugin_proto_rawDescGZIP(), []int{10} 645 } 646 647 func (x *ResourceData) GetName() string { 648 if x != nil { 649 return x.Name 650 } 651 return "" 652 } 653 654 func (x *ResourceData) GetId() string { 655 if x != nil { 656 return x.Id 657 } 658 return "" 659 } 660 661 func (x *ResourceData) GetFields() map[string]*llx.Result { 662 if x != nil { 663 return x.Fields 664 } 665 return nil 666 } 667 668 type StoreRes struct { 669 state protoimpl.MessageState 670 sizeCache protoimpl.SizeCache 671 unknownFields protoimpl.UnknownFields 672 } 673 674 func (x *StoreRes) Reset() { 675 *x = StoreRes{} 676 if protoimpl.UnsafeEnabled { 677 mi := &file_plugin_proto_msgTypes[11] 678 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 679 ms.StoreMessageInfo(mi) 680 } 681 } 682 683 func (x *StoreRes) String() string { 684 return protoimpl.X.MessageStringOf(x) 685 } 686 687 func (*StoreRes) ProtoMessage() {} 688 689 func (x *StoreRes) ProtoReflect() protoreflect.Message { 690 mi := &file_plugin_proto_msgTypes[11] 691 if protoimpl.UnsafeEnabled && x != nil { 692 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 693 if ms.LoadMessageInfo() == nil { 694 ms.StoreMessageInfo(mi) 695 } 696 return ms 697 } 698 return mi.MessageOf(x) 699 } 700 701 // Deprecated: Use StoreRes.ProtoReflect.Descriptor instead. 702 func (*StoreRes) Descriptor() ([]byte, []int) { 703 return file_plugin_proto_rawDescGZIP(), []int{11} 704 } 705 706 var File_plugin_proto protoreflect.FileDescriptor 707 708 var file_plugin_proto_rawDesc = []byte{ 709 0x0a, 0x0c, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 710 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 711 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x2a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2d, 712 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 713 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 714 0x1a, 0x28, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 715 0x76, 0x31, 0x2f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2f, 0x75, 0x70, 0x73, 0x74, 716 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x6c, 0x6c, 0x78, 0x2f, 717 0x6c, 0x6c, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x0b, 0x50, 0x61, 718 0x72, 0x73, 0x65, 0x43, 0x4c, 0x49, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 719 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 720 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 721 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x42, 0x0a, 0x05, 0x66, 722 0x6c, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6e, 0x71, 723 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 724 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x43, 0x4c, 0x49, 0x52, 0x65, 0x71, 0x2e, 0x46, 0x6c, 725 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x1a, 726 0x50, 0x0a, 0x0a, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 727 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 728 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 729 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6c, 0x6c, 0x78, 0x2e, 0x50, 0x72, 0x69, 730 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 731 0x01, 0x22, 0x40, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x73, 0x65, 0x43, 0x4c, 0x49, 0x52, 0x65, 0x73, 732 0x12, 0x31, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 733 0x1b, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 734 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x05, 0x61, 0x73, 735 0x73, 0x65, 0x74, 0x22, 0xf1, 0x01, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 736 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 737 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x31, 738 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 739 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 740 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 741 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x69, 742 0x6e, 0x67, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x68, 0x61, 0x73, 0x52, 0x65, 0x63, 743 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 744 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0d, 0x52, 745 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 746 0x46, 0x0a, 0x08, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x16, 0x20, 0x01, 0x28, 747 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x6f, 0x6e, 0x64, 0x6f, 0x6f, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 748 0x72, 0x79, 0x2e, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x55, 749 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x75, 750 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x22, 0xa2, 0x01, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x6e, 751 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 752 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 753 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x61, 0x73, 754 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6e, 0x71, 0x75, 755 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 756 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x3d, 0x0a, 757 0x09, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 758 0x32, 0x1f, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 759 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 760 0x79, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x0d, 0x0a, 0x0b, 761 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x22, 0x0d, 0x0a, 0x0b, 0x53, 762 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x22, 0x8a, 0x02, 0x0a, 0x07, 0x44, 763 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 764 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 765 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 766 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 767 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 768 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 769 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 770 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x3b, 0x0a, 0x04, 0x61, 0x72, 0x67, 771 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 772 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 773 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x2e, 0x41, 0x72, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 774 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x1a, 0x4f, 0x0a, 0x09, 0x41, 0x72, 0x67, 0x73, 0x45, 0x6e, 775 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 776 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 777 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6c, 778 0x6c, 0x78, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x05, 0x76, 0x61, 779 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5b, 0x0a, 0x07, 0x44, 0x61, 0x74, 0x61, 0x52, 780 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 781 0x32, 0x16, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6c, 0x6c, 0x78, 0x2e, 0x50, 782 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 783 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 784 0x72, 0x72, 0x6f, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 785 0x52, 0x02, 0x69, 0x64, 0x22, 0x0c, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x52, 786 0x65, 0x73, 0x22, 0x6c, 0x0a, 0x08, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1e, 787 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 788 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 789 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 790 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 791 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 792 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 793 0x22, 0xca, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x61, 0x74, 794 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 795 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 796 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 797 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 798 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 799 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 800 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x4e, 0x0a, 801 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 802 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 803 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 804 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6c, 0x6c, 0x78, 0x2e, 0x52, 0x65, 0x73, 0x75, 805 0x6c, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x0a, 0x0a, 806 0x08, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x32, 0xec, 0x03, 0x0a, 0x0e, 0x50, 0x72, 807 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x50, 0x0a, 0x08, 808 0x50, 0x61, 0x72, 0x73, 0x65, 0x43, 0x4c, 0x49, 0x12, 0x21, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 809 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 810 0x50, 0x61, 0x72, 0x73, 0x65, 0x43, 0x4c, 0x49, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x63, 0x6e, 811 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 812 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x43, 0x4c, 0x49, 0x52, 0x65, 0x73, 0x12, 0x4d, 813 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x20, 0x2e, 0x63, 0x6e, 0x71, 0x75, 814 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 815 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x63, 0x6e, 816 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 817 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x12, 0x51, 0x0a, 818 0x0b, 0x4d, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x20, 0x2e, 0x63, 819 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 820 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x20, 821 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 822 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 823 0x12, 0x50, 0x0a, 0x08, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x21, 0x2e, 0x63, 824 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 825 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x1a, 826 0x21, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 827 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 828 0x65, 0x73, 0x12, 0x47, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x2e, 829 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 830 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x63, 831 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 832 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x09, 0x53, 833 0x74, 0x6f, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1e, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 834 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 835 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 836 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 837 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x32, 0xfa, 0x01, 0x0a, 0x10, 0x50, 0x72, 0x6f, 838 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x4a, 0x0a, 839 0x07, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 840 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 841 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x1a, 0x20, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 842 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 843 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x0c, 0x47, 0x65, 0x74, 844 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x2e, 0x63, 0x6e, 0x71, 0x75, 845 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 846 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 847 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 848 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x47, 0x0a, 0x07, 849 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 850 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 851 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 852 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 853 0x74, 0x61, 0x52, 0x65, 0x73, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x6f, 0x2e, 0x6d, 0x6f, 0x6e, 0x64, 854 0x6f, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x70, 855 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 856 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 857 } 858 859 var ( 860 file_plugin_proto_rawDescOnce sync.Once 861 file_plugin_proto_rawDescData = file_plugin_proto_rawDesc 862 ) 863 864 func file_plugin_proto_rawDescGZIP() []byte { 865 file_plugin_proto_rawDescOnce.Do(func() { 866 file_plugin_proto_rawDescData = protoimpl.X.CompressGZIP(file_plugin_proto_rawDescData) 867 }) 868 return file_plugin_proto_rawDescData 869 } 870 871 var file_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 15) 872 var file_plugin_proto_goTypes = []interface{}{ 873 (*ParseCLIReq)(nil), // 0: cnquery.providers.v1.ParseCLIReq 874 (*ParseCLIRes)(nil), // 1: cnquery.providers.v1.ParseCLIRes 875 (*ConnectReq)(nil), // 2: cnquery.providers.v1.ConnectReq 876 (*ConnectRes)(nil), // 3: cnquery.providers.v1.ConnectRes 877 (*ShutdownReq)(nil), // 4: cnquery.providers.v1.ShutdownReq 878 (*ShutdownRes)(nil), // 5: cnquery.providers.v1.ShutdownRes 879 (*DataReq)(nil), // 6: cnquery.providers.v1.DataReq 880 (*DataRes)(nil), // 7: cnquery.providers.v1.DataRes 881 (*CollectRes)(nil), // 8: cnquery.providers.v1.CollectRes 882 (*StoreReq)(nil), // 9: cnquery.providers.v1.StoreReq 883 (*ResourceData)(nil), // 10: cnquery.providers.v1.ResourceData 884 (*StoreRes)(nil), // 11: cnquery.providers.v1.StoreRes 885 nil, // 12: cnquery.providers.v1.ParseCLIReq.FlagsEntry 886 nil, // 13: cnquery.providers.v1.DataReq.ArgsEntry 887 nil, // 14: cnquery.providers.v1.ResourceData.FieldsEntry 888 (*inventory.Asset)(nil), // 15: cnquery.providers.v1.Asset 889 (*upstream.UpstreamConfig)(nil), // 16: mondoo.cnquery.upstream.v1.UpstreamConfig 890 (*inventory.Inventory)(nil), // 17: cnquery.providers.v1.Inventory 891 (*llx.Primitive)(nil), // 18: cnquery.llx.Primitive 892 (*llx.Result)(nil), // 19: cnquery.llx.Result 893 } 894 var file_plugin_proto_depIdxs = []int32{ 895 12, // 0: cnquery.providers.v1.ParseCLIReq.flags:type_name -> cnquery.providers.v1.ParseCLIReq.FlagsEntry 896 15, // 1: cnquery.providers.v1.ParseCLIRes.asset:type_name -> cnquery.providers.v1.Asset 897 15, // 2: cnquery.providers.v1.ConnectReq.asset:type_name -> cnquery.providers.v1.Asset 898 16, // 3: cnquery.providers.v1.ConnectReq.upstream:type_name -> mondoo.cnquery.upstream.v1.UpstreamConfig 899 15, // 4: cnquery.providers.v1.ConnectRes.asset:type_name -> cnquery.providers.v1.Asset 900 17, // 5: cnquery.providers.v1.ConnectRes.inventory:type_name -> cnquery.providers.v1.Inventory 901 13, // 6: cnquery.providers.v1.DataReq.args:type_name -> cnquery.providers.v1.DataReq.ArgsEntry 902 18, // 7: cnquery.providers.v1.DataRes.data:type_name -> cnquery.llx.Primitive 903 10, // 8: cnquery.providers.v1.StoreReq.resources:type_name -> cnquery.providers.v1.ResourceData 904 14, // 9: cnquery.providers.v1.ResourceData.fields:type_name -> cnquery.providers.v1.ResourceData.FieldsEntry 905 18, // 10: cnquery.providers.v1.ParseCLIReq.FlagsEntry.value:type_name -> cnquery.llx.Primitive 906 18, // 11: cnquery.providers.v1.DataReq.ArgsEntry.value:type_name -> cnquery.llx.Primitive 907 19, // 12: cnquery.providers.v1.ResourceData.FieldsEntry.value:type_name -> cnquery.llx.Result 908 0, // 13: cnquery.providers.v1.ProviderPlugin.ParseCLI:input_type -> cnquery.providers.v1.ParseCLIReq 909 2, // 14: cnquery.providers.v1.ProviderPlugin.Connect:input_type -> cnquery.providers.v1.ConnectReq 910 2, // 15: cnquery.providers.v1.ProviderPlugin.MockConnect:input_type -> cnquery.providers.v1.ConnectReq 911 4, // 16: cnquery.providers.v1.ProviderPlugin.Shutdown:input_type -> cnquery.providers.v1.ShutdownReq 912 6, // 17: cnquery.providers.v1.ProviderPlugin.GetData:input_type -> cnquery.providers.v1.DataReq 913 9, // 18: cnquery.providers.v1.ProviderPlugin.StoreData:input_type -> cnquery.providers.v1.StoreReq 914 7, // 19: cnquery.providers.v1.ProviderCallback.Collect:input_type -> cnquery.providers.v1.DataRes 915 6, // 20: cnquery.providers.v1.ProviderCallback.GetRecording:input_type -> cnquery.providers.v1.DataReq 916 6, // 21: cnquery.providers.v1.ProviderCallback.GetData:input_type -> cnquery.providers.v1.DataReq 917 1, // 22: cnquery.providers.v1.ProviderPlugin.ParseCLI:output_type -> cnquery.providers.v1.ParseCLIRes 918 3, // 23: cnquery.providers.v1.ProviderPlugin.Connect:output_type -> cnquery.providers.v1.ConnectRes 919 3, // 24: cnquery.providers.v1.ProviderPlugin.MockConnect:output_type -> cnquery.providers.v1.ConnectRes 920 5, // 25: cnquery.providers.v1.ProviderPlugin.Shutdown:output_type -> cnquery.providers.v1.ShutdownRes 921 7, // 26: cnquery.providers.v1.ProviderPlugin.GetData:output_type -> cnquery.providers.v1.DataRes 922 11, // 27: cnquery.providers.v1.ProviderPlugin.StoreData:output_type -> cnquery.providers.v1.StoreRes 923 8, // 28: cnquery.providers.v1.ProviderCallback.Collect:output_type -> cnquery.providers.v1.CollectRes 924 10, // 29: cnquery.providers.v1.ProviderCallback.GetRecording:output_type -> cnquery.providers.v1.ResourceData 925 7, // 30: cnquery.providers.v1.ProviderCallback.GetData:output_type -> cnquery.providers.v1.DataRes 926 22, // [22:31] is the sub-list for method output_type 927 13, // [13:22] is the sub-list for method input_type 928 13, // [13:13] is the sub-list for extension type_name 929 13, // [13:13] is the sub-list for extension extendee 930 0, // [0:13] is the sub-list for field type_name 931 } 932 933 func init() { file_plugin_proto_init() } 934 func file_plugin_proto_init() { 935 if File_plugin_proto != nil { 936 return 937 } 938 if !protoimpl.UnsafeEnabled { 939 file_plugin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 940 switch v := v.(*ParseCLIReq); i { 941 case 0: 942 return &v.state 943 case 1: 944 return &v.sizeCache 945 case 2: 946 return &v.unknownFields 947 default: 948 return nil 949 } 950 } 951 file_plugin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 952 switch v := v.(*ParseCLIRes); i { 953 case 0: 954 return &v.state 955 case 1: 956 return &v.sizeCache 957 case 2: 958 return &v.unknownFields 959 default: 960 return nil 961 } 962 } 963 file_plugin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 964 switch v := v.(*ConnectReq); i { 965 case 0: 966 return &v.state 967 case 1: 968 return &v.sizeCache 969 case 2: 970 return &v.unknownFields 971 default: 972 return nil 973 } 974 } 975 file_plugin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 976 switch v := v.(*ConnectRes); i { 977 case 0: 978 return &v.state 979 case 1: 980 return &v.sizeCache 981 case 2: 982 return &v.unknownFields 983 default: 984 return nil 985 } 986 } 987 file_plugin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 988 switch v := v.(*ShutdownReq); i { 989 case 0: 990 return &v.state 991 case 1: 992 return &v.sizeCache 993 case 2: 994 return &v.unknownFields 995 default: 996 return nil 997 } 998 } 999 file_plugin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1000 switch v := v.(*ShutdownRes); i { 1001 case 0: 1002 return &v.state 1003 case 1: 1004 return &v.sizeCache 1005 case 2: 1006 return &v.unknownFields 1007 default: 1008 return nil 1009 } 1010 } 1011 file_plugin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1012 switch v := v.(*DataReq); i { 1013 case 0: 1014 return &v.state 1015 case 1: 1016 return &v.sizeCache 1017 case 2: 1018 return &v.unknownFields 1019 default: 1020 return nil 1021 } 1022 } 1023 file_plugin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1024 switch v := v.(*DataRes); i { 1025 case 0: 1026 return &v.state 1027 case 1: 1028 return &v.sizeCache 1029 case 2: 1030 return &v.unknownFields 1031 default: 1032 return nil 1033 } 1034 } 1035 file_plugin_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1036 switch v := v.(*CollectRes); i { 1037 case 0: 1038 return &v.state 1039 case 1: 1040 return &v.sizeCache 1041 case 2: 1042 return &v.unknownFields 1043 default: 1044 return nil 1045 } 1046 } 1047 file_plugin_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1048 switch v := v.(*StoreReq); i { 1049 case 0: 1050 return &v.state 1051 case 1: 1052 return &v.sizeCache 1053 case 2: 1054 return &v.unknownFields 1055 default: 1056 return nil 1057 } 1058 } 1059 file_plugin_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1060 switch v := v.(*ResourceData); i { 1061 case 0: 1062 return &v.state 1063 case 1: 1064 return &v.sizeCache 1065 case 2: 1066 return &v.unknownFields 1067 default: 1068 return nil 1069 } 1070 } 1071 file_plugin_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1072 switch v := v.(*StoreRes); i { 1073 case 0: 1074 return &v.state 1075 case 1: 1076 return &v.sizeCache 1077 case 2: 1078 return &v.unknownFields 1079 default: 1080 return nil 1081 } 1082 } 1083 } 1084 type x struct{} 1085 out := protoimpl.TypeBuilder{ 1086 File: protoimpl.DescBuilder{ 1087 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1088 RawDescriptor: file_plugin_proto_rawDesc, 1089 NumEnums: 0, 1090 NumMessages: 15, 1091 NumExtensions: 0, 1092 NumServices: 2, 1093 }, 1094 GoTypes: file_plugin_proto_goTypes, 1095 DependencyIndexes: file_plugin_proto_depIdxs, 1096 MessageInfos: file_plugin_proto_msgTypes, 1097 }.Build() 1098 File_plugin_proto = out.File 1099 file_plugin_proto_rawDesc = nil 1100 file_plugin_proto_goTypes = nil 1101 file_plugin_proto_depIdxs = nil 1102 }