go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers-sdk/v1/inventory/inventory.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: inventory.proto 9 10 package inventory 11 12 import ( 13 upstream "go.mondoo.com/cnquery/providers-sdk/v1/upstream" 14 vault "go.mondoo.com/cnquery/providers-sdk/v1/vault" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 reflect "reflect" 18 sync "sync" 19 ) 20 21 const ( 22 // Verify that this generated code is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 24 // Verify that runtime/protoimpl is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 26 ) 27 28 type State int32 29 30 const ( 31 State_STATE_UNKNOWN State = 0 32 // eg. permission or io error 33 State_STATE_ERROR State = 1 34 // run time states 35 State_STATE_PENDING State = 2 36 State_STATE_RUNNING State = 3 37 State_STATE_STOPPING State = 4 38 State_STATE_STOPPED State = 5 39 State_STATE_SHUTDOWN State = 6 40 State_STATE_TERMINATED State = 7 41 State_STATE_REBOOT State = 8 42 // static states 43 State_STATE_ONLINE State = 9 44 State_STATE_OFFLINE State = 10 45 // the asset is marked as deleted 46 State_STATE_DELETED State = 11 47 ) 48 49 // Enum value maps for State. 50 var ( 51 State_name = map[int32]string{ 52 0: "STATE_UNKNOWN", 53 1: "STATE_ERROR", 54 2: "STATE_PENDING", 55 3: "STATE_RUNNING", 56 4: "STATE_STOPPING", 57 5: "STATE_STOPPED", 58 6: "STATE_SHUTDOWN", 59 7: "STATE_TERMINATED", 60 8: "STATE_REBOOT", 61 9: "STATE_ONLINE", 62 10: "STATE_OFFLINE", 63 11: "STATE_DELETED", 64 } 65 State_value = map[string]int32{ 66 "STATE_UNKNOWN": 0, 67 "STATE_ERROR": 1, 68 "STATE_PENDING": 2, 69 "STATE_RUNNING": 3, 70 "STATE_STOPPING": 4, 71 "STATE_STOPPED": 5, 72 "STATE_SHUTDOWN": 6, 73 "STATE_TERMINATED": 7, 74 "STATE_REBOOT": 8, 75 "STATE_ONLINE": 9, 76 "STATE_OFFLINE": 10, 77 "STATE_DELETED": 11, 78 } 79 ) 80 81 func (x State) Enum() *State { 82 p := new(State) 83 *p = x 84 return p 85 } 86 87 func (x State) String() string { 88 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 89 } 90 91 func (State) Descriptor() protoreflect.EnumDescriptor { 92 return file_inventory_proto_enumTypes[0].Descriptor() 93 } 94 95 func (State) Type() protoreflect.EnumType { 96 return &file_inventory_proto_enumTypes[0] 97 } 98 99 func (x State) Number() protoreflect.EnumNumber { 100 return protoreflect.EnumNumber(x) 101 } 102 103 // Deprecated: Use State.Descriptor instead. 104 func (State) EnumDescriptor() ([]byte, []int) { 105 return file_inventory_proto_rawDescGZIP(), []int{0} 106 } 107 108 type AssetCategory int32 109 110 const ( 111 AssetCategory_CATEGORY_INVENTORY AssetCategory = 0 112 AssetCategory_CATEGORY_CICD AssetCategory = 1 113 ) 114 115 // Enum value maps for AssetCategory. 116 var ( 117 AssetCategory_name = map[int32]string{ 118 0: "CATEGORY_INVENTORY", 119 1: "CATEGORY_CICD", 120 } 121 AssetCategory_value = map[string]int32{ 122 "CATEGORY_INVENTORY": 0, 123 "CATEGORY_CICD": 1, 124 } 125 ) 126 127 func (x AssetCategory) Enum() *AssetCategory { 128 p := new(AssetCategory) 129 *p = x 130 return p 131 } 132 133 func (x AssetCategory) String() string { 134 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 135 } 136 137 func (AssetCategory) Descriptor() protoreflect.EnumDescriptor { 138 return file_inventory_proto_enumTypes[1].Descriptor() 139 } 140 141 func (AssetCategory) Type() protoreflect.EnumType { 142 return &file_inventory_proto_enumTypes[1] 143 } 144 145 func (x AssetCategory) Number() protoreflect.EnumNumber { 146 return protoreflect.EnumNumber(x) 147 } 148 149 // Deprecated: Use AssetCategory.Descriptor instead. 150 func (AssetCategory) EnumDescriptor() ([]byte, []int) { 151 return file_inventory_proto_rawDescGZIP(), []int{1} 152 } 153 154 // FIXME: DEPRECATED, remove in v10.0 (or later) vv 155 type ProviderType int32 156 157 const ( 158 ProviderType_LOCAL_OS ProviderType = 0 159 ProviderType_DOCKER_ENGINE_IMAGE ProviderType = 1 160 ProviderType_DOCKER_ENGINE_CONTAINER ProviderType = 2 161 ProviderType_SSH ProviderType = 3 162 ProviderType_WINRM ProviderType = 4 163 ProviderType_AWS_SSM_RUN_COMMAND ProviderType = 5 164 ProviderType_CONTAINER_REGISTRY ProviderType = 6 165 ProviderType_TAR ProviderType = 7 166 ProviderType_MOCK ProviderType = 8 167 ProviderType_VSPHERE ProviderType = 9 168 ProviderType_ARISTAEOS ProviderType = 10 169 ProviderType_AWS ProviderType = 12 170 ProviderType_GCP ProviderType = 13 171 ProviderType_AZURE ProviderType = 14 172 ProviderType_MS365 ProviderType = 15 173 ProviderType_IPMI ProviderType = 16 174 ProviderType_VSPHERE_VM ProviderType = 17 175 ProviderType_FS ProviderType = 18 176 ProviderType_K8S ProviderType = 19 177 ProviderType_EQUINIX_METAL ProviderType = 20 178 ProviderType_DOCKER ProviderType = 21 // unspecified if this is a container or image 179 ProviderType_GITHUB ProviderType = 22 180 ProviderType_VAGRANT ProviderType = 23 181 ProviderType_AWS_EC2_EBS ProviderType = 24 182 ProviderType_GITLAB ProviderType = 25 183 ProviderType_TERRAFORM ProviderType = 26 184 ProviderType_HOST ProviderType = 27 185 ProviderType_UNKNOWN ProviderType = 28 186 ProviderType_OKTA ProviderType = 29 187 ProviderType_GOOGLE_WORKSPACE ProviderType = 30 188 ProviderType_SLACK ProviderType = 31 189 ProviderType_VCD ProviderType = 32 190 ProviderType_OCI ProviderType = 33 191 ProviderType_OPCUA ProviderType = 34 192 ProviderType_GCP_COMPUTE_INSTANCE_SNAPSHOT ProviderType = 35 193 ) 194 195 // Enum value maps for ProviderType. 196 var ( 197 ProviderType_name = map[int32]string{ 198 0: "LOCAL_OS", 199 1: "DOCKER_ENGINE_IMAGE", 200 2: "DOCKER_ENGINE_CONTAINER", 201 3: "SSH", 202 4: "WINRM", 203 5: "AWS_SSM_RUN_COMMAND", 204 6: "CONTAINER_REGISTRY", 205 7: "TAR", 206 8: "MOCK", 207 9: "VSPHERE", 208 10: "ARISTAEOS", 209 12: "AWS", 210 13: "GCP", 211 14: "AZURE", 212 15: "MS365", 213 16: "IPMI", 214 17: "VSPHERE_VM", 215 18: "FS", 216 19: "K8S", 217 20: "EQUINIX_METAL", 218 21: "DOCKER", 219 22: "GITHUB", 220 23: "VAGRANT", 221 24: "AWS_EC2_EBS", 222 25: "GITLAB", 223 26: "TERRAFORM", 224 27: "HOST", 225 28: "UNKNOWN", 226 29: "OKTA", 227 30: "GOOGLE_WORKSPACE", 228 31: "SLACK", 229 32: "VCD", 230 33: "OCI", 231 34: "OPCUA", 232 35: "GCP_COMPUTE_INSTANCE_SNAPSHOT", 233 } 234 ProviderType_value = map[string]int32{ 235 "LOCAL_OS": 0, 236 "DOCKER_ENGINE_IMAGE": 1, 237 "DOCKER_ENGINE_CONTAINER": 2, 238 "SSH": 3, 239 "WINRM": 4, 240 "AWS_SSM_RUN_COMMAND": 5, 241 "CONTAINER_REGISTRY": 6, 242 "TAR": 7, 243 "MOCK": 8, 244 "VSPHERE": 9, 245 "ARISTAEOS": 10, 246 "AWS": 12, 247 "GCP": 13, 248 "AZURE": 14, 249 "MS365": 15, 250 "IPMI": 16, 251 "VSPHERE_VM": 17, 252 "FS": 18, 253 "K8S": 19, 254 "EQUINIX_METAL": 20, 255 "DOCKER": 21, 256 "GITHUB": 22, 257 "VAGRANT": 23, 258 "AWS_EC2_EBS": 24, 259 "GITLAB": 25, 260 "TERRAFORM": 26, 261 "HOST": 27, 262 "UNKNOWN": 28, 263 "OKTA": 29, 264 "GOOGLE_WORKSPACE": 30, 265 "SLACK": 31, 266 "VCD": 32, 267 "OCI": 33, 268 "OPCUA": 34, 269 "GCP_COMPUTE_INSTANCE_SNAPSHOT": 35, 270 } 271 ) 272 273 func (x ProviderType) Enum() *ProviderType { 274 p := new(ProviderType) 275 *p = x 276 return p 277 } 278 279 func (x ProviderType) String() string { 280 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 281 } 282 283 func (ProviderType) Descriptor() protoreflect.EnumDescriptor { 284 return file_inventory_proto_enumTypes[2].Descriptor() 285 } 286 287 func (ProviderType) Type() protoreflect.EnumType { 288 return &file_inventory_proto_enumTypes[2] 289 } 290 291 func (x ProviderType) Number() protoreflect.EnumNumber { 292 return protoreflect.EnumNumber(x) 293 } 294 295 // Deprecated: Use ProviderType.Descriptor instead. 296 func (ProviderType) EnumDescriptor() ([]byte, []int) { 297 return file_inventory_proto_rawDescGZIP(), []int{2} 298 } 299 300 type DeprecatedV8_Kind int32 301 302 const ( 303 DeprecatedV8_Kind_KIND_UNKNOWN DeprecatedV8_Kind = 0 304 // at rest 305 DeprecatedV8_Kind_KIND_VIRTUAL_MACHINE_IMAGE DeprecatedV8_Kind = 1 306 DeprecatedV8_Kind_KIND_CONTAINER_IMAGE DeprecatedV8_Kind = 2 307 DeprecatedV8_Kind_KIND_CODE DeprecatedV8_Kind = 3 308 DeprecatedV8_Kind_KIND_PACKAGE DeprecatedV8_Kind = 4 309 // in motion 310 DeprecatedV8_Kind_KIND_VIRTUAL_MACHINE DeprecatedV8_Kind = 5 311 DeprecatedV8_Kind_KIND_CONTAINER DeprecatedV8_Kind = 6 312 DeprecatedV8_Kind_KIND_PROCESS DeprecatedV8_Kind = 7 313 DeprecatedV8_Kind_KIND_API DeprecatedV8_Kind = 8 314 DeprecatedV8_Kind_KIND_BARE_METAL DeprecatedV8_Kind = 9 315 DeprecatedV8_Kind_KIND_NETWORK DeprecatedV8_Kind = 10 316 DeprecatedV8_Kind_KIND_K8S_OBJECT DeprecatedV8_Kind = 11 317 DeprecatedV8_Kind_KIND_AWS_OBJECT DeprecatedV8_Kind = 12 318 DeprecatedV8_Kind_KIND_GCP_OBJECT DeprecatedV8_Kind = 13 319 DeprecatedV8_Kind_KIND_AZURE_OBJECT DeprecatedV8_Kind = 14 320 ) 321 322 // Enum value maps for DeprecatedV8_Kind. 323 var ( 324 DeprecatedV8_Kind_name = map[int32]string{ 325 0: "KIND_UNKNOWN", 326 1: "KIND_VIRTUAL_MACHINE_IMAGE", 327 2: "KIND_CONTAINER_IMAGE", 328 3: "KIND_CODE", 329 4: "KIND_PACKAGE", 330 5: "KIND_VIRTUAL_MACHINE", 331 6: "KIND_CONTAINER", 332 7: "KIND_PROCESS", 333 8: "KIND_API", 334 9: "KIND_BARE_METAL", 335 10: "KIND_NETWORK", 336 11: "KIND_K8S_OBJECT", 337 12: "KIND_AWS_OBJECT", 338 13: "KIND_GCP_OBJECT", 339 14: "KIND_AZURE_OBJECT", 340 } 341 DeprecatedV8_Kind_value = map[string]int32{ 342 "KIND_UNKNOWN": 0, 343 "KIND_VIRTUAL_MACHINE_IMAGE": 1, 344 "KIND_CONTAINER_IMAGE": 2, 345 "KIND_CODE": 3, 346 "KIND_PACKAGE": 4, 347 "KIND_VIRTUAL_MACHINE": 5, 348 "KIND_CONTAINER": 6, 349 "KIND_PROCESS": 7, 350 "KIND_API": 8, 351 "KIND_BARE_METAL": 9, 352 "KIND_NETWORK": 10, 353 "KIND_K8S_OBJECT": 11, 354 "KIND_AWS_OBJECT": 12, 355 "KIND_GCP_OBJECT": 13, 356 "KIND_AZURE_OBJECT": 14, 357 } 358 ) 359 360 func (x DeprecatedV8_Kind) Enum() *DeprecatedV8_Kind { 361 p := new(DeprecatedV8_Kind) 362 *p = x 363 return p 364 } 365 366 func (x DeprecatedV8_Kind) String() string { 367 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 368 } 369 370 func (DeprecatedV8_Kind) Descriptor() protoreflect.EnumDescriptor { 371 return file_inventory_proto_enumTypes[3].Descriptor() 372 } 373 374 func (DeprecatedV8_Kind) Type() protoreflect.EnumType { 375 return &file_inventory_proto_enumTypes[3] 376 } 377 378 func (x DeprecatedV8_Kind) Number() protoreflect.EnumNumber { 379 return protoreflect.EnumNumber(x) 380 } 381 382 // Deprecated: Use DeprecatedV8_Kind.Descriptor instead. 383 func (DeprecatedV8_Kind) EnumDescriptor() ([]byte, []int) { 384 return file_inventory_proto_rawDescGZIP(), []int{3} 385 } 386 387 type Asset struct { 388 state protoimpl.MessageState 389 sizeCache protoimpl.SizeCache 390 unknownFields protoimpl.UnknownFields 391 392 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 393 Mrn string `protobuf:"bytes,2,opt,name=mrn,proto3" json:"mrn,omitempty"` 394 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 395 // 3rd-party platform id eg. amazon arn, gcp resource name or ssh host key 396 PlatformIds []string `protobuf:"bytes,4,rep,name=platform_ids,json=platformIds,proto3" json:"platform_ids,omitempty"` 397 // asset state 398 State State `protobuf:"varint,5,opt,name=state,proto3,enum=cnquery.providers.v1.State" json:"state,omitempty"` 399 Platform *Platform `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"` 400 // key is a lower case string of connection type 401 Connections []*Config `protobuf:"bytes,17,rep,name=connections,proto3" json:"connections,omitempty"` 402 // labeled assets can be searched by labels 403 Labels map[string]string `protobuf:"bytes,18,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 404 // additional information that is not touched by the system 405 Annotations map[string]string `protobuf:"bytes,19,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 406 // additional options for that asset 407 Options map[string]string `protobuf:"bytes,20,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 408 // platform id detection mechanisms 409 IdDetector []string `protobuf:"bytes,31,rep,name=id_detector,json=idDetector,proto3" json:"id_detector,omitempty"` 410 // indicator is this is an inventory object or a CI/CD run 411 Category AssetCategory `protobuf:"varint,32,opt,name=category,proto3,enum=cnquery.providers.v1.AssetCategory" json:"category,omitempty"` 412 RelatedAssets []*Asset `protobuf:"bytes,33,rep,name=related_assets,json=relatedAssets,proto3" json:"related_assets,omitempty"` 413 ManagedBy string `protobuf:"bytes,34,opt,name=managed_by,json=managedBy,proto3" json:"managed_by,omitempty"` 414 // optional url that can be used to access the asset via a browser 415 Url string `protobuf:"bytes,35,opt,name=url,proto3" json:"url,omitempty"` 416 KindString string `protobuf:"bytes,36,opt,name=kind_string,json=kindString,proto3" json:"kind_string,omitempty"` 417 } 418 419 func (x *Asset) Reset() { 420 *x = Asset{} 421 if protoimpl.UnsafeEnabled { 422 mi := &file_inventory_proto_msgTypes[0] 423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 424 ms.StoreMessageInfo(mi) 425 } 426 } 427 428 func (x *Asset) String() string { 429 return protoimpl.X.MessageStringOf(x) 430 } 431 432 func (*Asset) ProtoMessage() {} 433 434 func (x *Asset) ProtoReflect() protoreflect.Message { 435 mi := &file_inventory_proto_msgTypes[0] 436 if protoimpl.UnsafeEnabled && x != nil { 437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 438 if ms.LoadMessageInfo() == nil { 439 ms.StoreMessageInfo(mi) 440 } 441 return ms 442 } 443 return mi.MessageOf(x) 444 } 445 446 // Deprecated: Use Asset.ProtoReflect.Descriptor instead. 447 func (*Asset) Descriptor() ([]byte, []int) { 448 return file_inventory_proto_rawDescGZIP(), []int{0} 449 } 450 451 func (x *Asset) GetId() string { 452 if x != nil { 453 return x.Id 454 } 455 return "" 456 } 457 458 func (x *Asset) GetMrn() string { 459 if x != nil { 460 return x.Mrn 461 } 462 return "" 463 } 464 465 func (x *Asset) GetName() string { 466 if x != nil { 467 return x.Name 468 } 469 return "" 470 } 471 472 func (x *Asset) GetPlatformIds() []string { 473 if x != nil { 474 return x.PlatformIds 475 } 476 return nil 477 } 478 479 func (x *Asset) GetState() State { 480 if x != nil { 481 return x.State 482 } 483 return State_STATE_UNKNOWN 484 } 485 486 func (x *Asset) GetPlatform() *Platform { 487 if x != nil { 488 return x.Platform 489 } 490 return nil 491 } 492 493 func (x *Asset) GetConnections() []*Config { 494 if x != nil { 495 return x.Connections 496 } 497 return nil 498 } 499 500 func (x *Asset) GetLabels() map[string]string { 501 if x != nil { 502 return x.Labels 503 } 504 return nil 505 } 506 507 func (x *Asset) GetAnnotations() map[string]string { 508 if x != nil { 509 return x.Annotations 510 } 511 return nil 512 } 513 514 func (x *Asset) GetOptions() map[string]string { 515 if x != nil { 516 return x.Options 517 } 518 return nil 519 } 520 521 func (x *Asset) GetIdDetector() []string { 522 if x != nil { 523 return x.IdDetector 524 } 525 return nil 526 } 527 528 func (x *Asset) GetCategory() AssetCategory { 529 if x != nil { 530 return x.Category 531 } 532 return AssetCategory_CATEGORY_INVENTORY 533 } 534 535 func (x *Asset) GetRelatedAssets() []*Asset { 536 if x != nil { 537 return x.RelatedAssets 538 } 539 return nil 540 } 541 542 func (x *Asset) GetManagedBy() string { 543 if x != nil { 544 return x.ManagedBy 545 } 546 return "" 547 } 548 549 func (x *Asset) GetUrl() string { 550 if x != nil { 551 return x.Url 552 } 553 return "" 554 } 555 556 func (x *Asset) GetKindString() string { 557 if x != nil { 558 return x.KindString 559 } 560 return "" 561 } 562 563 type Config struct { 564 state protoimpl.MessageState 565 sizeCache protoimpl.SizeCache 566 unknownFields protoimpl.UnknownFields 567 568 // FIXME: DEPRECATED, remove in v10.0 (or later) vv 569 // This is replaced by type. We use a different number here so it doesn't 570 // conflict with the old "backend" while allowing us to load the field from yaml. 571 Backend ProviderType `protobuf:"varint,28,opt,name=backend,proto3,enum=cnquery.providers.v1.ProviderType" json:"backend,omitempty"` 572 Kind DeprecatedV8_Kind `protobuf:"varint,24,opt,name=kind,proto3,enum=cnquery.providers.v1.DeprecatedV8_Kind" json:"kind,omitempty"` // ^^ 573 Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` 574 // Ports are not int by default, eg. docker://centos:latest parses a string as port 575 // Therefore it is up to the provider to convert the port to what they need 576 Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` 577 Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` 578 Id uint32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` 579 Type string `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"` 580 // credentials available for this provider configuration 581 Credentials []*vault.Credential `protobuf:"bytes,11,rep,name=credentials,proto3" json:"credentials,omitempty"` 582 Insecure bool `protobuf:"varint,8,opt,name=insecure,proto3" json:"insecure,omitempty"` // disable ssl/tls checks 583 Sudo *Sudo `protobuf:"bytes,21,opt,name=sudo,proto3" json:"sudo,omitempty"` 584 Record bool `protobuf:"varint,22,opt,name=record,proto3" json:"record,omitempty"` 585 Options map[string]string `protobuf:"bytes,23,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 586 // flags for additional asset discovery 587 Discover *Discovery `protobuf:"bytes,27,opt,name=discover,proto3" json:"discover,omitempty"` 588 // additional platform information, passed-through 589 Runtime string `protobuf:"bytes,25,opt,name=runtime,proto3" json:"runtime,omitempty"` 590 // configuration to uniquely identify an specific asset for multi-asset api connection 591 PlatformId string `protobuf:"bytes,26,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"` 592 Capabilities []string `protobuf:"bytes,29,rep,name=capabilities,proto3" json:"capabilities,omitempty"` 593 } 594 595 func (x *Config) Reset() { 596 *x = Config{} 597 if protoimpl.UnsafeEnabled { 598 mi := &file_inventory_proto_msgTypes[1] 599 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 600 ms.StoreMessageInfo(mi) 601 } 602 } 603 604 func (x *Config) String() string { 605 return protoimpl.X.MessageStringOf(x) 606 } 607 608 func (*Config) ProtoMessage() {} 609 610 func (x *Config) ProtoReflect() protoreflect.Message { 611 mi := &file_inventory_proto_msgTypes[1] 612 if protoimpl.UnsafeEnabled && x != nil { 613 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 614 if ms.LoadMessageInfo() == nil { 615 ms.StoreMessageInfo(mi) 616 } 617 return ms 618 } 619 return mi.MessageOf(x) 620 } 621 622 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 623 func (*Config) Descriptor() ([]byte, []int) { 624 return file_inventory_proto_rawDescGZIP(), []int{1} 625 } 626 627 func (x *Config) GetBackend() ProviderType { 628 if x != nil { 629 return x.Backend 630 } 631 return ProviderType_LOCAL_OS 632 } 633 634 func (x *Config) GetKind() DeprecatedV8_Kind { 635 if x != nil { 636 return x.Kind 637 } 638 return DeprecatedV8_Kind_KIND_UNKNOWN 639 } 640 641 func (x *Config) GetHost() string { 642 if x != nil { 643 return x.Host 644 } 645 return "" 646 } 647 648 func (x *Config) GetPort() int32 { 649 if x != nil { 650 return x.Port 651 } 652 return 0 653 } 654 655 func (x *Config) GetPath() string { 656 if x != nil { 657 return x.Path 658 } 659 return "" 660 } 661 662 func (x *Config) GetId() uint32 { 663 if x != nil { 664 return x.Id 665 } 666 return 0 667 } 668 669 func (x *Config) GetType() string { 670 if x != nil { 671 return x.Type 672 } 673 return "" 674 } 675 676 func (x *Config) GetCredentials() []*vault.Credential { 677 if x != nil { 678 return x.Credentials 679 } 680 return nil 681 } 682 683 func (x *Config) GetInsecure() bool { 684 if x != nil { 685 return x.Insecure 686 } 687 return false 688 } 689 690 func (x *Config) GetSudo() *Sudo { 691 if x != nil { 692 return x.Sudo 693 } 694 return nil 695 } 696 697 func (x *Config) GetRecord() bool { 698 if x != nil { 699 return x.Record 700 } 701 return false 702 } 703 704 func (x *Config) GetOptions() map[string]string { 705 if x != nil { 706 return x.Options 707 } 708 return nil 709 } 710 711 func (x *Config) GetDiscover() *Discovery { 712 if x != nil { 713 return x.Discover 714 } 715 return nil 716 } 717 718 func (x *Config) GetRuntime() string { 719 if x != nil { 720 return x.Runtime 721 } 722 return "" 723 } 724 725 func (x *Config) GetPlatformId() string { 726 if x != nil { 727 return x.PlatformId 728 } 729 return "" 730 } 731 732 func (x *Config) GetCapabilities() []string { 733 if x != nil { 734 return x.Capabilities 735 } 736 return nil 737 } 738 739 type Sudo struct { 740 state protoimpl.MessageState 741 sizeCache protoimpl.SizeCache 742 unknownFields protoimpl.UnknownFields 743 744 Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` 745 User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` 746 Shell string `protobuf:"bytes,3,opt,name=shell,proto3" json:"shell,omitempty"` 747 Executable string `protobuf:"bytes,4,opt,name=executable,proto3" json:"executable,omitempty"` 748 } 749 750 func (x *Sudo) Reset() { 751 *x = Sudo{} 752 if protoimpl.UnsafeEnabled { 753 mi := &file_inventory_proto_msgTypes[2] 754 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 755 ms.StoreMessageInfo(mi) 756 } 757 } 758 759 func (x *Sudo) String() string { 760 return protoimpl.X.MessageStringOf(x) 761 } 762 763 func (*Sudo) ProtoMessage() {} 764 765 func (x *Sudo) ProtoReflect() protoreflect.Message { 766 mi := &file_inventory_proto_msgTypes[2] 767 if protoimpl.UnsafeEnabled && x != nil { 768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 769 if ms.LoadMessageInfo() == nil { 770 ms.StoreMessageInfo(mi) 771 } 772 return ms 773 } 774 return mi.MessageOf(x) 775 } 776 777 // Deprecated: Use Sudo.ProtoReflect.Descriptor instead. 778 func (*Sudo) Descriptor() ([]byte, []int) { 779 return file_inventory_proto_rawDescGZIP(), []int{2} 780 } 781 782 func (x *Sudo) GetActive() bool { 783 if x != nil { 784 return x.Active 785 } 786 return false 787 } 788 789 func (x *Sudo) GetUser() string { 790 if x != nil { 791 return x.User 792 } 793 return "" 794 } 795 796 func (x *Sudo) GetShell() string { 797 if x != nil { 798 return x.Shell 799 } 800 return "" 801 } 802 803 func (x *Sudo) GetExecutable() string { 804 if x != nil { 805 return x.Executable 806 } 807 return "" 808 } 809 810 type Discovery struct { 811 state protoimpl.MessageState 812 sizeCache protoimpl.SizeCache 813 unknownFields protoimpl.UnknownFields 814 815 Targets []string `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"` 816 Filter map[string]string `protobuf:"bytes,2,rep,name=filter,proto3" json:"filter,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 817 } 818 819 func (x *Discovery) Reset() { 820 *x = Discovery{} 821 if protoimpl.UnsafeEnabled { 822 mi := &file_inventory_proto_msgTypes[3] 823 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 824 ms.StoreMessageInfo(mi) 825 } 826 } 827 828 func (x *Discovery) String() string { 829 return protoimpl.X.MessageStringOf(x) 830 } 831 832 func (*Discovery) ProtoMessage() {} 833 834 func (x *Discovery) ProtoReflect() protoreflect.Message { 835 mi := &file_inventory_proto_msgTypes[3] 836 if protoimpl.UnsafeEnabled && x != nil { 837 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 838 if ms.LoadMessageInfo() == nil { 839 ms.StoreMessageInfo(mi) 840 } 841 return ms 842 } 843 return mi.MessageOf(x) 844 } 845 846 // Deprecated: Use Discovery.ProtoReflect.Descriptor instead. 847 func (*Discovery) Descriptor() ([]byte, []int) { 848 return file_inventory_proto_rawDescGZIP(), []int{3} 849 } 850 851 func (x *Discovery) GetTargets() []string { 852 if x != nil { 853 return x.Targets 854 } 855 return nil 856 } 857 858 func (x *Discovery) GetFilter() map[string]string { 859 if x != nil { 860 return x.Filter 861 } 862 return nil 863 } 864 865 type Platform struct { 866 state protoimpl.MessageState 867 sizeCache protoimpl.SizeCache 868 unknownFields protoimpl.UnknownFields 869 870 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 871 Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"` 872 Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` 873 Family []string `protobuf:"bytes,5,rep,name=family,proto3" json:"family,omitempty"` 874 Build string `protobuf:"bytes,6,opt,name=build,proto3" json:"build,omitempty"` 875 Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` 876 Kind string `protobuf:"bytes,8,opt,name=kind,proto3" json:"kind,omitempty"` 877 // FIXME: DEPRECATED, remove in v10 vv 878 DeprecatedV8Kind DeprecatedV8_Kind `protobuf:"varint,20,opt,name=deprecated_v8_kind,json=deprecatedV8Kind,proto3,enum=cnquery.providers.v1.DeprecatedV8_Kind" json:"deprecated_v8_kind,omitempty"` // ^^ 879 Runtime string `protobuf:"bytes,21,opt,name=runtime,proto3" json:"runtime,omitempty"` 880 Labels map[string]string `protobuf:"bytes,22,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 881 } 882 883 func (x *Platform) Reset() { 884 *x = Platform{} 885 if protoimpl.UnsafeEnabled { 886 mi := &file_inventory_proto_msgTypes[4] 887 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 888 ms.StoreMessageInfo(mi) 889 } 890 } 891 892 func (x *Platform) String() string { 893 return protoimpl.X.MessageStringOf(x) 894 } 895 896 func (*Platform) ProtoMessage() {} 897 898 func (x *Platform) ProtoReflect() protoreflect.Message { 899 mi := &file_inventory_proto_msgTypes[4] 900 if protoimpl.UnsafeEnabled && x != nil { 901 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 902 if ms.LoadMessageInfo() == nil { 903 ms.StoreMessageInfo(mi) 904 } 905 return ms 906 } 907 return mi.MessageOf(x) 908 } 909 910 // Deprecated: Use Platform.ProtoReflect.Descriptor instead. 911 func (*Platform) Descriptor() ([]byte, []int) { 912 return file_inventory_proto_rawDescGZIP(), []int{4} 913 } 914 915 func (x *Platform) GetName() string { 916 if x != nil { 917 return x.Name 918 } 919 return "" 920 } 921 922 func (x *Platform) GetArch() string { 923 if x != nil { 924 return x.Arch 925 } 926 return "" 927 } 928 929 func (x *Platform) GetTitle() string { 930 if x != nil { 931 return x.Title 932 } 933 return "" 934 } 935 936 func (x *Platform) GetFamily() []string { 937 if x != nil { 938 return x.Family 939 } 940 return nil 941 } 942 943 func (x *Platform) GetBuild() string { 944 if x != nil { 945 return x.Build 946 } 947 return "" 948 } 949 950 func (x *Platform) GetVersion() string { 951 if x != nil { 952 return x.Version 953 } 954 return "" 955 } 956 957 func (x *Platform) GetKind() string { 958 if x != nil { 959 return x.Kind 960 } 961 return "" 962 } 963 964 func (x *Platform) GetDeprecatedV8Kind() DeprecatedV8_Kind { 965 if x != nil { 966 return x.DeprecatedV8Kind 967 } 968 return DeprecatedV8_Kind_KIND_UNKNOWN 969 } 970 971 func (x *Platform) GetRuntime() string { 972 if x != nil { 973 return x.Runtime 974 } 975 return "" 976 } 977 978 func (x *Platform) GetLabels() map[string]string { 979 if x != nil { 980 return x.Labels 981 } 982 return nil 983 } 984 985 // TypeMeta describes an individual object in an API response or request 986 // with strings representing the type of the object and its API schema version. 987 // Structures that are versioned or persisted should inline TypeMeta. 988 type TypeMeta struct { 989 state protoimpl.MessageState 990 sizeCache protoimpl.SizeCache 991 unknownFields protoimpl.UnknownFields 992 993 // Kind is a string value representing the REST resource this object represents. 994 // Servers may infer this from the endpoint the client submits requests to. 995 // Cannot be updated. 996 // In CamelCase. 997 // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds 998 // +optional 999 Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` 1000 // APIVersion defines the versioned schema of this representation of an object. 1001 // Servers should convert recognized schemas to the latest internal value, and 1002 // may reject unrecognized values. 1003 // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources 1004 // +optional 1005 ApiVersion string `protobuf:"bytes,2,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"` 1006 } 1007 1008 func (x *TypeMeta) Reset() { 1009 *x = TypeMeta{} 1010 if protoimpl.UnsafeEnabled { 1011 mi := &file_inventory_proto_msgTypes[5] 1012 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1013 ms.StoreMessageInfo(mi) 1014 } 1015 } 1016 1017 func (x *TypeMeta) String() string { 1018 return protoimpl.X.MessageStringOf(x) 1019 } 1020 1021 func (*TypeMeta) ProtoMessage() {} 1022 1023 func (x *TypeMeta) ProtoReflect() protoreflect.Message { 1024 mi := &file_inventory_proto_msgTypes[5] 1025 if protoimpl.UnsafeEnabled && x != nil { 1026 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1027 if ms.LoadMessageInfo() == nil { 1028 ms.StoreMessageInfo(mi) 1029 } 1030 return ms 1031 } 1032 return mi.MessageOf(x) 1033 } 1034 1035 // Deprecated: Use TypeMeta.ProtoReflect.Descriptor instead. 1036 func (*TypeMeta) Descriptor() ([]byte, []int) { 1037 return file_inventory_proto_rawDescGZIP(), []int{5} 1038 } 1039 1040 func (x *TypeMeta) GetKind() string { 1041 if x != nil { 1042 return x.Kind 1043 } 1044 return "" 1045 } 1046 1047 func (x *TypeMeta) GetApiVersion() string { 1048 if x != nil { 1049 return x.ApiVersion 1050 } 1051 return "" 1052 } 1053 1054 // ObjectMeta is metadata that all persisted resources must have, which includes all objects 1055 // users must create. 1056 type ObjectMeta struct { 1057 state protoimpl.MessageState 1058 sizeCache protoimpl.SizeCache 1059 unknownFields protoimpl.UnknownFields 1060 1061 // Name must be unique within a namespace. Is required when creating resources, although 1062 // some resources may allow a client to request the generation of an appropriate name 1063 // automatically. Name is primarily intended for creation idempotence and configuration 1064 // definition. 1065 // Cannot be updated. 1066 // More info: http://kubernetes.io/docs/user-guide/identifiers#names 1067 // +optional 1068 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1069 // Namespace defines the space within which each name must be unique. An empty namespace is 1070 // equivalent to the "default" namespace, but "default" is the canonical representation. 1071 // Not all objects are required to be scoped to a namespace - the value of this field for 1072 // those objects will be empty. 1073 // 1074 // Must be a DNS_LABEL. 1075 // Cannot be updated. 1076 // More info: http://kubernetes.io/docs/user-guide/namespaces 1077 // +optional 1078 Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` 1079 // Map of string keys and values that can be used to organize and categorize 1080 // (scope and select) objects. May match selectors of replication controllers 1081 // and services. 1082 // More info: http://kubernetes.io/docs/user-guide/labels 1083 // +optional 1084 Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1085 // Annotations is an unstructured key value map stored with a resource that may be 1086 // set by external tools to store and retrieve arbitrary metadata. They are not 1087 // queryable and should be preserved when modifying objects. 1088 // More info: http://kubernetes.io/docs/user-guide/annotations 1089 // +optional 1090 Annotations map[string]string `protobuf:"bytes,12,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1091 // List of objects depended by this object. If ALL objects in the list have 1092 // been deleted, this object will be garbage collected. If this object is managed by a controller, 1093 // then an entry in this list will point to this controller, with the controller field set to true. 1094 // There cannot be more than one managing controller. 1095 // +optional 1096 // +patchMergeKey=uid 1097 // +patchStrategy=merge 1098 OwnerReferences []*OwnerReference `protobuf:"bytes,13,rep,name=ownerReferences,proto3" json:"ownerReferences,omitempty"` 1099 } 1100 1101 func (x *ObjectMeta) Reset() { 1102 *x = ObjectMeta{} 1103 if protoimpl.UnsafeEnabled { 1104 mi := &file_inventory_proto_msgTypes[6] 1105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1106 ms.StoreMessageInfo(mi) 1107 } 1108 } 1109 1110 func (x *ObjectMeta) String() string { 1111 return protoimpl.X.MessageStringOf(x) 1112 } 1113 1114 func (*ObjectMeta) ProtoMessage() {} 1115 1116 func (x *ObjectMeta) ProtoReflect() protoreflect.Message { 1117 mi := &file_inventory_proto_msgTypes[6] 1118 if protoimpl.UnsafeEnabled && x != nil { 1119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1120 if ms.LoadMessageInfo() == nil { 1121 ms.StoreMessageInfo(mi) 1122 } 1123 return ms 1124 } 1125 return mi.MessageOf(x) 1126 } 1127 1128 // Deprecated: Use ObjectMeta.ProtoReflect.Descriptor instead. 1129 func (*ObjectMeta) Descriptor() ([]byte, []int) { 1130 return file_inventory_proto_rawDescGZIP(), []int{6} 1131 } 1132 1133 func (x *ObjectMeta) GetName() string { 1134 if x != nil { 1135 return x.Name 1136 } 1137 return "" 1138 } 1139 1140 func (x *ObjectMeta) GetNamespace() string { 1141 if x != nil { 1142 return x.Namespace 1143 } 1144 return "" 1145 } 1146 1147 func (x *ObjectMeta) GetLabels() map[string]string { 1148 if x != nil { 1149 return x.Labels 1150 } 1151 return nil 1152 } 1153 1154 func (x *ObjectMeta) GetAnnotations() map[string]string { 1155 if x != nil { 1156 return x.Annotations 1157 } 1158 return nil 1159 } 1160 1161 func (x *ObjectMeta) GetOwnerReferences() []*OwnerReference { 1162 if x != nil { 1163 return x.OwnerReferences 1164 } 1165 return nil 1166 } 1167 1168 // Time is a wrapper around time.Time which supports correct 1169 // marshaling to YAML and JSON. Wrappers are provided for many 1170 // of the factory methods that the time package offers. 1171 // 1172 // +protobuf.options.marshal=false 1173 // +protobuf.as=Timestamp 1174 // +protobuf.options.(gogoproto.goproto_stringer)=false 1175 type Time struct { 1176 state protoimpl.MessageState 1177 sizeCache protoimpl.SizeCache 1178 unknownFields protoimpl.UnknownFields 1179 1180 // Represents seconds of UTC time since Unix epoch 1181 // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 1182 // 9999-12-31T23:59:59Z inclusive. 1183 Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` 1184 // Non-negative fractions of a second at nanosecond resolution. Negative 1185 // second values with fractions must still have non-negative nanos values 1186 // that count forward in time. Must be from 0 to 999,999,999 1187 // inclusive. This field may be limited in precision depending on context. 1188 Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` 1189 } 1190 1191 func (x *Time) Reset() { 1192 *x = Time{} 1193 if protoimpl.UnsafeEnabled { 1194 mi := &file_inventory_proto_msgTypes[7] 1195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1196 ms.StoreMessageInfo(mi) 1197 } 1198 } 1199 1200 func (x *Time) String() string { 1201 return protoimpl.X.MessageStringOf(x) 1202 } 1203 1204 func (*Time) ProtoMessage() {} 1205 1206 func (x *Time) ProtoReflect() protoreflect.Message { 1207 mi := &file_inventory_proto_msgTypes[7] 1208 if protoimpl.UnsafeEnabled && x != nil { 1209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1210 if ms.LoadMessageInfo() == nil { 1211 ms.StoreMessageInfo(mi) 1212 } 1213 return ms 1214 } 1215 return mi.MessageOf(x) 1216 } 1217 1218 // Deprecated: Use Time.ProtoReflect.Descriptor instead. 1219 func (*Time) Descriptor() ([]byte, []int) { 1220 return file_inventory_proto_rawDescGZIP(), []int{7} 1221 } 1222 1223 func (x *Time) GetSeconds() int64 { 1224 if x != nil { 1225 return x.Seconds 1226 } 1227 return 0 1228 } 1229 1230 func (x *Time) GetNanos() int32 { 1231 if x != nil { 1232 return x.Nanos 1233 } 1234 return 0 1235 } 1236 1237 // OwnerReference contains enough information to let you identify an owning 1238 // object. An owning object must be in the same namespace as the dependent, or 1239 // be cluster-scoped, so there is no namespace field. 1240 // +structType=atomic 1241 type OwnerReference struct { 1242 state protoimpl.MessageState 1243 sizeCache protoimpl.SizeCache 1244 unknownFields protoimpl.UnknownFields 1245 1246 // API version of the referent. 1247 ApiVersion string `protobuf:"bytes,5,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"` 1248 // Kind of the referent. 1249 // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds 1250 Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` 1251 // Name of the referent. 1252 // More info: http://kubernetes.io/docs/user-guide/identifiers#names 1253 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 1254 // UID of the referent. 1255 // More info: http://kubernetes.io/docs/user-guide/identifiers#uids 1256 Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` 1257 } 1258 1259 func (x *OwnerReference) Reset() { 1260 *x = OwnerReference{} 1261 if protoimpl.UnsafeEnabled { 1262 mi := &file_inventory_proto_msgTypes[8] 1263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1264 ms.StoreMessageInfo(mi) 1265 } 1266 } 1267 1268 func (x *OwnerReference) String() string { 1269 return protoimpl.X.MessageStringOf(x) 1270 } 1271 1272 func (*OwnerReference) ProtoMessage() {} 1273 1274 func (x *OwnerReference) ProtoReflect() protoreflect.Message { 1275 mi := &file_inventory_proto_msgTypes[8] 1276 if protoimpl.UnsafeEnabled && x != nil { 1277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1278 if ms.LoadMessageInfo() == nil { 1279 ms.StoreMessageInfo(mi) 1280 } 1281 return ms 1282 } 1283 return mi.MessageOf(x) 1284 } 1285 1286 // Deprecated: Use OwnerReference.ProtoReflect.Descriptor instead. 1287 func (*OwnerReference) Descriptor() ([]byte, []int) { 1288 return file_inventory_proto_rawDescGZIP(), []int{8} 1289 } 1290 1291 func (x *OwnerReference) GetApiVersion() string { 1292 if x != nil { 1293 return x.ApiVersion 1294 } 1295 return "" 1296 } 1297 1298 func (x *OwnerReference) GetKind() string { 1299 if x != nil { 1300 return x.Kind 1301 } 1302 return "" 1303 } 1304 1305 func (x *OwnerReference) GetName() string { 1306 if x != nil { 1307 return x.Name 1308 } 1309 return "" 1310 } 1311 1312 func (x *OwnerReference) GetUid() string { 1313 if x != nil { 1314 return x.Uid 1315 } 1316 return "" 1317 } 1318 1319 // Inventory declares the all assets and their credentials 1320 type Inventory struct { 1321 state protoimpl.MessageState 1322 sizeCache protoimpl.SizeCache 1323 unknownFields protoimpl.UnknownFields 1324 1325 // Standard object's metadata. 1326 // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata 1327 Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` 1328 // Specification of the desired behavior of the Inventory. 1329 Spec *InventorySpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` 1330 // Most recently observed status of the Inventory. 1331 Status *InventoryStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` 1332 } 1333 1334 func (x *Inventory) Reset() { 1335 *x = Inventory{} 1336 if protoimpl.UnsafeEnabled { 1337 mi := &file_inventory_proto_msgTypes[9] 1338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1339 ms.StoreMessageInfo(mi) 1340 } 1341 } 1342 1343 func (x *Inventory) String() string { 1344 return protoimpl.X.MessageStringOf(x) 1345 } 1346 1347 func (*Inventory) ProtoMessage() {} 1348 1349 func (x *Inventory) ProtoReflect() protoreflect.Message { 1350 mi := &file_inventory_proto_msgTypes[9] 1351 if protoimpl.UnsafeEnabled && x != nil { 1352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1353 if ms.LoadMessageInfo() == nil { 1354 ms.StoreMessageInfo(mi) 1355 } 1356 return ms 1357 } 1358 return mi.MessageOf(x) 1359 } 1360 1361 // Deprecated: Use Inventory.ProtoReflect.Descriptor instead. 1362 func (*Inventory) Descriptor() ([]byte, []int) { 1363 return file_inventory_proto_rawDescGZIP(), []int{9} 1364 } 1365 1366 func (x *Inventory) GetMetadata() *ObjectMeta { 1367 if x != nil { 1368 return x.Metadata 1369 } 1370 return nil 1371 } 1372 1373 func (x *Inventory) GetSpec() *InventorySpec { 1374 if x != nil { 1375 return x.Spec 1376 } 1377 return nil 1378 } 1379 1380 func (x *Inventory) GetStatus() *InventoryStatus { 1381 if x != nil { 1382 return x.Status 1383 } 1384 return nil 1385 } 1386 1387 type InventorySpec struct { 1388 state protoimpl.MessageState 1389 sizeCache protoimpl.SizeCache 1390 unknownFields protoimpl.UnknownFields 1391 1392 Assets []*Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` 1393 Credentials map[string]*vault.Credential `protobuf:"bytes,2,rep,name=credentials,proto3" json:"credentials,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1394 Vault *vault.VaultConfiguration `protobuf:"bytes,3,opt,name=vault,proto3" json:"vault,omitempty"` 1395 CredentialQuery string `protobuf:"bytes,4,opt,name=credential_query,json=credentialQuery,proto3" json:"credential_query,omitempty"` 1396 // optional: the upstream credentials to use for the inventory 1397 UpstreamCredentials *upstream.ServiceAccountCredentials `protobuf:"bytes,16,opt,name=upstream_credentials,json=upstreamCredentials,proto3" json:"upstream_credentials,omitempty"` 1398 } 1399 1400 func (x *InventorySpec) Reset() { 1401 *x = InventorySpec{} 1402 if protoimpl.UnsafeEnabled { 1403 mi := &file_inventory_proto_msgTypes[10] 1404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1405 ms.StoreMessageInfo(mi) 1406 } 1407 } 1408 1409 func (x *InventorySpec) String() string { 1410 return protoimpl.X.MessageStringOf(x) 1411 } 1412 1413 func (*InventorySpec) ProtoMessage() {} 1414 1415 func (x *InventorySpec) ProtoReflect() protoreflect.Message { 1416 mi := &file_inventory_proto_msgTypes[10] 1417 if protoimpl.UnsafeEnabled && x != nil { 1418 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1419 if ms.LoadMessageInfo() == nil { 1420 ms.StoreMessageInfo(mi) 1421 } 1422 return ms 1423 } 1424 return mi.MessageOf(x) 1425 } 1426 1427 // Deprecated: Use InventorySpec.ProtoReflect.Descriptor instead. 1428 func (*InventorySpec) Descriptor() ([]byte, []int) { 1429 return file_inventory_proto_rawDescGZIP(), []int{10} 1430 } 1431 1432 func (x *InventorySpec) GetAssets() []*Asset { 1433 if x != nil { 1434 return x.Assets 1435 } 1436 return nil 1437 } 1438 1439 func (x *InventorySpec) GetCredentials() map[string]*vault.Credential { 1440 if x != nil { 1441 return x.Credentials 1442 } 1443 return nil 1444 } 1445 1446 func (x *InventorySpec) GetVault() *vault.VaultConfiguration { 1447 if x != nil { 1448 return x.Vault 1449 } 1450 return nil 1451 } 1452 1453 func (x *InventorySpec) GetCredentialQuery() string { 1454 if x != nil { 1455 return x.CredentialQuery 1456 } 1457 return "" 1458 } 1459 1460 func (x *InventorySpec) GetUpstreamCredentials() *upstream.ServiceAccountCredentials { 1461 if x != nil { 1462 return x.UpstreamCredentials 1463 } 1464 return nil 1465 } 1466 1467 type InventoryStatus struct { 1468 state protoimpl.MessageState 1469 sizeCache protoimpl.SizeCache 1470 unknownFields protoimpl.UnknownFields 1471 } 1472 1473 func (x *InventoryStatus) Reset() { 1474 *x = InventoryStatus{} 1475 if protoimpl.UnsafeEnabled { 1476 mi := &file_inventory_proto_msgTypes[11] 1477 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1478 ms.StoreMessageInfo(mi) 1479 } 1480 } 1481 1482 func (x *InventoryStatus) String() string { 1483 return protoimpl.X.MessageStringOf(x) 1484 } 1485 1486 func (*InventoryStatus) ProtoMessage() {} 1487 1488 func (x *InventoryStatus) ProtoReflect() protoreflect.Message { 1489 mi := &file_inventory_proto_msgTypes[11] 1490 if protoimpl.UnsafeEnabled && x != nil { 1491 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1492 if ms.LoadMessageInfo() == nil { 1493 ms.StoreMessageInfo(mi) 1494 } 1495 return ms 1496 } 1497 return mi.MessageOf(x) 1498 } 1499 1500 // Deprecated: Use InventoryStatus.ProtoReflect.Descriptor instead. 1501 func (*InventoryStatus) Descriptor() ([]byte, []int) { 1502 return file_inventory_proto_rawDescGZIP(), []int{11} 1503 } 1504 1505 var File_inventory_proto protoreflect.FileDescriptor 1506 1507 var file_inventory_proto_rawDesc = []byte{ 1508 0x0a, 0x0f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1509 0x6f, 0x12, 0x14, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 1510 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x22, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 1511 0x72, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 1512 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x70, 0x72, 0x6f, 1513 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x70, 1514 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 1515 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x99, 0x07, 0x0a, 0x05, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 1516 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 1517 0x10, 0x0a, 0x03, 0x6d, 0x72, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x72, 1518 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 1519 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 1520 0x6d, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x6c, 0x61, 1521 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x64, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 1522 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 1523 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 1524 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x70, 1525 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 1526 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 1527 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x08, 0x70, 1528 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3e, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 1529 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 1530 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 1531 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 1532 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3f, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 1533 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 1534 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 1535 0x73, 0x73, 0x65, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 1536 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x4e, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 1537 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 1538 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 1539 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 1540 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 1541 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 1542 0x6f, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6e, 0x71, 0x75, 1543 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 1544 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 1545 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 1546 0x69, 0x64, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x1f, 0x20, 0x03, 0x28, 1547 0x09, 0x52, 0x0a, 0x69, 0x64, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x3f, 0x0a, 1548 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0e, 0x32, 1549 0x23, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 1550 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x61, 0x74, 0x65, 1551 0x67, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x42, 1552 0x0a, 0x0e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 1553 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 1554 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 1555 0x73, 0x65, 0x74, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 1556 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x5f, 0x62, 0x79, 1557 0x18, 0x22, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x42, 1558 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 1559 0x75, 0x72, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x69, 0x6e, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x69, 1560 0x6e, 0x67, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6b, 0x69, 0x6e, 0x64, 0x53, 0x74, 1561 0x72, 0x69, 0x6e, 0x67, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 1562 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1563 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 1564 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 1565 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 1566 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1567 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 1568 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 1569 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 1570 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 1571 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1572 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x1e, 0x10, 1573 0x1f, 0x22, 0xc6, 0x05, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3c, 0x0a, 0x07, 1574 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 1575 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 1576 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 1577 0x65, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x3b, 0x0a, 0x04, 0x6b, 0x69, 1578 0x6e, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 1579 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 1580 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x56, 0x38, 0x5f, 0x4b, 0x69, 0x6e, 1581 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 1582 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 1583 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 1584 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 1585 0x61, 0x74, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 1586 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 1587 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 1588 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 1589 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 1590 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x0b, 1591 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 1592 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 1593 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x73, 0x75, 0x64, 0x6f, 0x18, 1594 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 1595 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x64, 1596 0x6f, 0x52, 0x04, 0x73, 0x75, 0x64, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 1597 0x64, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 1598 0x43, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 1599 0x32, 0x29, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 1600 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4f, 1601 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 1602 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 1603 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 1604 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 1605 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x08, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 1606 0x72, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x19, 0x20, 0x01, 1607 0x28, 0x09, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 1608 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 1609 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 1610 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x1d, 0x20, 0x03, 1611 0x28, 0x09, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 1612 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 1613 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 1614 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1615 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x06, 1616 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x4a, 0x04, 1617 0x08, 0x0a, 0x10, 0x0b, 0x4a, 0x04, 0x08, 0x14, 0x10, 0x15, 0x22, 0x68, 0x0a, 0x04, 0x53, 0x75, 1618 0x64, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 1619 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 1620 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x14, 1621 0x0a, 0x05, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 1622 0x68, 0x65, 0x6c, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, 1623 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 1624 0x61, 0x62, 0x6c, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 1625 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 1626 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x43, 0x0a, 0x06, 1627 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 1628 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 1629 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x46, 0x69, 1630 0x6c, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 1631 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 1632 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 1633 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1634 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x94, 0x03, 0x0a, 1635 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 1636 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 1637 0x04, 0x61, 0x72, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x63, 1638 0x68, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 1639 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 1640 0x79, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 1641 0x14, 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 1642 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 1643 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 1644 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 1645 0x69, 0x6e, 0x64, 0x12, 0x55, 0x0a, 0x12, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 1646 0x64, 0x5f, 0x76, 0x38, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0e, 0x32, 1647 0x27, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 1648 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 1649 0x64, 0x56, 0x38, 0x5f, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x10, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 1650 0x61, 0x74, 0x65, 0x64, 0x56, 0x38, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 1651 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x75, 0x6e, 1652 0x74, 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x16, 1653 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 1654 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 1655 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 1656 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 1657 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 1658 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 1659 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 1660 0x02, 0x38, 0x01, 0x22, 0x3e, 0x0a, 0x08, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 1661 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 1662 0x69, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 1663 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 1664 0x69, 0x6f, 0x6e, 0x22, 0xa4, 0x03, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 1665 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1666 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 1667 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 1668 0x70, 0x61, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0b, 1669 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 1670 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 1671 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 1672 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x61, 0x6e, 1673 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 1674 0x31, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 1675 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 1676 0x61, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 1677 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 1678 0x4e, 0x0a, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 1679 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 1680 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 1681 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 1682 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x1a, 1683 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 1684 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 1685 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1686 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 1687 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 1688 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 1689 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1690 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x36, 0x0a, 0x04, 0x54, 0x69, 1691 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 1692 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 1693 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x61, 0x6e, 1694 0x6f, 0x73, 0x22, 0x6a, 0x0a, 0x0e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 1695 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 1696 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 1697 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 1698 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1699 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 1700 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0xc1, 1701 0x01, 0x0a, 0x09, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3c, 0x0a, 0x08, 1702 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 1703 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 1704 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 1705 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x04, 0x73, 0x70, 1706 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 1707 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 1708 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 1709 0x70, 0x65, 0x63, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 1710 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 1711 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 1712 0x74, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 1713 0x75, 0x73, 0x22, 0xd3, 0x03, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 1714 0x53, 0x70, 0x65, 0x63, 0x12, 0x33, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 1715 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 1716 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 1717 0x74, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x56, 0x0a, 0x0b, 0x63, 0x72, 0x65, 1718 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 1719 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 1720 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x53, 1721 0x70, 0x65, 0x63, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x45, 1722 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 1723 0x73, 0x12, 0x3e, 0x0a, 0x05, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 1724 0x32, 0x28, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 1725 0x64, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 1726 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x75, 0x6c, 1727 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 1728 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 1729 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x68, 0x0a, 0x14, 1730 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 1731 0x69, 0x61, 0x6c, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6d, 0x6f, 0x6e, 1732 0x64, 0x6f, 0x6f, 0x2e, 0x63, 0x6e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x75, 0x70, 0x73, 0x74, 1733 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 1734 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 1735 0x73, 0x52, 0x13, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x72, 0x65, 0x64, 0x65, 1736 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x1a, 0x60, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 1737 0x74, 0x69, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 1738 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 1739 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6e, 1740 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2e, 1741 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x05, 0x76, 1742 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x49, 0x6e, 0x76, 0x65, 1743 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0xec, 0x01, 0x0a, 0x05, 1744 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 1745 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x41, 0x54, 1746 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 1747 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 1748 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 1749 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x49, 0x4e, 1750 0x47, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x4f, 1751 0x50, 0x50, 0x45, 0x44, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 1752 0x53, 0x48, 0x55, 0x54, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x06, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 1753 0x41, 0x54, 0x45, 0x5f, 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x45, 0x44, 0x10, 0x07, 1754 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x42, 0x4f, 0x4f, 0x54, 1755 0x10, 0x08, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 1756 0x4e, 0x45, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4f, 0x46, 1757 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x0a, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 1758 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x2a, 0x3a, 0x0a, 0x0d, 0x41, 0x73, 1759 0x73, 0x65, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x12, 0x43, 1760 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x45, 0x4e, 0x54, 0x4f, 0x52, 1761 0x59, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 1762 0x43, 0x49, 0x43, 0x44, 0x10, 0x01, 0x2a, 0x85, 0x04, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x76, 0x69, 1763 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 1764 0x5f, 0x4f, 0x53, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x4f, 0x43, 0x4b, 0x45, 0x52, 0x5f, 1765 0x45, 0x4e, 0x47, 0x49, 0x4e, 0x45, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, 0x1b, 1766 0x0a, 0x17, 0x44, 0x4f, 0x43, 0x4b, 0x45, 0x52, 0x5f, 0x45, 0x4e, 0x47, 0x49, 0x4e, 0x45, 0x5f, 1767 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x53, 1768 0x53, 0x48, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x57, 0x49, 0x4e, 0x52, 0x4d, 0x10, 0x04, 0x12, 1769 0x17, 0x0a, 0x13, 0x41, 0x57, 0x53, 0x5f, 0x53, 0x53, 0x4d, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x43, 1770 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4e, 0x54, 1771 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x10, 0x06, 1772 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x52, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x4f, 0x43, 1773 0x4b, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x56, 0x53, 0x50, 0x48, 0x45, 0x52, 0x45, 0x10, 0x09, 1774 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x52, 0x49, 0x53, 0x54, 0x41, 0x45, 0x4f, 0x53, 0x10, 0x0a, 0x12, 1775 0x07, 0x0a, 0x03, 0x41, 0x57, 0x53, 0x10, 0x0c, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x43, 0x50, 0x10, 1776 0x0d, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x10, 0x0e, 0x12, 0x09, 0x0a, 0x05, 1777 0x4d, 0x53, 0x33, 0x36, 0x35, 0x10, 0x0f, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x50, 0x4d, 0x49, 0x10, 1778 0x10, 0x12, 0x0e, 0x0a, 0x0a, 0x56, 0x53, 0x50, 0x48, 0x45, 0x52, 0x45, 0x5f, 0x56, 0x4d, 0x10, 1779 0x11, 0x12, 0x06, 0x0a, 0x02, 0x46, 0x53, 0x10, 0x12, 0x12, 0x07, 0x0a, 0x03, 0x4b, 0x38, 0x53, 1780 0x10, 0x13, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x51, 0x55, 0x49, 0x4e, 0x49, 0x58, 0x5f, 0x4d, 0x45, 1781 0x54, 0x41, 0x4c, 0x10, 0x14, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x4f, 0x43, 0x4b, 0x45, 0x52, 0x10, 1782 0x15, 0x12, 0x0a, 0x0a, 0x06, 0x47, 0x49, 0x54, 0x48, 0x55, 0x42, 0x10, 0x16, 0x12, 0x0b, 0x0a, 1783 0x07, 0x56, 0x41, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x10, 0x17, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x57, 1784 0x53, 0x5f, 0x45, 0x43, 0x32, 0x5f, 0x45, 0x42, 0x53, 0x10, 0x18, 0x12, 0x0a, 0x0a, 0x06, 0x47, 1785 0x49, 0x54, 0x4c, 0x41, 0x42, 0x10, 0x19, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x45, 0x52, 0x52, 0x41, 1786 0x46, 0x4f, 0x52, 0x4d, 0x10, 0x1a, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x1b, 1787 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x1c, 0x12, 0x08, 0x0a, 1788 0x04, 0x4f, 0x4b, 0x54, 0x41, 0x10, 0x1d, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x4f, 0x4f, 0x47, 0x4c, 1789 0x45, 0x5f, 0x57, 0x4f, 0x52, 0x4b, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x1e, 0x12, 0x09, 0x0a, 1790 0x05, 0x53, 0x4c, 0x41, 0x43, 0x4b, 0x10, 0x1f, 0x12, 0x07, 0x0a, 0x03, 0x56, 0x43, 0x44, 0x10, 1791 0x20, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x43, 0x49, 0x10, 0x21, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x50, 1792 0x43, 0x55, 0x41, 0x10, 0x22, 0x12, 0x21, 0x0a, 0x1d, 0x47, 0x43, 0x50, 0x5f, 0x43, 0x4f, 0x4d, 1793 0x50, 0x55, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x53, 0x4e, 1794 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x23, 0x22, 0x04, 0x08, 0x0b, 0x10, 0x0b, 0x2a, 0xcb, 1795 0x02, 0x0a, 0x11, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x56, 0x38, 0x5f, 1796 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x0c, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x4b, 1797 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x56, 1798 0x49, 0x52, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x4d, 0x41, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x5f, 0x49, 1799 0x4d, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x43, 1800 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x02, 1801 0x12, 0x0d, 0x0a, 0x09, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x03, 0x12, 1802 0x10, 0x0a, 0x0c, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x41, 0x47, 0x45, 0x10, 1803 0x04, 0x12, 0x18, 0x0a, 0x14, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x56, 0x49, 0x52, 0x54, 0x55, 0x41, 1804 0x4c, 0x5f, 0x4d, 0x41, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x4b, 1805 0x49, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x06, 0x12, 1806 0x10, 0x0a, 0x0c, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x10, 1807 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x41, 0x50, 0x49, 0x10, 0x08, 0x12, 1808 0x13, 0x0a, 0x0f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x42, 0x41, 0x52, 0x45, 0x5f, 0x4d, 0x45, 0x54, 1809 0x41, 0x4c, 0x10, 0x09, 0x12, 0x10, 0x0a, 0x0c, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x4e, 0x45, 0x54, 1810 0x57, 0x4f, 0x52, 0x4b, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x4b, 1811 0x38, 0x53, 0x5f, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x0b, 0x12, 0x13, 0x0a, 0x0f, 0x4b, 1812 0x49, 0x4e, 0x44, 0x5f, 0x41, 0x57, 0x53, 0x5f, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x0c, 1813 0x12, 0x13, 0x0a, 0x0f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x47, 0x43, 0x50, 0x5f, 0x4f, 0x42, 0x4a, 1814 0x45, 0x43, 0x54, 0x10, 0x0d, 0x12, 0x15, 0x0a, 0x11, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x41, 0x5a, 1815 0x55, 0x52, 0x45, 0x5f, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x0e, 0x42, 0x32, 0x5a, 0x30, 1816 0x67, 0x6f, 0x2e, 0x6d, 0x6f, 0x6e, 0x64, 0x6f, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 1817 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2d, 1818 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 1819 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1820 } 1821 1822 var ( 1823 file_inventory_proto_rawDescOnce sync.Once 1824 file_inventory_proto_rawDescData = file_inventory_proto_rawDesc 1825 ) 1826 1827 func file_inventory_proto_rawDescGZIP() []byte { 1828 file_inventory_proto_rawDescOnce.Do(func() { 1829 file_inventory_proto_rawDescData = protoimpl.X.CompressGZIP(file_inventory_proto_rawDescData) 1830 }) 1831 return file_inventory_proto_rawDescData 1832 } 1833 1834 var file_inventory_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 1835 var file_inventory_proto_msgTypes = make([]protoimpl.MessageInfo, 21) 1836 var file_inventory_proto_goTypes = []interface{}{ 1837 (State)(0), // 0: cnquery.providers.v1.State 1838 (AssetCategory)(0), // 1: cnquery.providers.v1.AssetCategory 1839 (ProviderType)(0), // 2: cnquery.providers.v1.ProviderType 1840 (DeprecatedV8_Kind)(0), // 3: cnquery.providers.v1.DeprecatedV8_Kind 1841 (*Asset)(nil), // 4: cnquery.providers.v1.Asset 1842 (*Config)(nil), // 5: cnquery.providers.v1.Config 1843 (*Sudo)(nil), // 6: cnquery.providers.v1.Sudo 1844 (*Discovery)(nil), // 7: cnquery.providers.v1.Discovery 1845 (*Platform)(nil), // 8: cnquery.providers.v1.Platform 1846 (*TypeMeta)(nil), // 9: cnquery.providers.v1.TypeMeta 1847 (*ObjectMeta)(nil), // 10: cnquery.providers.v1.ObjectMeta 1848 (*Time)(nil), // 11: cnquery.providers.v1.Time 1849 (*OwnerReference)(nil), // 12: cnquery.providers.v1.OwnerReference 1850 (*Inventory)(nil), // 13: cnquery.providers.v1.Inventory 1851 (*InventorySpec)(nil), // 14: cnquery.providers.v1.InventorySpec 1852 (*InventoryStatus)(nil), // 15: cnquery.providers.v1.InventoryStatus 1853 nil, // 16: cnquery.providers.v1.Asset.LabelsEntry 1854 nil, // 17: cnquery.providers.v1.Asset.AnnotationsEntry 1855 nil, // 18: cnquery.providers.v1.Asset.OptionsEntry 1856 nil, // 19: cnquery.providers.v1.Config.OptionsEntry 1857 nil, // 20: cnquery.providers.v1.Discovery.FilterEntry 1858 nil, // 21: cnquery.providers.v1.Platform.LabelsEntry 1859 nil, // 22: cnquery.providers.v1.ObjectMeta.LabelsEntry 1860 nil, // 23: cnquery.providers.v1.ObjectMeta.AnnotationsEntry 1861 nil, // 24: cnquery.providers.v1.InventorySpec.CredentialsEntry 1862 (*vault.Credential)(nil), // 25: cnquery.providers.v1.Credential 1863 (*vault.VaultConfiguration)(nil), // 26: cnquery.providers.v1.VaultConfiguration 1864 (*upstream.ServiceAccountCredentials)(nil), // 27: mondoo.cnquery.upstream.v1.ServiceAccountCredentials 1865 } 1866 var file_inventory_proto_depIdxs = []int32{ 1867 0, // 0: cnquery.providers.v1.Asset.state:type_name -> cnquery.providers.v1.State 1868 8, // 1: cnquery.providers.v1.Asset.platform:type_name -> cnquery.providers.v1.Platform 1869 5, // 2: cnquery.providers.v1.Asset.connections:type_name -> cnquery.providers.v1.Config 1870 16, // 3: cnquery.providers.v1.Asset.labels:type_name -> cnquery.providers.v1.Asset.LabelsEntry 1871 17, // 4: cnquery.providers.v1.Asset.annotations:type_name -> cnquery.providers.v1.Asset.AnnotationsEntry 1872 18, // 5: cnquery.providers.v1.Asset.options:type_name -> cnquery.providers.v1.Asset.OptionsEntry 1873 1, // 6: cnquery.providers.v1.Asset.category:type_name -> cnquery.providers.v1.AssetCategory 1874 4, // 7: cnquery.providers.v1.Asset.related_assets:type_name -> cnquery.providers.v1.Asset 1875 2, // 8: cnquery.providers.v1.Config.backend:type_name -> cnquery.providers.v1.ProviderType 1876 3, // 9: cnquery.providers.v1.Config.kind:type_name -> cnquery.providers.v1.DeprecatedV8_Kind 1877 25, // 10: cnquery.providers.v1.Config.credentials:type_name -> cnquery.providers.v1.Credential 1878 6, // 11: cnquery.providers.v1.Config.sudo:type_name -> cnquery.providers.v1.Sudo 1879 19, // 12: cnquery.providers.v1.Config.options:type_name -> cnquery.providers.v1.Config.OptionsEntry 1880 7, // 13: cnquery.providers.v1.Config.discover:type_name -> cnquery.providers.v1.Discovery 1881 20, // 14: cnquery.providers.v1.Discovery.filter:type_name -> cnquery.providers.v1.Discovery.FilterEntry 1882 3, // 15: cnquery.providers.v1.Platform.deprecated_v8_kind:type_name -> cnquery.providers.v1.DeprecatedV8_Kind 1883 21, // 16: cnquery.providers.v1.Platform.labels:type_name -> cnquery.providers.v1.Platform.LabelsEntry 1884 22, // 17: cnquery.providers.v1.ObjectMeta.labels:type_name -> cnquery.providers.v1.ObjectMeta.LabelsEntry 1885 23, // 18: cnquery.providers.v1.ObjectMeta.annotations:type_name -> cnquery.providers.v1.ObjectMeta.AnnotationsEntry 1886 12, // 19: cnquery.providers.v1.ObjectMeta.ownerReferences:type_name -> cnquery.providers.v1.OwnerReference 1887 10, // 20: cnquery.providers.v1.Inventory.metadata:type_name -> cnquery.providers.v1.ObjectMeta 1888 14, // 21: cnquery.providers.v1.Inventory.spec:type_name -> cnquery.providers.v1.InventorySpec 1889 15, // 22: cnquery.providers.v1.Inventory.status:type_name -> cnquery.providers.v1.InventoryStatus 1890 4, // 23: cnquery.providers.v1.InventorySpec.assets:type_name -> cnquery.providers.v1.Asset 1891 24, // 24: cnquery.providers.v1.InventorySpec.credentials:type_name -> cnquery.providers.v1.InventorySpec.CredentialsEntry 1892 26, // 25: cnquery.providers.v1.InventorySpec.vault:type_name -> cnquery.providers.v1.VaultConfiguration 1893 27, // 26: cnquery.providers.v1.InventorySpec.upstream_credentials:type_name -> mondoo.cnquery.upstream.v1.ServiceAccountCredentials 1894 25, // 27: cnquery.providers.v1.InventorySpec.CredentialsEntry.value:type_name -> cnquery.providers.v1.Credential 1895 28, // [28:28] is the sub-list for method output_type 1896 28, // [28:28] is the sub-list for method input_type 1897 28, // [28:28] is the sub-list for extension type_name 1898 28, // [28:28] is the sub-list for extension extendee 1899 0, // [0:28] is the sub-list for field type_name 1900 } 1901 1902 func init() { file_inventory_proto_init() } 1903 func file_inventory_proto_init() { 1904 if File_inventory_proto != nil { 1905 return 1906 } 1907 if !protoimpl.UnsafeEnabled { 1908 file_inventory_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1909 switch v := v.(*Asset); i { 1910 case 0: 1911 return &v.state 1912 case 1: 1913 return &v.sizeCache 1914 case 2: 1915 return &v.unknownFields 1916 default: 1917 return nil 1918 } 1919 } 1920 file_inventory_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1921 switch v := v.(*Config); i { 1922 case 0: 1923 return &v.state 1924 case 1: 1925 return &v.sizeCache 1926 case 2: 1927 return &v.unknownFields 1928 default: 1929 return nil 1930 } 1931 } 1932 file_inventory_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1933 switch v := v.(*Sudo); i { 1934 case 0: 1935 return &v.state 1936 case 1: 1937 return &v.sizeCache 1938 case 2: 1939 return &v.unknownFields 1940 default: 1941 return nil 1942 } 1943 } 1944 file_inventory_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1945 switch v := v.(*Discovery); i { 1946 case 0: 1947 return &v.state 1948 case 1: 1949 return &v.sizeCache 1950 case 2: 1951 return &v.unknownFields 1952 default: 1953 return nil 1954 } 1955 } 1956 file_inventory_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1957 switch v := v.(*Platform); i { 1958 case 0: 1959 return &v.state 1960 case 1: 1961 return &v.sizeCache 1962 case 2: 1963 return &v.unknownFields 1964 default: 1965 return nil 1966 } 1967 } 1968 file_inventory_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1969 switch v := v.(*TypeMeta); i { 1970 case 0: 1971 return &v.state 1972 case 1: 1973 return &v.sizeCache 1974 case 2: 1975 return &v.unknownFields 1976 default: 1977 return nil 1978 } 1979 } 1980 file_inventory_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1981 switch v := v.(*ObjectMeta); i { 1982 case 0: 1983 return &v.state 1984 case 1: 1985 return &v.sizeCache 1986 case 2: 1987 return &v.unknownFields 1988 default: 1989 return nil 1990 } 1991 } 1992 file_inventory_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1993 switch v := v.(*Time); i { 1994 case 0: 1995 return &v.state 1996 case 1: 1997 return &v.sizeCache 1998 case 2: 1999 return &v.unknownFields 2000 default: 2001 return nil 2002 } 2003 } 2004 file_inventory_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2005 switch v := v.(*OwnerReference); i { 2006 case 0: 2007 return &v.state 2008 case 1: 2009 return &v.sizeCache 2010 case 2: 2011 return &v.unknownFields 2012 default: 2013 return nil 2014 } 2015 } 2016 file_inventory_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2017 switch v := v.(*Inventory); i { 2018 case 0: 2019 return &v.state 2020 case 1: 2021 return &v.sizeCache 2022 case 2: 2023 return &v.unknownFields 2024 default: 2025 return nil 2026 } 2027 } 2028 file_inventory_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2029 switch v := v.(*InventorySpec); i { 2030 case 0: 2031 return &v.state 2032 case 1: 2033 return &v.sizeCache 2034 case 2: 2035 return &v.unknownFields 2036 default: 2037 return nil 2038 } 2039 } 2040 file_inventory_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2041 switch v := v.(*InventoryStatus); i { 2042 case 0: 2043 return &v.state 2044 case 1: 2045 return &v.sizeCache 2046 case 2: 2047 return &v.unknownFields 2048 default: 2049 return nil 2050 } 2051 } 2052 } 2053 type x struct{} 2054 out := protoimpl.TypeBuilder{ 2055 File: protoimpl.DescBuilder{ 2056 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2057 RawDescriptor: file_inventory_proto_rawDesc, 2058 NumEnums: 4, 2059 NumMessages: 21, 2060 NumExtensions: 0, 2061 NumServices: 0, 2062 }, 2063 GoTypes: file_inventory_proto_goTypes, 2064 DependencyIndexes: file_inventory_proto_depIdxs, 2065 EnumInfos: file_inventory_proto_enumTypes, 2066 MessageInfos: file_inventory_proto_msgTypes, 2067 }.Build() 2068 File_inventory_proto = out.File 2069 file_inventory_proto_rawDesc = nil 2070 file_inventory_proto_goTypes = nil 2071 file_inventory_proto_depIdxs = nil 2072 }