github.com/devseccon/trivy@v0.47.1-0.20231123133102-bd902a0bd996/rpc/common/service.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.19.4 5 // source: rpc/common/service.proto 6 7 package common 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 structpb "google.golang.org/protobuf/types/known/structpb" 13 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 type Severity int32 26 27 const ( 28 Severity_UNKNOWN Severity = 0 29 Severity_LOW Severity = 1 30 Severity_MEDIUM Severity = 2 31 Severity_HIGH Severity = 3 32 Severity_CRITICAL Severity = 4 33 ) 34 35 // Enum value maps for Severity. 36 var ( 37 Severity_name = map[int32]string{ 38 0: "UNKNOWN", 39 1: "LOW", 40 2: "MEDIUM", 41 3: "HIGH", 42 4: "CRITICAL", 43 } 44 Severity_value = map[string]int32{ 45 "UNKNOWN": 0, 46 "LOW": 1, 47 "MEDIUM": 2, 48 "HIGH": 3, 49 "CRITICAL": 4, 50 } 51 ) 52 53 func (x Severity) Enum() *Severity { 54 p := new(Severity) 55 *p = x 56 return p 57 } 58 59 func (x Severity) String() string { 60 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 61 } 62 63 func (Severity) Descriptor() protoreflect.EnumDescriptor { 64 return file_rpc_common_service_proto_enumTypes[0].Descriptor() 65 } 66 67 func (Severity) Type() protoreflect.EnumType { 68 return &file_rpc_common_service_proto_enumTypes[0] 69 } 70 71 func (x Severity) Number() protoreflect.EnumNumber { 72 return protoreflect.EnumNumber(x) 73 } 74 75 // Deprecated: Use Severity.Descriptor instead. 76 func (Severity) EnumDescriptor() ([]byte, []int) { 77 return file_rpc_common_service_proto_rawDescGZIP(), []int{0} 78 } 79 80 type LicenseCategory_Enum int32 81 82 const ( 83 LicenseCategory_UNSPECIFIED LicenseCategory_Enum = 0 84 LicenseCategory_FORBIDDEN LicenseCategory_Enum = 1 85 LicenseCategory_RESTRICTED LicenseCategory_Enum = 2 86 LicenseCategory_RECIPROCAL LicenseCategory_Enum = 3 87 LicenseCategory_NOTICE LicenseCategory_Enum = 4 88 LicenseCategory_PERMISSIVE LicenseCategory_Enum = 5 89 LicenseCategory_UNENCUMBERED LicenseCategory_Enum = 6 90 LicenseCategory_UNKNOWN LicenseCategory_Enum = 7 91 ) 92 93 // Enum value maps for LicenseCategory_Enum. 94 var ( 95 LicenseCategory_Enum_name = map[int32]string{ 96 0: "UNSPECIFIED", 97 1: "FORBIDDEN", 98 2: "RESTRICTED", 99 3: "RECIPROCAL", 100 4: "NOTICE", 101 5: "PERMISSIVE", 102 6: "UNENCUMBERED", 103 7: "UNKNOWN", 104 } 105 LicenseCategory_Enum_value = map[string]int32{ 106 "UNSPECIFIED": 0, 107 "FORBIDDEN": 1, 108 "RESTRICTED": 2, 109 "RECIPROCAL": 3, 110 "NOTICE": 4, 111 "PERMISSIVE": 5, 112 "UNENCUMBERED": 6, 113 "UNKNOWN": 7, 114 } 115 ) 116 117 func (x LicenseCategory_Enum) Enum() *LicenseCategory_Enum { 118 p := new(LicenseCategory_Enum) 119 *p = x 120 return p 121 } 122 123 func (x LicenseCategory_Enum) String() string { 124 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 125 } 126 127 func (LicenseCategory_Enum) Descriptor() protoreflect.EnumDescriptor { 128 return file_rpc_common_service_proto_enumTypes[1].Descriptor() 129 } 130 131 func (LicenseCategory_Enum) Type() protoreflect.EnumType { 132 return &file_rpc_common_service_proto_enumTypes[1] 133 } 134 135 func (x LicenseCategory_Enum) Number() protoreflect.EnumNumber { 136 return protoreflect.EnumNumber(x) 137 } 138 139 // Deprecated: Use LicenseCategory_Enum.Descriptor instead. 140 func (LicenseCategory_Enum) EnumDescriptor() ([]byte, []int) { 141 return file_rpc_common_service_proto_rawDescGZIP(), []int{22, 0} 142 } 143 144 type LicenseType_Enum int32 145 146 const ( 147 LicenseType_UNSPECIFIED LicenseType_Enum = 0 148 LicenseType_DPKG LicenseType_Enum = 1 149 LicenseType_HEADER LicenseType_Enum = 2 150 LicenseType_LICENSE_FILE LicenseType_Enum = 3 151 ) 152 153 // Enum value maps for LicenseType_Enum. 154 var ( 155 LicenseType_Enum_name = map[int32]string{ 156 0: "UNSPECIFIED", 157 1: "DPKG", 158 2: "HEADER", 159 3: "LICENSE_FILE", 160 } 161 LicenseType_Enum_value = map[string]int32{ 162 "UNSPECIFIED": 0, 163 "DPKG": 1, 164 "HEADER": 2, 165 "LICENSE_FILE": 3, 166 } 167 ) 168 169 func (x LicenseType_Enum) Enum() *LicenseType_Enum { 170 p := new(LicenseType_Enum) 171 *p = x 172 return p 173 } 174 175 func (x LicenseType_Enum) String() string { 176 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 177 } 178 179 func (LicenseType_Enum) Descriptor() protoreflect.EnumDescriptor { 180 return file_rpc_common_service_proto_enumTypes[2].Descriptor() 181 } 182 183 func (LicenseType_Enum) Type() protoreflect.EnumType { 184 return &file_rpc_common_service_proto_enumTypes[2] 185 } 186 187 func (x LicenseType_Enum) Number() protoreflect.EnumNumber { 188 return protoreflect.EnumNumber(x) 189 } 190 191 // Deprecated: Use LicenseType_Enum.Descriptor instead. 192 func (LicenseType_Enum) EnumDescriptor() ([]byte, []int) { 193 return file_rpc_common_service_proto_rawDescGZIP(), []int{23, 0} 194 } 195 196 type OS struct { 197 state protoimpl.MessageState 198 sizeCache protoimpl.SizeCache 199 unknownFields protoimpl.UnknownFields 200 201 Family string `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` 202 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 203 Eosl bool `protobuf:"varint,3,opt,name=eosl,proto3" json:"eosl,omitempty"` 204 Extended bool `protobuf:"varint,4,opt,name=extended,proto3" json:"extended,omitempty"` 205 } 206 207 func (x *OS) Reset() { 208 *x = OS{} 209 if protoimpl.UnsafeEnabled { 210 mi := &file_rpc_common_service_proto_msgTypes[0] 211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 212 ms.StoreMessageInfo(mi) 213 } 214 } 215 216 func (x *OS) String() string { 217 return protoimpl.X.MessageStringOf(x) 218 } 219 220 func (*OS) ProtoMessage() {} 221 222 func (x *OS) ProtoReflect() protoreflect.Message { 223 mi := &file_rpc_common_service_proto_msgTypes[0] 224 if protoimpl.UnsafeEnabled && x != nil { 225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 226 if ms.LoadMessageInfo() == nil { 227 ms.StoreMessageInfo(mi) 228 } 229 return ms 230 } 231 return mi.MessageOf(x) 232 } 233 234 // Deprecated: Use OS.ProtoReflect.Descriptor instead. 235 func (*OS) Descriptor() ([]byte, []int) { 236 return file_rpc_common_service_proto_rawDescGZIP(), []int{0} 237 } 238 239 func (x *OS) GetFamily() string { 240 if x != nil { 241 return x.Family 242 } 243 return "" 244 } 245 246 func (x *OS) GetName() string { 247 if x != nil { 248 return x.Name 249 } 250 return "" 251 } 252 253 func (x *OS) GetEosl() bool { 254 if x != nil { 255 return x.Eosl 256 } 257 return false 258 } 259 260 func (x *OS) GetExtended() bool { 261 if x != nil { 262 return x.Extended 263 } 264 return false 265 } 266 267 type Repository struct { 268 state protoimpl.MessageState 269 sizeCache protoimpl.SizeCache 270 unknownFields protoimpl.UnknownFields 271 272 Family string `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` 273 Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"` 274 } 275 276 func (x *Repository) Reset() { 277 *x = Repository{} 278 if protoimpl.UnsafeEnabled { 279 mi := &file_rpc_common_service_proto_msgTypes[1] 280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 281 ms.StoreMessageInfo(mi) 282 } 283 } 284 285 func (x *Repository) String() string { 286 return protoimpl.X.MessageStringOf(x) 287 } 288 289 func (*Repository) ProtoMessage() {} 290 291 func (x *Repository) ProtoReflect() protoreflect.Message { 292 mi := &file_rpc_common_service_proto_msgTypes[1] 293 if protoimpl.UnsafeEnabled && x != nil { 294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 295 if ms.LoadMessageInfo() == nil { 296 ms.StoreMessageInfo(mi) 297 } 298 return ms 299 } 300 return mi.MessageOf(x) 301 } 302 303 // Deprecated: Use Repository.ProtoReflect.Descriptor instead. 304 func (*Repository) Descriptor() ([]byte, []int) { 305 return file_rpc_common_service_proto_rawDescGZIP(), []int{1} 306 } 307 308 func (x *Repository) GetFamily() string { 309 if x != nil { 310 return x.Family 311 } 312 return "" 313 } 314 315 func (x *Repository) GetRelease() string { 316 if x != nil { 317 return x.Release 318 } 319 return "" 320 } 321 322 type PackageInfo struct { 323 state protoimpl.MessageState 324 sizeCache protoimpl.SizeCache 325 unknownFields protoimpl.UnknownFields 326 327 FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 328 Packages []*Package `protobuf:"bytes,2,rep,name=packages,proto3" json:"packages,omitempty"` 329 } 330 331 func (x *PackageInfo) Reset() { 332 *x = PackageInfo{} 333 if protoimpl.UnsafeEnabled { 334 mi := &file_rpc_common_service_proto_msgTypes[2] 335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 336 ms.StoreMessageInfo(mi) 337 } 338 } 339 340 func (x *PackageInfo) String() string { 341 return protoimpl.X.MessageStringOf(x) 342 } 343 344 func (*PackageInfo) ProtoMessage() {} 345 346 func (x *PackageInfo) ProtoReflect() protoreflect.Message { 347 mi := &file_rpc_common_service_proto_msgTypes[2] 348 if protoimpl.UnsafeEnabled && x != nil { 349 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 350 if ms.LoadMessageInfo() == nil { 351 ms.StoreMessageInfo(mi) 352 } 353 return ms 354 } 355 return mi.MessageOf(x) 356 } 357 358 // Deprecated: Use PackageInfo.ProtoReflect.Descriptor instead. 359 func (*PackageInfo) Descriptor() ([]byte, []int) { 360 return file_rpc_common_service_proto_rawDescGZIP(), []int{2} 361 } 362 363 func (x *PackageInfo) GetFilePath() string { 364 if x != nil { 365 return x.FilePath 366 } 367 return "" 368 } 369 370 func (x *PackageInfo) GetPackages() []*Package { 371 if x != nil { 372 return x.Packages 373 } 374 return nil 375 } 376 377 type Application struct { 378 state protoimpl.MessageState 379 sizeCache protoimpl.SizeCache 380 unknownFields protoimpl.UnknownFields 381 382 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 383 FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 384 Libraries []*Package `protobuf:"bytes,3,rep,name=libraries,proto3" json:"libraries,omitempty"` 385 } 386 387 func (x *Application) Reset() { 388 *x = Application{} 389 if protoimpl.UnsafeEnabled { 390 mi := &file_rpc_common_service_proto_msgTypes[3] 391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 392 ms.StoreMessageInfo(mi) 393 } 394 } 395 396 func (x *Application) String() string { 397 return protoimpl.X.MessageStringOf(x) 398 } 399 400 func (*Application) ProtoMessage() {} 401 402 func (x *Application) ProtoReflect() protoreflect.Message { 403 mi := &file_rpc_common_service_proto_msgTypes[3] 404 if protoimpl.UnsafeEnabled && x != nil { 405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 406 if ms.LoadMessageInfo() == nil { 407 ms.StoreMessageInfo(mi) 408 } 409 return ms 410 } 411 return mi.MessageOf(x) 412 } 413 414 // Deprecated: Use Application.ProtoReflect.Descriptor instead. 415 func (*Application) Descriptor() ([]byte, []int) { 416 return file_rpc_common_service_proto_rawDescGZIP(), []int{3} 417 } 418 419 func (x *Application) GetType() string { 420 if x != nil { 421 return x.Type 422 } 423 return "" 424 } 425 426 func (x *Application) GetFilePath() string { 427 if x != nil { 428 return x.FilePath 429 } 430 return "" 431 } 432 433 func (x *Application) GetLibraries() []*Package { 434 if x != nil { 435 return x.Libraries 436 } 437 return nil 438 } 439 440 type Package struct { 441 state protoimpl.MessageState 442 sizeCache protoimpl.SizeCache 443 unknownFields protoimpl.UnknownFields 444 445 // binary package 446 // e.g. bind-utils 447 Id string `protobuf:"bytes,13,opt,name=id,proto3" json:"id,omitempty"` 448 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 449 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 450 Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty"` 451 Epoch int32 `protobuf:"varint,4,opt,name=epoch,proto3" json:"epoch,omitempty"` 452 Arch string `protobuf:"bytes,5,opt,name=arch,proto3" json:"arch,omitempty"` 453 // src package containing some binary packages 454 // e.g. bind 455 SrcName string `protobuf:"bytes,6,opt,name=src_name,json=srcName,proto3" json:"src_name,omitempty"` 456 SrcVersion string `protobuf:"bytes,7,opt,name=src_version,json=srcVersion,proto3" json:"src_version,omitempty"` 457 SrcRelease string `protobuf:"bytes,8,opt,name=src_release,json=srcRelease,proto3" json:"src_release,omitempty"` 458 SrcEpoch int32 `protobuf:"varint,9,opt,name=src_epoch,json=srcEpoch,proto3" json:"src_epoch,omitempty"` 459 Licenses []string `protobuf:"bytes,15,rep,name=licenses,proto3" json:"licenses,omitempty"` 460 Layer *Layer `protobuf:"bytes,11,opt,name=layer,proto3" json:"layer,omitempty"` 461 FilePath string `protobuf:"bytes,12,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 462 DependsOn []string `protobuf:"bytes,14,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` 463 Digest string `protobuf:"bytes,16,opt,name=digest,proto3" json:"digest,omitempty"` 464 Dev bool `protobuf:"varint,17,opt,name=dev,proto3" json:"dev,omitempty"` 465 Indirect bool `protobuf:"varint,18,opt,name=indirect,proto3" json:"indirect,omitempty"` 466 } 467 468 func (x *Package) Reset() { 469 *x = Package{} 470 if protoimpl.UnsafeEnabled { 471 mi := &file_rpc_common_service_proto_msgTypes[4] 472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 473 ms.StoreMessageInfo(mi) 474 } 475 } 476 477 func (x *Package) String() string { 478 return protoimpl.X.MessageStringOf(x) 479 } 480 481 func (*Package) ProtoMessage() {} 482 483 func (x *Package) ProtoReflect() protoreflect.Message { 484 mi := &file_rpc_common_service_proto_msgTypes[4] 485 if protoimpl.UnsafeEnabled && x != nil { 486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 487 if ms.LoadMessageInfo() == nil { 488 ms.StoreMessageInfo(mi) 489 } 490 return ms 491 } 492 return mi.MessageOf(x) 493 } 494 495 // Deprecated: Use Package.ProtoReflect.Descriptor instead. 496 func (*Package) Descriptor() ([]byte, []int) { 497 return file_rpc_common_service_proto_rawDescGZIP(), []int{4} 498 } 499 500 func (x *Package) GetId() string { 501 if x != nil { 502 return x.Id 503 } 504 return "" 505 } 506 507 func (x *Package) GetName() string { 508 if x != nil { 509 return x.Name 510 } 511 return "" 512 } 513 514 func (x *Package) GetVersion() string { 515 if x != nil { 516 return x.Version 517 } 518 return "" 519 } 520 521 func (x *Package) GetRelease() string { 522 if x != nil { 523 return x.Release 524 } 525 return "" 526 } 527 528 func (x *Package) GetEpoch() int32 { 529 if x != nil { 530 return x.Epoch 531 } 532 return 0 533 } 534 535 func (x *Package) GetArch() string { 536 if x != nil { 537 return x.Arch 538 } 539 return "" 540 } 541 542 func (x *Package) GetSrcName() string { 543 if x != nil { 544 return x.SrcName 545 } 546 return "" 547 } 548 549 func (x *Package) GetSrcVersion() string { 550 if x != nil { 551 return x.SrcVersion 552 } 553 return "" 554 } 555 556 func (x *Package) GetSrcRelease() string { 557 if x != nil { 558 return x.SrcRelease 559 } 560 return "" 561 } 562 563 func (x *Package) GetSrcEpoch() int32 { 564 if x != nil { 565 return x.SrcEpoch 566 } 567 return 0 568 } 569 570 func (x *Package) GetLicenses() []string { 571 if x != nil { 572 return x.Licenses 573 } 574 return nil 575 } 576 577 func (x *Package) GetLayer() *Layer { 578 if x != nil { 579 return x.Layer 580 } 581 return nil 582 } 583 584 func (x *Package) GetFilePath() string { 585 if x != nil { 586 return x.FilePath 587 } 588 return "" 589 } 590 591 func (x *Package) GetDependsOn() []string { 592 if x != nil { 593 return x.DependsOn 594 } 595 return nil 596 } 597 598 func (x *Package) GetDigest() string { 599 if x != nil { 600 return x.Digest 601 } 602 return "" 603 } 604 605 func (x *Package) GetDev() bool { 606 if x != nil { 607 return x.Dev 608 } 609 return false 610 } 611 612 func (x *Package) GetIndirect() bool { 613 if x != nil { 614 return x.Indirect 615 } 616 return false 617 } 618 619 type Misconfiguration struct { 620 state protoimpl.MessageState 621 sizeCache protoimpl.SizeCache 622 unknownFields protoimpl.UnknownFields 623 624 FileType string `protobuf:"bytes,1,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"` 625 FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 626 Successes []*MisconfResult `protobuf:"bytes,3,rep,name=successes,proto3" json:"successes,omitempty"` 627 Warnings []*MisconfResult `protobuf:"bytes,4,rep,name=warnings,proto3" json:"warnings,omitempty"` 628 Failures []*MisconfResult `protobuf:"bytes,5,rep,name=failures,proto3" json:"failures,omitempty"` 629 Exceptions []*MisconfResult `protobuf:"bytes,6,rep,name=exceptions,proto3" json:"exceptions,omitempty"` 630 } 631 632 func (x *Misconfiguration) Reset() { 633 *x = Misconfiguration{} 634 if protoimpl.UnsafeEnabled { 635 mi := &file_rpc_common_service_proto_msgTypes[5] 636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 637 ms.StoreMessageInfo(mi) 638 } 639 } 640 641 func (x *Misconfiguration) String() string { 642 return protoimpl.X.MessageStringOf(x) 643 } 644 645 func (*Misconfiguration) ProtoMessage() {} 646 647 func (x *Misconfiguration) ProtoReflect() protoreflect.Message { 648 mi := &file_rpc_common_service_proto_msgTypes[5] 649 if protoimpl.UnsafeEnabled && x != nil { 650 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 651 if ms.LoadMessageInfo() == nil { 652 ms.StoreMessageInfo(mi) 653 } 654 return ms 655 } 656 return mi.MessageOf(x) 657 } 658 659 // Deprecated: Use Misconfiguration.ProtoReflect.Descriptor instead. 660 func (*Misconfiguration) Descriptor() ([]byte, []int) { 661 return file_rpc_common_service_proto_rawDescGZIP(), []int{5} 662 } 663 664 func (x *Misconfiguration) GetFileType() string { 665 if x != nil { 666 return x.FileType 667 } 668 return "" 669 } 670 671 func (x *Misconfiguration) GetFilePath() string { 672 if x != nil { 673 return x.FilePath 674 } 675 return "" 676 } 677 678 func (x *Misconfiguration) GetSuccesses() []*MisconfResult { 679 if x != nil { 680 return x.Successes 681 } 682 return nil 683 } 684 685 func (x *Misconfiguration) GetWarnings() []*MisconfResult { 686 if x != nil { 687 return x.Warnings 688 } 689 return nil 690 } 691 692 func (x *Misconfiguration) GetFailures() []*MisconfResult { 693 if x != nil { 694 return x.Failures 695 } 696 return nil 697 } 698 699 func (x *Misconfiguration) GetExceptions() []*MisconfResult { 700 if x != nil { 701 return x.Exceptions 702 } 703 return nil 704 } 705 706 type MisconfResult struct { 707 state protoimpl.MessageState 708 sizeCache protoimpl.SizeCache 709 unknownFields protoimpl.UnknownFields 710 711 Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` 712 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 713 PolicyMetadata *PolicyMetadata `protobuf:"bytes,7,opt,name=policy_metadata,json=policyMetadata,proto3" json:"policy_metadata,omitempty"` 714 CauseMetadata *CauseMetadata `protobuf:"bytes,8,opt,name=cause_metadata,json=causeMetadata,proto3" json:"cause_metadata,omitempty"` 715 } 716 717 func (x *MisconfResult) Reset() { 718 *x = MisconfResult{} 719 if protoimpl.UnsafeEnabled { 720 mi := &file_rpc_common_service_proto_msgTypes[6] 721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 722 ms.StoreMessageInfo(mi) 723 } 724 } 725 726 func (x *MisconfResult) String() string { 727 return protoimpl.X.MessageStringOf(x) 728 } 729 730 func (*MisconfResult) ProtoMessage() {} 731 732 func (x *MisconfResult) ProtoReflect() protoreflect.Message { 733 mi := &file_rpc_common_service_proto_msgTypes[6] 734 if protoimpl.UnsafeEnabled && x != nil { 735 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 736 if ms.LoadMessageInfo() == nil { 737 ms.StoreMessageInfo(mi) 738 } 739 return ms 740 } 741 return mi.MessageOf(x) 742 } 743 744 // Deprecated: Use MisconfResult.ProtoReflect.Descriptor instead. 745 func (*MisconfResult) Descriptor() ([]byte, []int) { 746 return file_rpc_common_service_proto_rawDescGZIP(), []int{6} 747 } 748 749 func (x *MisconfResult) GetNamespace() string { 750 if x != nil { 751 return x.Namespace 752 } 753 return "" 754 } 755 756 func (x *MisconfResult) GetMessage() string { 757 if x != nil { 758 return x.Message 759 } 760 return "" 761 } 762 763 func (x *MisconfResult) GetPolicyMetadata() *PolicyMetadata { 764 if x != nil { 765 return x.PolicyMetadata 766 } 767 return nil 768 } 769 770 func (x *MisconfResult) GetCauseMetadata() *CauseMetadata { 771 if x != nil { 772 return x.CauseMetadata 773 } 774 return nil 775 } 776 777 type PolicyMetadata struct { 778 state protoimpl.MessageState 779 sizeCache protoimpl.SizeCache 780 unknownFields protoimpl.UnknownFields 781 782 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 783 AdvId string `protobuf:"bytes,2,opt,name=adv_id,json=advId,proto3" json:"adv_id,omitempty"` 784 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` 785 Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` 786 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` 787 Severity string `protobuf:"bytes,6,opt,name=severity,proto3" json:"severity,omitempty"` 788 RecommendedActions string `protobuf:"bytes,7,opt,name=recommended_actions,json=recommendedActions,proto3" json:"recommended_actions,omitempty"` 789 References []string `protobuf:"bytes,8,rep,name=references,proto3" json:"references,omitempty"` 790 } 791 792 func (x *PolicyMetadata) Reset() { 793 *x = PolicyMetadata{} 794 if protoimpl.UnsafeEnabled { 795 mi := &file_rpc_common_service_proto_msgTypes[7] 796 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 797 ms.StoreMessageInfo(mi) 798 } 799 } 800 801 func (x *PolicyMetadata) String() string { 802 return protoimpl.X.MessageStringOf(x) 803 } 804 805 func (*PolicyMetadata) ProtoMessage() {} 806 807 func (x *PolicyMetadata) ProtoReflect() protoreflect.Message { 808 mi := &file_rpc_common_service_proto_msgTypes[7] 809 if protoimpl.UnsafeEnabled && x != nil { 810 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 811 if ms.LoadMessageInfo() == nil { 812 ms.StoreMessageInfo(mi) 813 } 814 return ms 815 } 816 return mi.MessageOf(x) 817 } 818 819 // Deprecated: Use PolicyMetadata.ProtoReflect.Descriptor instead. 820 func (*PolicyMetadata) Descriptor() ([]byte, []int) { 821 return file_rpc_common_service_proto_rawDescGZIP(), []int{7} 822 } 823 824 func (x *PolicyMetadata) GetId() string { 825 if x != nil { 826 return x.Id 827 } 828 return "" 829 } 830 831 func (x *PolicyMetadata) GetAdvId() string { 832 if x != nil { 833 return x.AdvId 834 } 835 return "" 836 } 837 838 func (x *PolicyMetadata) GetType() string { 839 if x != nil { 840 return x.Type 841 } 842 return "" 843 } 844 845 func (x *PolicyMetadata) GetTitle() string { 846 if x != nil { 847 return x.Title 848 } 849 return "" 850 } 851 852 func (x *PolicyMetadata) GetDescription() string { 853 if x != nil { 854 return x.Description 855 } 856 return "" 857 } 858 859 func (x *PolicyMetadata) GetSeverity() string { 860 if x != nil { 861 return x.Severity 862 } 863 return "" 864 } 865 866 func (x *PolicyMetadata) GetRecommendedActions() string { 867 if x != nil { 868 return x.RecommendedActions 869 } 870 return "" 871 } 872 873 func (x *PolicyMetadata) GetReferences() []string { 874 if x != nil { 875 return x.References 876 } 877 return nil 878 } 879 880 type DetectedMisconfiguration struct { 881 state protoimpl.MessageState 882 sizeCache protoimpl.SizeCache 883 unknownFields protoimpl.UnknownFields 884 885 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 886 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 887 Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` 888 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` 889 Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` 890 Namespace string `protobuf:"bytes,6,opt,name=namespace,proto3" json:"namespace,omitempty"` 891 Resolution string `protobuf:"bytes,7,opt,name=resolution,proto3" json:"resolution,omitempty"` 892 Severity Severity `protobuf:"varint,8,opt,name=severity,proto3,enum=trivy.common.Severity" json:"severity,omitempty"` 893 PrimaryUrl string `protobuf:"bytes,9,opt,name=primary_url,json=primaryUrl,proto3" json:"primary_url,omitempty"` 894 References []string `protobuf:"bytes,10,rep,name=references,proto3" json:"references,omitempty"` 895 Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` 896 Layer *Layer `protobuf:"bytes,12,opt,name=layer,proto3" json:"layer,omitempty"` 897 CauseMetadata *CauseMetadata `protobuf:"bytes,13,opt,name=cause_metadata,json=causeMetadata,proto3" json:"cause_metadata,omitempty"` 898 AvdId string `protobuf:"bytes,14,opt,name=avd_id,json=avdId,proto3" json:"avd_id,omitempty"` 899 Query string `protobuf:"bytes,15,opt,name=query,proto3" json:"query,omitempty"` 900 } 901 902 func (x *DetectedMisconfiguration) Reset() { 903 *x = DetectedMisconfiguration{} 904 if protoimpl.UnsafeEnabled { 905 mi := &file_rpc_common_service_proto_msgTypes[8] 906 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 907 ms.StoreMessageInfo(mi) 908 } 909 } 910 911 func (x *DetectedMisconfiguration) String() string { 912 return protoimpl.X.MessageStringOf(x) 913 } 914 915 func (*DetectedMisconfiguration) ProtoMessage() {} 916 917 func (x *DetectedMisconfiguration) ProtoReflect() protoreflect.Message { 918 mi := &file_rpc_common_service_proto_msgTypes[8] 919 if protoimpl.UnsafeEnabled && x != nil { 920 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 921 if ms.LoadMessageInfo() == nil { 922 ms.StoreMessageInfo(mi) 923 } 924 return ms 925 } 926 return mi.MessageOf(x) 927 } 928 929 // Deprecated: Use DetectedMisconfiguration.ProtoReflect.Descriptor instead. 930 func (*DetectedMisconfiguration) Descriptor() ([]byte, []int) { 931 return file_rpc_common_service_proto_rawDescGZIP(), []int{8} 932 } 933 934 func (x *DetectedMisconfiguration) GetType() string { 935 if x != nil { 936 return x.Type 937 } 938 return "" 939 } 940 941 func (x *DetectedMisconfiguration) GetId() string { 942 if x != nil { 943 return x.Id 944 } 945 return "" 946 } 947 948 func (x *DetectedMisconfiguration) GetTitle() string { 949 if x != nil { 950 return x.Title 951 } 952 return "" 953 } 954 955 func (x *DetectedMisconfiguration) GetDescription() string { 956 if x != nil { 957 return x.Description 958 } 959 return "" 960 } 961 962 func (x *DetectedMisconfiguration) GetMessage() string { 963 if x != nil { 964 return x.Message 965 } 966 return "" 967 } 968 969 func (x *DetectedMisconfiguration) GetNamespace() string { 970 if x != nil { 971 return x.Namespace 972 } 973 return "" 974 } 975 976 func (x *DetectedMisconfiguration) GetResolution() string { 977 if x != nil { 978 return x.Resolution 979 } 980 return "" 981 } 982 983 func (x *DetectedMisconfiguration) GetSeverity() Severity { 984 if x != nil { 985 return x.Severity 986 } 987 return Severity_UNKNOWN 988 } 989 990 func (x *DetectedMisconfiguration) GetPrimaryUrl() string { 991 if x != nil { 992 return x.PrimaryUrl 993 } 994 return "" 995 } 996 997 func (x *DetectedMisconfiguration) GetReferences() []string { 998 if x != nil { 999 return x.References 1000 } 1001 return nil 1002 } 1003 1004 func (x *DetectedMisconfiguration) GetStatus() string { 1005 if x != nil { 1006 return x.Status 1007 } 1008 return "" 1009 } 1010 1011 func (x *DetectedMisconfiguration) GetLayer() *Layer { 1012 if x != nil { 1013 return x.Layer 1014 } 1015 return nil 1016 } 1017 1018 func (x *DetectedMisconfiguration) GetCauseMetadata() *CauseMetadata { 1019 if x != nil { 1020 return x.CauseMetadata 1021 } 1022 return nil 1023 } 1024 1025 func (x *DetectedMisconfiguration) GetAvdId() string { 1026 if x != nil { 1027 return x.AvdId 1028 } 1029 return "" 1030 } 1031 1032 func (x *DetectedMisconfiguration) GetQuery() string { 1033 if x != nil { 1034 return x.Query 1035 } 1036 return "" 1037 } 1038 1039 type Vulnerability struct { 1040 state protoimpl.MessageState 1041 sizeCache protoimpl.SizeCache 1042 unknownFields protoimpl.UnknownFields 1043 1044 VulnerabilityId string `protobuf:"bytes,1,opt,name=vulnerability_id,json=vulnerabilityId,proto3" json:"vulnerability_id,omitempty"` 1045 PkgName string `protobuf:"bytes,2,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` 1046 InstalledVersion string `protobuf:"bytes,3,opt,name=installed_version,json=installedVersion,proto3" json:"installed_version,omitempty"` 1047 FixedVersion string `protobuf:"bytes,4,opt,name=fixed_version,json=fixedVersion,proto3" json:"fixed_version,omitempty"` 1048 Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` 1049 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` 1050 Severity Severity `protobuf:"varint,7,opt,name=severity,proto3,enum=trivy.common.Severity" json:"severity,omitempty"` 1051 References []string `protobuf:"bytes,8,rep,name=references,proto3" json:"references,omitempty"` 1052 Layer *Layer `protobuf:"bytes,10,opt,name=layer,proto3" json:"layer,omitempty"` 1053 SeveritySource string `protobuf:"bytes,11,opt,name=severity_source,json=severitySource,proto3" json:"severity_source,omitempty"` 1054 Cvss map[string]*CVSS `protobuf:"bytes,12,rep,name=cvss,proto3" json:"cvss,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1055 CweIds []string `protobuf:"bytes,13,rep,name=cwe_ids,json=cweIds,proto3" json:"cwe_ids,omitempty"` 1056 PrimaryUrl string `protobuf:"bytes,14,opt,name=primary_url,json=primaryUrl,proto3" json:"primary_url,omitempty"` 1057 PublishedDate *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=published_date,json=publishedDate,proto3" json:"published_date,omitempty"` 1058 LastModifiedDate *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=last_modified_date,json=lastModifiedDate,proto3" json:"last_modified_date,omitempty"` 1059 CustomAdvisoryData *structpb.Value `protobuf:"bytes,17,opt,name=custom_advisory_data,json=customAdvisoryData,proto3" json:"custom_advisory_data,omitempty"` 1060 CustomVulnData *structpb.Value `protobuf:"bytes,18,opt,name=custom_vuln_data,json=customVulnData,proto3" json:"custom_vuln_data,omitempty"` 1061 VendorIds []string `protobuf:"bytes,19,rep,name=vendor_ids,json=vendorIds,proto3" json:"vendor_ids,omitempty"` 1062 DataSource *DataSource `protobuf:"bytes,20,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` 1063 VendorSeverity map[string]Severity `protobuf:"bytes,21,rep,name=vendor_severity,json=vendorSeverity,proto3" json:"vendor_severity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=trivy.common.Severity"` 1064 PkgPath string `protobuf:"bytes,22,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` 1065 PkgId string `protobuf:"bytes,23,opt,name=pkg_id,json=pkgId,proto3" json:"pkg_id,omitempty"` 1066 Status int32 `protobuf:"varint,24,opt,name=status,proto3" json:"status,omitempty"` 1067 } 1068 1069 func (x *Vulnerability) Reset() { 1070 *x = Vulnerability{} 1071 if protoimpl.UnsafeEnabled { 1072 mi := &file_rpc_common_service_proto_msgTypes[9] 1073 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1074 ms.StoreMessageInfo(mi) 1075 } 1076 } 1077 1078 func (x *Vulnerability) String() string { 1079 return protoimpl.X.MessageStringOf(x) 1080 } 1081 1082 func (*Vulnerability) ProtoMessage() {} 1083 1084 func (x *Vulnerability) ProtoReflect() protoreflect.Message { 1085 mi := &file_rpc_common_service_proto_msgTypes[9] 1086 if protoimpl.UnsafeEnabled && x != nil { 1087 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1088 if ms.LoadMessageInfo() == nil { 1089 ms.StoreMessageInfo(mi) 1090 } 1091 return ms 1092 } 1093 return mi.MessageOf(x) 1094 } 1095 1096 // Deprecated: Use Vulnerability.ProtoReflect.Descriptor instead. 1097 func (*Vulnerability) Descriptor() ([]byte, []int) { 1098 return file_rpc_common_service_proto_rawDescGZIP(), []int{9} 1099 } 1100 1101 func (x *Vulnerability) GetVulnerabilityId() string { 1102 if x != nil { 1103 return x.VulnerabilityId 1104 } 1105 return "" 1106 } 1107 1108 func (x *Vulnerability) GetPkgName() string { 1109 if x != nil { 1110 return x.PkgName 1111 } 1112 return "" 1113 } 1114 1115 func (x *Vulnerability) GetInstalledVersion() string { 1116 if x != nil { 1117 return x.InstalledVersion 1118 } 1119 return "" 1120 } 1121 1122 func (x *Vulnerability) GetFixedVersion() string { 1123 if x != nil { 1124 return x.FixedVersion 1125 } 1126 return "" 1127 } 1128 1129 func (x *Vulnerability) GetTitle() string { 1130 if x != nil { 1131 return x.Title 1132 } 1133 return "" 1134 } 1135 1136 func (x *Vulnerability) GetDescription() string { 1137 if x != nil { 1138 return x.Description 1139 } 1140 return "" 1141 } 1142 1143 func (x *Vulnerability) GetSeverity() Severity { 1144 if x != nil { 1145 return x.Severity 1146 } 1147 return Severity_UNKNOWN 1148 } 1149 1150 func (x *Vulnerability) GetReferences() []string { 1151 if x != nil { 1152 return x.References 1153 } 1154 return nil 1155 } 1156 1157 func (x *Vulnerability) GetLayer() *Layer { 1158 if x != nil { 1159 return x.Layer 1160 } 1161 return nil 1162 } 1163 1164 func (x *Vulnerability) GetSeveritySource() string { 1165 if x != nil { 1166 return x.SeveritySource 1167 } 1168 return "" 1169 } 1170 1171 func (x *Vulnerability) GetCvss() map[string]*CVSS { 1172 if x != nil { 1173 return x.Cvss 1174 } 1175 return nil 1176 } 1177 1178 func (x *Vulnerability) GetCweIds() []string { 1179 if x != nil { 1180 return x.CweIds 1181 } 1182 return nil 1183 } 1184 1185 func (x *Vulnerability) GetPrimaryUrl() string { 1186 if x != nil { 1187 return x.PrimaryUrl 1188 } 1189 return "" 1190 } 1191 1192 func (x *Vulnerability) GetPublishedDate() *timestamppb.Timestamp { 1193 if x != nil { 1194 return x.PublishedDate 1195 } 1196 return nil 1197 } 1198 1199 func (x *Vulnerability) GetLastModifiedDate() *timestamppb.Timestamp { 1200 if x != nil { 1201 return x.LastModifiedDate 1202 } 1203 return nil 1204 } 1205 1206 func (x *Vulnerability) GetCustomAdvisoryData() *structpb.Value { 1207 if x != nil { 1208 return x.CustomAdvisoryData 1209 } 1210 return nil 1211 } 1212 1213 func (x *Vulnerability) GetCustomVulnData() *structpb.Value { 1214 if x != nil { 1215 return x.CustomVulnData 1216 } 1217 return nil 1218 } 1219 1220 func (x *Vulnerability) GetVendorIds() []string { 1221 if x != nil { 1222 return x.VendorIds 1223 } 1224 return nil 1225 } 1226 1227 func (x *Vulnerability) GetDataSource() *DataSource { 1228 if x != nil { 1229 return x.DataSource 1230 } 1231 return nil 1232 } 1233 1234 func (x *Vulnerability) GetVendorSeverity() map[string]Severity { 1235 if x != nil { 1236 return x.VendorSeverity 1237 } 1238 return nil 1239 } 1240 1241 func (x *Vulnerability) GetPkgPath() string { 1242 if x != nil { 1243 return x.PkgPath 1244 } 1245 return "" 1246 } 1247 1248 func (x *Vulnerability) GetPkgId() string { 1249 if x != nil { 1250 return x.PkgId 1251 } 1252 return "" 1253 } 1254 1255 func (x *Vulnerability) GetStatus() int32 { 1256 if x != nil { 1257 return x.Status 1258 } 1259 return 0 1260 } 1261 1262 type DataSource struct { 1263 state protoimpl.MessageState 1264 sizeCache protoimpl.SizeCache 1265 unknownFields protoimpl.UnknownFields 1266 1267 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 1268 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 1269 Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` 1270 } 1271 1272 func (x *DataSource) Reset() { 1273 *x = DataSource{} 1274 if protoimpl.UnsafeEnabled { 1275 mi := &file_rpc_common_service_proto_msgTypes[10] 1276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1277 ms.StoreMessageInfo(mi) 1278 } 1279 } 1280 1281 func (x *DataSource) String() string { 1282 return protoimpl.X.MessageStringOf(x) 1283 } 1284 1285 func (*DataSource) ProtoMessage() {} 1286 1287 func (x *DataSource) ProtoReflect() protoreflect.Message { 1288 mi := &file_rpc_common_service_proto_msgTypes[10] 1289 if protoimpl.UnsafeEnabled && x != nil { 1290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1291 if ms.LoadMessageInfo() == nil { 1292 ms.StoreMessageInfo(mi) 1293 } 1294 return ms 1295 } 1296 return mi.MessageOf(x) 1297 } 1298 1299 // Deprecated: Use DataSource.ProtoReflect.Descriptor instead. 1300 func (*DataSource) Descriptor() ([]byte, []int) { 1301 return file_rpc_common_service_proto_rawDescGZIP(), []int{10} 1302 } 1303 1304 func (x *DataSource) GetId() string { 1305 if x != nil { 1306 return x.Id 1307 } 1308 return "" 1309 } 1310 1311 func (x *DataSource) GetName() string { 1312 if x != nil { 1313 return x.Name 1314 } 1315 return "" 1316 } 1317 1318 func (x *DataSource) GetUrl() string { 1319 if x != nil { 1320 return x.Url 1321 } 1322 return "" 1323 } 1324 1325 type Layer struct { 1326 state protoimpl.MessageState 1327 sizeCache protoimpl.SizeCache 1328 unknownFields protoimpl.UnknownFields 1329 1330 Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` 1331 DiffId string `protobuf:"bytes,2,opt,name=diff_id,json=diffId,proto3" json:"diff_id,omitempty"` 1332 CreatedBy string `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` 1333 } 1334 1335 func (x *Layer) Reset() { 1336 *x = Layer{} 1337 if protoimpl.UnsafeEnabled { 1338 mi := &file_rpc_common_service_proto_msgTypes[11] 1339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1340 ms.StoreMessageInfo(mi) 1341 } 1342 } 1343 1344 func (x *Layer) String() string { 1345 return protoimpl.X.MessageStringOf(x) 1346 } 1347 1348 func (*Layer) ProtoMessage() {} 1349 1350 func (x *Layer) ProtoReflect() protoreflect.Message { 1351 mi := &file_rpc_common_service_proto_msgTypes[11] 1352 if protoimpl.UnsafeEnabled && x != nil { 1353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1354 if ms.LoadMessageInfo() == nil { 1355 ms.StoreMessageInfo(mi) 1356 } 1357 return ms 1358 } 1359 return mi.MessageOf(x) 1360 } 1361 1362 // Deprecated: Use Layer.ProtoReflect.Descriptor instead. 1363 func (*Layer) Descriptor() ([]byte, []int) { 1364 return file_rpc_common_service_proto_rawDescGZIP(), []int{11} 1365 } 1366 1367 func (x *Layer) GetDigest() string { 1368 if x != nil { 1369 return x.Digest 1370 } 1371 return "" 1372 } 1373 1374 func (x *Layer) GetDiffId() string { 1375 if x != nil { 1376 return x.DiffId 1377 } 1378 return "" 1379 } 1380 1381 func (x *Layer) GetCreatedBy() string { 1382 if x != nil { 1383 return x.CreatedBy 1384 } 1385 return "" 1386 } 1387 1388 type CauseMetadata struct { 1389 state protoimpl.MessageState 1390 sizeCache protoimpl.SizeCache 1391 unknownFields protoimpl.UnknownFields 1392 1393 Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` 1394 Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` 1395 Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` 1396 StartLine int32 `protobuf:"varint,4,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` 1397 EndLine int32 `protobuf:"varint,5,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` 1398 Code *Code `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` 1399 } 1400 1401 func (x *CauseMetadata) Reset() { 1402 *x = CauseMetadata{} 1403 if protoimpl.UnsafeEnabled { 1404 mi := &file_rpc_common_service_proto_msgTypes[12] 1405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1406 ms.StoreMessageInfo(mi) 1407 } 1408 } 1409 1410 func (x *CauseMetadata) String() string { 1411 return protoimpl.X.MessageStringOf(x) 1412 } 1413 1414 func (*CauseMetadata) ProtoMessage() {} 1415 1416 func (x *CauseMetadata) ProtoReflect() protoreflect.Message { 1417 mi := &file_rpc_common_service_proto_msgTypes[12] 1418 if protoimpl.UnsafeEnabled && x != nil { 1419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1420 if ms.LoadMessageInfo() == nil { 1421 ms.StoreMessageInfo(mi) 1422 } 1423 return ms 1424 } 1425 return mi.MessageOf(x) 1426 } 1427 1428 // Deprecated: Use CauseMetadata.ProtoReflect.Descriptor instead. 1429 func (*CauseMetadata) Descriptor() ([]byte, []int) { 1430 return file_rpc_common_service_proto_rawDescGZIP(), []int{12} 1431 } 1432 1433 func (x *CauseMetadata) GetResource() string { 1434 if x != nil { 1435 return x.Resource 1436 } 1437 return "" 1438 } 1439 1440 func (x *CauseMetadata) GetProvider() string { 1441 if x != nil { 1442 return x.Provider 1443 } 1444 return "" 1445 } 1446 1447 func (x *CauseMetadata) GetService() string { 1448 if x != nil { 1449 return x.Service 1450 } 1451 return "" 1452 } 1453 1454 func (x *CauseMetadata) GetStartLine() int32 { 1455 if x != nil { 1456 return x.StartLine 1457 } 1458 return 0 1459 } 1460 1461 func (x *CauseMetadata) GetEndLine() int32 { 1462 if x != nil { 1463 return x.EndLine 1464 } 1465 return 0 1466 } 1467 1468 func (x *CauseMetadata) GetCode() *Code { 1469 if x != nil { 1470 return x.Code 1471 } 1472 return nil 1473 } 1474 1475 type CVSS struct { 1476 state protoimpl.MessageState 1477 sizeCache protoimpl.SizeCache 1478 unknownFields protoimpl.UnknownFields 1479 1480 V2Vector string `protobuf:"bytes,1,opt,name=v2_vector,json=v2Vector,proto3" json:"v2_vector,omitempty"` 1481 V3Vector string `protobuf:"bytes,2,opt,name=v3_vector,json=v3Vector,proto3" json:"v3_vector,omitempty"` 1482 V2Score float64 `protobuf:"fixed64,3,opt,name=v2_score,json=v2Score,proto3" json:"v2_score,omitempty"` 1483 V3Score float64 `protobuf:"fixed64,4,opt,name=v3_score,json=v3Score,proto3" json:"v3_score,omitempty"` 1484 } 1485 1486 func (x *CVSS) Reset() { 1487 *x = CVSS{} 1488 if protoimpl.UnsafeEnabled { 1489 mi := &file_rpc_common_service_proto_msgTypes[13] 1490 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1491 ms.StoreMessageInfo(mi) 1492 } 1493 } 1494 1495 func (x *CVSS) String() string { 1496 return protoimpl.X.MessageStringOf(x) 1497 } 1498 1499 func (*CVSS) ProtoMessage() {} 1500 1501 func (x *CVSS) ProtoReflect() protoreflect.Message { 1502 mi := &file_rpc_common_service_proto_msgTypes[13] 1503 if protoimpl.UnsafeEnabled && x != nil { 1504 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1505 if ms.LoadMessageInfo() == nil { 1506 ms.StoreMessageInfo(mi) 1507 } 1508 return ms 1509 } 1510 return mi.MessageOf(x) 1511 } 1512 1513 // Deprecated: Use CVSS.ProtoReflect.Descriptor instead. 1514 func (*CVSS) Descriptor() ([]byte, []int) { 1515 return file_rpc_common_service_proto_rawDescGZIP(), []int{13} 1516 } 1517 1518 func (x *CVSS) GetV2Vector() string { 1519 if x != nil { 1520 return x.V2Vector 1521 } 1522 return "" 1523 } 1524 1525 func (x *CVSS) GetV3Vector() string { 1526 if x != nil { 1527 return x.V3Vector 1528 } 1529 return "" 1530 } 1531 1532 func (x *CVSS) GetV2Score() float64 { 1533 if x != nil { 1534 return x.V2Score 1535 } 1536 return 0 1537 } 1538 1539 func (x *CVSS) GetV3Score() float64 { 1540 if x != nil { 1541 return x.V3Score 1542 } 1543 return 0 1544 } 1545 1546 type CustomResource struct { 1547 state protoimpl.MessageState 1548 sizeCache protoimpl.SizeCache 1549 unknownFields protoimpl.UnknownFields 1550 1551 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 1552 FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 1553 Layer *Layer `protobuf:"bytes,3,opt,name=layer,proto3" json:"layer,omitempty"` 1554 Data *structpb.Value `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` 1555 } 1556 1557 func (x *CustomResource) Reset() { 1558 *x = CustomResource{} 1559 if protoimpl.UnsafeEnabled { 1560 mi := &file_rpc_common_service_proto_msgTypes[14] 1561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1562 ms.StoreMessageInfo(mi) 1563 } 1564 } 1565 1566 func (x *CustomResource) String() string { 1567 return protoimpl.X.MessageStringOf(x) 1568 } 1569 1570 func (*CustomResource) ProtoMessage() {} 1571 1572 func (x *CustomResource) ProtoReflect() protoreflect.Message { 1573 mi := &file_rpc_common_service_proto_msgTypes[14] 1574 if protoimpl.UnsafeEnabled && x != nil { 1575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1576 if ms.LoadMessageInfo() == nil { 1577 ms.StoreMessageInfo(mi) 1578 } 1579 return ms 1580 } 1581 return mi.MessageOf(x) 1582 } 1583 1584 // Deprecated: Use CustomResource.ProtoReflect.Descriptor instead. 1585 func (*CustomResource) Descriptor() ([]byte, []int) { 1586 return file_rpc_common_service_proto_rawDescGZIP(), []int{14} 1587 } 1588 1589 func (x *CustomResource) GetType() string { 1590 if x != nil { 1591 return x.Type 1592 } 1593 return "" 1594 } 1595 1596 func (x *CustomResource) GetFilePath() string { 1597 if x != nil { 1598 return x.FilePath 1599 } 1600 return "" 1601 } 1602 1603 func (x *CustomResource) GetLayer() *Layer { 1604 if x != nil { 1605 return x.Layer 1606 } 1607 return nil 1608 } 1609 1610 func (x *CustomResource) GetData() *structpb.Value { 1611 if x != nil { 1612 return x.Data 1613 } 1614 return nil 1615 } 1616 1617 type Line struct { 1618 state protoimpl.MessageState 1619 sizeCache protoimpl.SizeCache 1620 unknownFields protoimpl.UnknownFields 1621 1622 Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` 1623 Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` 1624 IsCause bool `protobuf:"varint,3,opt,name=is_cause,json=isCause,proto3" json:"is_cause,omitempty"` 1625 Annotation string `protobuf:"bytes,4,opt,name=annotation,proto3" json:"annotation,omitempty"` 1626 Truncated bool `protobuf:"varint,5,opt,name=truncated,proto3" json:"truncated,omitempty"` 1627 Highlighted string `protobuf:"bytes,6,opt,name=highlighted,proto3" json:"highlighted,omitempty"` 1628 FirstCause bool `protobuf:"varint,7,opt,name=first_cause,json=firstCause,proto3" json:"first_cause,omitempty"` 1629 LastCause bool `protobuf:"varint,8,opt,name=last_cause,json=lastCause,proto3" json:"last_cause,omitempty"` 1630 } 1631 1632 func (x *Line) Reset() { 1633 *x = Line{} 1634 if protoimpl.UnsafeEnabled { 1635 mi := &file_rpc_common_service_proto_msgTypes[15] 1636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1637 ms.StoreMessageInfo(mi) 1638 } 1639 } 1640 1641 func (x *Line) String() string { 1642 return protoimpl.X.MessageStringOf(x) 1643 } 1644 1645 func (*Line) ProtoMessage() {} 1646 1647 func (x *Line) ProtoReflect() protoreflect.Message { 1648 mi := &file_rpc_common_service_proto_msgTypes[15] 1649 if protoimpl.UnsafeEnabled && x != nil { 1650 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1651 if ms.LoadMessageInfo() == nil { 1652 ms.StoreMessageInfo(mi) 1653 } 1654 return ms 1655 } 1656 return mi.MessageOf(x) 1657 } 1658 1659 // Deprecated: Use Line.ProtoReflect.Descriptor instead. 1660 func (*Line) Descriptor() ([]byte, []int) { 1661 return file_rpc_common_service_proto_rawDescGZIP(), []int{15} 1662 } 1663 1664 func (x *Line) GetNumber() int32 { 1665 if x != nil { 1666 return x.Number 1667 } 1668 return 0 1669 } 1670 1671 func (x *Line) GetContent() string { 1672 if x != nil { 1673 return x.Content 1674 } 1675 return "" 1676 } 1677 1678 func (x *Line) GetIsCause() bool { 1679 if x != nil { 1680 return x.IsCause 1681 } 1682 return false 1683 } 1684 1685 func (x *Line) GetAnnotation() string { 1686 if x != nil { 1687 return x.Annotation 1688 } 1689 return "" 1690 } 1691 1692 func (x *Line) GetTruncated() bool { 1693 if x != nil { 1694 return x.Truncated 1695 } 1696 return false 1697 } 1698 1699 func (x *Line) GetHighlighted() string { 1700 if x != nil { 1701 return x.Highlighted 1702 } 1703 return "" 1704 } 1705 1706 func (x *Line) GetFirstCause() bool { 1707 if x != nil { 1708 return x.FirstCause 1709 } 1710 return false 1711 } 1712 1713 func (x *Line) GetLastCause() bool { 1714 if x != nil { 1715 return x.LastCause 1716 } 1717 return false 1718 } 1719 1720 type Code struct { 1721 state protoimpl.MessageState 1722 sizeCache protoimpl.SizeCache 1723 unknownFields protoimpl.UnknownFields 1724 1725 Lines []*Line `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"` 1726 } 1727 1728 func (x *Code) Reset() { 1729 *x = Code{} 1730 if protoimpl.UnsafeEnabled { 1731 mi := &file_rpc_common_service_proto_msgTypes[16] 1732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1733 ms.StoreMessageInfo(mi) 1734 } 1735 } 1736 1737 func (x *Code) String() string { 1738 return protoimpl.X.MessageStringOf(x) 1739 } 1740 1741 func (*Code) ProtoMessage() {} 1742 1743 func (x *Code) ProtoReflect() protoreflect.Message { 1744 mi := &file_rpc_common_service_proto_msgTypes[16] 1745 if protoimpl.UnsafeEnabled && x != nil { 1746 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1747 if ms.LoadMessageInfo() == nil { 1748 ms.StoreMessageInfo(mi) 1749 } 1750 return ms 1751 } 1752 return mi.MessageOf(x) 1753 } 1754 1755 // Deprecated: Use Code.ProtoReflect.Descriptor instead. 1756 func (*Code) Descriptor() ([]byte, []int) { 1757 return file_rpc_common_service_proto_rawDescGZIP(), []int{16} 1758 } 1759 1760 func (x *Code) GetLines() []*Line { 1761 if x != nil { 1762 return x.Lines 1763 } 1764 return nil 1765 } 1766 1767 type SecretFinding struct { 1768 state protoimpl.MessageState 1769 sizeCache protoimpl.SizeCache 1770 unknownFields protoimpl.UnknownFields 1771 1772 RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` 1773 Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` 1774 Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"` 1775 Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` 1776 StartLine int32 `protobuf:"varint,5,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` 1777 EndLine int32 `protobuf:"varint,6,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` 1778 Code *Code `protobuf:"bytes,7,opt,name=code,proto3" json:"code,omitempty"` 1779 Match string `protobuf:"bytes,8,opt,name=match,proto3" json:"match,omitempty"` 1780 Layer *Layer `protobuf:"bytes,10,opt,name=layer,proto3" json:"layer,omitempty"` 1781 } 1782 1783 func (x *SecretFinding) Reset() { 1784 *x = SecretFinding{} 1785 if protoimpl.UnsafeEnabled { 1786 mi := &file_rpc_common_service_proto_msgTypes[17] 1787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1788 ms.StoreMessageInfo(mi) 1789 } 1790 } 1791 1792 func (x *SecretFinding) String() string { 1793 return protoimpl.X.MessageStringOf(x) 1794 } 1795 1796 func (*SecretFinding) ProtoMessage() {} 1797 1798 func (x *SecretFinding) ProtoReflect() protoreflect.Message { 1799 mi := &file_rpc_common_service_proto_msgTypes[17] 1800 if protoimpl.UnsafeEnabled && x != nil { 1801 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1802 if ms.LoadMessageInfo() == nil { 1803 ms.StoreMessageInfo(mi) 1804 } 1805 return ms 1806 } 1807 return mi.MessageOf(x) 1808 } 1809 1810 // Deprecated: Use SecretFinding.ProtoReflect.Descriptor instead. 1811 func (*SecretFinding) Descriptor() ([]byte, []int) { 1812 return file_rpc_common_service_proto_rawDescGZIP(), []int{17} 1813 } 1814 1815 func (x *SecretFinding) GetRuleId() string { 1816 if x != nil { 1817 return x.RuleId 1818 } 1819 return "" 1820 } 1821 1822 func (x *SecretFinding) GetCategory() string { 1823 if x != nil { 1824 return x.Category 1825 } 1826 return "" 1827 } 1828 1829 func (x *SecretFinding) GetSeverity() string { 1830 if x != nil { 1831 return x.Severity 1832 } 1833 return "" 1834 } 1835 1836 func (x *SecretFinding) GetTitle() string { 1837 if x != nil { 1838 return x.Title 1839 } 1840 return "" 1841 } 1842 1843 func (x *SecretFinding) GetStartLine() int32 { 1844 if x != nil { 1845 return x.StartLine 1846 } 1847 return 0 1848 } 1849 1850 func (x *SecretFinding) GetEndLine() int32 { 1851 if x != nil { 1852 return x.EndLine 1853 } 1854 return 0 1855 } 1856 1857 func (x *SecretFinding) GetCode() *Code { 1858 if x != nil { 1859 return x.Code 1860 } 1861 return nil 1862 } 1863 1864 func (x *SecretFinding) GetMatch() string { 1865 if x != nil { 1866 return x.Match 1867 } 1868 return "" 1869 } 1870 1871 func (x *SecretFinding) GetLayer() *Layer { 1872 if x != nil { 1873 return x.Layer 1874 } 1875 return nil 1876 } 1877 1878 type Secret struct { 1879 state protoimpl.MessageState 1880 sizeCache protoimpl.SizeCache 1881 unknownFields protoimpl.UnknownFields 1882 1883 Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` 1884 Findings []*SecretFinding `protobuf:"bytes,2,rep,name=findings,proto3" json:"findings,omitempty"` 1885 } 1886 1887 func (x *Secret) Reset() { 1888 *x = Secret{} 1889 if protoimpl.UnsafeEnabled { 1890 mi := &file_rpc_common_service_proto_msgTypes[18] 1891 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1892 ms.StoreMessageInfo(mi) 1893 } 1894 } 1895 1896 func (x *Secret) String() string { 1897 return protoimpl.X.MessageStringOf(x) 1898 } 1899 1900 func (*Secret) ProtoMessage() {} 1901 1902 func (x *Secret) ProtoReflect() protoreflect.Message { 1903 mi := &file_rpc_common_service_proto_msgTypes[18] 1904 if protoimpl.UnsafeEnabled && x != nil { 1905 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1906 if ms.LoadMessageInfo() == nil { 1907 ms.StoreMessageInfo(mi) 1908 } 1909 return ms 1910 } 1911 return mi.MessageOf(x) 1912 } 1913 1914 // Deprecated: Use Secret.ProtoReflect.Descriptor instead. 1915 func (*Secret) Descriptor() ([]byte, []int) { 1916 return file_rpc_common_service_proto_rawDescGZIP(), []int{18} 1917 } 1918 1919 func (x *Secret) GetFilepath() string { 1920 if x != nil { 1921 return x.Filepath 1922 } 1923 return "" 1924 } 1925 1926 func (x *Secret) GetFindings() []*SecretFinding { 1927 if x != nil { 1928 return x.Findings 1929 } 1930 return nil 1931 } 1932 1933 type DetectedLicense struct { 1934 state protoimpl.MessageState 1935 sizeCache protoimpl.SizeCache 1936 unknownFields protoimpl.UnknownFields 1937 1938 Severity Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=trivy.common.Severity" json:"severity,omitempty"` 1939 Category LicenseCategory_Enum `protobuf:"varint,2,opt,name=category,proto3,enum=trivy.common.LicenseCategory_Enum" json:"category,omitempty"` 1940 PkgName string `protobuf:"bytes,3,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` 1941 FilePath string `protobuf:"bytes,4,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 1942 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` 1943 Confidence float32 `protobuf:"fixed32,6,opt,name=confidence,proto3" json:"confidence,omitempty"` 1944 Link string `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"` 1945 } 1946 1947 func (x *DetectedLicense) Reset() { 1948 *x = DetectedLicense{} 1949 if protoimpl.UnsafeEnabled { 1950 mi := &file_rpc_common_service_proto_msgTypes[19] 1951 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1952 ms.StoreMessageInfo(mi) 1953 } 1954 } 1955 1956 func (x *DetectedLicense) String() string { 1957 return protoimpl.X.MessageStringOf(x) 1958 } 1959 1960 func (*DetectedLicense) ProtoMessage() {} 1961 1962 func (x *DetectedLicense) ProtoReflect() protoreflect.Message { 1963 mi := &file_rpc_common_service_proto_msgTypes[19] 1964 if protoimpl.UnsafeEnabled && x != nil { 1965 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1966 if ms.LoadMessageInfo() == nil { 1967 ms.StoreMessageInfo(mi) 1968 } 1969 return ms 1970 } 1971 return mi.MessageOf(x) 1972 } 1973 1974 // Deprecated: Use DetectedLicense.ProtoReflect.Descriptor instead. 1975 func (*DetectedLicense) Descriptor() ([]byte, []int) { 1976 return file_rpc_common_service_proto_rawDescGZIP(), []int{19} 1977 } 1978 1979 func (x *DetectedLicense) GetSeverity() Severity { 1980 if x != nil { 1981 return x.Severity 1982 } 1983 return Severity_UNKNOWN 1984 } 1985 1986 func (x *DetectedLicense) GetCategory() LicenseCategory_Enum { 1987 if x != nil { 1988 return x.Category 1989 } 1990 return LicenseCategory_UNSPECIFIED 1991 } 1992 1993 func (x *DetectedLicense) GetPkgName() string { 1994 if x != nil { 1995 return x.PkgName 1996 } 1997 return "" 1998 } 1999 2000 func (x *DetectedLicense) GetFilePath() string { 2001 if x != nil { 2002 return x.FilePath 2003 } 2004 return "" 2005 } 2006 2007 func (x *DetectedLicense) GetName() string { 2008 if x != nil { 2009 return x.Name 2010 } 2011 return "" 2012 } 2013 2014 func (x *DetectedLicense) GetConfidence() float32 { 2015 if x != nil { 2016 return x.Confidence 2017 } 2018 return 0 2019 } 2020 2021 func (x *DetectedLicense) GetLink() string { 2022 if x != nil { 2023 return x.Link 2024 } 2025 return "" 2026 } 2027 2028 type LicenseFile struct { 2029 state protoimpl.MessageState 2030 sizeCache protoimpl.SizeCache 2031 unknownFields protoimpl.UnknownFields 2032 2033 LicenseType LicenseType_Enum `protobuf:"varint,1,opt,name=license_type,json=licenseType,proto3,enum=trivy.common.LicenseType_Enum" json:"license_type,omitempty"` 2034 FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 2035 PkgName string `protobuf:"bytes,3,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` 2036 Fingings []*LicenseFinding `protobuf:"bytes,4,rep,name=fingings,proto3" json:"fingings,omitempty"` 2037 Layer *Layer `protobuf:"bytes,5,opt,name=layer,proto3" json:"layer,omitempty"` 2038 } 2039 2040 func (x *LicenseFile) Reset() { 2041 *x = LicenseFile{} 2042 if protoimpl.UnsafeEnabled { 2043 mi := &file_rpc_common_service_proto_msgTypes[20] 2044 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2045 ms.StoreMessageInfo(mi) 2046 } 2047 } 2048 2049 func (x *LicenseFile) String() string { 2050 return protoimpl.X.MessageStringOf(x) 2051 } 2052 2053 func (*LicenseFile) ProtoMessage() {} 2054 2055 func (x *LicenseFile) ProtoReflect() protoreflect.Message { 2056 mi := &file_rpc_common_service_proto_msgTypes[20] 2057 if protoimpl.UnsafeEnabled && x != nil { 2058 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2059 if ms.LoadMessageInfo() == nil { 2060 ms.StoreMessageInfo(mi) 2061 } 2062 return ms 2063 } 2064 return mi.MessageOf(x) 2065 } 2066 2067 // Deprecated: Use LicenseFile.ProtoReflect.Descriptor instead. 2068 func (*LicenseFile) Descriptor() ([]byte, []int) { 2069 return file_rpc_common_service_proto_rawDescGZIP(), []int{20} 2070 } 2071 2072 func (x *LicenseFile) GetLicenseType() LicenseType_Enum { 2073 if x != nil { 2074 return x.LicenseType 2075 } 2076 return LicenseType_UNSPECIFIED 2077 } 2078 2079 func (x *LicenseFile) GetFilePath() string { 2080 if x != nil { 2081 return x.FilePath 2082 } 2083 return "" 2084 } 2085 2086 func (x *LicenseFile) GetPkgName() string { 2087 if x != nil { 2088 return x.PkgName 2089 } 2090 return "" 2091 } 2092 2093 func (x *LicenseFile) GetFingings() []*LicenseFinding { 2094 if x != nil { 2095 return x.Fingings 2096 } 2097 return nil 2098 } 2099 2100 func (x *LicenseFile) GetLayer() *Layer { 2101 if x != nil { 2102 return x.Layer 2103 } 2104 return nil 2105 } 2106 2107 type LicenseFinding struct { 2108 state protoimpl.MessageState 2109 sizeCache protoimpl.SizeCache 2110 unknownFields protoimpl.UnknownFields 2111 2112 Category LicenseCategory_Enum `protobuf:"varint,1,opt,name=category,proto3,enum=trivy.common.LicenseCategory_Enum" json:"category,omitempty"` 2113 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 2114 Confidence float32 `protobuf:"fixed32,3,opt,name=confidence,proto3" json:"confidence,omitempty"` 2115 Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` 2116 } 2117 2118 func (x *LicenseFinding) Reset() { 2119 *x = LicenseFinding{} 2120 if protoimpl.UnsafeEnabled { 2121 mi := &file_rpc_common_service_proto_msgTypes[21] 2122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2123 ms.StoreMessageInfo(mi) 2124 } 2125 } 2126 2127 func (x *LicenseFinding) String() string { 2128 return protoimpl.X.MessageStringOf(x) 2129 } 2130 2131 func (*LicenseFinding) ProtoMessage() {} 2132 2133 func (x *LicenseFinding) ProtoReflect() protoreflect.Message { 2134 mi := &file_rpc_common_service_proto_msgTypes[21] 2135 if protoimpl.UnsafeEnabled && x != nil { 2136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2137 if ms.LoadMessageInfo() == nil { 2138 ms.StoreMessageInfo(mi) 2139 } 2140 return ms 2141 } 2142 return mi.MessageOf(x) 2143 } 2144 2145 // Deprecated: Use LicenseFinding.ProtoReflect.Descriptor instead. 2146 func (*LicenseFinding) Descriptor() ([]byte, []int) { 2147 return file_rpc_common_service_proto_rawDescGZIP(), []int{21} 2148 } 2149 2150 func (x *LicenseFinding) GetCategory() LicenseCategory_Enum { 2151 if x != nil { 2152 return x.Category 2153 } 2154 return LicenseCategory_UNSPECIFIED 2155 } 2156 2157 func (x *LicenseFinding) GetName() string { 2158 if x != nil { 2159 return x.Name 2160 } 2161 return "" 2162 } 2163 2164 func (x *LicenseFinding) GetConfidence() float32 { 2165 if x != nil { 2166 return x.Confidence 2167 } 2168 return 0 2169 } 2170 2171 func (x *LicenseFinding) GetLink() string { 2172 if x != nil { 2173 return x.Link 2174 } 2175 return "" 2176 } 2177 2178 // Enumerations are wrapped with a message to improve the readability of enumerations 2179 // in generated code and avoid name conflicts. 2180 // https://github.com/golang/protobuf/issues/513 2181 type LicenseCategory struct { 2182 state protoimpl.MessageState 2183 sizeCache protoimpl.SizeCache 2184 unknownFields protoimpl.UnknownFields 2185 } 2186 2187 func (x *LicenseCategory) Reset() { 2188 *x = LicenseCategory{} 2189 if protoimpl.UnsafeEnabled { 2190 mi := &file_rpc_common_service_proto_msgTypes[22] 2191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2192 ms.StoreMessageInfo(mi) 2193 } 2194 } 2195 2196 func (x *LicenseCategory) String() string { 2197 return protoimpl.X.MessageStringOf(x) 2198 } 2199 2200 func (*LicenseCategory) ProtoMessage() {} 2201 2202 func (x *LicenseCategory) ProtoReflect() protoreflect.Message { 2203 mi := &file_rpc_common_service_proto_msgTypes[22] 2204 if protoimpl.UnsafeEnabled && x != nil { 2205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2206 if ms.LoadMessageInfo() == nil { 2207 ms.StoreMessageInfo(mi) 2208 } 2209 return ms 2210 } 2211 return mi.MessageOf(x) 2212 } 2213 2214 // Deprecated: Use LicenseCategory.ProtoReflect.Descriptor instead. 2215 func (*LicenseCategory) Descriptor() ([]byte, []int) { 2216 return file_rpc_common_service_proto_rawDescGZIP(), []int{22} 2217 } 2218 2219 type LicenseType struct { 2220 state protoimpl.MessageState 2221 sizeCache protoimpl.SizeCache 2222 unknownFields protoimpl.UnknownFields 2223 } 2224 2225 func (x *LicenseType) Reset() { 2226 *x = LicenseType{} 2227 if protoimpl.UnsafeEnabled { 2228 mi := &file_rpc_common_service_proto_msgTypes[23] 2229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2230 ms.StoreMessageInfo(mi) 2231 } 2232 } 2233 2234 func (x *LicenseType) String() string { 2235 return protoimpl.X.MessageStringOf(x) 2236 } 2237 2238 func (*LicenseType) ProtoMessage() {} 2239 2240 func (x *LicenseType) ProtoReflect() protoreflect.Message { 2241 mi := &file_rpc_common_service_proto_msgTypes[23] 2242 if protoimpl.UnsafeEnabled && x != nil { 2243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2244 if ms.LoadMessageInfo() == nil { 2245 ms.StoreMessageInfo(mi) 2246 } 2247 return ms 2248 } 2249 return mi.MessageOf(x) 2250 } 2251 2252 // Deprecated: Use LicenseType.ProtoReflect.Descriptor instead. 2253 func (*LicenseType) Descriptor() ([]byte, []int) { 2254 return file_rpc_common_service_proto_rawDescGZIP(), []int{23} 2255 } 2256 2257 var File_rpc_common_service_proto protoreflect.FileDescriptor 2258 2259 var file_rpc_common_service_proto_rawDesc = []byte{ 2260 0x0a, 0x18, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 2261 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x74, 0x72, 0x69, 0x76, 2262 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 2263 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 2264 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 2265 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 2266 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x02, 0x4f, 0x53, 0x12, 0x16, 0x0a, 2267 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 2268 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 2269 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x6f, 0x73, 2270 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x65, 0x6f, 0x73, 0x6c, 0x12, 0x1a, 0x0a, 2271 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 2272 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x22, 0x3e, 0x0a, 0x0a, 0x52, 0x65, 0x70, 2273 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 2274 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 2275 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 2276 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x22, 0x5d, 0x0a, 0x0b, 0x50, 0x61, 0x63, 2277 0x6b, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 2278 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 2279 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x31, 0x0a, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 2280 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 2281 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x08, 2282 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x22, 0x73, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 2283 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 2284 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 2285 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 2286 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x09, 0x6c, 0x69, 0x62, 0x72, 2287 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x72, 2288 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 2289 0x67, 0x65, 0x52, 0x09, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x22, 0xce, 0x03, 2290 0x0a, 0x07, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 2291 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 2292 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 2293 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 2294 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 2295 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 2296 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 2297 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x63, 0x68, 0x18, 2298 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x63, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x73, 2299 0x72, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 2300 0x72, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x72, 0x63, 0x5f, 0x76, 0x65, 2301 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x72, 0x63, 2302 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x72, 0x63, 0x5f, 0x72, 2303 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x72, 2304 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x72, 0x63, 0x5f, 2305 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x72, 0x63, 2306 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 2307 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 2308 0x73, 0x12, 0x29, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 2309 0x32, 0x13, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 2310 0x4c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 2311 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 2312 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x70, 2313 0x65, 0x6e, 0x64, 0x73, 0x5f, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x64, 2314 0x65, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x4f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 2315 0x73, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 2316 0x12, 0x10, 0x0a, 0x03, 0x64, 0x65, 0x76, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64, 2317 0x65, 0x76, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x12, 2318 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x22, 0xb6, 2319 0x02, 0x0a, 0x10, 0x4d, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 2320 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 2321 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 2322 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 2323 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x39, 0x0a, 2324 0x09, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 2325 0x32, 0x1b, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 2326 0x4d, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x09, 0x73, 2327 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x77, 0x61, 0x72, 0x6e, 2328 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x72, 0x69, 2329 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 0x73, 0x63, 0x6f, 0x6e, 2330 0x66, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 2331 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 2332 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 2333 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 2334 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0a, 0x65, 0x78, 2335 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 2336 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 2337 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0a, 0x65, 0x78, 0x63, 2338 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xf3, 0x01, 0x0a, 0x0d, 0x4d, 0x69, 0x73, 0x63, 2339 0x6f, 0x6e, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 2340 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 2341 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 2342 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 2343 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x61, 2344 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x72, 0x69, 2345 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2346 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2347 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x42, 0x0a, 0x0e, 0x63, 0x61, 0x75, 0x73, 2348 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 2349 0x32, 0x1b, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 2350 0x43, 0x61, 0x75, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x63, 2351 0x61, 0x75, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4a, 0x04, 0x08, 0x03, 2352 0x10, 0x07, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x52, 0x05, 0x74, 0x69, 2353 0x74, 0x6c, 0x65, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x22, 0xf0, 0x01, 2354 0x0a, 0x0e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 2355 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 2356 0x12, 0x15, 0x0a, 0x06, 0x61, 0x64, 0x76, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 2357 0x52, 0x05, 0x61, 0x64, 0x76, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 2358 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 2359 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 2360 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 2361 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 2362 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 2363 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 2364 0x2f, 0x0a, 0x13, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x61, 2365 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 2366 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 2367 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x08, 2368 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 2369 0x22, 0xf7, 0x03, 0x0a, 0x18, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4d, 0x69, 0x73, 2370 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 2371 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 2372 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 2373 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 2374 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 2375 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 2376 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 2377 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 2378 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 2379 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 2380 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 2381 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 2382 0x6e, 0x12, 0x32, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 2383 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 2384 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 2385 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 2386 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6d, 2387 0x61, 0x72, 0x79, 0x55, 0x72, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 2388 0x6e, 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 2389 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 2390 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x29, 2391 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 2392 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x61, 0x79, 2393 0x65, 0x72, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0e, 0x63, 0x61, 0x75, 2394 0x73, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0d, 0x20, 0x01, 0x28, 2395 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 2396 0x2e, 0x43, 0x61, 0x75, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 2397 0x63, 0x61, 0x75, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x15, 0x0a, 2398 0x06, 0x61, 0x76, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 2399 0x76, 0x64, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x0f, 0x20, 2400 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0xbb, 0x09, 0x0a, 0x0d, 0x56, 2401 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, 0x10, 2402 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 2403 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 2404 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, 0x5f, 0x6e, 2405 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x4e, 0x61, 2406 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 2407 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x69, 2408 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 2409 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 2410 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x78, 0x65, 0x64, 0x56, 0x65, 0x72, 2411 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 2412 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 2413 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 2414 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x08, 2415 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 2416 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 2417 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 2418 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x08, 2419 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 2420 0x12, 0x29, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 2421 0x13, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 2422 0x61, 0x79, 0x65, 0x72, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x73, 2423 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0b, 2424 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x53, 0x6f, 2425 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x63, 0x76, 0x73, 0x73, 0x18, 0x0c, 0x20, 0x03, 2426 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 2427 0x6e, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 2428 0x43, 0x76, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x63, 0x76, 0x73, 0x73, 0x12, 2429 0x17, 0x0a, 0x07, 0x63, 0x77, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 2430 0x52, 0x06, 0x63, 0x77, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6d, 2431 0x61, 0x72, 0x79, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 2432 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x55, 0x72, 0x6c, 0x12, 0x41, 0x0a, 0x0e, 0x70, 0x75, 0x62, 2433 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 2434 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 2435 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x70, 2436 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x12, 2437 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x64, 0x61, 2438 0x74, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 2439 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 2440 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 2441 0x65, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x14, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 2442 0x5f, 0x61, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x11, 2443 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 2444 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x63, 0x75, 2445 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 2446 0x12, 0x40, 0x0a, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x76, 0x75, 0x6c, 0x6e, 0x5f, 2447 0x64, 0x61, 0x74, 0x61, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 2448 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 2449 0x75, 0x65, 0x52, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x56, 0x75, 0x6c, 0x6e, 0x44, 0x61, 2450 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x73, 2451 0x18, 0x13, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x49, 0x64, 2452 0x73, 0x12, 0x39, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 2453 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 2454 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 2455 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x0f, 2456 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 2457 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 2458 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 2459 0x74, 0x79, 0x2e, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 2460 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x53, 0x65, 2461 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, 0x5f, 0x70, 0x61, 2462 0x74, 0x68, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x50, 0x61, 0x74, 2463 0x68, 0x12, 0x15, 0x0a, 0x06, 0x70, 0x6b, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 2464 0x09, 0x52, 0x05, 0x70, 0x6b, 0x67, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 2465 0x75, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 2466 0x1a, 0x4b, 0x0a, 0x09, 0x43, 0x76, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 2467 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 2468 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 2469 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x56, 2470 0x53, 0x53, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x59, 0x0a, 2471 0x13, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x45, 2472 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 2473 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 2474 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 2475 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 2476 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x42, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 2477 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 2478 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 2479 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 2480 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x57, 0x0a, 0x05, 2481 0x4c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 2482 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 2483 0x07, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 2484 0x64, 0x69, 0x66, 0x66, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 2485 0x64, 0x5f, 0x62, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 2486 0x74, 0x65, 0x64, 0x42, 0x79, 0x22, 0xc3, 0x01, 0x0a, 0x0d, 0x43, 0x61, 0x75, 0x73, 0x65, 0x4d, 2487 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 2488 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 2489 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 2490 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 2491 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 2492 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 2493 0x72, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 2494 0x74, 0x61, 0x72, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 2495 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x4c, 2496 0x69, 0x6e, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 2497 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 2498 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x76, 0x0a, 0x04, 0x43, 2499 0x56, 0x53, 0x53, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x32, 0x5f, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 2500 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x32, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 2501 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x33, 0x5f, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 2502 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x33, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x19, 0x0a, 2503 0x08, 0x76, 0x32, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 2504 0x07, 0x76, 0x32, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x76, 0x33, 0x5f, 0x73, 2505 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x76, 0x33, 0x53, 0x63, 2506 0x6f, 0x72, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 2507 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 2508 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 2509 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 2510 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 2511 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 2512 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x05, 0x6c, 0x61, 0x79, 2513 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 2514 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 2515 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xf3, 2516 0x01, 0x0a, 0x04, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 2517 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 2518 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 2519 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 2520 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x43, 2521 0x61, 0x75, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 2522 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 2523 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 2524 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 2525 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x65, 2526 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 2527 0x68, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x63, 0x61, 2528 0x75, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 2529 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, 0x61, 2530 0x75, 0x73, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x43, 2531 0x61, 0x75, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x05, 2532 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x72, 2533 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x52, 2534 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x9f, 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x63, 0x72, 0x65, 2535 0x74, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 2536 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x75, 0x6c, 0x65, 0x49, 2537 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 2538 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 2539 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 2540 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 2541 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 2542 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x05, 0x20, 2543 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x19, 2544 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 2545 0x52, 0x07, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x63, 0x6f, 0x64, 2546 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 2547 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 2548 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 2549 0x52, 0x05, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x29, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 2550 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 2551 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x05, 0x6c, 0x61, 0x79, 2552 0x65, 0x72, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0x5d, 0x0a, 0x06, 0x53, 0x65, 0x63, 0x72, 2553 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 2554 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x12, 0x37, 2555 0x0a, 0x08, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 2556 0x32, 0x1b, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 2557 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x66, 2558 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x85, 0x02, 0x0a, 0x0f, 0x44, 0x65, 0x74, 0x65, 2559 0x63, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x08, 0x73, 2560 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 2561 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x76, 2562 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 2563 0x3e, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 2564 0x0e, 0x32, 0x22, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 2565 0x2e, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 2566 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 2567 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 2568 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 2569 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 2570 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 2571 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 2572 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 2573 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 2574 0x69, 0x6e, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 2575 0xed, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 2576 0x41, 0x0a, 0x0c, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 2577 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 2578 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 2579 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0b, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x54, 0x79, 2580 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 2581 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 2582 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 2583 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x66, 0x69, 2584 0x6e, 0x67, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 2585 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x63, 0x65, 2586 0x6e, 0x73, 0x65, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x66, 0x69, 0x6e, 0x67, 2587 0x69, 0x6e, 0x67, 0x73, 0x12, 0x29, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x05, 0x20, 2588 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 2589 0x6f, 0x6e, 0x2e, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 2590 0x98, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x46, 0x69, 0x6e, 0x64, 0x69, 2591 0x6e, 0x67, 0x12, 0x3e, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 2592 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 2593 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 2594 0x6f, 0x72, 0x79, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 2595 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 2596 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 2597 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 2598 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x04, 2599 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x95, 0x01, 0x0a, 0x0f, 0x4c, 2600 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x22, 0x81, 2601 0x01, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 2602 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x4f, 0x52, 0x42, 2603 0x49, 0x44, 0x44, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x53, 0x54, 0x52, 2604 0x49, 0x43, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x43, 0x49, 0x50, 2605 0x52, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x54, 0x49, 0x43, 2606 0x45, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x56, 2607 0x45, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x45, 0x4e, 0x43, 0x55, 0x4d, 0x42, 0x45, 2608 0x52, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 2609 0x10, 0x07, 0x22, 0x4e, 0x0a, 0x0b, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 2610 0x65, 0x22, 0x3f, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 2611 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x50, 2612 0x4b, 0x47, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x02, 2613 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 2614 0x10, 0x03, 0x2a, 0x44, 0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x0b, 2615 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4c, 2616 0x4f, 0x57, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10, 0x02, 2617 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, 0x48, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 2618 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x04, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 2619 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x71, 0x75, 0x61, 0x73, 0x65, 0x63, 0x75, 0x72, 2620 0x69, 0x74, 0x79, 0x2f, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 2621 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 2622 0x74, 0x6f, 0x33, 2623 } 2624 2625 var ( 2626 file_rpc_common_service_proto_rawDescOnce sync.Once 2627 file_rpc_common_service_proto_rawDescData = file_rpc_common_service_proto_rawDesc 2628 ) 2629 2630 func file_rpc_common_service_proto_rawDescGZIP() []byte { 2631 file_rpc_common_service_proto_rawDescOnce.Do(func() { 2632 file_rpc_common_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_common_service_proto_rawDescData) 2633 }) 2634 return file_rpc_common_service_proto_rawDescData 2635 } 2636 2637 var file_rpc_common_service_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 2638 var file_rpc_common_service_proto_msgTypes = make([]protoimpl.MessageInfo, 26) 2639 var file_rpc_common_service_proto_goTypes = []interface{}{ 2640 (Severity)(0), // 0: trivy.common.Severity 2641 (LicenseCategory_Enum)(0), // 1: trivy.common.LicenseCategory.Enum 2642 (LicenseType_Enum)(0), // 2: trivy.common.LicenseType.Enum 2643 (*OS)(nil), // 3: trivy.common.OS 2644 (*Repository)(nil), // 4: trivy.common.Repository 2645 (*PackageInfo)(nil), // 5: trivy.common.PackageInfo 2646 (*Application)(nil), // 6: trivy.common.Application 2647 (*Package)(nil), // 7: trivy.common.Package 2648 (*Misconfiguration)(nil), // 8: trivy.common.Misconfiguration 2649 (*MisconfResult)(nil), // 9: trivy.common.MisconfResult 2650 (*PolicyMetadata)(nil), // 10: trivy.common.PolicyMetadata 2651 (*DetectedMisconfiguration)(nil), // 11: trivy.common.DetectedMisconfiguration 2652 (*Vulnerability)(nil), // 12: trivy.common.Vulnerability 2653 (*DataSource)(nil), // 13: trivy.common.DataSource 2654 (*Layer)(nil), // 14: trivy.common.Layer 2655 (*CauseMetadata)(nil), // 15: trivy.common.CauseMetadata 2656 (*CVSS)(nil), // 16: trivy.common.CVSS 2657 (*CustomResource)(nil), // 17: trivy.common.CustomResource 2658 (*Line)(nil), // 18: trivy.common.Line 2659 (*Code)(nil), // 19: trivy.common.Code 2660 (*SecretFinding)(nil), // 20: trivy.common.SecretFinding 2661 (*Secret)(nil), // 21: trivy.common.Secret 2662 (*DetectedLicense)(nil), // 22: trivy.common.DetectedLicense 2663 (*LicenseFile)(nil), // 23: trivy.common.LicenseFile 2664 (*LicenseFinding)(nil), // 24: trivy.common.LicenseFinding 2665 (*LicenseCategory)(nil), // 25: trivy.common.LicenseCategory 2666 (*LicenseType)(nil), // 26: trivy.common.LicenseType 2667 nil, // 27: trivy.common.Vulnerability.CvssEntry 2668 nil, // 28: trivy.common.Vulnerability.VendorSeverityEntry 2669 (*timestamppb.Timestamp)(nil), // 29: google.protobuf.Timestamp 2670 (*structpb.Value)(nil), // 30: google.protobuf.Value 2671 } 2672 var file_rpc_common_service_proto_depIdxs = []int32{ 2673 7, // 0: trivy.common.PackageInfo.packages:type_name -> trivy.common.Package 2674 7, // 1: trivy.common.Application.libraries:type_name -> trivy.common.Package 2675 14, // 2: trivy.common.Package.layer:type_name -> trivy.common.Layer 2676 9, // 3: trivy.common.Misconfiguration.successes:type_name -> trivy.common.MisconfResult 2677 9, // 4: trivy.common.Misconfiguration.warnings:type_name -> trivy.common.MisconfResult 2678 9, // 5: trivy.common.Misconfiguration.failures:type_name -> trivy.common.MisconfResult 2679 9, // 6: trivy.common.Misconfiguration.exceptions:type_name -> trivy.common.MisconfResult 2680 10, // 7: trivy.common.MisconfResult.policy_metadata:type_name -> trivy.common.PolicyMetadata 2681 15, // 8: trivy.common.MisconfResult.cause_metadata:type_name -> trivy.common.CauseMetadata 2682 0, // 9: trivy.common.DetectedMisconfiguration.severity:type_name -> trivy.common.Severity 2683 14, // 10: trivy.common.DetectedMisconfiguration.layer:type_name -> trivy.common.Layer 2684 15, // 11: trivy.common.DetectedMisconfiguration.cause_metadata:type_name -> trivy.common.CauseMetadata 2685 0, // 12: trivy.common.Vulnerability.severity:type_name -> trivy.common.Severity 2686 14, // 13: trivy.common.Vulnerability.layer:type_name -> trivy.common.Layer 2687 27, // 14: trivy.common.Vulnerability.cvss:type_name -> trivy.common.Vulnerability.CvssEntry 2688 29, // 15: trivy.common.Vulnerability.published_date:type_name -> google.protobuf.Timestamp 2689 29, // 16: trivy.common.Vulnerability.last_modified_date:type_name -> google.protobuf.Timestamp 2690 30, // 17: trivy.common.Vulnerability.custom_advisory_data:type_name -> google.protobuf.Value 2691 30, // 18: trivy.common.Vulnerability.custom_vuln_data:type_name -> google.protobuf.Value 2692 13, // 19: trivy.common.Vulnerability.data_source:type_name -> trivy.common.DataSource 2693 28, // 20: trivy.common.Vulnerability.vendor_severity:type_name -> trivy.common.Vulnerability.VendorSeverityEntry 2694 19, // 21: trivy.common.CauseMetadata.code:type_name -> trivy.common.Code 2695 14, // 22: trivy.common.CustomResource.layer:type_name -> trivy.common.Layer 2696 30, // 23: trivy.common.CustomResource.data:type_name -> google.protobuf.Value 2697 18, // 24: trivy.common.Code.lines:type_name -> trivy.common.Line 2698 19, // 25: trivy.common.SecretFinding.code:type_name -> trivy.common.Code 2699 14, // 26: trivy.common.SecretFinding.layer:type_name -> trivy.common.Layer 2700 20, // 27: trivy.common.Secret.findings:type_name -> trivy.common.SecretFinding 2701 0, // 28: trivy.common.DetectedLicense.severity:type_name -> trivy.common.Severity 2702 1, // 29: trivy.common.DetectedLicense.category:type_name -> trivy.common.LicenseCategory.Enum 2703 2, // 30: trivy.common.LicenseFile.license_type:type_name -> trivy.common.LicenseType.Enum 2704 24, // 31: trivy.common.LicenseFile.fingings:type_name -> trivy.common.LicenseFinding 2705 14, // 32: trivy.common.LicenseFile.layer:type_name -> trivy.common.Layer 2706 1, // 33: trivy.common.LicenseFinding.category:type_name -> trivy.common.LicenseCategory.Enum 2707 16, // 34: trivy.common.Vulnerability.CvssEntry.value:type_name -> trivy.common.CVSS 2708 0, // 35: trivy.common.Vulnerability.VendorSeverityEntry.value:type_name -> trivy.common.Severity 2709 36, // [36:36] is the sub-list for method output_type 2710 36, // [36:36] is the sub-list for method input_type 2711 36, // [36:36] is the sub-list for extension type_name 2712 36, // [36:36] is the sub-list for extension extendee 2713 0, // [0:36] is the sub-list for field type_name 2714 } 2715 2716 func init() { file_rpc_common_service_proto_init() } 2717 func file_rpc_common_service_proto_init() { 2718 if File_rpc_common_service_proto != nil { 2719 return 2720 } 2721 if !protoimpl.UnsafeEnabled { 2722 file_rpc_common_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2723 switch v := v.(*OS); i { 2724 case 0: 2725 return &v.state 2726 case 1: 2727 return &v.sizeCache 2728 case 2: 2729 return &v.unknownFields 2730 default: 2731 return nil 2732 } 2733 } 2734 file_rpc_common_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 2735 switch v := v.(*Repository); i { 2736 case 0: 2737 return &v.state 2738 case 1: 2739 return &v.sizeCache 2740 case 2: 2741 return &v.unknownFields 2742 default: 2743 return nil 2744 } 2745 } 2746 file_rpc_common_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 2747 switch v := v.(*PackageInfo); i { 2748 case 0: 2749 return &v.state 2750 case 1: 2751 return &v.sizeCache 2752 case 2: 2753 return &v.unknownFields 2754 default: 2755 return nil 2756 } 2757 } 2758 file_rpc_common_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 2759 switch v := v.(*Application); i { 2760 case 0: 2761 return &v.state 2762 case 1: 2763 return &v.sizeCache 2764 case 2: 2765 return &v.unknownFields 2766 default: 2767 return nil 2768 } 2769 } 2770 file_rpc_common_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2771 switch v := v.(*Package); i { 2772 case 0: 2773 return &v.state 2774 case 1: 2775 return &v.sizeCache 2776 case 2: 2777 return &v.unknownFields 2778 default: 2779 return nil 2780 } 2781 } 2782 file_rpc_common_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2783 switch v := v.(*Misconfiguration); i { 2784 case 0: 2785 return &v.state 2786 case 1: 2787 return &v.sizeCache 2788 case 2: 2789 return &v.unknownFields 2790 default: 2791 return nil 2792 } 2793 } 2794 file_rpc_common_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2795 switch v := v.(*MisconfResult); i { 2796 case 0: 2797 return &v.state 2798 case 1: 2799 return &v.sizeCache 2800 case 2: 2801 return &v.unknownFields 2802 default: 2803 return nil 2804 } 2805 } 2806 file_rpc_common_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2807 switch v := v.(*PolicyMetadata); i { 2808 case 0: 2809 return &v.state 2810 case 1: 2811 return &v.sizeCache 2812 case 2: 2813 return &v.unknownFields 2814 default: 2815 return nil 2816 } 2817 } 2818 file_rpc_common_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2819 switch v := v.(*DetectedMisconfiguration); i { 2820 case 0: 2821 return &v.state 2822 case 1: 2823 return &v.sizeCache 2824 case 2: 2825 return &v.unknownFields 2826 default: 2827 return nil 2828 } 2829 } 2830 file_rpc_common_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2831 switch v := v.(*Vulnerability); i { 2832 case 0: 2833 return &v.state 2834 case 1: 2835 return &v.sizeCache 2836 case 2: 2837 return &v.unknownFields 2838 default: 2839 return nil 2840 } 2841 } 2842 file_rpc_common_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2843 switch v := v.(*DataSource); i { 2844 case 0: 2845 return &v.state 2846 case 1: 2847 return &v.sizeCache 2848 case 2: 2849 return &v.unknownFields 2850 default: 2851 return nil 2852 } 2853 } 2854 file_rpc_common_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2855 switch v := v.(*Layer); i { 2856 case 0: 2857 return &v.state 2858 case 1: 2859 return &v.sizeCache 2860 case 2: 2861 return &v.unknownFields 2862 default: 2863 return nil 2864 } 2865 } 2866 file_rpc_common_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2867 switch v := v.(*CauseMetadata); i { 2868 case 0: 2869 return &v.state 2870 case 1: 2871 return &v.sizeCache 2872 case 2: 2873 return &v.unknownFields 2874 default: 2875 return nil 2876 } 2877 } 2878 file_rpc_common_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2879 switch v := v.(*CVSS); i { 2880 case 0: 2881 return &v.state 2882 case 1: 2883 return &v.sizeCache 2884 case 2: 2885 return &v.unknownFields 2886 default: 2887 return nil 2888 } 2889 } 2890 file_rpc_common_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2891 switch v := v.(*CustomResource); i { 2892 case 0: 2893 return &v.state 2894 case 1: 2895 return &v.sizeCache 2896 case 2: 2897 return &v.unknownFields 2898 default: 2899 return nil 2900 } 2901 } 2902 file_rpc_common_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2903 switch v := v.(*Line); i { 2904 case 0: 2905 return &v.state 2906 case 1: 2907 return &v.sizeCache 2908 case 2: 2909 return &v.unknownFields 2910 default: 2911 return nil 2912 } 2913 } 2914 file_rpc_common_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2915 switch v := v.(*Code); i { 2916 case 0: 2917 return &v.state 2918 case 1: 2919 return &v.sizeCache 2920 case 2: 2921 return &v.unknownFields 2922 default: 2923 return nil 2924 } 2925 } 2926 file_rpc_common_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 2927 switch v := v.(*SecretFinding); i { 2928 case 0: 2929 return &v.state 2930 case 1: 2931 return &v.sizeCache 2932 case 2: 2933 return &v.unknownFields 2934 default: 2935 return nil 2936 } 2937 } 2938 file_rpc_common_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 2939 switch v := v.(*Secret); i { 2940 case 0: 2941 return &v.state 2942 case 1: 2943 return &v.sizeCache 2944 case 2: 2945 return &v.unknownFields 2946 default: 2947 return nil 2948 } 2949 } 2950 file_rpc_common_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 2951 switch v := v.(*DetectedLicense); i { 2952 case 0: 2953 return &v.state 2954 case 1: 2955 return &v.sizeCache 2956 case 2: 2957 return &v.unknownFields 2958 default: 2959 return nil 2960 } 2961 } 2962 file_rpc_common_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 2963 switch v := v.(*LicenseFile); i { 2964 case 0: 2965 return &v.state 2966 case 1: 2967 return &v.sizeCache 2968 case 2: 2969 return &v.unknownFields 2970 default: 2971 return nil 2972 } 2973 } 2974 file_rpc_common_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 2975 switch v := v.(*LicenseFinding); i { 2976 case 0: 2977 return &v.state 2978 case 1: 2979 return &v.sizeCache 2980 case 2: 2981 return &v.unknownFields 2982 default: 2983 return nil 2984 } 2985 } 2986 file_rpc_common_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 2987 switch v := v.(*LicenseCategory); i { 2988 case 0: 2989 return &v.state 2990 case 1: 2991 return &v.sizeCache 2992 case 2: 2993 return &v.unknownFields 2994 default: 2995 return nil 2996 } 2997 } 2998 file_rpc_common_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 2999 switch v := v.(*LicenseType); i { 3000 case 0: 3001 return &v.state 3002 case 1: 3003 return &v.sizeCache 3004 case 2: 3005 return &v.unknownFields 3006 default: 3007 return nil 3008 } 3009 } 3010 } 3011 type x struct{} 3012 out := protoimpl.TypeBuilder{ 3013 File: protoimpl.DescBuilder{ 3014 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 3015 RawDescriptor: file_rpc_common_service_proto_rawDesc, 3016 NumEnums: 3, 3017 NumMessages: 26, 3018 NumExtensions: 0, 3019 NumServices: 0, 3020 }, 3021 GoTypes: file_rpc_common_service_proto_goTypes, 3022 DependencyIndexes: file_rpc_common_service_proto_depIdxs, 3023 EnumInfos: file_rpc_common_service_proto_enumTypes, 3024 MessageInfos: file_rpc_common_service_proto_msgTypes, 3025 }.Build() 3026 File_rpc_common_service_proto = out.File 3027 file_rpc_common_service_proto_rawDesc = nil 3028 file_rpc_common_service_proto_goTypes = nil 3029 file_rpc_common_service_proto_depIdxs = nil 3030 }