1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/devtools/containeranalysis/v1alpha1/containeranalysis.proto 3 4package containeranalysis 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 _ "github.com/golang/protobuf/ptypes/any" 13 empty "github.com/golang/protobuf/ptypes/empty" 14 timestamp "github.com/golang/protobuf/ptypes/timestamp" 15 _ "google.golang.org/genproto/googleapis/api/annotations" 16 v1 "google.golang.org/genproto/googleapis/iam/v1" 17 longrunning "google.golang.org/genproto/googleapis/longrunning" 18 status "google.golang.org/genproto/googleapis/rpc/status" 19 field_mask "google.golang.org/genproto/protobuf/field_mask" 20 grpc "google.golang.org/grpc" 21) 22 23// Reference imports to suppress errors if they are not otherwise used. 24var _ = proto.Marshal 25var _ = fmt.Errorf 26var _ = math.Inf 27 28// This is a compile-time assertion to ensure that this generated file 29// is compatible with the proto package it is being compiled against. 30// A compilation error at this line likely means your copy of the 31// proto package needs to be updated. 32const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 33 34// This must be 1:1 with members of our oneofs, it can be used for filtering 35// Note and Occurrence on their kind. 36type Note_Kind int32 37 38const ( 39 // Unknown 40 Note_KIND_UNSPECIFIED Note_Kind = 0 41 // The note and occurrence represent a package vulnerability. 42 Note_PACKAGE_VULNERABILITY Note_Kind = 2 43 // The note and occurrence assert build provenance. 44 Note_BUILD_DETAILS Note_Kind = 3 45 // This represents an image basis relationship. 46 Note_IMAGE_BASIS Note_Kind = 4 47 // This represents a package installed via a package manager. 48 Note_PACKAGE_MANAGER Note_Kind = 5 49 // The note and occurrence track deployment events. 50 Note_DEPLOYABLE Note_Kind = 6 51 // The note and occurrence track the initial discovery status of a resource. 52 Note_DISCOVERY Note_Kind = 7 53 // This represents a logical "role" that can attest to artifacts. 54 Note_ATTESTATION_AUTHORITY Note_Kind = 8 55) 56 57var Note_Kind_name = map[int32]string{ 58 0: "KIND_UNSPECIFIED", 59 2: "PACKAGE_VULNERABILITY", 60 3: "BUILD_DETAILS", 61 4: "IMAGE_BASIS", 62 5: "PACKAGE_MANAGER", 63 6: "DEPLOYABLE", 64 7: "DISCOVERY", 65 8: "ATTESTATION_AUTHORITY", 66} 67 68var Note_Kind_value = map[string]int32{ 69 "KIND_UNSPECIFIED": 0, 70 "PACKAGE_VULNERABILITY": 2, 71 "BUILD_DETAILS": 3, 72 "IMAGE_BASIS": 4, 73 "PACKAGE_MANAGER": 5, 74 "DEPLOYABLE": 6, 75 "DISCOVERY": 7, 76 "ATTESTATION_AUTHORITY": 8, 77} 78 79func (x Note_Kind) String() string { 80 return proto.EnumName(Note_Kind_name, int32(x)) 81} 82 83func (Note_Kind) EnumDescriptor() ([]byte, []int) { 84 return fileDescriptor_5ffce145f2f590bf, []int{2, 0} 85} 86 87// Types of platforms. 88type Deployable_Deployment_Platform int32 89 90const ( 91 // Unknown 92 Deployable_Deployment_PLATFORM_UNSPECIFIED Deployable_Deployment_Platform = 0 93 // Google Container Engine 94 Deployable_Deployment_GKE Deployable_Deployment_Platform = 1 95 // Google App Engine: Flexible Environment 96 Deployable_Deployment_FLEX Deployable_Deployment_Platform = 2 97 // Custom user-defined platform 98 Deployable_Deployment_CUSTOM Deployable_Deployment_Platform = 3 99) 100 101var Deployable_Deployment_Platform_name = map[int32]string{ 102 0: "PLATFORM_UNSPECIFIED", 103 1: "GKE", 104 2: "FLEX", 105 3: "CUSTOM", 106} 107 108var Deployable_Deployment_Platform_value = map[string]int32{ 109 "PLATFORM_UNSPECIFIED": 0, 110 "GKE": 1, 111 "FLEX": 2, 112 "CUSTOM": 3, 113} 114 115func (x Deployable_Deployment_Platform) String() string { 116 return proto.EnumName(Deployable_Deployment_Platform_name, int32(x)) 117} 118 119func (Deployable_Deployment_Platform) EnumDescriptor() ([]byte, []int) { 120 return fileDescriptor_5ffce145f2f590bf, []int{3, 0, 0} 121} 122 123// Analysis status for a resource. 124type Discovery_Discovered_AnalysisStatus int32 125 126const ( 127 // Unknown 128 Discovery_Discovered_ANALYSIS_STATUS_UNSPECIFIED Discovery_Discovered_AnalysisStatus = 0 129 // Resource is known but no action has been taken yet. 130 Discovery_Discovered_PENDING Discovery_Discovered_AnalysisStatus = 1 131 // Resource is being analyzed. 132 Discovery_Discovered_SCANNING Discovery_Discovered_AnalysisStatus = 2 133 // Analysis has finished successfully. 134 Discovery_Discovered_FINISHED_SUCCESS Discovery_Discovered_AnalysisStatus = 3 135 // Analysis has finished unsuccessfully, the analysis itself is in a bad 136 // state. 137 Discovery_Discovered_FINISHED_FAILED Discovery_Discovered_AnalysisStatus = 4 138 // Analysis will not happen, the resource is not supported. 139 Discovery_Discovered_UNSUPPORTED_RESOURCE Discovery_Discovered_AnalysisStatus = 5 140) 141 142var Discovery_Discovered_AnalysisStatus_name = map[int32]string{ 143 0: "ANALYSIS_STATUS_UNSPECIFIED", 144 1: "PENDING", 145 2: "SCANNING", 146 3: "FINISHED_SUCCESS", 147 4: "FINISHED_FAILED", 148 5: "UNSUPPORTED_RESOURCE", 149} 150 151var Discovery_Discovered_AnalysisStatus_value = map[string]int32{ 152 "ANALYSIS_STATUS_UNSPECIFIED": 0, 153 "PENDING": 1, 154 "SCANNING": 2, 155 "FINISHED_SUCCESS": 3, 156 "FINISHED_FAILED": 4, 157 "UNSUPPORTED_RESOURCE": 5, 158} 159 160func (x Discovery_Discovered_AnalysisStatus) String() string { 161 return proto.EnumName(Discovery_Discovered_AnalysisStatus_name, int32(x)) 162} 163 164func (Discovery_Discovered_AnalysisStatus) EnumDescriptor() ([]byte, []int) { 165 return fileDescriptor_5ffce145f2f590bf, []int{4, 0, 0} 166} 167 168// Public key formats 169type BuildSignature_KeyType int32 170 171const ( 172 // `KeyType` is not set. 173 BuildSignature_KEY_TYPE_UNSPECIFIED BuildSignature_KeyType = 0 174 // `PGP ASCII Armored` public key. 175 BuildSignature_PGP_ASCII_ARMORED BuildSignature_KeyType = 1 176 // `PKIX PEM` public key. 177 BuildSignature_PKIX_PEM BuildSignature_KeyType = 2 178) 179 180var BuildSignature_KeyType_name = map[int32]string{ 181 0: "KEY_TYPE_UNSPECIFIED", 182 1: "PGP_ASCII_ARMORED", 183 2: "PKIX_PEM", 184} 185 186var BuildSignature_KeyType_value = map[string]int32{ 187 "KEY_TYPE_UNSPECIFIED": 0, 188 "PGP_ASCII_ARMORED": 1, 189 "PKIX_PEM": 2, 190} 191 192func (x BuildSignature_KeyType) String() string { 193 return proto.EnumName(BuildSignature_KeyType_name, int32(x)) 194} 195 196func (BuildSignature_KeyType) EnumDescriptor() ([]byte, []int) { 197 return fileDescriptor_5ffce145f2f590bf, []int{6, 0} 198} 199 200// Type (for example schema) of the attestation payload that was signed. 201type PgpSignedAttestation_ContentType int32 202 203const ( 204 // `ContentType` is not set. 205 PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED PgpSignedAttestation_ContentType = 0 206 // Atomic format attestation signature. See 207 // https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md 208 // The payload extracted from `signature` is a JSON blob conforming to the 209 // linked schema. 210 PgpSignedAttestation_SIMPLE_SIGNING_JSON PgpSignedAttestation_ContentType = 1 211) 212 213var PgpSignedAttestation_ContentType_name = map[int32]string{ 214 0: "CONTENT_TYPE_UNSPECIFIED", 215 1: "SIMPLE_SIGNING_JSON", 216} 217 218var PgpSignedAttestation_ContentType_value = map[string]int32{ 219 "CONTENT_TYPE_UNSPECIFIED": 0, 220 "SIMPLE_SIGNING_JSON": 1, 221} 222 223func (x PgpSignedAttestation_ContentType) String() string { 224 return proto.EnumName(PgpSignedAttestation_ContentType_name, int32(x)) 225} 226 227func (PgpSignedAttestation_ContentType) EnumDescriptor() ([]byte, []int) { 228 return fileDescriptor_5ffce145f2f590bf, []int{7, 0} 229} 230 231// `Occurrence` includes information about analysis occurrences for an image. 232type Occurrence struct { 233 // Output only. The name of the `Occurrence` in the form 234 // "projects/{project_id}/occurrences/{OCCURRENCE_ID}" 235 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 236 // The unique URL of the image or the container for which the `Occurrence` 237 // applies. For example, https://gcr.io/project/image@sha256:foo This field 238 // can be used as a filter in list requests. 239 ResourceUrl string `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` 240 // The resource for which the `Occurrence` applies. 241 Resource *Resource `protobuf:"bytes,17,opt,name=resource,proto3" json:"resource,omitempty"` 242 // An analysis note associated with this image, in the form 243 // "providers/{provider_id}/notes/{NOTE_ID}" 244 // This field can be used as a filter in list requests. 245 NoteName string `protobuf:"bytes,3,opt,name=note_name,json=noteName,proto3" json:"note_name,omitempty"` 246 // Output only. This explicitly denotes which of the `Occurrence` details are 247 // specified. This field can be used as a filter in list requests. 248 Kind Note_Kind `protobuf:"varint,6,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"` 249 // Describes the details of the vulnerability `Note` found in this resource. 250 // 251 // Types that are valid to be assigned to Details: 252 // *Occurrence_VulnerabilityDetails 253 // *Occurrence_BuildDetails 254 // *Occurrence_DerivedImage 255 // *Occurrence_Installation 256 // *Occurrence_Deployment 257 // *Occurrence_Discovered 258 // *Occurrence_Attestation 259 Details isOccurrence_Details `protobuf_oneof:"details"` 260 // A description of actions that can be taken to remedy the `Note` 261 Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"` 262 // Output only. The time this `Occurrence` was created. 263 CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 264 // Output only. The time this `Occurrence` was last updated. 265 UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 266 XXX_NoUnkeyedLiteral struct{} `json:"-"` 267 XXX_unrecognized []byte `json:"-"` 268 XXX_sizecache int32 `json:"-"` 269} 270 271func (m *Occurrence) Reset() { *m = Occurrence{} } 272func (m *Occurrence) String() string { return proto.CompactTextString(m) } 273func (*Occurrence) ProtoMessage() {} 274func (*Occurrence) Descriptor() ([]byte, []int) { 275 return fileDescriptor_5ffce145f2f590bf, []int{0} 276} 277 278func (m *Occurrence) XXX_Unmarshal(b []byte) error { 279 return xxx_messageInfo_Occurrence.Unmarshal(m, b) 280} 281func (m *Occurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 282 return xxx_messageInfo_Occurrence.Marshal(b, m, deterministic) 283} 284func (m *Occurrence) XXX_Merge(src proto.Message) { 285 xxx_messageInfo_Occurrence.Merge(m, src) 286} 287func (m *Occurrence) XXX_Size() int { 288 return xxx_messageInfo_Occurrence.Size(m) 289} 290func (m *Occurrence) XXX_DiscardUnknown() { 291 xxx_messageInfo_Occurrence.DiscardUnknown(m) 292} 293 294var xxx_messageInfo_Occurrence proto.InternalMessageInfo 295 296func (m *Occurrence) GetName() string { 297 if m != nil { 298 return m.Name 299 } 300 return "" 301} 302 303func (m *Occurrence) GetResourceUrl() string { 304 if m != nil { 305 return m.ResourceUrl 306 } 307 return "" 308} 309 310func (m *Occurrence) GetResource() *Resource { 311 if m != nil { 312 return m.Resource 313 } 314 return nil 315} 316 317func (m *Occurrence) GetNoteName() string { 318 if m != nil { 319 return m.NoteName 320 } 321 return "" 322} 323 324func (m *Occurrence) GetKind() Note_Kind { 325 if m != nil { 326 return m.Kind 327 } 328 return Note_KIND_UNSPECIFIED 329} 330 331type isOccurrence_Details interface { 332 isOccurrence_Details() 333} 334 335type Occurrence_VulnerabilityDetails struct { 336 VulnerabilityDetails *VulnerabilityType_VulnerabilityDetails `protobuf:"bytes,8,opt,name=vulnerability_details,json=vulnerabilityDetails,proto3,oneof"` 337} 338 339type Occurrence_BuildDetails struct { 340 BuildDetails *BuildDetails `protobuf:"bytes,7,opt,name=build_details,json=buildDetails,proto3,oneof"` 341} 342 343type Occurrence_DerivedImage struct { 344 DerivedImage *DockerImage_Derived `protobuf:"bytes,11,opt,name=derived_image,json=derivedImage,proto3,oneof"` 345} 346 347type Occurrence_Installation struct { 348 Installation *PackageManager_Installation `protobuf:"bytes,12,opt,name=installation,proto3,oneof"` 349} 350 351type Occurrence_Deployment struct { 352 Deployment *Deployable_Deployment `protobuf:"bytes,14,opt,name=deployment,proto3,oneof"` 353} 354 355type Occurrence_Discovered struct { 356 Discovered *Discovery_Discovered `protobuf:"bytes,15,opt,name=discovered,proto3,oneof"` 357} 358 359type Occurrence_Attestation struct { 360 Attestation *AttestationAuthority_Attestation `protobuf:"bytes,16,opt,name=attestation,proto3,oneof"` 361} 362 363func (*Occurrence_VulnerabilityDetails) isOccurrence_Details() {} 364 365func (*Occurrence_BuildDetails) isOccurrence_Details() {} 366 367func (*Occurrence_DerivedImage) isOccurrence_Details() {} 368 369func (*Occurrence_Installation) isOccurrence_Details() {} 370 371func (*Occurrence_Deployment) isOccurrence_Details() {} 372 373func (*Occurrence_Discovered) isOccurrence_Details() {} 374 375func (*Occurrence_Attestation) isOccurrence_Details() {} 376 377func (m *Occurrence) GetDetails() isOccurrence_Details { 378 if m != nil { 379 return m.Details 380 } 381 return nil 382} 383 384func (m *Occurrence) GetVulnerabilityDetails() *VulnerabilityType_VulnerabilityDetails { 385 if x, ok := m.GetDetails().(*Occurrence_VulnerabilityDetails); ok { 386 return x.VulnerabilityDetails 387 } 388 return nil 389} 390 391func (m *Occurrence) GetBuildDetails() *BuildDetails { 392 if x, ok := m.GetDetails().(*Occurrence_BuildDetails); ok { 393 return x.BuildDetails 394 } 395 return nil 396} 397 398func (m *Occurrence) GetDerivedImage() *DockerImage_Derived { 399 if x, ok := m.GetDetails().(*Occurrence_DerivedImage); ok { 400 return x.DerivedImage 401 } 402 return nil 403} 404 405func (m *Occurrence) GetInstallation() *PackageManager_Installation { 406 if x, ok := m.GetDetails().(*Occurrence_Installation); ok { 407 return x.Installation 408 } 409 return nil 410} 411 412func (m *Occurrence) GetDeployment() *Deployable_Deployment { 413 if x, ok := m.GetDetails().(*Occurrence_Deployment); ok { 414 return x.Deployment 415 } 416 return nil 417} 418 419func (m *Occurrence) GetDiscovered() *Discovery_Discovered { 420 if x, ok := m.GetDetails().(*Occurrence_Discovered); ok { 421 return x.Discovered 422 } 423 return nil 424} 425 426func (m *Occurrence) GetAttestation() *AttestationAuthority_Attestation { 427 if x, ok := m.GetDetails().(*Occurrence_Attestation); ok { 428 return x.Attestation 429 } 430 return nil 431} 432 433func (m *Occurrence) GetRemediation() string { 434 if m != nil { 435 return m.Remediation 436 } 437 return "" 438} 439 440func (m *Occurrence) GetCreateTime() *timestamp.Timestamp { 441 if m != nil { 442 return m.CreateTime 443 } 444 return nil 445} 446 447func (m *Occurrence) GetUpdateTime() *timestamp.Timestamp { 448 if m != nil { 449 return m.UpdateTime 450 } 451 return nil 452} 453 454// XXX_OneofWrappers is for the internal use of the proto package. 455func (*Occurrence) XXX_OneofWrappers() []interface{} { 456 return []interface{}{ 457 (*Occurrence_VulnerabilityDetails)(nil), 458 (*Occurrence_BuildDetails)(nil), 459 (*Occurrence_DerivedImage)(nil), 460 (*Occurrence_Installation)(nil), 461 (*Occurrence_Deployment)(nil), 462 (*Occurrence_Discovered)(nil), 463 (*Occurrence_Attestation)(nil), 464 } 465} 466 467// Resource is an entity that can have metadata. E.g., a Docker image. 468type Resource struct { 469 // The name of the resource. E.g., the name of a Docker image - "Debian". 470 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 471 // The unique URI of the resource. E.g., 472 // "https://gcr.io/project/image@sha256:foo" for a Docker image. 473 Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` 474 // The hash of the resource content. E.g., the Docker digest. 475 ContentHash *Hash `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` 476 XXX_NoUnkeyedLiteral struct{} `json:"-"` 477 XXX_unrecognized []byte `json:"-"` 478 XXX_sizecache int32 `json:"-"` 479} 480 481func (m *Resource) Reset() { *m = Resource{} } 482func (m *Resource) String() string { return proto.CompactTextString(m) } 483func (*Resource) ProtoMessage() {} 484func (*Resource) Descriptor() ([]byte, []int) { 485 return fileDescriptor_5ffce145f2f590bf, []int{1} 486} 487 488func (m *Resource) XXX_Unmarshal(b []byte) error { 489 return xxx_messageInfo_Resource.Unmarshal(m, b) 490} 491func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 492 return xxx_messageInfo_Resource.Marshal(b, m, deterministic) 493} 494func (m *Resource) XXX_Merge(src proto.Message) { 495 xxx_messageInfo_Resource.Merge(m, src) 496} 497func (m *Resource) XXX_Size() int { 498 return xxx_messageInfo_Resource.Size(m) 499} 500func (m *Resource) XXX_DiscardUnknown() { 501 xxx_messageInfo_Resource.DiscardUnknown(m) 502} 503 504var xxx_messageInfo_Resource proto.InternalMessageInfo 505 506func (m *Resource) GetName() string { 507 if m != nil { 508 return m.Name 509 } 510 return "" 511} 512 513func (m *Resource) GetUri() string { 514 if m != nil { 515 return m.Uri 516 } 517 return "" 518} 519 520func (m *Resource) GetContentHash() *Hash { 521 if m != nil { 522 return m.ContentHash 523 } 524 return nil 525} 526 527// Provides a detailed description of a `Note`. 528type Note struct { 529 // The name of the note in the form 530 // "providers/{provider_id}/notes/{NOTE_ID}" 531 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 532 // A one sentence description of this `Note`. 533 ShortDescription string `protobuf:"bytes,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` 534 // A detailed description of this `Note`. 535 LongDescription string `protobuf:"bytes,4,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` 536 // Output only. This explicitly denotes which kind of note is specified. This 537 // field can be used as a filter in list requests. 538 Kind Note_Kind `protobuf:"varint,9,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"` 539 // The type of note. 540 // 541 // Types that are valid to be assigned to NoteType: 542 // *Note_VulnerabilityType 543 // *Note_BuildType 544 // *Note_BaseImage 545 // *Note_Package 546 // *Note_Deployable 547 // *Note_Discovery 548 // *Note_AttestationAuthority 549 NoteType isNote_NoteType `protobuf_oneof:"note_type"` 550 // URLs associated with this note 551 RelatedUrl []*Note_RelatedUrl `protobuf:"bytes,7,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"` 552 // Time of expiration for this note, null if note does not expire. 553 ExpirationTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` 554 // Output only. The time this note was created. This field can be used as a 555 // filter in list requests. 556 CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 557 // Output only. The time this note was last updated. This field can be used as 558 // a filter in list requests. 559 UpdateTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 560 XXX_NoUnkeyedLiteral struct{} `json:"-"` 561 XXX_unrecognized []byte `json:"-"` 562 XXX_sizecache int32 `json:"-"` 563} 564 565func (m *Note) Reset() { *m = Note{} } 566func (m *Note) String() string { return proto.CompactTextString(m) } 567func (*Note) ProtoMessage() {} 568func (*Note) Descriptor() ([]byte, []int) { 569 return fileDescriptor_5ffce145f2f590bf, []int{2} 570} 571 572func (m *Note) XXX_Unmarshal(b []byte) error { 573 return xxx_messageInfo_Note.Unmarshal(m, b) 574} 575func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 576 return xxx_messageInfo_Note.Marshal(b, m, deterministic) 577} 578func (m *Note) XXX_Merge(src proto.Message) { 579 xxx_messageInfo_Note.Merge(m, src) 580} 581func (m *Note) XXX_Size() int { 582 return xxx_messageInfo_Note.Size(m) 583} 584func (m *Note) XXX_DiscardUnknown() { 585 xxx_messageInfo_Note.DiscardUnknown(m) 586} 587 588var xxx_messageInfo_Note proto.InternalMessageInfo 589 590func (m *Note) GetName() string { 591 if m != nil { 592 return m.Name 593 } 594 return "" 595} 596 597func (m *Note) GetShortDescription() string { 598 if m != nil { 599 return m.ShortDescription 600 } 601 return "" 602} 603 604func (m *Note) GetLongDescription() string { 605 if m != nil { 606 return m.LongDescription 607 } 608 return "" 609} 610 611func (m *Note) GetKind() Note_Kind { 612 if m != nil { 613 return m.Kind 614 } 615 return Note_KIND_UNSPECIFIED 616} 617 618type isNote_NoteType interface { 619 isNote_NoteType() 620} 621 622type Note_VulnerabilityType struct { 623 VulnerabilityType *VulnerabilityType `protobuf:"bytes,6,opt,name=vulnerability_type,json=vulnerabilityType,proto3,oneof"` 624} 625 626type Note_BuildType struct { 627 BuildType *BuildType `protobuf:"bytes,8,opt,name=build_type,json=buildType,proto3,oneof"` 628} 629 630type Note_BaseImage struct { 631 BaseImage *DockerImage_Basis `protobuf:"bytes,13,opt,name=base_image,json=baseImage,proto3,oneof"` 632} 633 634type Note_Package struct { 635 Package *PackageManager_Package `protobuf:"bytes,14,opt,name=package,proto3,oneof"` 636} 637 638type Note_Deployable struct { 639 Deployable *Deployable `protobuf:"bytes,17,opt,name=deployable,proto3,oneof"` 640} 641 642type Note_Discovery struct { 643 Discovery *Discovery `protobuf:"bytes,18,opt,name=discovery,proto3,oneof"` 644} 645 646type Note_AttestationAuthority struct { 647 AttestationAuthority *AttestationAuthority `protobuf:"bytes,19,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"` 648} 649 650func (*Note_VulnerabilityType) isNote_NoteType() {} 651 652func (*Note_BuildType) isNote_NoteType() {} 653 654func (*Note_BaseImage) isNote_NoteType() {} 655 656func (*Note_Package) isNote_NoteType() {} 657 658func (*Note_Deployable) isNote_NoteType() {} 659 660func (*Note_Discovery) isNote_NoteType() {} 661 662func (*Note_AttestationAuthority) isNote_NoteType() {} 663 664func (m *Note) GetNoteType() isNote_NoteType { 665 if m != nil { 666 return m.NoteType 667 } 668 return nil 669} 670 671func (m *Note) GetVulnerabilityType() *VulnerabilityType { 672 if x, ok := m.GetNoteType().(*Note_VulnerabilityType); ok { 673 return x.VulnerabilityType 674 } 675 return nil 676} 677 678func (m *Note) GetBuildType() *BuildType { 679 if x, ok := m.GetNoteType().(*Note_BuildType); ok { 680 return x.BuildType 681 } 682 return nil 683} 684 685func (m *Note) GetBaseImage() *DockerImage_Basis { 686 if x, ok := m.GetNoteType().(*Note_BaseImage); ok { 687 return x.BaseImage 688 } 689 return nil 690} 691 692func (m *Note) GetPackage() *PackageManager_Package { 693 if x, ok := m.GetNoteType().(*Note_Package); ok { 694 return x.Package 695 } 696 return nil 697} 698 699func (m *Note) GetDeployable() *Deployable { 700 if x, ok := m.GetNoteType().(*Note_Deployable); ok { 701 return x.Deployable 702 } 703 return nil 704} 705 706func (m *Note) GetDiscovery() *Discovery { 707 if x, ok := m.GetNoteType().(*Note_Discovery); ok { 708 return x.Discovery 709 } 710 return nil 711} 712 713func (m *Note) GetAttestationAuthority() *AttestationAuthority { 714 if x, ok := m.GetNoteType().(*Note_AttestationAuthority); ok { 715 return x.AttestationAuthority 716 } 717 return nil 718} 719 720func (m *Note) GetRelatedUrl() []*Note_RelatedUrl { 721 if m != nil { 722 return m.RelatedUrl 723 } 724 return nil 725} 726 727func (m *Note) GetExpirationTime() *timestamp.Timestamp { 728 if m != nil { 729 return m.ExpirationTime 730 } 731 return nil 732} 733 734func (m *Note) GetCreateTime() *timestamp.Timestamp { 735 if m != nil { 736 return m.CreateTime 737 } 738 return nil 739} 740 741func (m *Note) GetUpdateTime() *timestamp.Timestamp { 742 if m != nil { 743 return m.UpdateTime 744 } 745 return nil 746} 747 748// XXX_OneofWrappers is for the internal use of the proto package. 749func (*Note) XXX_OneofWrappers() []interface{} { 750 return []interface{}{ 751 (*Note_VulnerabilityType)(nil), 752 (*Note_BuildType)(nil), 753 (*Note_BaseImage)(nil), 754 (*Note_Package)(nil), 755 (*Note_Deployable)(nil), 756 (*Note_Discovery)(nil), 757 (*Note_AttestationAuthority)(nil), 758 } 759} 760 761// Metadata for any related URL information 762type Note_RelatedUrl struct { 763 // Specific URL to associate with the note 764 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` 765 // Label to describe usage of the URL 766 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` 767 XXX_NoUnkeyedLiteral struct{} `json:"-"` 768 XXX_unrecognized []byte `json:"-"` 769 XXX_sizecache int32 `json:"-"` 770} 771 772func (m *Note_RelatedUrl) Reset() { *m = Note_RelatedUrl{} } 773func (m *Note_RelatedUrl) String() string { return proto.CompactTextString(m) } 774func (*Note_RelatedUrl) ProtoMessage() {} 775func (*Note_RelatedUrl) Descriptor() ([]byte, []int) { 776 return fileDescriptor_5ffce145f2f590bf, []int{2, 0} 777} 778 779func (m *Note_RelatedUrl) XXX_Unmarshal(b []byte) error { 780 return xxx_messageInfo_Note_RelatedUrl.Unmarshal(m, b) 781} 782func (m *Note_RelatedUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 783 return xxx_messageInfo_Note_RelatedUrl.Marshal(b, m, deterministic) 784} 785func (m *Note_RelatedUrl) XXX_Merge(src proto.Message) { 786 xxx_messageInfo_Note_RelatedUrl.Merge(m, src) 787} 788func (m *Note_RelatedUrl) XXX_Size() int { 789 return xxx_messageInfo_Note_RelatedUrl.Size(m) 790} 791func (m *Note_RelatedUrl) XXX_DiscardUnknown() { 792 xxx_messageInfo_Note_RelatedUrl.DiscardUnknown(m) 793} 794 795var xxx_messageInfo_Note_RelatedUrl proto.InternalMessageInfo 796 797func (m *Note_RelatedUrl) GetUrl() string { 798 if m != nil { 799 return m.Url 800 } 801 return "" 802} 803 804func (m *Note_RelatedUrl) GetLabel() string { 805 if m != nil { 806 return m.Label 807 } 808 return "" 809} 810 811// An artifact that can be deployed in some runtime. 812type Deployable struct { 813 // Resource URI for the artifact being deployed. 814 ResourceUri []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` 815 XXX_NoUnkeyedLiteral struct{} `json:"-"` 816 XXX_unrecognized []byte `json:"-"` 817 XXX_sizecache int32 `json:"-"` 818} 819 820func (m *Deployable) Reset() { *m = Deployable{} } 821func (m *Deployable) String() string { return proto.CompactTextString(m) } 822func (*Deployable) ProtoMessage() {} 823func (*Deployable) Descriptor() ([]byte, []int) { 824 return fileDescriptor_5ffce145f2f590bf, []int{3} 825} 826 827func (m *Deployable) XXX_Unmarshal(b []byte) error { 828 return xxx_messageInfo_Deployable.Unmarshal(m, b) 829} 830func (m *Deployable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 831 return xxx_messageInfo_Deployable.Marshal(b, m, deterministic) 832} 833func (m *Deployable) XXX_Merge(src proto.Message) { 834 xxx_messageInfo_Deployable.Merge(m, src) 835} 836func (m *Deployable) XXX_Size() int { 837 return xxx_messageInfo_Deployable.Size(m) 838} 839func (m *Deployable) XXX_DiscardUnknown() { 840 xxx_messageInfo_Deployable.DiscardUnknown(m) 841} 842 843var xxx_messageInfo_Deployable proto.InternalMessageInfo 844 845func (m *Deployable) GetResourceUri() []string { 846 if m != nil { 847 return m.ResourceUri 848 } 849 return nil 850} 851 852// The period during which some deployable was active in a runtime. 853type Deployable_Deployment struct { 854 // Identity of the user that triggered this deployment. 855 UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` 856 // Beginning of the lifetime of this deployment. 857 DeployTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"` 858 // End of the lifetime of this deployment. 859 UndeployTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=undeploy_time,json=undeployTime,proto3" json:"undeploy_time,omitempty"` 860 // Configuration used to create this deployment. 861 Config string `protobuf:"bytes,8,opt,name=config,proto3" json:"config,omitempty"` 862 // Address of the runtime element hosting this deployment. 863 Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` 864 // Output only. Resource URI for the artifact being deployed taken from the 865 // deployable field with the same name. 866 ResourceUri []string `protobuf:"bytes,6,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` 867 // Platform hosting this deployment. 868 Platform Deployable_Deployment_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=google.devtools.containeranalysis.v1alpha1.Deployable_Deployment_Platform" json:"platform,omitempty"` 869 XXX_NoUnkeyedLiteral struct{} `json:"-"` 870 XXX_unrecognized []byte `json:"-"` 871 XXX_sizecache int32 `json:"-"` 872} 873 874func (m *Deployable_Deployment) Reset() { *m = Deployable_Deployment{} } 875func (m *Deployable_Deployment) String() string { return proto.CompactTextString(m) } 876func (*Deployable_Deployment) ProtoMessage() {} 877func (*Deployable_Deployment) Descriptor() ([]byte, []int) { 878 return fileDescriptor_5ffce145f2f590bf, []int{3, 0} 879} 880 881func (m *Deployable_Deployment) XXX_Unmarshal(b []byte) error { 882 return xxx_messageInfo_Deployable_Deployment.Unmarshal(m, b) 883} 884func (m *Deployable_Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 885 return xxx_messageInfo_Deployable_Deployment.Marshal(b, m, deterministic) 886} 887func (m *Deployable_Deployment) XXX_Merge(src proto.Message) { 888 xxx_messageInfo_Deployable_Deployment.Merge(m, src) 889} 890func (m *Deployable_Deployment) XXX_Size() int { 891 return xxx_messageInfo_Deployable_Deployment.Size(m) 892} 893func (m *Deployable_Deployment) XXX_DiscardUnknown() { 894 xxx_messageInfo_Deployable_Deployment.DiscardUnknown(m) 895} 896 897var xxx_messageInfo_Deployable_Deployment proto.InternalMessageInfo 898 899func (m *Deployable_Deployment) GetUserEmail() string { 900 if m != nil { 901 return m.UserEmail 902 } 903 return "" 904} 905 906func (m *Deployable_Deployment) GetDeployTime() *timestamp.Timestamp { 907 if m != nil { 908 return m.DeployTime 909 } 910 return nil 911} 912 913func (m *Deployable_Deployment) GetUndeployTime() *timestamp.Timestamp { 914 if m != nil { 915 return m.UndeployTime 916 } 917 return nil 918} 919 920func (m *Deployable_Deployment) GetConfig() string { 921 if m != nil { 922 return m.Config 923 } 924 return "" 925} 926 927func (m *Deployable_Deployment) GetAddress() string { 928 if m != nil { 929 return m.Address 930 } 931 return "" 932} 933 934func (m *Deployable_Deployment) GetResourceUri() []string { 935 if m != nil { 936 return m.ResourceUri 937 } 938 return nil 939} 940 941func (m *Deployable_Deployment) GetPlatform() Deployable_Deployment_Platform { 942 if m != nil { 943 return m.Platform 944 } 945 return Deployable_Deployment_PLATFORM_UNSPECIFIED 946} 947 948// A note that indicates a type of analysis a provider would perform. This note 949// exists in a provider's project. A `Discovery` occurrence is created in a 950// consumer's project at the start of analysis. The occurrence's operation will 951// indicate the status of the analysis. Absence of an occurrence linked to this 952// note for a resource indicates that analysis hasn't started. 953type Discovery struct { 954 // The kind of analysis that is handled by this discovery. 955 AnalysisKind Note_Kind `protobuf:"varint,1,opt,name=analysis_kind,json=analysisKind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"analysis_kind,omitempty"` 956 XXX_NoUnkeyedLiteral struct{} `json:"-"` 957 XXX_unrecognized []byte `json:"-"` 958 XXX_sizecache int32 `json:"-"` 959} 960 961func (m *Discovery) Reset() { *m = Discovery{} } 962func (m *Discovery) String() string { return proto.CompactTextString(m) } 963func (*Discovery) ProtoMessage() {} 964func (*Discovery) Descriptor() ([]byte, []int) { 965 return fileDescriptor_5ffce145f2f590bf, []int{4} 966} 967 968func (m *Discovery) XXX_Unmarshal(b []byte) error { 969 return xxx_messageInfo_Discovery.Unmarshal(m, b) 970} 971func (m *Discovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 972 return xxx_messageInfo_Discovery.Marshal(b, m, deterministic) 973} 974func (m *Discovery) XXX_Merge(src proto.Message) { 975 xxx_messageInfo_Discovery.Merge(m, src) 976} 977func (m *Discovery) XXX_Size() int { 978 return xxx_messageInfo_Discovery.Size(m) 979} 980func (m *Discovery) XXX_DiscardUnknown() { 981 xxx_messageInfo_Discovery.DiscardUnknown(m) 982} 983 984var xxx_messageInfo_Discovery proto.InternalMessageInfo 985 986func (m *Discovery) GetAnalysisKind() Note_Kind { 987 if m != nil { 988 return m.AnalysisKind 989 } 990 return Note_KIND_UNSPECIFIED 991} 992 993// Provides information about the scan status of a discovered resource. 994type Discovery_Discovered struct { 995 // Output only. An operation that indicates the status of the current scan. 996 Operation *longrunning.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` 997 // The status of discovery for the resource. 998 AnalysisStatus Discovery_Discovered_AnalysisStatus `protobuf:"varint,5,opt,name=analysis_status,json=analysisStatus,proto3,enum=google.devtools.containeranalysis.v1alpha1.Discovery_Discovered_AnalysisStatus" json:"analysis_status,omitempty"` 999 // When an error is encountered this will contain a LocalizedMessage under 1000 // details to show to the user. The LocalizedMessage output only and 1001 // populated by the API. 1002 AnalysisStatusError *status.Status `protobuf:"bytes,6,opt,name=analysis_status_error,json=analysisStatusError,proto3" json:"analysis_status_error,omitempty"` 1003 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1004 XXX_unrecognized []byte `json:"-"` 1005 XXX_sizecache int32 `json:"-"` 1006} 1007 1008func (m *Discovery_Discovered) Reset() { *m = Discovery_Discovered{} } 1009func (m *Discovery_Discovered) String() string { return proto.CompactTextString(m) } 1010func (*Discovery_Discovered) ProtoMessage() {} 1011func (*Discovery_Discovered) Descriptor() ([]byte, []int) { 1012 return fileDescriptor_5ffce145f2f590bf, []int{4, 0} 1013} 1014 1015func (m *Discovery_Discovered) XXX_Unmarshal(b []byte) error { 1016 return xxx_messageInfo_Discovery_Discovered.Unmarshal(m, b) 1017} 1018func (m *Discovery_Discovered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1019 return xxx_messageInfo_Discovery_Discovered.Marshal(b, m, deterministic) 1020} 1021func (m *Discovery_Discovered) XXX_Merge(src proto.Message) { 1022 xxx_messageInfo_Discovery_Discovered.Merge(m, src) 1023} 1024func (m *Discovery_Discovered) XXX_Size() int { 1025 return xxx_messageInfo_Discovery_Discovered.Size(m) 1026} 1027func (m *Discovery_Discovered) XXX_DiscardUnknown() { 1028 xxx_messageInfo_Discovery_Discovered.DiscardUnknown(m) 1029} 1030 1031var xxx_messageInfo_Discovery_Discovered proto.InternalMessageInfo 1032 1033func (m *Discovery_Discovered) GetOperation() *longrunning.Operation { 1034 if m != nil { 1035 return m.Operation 1036 } 1037 return nil 1038} 1039 1040func (m *Discovery_Discovered) GetAnalysisStatus() Discovery_Discovered_AnalysisStatus { 1041 if m != nil { 1042 return m.AnalysisStatus 1043 } 1044 return Discovery_Discovered_ANALYSIS_STATUS_UNSPECIFIED 1045} 1046 1047func (m *Discovery_Discovered) GetAnalysisStatusError() *status.Status { 1048 if m != nil { 1049 return m.AnalysisStatusError 1050 } 1051 return nil 1052} 1053 1054// Note holding the version of the provider's builder and the signature of 1055// the provenance message in linked BuildDetails. 1056type BuildType struct { 1057 // Version of the builder which produced this Note. 1058 BuilderVersion string `protobuf:"bytes,1,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"` 1059 // Signature of the build in Occurrences pointing to the Note containing this 1060 // `BuilderDetails`. 1061 Signature *BuildSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` 1062 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1063 XXX_unrecognized []byte `json:"-"` 1064 XXX_sizecache int32 `json:"-"` 1065} 1066 1067func (m *BuildType) Reset() { *m = BuildType{} } 1068func (m *BuildType) String() string { return proto.CompactTextString(m) } 1069func (*BuildType) ProtoMessage() {} 1070func (*BuildType) Descriptor() ([]byte, []int) { 1071 return fileDescriptor_5ffce145f2f590bf, []int{5} 1072} 1073 1074func (m *BuildType) XXX_Unmarshal(b []byte) error { 1075 return xxx_messageInfo_BuildType.Unmarshal(m, b) 1076} 1077func (m *BuildType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1078 return xxx_messageInfo_BuildType.Marshal(b, m, deterministic) 1079} 1080func (m *BuildType) XXX_Merge(src proto.Message) { 1081 xxx_messageInfo_BuildType.Merge(m, src) 1082} 1083func (m *BuildType) XXX_Size() int { 1084 return xxx_messageInfo_BuildType.Size(m) 1085} 1086func (m *BuildType) XXX_DiscardUnknown() { 1087 xxx_messageInfo_BuildType.DiscardUnknown(m) 1088} 1089 1090var xxx_messageInfo_BuildType proto.InternalMessageInfo 1091 1092func (m *BuildType) GetBuilderVersion() string { 1093 if m != nil { 1094 return m.BuilderVersion 1095 } 1096 return "" 1097} 1098 1099func (m *BuildType) GetSignature() *BuildSignature { 1100 if m != nil { 1101 return m.Signature 1102 } 1103 return nil 1104} 1105 1106// Message encapsulating the signature of the verified build. 1107type BuildSignature struct { 1108 // Public key of the builder which can be used to verify that the related 1109 // findings are valid and unchanged. If `key_type` is empty, this defaults 1110 // to PEM encoded public keys. 1111 // 1112 // This field may be empty if `key_id` references an external key. 1113 // 1114 // For Cloud Build based signatures, this is a PEM encoded public 1115 // key. To verify the Cloud Build signature, place the contents of 1116 // this field into a file (public.pem). The signature field is base64-decoded 1117 // into its binary representation in signature.bin, and the provenance bytes 1118 // from `BuildDetails` are base64-decoded into a binary representation in 1119 // signed.bin. OpenSSL can then verify the signature: 1120 // `openssl sha256 -verify public.pem -signature signature.bin signed.bin` 1121 PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` 1122 // Signature of the related `BuildProvenance`, encoded in a base64 string. 1123 Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` 1124 // An Id for the key used to sign. This could be either an Id for the key 1125 // stored in `public_key` (such as the Id or fingerprint for a PGP key, or the 1126 // CN for a cert), or a reference to an external key (such as a reference to a 1127 // key in Cloud Key Management Service). 1128 KeyId string `protobuf:"bytes,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` 1129 // The type of the key, either stored in `public_key` or referenced in 1130 // `key_id` 1131 KeyType BuildSignature_KeyType `protobuf:"varint,4,opt,name=key_type,json=keyType,proto3,enum=google.devtools.containeranalysis.v1alpha1.BuildSignature_KeyType" json:"key_type,omitempty"` 1132 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1133 XXX_unrecognized []byte `json:"-"` 1134 XXX_sizecache int32 `json:"-"` 1135} 1136 1137func (m *BuildSignature) Reset() { *m = BuildSignature{} } 1138func (m *BuildSignature) String() string { return proto.CompactTextString(m) } 1139func (*BuildSignature) ProtoMessage() {} 1140func (*BuildSignature) Descriptor() ([]byte, []int) { 1141 return fileDescriptor_5ffce145f2f590bf, []int{6} 1142} 1143 1144func (m *BuildSignature) XXX_Unmarshal(b []byte) error { 1145 return xxx_messageInfo_BuildSignature.Unmarshal(m, b) 1146} 1147func (m *BuildSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1148 return xxx_messageInfo_BuildSignature.Marshal(b, m, deterministic) 1149} 1150func (m *BuildSignature) XXX_Merge(src proto.Message) { 1151 xxx_messageInfo_BuildSignature.Merge(m, src) 1152} 1153func (m *BuildSignature) XXX_Size() int { 1154 return xxx_messageInfo_BuildSignature.Size(m) 1155} 1156func (m *BuildSignature) XXX_DiscardUnknown() { 1157 xxx_messageInfo_BuildSignature.DiscardUnknown(m) 1158} 1159 1160var xxx_messageInfo_BuildSignature proto.InternalMessageInfo 1161 1162func (m *BuildSignature) GetPublicKey() string { 1163 if m != nil { 1164 return m.PublicKey 1165 } 1166 return "" 1167} 1168 1169func (m *BuildSignature) GetSignature() string { 1170 if m != nil { 1171 return m.Signature 1172 } 1173 return "" 1174} 1175 1176func (m *BuildSignature) GetKeyId() string { 1177 if m != nil { 1178 return m.KeyId 1179 } 1180 return "" 1181} 1182 1183func (m *BuildSignature) GetKeyType() BuildSignature_KeyType { 1184 if m != nil { 1185 return m.KeyType 1186 } 1187 return BuildSignature_KEY_TYPE_UNSPECIFIED 1188} 1189 1190// An attestation wrapper with a PGP-compatible signature. 1191// This message only supports `ATTACHED` signatures, where the payload that is 1192// signed is included alongside the signature itself in the same file. 1193type PgpSignedAttestation struct { 1194 // The raw content of the signature, as output by GNU Privacy Guard (GPG) or 1195 // equivalent. Since this message only supports attached signatures, the 1196 // payload that was signed must be attached. While the signature format 1197 // supported is dependent on the verification implementation, currently only 1198 // ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than 1199 // `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor 1200 // --output=signature.gpg payload.json` will create the signature content 1201 // expected in this field in `signature.gpg` for the `payload.json` 1202 // attestation payload. 1203 Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` 1204 // Type (for example schema) of the attestation payload that was signed. 1205 // The verifier must ensure that the provided type is one that the verifier 1206 // supports, and that the attestation payload is a valid instantiation of that 1207 // type (for example by validating a JSON schema). 1208 ContentType PgpSignedAttestation_ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=google.devtools.containeranalysis.v1alpha1.PgpSignedAttestation_ContentType" json:"content_type,omitempty"` 1209 // This field is used by verifiers to select the public key used to validate 1210 // the signature. Note that the policy of the verifier ultimately determines 1211 // which public keys verify a signature based on the context of the 1212 // verification. There is no guarantee validation will succeed if the 1213 // verifier has no key matching this ID, even if it has a key under a 1214 // different ID that would verify the signature. Note that this ID should also 1215 // be present in the signature content above, but that is not expected to be 1216 // used by the verifier. 1217 // 1218 // Types that are valid to be assigned to KeyId: 1219 // *PgpSignedAttestation_PgpKeyId 1220 KeyId isPgpSignedAttestation_KeyId `protobuf_oneof:"key_id"` 1221 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1222 XXX_unrecognized []byte `json:"-"` 1223 XXX_sizecache int32 `json:"-"` 1224} 1225 1226func (m *PgpSignedAttestation) Reset() { *m = PgpSignedAttestation{} } 1227func (m *PgpSignedAttestation) String() string { return proto.CompactTextString(m) } 1228func (*PgpSignedAttestation) ProtoMessage() {} 1229func (*PgpSignedAttestation) Descriptor() ([]byte, []int) { 1230 return fileDescriptor_5ffce145f2f590bf, []int{7} 1231} 1232 1233func (m *PgpSignedAttestation) XXX_Unmarshal(b []byte) error { 1234 return xxx_messageInfo_PgpSignedAttestation.Unmarshal(m, b) 1235} 1236func (m *PgpSignedAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1237 return xxx_messageInfo_PgpSignedAttestation.Marshal(b, m, deterministic) 1238} 1239func (m *PgpSignedAttestation) XXX_Merge(src proto.Message) { 1240 xxx_messageInfo_PgpSignedAttestation.Merge(m, src) 1241} 1242func (m *PgpSignedAttestation) XXX_Size() int { 1243 return xxx_messageInfo_PgpSignedAttestation.Size(m) 1244} 1245func (m *PgpSignedAttestation) XXX_DiscardUnknown() { 1246 xxx_messageInfo_PgpSignedAttestation.DiscardUnknown(m) 1247} 1248 1249var xxx_messageInfo_PgpSignedAttestation proto.InternalMessageInfo 1250 1251func (m *PgpSignedAttestation) GetSignature() string { 1252 if m != nil { 1253 return m.Signature 1254 } 1255 return "" 1256} 1257 1258func (m *PgpSignedAttestation) GetContentType() PgpSignedAttestation_ContentType { 1259 if m != nil { 1260 return m.ContentType 1261 } 1262 return PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED 1263} 1264 1265type isPgpSignedAttestation_KeyId interface { 1266 isPgpSignedAttestation_KeyId() 1267} 1268 1269type PgpSignedAttestation_PgpKeyId struct { 1270 PgpKeyId string `protobuf:"bytes,2,opt,name=pgp_key_id,json=pgpKeyId,proto3,oneof"` 1271} 1272 1273func (*PgpSignedAttestation_PgpKeyId) isPgpSignedAttestation_KeyId() {} 1274 1275func (m *PgpSignedAttestation) GetKeyId() isPgpSignedAttestation_KeyId { 1276 if m != nil { 1277 return m.KeyId 1278 } 1279 return nil 1280} 1281 1282func (m *PgpSignedAttestation) GetPgpKeyId() string { 1283 if x, ok := m.GetKeyId().(*PgpSignedAttestation_PgpKeyId); ok { 1284 return x.PgpKeyId 1285 } 1286 return "" 1287} 1288 1289// XXX_OneofWrappers is for the internal use of the proto package. 1290func (*PgpSignedAttestation) XXX_OneofWrappers() []interface{} { 1291 return []interface{}{ 1292 (*PgpSignedAttestation_PgpKeyId)(nil), 1293 } 1294} 1295 1296// Note kind that represents a logical attestation "role" or "authority". For 1297// example, an organization might have one `AttestationAuthority` for "QA" and 1298// one for "build". This Note is intended to act strictly as a grouping 1299// mechanism for the attached Occurrences (Attestations). This grouping 1300// mechanism also provides a security boundary, since IAM ACLs gate the ability 1301// for a principle to attach an Occurrence to a given Note. It also provides a 1302// single point of lookup to find all attached Attestation Occurrences, even if 1303// they don't all live in the same project. 1304type AttestationAuthority struct { 1305 Hint *AttestationAuthority_AttestationAuthorityHint `protobuf:"bytes,1,opt,name=hint,proto3" json:"hint,omitempty"` 1306 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1307 XXX_unrecognized []byte `json:"-"` 1308 XXX_sizecache int32 `json:"-"` 1309} 1310 1311func (m *AttestationAuthority) Reset() { *m = AttestationAuthority{} } 1312func (m *AttestationAuthority) String() string { return proto.CompactTextString(m) } 1313func (*AttestationAuthority) ProtoMessage() {} 1314func (*AttestationAuthority) Descriptor() ([]byte, []int) { 1315 return fileDescriptor_5ffce145f2f590bf, []int{8} 1316} 1317 1318func (m *AttestationAuthority) XXX_Unmarshal(b []byte) error { 1319 return xxx_messageInfo_AttestationAuthority.Unmarshal(m, b) 1320} 1321func (m *AttestationAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1322 return xxx_messageInfo_AttestationAuthority.Marshal(b, m, deterministic) 1323} 1324func (m *AttestationAuthority) XXX_Merge(src proto.Message) { 1325 xxx_messageInfo_AttestationAuthority.Merge(m, src) 1326} 1327func (m *AttestationAuthority) XXX_Size() int { 1328 return xxx_messageInfo_AttestationAuthority.Size(m) 1329} 1330func (m *AttestationAuthority) XXX_DiscardUnknown() { 1331 xxx_messageInfo_AttestationAuthority.DiscardUnknown(m) 1332} 1333 1334var xxx_messageInfo_AttestationAuthority proto.InternalMessageInfo 1335 1336func (m *AttestationAuthority) GetHint() *AttestationAuthority_AttestationAuthorityHint { 1337 if m != nil { 1338 return m.Hint 1339 } 1340 return nil 1341} 1342 1343// This submessage provides human-readable hints about the purpose of the 1344// AttestationAuthority. Because the name of a Note acts as its resource 1345// reference, it is important to disambiguate the canonical name of the Note 1346// (which might be a UUID for security purposes) from "readable" names more 1347// suitable for debug output. Note that these hints should NOT be used to 1348// look up AttestationAuthorities in security sensitive contexts, such as when 1349// looking up Attestations to verify. 1350type AttestationAuthority_AttestationAuthorityHint struct { 1351 // The human readable name of this Attestation Authority, for example "qa". 1352 HumanReadableName string `protobuf:"bytes,1,opt,name=human_readable_name,json=humanReadableName,proto3" json:"human_readable_name,omitempty"` 1353 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1354 XXX_unrecognized []byte `json:"-"` 1355 XXX_sizecache int32 `json:"-"` 1356} 1357 1358func (m *AttestationAuthority_AttestationAuthorityHint) Reset() { 1359 *m = AttestationAuthority_AttestationAuthorityHint{} 1360} 1361func (m *AttestationAuthority_AttestationAuthorityHint) String() string { 1362 return proto.CompactTextString(m) 1363} 1364func (*AttestationAuthority_AttestationAuthorityHint) ProtoMessage() {} 1365func (*AttestationAuthority_AttestationAuthorityHint) Descriptor() ([]byte, []int) { 1366 return fileDescriptor_5ffce145f2f590bf, []int{8, 0} 1367} 1368 1369func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Unmarshal(b []byte) error { 1370 return xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Unmarshal(m, b) 1371} 1372func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1373 return xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Marshal(b, m, deterministic) 1374} 1375func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Merge(src proto.Message) { 1376 xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Merge(m, src) 1377} 1378func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Size() int { 1379 return xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Size(m) 1380} 1381func (m *AttestationAuthority_AttestationAuthorityHint) XXX_DiscardUnknown() { 1382 xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.DiscardUnknown(m) 1383} 1384 1385var xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint proto.InternalMessageInfo 1386 1387func (m *AttestationAuthority_AttestationAuthorityHint) GetHumanReadableName() string { 1388 if m != nil { 1389 return m.HumanReadableName 1390 } 1391 return "" 1392} 1393 1394// Occurrence that represents a single "attestation". The authenticity of an 1395// Attestation can be verified using the attached signature. If the verifier 1396// trusts the public key of the signer, then verifying the signature is 1397// sufficient to establish trust. In this circumstance, the 1398// AttestationAuthority to which this Attestation is attached is primarily 1399// useful for look-up (how to find this Attestation if you already know the 1400// Authority and artifact to be verified) and intent (which authority was this 1401// attestation intended to sign for). 1402type AttestationAuthority_Attestation struct { 1403 // The signature, generally over the `resource_url`, that verifies this 1404 // attestation. The semantics of the signature veracity are ultimately 1405 // determined by the verification engine. 1406 // 1407 // Types that are valid to be assigned to Signature: 1408 // *AttestationAuthority_Attestation_PgpSignedAttestation 1409 Signature isAttestationAuthority_Attestation_Signature `protobuf_oneof:"signature"` 1410 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1411 XXX_unrecognized []byte `json:"-"` 1412 XXX_sizecache int32 `json:"-"` 1413} 1414 1415func (m *AttestationAuthority_Attestation) Reset() { *m = AttestationAuthority_Attestation{} } 1416func (m *AttestationAuthority_Attestation) String() string { return proto.CompactTextString(m) } 1417func (*AttestationAuthority_Attestation) ProtoMessage() {} 1418func (*AttestationAuthority_Attestation) Descriptor() ([]byte, []int) { 1419 return fileDescriptor_5ffce145f2f590bf, []int{8, 1} 1420} 1421 1422func (m *AttestationAuthority_Attestation) XXX_Unmarshal(b []byte) error { 1423 return xxx_messageInfo_AttestationAuthority_Attestation.Unmarshal(m, b) 1424} 1425func (m *AttestationAuthority_Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1426 return xxx_messageInfo_AttestationAuthority_Attestation.Marshal(b, m, deterministic) 1427} 1428func (m *AttestationAuthority_Attestation) XXX_Merge(src proto.Message) { 1429 xxx_messageInfo_AttestationAuthority_Attestation.Merge(m, src) 1430} 1431func (m *AttestationAuthority_Attestation) XXX_Size() int { 1432 return xxx_messageInfo_AttestationAuthority_Attestation.Size(m) 1433} 1434func (m *AttestationAuthority_Attestation) XXX_DiscardUnknown() { 1435 xxx_messageInfo_AttestationAuthority_Attestation.DiscardUnknown(m) 1436} 1437 1438var xxx_messageInfo_AttestationAuthority_Attestation proto.InternalMessageInfo 1439 1440type isAttestationAuthority_Attestation_Signature interface { 1441 isAttestationAuthority_Attestation_Signature() 1442} 1443 1444type AttestationAuthority_Attestation_PgpSignedAttestation struct { 1445 PgpSignedAttestation *PgpSignedAttestation `protobuf:"bytes,1,opt,name=pgp_signed_attestation,json=pgpSignedAttestation,proto3,oneof"` 1446} 1447 1448func (*AttestationAuthority_Attestation_PgpSignedAttestation) isAttestationAuthority_Attestation_Signature() { 1449} 1450 1451func (m *AttestationAuthority_Attestation) GetSignature() isAttestationAuthority_Attestation_Signature { 1452 if m != nil { 1453 return m.Signature 1454 } 1455 return nil 1456} 1457 1458func (m *AttestationAuthority_Attestation) GetPgpSignedAttestation() *PgpSignedAttestation { 1459 if x, ok := m.GetSignature().(*AttestationAuthority_Attestation_PgpSignedAttestation); ok { 1460 return x.PgpSignedAttestation 1461 } 1462 return nil 1463} 1464 1465// XXX_OneofWrappers is for the internal use of the proto package. 1466func (*AttestationAuthority_Attestation) XXX_OneofWrappers() []interface{} { 1467 return []interface{}{ 1468 (*AttestationAuthority_Attestation_PgpSignedAttestation)(nil), 1469 } 1470} 1471 1472// Message encapsulating build provenance details. 1473type BuildDetails struct { 1474 // The actual provenance 1475 Provenance *BuildProvenance `protobuf:"bytes,1,opt,name=provenance,proto3" json:"provenance,omitempty"` 1476 // Serialized JSON representation of the provenance, used in generating the 1477 // `BuildSignature` in the corresponding Result. After verifying the 1478 // signature, `provenance_bytes` can be unmarshalled and compared to the 1479 // provenance to confirm that it is unchanged. A base64-encoded string 1480 // representation of the provenance bytes is used for the signature in order 1481 // to interoperate with openssl which expects this format for signature 1482 // verification. 1483 // 1484 // The serialized form is captured both to avoid ambiguity in how the 1485 // provenance is marshalled to json as well to prevent incompatibilities with 1486 // future changes. 1487 ProvenanceBytes string `protobuf:"bytes,2,opt,name=provenance_bytes,json=provenanceBytes,proto3" json:"provenance_bytes,omitempty"` 1488 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1489 XXX_unrecognized []byte `json:"-"` 1490 XXX_sizecache int32 `json:"-"` 1491} 1492 1493func (m *BuildDetails) Reset() { *m = BuildDetails{} } 1494func (m *BuildDetails) String() string { return proto.CompactTextString(m) } 1495func (*BuildDetails) ProtoMessage() {} 1496func (*BuildDetails) Descriptor() ([]byte, []int) { 1497 return fileDescriptor_5ffce145f2f590bf, []int{9} 1498} 1499 1500func (m *BuildDetails) XXX_Unmarshal(b []byte) error { 1501 return xxx_messageInfo_BuildDetails.Unmarshal(m, b) 1502} 1503func (m *BuildDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1504 return xxx_messageInfo_BuildDetails.Marshal(b, m, deterministic) 1505} 1506func (m *BuildDetails) XXX_Merge(src proto.Message) { 1507 xxx_messageInfo_BuildDetails.Merge(m, src) 1508} 1509func (m *BuildDetails) XXX_Size() int { 1510 return xxx_messageInfo_BuildDetails.Size(m) 1511} 1512func (m *BuildDetails) XXX_DiscardUnknown() { 1513 xxx_messageInfo_BuildDetails.DiscardUnknown(m) 1514} 1515 1516var xxx_messageInfo_BuildDetails proto.InternalMessageInfo 1517 1518func (m *BuildDetails) GetProvenance() *BuildProvenance { 1519 if m != nil { 1520 return m.Provenance 1521 } 1522 return nil 1523} 1524 1525func (m *BuildDetails) GetProvenanceBytes() string { 1526 if m != nil { 1527 return m.ProvenanceBytes 1528 } 1529 return "" 1530} 1531 1532// Indicates various scans and whether they are turned on or off. 1533type ScanConfig struct { 1534 // Output only. The name of the ScanConfig in the form 1535 // “projects/{project_id}/ScanConfigs/{ScanConfig_id}". 1536 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1537 // Output only. A human-readable description of what the `ScanConfig` does. 1538 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 1539 // Indicates whether the Scan is enabled. 1540 Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` 1541 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1542 XXX_unrecognized []byte `json:"-"` 1543 XXX_sizecache int32 `json:"-"` 1544} 1545 1546func (m *ScanConfig) Reset() { *m = ScanConfig{} } 1547func (m *ScanConfig) String() string { return proto.CompactTextString(m) } 1548func (*ScanConfig) ProtoMessage() {} 1549func (*ScanConfig) Descriptor() ([]byte, []int) { 1550 return fileDescriptor_5ffce145f2f590bf, []int{10} 1551} 1552 1553func (m *ScanConfig) XXX_Unmarshal(b []byte) error { 1554 return xxx_messageInfo_ScanConfig.Unmarshal(m, b) 1555} 1556func (m *ScanConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1557 return xxx_messageInfo_ScanConfig.Marshal(b, m, deterministic) 1558} 1559func (m *ScanConfig) XXX_Merge(src proto.Message) { 1560 xxx_messageInfo_ScanConfig.Merge(m, src) 1561} 1562func (m *ScanConfig) XXX_Size() int { 1563 return xxx_messageInfo_ScanConfig.Size(m) 1564} 1565func (m *ScanConfig) XXX_DiscardUnknown() { 1566 xxx_messageInfo_ScanConfig.DiscardUnknown(m) 1567} 1568 1569var xxx_messageInfo_ScanConfig proto.InternalMessageInfo 1570 1571func (m *ScanConfig) GetName() string { 1572 if m != nil { 1573 return m.Name 1574 } 1575 return "" 1576} 1577 1578func (m *ScanConfig) GetDescription() string { 1579 if m != nil { 1580 return m.Description 1581 } 1582 return "" 1583} 1584 1585func (m *ScanConfig) GetEnabled() bool { 1586 if m != nil { 1587 return m.Enabled 1588 } 1589 return false 1590} 1591 1592// Request to get a Occurrence. 1593type GetOccurrenceRequest struct { 1594 // The name of the occurrence of the form 1595 // "projects/{project_id}/occurrences/{OCCURRENCE_ID}" 1596 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1597 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1598 XXX_unrecognized []byte `json:"-"` 1599 XXX_sizecache int32 `json:"-"` 1600} 1601 1602func (m *GetOccurrenceRequest) Reset() { *m = GetOccurrenceRequest{} } 1603func (m *GetOccurrenceRequest) String() string { return proto.CompactTextString(m) } 1604func (*GetOccurrenceRequest) ProtoMessage() {} 1605func (*GetOccurrenceRequest) Descriptor() ([]byte, []int) { 1606 return fileDescriptor_5ffce145f2f590bf, []int{11} 1607} 1608 1609func (m *GetOccurrenceRequest) XXX_Unmarshal(b []byte) error { 1610 return xxx_messageInfo_GetOccurrenceRequest.Unmarshal(m, b) 1611} 1612func (m *GetOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1613 return xxx_messageInfo_GetOccurrenceRequest.Marshal(b, m, deterministic) 1614} 1615func (m *GetOccurrenceRequest) XXX_Merge(src proto.Message) { 1616 xxx_messageInfo_GetOccurrenceRequest.Merge(m, src) 1617} 1618func (m *GetOccurrenceRequest) XXX_Size() int { 1619 return xxx_messageInfo_GetOccurrenceRequest.Size(m) 1620} 1621func (m *GetOccurrenceRequest) XXX_DiscardUnknown() { 1622 xxx_messageInfo_GetOccurrenceRequest.DiscardUnknown(m) 1623} 1624 1625var xxx_messageInfo_GetOccurrenceRequest proto.InternalMessageInfo 1626 1627func (m *GetOccurrenceRequest) GetName() string { 1628 if m != nil { 1629 return m.Name 1630 } 1631 return "" 1632} 1633 1634// Request to list occurrences. 1635type ListOccurrencesRequest struct { 1636 // The name field contains the project Id. For example: 1637 // "projects/{project_id} 1638 // @Deprecated 1639 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1640 // This contains the project Id for example: projects/{project_id}. 1641 Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` 1642 // The filter expression. 1643 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 1644 // Number of occurrences to return in the list. 1645 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1646 // Token to provide to skip to a particular spot in the list. 1647 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1648 // The kind of occurrences to filter on. 1649 Kind Note_Kind `protobuf:"varint,6,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"` 1650 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1651 XXX_unrecognized []byte `json:"-"` 1652 XXX_sizecache int32 `json:"-"` 1653} 1654 1655func (m *ListOccurrencesRequest) Reset() { *m = ListOccurrencesRequest{} } 1656func (m *ListOccurrencesRequest) String() string { return proto.CompactTextString(m) } 1657func (*ListOccurrencesRequest) ProtoMessage() {} 1658func (*ListOccurrencesRequest) Descriptor() ([]byte, []int) { 1659 return fileDescriptor_5ffce145f2f590bf, []int{12} 1660} 1661 1662func (m *ListOccurrencesRequest) XXX_Unmarshal(b []byte) error { 1663 return xxx_messageInfo_ListOccurrencesRequest.Unmarshal(m, b) 1664} 1665func (m *ListOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1666 return xxx_messageInfo_ListOccurrencesRequest.Marshal(b, m, deterministic) 1667} 1668func (m *ListOccurrencesRequest) XXX_Merge(src proto.Message) { 1669 xxx_messageInfo_ListOccurrencesRequest.Merge(m, src) 1670} 1671func (m *ListOccurrencesRequest) XXX_Size() int { 1672 return xxx_messageInfo_ListOccurrencesRequest.Size(m) 1673} 1674func (m *ListOccurrencesRequest) XXX_DiscardUnknown() { 1675 xxx_messageInfo_ListOccurrencesRequest.DiscardUnknown(m) 1676} 1677 1678var xxx_messageInfo_ListOccurrencesRequest proto.InternalMessageInfo 1679 1680func (m *ListOccurrencesRequest) GetName() string { 1681 if m != nil { 1682 return m.Name 1683 } 1684 return "" 1685} 1686 1687func (m *ListOccurrencesRequest) GetParent() string { 1688 if m != nil { 1689 return m.Parent 1690 } 1691 return "" 1692} 1693 1694func (m *ListOccurrencesRequest) GetFilter() string { 1695 if m != nil { 1696 return m.Filter 1697 } 1698 return "" 1699} 1700 1701func (m *ListOccurrencesRequest) GetPageSize() int32 { 1702 if m != nil { 1703 return m.PageSize 1704 } 1705 return 0 1706} 1707 1708func (m *ListOccurrencesRequest) GetPageToken() string { 1709 if m != nil { 1710 return m.PageToken 1711 } 1712 return "" 1713} 1714 1715func (m *ListOccurrencesRequest) GetKind() Note_Kind { 1716 if m != nil { 1717 return m.Kind 1718 } 1719 return Note_KIND_UNSPECIFIED 1720} 1721 1722// Response including listed active occurrences. 1723type ListOccurrencesResponse struct { 1724 // The occurrences requested. 1725 Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` 1726 // The next pagination token in the list response. It should be used as 1727 // `page_token` for the following request. An empty value means no more 1728 // results. 1729 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1730 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1731 XXX_unrecognized []byte `json:"-"` 1732 XXX_sizecache int32 `json:"-"` 1733} 1734 1735func (m *ListOccurrencesResponse) Reset() { *m = ListOccurrencesResponse{} } 1736func (m *ListOccurrencesResponse) String() string { return proto.CompactTextString(m) } 1737func (*ListOccurrencesResponse) ProtoMessage() {} 1738func (*ListOccurrencesResponse) Descriptor() ([]byte, []int) { 1739 return fileDescriptor_5ffce145f2f590bf, []int{13} 1740} 1741 1742func (m *ListOccurrencesResponse) XXX_Unmarshal(b []byte) error { 1743 return xxx_messageInfo_ListOccurrencesResponse.Unmarshal(m, b) 1744} 1745func (m *ListOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1746 return xxx_messageInfo_ListOccurrencesResponse.Marshal(b, m, deterministic) 1747} 1748func (m *ListOccurrencesResponse) XXX_Merge(src proto.Message) { 1749 xxx_messageInfo_ListOccurrencesResponse.Merge(m, src) 1750} 1751func (m *ListOccurrencesResponse) XXX_Size() int { 1752 return xxx_messageInfo_ListOccurrencesResponse.Size(m) 1753} 1754func (m *ListOccurrencesResponse) XXX_DiscardUnknown() { 1755 xxx_messageInfo_ListOccurrencesResponse.DiscardUnknown(m) 1756} 1757 1758var xxx_messageInfo_ListOccurrencesResponse proto.InternalMessageInfo 1759 1760func (m *ListOccurrencesResponse) GetOccurrences() []*Occurrence { 1761 if m != nil { 1762 return m.Occurrences 1763 } 1764 return nil 1765} 1766 1767func (m *ListOccurrencesResponse) GetNextPageToken() string { 1768 if m != nil { 1769 return m.NextPageToken 1770 } 1771 return "" 1772} 1773 1774// Request to delete a occurrence 1775type DeleteOccurrenceRequest struct { 1776 // The name of the occurrence in the form of 1777 // "projects/{project_id}/occurrences/{OCCURRENCE_ID}" 1778 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1779 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1780 XXX_unrecognized []byte `json:"-"` 1781 XXX_sizecache int32 `json:"-"` 1782} 1783 1784func (m *DeleteOccurrenceRequest) Reset() { *m = DeleteOccurrenceRequest{} } 1785func (m *DeleteOccurrenceRequest) String() string { return proto.CompactTextString(m) } 1786func (*DeleteOccurrenceRequest) ProtoMessage() {} 1787func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int) { 1788 return fileDescriptor_5ffce145f2f590bf, []int{14} 1789} 1790 1791func (m *DeleteOccurrenceRequest) XXX_Unmarshal(b []byte) error { 1792 return xxx_messageInfo_DeleteOccurrenceRequest.Unmarshal(m, b) 1793} 1794func (m *DeleteOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1795 return xxx_messageInfo_DeleteOccurrenceRequest.Marshal(b, m, deterministic) 1796} 1797func (m *DeleteOccurrenceRequest) XXX_Merge(src proto.Message) { 1798 xxx_messageInfo_DeleteOccurrenceRequest.Merge(m, src) 1799} 1800func (m *DeleteOccurrenceRequest) XXX_Size() int { 1801 return xxx_messageInfo_DeleteOccurrenceRequest.Size(m) 1802} 1803func (m *DeleteOccurrenceRequest) XXX_DiscardUnknown() { 1804 xxx_messageInfo_DeleteOccurrenceRequest.DiscardUnknown(m) 1805} 1806 1807var xxx_messageInfo_DeleteOccurrenceRequest proto.InternalMessageInfo 1808 1809func (m *DeleteOccurrenceRequest) GetName() string { 1810 if m != nil { 1811 return m.Name 1812 } 1813 return "" 1814} 1815 1816// Request to insert a new occurrence. 1817type CreateOccurrenceRequest struct { 1818 // The name of the project. Should be of the form "projects/{project_id}". 1819 // @Deprecated 1820 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1821 // This field contains the project Id for example: "projects/{project_id}" 1822 Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` 1823 // The occurrence to be inserted 1824 Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` 1825 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1826 XXX_unrecognized []byte `json:"-"` 1827 XXX_sizecache int32 `json:"-"` 1828} 1829 1830func (m *CreateOccurrenceRequest) Reset() { *m = CreateOccurrenceRequest{} } 1831func (m *CreateOccurrenceRequest) String() string { return proto.CompactTextString(m) } 1832func (*CreateOccurrenceRequest) ProtoMessage() {} 1833func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int) { 1834 return fileDescriptor_5ffce145f2f590bf, []int{15} 1835} 1836 1837func (m *CreateOccurrenceRequest) XXX_Unmarshal(b []byte) error { 1838 return xxx_messageInfo_CreateOccurrenceRequest.Unmarshal(m, b) 1839} 1840func (m *CreateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1841 return xxx_messageInfo_CreateOccurrenceRequest.Marshal(b, m, deterministic) 1842} 1843func (m *CreateOccurrenceRequest) XXX_Merge(src proto.Message) { 1844 xxx_messageInfo_CreateOccurrenceRequest.Merge(m, src) 1845} 1846func (m *CreateOccurrenceRequest) XXX_Size() int { 1847 return xxx_messageInfo_CreateOccurrenceRequest.Size(m) 1848} 1849func (m *CreateOccurrenceRequest) XXX_DiscardUnknown() { 1850 xxx_messageInfo_CreateOccurrenceRequest.DiscardUnknown(m) 1851} 1852 1853var xxx_messageInfo_CreateOccurrenceRequest proto.InternalMessageInfo 1854 1855func (m *CreateOccurrenceRequest) GetName() string { 1856 if m != nil { 1857 return m.Name 1858 } 1859 return "" 1860} 1861 1862func (m *CreateOccurrenceRequest) GetParent() string { 1863 if m != nil { 1864 return m.Parent 1865 } 1866 return "" 1867} 1868 1869func (m *CreateOccurrenceRequest) GetOccurrence() *Occurrence { 1870 if m != nil { 1871 return m.Occurrence 1872 } 1873 return nil 1874} 1875 1876// Request to update an existing occurrence 1877type UpdateOccurrenceRequest struct { 1878 // The name of the occurrence. 1879 // Should be of the form "projects/{project_id}/occurrences/{OCCURRENCE_ID}". 1880 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1881 // The updated occurrence. 1882 Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` 1883 // The fields to update. 1884 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1885 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1886 XXX_unrecognized []byte `json:"-"` 1887 XXX_sizecache int32 `json:"-"` 1888} 1889 1890func (m *UpdateOccurrenceRequest) Reset() { *m = UpdateOccurrenceRequest{} } 1891func (m *UpdateOccurrenceRequest) String() string { return proto.CompactTextString(m) } 1892func (*UpdateOccurrenceRequest) ProtoMessage() {} 1893func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int) { 1894 return fileDescriptor_5ffce145f2f590bf, []int{16} 1895} 1896 1897func (m *UpdateOccurrenceRequest) XXX_Unmarshal(b []byte) error { 1898 return xxx_messageInfo_UpdateOccurrenceRequest.Unmarshal(m, b) 1899} 1900func (m *UpdateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1901 return xxx_messageInfo_UpdateOccurrenceRequest.Marshal(b, m, deterministic) 1902} 1903func (m *UpdateOccurrenceRequest) XXX_Merge(src proto.Message) { 1904 xxx_messageInfo_UpdateOccurrenceRequest.Merge(m, src) 1905} 1906func (m *UpdateOccurrenceRequest) XXX_Size() int { 1907 return xxx_messageInfo_UpdateOccurrenceRequest.Size(m) 1908} 1909func (m *UpdateOccurrenceRequest) XXX_DiscardUnknown() { 1910 xxx_messageInfo_UpdateOccurrenceRequest.DiscardUnknown(m) 1911} 1912 1913var xxx_messageInfo_UpdateOccurrenceRequest proto.InternalMessageInfo 1914 1915func (m *UpdateOccurrenceRequest) GetName() string { 1916 if m != nil { 1917 return m.Name 1918 } 1919 return "" 1920} 1921 1922func (m *UpdateOccurrenceRequest) GetOccurrence() *Occurrence { 1923 if m != nil { 1924 return m.Occurrence 1925 } 1926 return nil 1927} 1928 1929func (m *UpdateOccurrenceRequest) GetUpdateMask() *field_mask.FieldMask { 1930 if m != nil { 1931 return m.UpdateMask 1932 } 1933 return nil 1934} 1935 1936// Request to get a Note. 1937type GetNoteRequest struct { 1938 // The name of the note in the form of 1939 // "providers/{provider_id}/notes/{NOTE_ID}" 1940 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1941 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1942 XXX_unrecognized []byte `json:"-"` 1943 XXX_sizecache int32 `json:"-"` 1944} 1945 1946func (m *GetNoteRequest) Reset() { *m = GetNoteRequest{} } 1947func (m *GetNoteRequest) String() string { return proto.CompactTextString(m) } 1948func (*GetNoteRequest) ProtoMessage() {} 1949func (*GetNoteRequest) Descriptor() ([]byte, []int) { 1950 return fileDescriptor_5ffce145f2f590bf, []int{17} 1951} 1952 1953func (m *GetNoteRequest) XXX_Unmarshal(b []byte) error { 1954 return xxx_messageInfo_GetNoteRequest.Unmarshal(m, b) 1955} 1956func (m *GetNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1957 return xxx_messageInfo_GetNoteRequest.Marshal(b, m, deterministic) 1958} 1959func (m *GetNoteRequest) XXX_Merge(src proto.Message) { 1960 xxx_messageInfo_GetNoteRequest.Merge(m, src) 1961} 1962func (m *GetNoteRequest) XXX_Size() int { 1963 return xxx_messageInfo_GetNoteRequest.Size(m) 1964} 1965func (m *GetNoteRequest) XXX_DiscardUnknown() { 1966 xxx_messageInfo_GetNoteRequest.DiscardUnknown(m) 1967} 1968 1969var xxx_messageInfo_GetNoteRequest proto.InternalMessageInfo 1970 1971func (m *GetNoteRequest) GetName() string { 1972 if m != nil { 1973 return m.Name 1974 } 1975 return "" 1976} 1977 1978// Request to get the note to which this occurrence is attached. 1979type GetOccurrenceNoteRequest struct { 1980 // The name of the occurrence in the form 1981 // "projects/{project_id}/occurrences/{OCCURRENCE_ID}" 1982 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1983 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1984 XXX_unrecognized []byte `json:"-"` 1985 XXX_sizecache int32 `json:"-"` 1986} 1987 1988func (m *GetOccurrenceNoteRequest) Reset() { *m = GetOccurrenceNoteRequest{} } 1989func (m *GetOccurrenceNoteRequest) String() string { return proto.CompactTextString(m) } 1990func (*GetOccurrenceNoteRequest) ProtoMessage() {} 1991func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int) { 1992 return fileDescriptor_5ffce145f2f590bf, []int{18} 1993} 1994 1995func (m *GetOccurrenceNoteRequest) XXX_Unmarshal(b []byte) error { 1996 return xxx_messageInfo_GetOccurrenceNoteRequest.Unmarshal(m, b) 1997} 1998func (m *GetOccurrenceNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1999 return xxx_messageInfo_GetOccurrenceNoteRequest.Marshal(b, m, deterministic) 2000} 2001func (m *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message) { 2002 xxx_messageInfo_GetOccurrenceNoteRequest.Merge(m, src) 2003} 2004func (m *GetOccurrenceNoteRequest) XXX_Size() int { 2005 return xxx_messageInfo_GetOccurrenceNoteRequest.Size(m) 2006} 2007func (m *GetOccurrenceNoteRequest) XXX_DiscardUnknown() { 2008 xxx_messageInfo_GetOccurrenceNoteRequest.DiscardUnknown(m) 2009} 2010 2011var xxx_messageInfo_GetOccurrenceNoteRequest proto.InternalMessageInfo 2012 2013func (m *GetOccurrenceNoteRequest) GetName() string { 2014 if m != nil { 2015 return m.Name 2016 } 2017 return "" 2018} 2019 2020// Request to list notes. 2021type ListNotesRequest struct { 2022 // The name field will contain the project Id for example: 2023 // "providers/{provider_id} 2024 // @Deprecated 2025 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2026 // This field contains the project Id for example: "projects/{PROJECT_ID}". 2027 Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` 2028 // The filter expression. 2029 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 2030 // Number of notes to return in the list. 2031 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 2032 // Token to provide to skip to a particular spot in the list. 2033 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 2034 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2035 XXX_unrecognized []byte `json:"-"` 2036 XXX_sizecache int32 `json:"-"` 2037} 2038 2039func (m *ListNotesRequest) Reset() { *m = ListNotesRequest{} } 2040func (m *ListNotesRequest) String() string { return proto.CompactTextString(m) } 2041func (*ListNotesRequest) ProtoMessage() {} 2042func (*ListNotesRequest) Descriptor() ([]byte, []int) { 2043 return fileDescriptor_5ffce145f2f590bf, []int{19} 2044} 2045 2046func (m *ListNotesRequest) XXX_Unmarshal(b []byte) error { 2047 return xxx_messageInfo_ListNotesRequest.Unmarshal(m, b) 2048} 2049func (m *ListNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2050 return xxx_messageInfo_ListNotesRequest.Marshal(b, m, deterministic) 2051} 2052func (m *ListNotesRequest) XXX_Merge(src proto.Message) { 2053 xxx_messageInfo_ListNotesRequest.Merge(m, src) 2054} 2055func (m *ListNotesRequest) XXX_Size() int { 2056 return xxx_messageInfo_ListNotesRequest.Size(m) 2057} 2058func (m *ListNotesRequest) XXX_DiscardUnknown() { 2059 xxx_messageInfo_ListNotesRequest.DiscardUnknown(m) 2060} 2061 2062var xxx_messageInfo_ListNotesRequest proto.InternalMessageInfo 2063 2064func (m *ListNotesRequest) GetName() string { 2065 if m != nil { 2066 return m.Name 2067 } 2068 return "" 2069} 2070 2071func (m *ListNotesRequest) GetParent() string { 2072 if m != nil { 2073 return m.Parent 2074 } 2075 return "" 2076} 2077 2078func (m *ListNotesRequest) GetFilter() string { 2079 if m != nil { 2080 return m.Filter 2081 } 2082 return "" 2083} 2084 2085func (m *ListNotesRequest) GetPageSize() int32 { 2086 if m != nil { 2087 return m.PageSize 2088 } 2089 return 0 2090} 2091 2092func (m *ListNotesRequest) GetPageToken() string { 2093 if m != nil { 2094 return m.PageToken 2095 } 2096 return "" 2097} 2098 2099// Response including listed notes. 2100type ListNotesResponse struct { 2101 // The occurrences requested 2102 Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` 2103 // The next pagination token in the list response. It should be used as 2104 // page_token for the following request. An empty value means no more result. 2105 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 2106 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2107 XXX_unrecognized []byte `json:"-"` 2108 XXX_sizecache int32 `json:"-"` 2109} 2110 2111func (m *ListNotesResponse) Reset() { *m = ListNotesResponse{} } 2112func (m *ListNotesResponse) String() string { return proto.CompactTextString(m) } 2113func (*ListNotesResponse) ProtoMessage() {} 2114func (*ListNotesResponse) Descriptor() ([]byte, []int) { 2115 return fileDescriptor_5ffce145f2f590bf, []int{20} 2116} 2117 2118func (m *ListNotesResponse) XXX_Unmarshal(b []byte) error { 2119 return xxx_messageInfo_ListNotesResponse.Unmarshal(m, b) 2120} 2121func (m *ListNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2122 return xxx_messageInfo_ListNotesResponse.Marshal(b, m, deterministic) 2123} 2124func (m *ListNotesResponse) XXX_Merge(src proto.Message) { 2125 xxx_messageInfo_ListNotesResponse.Merge(m, src) 2126} 2127func (m *ListNotesResponse) XXX_Size() int { 2128 return xxx_messageInfo_ListNotesResponse.Size(m) 2129} 2130func (m *ListNotesResponse) XXX_DiscardUnknown() { 2131 xxx_messageInfo_ListNotesResponse.DiscardUnknown(m) 2132} 2133 2134var xxx_messageInfo_ListNotesResponse proto.InternalMessageInfo 2135 2136func (m *ListNotesResponse) GetNotes() []*Note { 2137 if m != nil { 2138 return m.Notes 2139 } 2140 return nil 2141} 2142 2143func (m *ListNotesResponse) GetNextPageToken() string { 2144 if m != nil { 2145 return m.NextPageToken 2146 } 2147 return "" 2148} 2149 2150// Request to delete a note 2151type DeleteNoteRequest struct { 2152 // The name of the note in the form of 2153 // "providers/{provider_id}/notes/{NOTE_ID}" 2154 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2155 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2156 XXX_unrecognized []byte `json:"-"` 2157 XXX_sizecache int32 `json:"-"` 2158} 2159 2160func (m *DeleteNoteRequest) Reset() { *m = DeleteNoteRequest{} } 2161func (m *DeleteNoteRequest) String() string { return proto.CompactTextString(m) } 2162func (*DeleteNoteRequest) ProtoMessage() {} 2163func (*DeleteNoteRequest) Descriptor() ([]byte, []int) { 2164 return fileDescriptor_5ffce145f2f590bf, []int{21} 2165} 2166 2167func (m *DeleteNoteRequest) XXX_Unmarshal(b []byte) error { 2168 return xxx_messageInfo_DeleteNoteRequest.Unmarshal(m, b) 2169} 2170func (m *DeleteNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2171 return xxx_messageInfo_DeleteNoteRequest.Marshal(b, m, deterministic) 2172} 2173func (m *DeleteNoteRequest) XXX_Merge(src proto.Message) { 2174 xxx_messageInfo_DeleteNoteRequest.Merge(m, src) 2175} 2176func (m *DeleteNoteRequest) XXX_Size() int { 2177 return xxx_messageInfo_DeleteNoteRequest.Size(m) 2178} 2179func (m *DeleteNoteRequest) XXX_DiscardUnknown() { 2180 xxx_messageInfo_DeleteNoteRequest.DiscardUnknown(m) 2181} 2182 2183var xxx_messageInfo_DeleteNoteRequest proto.InternalMessageInfo 2184 2185func (m *DeleteNoteRequest) GetName() string { 2186 if m != nil { 2187 return m.Name 2188 } 2189 return "" 2190} 2191 2192// Request to insert a new note 2193type CreateNoteRequest struct { 2194 // The name of the project. 2195 // Should be of the form "providers/{provider_id}". 2196 // @Deprecated 2197 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2198 // This field contains the project Id for example: 2199 // "projects/{project_id} 2200 Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` 2201 // The ID to use for this note. 2202 NoteId string `protobuf:"bytes,2,opt,name=note_id,json=noteId,proto3" json:"note_id,omitempty"` 2203 // The Note to be inserted 2204 Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` 2205 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2206 XXX_unrecognized []byte `json:"-"` 2207 XXX_sizecache int32 `json:"-"` 2208} 2209 2210func (m *CreateNoteRequest) Reset() { *m = CreateNoteRequest{} } 2211func (m *CreateNoteRequest) String() string { return proto.CompactTextString(m) } 2212func (*CreateNoteRequest) ProtoMessage() {} 2213func (*CreateNoteRequest) Descriptor() ([]byte, []int) { 2214 return fileDescriptor_5ffce145f2f590bf, []int{22} 2215} 2216 2217func (m *CreateNoteRequest) XXX_Unmarshal(b []byte) error { 2218 return xxx_messageInfo_CreateNoteRequest.Unmarshal(m, b) 2219} 2220func (m *CreateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2221 return xxx_messageInfo_CreateNoteRequest.Marshal(b, m, deterministic) 2222} 2223func (m *CreateNoteRequest) XXX_Merge(src proto.Message) { 2224 xxx_messageInfo_CreateNoteRequest.Merge(m, src) 2225} 2226func (m *CreateNoteRequest) XXX_Size() int { 2227 return xxx_messageInfo_CreateNoteRequest.Size(m) 2228} 2229func (m *CreateNoteRequest) XXX_DiscardUnknown() { 2230 xxx_messageInfo_CreateNoteRequest.DiscardUnknown(m) 2231} 2232 2233var xxx_messageInfo_CreateNoteRequest proto.InternalMessageInfo 2234 2235func (m *CreateNoteRequest) GetName() string { 2236 if m != nil { 2237 return m.Name 2238 } 2239 return "" 2240} 2241 2242func (m *CreateNoteRequest) GetParent() string { 2243 if m != nil { 2244 return m.Parent 2245 } 2246 return "" 2247} 2248 2249func (m *CreateNoteRequest) GetNoteId() string { 2250 if m != nil { 2251 return m.NoteId 2252 } 2253 return "" 2254} 2255 2256func (m *CreateNoteRequest) GetNote() *Note { 2257 if m != nil { 2258 return m.Note 2259 } 2260 return nil 2261} 2262 2263// Request to update an existing note 2264type UpdateNoteRequest struct { 2265 // The name of the note. 2266 // Should be of the form "projects/{provider_id}/notes/{note_id}". 2267 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2268 // The updated note. 2269 Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` 2270 // The fields to update. 2271 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 2272 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2273 XXX_unrecognized []byte `json:"-"` 2274 XXX_sizecache int32 `json:"-"` 2275} 2276 2277func (m *UpdateNoteRequest) Reset() { *m = UpdateNoteRequest{} } 2278func (m *UpdateNoteRequest) String() string { return proto.CompactTextString(m) } 2279func (*UpdateNoteRequest) ProtoMessage() {} 2280func (*UpdateNoteRequest) Descriptor() ([]byte, []int) { 2281 return fileDescriptor_5ffce145f2f590bf, []int{23} 2282} 2283 2284func (m *UpdateNoteRequest) XXX_Unmarshal(b []byte) error { 2285 return xxx_messageInfo_UpdateNoteRequest.Unmarshal(m, b) 2286} 2287func (m *UpdateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2288 return xxx_messageInfo_UpdateNoteRequest.Marshal(b, m, deterministic) 2289} 2290func (m *UpdateNoteRequest) XXX_Merge(src proto.Message) { 2291 xxx_messageInfo_UpdateNoteRequest.Merge(m, src) 2292} 2293func (m *UpdateNoteRequest) XXX_Size() int { 2294 return xxx_messageInfo_UpdateNoteRequest.Size(m) 2295} 2296func (m *UpdateNoteRequest) XXX_DiscardUnknown() { 2297 xxx_messageInfo_UpdateNoteRequest.DiscardUnknown(m) 2298} 2299 2300var xxx_messageInfo_UpdateNoteRequest proto.InternalMessageInfo 2301 2302func (m *UpdateNoteRequest) GetName() string { 2303 if m != nil { 2304 return m.Name 2305 } 2306 return "" 2307} 2308 2309func (m *UpdateNoteRequest) GetNote() *Note { 2310 if m != nil { 2311 return m.Note 2312 } 2313 return nil 2314} 2315 2316func (m *UpdateNoteRequest) GetUpdateMask() *field_mask.FieldMask { 2317 if m != nil { 2318 return m.UpdateMask 2319 } 2320 return nil 2321} 2322 2323// Request to list occurrences. 2324type ListNoteOccurrencesRequest struct { 2325 // The name field will contain the note name for example: 2326 // "provider/{provider_id}/notes/{note_id}" 2327 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2328 // The filter expression. 2329 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 2330 // Number of notes to return in the list. 2331 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 2332 // Token to provide to skip to a particular spot in the list. 2333 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 2334 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2335 XXX_unrecognized []byte `json:"-"` 2336 XXX_sizecache int32 `json:"-"` 2337} 2338 2339func (m *ListNoteOccurrencesRequest) Reset() { *m = ListNoteOccurrencesRequest{} } 2340func (m *ListNoteOccurrencesRequest) String() string { return proto.CompactTextString(m) } 2341func (*ListNoteOccurrencesRequest) ProtoMessage() {} 2342func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int) { 2343 return fileDescriptor_5ffce145f2f590bf, []int{24} 2344} 2345 2346func (m *ListNoteOccurrencesRequest) XXX_Unmarshal(b []byte) error { 2347 return xxx_messageInfo_ListNoteOccurrencesRequest.Unmarshal(m, b) 2348} 2349func (m *ListNoteOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2350 return xxx_messageInfo_ListNoteOccurrencesRequest.Marshal(b, m, deterministic) 2351} 2352func (m *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message) { 2353 xxx_messageInfo_ListNoteOccurrencesRequest.Merge(m, src) 2354} 2355func (m *ListNoteOccurrencesRequest) XXX_Size() int { 2356 return xxx_messageInfo_ListNoteOccurrencesRequest.Size(m) 2357} 2358func (m *ListNoteOccurrencesRequest) XXX_DiscardUnknown() { 2359 xxx_messageInfo_ListNoteOccurrencesRequest.DiscardUnknown(m) 2360} 2361 2362var xxx_messageInfo_ListNoteOccurrencesRequest proto.InternalMessageInfo 2363 2364func (m *ListNoteOccurrencesRequest) GetName() string { 2365 if m != nil { 2366 return m.Name 2367 } 2368 return "" 2369} 2370 2371func (m *ListNoteOccurrencesRequest) GetFilter() string { 2372 if m != nil { 2373 return m.Filter 2374 } 2375 return "" 2376} 2377 2378func (m *ListNoteOccurrencesRequest) GetPageSize() int32 { 2379 if m != nil { 2380 return m.PageSize 2381 } 2382 return 0 2383} 2384 2385func (m *ListNoteOccurrencesRequest) GetPageToken() string { 2386 if m != nil { 2387 return m.PageToken 2388 } 2389 return "" 2390} 2391 2392// Response including listed occurrences for a note. 2393type ListNoteOccurrencesResponse struct { 2394 // The occurrences attached to the specified note. 2395 Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` 2396 // Token to receive the next page of notes. 2397 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 2398 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2399 XXX_unrecognized []byte `json:"-"` 2400 XXX_sizecache int32 `json:"-"` 2401} 2402 2403func (m *ListNoteOccurrencesResponse) Reset() { *m = ListNoteOccurrencesResponse{} } 2404func (m *ListNoteOccurrencesResponse) String() string { return proto.CompactTextString(m) } 2405func (*ListNoteOccurrencesResponse) ProtoMessage() {} 2406func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int) { 2407 return fileDescriptor_5ffce145f2f590bf, []int{25} 2408} 2409 2410func (m *ListNoteOccurrencesResponse) XXX_Unmarshal(b []byte) error { 2411 return xxx_messageInfo_ListNoteOccurrencesResponse.Unmarshal(m, b) 2412} 2413func (m *ListNoteOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2414 return xxx_messageInfo_ListNoteOccurrencesResponse.Marshal(b, m, deterministic) 2415} 2416func (m *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message) { 2417 xxx_messageInfo_ListNoteOccurrencesResponse.Merge(m, src) 2418} 2419func (m *ListNoteOccurrencesResponse) XXX_Size() int { 2420 return xxx_messageInfo_ListNoteOccurrencesResponse.Size(m) 2421} 2422func (m *ListNoteOccurrencesResponse) XXX_DiscardUnknown() { 2423 xxx_messageInfo_ListNoteOccurrencesResponse.DiscardUnknown(m) 2424} 2425 2426var xxx_messageInfo_ListNoteOccurrencesResponse proto.InternalMessageInfo 2427 2428func (m *ListNoteOccurrencesResponse) GetOccurrences() []*Occurrence { 2429 if m != nil { 2430 return m.Occurrences 2431 } 2432 return nil 2433} 2434 2435func (m *ListNoteOccurrencesResponse) GetNextPageToken() string { 2436 if m != nil { 2437 return m.NextPageToken 2438 } 2439 return "" 2440} 2441 2442// Request for creating an operation 2443type CreateOperationRequest struct { 2444 // The project Id that this operation should be created under. 2445 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2446 // The ID to use for this operation. 2447 OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` 2448 // The operation to create. 2449 Operation *longrunning.Operation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` 2450 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2451 XXX_unrecognized []byte `json:"-"` 2452 XXX_sizecache int32 `json:"-"` 2453} 2454 2455func (m *CreateOperationRequest) Reset() { *m = CreateOperationRequest{} } 2456func (m *CreateOperationRequest) String() string { return proto.CompactTextString(m) } 2457func (*CreateOperationRequest) ProtoMessage() {} 2458func (*CreateOperationRequest) Descriptor() ([]byte, []int) { 2459 return fileDescriptor_5ffce145f2f590bf, []int{26} 2460} 2461 2462func (m *CreateOperationRequest) XXX_Unmarshal(b []byte) error { 2463 return xxx_messageInfo_CreateOperationRequest.Unmarshal(m, b) 2464} 2465func (m *CreateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2466 return xxx_messageInfo_CreateOperationRequest.Marshal(b, m, deterministic) 2467} 2468func (m *CreateOperationRequest) XXX_Merge(src proto.Message) { 2469 xxx_messageInfo_CreateOperationRequest.Merge(m, src) 2470} 2471func (m *CreateOperationRequest) XXX_Size() int { 2472 return xxx_messageInfo_CreateOperationRequest.Size(m) 2473} 2474func (m *CreateOperationRequest) XXX_DiscardUnknown() { 2475 xxx_messageInfo_CreateOperationRequest.DiscardUnknown(m) 2476} 2477 2478var xxx_messageInfo_CreateOperationRequest proto.InternalMessageInfo 2479 2480func (m *CreateOperationRequest) GetParent() string { 2481 if m != nil { 2482 return m.Parent 2483 } 2484 return "" 2485} 2486 2487func (m *CreateOperationRequest) GetOperationId() string { 2488 if m != nil { 2489 return m.OperationId 2490 } 2491 return "" 2492} 2493 2494func (m *CreateOperationRequest) GetOperation() *longrunning.Operation { 2495 if m != nil { 2496 return m.Operation 2497 } 2498 return nil 2499} 2500 2501// Request for updating an existing operation 2502type UpdateOperationRequest struct { 2503 // The name of the Operation. 2504 // Should be of the form "projects/{provider_id}/operations/{operation_id}". 2505 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2506 // The operation to create. 2507 Operation *longrunning.Operation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` 2508 UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 2509 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2510 XXX_unrecognized []byte `json:"-"` 2511 XXX_sizecache int32 `json:"-"` 2512} 2513 2514func (m *UpdateOperationRequest) Reset() { *m = UpdateOperationRequest{} } 2515func (m *UpdateOperationRequest) String() string { return proto.CompactTextString(m) } 2516func (*UpdateOperationRequest) ProtoMessage() {} 2517func (*UpdateOperationRequest) Descriptor() ([]byte, []int) { 2518 return fileDescriptor_5ffce145f2f590bf, []int{27} 2519} 2520 2521func (m *UpdateOperationRequest) XXX_Unmarshal(b []byte) error { 2522 return xxx_messageInfo_UpdateOperationRequest.Unmarshal(m, b) 2523} 2524func (m *UpdateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2525 return xxx_messageInfo_UpdateOperationRequest.Marshal(b, m, deterministic) 2526} 2527func (m *UpdateOperationRequest) XXX_Merge(src proto.Message) { 2528 xxx_messageInfo_UpdateOperationRequest.Merge(m, src) 2529} 2530func (m *UpdateOperationRequest) XXX_Size() int { 2531 return xxx_messageInfo_UpdateOperationRequest.Size(m) 2532} 2533func (m *UpdateOperationRequest) XXX_DiscardUnknown() { 2534 xxx_messageInfo_UpdateOperationRequest.DiscardUnknown(m) 2535} 2536 2537var xxx_messageInfo_UpdateOperationRequest proto.InternalMessageInfo 2538 2539func (m *UpdateOperationRequest) GetName() string { 2540 if m != nil { 2541 return m.Name 2542 } 2543 return "" 2544} 2545 2546func (m *UpdateOperationRequest) GetOperation() *longrunning.Operation { 2547 if m != nil { 2548 return m.Operation 2549 } 2550 return nil 2551} 2552 2553func (m *UpdateOperationRequest) GetUpdateMask() *field_mask.FieldMask { 2554 if m != nil { 2555 return m.UpdateMask 2556 } 2557 return nil 2558} 2559 2560// Metadata for all operations used and required for all operations 2561// that created by Container Analysis Providers 2562type OperationMetadata struct { 2563 // Output only. The time this operation was created. 2564 CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 2565 // Output only. The time that this operation was marked completed or failed. 2566 EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` 2567 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2568 XXX_unrecognized []byte `json:"-"` 2569 XXX_sizecache int32 `json:"-"` 2570} 2571 2572func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } 2573func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } 2574func (*OperationMetadata) ProtoMessage() {} 2575func (*OperationMetadata) Descriptor() ([]byte, []int) { 2576 return fileDescriptor_5ffce145f2f590bf, []int{28} 2577} 2578 2579func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { 2580 return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) 2581} 2582func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2583 return xxx_messageInfo_OperationMetadata.Marshal(b, m, deterministic) 2584} 2585func (m *OperationMetadata) XXX_Merge(src proto.Message) { 2586 xxx_messageInfo_OperationMetadata.Merge(m, src) 2587} 2588func (m *OperationMetadata) XXX_Size() int { 2589 return xxx_messageInfo_OperationMetadata.Size(m) 2590} 2591func (m *OperationMetadata) XXX_DiscardUnknown() { 2592 xxx_messageInfo_OperationMetadata.DiscardUnknown(m) 2593} 2594 2595var xxx_messageInfo_OperationMetadata proto.InternalMessageInfo 2596 2597func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { 2598 if m != nil { 2599 return m.CreateTime 2600 } 2601 return nil 2602} 2603 2604func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp { 2605 if m != nil { 2606 return m.EndTime 2607 } 2608 return nil 2609} 2610 2611// Request to get the vulnz summary for some set of vulnerability Occurrences. 2612type GetVulnzOccurrencesSummaryRequest struct { 2613 // This contains the project Id for example: projects/{project_id} 2614 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2615 // The filter expression. 2616 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 2617 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2618 XXX_unrecognized []byte `json:"-"` 2619 XXX_sizecache int32 `json:"-"` 2620} 2621 2622func (m *GetVulnzOccurrencesSummaryRequest) Reset() { *m = GetVulnzOccurrencesSummaryRequest{} } 2623func (m *GetVulnzOccurrencesSummaryRequest) String() string { return proto.CompactTextString(m) } 2624func (*GetVulnzOccurrencesSummaryRequest) ProtoMessage() {} 2625func (*GetVulnzOccurrencesSummaryRequest) Descriptor() ([]byte, []int) { 2626 return fileDescriptor_5ffce145f2f590bf, []int{29} 2627} 2628 2629func (m *GetVulnzOccurrencesSummaryRequest) XXX_Unmarshal(b []byte) error { 2630 return xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Unmarshal(m, b) 2631} 2632func (m *GetVulnzOccurrencesSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2633 return xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Marshal(b, m, deterministic) 2634} 2635func (m *GetVulnzOccurrencesSummaryRequest) XXX_Merge(src proto.Message) { 2636 xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Merge(m, src) 2637} 2638func (m *GetVulnzOccurrencesSummaryRequest) XXX_Size() int { 2639 return xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Size(m) 2640} 2641func (m *GetVulnzOccurrencesSummaryRequest) XXX_DiscardUnknown() { 2642 xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.DiscardUnknown(m) 2643} 2644 2645var xxx_messageInfo_GetVulnzOccurrencesSummaryRequest proto.InternalMessageInfo 2646 2647func (m *GetVulnzOccurrencesSummaryRequest) GetParent() string { 2648 if m != nil { 2649 return m.Parent 2650 } 2651 return "" 2652} 2653 2654func (m *GetVulnzOccurrencesSummaryRequest) GetFilter() string { 2655 if m != nil { 2656 return m.Filter 2657 } 2658 return "" 2659} 2660 2661// A summary of how many vulnz occurrences there are per severity type. 2662// counts by groups, or if we should have different summary messages 2663// like this. 2664type GetVulnzOccurrencesSummaryResponse struct { 2665 // A map of how many occurrences were found for each severity. 2666 Counts []*GetVulnzOccurrencesSummaryResponse_SeverityCount `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"` 2667 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2668 XXX_unrecognized []byte `json:"-"` 2669 XXX_sizecache int32 `json:"-"` 2670} 2671 2672func (m *GetVulnzOccurrencesSummaryResponse) Reset() { *m = GetVulnzOccurrencesSummaryResponse{} } 2673func (m *GetVulnzOccurrencesSummaryResponse) String() string { return proto.CompactTextString(m) } 2674func (*GetVulnzOccurrencesSummaryResponse) ProtoMessage() {} 2675func (*GetVulnzOccurrencesSummaryResponse) Descriptor() ([]byte, []int) { 2676 return fileDescriptor_5ffce145f2f590bf, []int{30} 2677} 2678 2679func (m *GetVulnzOccurrencesSummaryResponse) XXX_Unmarshal(b []byte) error { 2680 return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Unmarshal(m, b) 2681} 2682func (m *GetVulnzOccurrencesSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2683 return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Marshal(b, m, deterministic) 2684} 2685func (m *GetVulnzOccurrencesSummaryResponse) XXX_Merge(src proto.Message) { 2686 xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Merge(m, src) 2687} 2688func (m *GetVulnzOccurrencesSummaryResponse) XXX_Size() int { 2689 return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Size(m) 2690} 2691func (m *GetVulnzOccurrencesSummaryResponse) XXX_DiscardUnknown() { 2692 xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.DiscardUnknown(m) 2693} 2694 2695var xxx_messageInfo_GetVulnzOccurrencesSummaryResponse proto.InternalMessageInfo 2696 2697func (m *GetVulnzOccurrencesSummaryResponse) GetCounts() []*GetVulnzOccurrencesSummaryResponse_SeverityCount { 2698 if m != nil { 2699 return m.Counts 2700 } 2701 return nil 2702} 2703 2704// The number of occurrences created for a specific severity. 2705type GetVulnzOccurrencesSummaryResponse_SeverityCount struct { 2706 // The severity of the occurrences. 2707 Severity VulnerabilityType_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.devtools.containeranalysis.v1alpha1.VulnerabilityType_Severity" json:"severity,omitempty"` 2708 // The number of occurrences with the severity. 2709 Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` 2710 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2711 XXX_unrecognized []byte `json:"-"` 2712 XXX_sizecache int32 `json:"-"` 2713} 2714 2715func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) Reset() { 2716 *m = GetVulnzOccurrencesSummaryResponse_SeverityCount{} 2717} 2718func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) String() string { 2719 return proto.CompactTextString(m) 2720} 2721func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) ProtoMessage() {} 2722func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) Descriptor() ([]byte, []int) { 2723 return fileDescriptor_5ffce145f2f590bf, []int{30, 0} 2724} 2725 2726func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Unmarshal(b []byte) error { 2727 return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Unmarshal(m, b) 2728} 2729func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2730 return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Marshal(b, m, deterministic) 2731} 2732func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Merge(src proto.Message) { 2733 xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Merge(m, src) 2734} 2735func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Size() int { 2736 return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Size(m) 2737} 2738func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_DiscardUnknown() { 2739 xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.DiscardUnknown(m) 2740} 2741 2742var xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount proto.InternalMessageInfo 2743 2744func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) GetSeverity() VulnerabilityType_Severity { 2745 if m != nil { 2746 return m.Severity 2747 } 2748 return VulnerabilityType_SEVERITY_UNSPECIFIED 2749} 2750 2751func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) GetCount() int64 { 2752 if m != nil { 2753 return m.Count 2754 } 2755 return 0 2756} 2757 2758// Request to get a ScanConfig. 2759type GetScanConfigRequest struct { 2760 // The name of the ScanConfig in the form 2761 // projects/{project_id}/scan_configs/{ScanConfig_id} 2762 // instead. 2763 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2764 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2765 XXX_unrecognized []byte `json:"-"` 2766 XXX_sizecache int32 `json:"-"` 2767} 2768 2769func (m *GetScanConfigRequest) Reset() { *m = GetScanConfigRequest{} } 2770func (m *GetScanConfigRequest) String() string { return proto.CompactTextString(m) } 2771func (*GetScanConfigRequest) ProtoMessage() {} 2772func (*GetScanConfigRequest) Descriptor() ([]byte, []int) { 2773 return fileDescriptor_5ffce145f2f590bf, []int{31} 2774} 2775 2776func (m *GetScanConfigRequest) XXX_Unmarshal(b []byte) error { 2777 return xxx_messageInfo_GetScanConfigRequest.Unmarshal(m, b) 2778} 2779func (m *GetScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2780 return xxx_messageInfo_GetScanConfigRequest.Marshal(b, m, deterministic) 2781} 2782func (m *GetScanConfigRequest) XXX_Merge(src proto.Message) { 2783 xxx_messageInfo_GetScanConfigRequest.Merge(m, src) 2784} 2785func (m *GetScanConfigRequest) XXX_Size() int { 2786 return xxx_messageInfo_GetScanConfigRequest.Size(m) 2787} 2788func (m *GetScanConfigRequest) XXX_DiscardUnknown() { 2789 xxx_messageInfo_GetScanConfigRequest.DiscardUnknown(m) 2790} 2791 2792var xxx_messageInfo_GetScanConfigRequest proto.InternalMessageInfo 2793 2794func (m *GetScanConfigRequest) GetName() string { 2795 if m != nil { 2796 return m.Name 2797 } 2798 return "" 2799} 2800 2801// Request to list the available scan configurations. 2802type ListScanConfigsRequest struct { 2803 // This containers the project Id i.e.: projects/{project_id} 2804 // instead. 2805 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2806 // The filter expression. 2807 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 2808 // The number of items to return. 2809 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 2810 // The page token to use for the next request. 2811 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 2812 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2813 XXX_unrecognized []byte `json:"-"` 2814 XXX_sizecache int32 `json:"-"` 2815} 2816 2817func (m *ListScanConfigsRequest) Reset() { *m = ListScanConfigsRequest{} } 2818func (m *ListScanConfigsRequest) String() string { return proto.CompactTextString(m) } 2819func (*ListScanConfigsRequest) ProtoMessage() {} 2820func (*ListScanConfigsRequest) Descriptor() ([]byte, []int) { 2821 return fileDescriptor_5ffce145f2f590bf, []int{32} 2822} 2823 2824func (m *ListScanConfigsRequest) XXX_Unmarshal(b []byte) error { 2825 return xxx_messageInfo_ListScanConfigsRequest.Unmarshal(m, b) 2826} 2827func (m *ListScanConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2828 return xxx_messageInfo_ListScanConfigsRequest.Marshal(b, m, deterministic) 2829} 2830func (m *ListScanConfigsRequest) XXX_Merge(src proto.Message) { 2831 xxx_messageInfo_ListScanConfigsRequest.Merge(m, src) 2832} 2833func (m *ListScanConfigsRequest) XXX_Size() int { 2834 return xxx_messageInfo_ListScanConfigsRequest.Size(m) 2835} 2836func (m *ListScanConfigsRequest) XXX_DiscardUnknown() { 2837 xxx_messageInfo_ListScanConfigsRequest.DiscardUnknown(m) 2838} 2839 2840var xxx_messageInfo_ListScanConfigsRequest proto.InternalMessageInfo 2841 2842func (m *ListScanConfigsRequest) GetParent() string { 2843 if m != nil { 2844 return m.Parent 2845 } 2846 return "" 2847} 2848 2849func (m *ListScanConfigsRequest) GetFilter() string { 2850 if m != nil { 2851 return m.Filter 2852 } 2853 return "" 2854} 2855 2856func (m *ListScanConfigsRequest) GetPageSize() int32 { 2857 if m != nil { 2858 return m.PageSize 2859 } 2860 return 0 2861} 2862 2863func (m *ListScanConfigsRequest) GetPageToken() string { 2864 if m != nil { 2865 return m.PageToken 2866 } 2867 return "" 2868} 2869 2870// A list of ScanConfigs for the project. 2871type ListScanConfigsResponse struct { 2872 // The set of scan configs 2873 ScanConfigs []*ScanConfig `protobuf:"bytes,1,rep,name=scan_configs,json=scanConfigs,proto3" json:"scan_configs,omitempty"` 2874 // A page token to pass in order to get more scans. 2875 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 2876 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2877 XXX_unrecognized []byte `json:"-"` 2878 XXX_sizecache int32 `json:"-"` 2879} 2880 2881func (m *ListScanConfigsResponse) Reset() { *m = ListScanConfigsResponse{} } 2882func (m *ListScanConfigsResponse) String() string { return proto.CompactTextString(m) } 2883func (*ListScanConfigsResponse) ProtoMessage() {} 2884func (*ListScanConfigsResponse) Descriptor() ([]byte, []int) { 2885 return fileDescriptor_5ffce145f2f590bf, []int{33} 2886} 2887 2888func (m *ListScanConfigsResponse) XXX_Unmarshal(b []byte) error { 2889 return xxx_messageInfo_ListScanConfigsResponse.Unmarshal(m, b) 2890} 2891func (m *ListScanConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2892 return xxx_messageInfo_ListScanConfigsResponse.Marshal(b, m, deterministic) 2893} 2894func (m *ListScanConfigsResponse) XXX_Merge(src proto.Message) { 2895 xxx_messageInfo_ListScanConfigsResponse.Merge(m, src) 2896} 2897func (m *ListScanConfigsResponse) XXX_Size() int { 2898 return xxx_messageInfo_ListScanConfigsResponse.Size(m) 2899} 2900func (m *ListScanConfigsResponse) XXX_DiscardUnknown() { 2901 xxx_messageInfo_ListScanConfigsResponse.DiscardUnknown(m) 2902} 2903 2904var xxx_messageInfo_ListScanConfigsResponse proto.InternalMessageInfo 2905 2906func (m *ListScanConfigsResponse) GetScanConfigs() []*ScanConfig { 2907 if m != nil { 2908 return m.ScanConfigs 2909 } 2910 return nil 2911} 2912 2913func (m *ListScanConfigsResponse) GetNextPageToken() string { 2914 if m != nil { 2915 return m.NextPageToken 2916 } 2917 return "" 2918} 2919 2920// A request to update a ScanConfig. 2921type UpdateScanConfigRequest struct { 2922 // The scan config to update of the form 2923 // projects/{project_id}/scan_configs/{ScanConfig_id} 2924 // instead. 2925 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2926 // The new scan configuration 2927 ScanConfig *ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"` 2928 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 2929 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2930 XXX_unrecognized []byte `json:"-"` 2931 XXX_sizecache int32 `json:"-"` 2932} 2933 2934func (m *UpdateScanConfigRequest) Reset() { *m = UpdateScanConfigRequest{} } 2935func (m *UpdateScanConfigRequest) String() string { return proto.CompactTextString(m) } 2936func (*UpdateScanConfigRequest) ProtoMessage() {} 2937func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int) { 2938 return fileDescriptor_5ffce145f2f590bf, []int{34} 2939} 2940 2941func (m *UpdateScanConfigRequest) XXX_Unmarshal(b []byte) error { 2942 return xxx_messageInfo_UpdateScanConfigRequest.Unmarshal(m, b) 2943} 2944func (m *UpdateScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2945 return xxx_messageInfo_UpdateScanConfigRequest.Marshal(b, m, deterministic) 2946} 2947func (m *UpdateScanConfigRequest) XXX_Merge(src proto.Message) { 2948 xxx_messageInfo_UpdateScanConfigRequest.Merge(m, src) 2949} 2950func (m *UpdateScanConfigRequest) XXX_Size() int { 2951 return xxx_messageInfo_UpdateScanConfigRequest.Size(m) 2952} 2953func (m *UpdateScanConfigRequest) XXX_DiscardUnknown() { 2954 xxx_messageInfo_UpdateScanConfigRequest.DiscardUnknown(m) 2955} 2956 2957var xxx_messageInfo_UpdateScanConfigRequest proto.InternalMessageInfo 2958 2959func (m *UpdateScanConfigRequest) GetName() string { 2960 if m != nil { 2961 return m.Name 2962 } 2963 return "" 2964} 2965 2966func (m *UpdateScanConfigRequest) GetScanConfig() *ScanConfig { 2967 if m != nil { 2968 return m.ScanConfig 2969 } 2970 return nil 2971} 2972 2973func (m *UpdateScanConfigRequest) GetUpdateMask() *field_mask.FieldMask { 2974 if m != nil { 2975 return m.UpdateMask 2976 } 2977 return nil 2978} 2979 2980func init() { 2981 proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.Note_Kind", Note_Kind_name, Note_Kind_value) 2982 proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.Deployable_Deployment_Platform", Deployable_Deployment_Platform_name, Deployable_Deployment_Platform_value) 2983 proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.Discovery_Discovered_AnalysisStatus", Discovery_Discovered_AnalysisStatus_name, Discovery_Discovered_AnalysisStatus_value) 2984 proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.BuildSignature_KeyType", BuildSignature_KeyType_name, BuildSignature_KeyType_value) 2985 proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.PgpSignedAttestation_ContentType", PgpSignedAttestation_ContentType_name, PgpSignedAttestation_ContentType_value) 2986 proto.RegisterType((*Occurrence)(nil), "google.devtools.containeranalysis.v1alpha1.Occurrence") 2987 proto.RegisterType((*Resource)(nil), "google.devtools.containeranalysis.v1alpha1.Resource") 2988 proto.RegisterType((*Note)(nil), "google.devtools.containeranalysis.v1alpha1.Note") 2989 proto.RegisterType((*Note_RelatedUrl)(nil), "google.devtools.containeranalysis.v1alpha1.Note.RelatedUrl") 2990 proto.RegisterType((*Deployable)(nil), "google.devtools.containeranalysis.v1alpha1.Deployable") 2991 proto.RegisterType((*Deployable_Deployment)(nil), "google.devtools.containeranalysis.v1alpha1.Deployable.Deployment") 2992 proto.RegisterType((*Discovery)(nil), "google.devtools.containeranalysis.v1alpha1.Discovery") 2993 proto.RegisterType((*Discovery_Discovered)(nil), "google.devtools.containeranalysis.v1alpha1.Discovery.Discovered") 2994 proto.RegisterType((*BuildType)(nil), "google.devtools.containeranalysis.v1alpha1.BuildType") 2995 proto.RegisterType((*BuildSignature)(nil), "google.devtools.containeranalysis.v1alpha1.BuildSignature") 2996 proto.RegisterType((*PgpSignedAttestation)(nil), "google.devtools.containeranalysis.v1alpha1.PgpSignedAttestation") 2997 proto.RegisterType((*AttestationAuthority)(nil), "google.devtools.containeranalysis.v1alpha1.AttestationAuthority") 2998 proto.RegisterType((*AttestationAuthority_AttestationAuthorityHint)(nil), "google.devtools.containeranalysis.v1alpha1.AttestationAuthority.AttestationAuthorityHint") 2999 proto.RegisterType((*AttestationAuthority_Attestation)(nil), "google.devtools.containeranalysis.v1alpha1.AttestationAuthority.Attestation") 3000 proto.RegisterType((*BuildDetails)(nil), "google.devtools.containeranalysis.v1alpha1.BuildDetails") 3001 proto.RegisterType((*ScanConfig)(nil), "google.devtools.containeranalysis.v1alpha1.ScanConfig") 3002 proto.RegisterType((*GetOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetOccurrenceRequest") 3003 proto.RegisterType((*ListOccurrencesRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListOccurrencesRequest") 3004 proto.RegisterType((*ListOccurrencesResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListOccurrencesResponse") 3005 proto.RegisterType((*DeleteOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.DeleteOccurrenceRequest") 3006 proto.RegisterType((*CreateOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.CreateOccurrenceRequest") 3007 proto.RegisterType((*UpdateOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateOccurrenceRequest") 3008 proto.RegisterType((*GetNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetNoteRequest") 3009 proto.RegisterType((*GetOccurrenceNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetOccurrenceNoteRequest") 3010 proto.RegisterType((*ListNotesRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListNotesRequest") 3011 proto.RegisterType((*ListNotesResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListNotesResponse") 3012 proto.RegisterType((*DeleteNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.DeleteNoteRequest") 3013 proto.RegisterType((*CreateNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.CreateNoteRequest") 3014 proto.RegisterType((*UpdateNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateNoteRequest") 3015 proto.RegisterType((*ListNoteOccurrencesRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListNoteOccurrencesRequest") 3016 proto.RegisterType((*ListNoteOccurrencesResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListNoteOccurrencesResponse") 3017 proto.RegisterType((*CreateOperationRequest)(nil), "google.devtools.containeranalysis.v1alpha1.CreateOperationRequest") 3018 proto.RegisterType((*UpdateOperationRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateOperationRequest") 3019 proto.RegisterType((*OperationMetadata)(nil), "google.devtools.containeranalysis.v1alpha1.OperationMetadata") 3020 proto.RegisterType((*GetVulnzOccurrencesSummaryRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetVulnzOccurrencesSummaryRequest") 3021 proto.RegisterType((*GetVulnzOccurrencesSummaryResponse)(nil), "google.devtools.containeranalysis.v1alpha1.GetVulnzOccurrencesSummaryResponse") 3022 proto.RegisterType((*GetVulnzOccurrencesSummaryResponse_SeverityCount)(nil), "google.devtools.containeranalysis.v1alpha1.GetVulnzOccurrencesSummaryResponse.SeverityCount") 3023 proto.RegisterType((*GetScanConfigRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetScanConfigRequest") 3024 proto.RegisterType((*ListScanConfigsRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListScanConfigsRequest") 3025 proto.RegisterType((*ListScanConfigsResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListScanConfigsResponse") 3026 proto.RegisterType((*UpdateScanConfigRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateScanConfigRequest") 3027} 3028 3029func init() { 3030 proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/containeranalysis.proto", fileDescriptor_5ffce145f2f590bf) 3031} 3032 3033var fileDescriptor_5ffce145f2f590bf = []byte{ 3034 // 3256 bytes of a gzipped FileDescriptorProto 3035 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5b, 0xdb, 0x6f, 0x23, 0x57, 3036 0x19, 0xdf, 0xc9, 0xd5, 0xfe, 0x9c, 0x8b, 0x73, 0x36, 0xbb, 0xeb, 0x7a, 0x7b, 0x49, 0xa7, 0x94, 3037 0x6e, 0x53, 0x6a, 0x77, 0xd3, 0x96, 0xc2, 0x6e, 0x97, 0x5d, 0xc7, 0x76, 0x12, 0x37, 0x89, 0x63, 3038 0xcd, 0x38, 0x61, 0xd3, 0x96, 0x8e, 0xc6, 0xf6, 0x89, 0x33, 0x64, 0x3c, 0x33, 0xcc, 0x8c, 0xc3, 3039 0x66, 0x51, 0x25, 0x44, 0x0b, 0xa8, 0x12, 0x45, 0xe5, 0xfa, 0xc2, 0xa5, 0x52, 0x41, 0x95, 0x80, 3040 0x17, 0x5e, 0x78, 0x83, 0x17, 0x40, 0x3c, 0x01, 0x42, 0xe2, 0x19, 0xf1, 0x00, 0x0f, 0xfc, 0x0b, 3041 0x48, 0x3c, 0xa0, 0x73, 0xe6, 0x9c, 0x99, 0xf1, 0x25, 0x89, 0xc7, 0xde, 0x4a, 0x7d, 0xda, 0x39, 3042 0xdf, 0xf9, 0xce, 0x77, 0x3b, 0xdf, 0xf9, 0x9d, 0xef, 0x3b, 0xf1, 0xc2, 0x6a, 0xd3, 0x34, 0x9b, 3043 0x3a, 0xce, 0x36, 0xf0, 0xb1, 0x6b, 0x9a, 0xba, 0x93, 0xad, 0x9b, 0x86, 0xab, 0x6a, 0x06, 0xb6, 3044 0x55, 0x43, 0xd5, 0x4f, 0x1c, 0xcd, 0xc9, 0x1e, 0x5f, 0x57, 0x75, 0xeb, 0x50, 0xbd, 0xde, 0x3b, 3045 0x95, 0xb1, 0x6c, 0xd3, 0x35, 0xd1, 0xb2, 0x27, 0x23, 0xc3, 0x65, 0x64, 0x7a, 0x19, 0xb9, 0x8c, 3046 0xf4, 0xc3, 0x4c, 0x9f, 0x6a, 0x69, 0x59, 0xd5, 0x30, 0x4c, 0x57, 0x75, 0x35, 0xd3, 0x60, 0x92, 3047 0xd2, 0x51, 0xac, 0xa9, 0x69, 0xba, 0xae, 0x98, 0x07, 0x4a, 0x4b, 0x75, 0xb1, 0xad, 0xa9, 0x3a, 3048 0x97, 0xf1, 0x72, 0x04, 0x19, 0x5a, 0x4b, 0x6d, 0x62, 0xa5, 0xa6, 0xfa, 0xbe, 0xa4, 0xd7, 0x22, 3049 0xac, 0xb6, 0xd4, 0xfa, 0x11, 0x59, 0x7f, 0xdc, 0xd6, 0xc9, 0x7c, 0x4d, 0xd3, 0x35, 0xf7, 0x84, 3050 0xc9, 0xb9, 0x19, 0x45, 0x8e, 0x6d, 0x1e, 0x63, 0x43, 0x35, 0xea, 0x98, 0x2d, 0x7e, 0x94, 0x2d, 3051 0xd6, 0xd4, 0x56, 0xf6, 0xf8, 0x3a, 0xf9, 0x47, 0xb1, 0x4c, 0x5d, 0xab, 0x73, 0xe1, 0xe9, 0xce, 3052 0xf9, 0x8e, 0xb9, 0x27, 0xd8, 0x9c, 0x6e, 0x1a, 0x4d, 0xbb, 0x6d, 0x18, 0x9a, 0xd1, 0xcc, 0x9a, 3053 0x16, 0xb6, 0x3b, 0xe2, 0xfc, 0x10, 0x63, 0xa2, 0xa3, 0x5a, 0xfb, 0x20, 0xab, 0x1a, 0x7c, 0xfd, 3054 0xd5, 0xee, 0x29, 0xdc, 0xb2, 0x7c, 0xaf, 0x96, 0xba, 0x27, 0x0f, 0x34, 0xac, 0x37, 0x94, 0x96, 3055 0xea, 0x1c, 0x31, 0x8e, 0xc7, 0xba, 0x39, 0x5c, 0xad, 0x85, 0x1d, 0x57, 0x6d, 0x59, 0x8c, 0xe1, 3056 0x0a, 0x63, 0xb0, 0xad, 0x7a, 0xd6, 0x71, 0x55, 0xb7, 0xcd, 0x6c, 0x12, 0x7f, 0x16, 0x07, 0xd8, 3057 0xa9, 0xd7, 0xdb, 0xb6, 0x8d, 0x8d, 0x3a, 0x46, 0x08, 0x26, 0x0c, 0xb5, 0x85, 0x53, 0xc2, 0x92, 3058 0x70, 0x2d, 0x2e, 0xd1, 0x6f, 0xf4, 0x38, 0xcc, 0xd8, 0xd8, 0x31, 0xdb, 0x76, 0x1d, 0x2b, 0x6d, 3059 0x5b, 0x4f, 0x8d, 0xd1, 0xb9, 0x04, 0xa7, 0xed, 0xda, 0x3a, 0xaa, 0x40, 0x8c, 0x0f, 0x53, 0x0b, 3060 0x4b, 0xc2, 0xb5, 0xc4, 0xca, 0x0b, 0x99, 0xc1, 0xd3, 0x33, 0x23, 0xb1, 0xb5, 0x92, 0x2f, 0x05, 3061 0x5d, 0x85, 0xb8, 0x61, 0xba, 0x58, 0xa1, 0xd6, 0x8c, 0x53, 0x8d, 0x31, 0x42, 0x28, 0x13, 0x8b, 3062 0x4a, 0x30, 0x71, 0xa4, 0x19, 0x8d, 0xd4, 0xd4, 0x92, 0x70, 0x6d, 0x6e, 0xe5, 0xc5, 0x28, 0xaa, 3063 0xca, 0xa6, 0x8b, 0x33, 0x9b, 0x9a, 0xd1, 0x90, 0xa8, 0x08, 0xf4, 0x8e, 0x00, 0x97, 0x3a, 0x32, 3064 0x49, 0x69, 0x60, 0x57, 0xd5, 0x74, 0x27, 0x15, 0xa3, 0x7e, 0x48, 0x51, 0x84, 0xef, 0x85, 0x05, 3065 0x55, 0x4f, 0x2c, 0xdc, 0x49, 0x29, 0x78, 0x92, 0x37, 0x2e, 0x48, 0x8b, 0xc7, 0x7d, 0xe8, 0x48, 3066 0x81, 0xd9, 0x5a, 0x5b, 0xd3, 0x1b, 0xbe, 0x09, 0xd3, 0xd4, 0x84, 0xcf, 0x44, 0x31, 0x61, 0x95, 3067 0x08, 0x08, 0x14, 0xcd, 0xd4, 0x42, 0x63, 0x74, 0x00, 0xb3, 0x0d, 0x6c, 0x6b, 0xc7, 0xb8, 0xa1, 3068 0xd0, 0x33, 0x98, 0x4a, 0x50, 0x05, 0xb7, 0xa3, 0x28, 0x28, 0x98, 0xf5, 0x23, 0x6c, 0x97, 0xc8, 3069 0xf2, 0x4c, 0xc1, 0x13, 0x46, 0xf4, 0x30, 0xb9, 0x94, 0x8e, 0x5a, 0x30, 0xa3, 0x19, 0x8e, 0xab, 3070 0xea, 0x3a, 0xcd, 0xff, 0xd4, 0x0c, 0x55, 0xb3, 0x1e, 0x45, 0x4d, 0xc5, 0x3b, 0xe5, 0xdb, 0xaa, 3071 0xa1, 0x36, 0xb1, 0x9d, 0x29, 0x85, 0xc4, 0x11, 0x75, 0x61, 0xf1, 0xa8, 0x0e, 0xd0, 0xc0, 0x96, 3072 0x6e, 0x9e, 0xb4, 0xb0, 0xe1, 0xa6, 0xe6, 0xa8, 0xb2, 0x5c, 0x24, 0x9f, 0xe8, 0x6a, 0xb5, 0xa6, 3073 0x63, 0xf6, 0x49, 0x04, 0x6d, 0x5c, 0x90, 0x42, 0x62, 0x51, 0x0d, 0xa0, 0xa1, 0x39, 0x75, 0xf3, 3074 0x18, 0xdb, 0xb8, 0x91, 0x9a, 0xa7, 0x4a, 0xee, 0x44, 0x52, 0xc2, 0x56, 0x9f, 0xf8, 0x5f, 0x34, 3075 0x72, 0x21, 0xa9, 0xc8, 0x82, 0x84, 0xea, 0xba, 0xe4, 0xe0, 0xd2, 0xb0, 0x25, 0xa9, 0x92, 0xad, 3076 0x28, 0x4a, 0x72, 0xc1, 0xf2, 0x5c, 0xdb, 0x3d, 0x34, 0x6d, 0x82, 0x8d, 0x21, 0xe2, 0xc6, 0x05, 3077 0x29, 0xac, 0x02, 0x2d, 0x41, 0xc2, 0xc6, 0x2d, 0xdc, 0xd0, 0x3c, 0x8d, 0x93, 0xfc, 0x68, 0xfb, 3078 0x24, 0x74, 0x13, 0x12, 0x75, 0x1b, 0xab, 0x2e, 0x56, 0x08, 0xa6, 0xa4, 0xe2, 0xd4, 0xa6, 0x34, 3079 0xb7, 0x89, 0x03, 0x4e, 0xa6, 0xca, 0x01, 0x47, 0x02, 0x8f, 0x9d, 0x10, 0xc8, 0xe2, 0xb6, 0xd5, 3080 0xf0, 0x17, 0xc3, 0xf9, 0x8b, 0x3d, 0x76, 0x42, 0x58, 0x8d, 0xc3, 0x34, 0x3b, 0x08, 0xe2, 0xd7, 3081 0x05, 0x88, 0x71, 0x90, 0xe8, 0x8b, 0x51, 0x49, 0x18, 0x6f, 0xdb, 0x1a, 0x83, 0x26, 0xf2, 0x89, 3082 0x64, 0x98, 0x21, 0x71, 0xc2, 0x86, 0xab, 0x1c, 0xaa, 0xce, 0x21, 0xc5, 0x90, 0xc4, 0xca, 0x73, 3083 0x51, 0x82, 0xb9, 0xa1, 0x3a, 0x87, 0x52, 0x82, 0x49, 0x21, 0x03, 0xf1, 0x7f, 0x00, 0x13, 0x04, 3084 0x41, 0xfa, 0xda, 0xf0, 0x0c, 0x2c, 0x38, 0x87, 0xa6, 0xed, 0x2a, 0x0d, 0xec, 0xd4, 0x6d, 0xcd, 3085 0xa2, 0x11, 0xf5, 0xa0, 0x2b, 0x49, 0x27, 0x0a, 0x01, 0x1d, 0x3d, 0x0d, 0x49, 0x72, 0x57, 0x74, 3086 0xf0, 0x4e, 0x50, 0xde, 0x79, 0x42, 0x0f, 0xb3, 0x72, 0xb4, 0x8b, 0x8f, 0x8e, 0x76, 0x06, 0xa0, 3087 0x4e, 0xb0, 0x73, 0x4f, 0x2c, 0x4c, 0x61, 0x34, 0xb1, 0x72, 0x6b, 0x24, 0xa4, 0xdb, 0xb8, 0x20, 3088 0x2d, 0x1c, 0x77, 0x13, 0xd1, 0x1e, 0x80, 0x87, 0x68, 0x54, 0x8f, 0x87, 0xa8, 0x2f, 0x46, 0x86, 3089 0x33, 0x26, 0x3f, 0x5e, 0xe3, 0x03, 0xf4, 0x06, 0x40, 0x4d, 0x75, 0x30, 0x43, 0xb1, 0xd9, 0xe8, 3090 0xf6, 0x87, 0x51, 0x6c, 0x95, 0x14, 0x22, 0x54, 0xbe, 0xea, 0x60, 0x0f, 0xc0, 0xde, 0x80, 0x69, 3091 0x56, 0x66, 0x30, 0x38, 0x59, 0x1d, 0x01, 0xbb, 0xd8, 0x70, 0xe3, 0x82, 0xc4, 0x85, 0xa2, 0xbb, 3092 0x1c, 0xb1, 0x08, 0xe6, 0xb0, 0x1b, 0xf3, 0xd3, 0xc3, 0x21, 0x56, 0x00, 0x53, 0x64, 0x84, 0x76, 3093 0x21, 0xce, 0x01, 0xe5, 0x24, 0x85, 0xa2, 0x07, 0xdc, 0x47, 0x29, 0x12, 0x10, 0x5f, 0x12, 0xfa, 3094 0x32, 0x5c, 0x0a, 0xc1, 0x86, 0xa2, 0x72, 0x6c, 0x49, 0x5d, 0x8c, 0x0e, 0x84, 0xfd, 0x30, 0x8a, 3095 0xdc, 0x89, 0x6a, 0x1f, 0x3a, 0x7a, 0x9d, 0x00, 0x94, 0xae, 0xba, 0xb8, 0x41, 0x6b, 0x8f, 0xe9, 3096 0xa5, 0xf1, 0x6b, 0x89, 0x95, 0x9b, 0x91, 0xcf, 0x80, 0xe4, 0xc9, 0xd8, 0xb5, 0x75, 0x09, 0x6c, 3097 0xff, 0x1b, 0xe5, 0x61, 0x1e, 0xdf, 0xb3, 0x34, 0xaf, 0x4c, 0x1b, 0x14, 0xa3, 0xe6, 0x82, 0x25, 3098 0x1c, 0xe4, 0xc2, 0x08, 0x99, 0x18, 0x05, 0x21, 0x67, 0xa2, 0x20, 0x64, 0xfa, 0x05, 0x80, 0xc0, 3099 0x31, 0x0f, 0x03, 0x75, 0x06, 0x49, 0xe4, 0x13, 0x2d, 0xc2, 0xa4, 0xae, 0xd6, 0x30, 0x2f, 0xd9, 3100 0xbc, 0x81, 0xf8, 0x4b, 0x01, 0x26, 0x08, 0x26, 0xa0, 0x45, 0x48, 0x6e, 0x96, 0xca, 0x05, 0x65, 3101 0xb7, 0x2c, 0x57, 0x8a, 0xf9, 0xd2, 0x5a, 0xa9, 0x58, 0x48, 0x5e, 0x40, 0x0f, 0xc1, 0xa5, 0x4a, 3102 0x2e, 0xbf, 0x99, 0x5b, 0x2f, 0x2a, 0x7b, 0xbb, 0x5b, 0xe5, 0xa2, 0x94, 0x5b, 0x2d, 0x6d, 0x95, 3103 0xaa, 0xfb, 0xc9, 0x31, 0xb4, 0x00, 0xb3, 0xab, 0xbb, 0xa5, 0xad, 0x82, 0x52, 0x28, 0x56, 0x73, 3104 0xa5, 0x2d, 0x39, 0x39, 0x8e, 0xe6, 0x21, 0x51, 0xda, 0x26, 0xbc, 0xab, 0x39, 0xb9, 0x24, 0x27, 3105 0x27, 0xd0, 0x45, 0x98, 0xe7, 0xcb, 0xb7, 0x73, 0xe5, 0xdc, 0x7a, 0x51, 0x4a, 0x4e, 0xa2, 0x39, 3106 0x80, 0x42, 0xb1, 0xb2, 0xb5, 0xb3, 0x9f, 0x5b, 0xdd, 0x2a, 0x26, 0xa7, 0xd0, 0x2c, 0xc4, 0x0b, 3107 0x25, 0x39, 0xbf, 0xb3, 0x57, 0x94, 0xf6, 0x93, 0xd3, 0x44, 0x65, 0xae, 0x5a, 0x2d, 0xca, 0xd5, 3108 0x5c, 0xb5, 0xb4, 0x53, 0x56, 0x72, 0xbb, 0xd5, 0x8d, 0x1d, 0x89, 0xa8, 0x8c, 0xad, 0x26, 0x58, 3109 0x1d, 0x48, 0x00, 0x44, 0xfc, 0xc7, 0x38, 0x40, 0x90, 0xf9, 0x5d, 0x85, 0xa9, 0x96, 0x12, 0x96, 3110 0xc6, 0x3b, 0x0b, 0x53, 0x2d, 0xfd, 0x2b, 0x7f, 0x05, 0xbd, 0xc4, 0x1f, 0x01, 0x68, 0x3b, 0xd8, 3111 0x56, 0x70, 0x4b, 0xd5, 0x78, 0xa4, 0xe2, 0x84, 0x52, 0x24, 0x04, 0xb2, 0x19, 0xde, 0x51, 0xf2, 3112 0x36, 0x63, 0xec, 0xfc, 0xcd, 0xf0, 0xd8, 0xe9, 0x4e, 0xde, 0x86, 0xd9, 0xb6, 0x11, 0x5e, 0x3e, 3113 0x7e, 0xee, 0xf2, 0x19, 0xbe, 0x80, 0x0a, 0xb8, 0x0c, 0x53, 0x75, 0xd3, 0x38, 0xd0, 0x9a, 0x14, 3114 0x28, 0xe3, 0x12, 0x1b, 0xa1, 0x14, 0x4c, 0xab, 0x8d, 0x86, 0x8d, 0x1d, 0x87, 0xdd, 0xcf, 0x7c, 3115 0xd8, 0x13, 0x80, 0xa9, 0x9e, 0x00, 0xa0, 0x03, 0x88, 0x59, 0xba, 0xea, 0x1e, 0x98, 0x76, 0x8b, 3116 0x96, 0x93, 0x73, 0x2b, 0xaf, 0x8c, 0x5c, 0x19, 0x65, 0x2a, 0x4c, 0xa2, 0xe4, 0xcb, 0x16, 0xf3, 3117 0x10, 0xe3, 0x54, 0x94, 0x82, 0xc5, 0xca, 0x56, 0xae, 0xba, 0xb6, 0x23, 0x6d, 0x77, 0xe5, 0xd6, 3118 0x34, 0x8c, 0xaf, 0x6f, 0x16, 0x93, 0x02, 0x8a, 0xc1, 0xc4, 0xda, 0x56, 0xf1, 0x6e, 0x72, 0x0c, 3119 0x01, 0x4c, 0xe5, 0x77, 0xe5, 0xea, 0xce, 0x76, 0x72, 0x5c, 0x7c, 0x67, 0x02, 0xe2, 0x3e, 0x00, 3120 0xa1, 0x57, 0x61, 0x96, 0x1b, 0xa4, 0xd0, 0x0b, 0x50, 0x18, 0xe5, 0x02, 0x9c, 0xe1, 0x93, 0x64, 3121 0x94, 0x7e, 0x9f, 0xe4, 0x45, 0x50, 0x78, 0xdd, 0x84, 0xb8, 0xdf, 0xad, 0x51, 0x35, 0x89, 0x95, 3122 0x47, 0xb8, 0x9a, 0x50, 0x4b, 0x97, 0xd9, 0xe1, 0x4c, 0x52, 0xc0, 0x8f, 0xee, 0xc1, 0xbc, 0x6f, 3123 0xa7, 0xd7, 0x5b, 0xd1, 0x7d, 0x9a, 0x5b, 0xd9, 0x19, 0xb5, 0x3c, 0xcc, 0xe4, 0x18, 0x9b, 0x4c, 3124 0xc5, 0x4a, 0x73, 0x6a, 0xc7, 0x18, 0xad, 0xc1, 0xa5, 0x2e, 0xcd, 0x0a, 0xb6, 0x6d, 0xd3, 0x66, 3125 0x37, 0x3a, 0xe2, 0xfa, 0x6d, 0xab, 0x9e, 0x61, 0x22, 0x2e, 0x76, 0x8a, 0x28, 0x12, 0x76, 0xf1, 3126 0x3b, 0x02, 0xcc, 0x75, 0xaa, 0x42, 0x8f, 0xc1, 0xd5, 0x5c, 0x39, 0xb7, 0xb5, 0x2f, 0x97, 0x64, 3127 0x85, 0x9c, 0xcb, 0x5d, 0xb9, 0x6b, 0x2b, 0x13, 0x30, 0x5d, 0x29, 0x96, 0x0b, 0xa5, 0xf2, 0x7a, 3128 0x52, 0x40, 0x33, 0x10, 0x93, 0xf3, 0xb9, 0x72, 0x99, 0x8c, 0xc6, 0x08, 0xae, 0xac, 0x95, 0xca, 3129 0x25, 0x79, 0xa3, 0x58, 0x50, 0xe4, 0xdd, 0x7c, 0xbe, 0x28, 0x13, 0xa4, 0xb8, 0x08, 0xf3, 0x3e, 3130 0x75, 0x2d, 0x57, 0xda, 0x2a, 0x16, 0x92, 0x13, 0x24, 0x55, 0x76, 0xcb, 0xf2, 0x6e, 0xa5, 0xb2, 3131 0x23, 0x55, 0x8b, 0x05, 0x45, 0x2a, 0xca, 0x3b, 0xbb, 0x52, 0xbe, 0x98, 0x9c, 0x14, 0xbf, 0x2d, 3132 0x40, 0xdc, 0xbf, 0xfd, 0xd1, 0x53, 0x30, 0x4f, 0x6f, 0x7f, 0x6c, 0x2b, 0xc7, 0xd8, 0x76, 0xf8, 3133 0x36, 0xc5, 0xa5, 0x39, 0x46, 0xde, 0xf3, 0xa8, 0xe8, 0x2e, 0xc4, 0x1d, 0xad, 0x69, 0xa8, 0x6e, 3134 0xdb, 0xe6, 0x07, 0xf8, 0x46, 0xe4, 0x82, 0x43, 0xe6, 0x12, 0xa4, 0x40, 0x98, 0xf8, 0xee, 0x18, 3135 0xcc, 0x75, 0xce, 0x12, 0x38, 0xb1, 0xda, 0x35, 0x5d, 0xab, 0x2b, 0x47, 0xf8, 0x84, 0xc3, 0x89, 3136 0x47, 0xd9, 0xc4, 0x27, 0xe8, 0xe1, 0x6e, 0x5b, 0xe2, 0x21, 0x79, 0xe8, 0x12, 0x4c, 0x1d, 0xe1, 3137 0x13, 0x45, 0x6b, 0xb0, 0x1a, 0x71, 0xf2, 0x08, 0x9f, 0x94, 0x1a, 0xe8, 0x0b, 0x10, 0x23, 0x64, 3138 0x5a, 0x30, 0x4d, 0xd0, 0x34, 0x5a, 0x1d, 0xde, 0xfe, 0xcc, 0x26, 0xa6, 0x85, 0x98, 0x34, 0x7d, 3139 0xe4, 0x7d, 0x88, 0x1b, 0x30, 0xcd, 0x68, 0x24, 0xf6, 0x9b, 0xc5, 0x7d, 0xa5, 0xba, 0x5f, 0x29, 3140 0x76, 0xed, 0xed, 0x25, 0x58, 0xa8, 0xac, 0x57, 0x94, 0x9c, 0x9c, 0x2f, 0x95, 0x94, 0x9c, 0xb4, 3141 0xbd, 0x23, 0x15, 0x0b, 0xde, 0x2e, 0x57, 0x36, 0x4b, 0x77, 0x95, 0x4a, 0x71, 0x3b, 0x39, 0x26, 3142 0xfe, 0x60, 0x0c, 0x16, 0x2b, 0x4d, 0x8b, 0xe8, 0xc2, 0x8d, 0xd0, 0x9d, 0xde, 0xe9, 0xb6, 0xd0, 3143 0xed, 0xb6, 0x19, 0xd4, 0xe5, 0xd4, 0xc7, 0x71, 0xea, 0x63, 0xa4, 0x26, 0xa7, 0x9f, 0xd6, 0x4c, 3144 0xde, 0x13, 0x4a, 0xbd, 0xe5, 0x35, 0x3b, 0x75, 0xf3, 0x51, 0x00, 0xab, 0x69, 0x29, 0x2c, 0xd6, 3145 0x74, 0x1b, 0x36, 0x2e, 0x48, 0x31, 0xab, 0x69, 0x6d, 0x92, 0x80, 0x8b, 0x05, 0x48, 0x84, 0xd6, 3146 0xa2, 0x87, 0x21, 0x95, 0xdf, 0x29, 0x57, 0x8b, 0xe5, 0x6a, 0xbf, 0xc8, 0x5c, 0x81, 0x8b, 0x72, 3147 0x69, 0xbb, 0xb2, 0x55, 0x54, 0xe4, 0xd2, 0x3a, 0x49, 0x77, 0xe5, 0x15, 0x79, 0xa7, 0x9c, 0x14, 3148 0x56, 0x63, 0x7c, 0x37, 0xc5, 0xff, 0x8c, 0xc1, 0x62, 0xbf, 0x12, 0x07, 0xb5, 0x60, 0xe2, 0x50, 3149 0x33, 0x5c, 0x86, 0x2f, 0xfb, 0x0f, 0xb2, 0xad, 0x0b, 0xea, 0x28, 0xcd, 0x70, 0x25, 0xaa, 0x26, 3150 0xfd, 0x0a, 0xa4, 0x4e, 0xe3, 0x40, 0x19, 0xb8, 0x78, 0xd8, 0x6e, 0xa9, 0x86, 0x62, 0x63, 0xb5, 3151 0x41, 0xd0, 0x5d, 0x09, 0x75, 0x33, 0x0b, 0x74, 0x4a, 0x62, 0x33, 0x65, 0xb5, 0x85, 0xd3, 0xdf, 3152 0x17, 0x20, 0x11, 0xde, 0xe2, 0x7b, 0x70, 0x99, 0xc4, 0xd4, 0xa1, 0xbb, 0xa0, 0x84, 0x7b, 0x56, 3153 0x21, 0x7a, 0x3d, 0xd8, 0x6f, 0x3b, 0x49, 0x3d, 0x68, 0xf5, 0xa1, 0x93, 0x7a, 0x20, 0x38, 0x92, 3154 0x3f, 0x14, 0x60, 0x26, 0xfc, 0xe0, 0x81, 0x5e, 0x03, 0x08, 0x9e, 0xf5, 0x98, 0x2d, 0x37, 0x23, 3155 0x1f, 0x9f, 0x8a, 0x2f, 0x42, 0x0a, 0x89, 0x23, 0x2d, 0x5b, 0x30, 0x52, 0x6a, 0x27, 0x2e, 0x76, 3156 0xd8, 0xa9, 0x9e, 0x0f, 0xe8, 0xab, 0x84, 0x2c, 0xbe, 0x0e, 0x20, 0xd7, 0x55, 0x23, 0xef, 0x5d, 3157 0xe0, 0xfd, 0x9a, 0xc5, 0x25, 0x52, 0x6a, 0x04, 0xad, 0x1f, 0x7b, 0x53, 0x0b, 0x91, 0xc8, 0xb5, 3158 0x8f, 0x0d, 0xb2, 0x03, 0x1e, 0x40, 0xc4, 0x24, 0x3e, 0x14, 0x97, 0x61, 0x71, 0x1d, 0xbb, 0xc1, 3159 0xab, 0x9d, 0x84, 0xbf, 0xd4, 0xc6, 0x8e, 0xdb, 0x4f, 0x8f, 0xf8, 0x2f, 0x01, 0x2e, 0x6f, 0x69, 3160 0x4e, 0x88, 0xdb, 0x39, 0x83, 0x9d, 0xd4, 0x20, 0x96, 0x6a, 0x63, 0xc3, 0x65, 0xa5, 0x06, 0x1b, 3161 0x11, 0xfa, 0x81, 0xa6, 0xbb, 0xd8, 0x66, 0x96, 0xb2, 0x11, 0xba, 0x0a, 0x71, 0x4b, 0x6d, 0x62, 3162 0xc5, 0xd1, 0xee, 0x7b, 0x47, 0x79, 0x52, 0x8a, 0x11, 0x82, 0xac, 0xdd, 0xf7, 0xe0, 0x91, 0x4c, 3163 0xba, 0xe6, 0x11, 0xe6, 0xdd, 0x2d, 0x65, 0xaf, 0x12, 0xc2, 0x03, 0x7c, 0xc5, 0x13, 0x7f, 0x24, 3164 0xc0, 0x95, 0x1e, 0x2f, 0x1d, 0xcb, 0x34, 0x1c, 0xd2, 0x6b, 0x25, 0xcc, 0x80, 0x4c, 0x8b, 0xc4, 3165 0x88, 0xcd, 0x56, 0x28, 0xd2, 0x61, 0x51, 0xe8, 0x93, 0x30, 0x6f, 0xe0, 0x7b, 0xae, 0x12, 0x72, 3166 0xd2, 0x8b, 0xce, 0x2c, 0x21, 0x57, 0xb8, 0xa3, 0xe2, 0xb3, 0x70, 0xa5, 0x80, 0x75, 0xec, 0xe2, 3167 0xc1, 0xb6, 0xec, 0x27, 0x02, 0x5c, 0xc9, 0xd3, 0x0e, 0x61, 0x20, 0xfe, 0xd0, 0x9e, 0x8d, 0x77, 3168 0xec, 0xd9, 0x1e, 0x40, 0x60, 0x2d, 0xbb, 0x0b, 0x87, 0xf5, 0x3b, 0x24, 0x49, 0xfc, 0xbd, 0x00, 3169 0x57, 0x76, 0x69, 0x13, 0x32, 0x98, 0x7d, 0x1f, 0x91, 0x1d, 0xa1, 0xd6, 0xa9, 0xa5, 0x3a, 0x47, 3170 0xa7, 0x96, 0xdb, 0x6b, 0x1a, 0xd6, 0x1b, 0xdb, 0xaa, 0x73, 0xc4, 0x5b, 0x27, 0xf2, 0x2d, 0x7e, 3171 0x02, 0xe6, 0xd6, 0xb1, 0x4b, 0xf2, 0xe8, 0xac, 0xad, 0xc8, 0x40, 0xaa, 0xe3, 0xa4, 0x9d, 0xc7, 3172 0xff, 0x5d, 0x01, 0x92, 0x24, 0x0f, 0x09, 0xdf, 0xc7, 0xe5, 0x9c, 0x89, 0x6f, 0x09, 0xb0, 0x10, 3173 0x32, 0x8a, 0x1d, 0x8b, 0x35, 0x98, 0x24, 0x8d, 0x15, 0x3f, 0x10, 0xcf, 0x45, 0x3d, 0x7e, 0x92, 3174 0xb7, 0x7c, 0xe0, 0x43, 0xf0, 0x14, 0x2c, 0x78, 0x87, 0xe0, 0xbc, 0x18, 0xfe, 0x54, 0x80, 0x05, 3175 0x2f, 0xfd, 0xcf, 0xe1, 0x0c, 0x05, 0x71, 0xa2, 0x23, 0x88, 0x57, 0x60, 0x9a, 0xf6, 0x8c, 0xfc, 3176 0xba, 0x97, 0xa6, 0xc8, 0xb0, 0xd4, 0x40, 0x05, 0x98, 0x20, 0x5f, 0xc3, 0xbc, 0x05, 0x52, 0x5b, 3177 0xe8, 0x6a, 0xd2, 0x3f, 0x2f, 0x78, 0xf9, 0x7f, 0x9e, 0x81, 0x5c, 0xdf, 0xd8, 0x28, 0xfa, 0x46, 3178 0xcb, 0xf3, 0xb7, 0x05, 0x48, 0xf3, 0xcd, 0x1f, 0xfc, 0x0e, 0x78, 0xe0, 0x39, 0xf8, 0xbe, 0x00, 3179 0x57, 0xfb, 0x9a, 0xf1, 0xb1, 0x01, 0xe9, 0xf7, 0x04, 0xb8, 0xcc, 0x50, 0xd7, 0x6f, 0xf2, 0x58, 3180 0x90, 0x82, 0x3c, 0x13, 0x3a, 0xf2, 0xec, 0x71, 0x98, 0xf1, 0xbb, 0xc0, 0x20, 0xd9, 0x12, 0x3e, 3181 0xad, 0xd4, 0xd5, 0x58, 0x8e, 0x47, 0x6b, 0x2c, 0xc5, 0x0f, 0x05, 0xb8, 0xcc, 0x80, 0xb6, 0xdb, 3182 0xa4, 0x7e, 0xfb, 0x36, 0x8a, 0xae, 0xee, 0x24, 0x9b, 0x88, 0x94, 0x64, 0xdf, 0x14, 0x60, 0xc1, 3183 0x97, 0xba, 0x8d, 0x5d, 0xb5, 0xa1, 0xba, 0x6a, 0xf7, 0xbb, 0x98, 0x10, 0xe9, 0x5d, 0xec, 0x45, 3184 0x88, 0x61, 0xa3, 0x31, 0xe8, 0x3b, 0xcc, 0x34, 0x36, 0x1a, 0x64, 0x24, 0xca, 0xf0, 0xf8, 0x3a, 3185 0x76, 0xf7, 0xda, 0xba, 0x71, 0x3f, 0x94, 0x66, 0x72, 0xbb, 0xd5, 0x52, 0xed, 0x93, 0xf3, 0xf6, 3186 0xf3, 0x94, 0xc4, 0x17, 0x3f, 0x1c, 0x03, 0xf1, 0x2c, 0xa9, 0x2c, 0x87, 0x5d, 0x98, 0xaa, 0x9b, 3187 0x6d, 0xc3, 0xe5, 0xe9, 0xfb, 0x7a, 0x94, 0xf4, 0x3d, 0x5f, 0x7e, 0x46, 0xc6, 0xc7, 0x98, 0x54, 3188 0xf0, 0x79, 0xa2, 0x44, 0x62, 0xba, 0xd2, 0xef, 0x08, 0x30, 0xdb, 0x31, 0x83, 0x6a, 0x10, 0x73, 3189 0x18, 0x81, 0x3d, 0x99, 0xac, 0x8d, 0xf6, 0x47, 0x4c, 0x2e, 0x5e, 0xf2, 0xe5, 0xa2, 0x45, 0x98, 3190 0xa4, 0xfa, 0x69, 0xa4, 0xc6, 0x25, 0x6f, 0xc0, 0x0a, 0xd3, 0xa0, 0xf2, 0x3d, 0x0b, 0xe6, 0xdf, 3191 0x66, 0x85, 0x69, 0xc0, 0xed, 0x0c, 0xb9, 0x3f, 0x23, 0x01, 0xd3, 0x8f, 0x59, 0xe5, 0xd8, 0x61, 3192 0x06, 0xdb, 0xd0, 0x7d, 0x98, 0x71, 0xea, 0xaa, 0xa1, 0x78, 0xef, 0x70, 0x43, 0xa1, 0x52, 0x28, 3193 0x16, 0x09, 0x27, 0x50, 0x31, 0x30, 0x2a, 0xfd, 0xc1, 0xaf, 0xb5, 0x06, 0x8a, 0x2a, 0xfa, 0x3c, 3194 0x24, 0x42, 0x26, 0x0f, 0x53, 0x6c, 0x85, 0xf4, 0x40, 0x60, 0xf1, 0x48, 0x97, 0xd0, 0xca, 0x9f, 3195 0x96, 0x60, 0x21, 0xcf, 0x55, 0xf2, 0x87, 0x26, 0xf4, 0x5b, 0x01, 0x66, 0x3b, 0xaa, 0x2b, 0x74, 3196 0x27, 0xe2, 0x89, 0xe9, 0xa9, 0x3f, 0xd3, 0x43, 0x5e, 0x19, 0xe2, 0xf5, 0xaf, 0xfd, 0xfd, 0xdf, 3197 0xdf, 0x1b, 0x7b, 0x06, 0x3d, 0x1d, 0xfc, 0x3e, 0xe4, 0x2b, 0x24, 0xa0, 0xb7, 0x2c, 0xdb, 0xfc, 3198 0x22, 0xae, 0xbb, 0x4e, 0x76, 0x39, 0x1b, 0xba, 0x55, 0xb2, 0xcb, 0x6f, 0xa2, 0xbf, 0x08, 0x30, 3199 0xdf, 0xd5, 0x73, 0xa0, 0x48, 0x4f, 0x35, 0xfd, 0xdb, 0xb2, 0x74, 0x7e, 0x24, 0x19, 0x5e, 0xea, 3200 0xf6, 0xf5, 0xc7, 0x3b, 0x45, 0x21, 0x8f, 0xde, 0x0c, 0xbb, 0x84, 0x3e, 0x10, 0x20, 0xd9, 0xdd, 3201 0xa6, 0xa0, 0x7c, 0xb4, 0xc7, 0xe2, 0xbe, 0x4d, 0x4e, 0xfa, 0x72, 0x4f, 0x9a, 0x14, 0x5b, 0x96, 3202 0x7b, 0xc2, 0x8d, 0x5c, 0x8e, 0x10, 0xf4, 0xbf, 0x0a, 0x90, 0xec, 0xee, 0x8d, 0xa2, 0x19, 0x79, 3203 0x4a, 0x67, 0x35, 0x74, 0xe6, 0xdc, 0xa2, 0x4e, 0xbc, 0x24, 0x0e, 0x1e, 0xe9, 0x1b, 0xe1, 0x26, 3204 0x86, 0x38, 0xd4, 0xdd, 0x4c, 0x45, 0x73, 0xe8, 0x94, 0x56, 0x6c, 0x54, 0x87, 0x56, 0x06, 0xdf, 3205 0x95, 0x0e, 0x87, 0xfe, 0x28, 0xc0, 0x42, 0x4f, 0xcf, 0x84, 0x0a, 0x43, 0x9f, 0xec, 0x50, 0x8d, 3206 0x9d, 0x8e, 0x5c, 0x41, 0x8b, 0x2f, 0x51, 0x67, 0xae, 0xa3, 0xec, 0xc0, 0xce, 0x64, 0xbd, 0xb6, 3207 0xe6, 0xe7, 0x02, 0x4c, 0xb3, 0x06, 0x11, 0xdd, 0x88, 0x68, 0xfc, 0x68, 0x26, 0x3f, 0x43, 0x4d, 3208 0x7e, 0x12, 0x3d, 0x71, 0x86, 0xc9, 0xd4, 0x46, 0x72, 0x1e, 0x7e, 0x23, 0x40, 0xdc, 0xef, 0xed, 3209 0xd0, 0xcb, 0x51, 0xa1, 0x23, 0xdc, 0xa7, 0xa6, 0x6f, 0x0d, 0xb9, 0x9a, 0x41, 0x4e, 0x3f, 0xbb, 3210 0xfb, 0x1c, 0x04, 0x2f, 0xbc, 0xef, 0x09, 0x00, 0x41, 0x3b, 0x88, 0x6e, 0x45, 0x87, 0x99, 0x70, 3211 0x90, 0x4f, 0x03, 0x18, 0x66, 0xd2, 0xf2, 0x40, 0xa1, 0xfc, 0xb5, 0x00, 0x10, 0xf4, 0x9d, 0xd1, 3212 0x4c, 0xea, 0xe9, 0x57, 0x87, 0xd8, 0x77, 0x86, 0x86, 0xe2, 0x20, 0xf1, 0xbb, 0xe1, 0x75, 0x86, 3213 0xc4, 0xe4, 0xa0, 0x13, 0x8d, 0x66, 0x72, 0x4f, 0x07, 0x3b, 0xbc, 0xc9, 0x2b, 0x83, 0xc4, 0x97, 3214 0x99, 0xfc, 0x4f, 0x01, 0x2e, 0xf6, 0x69, 0x04, 0xd1, 0xda, 0x30, 0xc9, 0xd7, 0xe7, 0xf6, 0x5c, 3215 0x1f, 0x59, 0x0e, 0x4b, 0xe7, 0x41, 0x90, 0x83, 0xfb, 0xd6, 0x71, 0x8f, 0xbe, 0x35, 0x06, 0xe9, 3216 0xd3, 0xab, 0x79, 0xb4, 0xfd, 0xa0, 0xba, 0x02, 0xcf, 0xdf, 0xf2, 0x83, 0x6d, 0x32, 0xc4, 0x35, 3217 0xea, 0xf6, 0x1d, 0xf4, 0xb9, 0xc1, 0xaf, 0xb3, 0x8e, 0x9f, 0xfd, 0x70, 0x37, 0xff, 0x2c, 0xc0, 3218 0x8c, 0x8c, 0xdd, 0x92, 0xda, 0xaa, 0xd0, 0xdf, 0xc9, 0x22, 0x91, 0x1b, 0xaa, 0xa9, 0xad, 0xcc, 3219 0xf1, 0xf5, 0x4c, 0x78, 0x92, 0x3b, 0x73, 0xa9, 0x8b, 0xc7, 0x9b, 0x15, 0xbf, 0x2a, 0x50, 0xa3, 3220 0xee, 0x8b, 0x2f, 0x84, 0x8c, 0xe2, 0x7f, 0xe4, 0xee, 0x9b, 0x6b, 0x4e, 0x48, 0xf8, 0x0d, 0x61, 3221 0xf9, 0xd5, 0xdb, 0xe2, 0x8d, 0x73, 0x96, 0x76, 0xdd, 0x68, 0x5d, 0x02, 0xa8, 0x3b, 0xeb, 0x67, 3222 0xb9, 0xb3, 0xfe, 0x51, 0xba, 0xd3, 0x1c, 0xd5, 0x9d, 0x2e, 0x01, 0xe8, 0xbf, 0x02, 0xa0, 0x2a, 3223 0x76, 0x28, 0x11, 0xdb, 0x2d, 0xcd, 0x71, 0x34, 0xd3, 0x70, 0xd0, 0xb5, 0x2e, 0x83, 0x7b, 0x59, 3224 0xb8, 0x6b, 0x4f, 0x0f, 0xc0, 0xc9, 0x32, 0xea, 0x5d, 0xcf, 0xdd, 0x6f, 0x08, 0xe7, 0x1a, 0xed, 3225 0xfb, 0xeb, 0xf6, 0x48, 0x23, 0x5e, 0x17, 0xc5, 0x3b, 0xd1, 0xbc, 0xee, 0x2b, 0x06, 0xfd, 0x42, 3226 0x80, 0xf9, 0xae, 0x87, 0x9e, 0x68, 0x75, 0x7b, 0xff, 0x57, 0xa2, 0xf4, 0xd9, 0x6f, 0x2d, 0xe2, 3227 0xf3, 0x34, 0x0a, 0xcf, 0x8a, 0xd7, 0xce, 0x39, 0x58, 0xfe, 0x8f, 0xc6, 0xb9, 0xad, 0x5d, 0x2f, 3228 0x40, 0xd1, 0x6c, 0xed, 0xff, 0x7c, 0x34, 0xa0, 0xad, 0x2b, 0xd7, 0xce, 0xaa, 0x9a, 0x7c, 0x43, 3229 0x49, 0xa8, 0x85, 0x65, 0xf4, 0x3b, 0xaf, 0x9d, 0x0b, 0xfd, 0xdd, 0x2b, 0x6a, 0x3b, 0xd7, 0xd3, 3230 0xe2, 0xa6, 0x87, 0xec, 0x5c, 0xc5, 0x15, 0xea, 0xc0, 0xa7, 0xd0, 0xf2, 0x19, 0x0e, 0x84, 0x5b, 3231 0x7b, 0xd6, 0x5a, 0xcc, 0x77, 0xbd, 0x04, 0x44, 0xef, 0xe7, 0x7a, 0x5f, 0x33, 0xa2, 0xf7, 0x73, 3232 0x7d, 0x9e, 0x22, 0xfa, 0x3a, 0xd4, 0x27, 0x7b, 0xc2, 0x3e, 0xa1, 0xbf, 0xf9, 0xad, 0x45, 0x68, 3233 0x4f, 0x86, 0x68, 0x2d, 0x1e, 0xdc, 0xb6, 0xdc, 0xa6, 0x5e, 0x7c, 0x76, 0x25, 0xc2, 0xb6, 0xdc, 3234 0x08, 0xbf, 0x67, 0xac, 0x7e, 0x4b, 0x80, 0x27, 0xeb, 0x66, 0x8b, 0xab, 0x3f, 0x5d, 0x6b, 0x45, 3235 0x78, 0xf5, 0x35, 0xc6, 0xd4, 0x34, 0x75, 0xd5, 0x68, 0x66, 0x4c, 0xbb, 0x99, 0x6d, 0x62, 0x83, 3236 0x56, 0x88, 0x59, 0x6f, 0x4a, 0xb5, 0x34, 0x67, 0x90, 0xff, 0x2a, 0x72, 0xb3, 0x67, 0xea, 0x83, 3237 0xb1, 0xf1, 0xf5, 0x7c, 0xae, 0x36, 0x45, 0xa5, 0x3d, 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 3238 0xb3, 0xe0, 0xe0, 0x39, 0xcf, 0x33, 0x00, 0x00, 3239} 3240 3241// Reference imports to suppress errors if they are not otherwise used. 3242var _ context.Context 3243var _ grpc.ClientConn 3244 3245// This is a compile-time assertion to ensure that this generated file 3246// is compatible with the grpc package it is being compiled against. 3247const _ = grpc.SupportPackageIsVersion4 3248 3249// ContainerAnalysisClient is the client API for ContainerAnalysis service. 3250// 3251// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 3252type ContainerAnalysisClient interface { 3253 // Returns the requested `Occurrence`. 3254 GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) 3255 // Lists active `Occurrences` for a given project matching the filters. 3256 ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) 3257 // Deletes the given `Occurrence` from the system. Use this when 3258 // an `Occurrence` is no longer applicable for the given resource. 3259 DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) 3260 // Creates a new `Occurrence`. Use this method to create `Occurrences` 3261 // for a resource. 3262 CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) 3263 // Updates an existing occurrence. 3264 UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) 3265 // Gets the `Note` attached to the given `Occurrence`. 3266 GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) 3267 // Returns the requested `Note`. 3268 GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) 3269 // Lists all `Notes` for a given project. 3270 ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) 3271 // Deletes the given `Note` from the system. 3272 DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) 3273 // Creates a new `Note`. 3274 CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) 3275 // Updates an existing `Note`. 3276 UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) 3277 // Lists `Occurrences` referencing the specified `Note`. Use this method to 3278 // get all occurrences referencing your `Note` across all your customer 3279 // projects. 3280 ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) 3281 // Gets a summary of the number and severity of occurrences. 3282 GetVulnzOccurrencesSummary(ctx context.Context, in *GetVulnzOccurrencesSummaryRequest, opts ...grpc.CallOption) (*GetVulnzOccurrencesSummaryResponse, error) 3283 // Sets the access control policy on the specified `Note` or `Occurrence`. 3284 // Requires `containeranalysis.notes.setIamPolicy` or 3285 // `containeranalysis.occurrences.setIamPolicy` permission if the resource is 3286 // a `Note` or an `Occurrence`, respectively. 3287 // Attempting to call this method without these permissions will result in a ` 3288 // `PERMISSION_DENIED` error. 3289 // Attempting to call this method on a non-existent resource will result in a 3290 // `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission 3291 // on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or 3292 // a `PERMISSION_DENIED` error otherwise. The resource takes the following 3293 // formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences 3294 // and projects/{projectid}/notes/{noteid} for notes 3295 SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 3296 // Gets the access control policy for a note or an `Occurrence` resource. 3297 // Requires `containeranalysis.notes.setIamPolicy` or 3298 // `containeranalysis.occurrences.setIamPolicy` permission if the resource is 3299 // a note or occurrence, respectively. 3300 // Attempting to call this method on a resource without the required 3301 // permission will result in a `PERMISSION_DENIED` error. Attempting to call 3302 // this method on a non-existent resource will result in a `NOT_FOUND` error 3303 // if the user has list permission on the project, or a `PERMISSION_DENIED` 3304 // error otherwise. The resource takes the following formats: 3305 // `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and 3306 // projects/{PROJECT_ID}/notes/{NOTE_ID} for notes 3307 GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 3308 // Returns the permissions that a caller has on the specified note or 3309 // occurrence resource. Requires list permission on the project (for example, 3310 // "storage.objects.list" on the containing bucket for testing permission of 3311 // an object). Attempting to call this method on a non-existent resource will 3312 // result in a `NOT_FOUND` error if the user has list permission on the 3313 // project, or a `PERMISSION_DENIED` error otherwise. The resource takes the 3314 // following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for 3315 // `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes` 3316 TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) 3317 // Creates a new `Operation`. 3318 CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 3319 // Updates an existing operation returns an error if operation 3320 // does not exist. The only valid operations are to update mark the done bit 3321 // change the result. 3322 UpdateOperation(ctx context.Context, in *UpdateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 3323 // Gets a specific scan configuration for a project. 3324 GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) 3325 // Lists scan configurations for a project. 3326 ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) 3327 // Updates the scan configuration to a new value. 3328 UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) 3329} 3330 3331type containerAnalysisClient struct { 3332 cc *grpc.ClientConn 3333} 3334 3335func NewContainerAnalysisClient(cc *grpc.ClientConn) ContainerAnalysisClient { 3336 return &containerAnalysisClient{cc} 3337} 3338 3339func (c *containerAnalysisClient) GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { 3340 out := new(Occurrence) 3341 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrence", in, out, opts...) 3342 if err != nil { 3343 return nil, err 3344 } 3345 return out, nil 3346} 3347 3348func (c *containerAnalysisClient) ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) { 3349 out := new(ListOccurrencesResponse) 3350 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListOccurrences", in, out, opts...) 3351 if err != nil { 3352 return nil, err 3353 } 3354 return out, nil 3355} 3356 3357func (c *containerAnalysisClient) DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 3358 out := new(empty.Empty) 3359 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteOccurrence", in, out, opts...) 3360 if err != nil { 3361 return nil, err 3362 } 3363 return out, nil 3364} 3365 3366func (c *containerAnalysisClient) CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { 3367 out := new(Occurrence) 3368 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOccurrence", in, out, opts...) 3369 if err != nil { 3370 return nil, err 3371 } 3372 return out, nil 3373} 3374 3375func (c *containerAnalysisClient) UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { 3376 out := new(Occurrence) 3377 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOccurrence", in, out, opts...) 3378 if err != nil { 3379 return nil, err 3380 } 3381 return out, nil 3382} 3383 3384func (c *containerAnalysisClient) GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) { 3385 out := new(Note) 3386 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrenceNote", in, out, opts...) 3387 if err != nil { 3388 return nil, err 3389 } 3390 return out, nil 3391} 3392 3393func (c *containerAnalysisClient) GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) { 3394 out := new(Note) 3395 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetNote", in, out, opts...) 3396 if err != nil { 3397 return nil, err 3398 } 3399 return out, nil 3400} 3401 3402func (c *containerAnalysisClient) ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) { 3403 out := new(ListNotesResponse) 3404 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNotes", in, out, opts...) 3405 if err != nil { 3406 return nil, err 3407 } 3408 return out, nil 3409} 3410 3411func (c *containerAnalysisClient) DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 3412 out := new(empty.Empty) 3413 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteNote", in, out, opts...) 3414 if err != nil { 3415 return nil, err 3416 } 3417 return out, nil 3418} 3419 3420func (c *containerAnalysisClient) CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) { 3421 out := new(Note) 3422 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateNote", in, out, opts...) 3423 if err != nil { 3424 return nil, err 3425 } 3426 return out, nil 3427} 3428 3429func (c *containerAnalysisClient) UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) { 3430 out := new(Note) 3431 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateNote", in, out, opts...) 3432 if err != nil { 3433 return nil, err 3434 } 3435 return out, nil 3436} 3437 3438func (c *containerAnalysisClient) ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) { 3439 out := new(ListNoteOccurrencesResponse) 3440 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNoteOccurrences", in, out, opts...) 3441 if err != nil { 3442 return nil, err 3443 } 3444 return out, nil 3445} 3446 3447func (c *containerAnalysisClient) GetVulnzOccurrencesSummary(ctx context.Context, in *GetVulnzOccurrencesSummaryRequest, opts ...grpc.CallOption) (*GetVulnzOccurrencesSummaryResponse, error) { 3448 out := new(GetVulnzOccurrencesSummaryResponse) 3449 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetVulnzOccurrencesSummary", in, out, opts...) 3450 if err != nil { 3451 return nil, err 3452 } 3453 return out, nil 3454} 3455 3456func (c *containerAnalysisClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 3457 out := new(v1.Policy) 3458 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/SetIamPolicy", in, out, opts...) 3459 if err != nil { 3460 return nil, err 3461 } 3462 return out, nil 3463} 3464 3465func (c *containerAnalysisClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 3466 out := new(v1.Policy) 3467 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetIamPolicy", in, out, opts...) 3468 if err != nil { 3469 return nil, err 3470 } 3471 return out, nil 3472} 3473 3474func (c *containerAnalysisClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { 3475 out := new(v1.TestIamPermissionsResponse) 3476 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/TestIamPermissions", in, out, opts...) 3477 if err != nil { 3478 return nil, err 3479 } 3480 return out, nil 3481} 3482 3483func (c *containerAnalysisClient) CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 3484 out := new(longrunning.Operation) 3485 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOperation", in, out, opts...) 3486 if err != nil { 3487 return nil, err 3488 } 3489 return out, nil 3490} 3491 3492func (c *containerAnalysisClient) UpdateOperation(ctx context.Context, in *UpdateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 3493 out := new(longrunning.Operation) 3494 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOperation", in, out, opts...) 3495 if err != nil { 3496 return nil, err 3497 } 3498 return out, nil 3499} 3500 3501func (c *containerAnalysisClient) GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { 3502 out := new(ScanConfig) 3503 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetScanConfig", in, out, opts...) 3504 if err != nil { 3505 return nil, err 3506 } 3507 return out, nil 3508} 3509 3510func (c *containerAnalysisClient) ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) { 3511 out := new(ListScanConfigsResponse) 3512 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListScanConfigs", in, out, opts...) 3513 if err != nil { 3514 return nil, err 3515 } 3516 return out, nil 3517} 3518 3519func (c *containerAnalysisClient) UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { 3520 out := new(ScanConfig) 3521 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateScanConfig", in, out, opts...) 3522 if err != nil { 3523 return nil, err 3524 } 3525 return out, nil 3526} 3527 3528// ContainerAnalysisServer is the server API for ContainerAnalysis service. 3529type ContainerAnalysisServer interface { 3530 // Returns the requested `Occurrence`. 3531 GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error) 3532 // Lists active `Occurrences` for a given project matching the filters. 3533 ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error) 3534 // Deletes the given `Occurrence` from the system. Use this when 3535 // an `Occurrence` is no longer applicable for the given resource. 3536 DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error) 3537 // Creates a new `Occurrence`. Use this method to create `Occurrences` 3538 // for a resource. 3539 CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error) 3540 // Updates an existing occurrence. 3541 UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error) 3542 // Gets the `Note` attached to the given `Occurrence`. 3543 GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error) 3544 // Returns the requested `Note`. 3545 GetNote(context.Context, *GetNoteRequest) (*Note, error) 3546 // Lists all `Notes` for a given project. 3547 ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error) 3548 // Deletes the given `Note` from the system. 3549 DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error) 3550 // Creates a new `Note`. 3551 CreateNote(context.Context, *CreateNoteRequest) (*Note, error) 3552 // Updates an existing `Note`. 3553 UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error) 3554 // Lists `Occurrences` referencing the specified `Note`. Use this method to 3555 // get all occurrences referencing your `Note` across all your customer 3556 // projects. 3557 ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error) 3558 // Gets a summary of the number and severity of occurrences. 3559 GetVulnzOccurrencesSummary(context.Context, *GetVulnzOccurrencesSummaryRequest) (*GetVulnzOccurrencesSummaryResponse, error) 3560 // Sets the access control policy on the specified `Note` or `Occurrence`. 3561 // Requires `containeranalysis.notes.setIamPolicy` or 3562 // `containeranalysis.occurrences.setIamPolicy` permission if the resource is 3563 // a `Note` or an `Occurrence`, respectively. 3564 // Attempting to call this method without these permissions will result in a ` 3565 // `PERMISSION_DENIED` error. 3566 // Attempting to call this method on a non-existent resource will result in a 3567 // `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission 3568 // on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or 3569 // a `PERMISSION_DENIED` error otherwise. The resource takes the following 3570 // formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences 3571 // and projects/{projectid}/notes/{noteid} for notes 3572 SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) 3573 // Gets the access control policy for a note or an `Occurrence` resource. 3574 // Requires `containeranalysis.notes.setIamPolicy` or 3575 // `containeranalysis.occurrences.setIamPolicy` permission if the resource is 3576 // a note or occurrence, respectively. 3577 // Attempting to call this method on a resource without the required 3578 // permission will result in a `PERMISSION_DENIED` error. Attempting to call 3579 // this method on a non-existent resource will result in a `NOT_FOUND` error 3580 // if the user has list permission on the project, or a `PERMISSION_DENIED` 3581 // error otherwise. The resource takes the following formats: 3582 // `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and 3583 // projects/{PROJECT_ID}/notes/{NOTE_ID} for notes 3584 GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) 3585 // Returns the permissions that a caller has on the specified note or 3586 // occurrence resource. Requires list permission on the project (for example, 3587 // "storage.objects.list" on the containing bucket for testing permission of 3588 // an object). Attempting to call this method on a non-existent resource will 3589 // result in a `NOT_FOUND` error if the user has list permission on the 3590 // project, or a `PERMISSION_DENIED` error otherwise. The resource takes the 3591 // following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for 3592 // `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes` 3593 TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) 3594 // Creates a new `Operation`. 3595 CreateOperation(context.Context, *CreateOperationRequest) (*longrunning.Operation, error) 3596 // Updates an existing operation returns an error if operation 3597 // does not exist. The only valid operations are to update mark the done bit 3598 // change the result. 3599 UpdateOperation(context.Context, *UpdateOperationRequest) (*longrunning.Operation, error) 3600 // Gets a specific scan configuration for a project. 3601 GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error) 3602 // Lists scan configurations for a project. 3603 ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error) 3604 // Updates the scan configuration to a new value. 3605 UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error) 3606} 3607 3608func RegisterContainerAnalysisServer(s *grpc.Server, srv ContainerAnalysisServer) { 3609 s.RegisterService(&_ContainerAnalysis_serviceDesc, srv) 3610} 3611 3612func _ContainerAnalysis_GetOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3613 in := new(GetOccurrenceRequest) 3614 if err := dec(in); err != nil { 3615 return nil, err 3616 } 3617 if interceptor == nil { 3618 return srv.(ContainerAnalysisServer).GetOccurrence(ctx, in) 3619 } 3620 info := &grpc.UnaryServerInfo{ 3621 Server: srv, 3622 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrence", 3623 } 3624 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3625 return srv.(ContainerAnalysisServer).GetOccurrence(ctx, req.(*GetOccurrenceRequest)) 3626 } 3627 return interceptor(ctx, in, info, handler) 3628} 3629 3630func _ContainerAnalysis_ListOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3631 in := new(ListOccurrencesRequest) 3632 if err := dec(in); err != nil { 3633 return nil, err 3634 } 3635 if interceptor == nil { 3636 return srv.(ContainerAnalysisServer).ListOccurrences(ctx, in) 3637 } 3638 info := &grpc.UnaryServerInfo{ 3639 Server: srv, 3640 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListOccurrences", 3641 } 3642 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3643 return srv.(ContainerAnalysisServer).ListOccurrences(ctx, req.(*ListOccurrencesRequest)) 3644 } 3645 return interceptor(ctx, in, info, handler) 3646} 3647 3648func _ContainerAnalysis_DeleteOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3649 in := new(DeleteOccurrenceRequest) 3650 if err := dec(in); err != nil { 3651 return nil, err 3652 } 3653 if interceptor == nil { 3654 return srv.(ContainerAnalysisServer).DeleteOccurrence(ctx, in) 3655 } 3656 info := &grpc.UnaryServerInfo{ 3657 Server: srv, 3658 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteOccurrence", 3659 } 3660 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3661 return srv.(ContainerAnalysisServer).DeleteOccurrence(ctx, req.(*DeleteOccurrenceRequest)) 3662 } 3663 return interceptor(ctx, in, info, handler) 3664} 3665 3666func _ContainerAnalysis_CreateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3667 in := new(CreateOccurrenceRequest) 3668 if err := dec(in); err != nil { 3669 return nil, err 3670 } 3671 if interceptor == nil { 3672 return srv.(ContainerAnalysisServer).CreateOccurrence(ctx, in) 3673 } 3674 info := &grpc.UnaryServerInfo{ 3675 Server: srv, 3676 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOccurrence", 3677 } 3678 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3679 return srv.(ContainerAnalysisServer).CreateOccurrence(ctx, req.(*CreateOccurrenceRequest)) 3680 } 3681 return interceptor(ctx, in, info, handler) 3682} 3683 3684func _ContainerAnalysis_UpdateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3685 in := new(UpdateOccurrenceRequest) 3686 if err := dec(in); err != nil { 3687 return nil, err 3688 } 3689 if interceptor == nil { 3690 return srv.(ContainerAnalysisServer).UpdateOccurrence(ctx, in) 3691 } 3692 info := &grpc.UnaryServerInfo{ 3693 Server: srv, 3694 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOccurrence", 3695 } 3696 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3697 return srv.(ContainerAnalysisServer).UpdateOccurrence(ctx, req.(*UpdateOccurrenceRequest)) 3698 } 3699 return interceptor(ctx, in, info, handler) 3700} 3701 3702func _ContainerAnalysis_GetOccurrenceNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3703 in := new(GetOccurrenceNoteRequest) 3704 if err := dec(in); err != nil { 3705 return nil, err 3706 } 3707 if interceptor == nil { 3708 return srv.(ContainerAnalysisServer).GetOccurrenceNote(ctx, in) 3709 } 3710 info := &grpc.UnaryServerInfo{ 3711 Server: srv, 3712 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrenceNote", 3713 } 3714 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3715 return srv.(ContainerAnalysisServer).GetOccurrenceNote(ctx, req.(*GetOccurrenceNoteRequest)) 3716 } 3717 return interceptor(ctx, in, info, handler) 3718} 3719 3720func _ContainerAnalysis_GetNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3721 in := new(GetNoteRequest) 3722 if err := dec(in); err != nil { 3723 return nil, err 3724 } 3725 if interceptor == nil { 3726 return srv.(ContainerAnalysisServer).GetNote(ctx, in) 3727 } 3728 info := &grpc.UnaryServerInfo{ 3729 Server: srv, 3730 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetNote", 3731 } 3732 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3733 return srv.(ContainerAnalysisServer).GetNote(ctx, req.(*GetNoteRequest)) 3734 } 3735 return interceptor(ctx, in, info, handler) 3736} 3737 3738func _ContainerAnalysis_ListNotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3739 in := new(ListNotesRequest) 3740 if err := dec(in); err != nil { 3741 return nil, err 3742 } 3743 if interceptor == nil { 3744 return srv.(ContainerAnalysisServer).ListNotes(ctx, in) 3745 } 3746 info := &grpc.UnaryServerInfo{ 3747 Server: srv, 3748 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNotes", 3749 } 3750 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3751 return srv.(ContainerAnalysisServer).ListNotes(ctx, req.(*ListNotesRequest)) 3752 } 3753 return interceptor(ctx, in, info, handler) 3754} 3755 3756func _ContainerAnalysis_DeleteNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3757 in := new(DeleteNoteRequest) 3758 if err := dec(in); err != nil { 3759 return nil, err 3760 } 3761 if interceptor == nil { 3762 return srv.(ContainerAnalysisServer).DeleteNote(ctx, in) 3763 } 3764 info := &grpc.UnaryServerInfo{ 3765 Server: srv, 3766 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteNote", 3767 } 3768 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3769 return srv.(ContainerAnalysisServer).DeleteNote(ctx, req.(*DeleteNoteRequest)) 3770 } 3771 return interceptor(ctx, in, info, handler) 3772} 3773 3774func _ContainerAnalysis_CreateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3775 in := new(CreateNoteRequest) 3776 if err := dec(in); err != nil { 3777 return nil, err 3778 } 3779 if interceptor == nil { 3780 return srv.(ContainerAnalysisServer).CreateNote(ctx, in) 3781 } 3782 info := &grpc.UnaryServerInfo{ 3783 Server: srv, 3784 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateNote", 3785 } 3786 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3787 return srv.(ContainerAnalysisServer).CreateNote(ctx, req.(*CreateNoteRequest)) 3788 } 3789 return interceptor(ctx, in, info, handler) 3790} 3791 3792func _ContainerAnalysis_UpdateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3793 in := new(UpdateNoteRequest) 3794 if err := dec(in); err != nil { 3795 return nil, err 3796 } 3797 if interceptor == nil { 3798 return srv.(ContainerAnalysisServer).UpdateNote(ctx, in) 3799 } 3800 info := &grpc.UnaryServerInfo{ 3801 Server: srv, 3802 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateNote", 3803 } 3804 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3805 return srv.(ContainerAnalysisServer).UpdateNote(ctx, req.(*UpdateNoteRequest)) 3806 } 3807 return interceptor(ctx, in, info, handler) 3808} 3809 3810func _ContainerAnalysis_ListNoteOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3811 in := new(ListNoteOccurrencesRequest) 3812 if err := dec(in); err != nil { 3813 return nil, err 3814 } 3815 if interceptor == nil { 3816 return srv.(ContainerAnalysisServer).ListNoteOccurrences(ctx, in) 3817 } 3818 info := &grpc.UnaryServerInfo{ 3819 Server: srv, 3820 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNoteOccurrences", 3821 } 3822 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3823 return srv.(ContainerAnalysisServer).ListNoteOccurrences(ctx, req.(*ListNoteOccurrencesRequest)) 3824 } 3825 return interceptor(ctx, in, info, handler) 3826} 3827 3828func _ContainerAnalysis_GetVulnzOccurrencesSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3829 in := new(GetVulnzOccurrencesSummaryRequest) 3830 if err := dec(in); err != nil { 3831 return nil, err 3832 } 3833 if interceptor == nil { 3834 return srv.(ContainerAnalysisServer).GetVulnzOccurrencesSummary(ctx, in) 3835 } 3836 info := &grpc.UnaryServerInfo{ 3837 Server: srv, 3838 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetVulnzOccurrencesSummary", 3839 } 3840 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3841 return srv.(ContainerAnalysisServer).GetVulnzOccurrencesSummary(ctx, req.(*GetVulnzOccurrencesSummaryRequest)) 3842 } 3843 return interceptor(ctx, in, info, handler) 3844} 3845 3846func _ContainerAnalysis_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3847 in := new(v1.SetIamPolicyRequest) 3848 if err := dec(in); err != nil { 3849 return nil, err 3850 } 3851 if interceptor == nil { 3852 return srv.(ContainerAnalysisServer).SetIamPolicy(ctx, in) 3853 } 3854 info := &grpc.UnaryServerInfo{ 3855 Server: srv, 3856 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/SetIamPolicy", 3857 } 3858 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3859 return srv.(ContainerAnalysisServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) 3860 } 3861 return interceptor(ctx, in, info, handler) 3862} 3863 3864func _ContainerAnalysis_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3865 in := new(v1.GetIamPolicyRequest) 3866 if err := dec(in); err != nil { 3867 return nil, err 3868 } 3869 if interceptor == nil { 3870 return srv.(ContainerAnalysisServer).GetIamPolicy(ctx, in) 3871 } 3872 info := &grpc.UnaryServerInfo{ 3873 Server: srv, 3874 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetIamPolicy", 3875 } 3876 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3877 return srv.(ContainerAnalysisServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) 3878 } 3879 return interceptor(ctx, in, info, handler) 3880} 3881 3882func _ContainerAnalysis_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3883 in := new(v1.TestIamPermissionsRequest) 3884 if err := dec(in); err != nil { 3885 return nil, err 3886 } 3887 if interceptor == nil { 3888 return srv.(ContainerAnalysisServer).TestIamPermissions(ctx, in) 3889 } 3890 info := &grpc.UnaryServerInfo{ 3891 Server: srv, 3892 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/TestIamPermissions", 3893 } 3894 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3895 return srv.(ContainerAnalysisServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) 3896 } 3897 return interceptor(ctx, in, info, handler) 3898} 3899 3900func _ContainerAnalysis_CreateOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3901 in := new(CreateOperationRequest) 3902 if err := dec(in); err != nil { 3903 return nil, err 3904 } 3905 if interceptor == nil { 3906 return srv.(ContainerAnalysisServer).CreateOperation(ctx, in) 3907 } 3908 info := &grpc.UnaryServerInfo{ 3909 Server: srv, 3910 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOperation", 3911 } 3912 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3913 return srv.(ContainerAnalysisServer).CreateOperation(ctx, req.(*CreateOperationRequest)) 3914 } 3915 return interceptor(ctx, in, info, handler) 3916} 3917 3918func _ContainerAnalysis_UpdateOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3919 in := new(UpdateOperationRequest) 3920 if err := dec(in); err != nil { 3921 return nil, err 3922 } 3923 if interceptor == nil { 3924 return srv.(ContainerAnalysisServer).UpdateOperation(ctx, in) 3925 } 3926 info := &grpc.UnaryServerInfo{ 3927 Server: srv, 3928 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOperation", 3929 } 3930 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3931 return srv.(ContainerAnalysisServer).UpdateOperation(ctx, req.(*UpdateOperationRequest)) 3932 } 3933 return interceptor(ctx, in, info, handler) 3934} 3935 3936func _ContainerAnalysis_GetScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3937 in := new(GetScanConfigRequest) 3938 if err := dec(in); err != nil { 3939 return nil, err 3940 } 3941 if interceptor == nil { 3942 return srv.(ContainerAnalysisServer).GetScanConfig(ctx, in) 3943 } 3944 info := &grpc.UnaryServerInfo{ 3945 Server: srv, 3946 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetScanConfig", 3947 } 3948 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3949 return srv.(ContainerAnalysisServer).GetScanConfig(ctx, req.(*GetScanConfigRequest)) 3950 } 3951 return interceptor(ctx, in, info, handler) 3952} 3953 3954func _ContainerAnalysis_ListScanConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3955 in := new(ListScanConfigsRequest) 3956 if err := dec(in); err != nil { 3957 return nil, err 3958 } 3959 if interceptor == nil { 3960 return srv.(ContainerAnalysisServer).ListScanConfigs(ctx, in) 3961 } 3962 info := &grpc.UnaryServerInfo{ 3963 Server: srv, 3964 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListScanConfigs", 3965 } 3966 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3967 return srv.(ContainerAnalysisServer).ListScanConfigs(ctx, req.(*ListScanConfigsRequest)) 3968 } 3969 return interceptor(ctx, in, info, handler) 3970} 3971 3972func _ContainerAnalysis_UpdateScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3973 in := new(UpdateScanConfigRequest) 3974 if err := dec(in); err != nil { 3975 return nil, err 3976 } 3977 if interceptor == nil { 3978 return srv.(ContainerAnalysisServer).UpdateScanConfig(ctx, in) 3979 } 3980 info := &grpc.UnaryServerInfo{ 3981 Server: srv, 3982 FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateScanConfig", 3983 } 3984 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3985 return srv.(ContainerAnalysisServer).UpdateScanConfig(ctx, req.(*UpdateScanConfigRequest)) 3986 } 3987 return interceptor(ctx, in, info, handler) 3988} 3989 3990var _ContainerAnalysis_serviceDesc = grpc.ServiceDesc{ 3991 ServiceName: "google.devtools.containeranalysis.v1alpha1.ContainerAnalysis", 3992 HandlerType: (*ContainerAnalysisServer)(nil), 3993 Methods: []grpc.MethodDesc{ 3994 { 3995 MethodName: "GetOccurrence", 3996 Handler: _ContainerAnalysis_GetOccurrence_Handler, 3997 }, 3998 { 3999 MethodName: "ListOccurrences", 4000 Handler: _ContainerAnalysis_ListOccurrences_Handler, 4001 }, 4002 { 4003 MethodName: "DeleteOccurrence", 4004 Handler: _ContainerAnalysis_DeleteOccurrence_Handler, 4005 }, 4006 { 4007 MethodName: "CreateOccurrence", 4008 Handler: _ContainerAnalysis_CreateOccurrence_Handler, 4009 }, 4010 { 4011 MethodName: "UpdateOccurrence", 4012 Handler: _ContainerAnalysis_UpdateOccurrence_Handler, 4013 }, 4014 { 4015 MethodName: "GetOccurrenceNote", 4016 Handler: _ContainerAnalysis_GetOccurrenceNote_Handler, 4017 }, 4018 { 4019 MethodName: "GetNote", 4020 Handler: _ContainerAnalysis_GetNote_Handler, 4021 }, 4022 { 4023 MethodName: "ListNotes", 4024 Handler: _ContainerAnalysis_ListNotes_Handler, 4025 }, 4026 { 4027 MethodName: "DeleteNote", 4028 Handler: _ContainerAnalysis_DeleteNote_Handler, 4029 }, 4030 { 4031 MethodName: "CreateNote", 4032 Handler: _ContainerAnalysis_CreateNote_Handler, 4033 }, 4034 { 4035 MethodName: "UpdateNote", 4036 Handler: _ContainerAnalysis_UpdateNote_Handler, 4037 }, 4038 { 4039 MethodName: "ListNoteOccurrences", 4040 Handler: _ContainerAnalysis_ListNoteOccurrences_Handler, 4041 }, 4042 { 4043 MethodName: "GetVulnzOccurrencesSummary", 4044 Handler: _ContainerAnalysis_GetVulnzOccurrencesSummary_Handler, 4045 }, 4046 { 4047 MethodName: "SetIamPolicy", 4048 Handler: _ContainerAnalysis_SetIamPolicy_Handler, 4049 }, 4050 { 4051 MethodName: "GetIamPolicy", 4052 Handler: _ContainerAnalysis_GetIamPolicy_Handler, 4053 }, 4054 { 4055 MethodName: "TestIamPermissions", 4056 Handler: _ContainerAnalysis_TestIamPermissions_Handler, 4057 }, 4058 { 4059 MethodName: "CreateOperation", 4060 Handler: _ContainerAnalysis_CreateOperation_Handler, 4061 }, 4062 { 4063 MethodName: "UpdateOperation", 4064 Handler: _ContainerAnalysis_UpdateOperation_Handler, 4065 }, 4066 { 4067 MethodName: "GetScanConfig", 4068 Handler: _ContainerAnalysis_GetScanConfig_Handler, 4069 }, 4070 { 4071 MethodName: "ListScanConfigs", 4072 Handler: _ContainerAnalysis_ListScanConfigs_Handler, 4073 }, 4074 { 4075 MethodName: "UpdateScanConfig", 4076 Handler: _ContainerAnalysis_UpdateScanConfig_Handler, 4077 }, 4078 }, 4079 Streams: []grpc.StreamDesc{}, 4080 Metadata: "google/devtools/containeranalysis/v1alpha1/containeranalysis.proto", 4081} 4082