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