1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto 3 4package grafeas // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas" 5 6import proto "github.com/golang/protobuf/proto" 7import fmt "fmt" 8import math "math" 9import empty "github.com/golang/protobuf/ptypes/empty" 10import timestamp "github.com/golang/protobuf/ptypes/timestamp" 11import _ "google.golang.org/genproto/googleapis/api/annotations" 12import attestation "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation" 13import build "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build" 14import common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common" 15import deployment "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment" 16import discovery "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery" 17import image "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image" 18import _package "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package" 19import provenance "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance" 20import vulnerability "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability" 21import field_mask "google.golang.org/genproto/protobuf/field_mask" 22 23import ( 24 context "golang.org/x/net/context" 25 grpc "google.golang.org/grpc" 26) 27 28// Reference imports to suppress errors if they are not otherwise used. 29var _ = proto.Marshal 30var _ = fmt.Errorf 31var _ = math.Inf 32 33// This is a compile-time assertion to ensure that this generated file 34// is compatible with the proto package it is being compiled against. 35// A compilation error at this line likely means your copy of the 36// proto package needs to be updated. 37const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 38 39// An instance of an analysis type that has been found on a resource. 40type Occurrence struct { 41 // Output only. The name of the occurrence in the form of 42 // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 43 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 44 // Required. Immutable. The resource for which the occurrence applies. 45 Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` 46 // Required. Immutable. The analysis note associated with this occurrence, in 47 // the form of `projects[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used 48 // as a filter in list requests. 49 NoteName string `protobuf:"bytes,3,opt,name=note_name,json=noteName,proto3" json:"note_name,omitempty"` 50 // Output only. This explicitly denotes which of the occurrence details are 51 // specified. This field can be used as a filter in list requests. 52 Kind common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"` 53 // A description of actions that can be taken to remedy the note. 54 Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"` 55 // Output only. The time this occurrence was created. 56 CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 57 // Output only. The time this occurrence was last updated. 58 UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 59 // Required. Immutable. Describes the details of the note kind found on this 60 // resource. 61 // 62 // Types that are valid to be assigned to Details: 63 // *Occurrence_Vulnerability 64 // *Occurrence_Build 65 // *Occurrence_DerivedImage 66 // *Occurrence_Installation 67 // *Occurrence_Deployment 68 // *Occurrence_Discovered 69 // *Occurrence_Attestation 70 Details isOccurrence_Details `protobuf_oneof:"details"` 71 XXX_NoUnkeyedLiteral struct{} `json:"-"` 72 XXX_unrecognized []byte `json:"-"` 73 XXX_sizecache int32 `json:"-"` 74} 75 76func (m *Occurrence) Reset() { *m = Occurrence{} } 77func (m *Occurrence) String() string { return proto.CompactTextString(m) } 78func (*Occurrence) ProtoMessage() {} 79func (*Occurrence) Descriptor() ([]byte, []int) { 80 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{0} 81} 82func (m *Occurrence) XXX_Unmarshal(b []byte) error { 83 return xxx_messageInfo_Occurrence.Unmarshal(m, b) 84} 85func (m *Occurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 86 return xxx_messageInfo_Occurrence.Marshal(b, m, deterministic) 87} 88func (dst *Occurrence) XXX_Merge(src proto.Message) { 89 xxx_messageInfo_Occurrence.Merge(dst, src) 90} 91func (m *Occurrence) XXX_Size() int { 92 return xxx_messageInfo_Occurrence.Size(m) 93} 94func (m *Occurrence) XXX_DiscardUnknown() { 95 xxx_messageInfo_Occurrence.DiscardUnknown(m) 96} 97 98var xxx_messageInfo_Occurrence proto.InternalMessageInfo 99 100func (m *Occurrence) GetName() string { 101 if m != nil { 102 return m.Name 103 } 104 return "" 105} 106 107func (m *Occurrence) GetResource() *Resource { 108 if m != nil { 109 return m.Resource 110 } 111 return nil 112} 113 114func (m *Occurrence) GetNoteName() string { 115 if m != nil { 116 return m.NoteName 117 } 118 return "" 119} 120 121func (m *Occurrence) GetKind() common.NoteKind { 122 if m != nil { 123 return m.Kind 124 } 125 return common.NoteKind_NOTE_KIND_UNSPECIFIED 126} 127 128func (m *Occurrence) GetRemediation() string { 129 if m != nil { 130 return m.Remediation 131 } 132 return "" 133} 134 135func (m *Occurrence) GetCreateTime() *timestamp.Timestamp { 136 if m != nil { 137 return m.CreateTime 138 } 139 return nil 140} 141 142func (m *Occurrence) GetUpdateTime() *timestamp.Timestamp { 143 if m != nil { 144 return m.UpdateTime 145 } 146 return nil 147} 148 149type isOccurrence_Details interface { 150 isOccurrence_Details() 151} 152 153type Occurrence_Vulnerability struct { 154 Vulnerability *vulnerability.Details `protobuf:"bytes,8,opt,name=vulnerability,proto3,oneof"` 155} 156 157type Occurrence_Build struct { 158 Build *build.Details `protobuf:"bytes,9,opt,name=build,proto3,oneof"` 159} 160 161type Occurrence_DerivedImage struct { 162 DerivedImage *image.Details `protobuf:"bytes,10,opt,name=derived_image,json=derivedImage,proto3,oneof"` 163} 164 165type Occurrence_Installation struct { 166 Installation *_package.Details `protobuf:"bytes,11,opt,name=installation,proto3,oneof"` 167} 168 169type Occurrence_Deployment struct { 170 Deployment *deployment.Details `protobuf:"bytes,12,opt,name=deployment,proto3,oneof"` 171} 172 173type Occurrence_Discovered struct { 174 Discovered *discovery.Details `protobuf:"bytes,13,opt,name=discovered,proto3,oneof"` 175} 176 177type Occurrence_Attestation struct { 178 Attestation *attestation.Details `protobuf:"bytes,14,opt,name=attestation,proto3,oneof"` 179} 180 181func (*Occurrence_Vulnerability) isOccurrence_Details() {} 182 183func (*Occurrence_Build) isOccurrence_Details() {} 184 185func (*Occurrence_DerivedImage) isOccurrence_Details() {} 186 187func (*Occurrence_Installation) isOccurrence_Details() {} 188 189func (*Occurrence_Deployment) isOccurrence_Details() {} 190 191func (*Occurrence_Discovered) isOccurrence_Details() {} 192 193func (*Occurrence_Attestation) isOccurrence_Details() {} 194 195func (m *Occurrence) GetDetails() isOccurrence_Details { 196 if m != nil { 197 return m.Details 198 } 199 return nil 200} 201 202func (m *Occurrence) GetVulnerability() *vulnerability.Details { 203 if x, ok := m.GetDetails().(*Occurrence_Vulnerability); ok { 204 return x.Vulnerability 205 } 206 return nil 207} 208 209func (m *Occurrence) GetBuild() *build.Details { 210 if x, ok := m.GetDetails().(*Occurrence_Build); ok { 211 return x.Build 212 } 213 return nil 214} 215 216func (m *Occurrence) GetDerivedImage() *image.Details { 217 if x, ok := m.GetDetails().(*Occurrence_DerivedImage); ok { 218 return x.DerivedImage 219 } 220 return nil 221} 222 223func (m *Occurrence) GetInstallation() *_package.Details { 224 if x, ok := m.GetDetails().(*Occurrence_Installation); ok { 225 return x.Installation 226 } 227 return nil 228} 229 230func (m *Occurrence) GetDeployment() *deployment.Details { 231 if x, ok := m.GetDetails().(*Occurrence_Deployment); ok { 232 return x.Deployment 233 } 234 return nil 235} 236 237func (m *Occurrence) GetDiscovered() *discovery.Details { 238 if x, ok := m.GetDetails().(*Occurrence_Discovered); ok { 239 return x.Discovered 240 } 241 return nil 242} 243 244func (m *Occurrence) GetAttestation() *attestation.Details { 245 if x, ok := m.GetDetails().(*Occurrence_Attestation); ok { 246 return x.Attestation 247 } 248 return nil 249} 250 251// XXX_OneofFuncs is for the internal use of the proto package. 252func (*Occurrence) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { 253 return _Occurrence_OneofMarshaler, _Occurrence_OneofUnmarshaler, _Occurrence_OneofSizer, []interface{}{ 254 (*Occurrence_Vulnerability)(nil), 255 (*Occurrence_Build)(nil), 256 (*Occurrence_DerivedImage)(nil), 257 (*Occurrence_Installation)(nil), 258 (*Occurrence_Deployment)(nil), 259 (*Occurrence_Discovered)(nil), 260 (*Occurrence_Attestation)(nil), 261 } 262} 263 264func _Occurrence_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 265 m := msg.(*Occurrence) 266 // details 267 switch x := m.Details.(type) { 268 case *Occurrence_Vulnerability: 269 b.EncodeVarint(8<<3 | proto.WireBytes) 270 if err := b.EncodeMessage(x.Vulnerability); err != nil { 271 return err 272 } 273 case *Occurrence_Build: 274 b.EncodeVarint(9<<3 | proto.WireBytes) 275 if err := b.EncodeMessage(x.Build); err != nil { 276 return err 277 } 278 case *Occurrence_DerivedImage: 279 b.EncodeVarint(10<<3 | proto.WireBytes) 280 if err := b.EncodeMessage(x.DerivedImage); err != nil { 281 return err 282 } 283 case *Occurrence_Installation: 284 b.EncodeVarint(11<<3 | proto.WireBytes) 285 if err := b.EncodeMessage(x.Installation); err != nil { 286 return err 287 } 288 case *Occurrence_Deployment: 289 b.EncodeVarint(12<<3 | proto.WireBytes) 290 if err := b.EncodeMessage(x.Deployment); err != nil { 291 return err 292 } 293 case *Occurrence_Discovered: 294 b.EncodeVarint(13<<3 | proto.WireBytes) 295 if err := b.EncodeMessage(x.Discovered); err != nil { 296 return err 297 } 298 case *Occurrence_Attestation: 299 b.EncodeVarint(14<<3 | proto.WireBytes) 300 if err := b.EncodeMessage(x.Attestation); err != nil { 301 return err 302 } 303 case nil: 304 default: 305 return fmt.Errorf("Occurrence.Details has unexpected type %T", x) 306 } 307 return nil 308} 309 310func _Occurrence_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 311 m := msg.(*Occurrence) 312 switch tag { 313 case 8: // details.vulnerability 314 if wire != proto.WireBytes { 315 return true, proto.ErrInternalBadWireType 316 } 317 msg := new(vulnerability.Details) 318 err := b.DecodeMessage(msg) 319 m.Details = &Occurrence_Vulnerability{msg} 320 return true, err 321 case 9: // details.build 322 if wire != proto.WireBytes { 323 return true, proto.ErrInternalBadWireType 324 } 325 msg := new(build.Details) 326 err := b.DecodeMessage(msg) 327 m.Details = &Occurrence_Build{msg} 328 return true, err 329 case 10: // details.derived_image 330 if wire != proto.WireBytes { 331 return true, proto.ErrInternalBadWireType 332 } 333 msg := new(image.Details) 334 err := b.DecodeMessage(msg) 335 m.Details = &Occurrence_DerivedImage{msg} 336 return true, err 337 case 11: // details.installation 338 if wire != proto.WireBytes { 339 return true, proto.ErrInternalBadWireType 340 } 341 msg := new(_package.Details) 342 err := b.DecodeMessage(msg) 343 m.Details = &Occurrence_Installation{msg} 344 return true, err 345 case 12: // details.deployment 346 if wire != proto.WireBytes { 347 return true, proto.ErrInternalBadWireType 348 } 349 msg := new(deployment.Details) 350 err := b.DecodeMessage(msg) 351 m.Details = &Occurrence_Deployment{msg} 352 return true, err 353 case 13: // details.discovered 354 if wire != proto.WireBytes { 355 return true, proto.ErrInternalBadWireType 356 } 357 msg := new(discovery.Details) 358 err := b.DecodeMessage(msg) 359 m.Details = &Occurrence_Discovered{msg} 360 return true, err 361 case 14: // details.attestation 362 if wire != proto.WireBytes { 363 return true, proto.ErrInternalBadWireType 364 } 365 msg := new(attestation.Details) 366 err := b.DecodeMessage(msg) 367 m.Details = &Occurrence_Attestation{msg} 368 return true, err 369 default: 370 return false, nil 371 } 372} 373 374func _Occurrence_OneofSizer(msg proto.Message) (n int) { 375 m := msg.(*Occurrence) 376 // details 377 switch x := m.Details.(type) { 378 case *Occurrence_Vulnerability: 379 s := proto.Size(x.Vulnerability) 380 n += 1 // tag and wire 381 n += proto.SizeVarint(uint64(s)) 382 n += s 383 case *Occurrence_Build: 384 s := proto.Size(x.Build) 385 n += 1 // tag and wire 386 n += proto.SizeVarint(uint64(s)) 387 n += s 388 case *Occurrence_DerivedImage: 389 s := proto.Size(x.DerivedImage) 390 n += 1 // tag and wire 391 n += proto.SizeVarint(uint64(s)) 392 n += s 393 case *Occurrence_Installation: 394 s := proto.Size(x.Installation) 395 n += 1 // tag and wire 396 n += proto.SizeVarint(uint64(s)) 397 n += s 398 case *Occurrence_Deployment: 399 s := proto.Size(x.Deployment) 400 n += 1 // tag and wire 401 n += proto.SizeVarint(uint64(s)) 402 n += s 403 case *Occurrence_Discovered: 404 s := proto.Size(x.Discovered) 405 n += 1 // tag and wire 406 n += proto.SizeVarint(uint64(s)) 407 n += s 408 case *Occurrence_Attestation: 409 s := proto.Size(x.Attestation) 410 n += 1 // tag and wire 411 n += proto.SizeVarint(uint64(s)) 412 n += s 413 case nil: 414 default: 415 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 416 } 417 return n 418} 419 420// An entity that can have metadata. For example, a Docker image. 421type Resource struct { 422 // The name of the resource. For example, the name of a Docker image - 423 // "Debian". 424 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 425 // The unique URI of the resource. For example, 426 // `https://gcr.io/project/image@sha256:foo` for a Docker image. 427 Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` 428 // The hash of the resource content. For example, the Docker digest. 429 ContentHash *provenance.Hash `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` 430 XXX_NoUnkeyedLiteral struct{} `json:"-"` 431 XXX_unrecognized []byte `json:"-"` 432 XXX_sizecache int32 `json:"-"` 433} 434 435func (m *Resource) Reset() { *m = Resource{} } 436func (m *Resource) String() string { return proto.CompactTextString(m) } 437func (*Resource) ProtoMessage() {} 438func (*Resource) Descriptor() ([]byte, []int) { 439 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{1} 440} 441func (m *Resource) XXX_Unmarshal(b []byte) error { 442 return xxx_messageInfo_Resource.Unmarshal(m, b) 443} 444func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 445 return xxx_messageInfo_Resource.Marshal(b, m, deterministic) 446} 447func (dst *Resource) XXX_Merge(src proto.Message) { 448 xxx_messageInfo_Resource.Merge(dst, src) 449} 450func (m *Resource) XXX_Size() int { 451 return xxx_messageInfo_Resource.Size(m) 452} 453func (m *Resource) XXX_DiscardUnknown() { 454 xxx_messageInfo_Resource.DiscardUnknown(m) 455} 456 457var xxx_messageInfo_Resource proto.InternalMessageInfo 458 459func (m *Resource) GetName() string { 460 if m != nil { 461 return m.Name 462 } 463 return "" 464} 465 466func (m *Resource) GetUri() string { 467 if m != nil { 468 return m.Uri 469 } 470 return "" 471} 472 473func (m *Resource) GetContentHash() *provenance.Hash { 474 if m != nil { 475 return m.ContentHash 476 } 477 return nil 478} 479 480// A type of analysis that can be done for a resource. 481type Note struct { 482 // Output only. The name of the note in the form of 483 // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. 484 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 485 // A one sentence description of this note. 486 ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` 487 // A detailed description of this note. 488 LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` 489 // Output only. The type of analysis. This field can be used as a filter in 490 // list requests. 491 Kind common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"` 492 // URLs associated with this note. 493 RelatedUrl []*common.RelatedUrl `protobuf:"bytes,5,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"` 494 // Time of expiration for this note. Empty if note does not expire. 495 ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` 496 // Output only. The time this note was created. This field can be used as a 497 // filter in list requests. 498 CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 499 // Output only. The time this note was last updated. This field can be used as 500 // a filter in list requests. 501 UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 502 // Other notes related to this note. 503 RelatedNoteNames []string `protobuf:"bytes,9,rep,name=related_note_names,json=relatedNoteNames,proto3" json:"related_note_names,omitempty"` 504 // Required. Immutable. The type of analysis this note represents. 505 // 506 // Types that are valid to be assigned to Type: 507 // *Note_Vulnerability 508 // *Note_Build 509 // *Note_BaseImage 510 // *Note_Package 511 // *Note_Deployable 512 // *Note_Discovery 513 // *Note_AttestationAuthority 514 Type isNote_Type `protobuf_oneof:"type"` 515 XXX_NoUnkeyedLiteral struct{} `json:"-"` 516 XXX_unrecognized []byte `json:"-"` 517 XXX_sizecache int32 `json:"-"` 518} 519 520func (m *Note) Reset() { *m = Note{} } 521func (m *Note) String() string { return proto.CompactTextString(m) } 522func (*Note) ProtoMessage() {} 523func (*Note) Descriptor() ([]byte, []int) { 524 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{2} 525} 526func (m *Note) XXX_Unmarshal(b []byte) error { 527 return xxx_messageInfo_Note.Unmarshal(m, b) 528} 529func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 530 return xxx_messageInfo_Note.Marshal(b, m, deterministic) 531} 532func (dst *Note) XXX_Merge(src proto.Message) { 533 xxx_messageInfo_Note.Merge(dst, src) 534} 535func (m *Note) XXX_Size() int { 536 return xxx_messageInfo_Note.Size(m) 537} 538func (m *Note) XXX_DiscardUnknown() { 539 xxx_messageInfo_Note.DiscardUnknown(m) 540} 541 542var xxx_messageInfo_Note proto.InternalMessageInfo 543 544func (m *Note) GetName() string { 545 if m != nil { 546 return m.Name 547 } 548 return "" 549} 550 551func (m *Note) GetShortDescription() string { 552 if m != nil { 553 return m.ShortDescription 554 } 555 return "" 556} 557 558func (m *Note) GetLongDescription() string { 559 if m != nil { 560 return m.LongDescription 561 } 562 return "" 563} 564 565func (m *Note) GetKind() common.NoteKind { 566 if m != nil { 567 return m.Kind 568 } 569 return common.NoteKind_NOTE_KIND_UNSPECIFIED 570} 571 572func (m *Note) GetRelatedUrl() []*common.RelatedUrl { 573 if m != nil { 574 return m.RelatedUrl 575 } 576 return nil 577} 578 579func (m *Note) GetExpirationTime() *timestamp.Timestamp { 580 if m != nil { 581 return m.ExpirationTime 582 } 583 return nil 584} 585 586func (m *Note) GetCreateTime() *timestamp.Timestamp { 587 if m != nil { 588 return m.CreateTime 589 } 590 return nil 591} 592 593func (m *Note) GetUpdateTime() *timestamp.Timestamp { 594 if m != nil { 595 return m.UpdateTime 596 } 597 return nil 598} 599 600func (m *Note) GetRelatedNoteNames() []string { 601 if m != nil { 602 return m.RelatedNoteNames 603 } 604 return nil 605} 606 607type isNote_Type interface { 608 isNote_Type() 609} 610 611type Note_Vulnerability struct { 612 Vulnerability *vulnerability.Vulnerability `protobuf:"bytes,10,opt,name=vulnerability,proto3,oneof"` 613} 614 615type Note_Build struct { 616 Build *build.Build `protobuf:"bytes,11,opt,name=build,proto3,oneof"` 617} 618 619type Note_BaseImage struct { 620 BaseImage *image.Basis `protobuf:"bytes,12,opt,name=base_image,json=baseImage,proto3,oneof"` 621} 622 623type Note_Package struct { 624 Package *_package.Package `protobuf:"bytes,13,opt,name=package,proto3,oneof"` 625} 626 627type Note_Deployable struct { 628 Deployable *deployment.Deployable `protobuf:"bytes,14,opt,name=deployable,proto3,oneof"` 629} 630 631type Note_Discovery struct { 632 Discovery *discovery.Discovery `protobuf:"bytes,15,opt,name=discovery,proto3,oneof"` 633} 634 635type Note_AttestationAuthority struct { 636 AttestationAuthority *attestation.Authority `protobuf:"bytes,16,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"` 637} 638 639func (*Note_Vulnerability) isNote_Type() {} 640 641func (*Note_Build) isNote_Type() {} 642 643func (*Note_BaseImage) isNote_Type() {} 644 645func (*Note_Package) isNote_Type() {} 646 647func (*Note_Deployable) isNote_Type() {} 648 649func (*Note_Discovery) isNote_Type() {} 650 651func (*Note_AttestationAuthority) isNote_Type() {} 652 653func (m *Note) GetType() isNote_Type { 654 if m != nil { 655 return m.Type 656 } 657 return nil 658} 659 660func (m *Note) GetVulnerability() *vulnerability.Vulnerability { 661 if x, ok := m.GetType().(*Note_Vulnerability); ok { 662 return x.Vulnerability 663 } 664 return nil 665} 666 667func (m *Note) GetBuild() *build.Build { 668 if x, ok := m.GetType().(*Note_Build); ok { 669 return x.Build 670 } 671 return nil 672} 673 674func (m *Note) GetBaseImage() *image.Basis { 675 if x, ok := m.GetType().(*Note_BaseImage); ok { 676 return x.BaseImage 677 } 678 return nil 679} 680 681func (m *Note) GetPackage() *_package.Package { 682 if x, ok := m.GetType().(*Note_Package); ok { 683 return x.Package 684 } 685 return nil 686} 687 688func (m *Note) GetDeployable() *deployment.Deployable { 689 if x, ok := m.GetType().(*Note_Deployable); ok { 690 return x.Deployable 691 } 692 return nil 693} 694 695func (m *Note) GetDiscovery() *discovery.Discovery { 696 if x, ok := m.GetType().(*Note_Discovery); ok { 697 return x.Discovery 698 } 699 return nil 700} 701 702func (m *Note) GetAttestationAuthority() *attestation.Authority { 703 if x, ok := m.GetType().(*Note_AttestationAuthority); ok { 704 return x.AttestationAuthority 705 } 706 return nil 707} 708 709// XXX_OneofFuncs is for the internal use of the proto package. 710func (*Note) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { 711 return _Note_OneofMarshaler, _Note_OneofUnmarshaler, _Note_OneofSizer, []interface{}{ 712 (*Note_Vulnerability)(nil), 713 (*Note_Build)(nil), 714 (*Note_BaseImage)(nil), 715 (*Note_Package)(nil), 716 (*Note_Deployable)(nil), 717 (*Note_Discovery)(nil), 718 (*Note_AttestationAuthority)(nil), 719 } 720} 721 722func _Note_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 723 m := msg.(*Note) 724 // type 725 switch x := m.Type.(type) { 726 case *Note_Vulnerability: 727 b.EncodeVarint(10<<3 | proto.WireBytes) 728 if err := b.EncodeMessage(x.Vulnerability); err != nil { 729 return err 730 } 731 case *Note_Build: 732 b.EncodeVarint(11<<3 | proto.WireBytes) 733 if err := b.EncodeMessage(x.Build); err != nil { 734 return err 735 } 736 case *Note_BaseImage: 737 b.EncodeVarint(12<<3 | proto.WireBytes) 738 if err := b.EncodeMessage(x.BaseImage); err != nil { 739 return err 740 } 741 case *Note_Package: 742 b.EncodeVarint(13<<3 | proto.WireBytes) 743 if err := b.EncodeMessage(x.Package); err != nil { 744 return err 745 } 746 case *Note_Deployable: 747 b.EncodeVarint(14<<3 | proto.WireBytes) 748 if err := b.EncodeMessage(x.Deployable); err != nil { 749 return err 750 } 751 case *Note_Discovery: 752 b.EncodeVarint(15<<3 | proto.WireBytes) 753 if err := b.EncodeMessage(x.Discovery); err != nil { 754 return err 755 } 756 case *Note_AttestationAuthority: 757 b.EncodeVarint(16<<3 | proto.WireBytes) 758 if err := b.EncodeMessage(x.AttestationAuthority); err != nil { 759 return err 760 } 761 case nil: 762 default: 763 return fmt.Errorf("Note.Type has unexpected type %T", x) 764 } 765 return nil 766} 767 768func _Note_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 769 m := msg.(*Note) 770 switch tag { 771 case 10: // type.vulnerability 772 if wire != proto.WireBytes { 773 return true, proto.ErrInternalBadWireType 774 } 775 msg := new(vulnerability.Vulnerability) 776 err := b.DecodeMessage(msg) 777 m.Type = &Note_Vulnerability{msg} 778 return true, err 779 case 11: // type.build 780 if wire != proto.WireBytes { 781 return true, proto.ErrInternalBadWireType 782 } 783 msg := new(build.Build) 784 err := b.DecodeMessage(msg) 785 m.Type = &Note_Build{msg} 786 return true, err 787 case 12: // type.base_image 788 if wire != proto.WireBytes { 789 return true, proto.ErrInternalBadWireType 790 } 791 msg := new(image.Basis) 792 err := b.DecodeMessage(msg) 793 m.Type = &Note_BaseImage{msg} 794 return true, err 795 case 13: // type.package 796 if wire != proto.WireBytes { 797 return true, proto.ErrInternalBadWireType 798 } 799 msg := new(_package.Package) 800 err := b.DecodeMessage(msg) 801 m.Type = &Note_Package{msg} 802 return true, err 803 case 14: // type.deployable 804 if wire != proto.WireBytes { 805 return true, proto.ErrInternalBadWireType 806 } 807 msg := new(deployment.Deployable) 808 err := b.DecodeMessage(msg) 809 m.Type = &Note_Deployable{msg} 810 return true, err 811 case 15: // type.discovery 812 if wire != proto.WireBytes { 813 return true, proto.ErrInternalBadWireType 814 } 815 msg := new(discovery.Discovery) 816 err := b.DecodeMessage(msg) 817 m.Type = &Note_Discovery{msg} 818 return true, err 819 case 16: // type.attestation_authority 820 if wire != proto.WireBytes { 821 return true, proto.ErrInternalBadWireType 822 } 823 msg := new(attestation.Authority) 824 err := b.DecodeMessage(msg) 825 m.Type = &Note_AttestationAuthority{msg} 826 return true, err 827 default: 828 return false, nil 829 } 830} 831 832func _Note_OneofSizer(msg proto.Message) (n int) { 833 m := msg.(*Note) 834 // type 835 switch x := m.Type.(type) { 836 case *Note_Vulnerability: 837 s := proto.Size(x.Vulnerability) 838 n += 1 // tag and wire 839 n += proto.SizeVarint(uint64(s)) 840 n += s 841 case *Note_Build: 842 s := proto.Size(x.Build) 843 n += 1 // tag and wire 844 n += proto.SizeVarint(uint64(s)) 845 n += s 846 case *Note_BaseImage: 847 s := proto.Size(x.BaseImage) 848 n += 1 // tag and wire 849 n += proto.SizeVarint(uint64(s)) 850 n += s 851 case *Note_Package: 852 s := proto.Size(x.Package) 853 n += 1 // tag and wire 854 n += proto.SizeVarint(uint64(s)) 855 n += s 856 case *Note_Deployable: 857 s := proto.Size(x.Deployable) 858 n += 1 // tag and wire 859 n += proto.SizeVarint(uint64(s)) 860 n += s 861 case *Note_Discovery: 862 s := proto.Size(x.Discovery) 863 n += 1 // tag and wire 864 n += proto.SizeVarint(uint64(s)) 865 n += s 866 case *Note_AttestationAuthority: 867 s := proto.Size(x.AttestationAuthority) 868 n += 2 // tag and wire 869 n += proto.SizeVarint(uint64(s)) 870 n += s 871 case nil: 872 default: 873 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 874 } 875 return n 876} 877 878// Request to get an occurrence. 879type GetOccurrenceRequest struct { 880 // The name of the occurrence in the form of 881 // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 882 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 883 XXX_NoUnkeyedLiteral struct{} `json:"-"` 884 XXX_unrecognized []byte `json:"-"` 885 XXX_sizecache int32 `json:"-"` 886} 887 888func (m *GetOccurrenceRequest) Reset() { *m = GetOccurrenceRequest{} } 889func (m *GetOccurrenceRequest) String() string { return proto.CompactTextString(m) } 890func (*GetOccurrenceRequest) ProtoMessage() {} 891func (*GetOccurrenceRequest) Descriptor() ([]byte, []int) { 892 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{3} 893} 894func (m *GetOccurrenceRequest) XXX_Unmarshal(b []byte) error { 895 return xxx_messageInfo_GetOccurrenceRequest.Unmarshal(m, b) 896} 897func (m *GetOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 898 return xxx_messageInfo_GetOccurrenceRequest.Marshal(b, m, deterministic) 899} 900func (dst *GetOccurrenceRequest) XXX_Merge(src proto.Message) { 901 xxx_messageInfo_GetOccurrenceRequest.Merge(dst, src) 902} 903func (m *GetOccurrenceRequest) XXX_Size() int { 904 return xxx_messageInfo_GetOccurrenceRequest.Size(m) 905} 906func (m *GetOccurrenceRequest) XXX_DiscardUnknown() { 907 xxx_messageInfo_GetOccurrenceRequest.DiscardUnknown(m) 908} 909 910var xxx_messageInfo_GetOccurrenceRequest proto.InternalMessageInfo 911 912func (m *GetOccurrenceRequest) GetName() string { 913 if m != nil { 914 return m.Name 915 } 916 return "" 917} 918 919// Request to list occurrences. 920type ListOccurrencesRequest struct { 921 // The name of the project to list occurrences for in the form of 922 // `projects/[PROJECT_ID]`. 923 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 924 // The filter expression. 925 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 926 // Number of occurrences to return in the list. 927 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 928 // Token to provide to skip to a particular spot in the list. 929 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 930 XXX_NoUnkeyedLiteral struct{} `json:"-"` 931 XXX_unrecognized []byte `json:"-"` 932 XXX_sizecache int32 `json:"-"` 933} 934 935func (m *ListOccurrencesRequest) Reset() { *m = ListOccurrencesRequest{} } 936func (m *ListOccurrencesRequest) String() string { return proto.CompactTextString(m) } 937func (*ListOccurrencesRequest) ProtoMessage() {} 938func (*ListOccurrencesRequest) Descriptor() ([]byte, []int) { 939 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{4} 940} 941func (m *ListOccurrencesRequest) XXX_Unmarshal(b []byte) error { 942 return xxx_messageInfo_ListOccurrencesRequest.Unmarshal(m, b) 943} 944func (m *ListOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 945 return xxx_messageInfo_ListOccurrencesRequest.Marshal(b, m, deterministic) 946} 947func (dst *ListOccurrencesRequest) XXX_Merge(src proto.Message) { 948 xxx_messageInfo_ListOccurrencesRequest.Merge(dst, src) 949} 950func (m *ListOccurrencesRequest) XXX_Size() int { 951 return xxx_messageInfo_ListOccurrencesRequest.Size(m) 952} 953func (m *ListOccurrencesRequest) XXX_DiscardUnknown() { 954 xxx_messageInfo_ListOccurrencesRequest.DiscardUnknown(m) 955} 956 957var xxx_messageInfo_ListOccurrencesRequest proto.InternalMessageInfo 958 959func (m *ListOccurrencesRequest) GetParent() string { 960 if m != nil { 961 return m.Parent 962 } 963 return "" 964} 965 966func (m *ListOccurrencesRequest) GetFilter() string { 967 if m != nil { 968 return m.Filter 969 } 970 return "" 971} 972 973func (m *ListOccurrencesRequest) GetPageSize() int32 { 974 if m != nil { 975 return m.PageSize 976 } 977 return 0 978} 979 980func (m *ListOccurrencesRequest) GetPageToken() string { 981 if m != nil { 982 return m.PageToken 983 } 984 return "" 985} 986 987// Response for listing occurrences. 988type ListOccurrencesResponse struct { 989 // The occurrences requested. 990 Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` 991 // The next pagination token in the list response. It should be used as 992 // `page_token` for the following request. An empty value means no more 993 // results. 994 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 995 XXX_NoUnkeyedLiteral struct{} `json:"-"` 996 XXX_unrecognized []byte `json:"-"` 997 XXX_sizecache int32 `json:"-"` 998} 999 1000func (m *ListOccurrencesResponse) Reset() { *m = ListOccurrencesResponse{} } 1001func (m *ListOccurrencesResponse) String() string { return proto.CompactTextString(m) } 1002func (*ListOccurrencesResponse) ProtoMessage() {} 1003func (*ListOccurrencesResponse) Descriptor() ([]byte, []int) { 1004 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{5} 1005} 1006func (m *ListOccurrencesResponse) XXX_Unmarshal(b []byte) error { 1007 return xxx_messageInfo_ListOccurrencesResponse.Unmarshal(m, b) 1008} 1009func (m *ListOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1010 return xxx_messageInfo_ListOccurrencesResponse.Marshal(b, m, deterministic) 1011} 1012func (dst *ListOccurrencesResponse) XXX_Merge(src proto.Message) { 1013 xxx_messageInfo_ListOccurrencesResponse.Merge(dst, src) 1014} 1015func (m *ListOccurrencesResponse) XXX_Size() int { 1016 return xxx_messageInfo_ListOccurrencesResponse.Size(m) 1017} 1018func (m *ListOccurrencesResponse) XXX_DiscardUnknown() { 1019 xxx_messageInfo_ListOccurrencesResponse.DiscardUnknown(m) 1020} 1021 1022var xxx_messageInfo_ListOccurrencesResponse proto.InternalMessageInfo 1023 1024func (m *ListOccurrencesResponse) GetOccurrences() []*Occurrence { 1025 if m != nil { 1026 return m.Occurrences 1027 } 1028 return nil 1029} 1030 1031func (m *ListOccurrencesResponse) GetNextPageToken() string { 1032 if m != nil { 1033 return m.NextPageToken 1034 } 1035 return "" 1036} 1037 1038// Request to delete a occurrence. 1039type DeleteOccurrenceRequest struct { 1040 // The name of the occurrence in the form of 1041 // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 1042 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1043 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1044 XXX_unrecognized []byte `json:"-"` 1045 XXX_sizecache int32 `json:"-"` 1046} 1047 1048func (m *DeleteOccurrenceRequest) Reset() { *m = DeleteOccurrenceRequest{} } 1049func (m *DeleteOccurrenceRequest) String() string { return proto.CompactTextString(m) } 1050func (*DeleteOccurrenceRequest) ProtoMessage() {} 1051func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int) { 1052 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{6} 1053} 1054func (m *DeleteOccurrenceRequest) XXX_Unmarshal(b []byte) error { 1055 return xxx_messageInfo_DeleteOccurrenceRequest.Unmarshal(m, b) 1056} 1057func (m *DeleteOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1058 return xxx_messageInfo_DeleteOccurrenceRequest.Marshal(b, m, deterministic) 1059} 1060func (dst *DeleteOccurrenceRequest) XXX_Merge(src proto.Message) { 1061 xxx_messageInfo_DeleteOccurrenceRequest.Merge(dst, src) 1062} 1063func (m *DeleteOccurrenceRequest) XXX_Size() int { 1064 return xxx_messageInfo_DeleteOccurrenceRequest.Size(m) 1065} 1066func (m *DeleteOccurrenceRequest) XXX_DiscardUnknown() { 1067 xxx_messageInfo_DeleteOccurrenceRequest.DiscardUnknown(m) 1068} 1069 1070var xxx_messageInfo_DeleteOccurrenceRequest proto.InternalMessageInfo 1071 1072func (m *DeleteOccurrenceRequest) GetName() string { 1073 if m != nil { 1074 return m.Name 1075 } 1076 return "" 1077} 1078 1079// Request to create a new occurrence. 1080type CreateOccurrenceRequest struct { 1081 // The name of the project in the form of `projects/[PROJECT_ID]`, under which 1082 // the occurrence is to be created. 1083 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1084 // The occurrence to create. 1085 Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` 1086 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1087 XXX_unrecognized []byte `json:"-"` 1088 XXX_sizecache int32 `json:"-"` 1089} 1090 1091func (m *CreateOccurrenceRequest) Reset() { *m = CreateOccurrenceRequest{} } 1092func (m *CreateOccurrenceRequest) String() string { return proto.CompactTextString(m) } 1093func (*CreateOccurrenceRequest) ProtoMessage() {} 1094func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int) { 1095 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{7} 1096} 1097func (m *CreateOccurrenceRequest) XXX_Unmarshal(b []byte) error { 1098 return xxx_messageInfo_CreateOccurrenceRequest.Unmarshal(m, b) 1099} 1100func (m *CreateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1101 return xxx_messageInfo_CreateOccurrenceRequest.Marshal(b, m, deterministic) 1102} 1103func (dst *CreateOccurrenceRequest) XXX_Merge(src proto.Message) { 1104 xxx_messageInfo_CreateOccurrenceRequest.Merge(dst, src) 1105} 1106func (m *CreateOccurrenceRequest) XXX_Size() int { 1107 return xxx_messageInfo_CreateOccurrenceRequest.Size(m) 1108} 1109func (m *CreateOccurrenceRequest) XXX_DiscardUnknown() { 1110 xxx_messageInfo_CreateOccurrenceRequest.DiscardUnknown(m) 1111} 1112 1113var xxx_messageInfo_CreateOccurrenceRequest proto.InternalMessageInfo 1114 1115func (m *CreateOccurrenceRequest) GetParent() string { 1116 if m != nil { 1117 return m.Parent 1118 } 1119 return "" 1120} 1121 1122func (m *CreateOccurrenceRequest) GetOccurrence() *Occurrence { 1123 if m != nil { 1124 return m.Occurrence 1125 } 1126 return nil 1127} 1128 1129// Request to update an occurrence. 1130type UpdateOccurrenceRequest struct { 1131 // The name of the occurrence in the form of 1132 // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 1133 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1134 // The updated occurrence. 1135 Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` 1136 // The fields to update. 1137 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1138 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1139 XXX_unrecognized []byte `json:"-"` 1140 XXX_sizecache int32 `json:"-"` 1141} 1142 1143func (m *UpdateOccurrenceRequest) Reset() { *m = UpdateOccurrenceRequest{} } 1144func (m *UpdateOccurrenceRequest) String() string { return proto.CompactTextString(m) } 1145func (*UpdateOccurrenceRequest) ProtoMessage() {} 1146func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int) { 1147 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{8} 1148} 1149func (m *UpdateOccurrenceRequest) XXX_Unmarshal(b []byte) error { 1150 return xxx_messageInfo_UpdateOccurrenceRequest.Unmarshal(m, b) 1151} 1152func (m *UpdateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1153 return xxx_messageInfo_UpdateOccurrenceRequest.Marshal(b, m, deterministic) 1154} 1155func (dst *UpdateOccurrenceRequest) XXX_Merge(src proto.Message) { 1156 xxx_messageInfo_UpdateOccurrenceRequest.Merge(dst, src) 1157} 1158func (m *UpdateOccurrenceRequest) XXX_Size() int { 1159 return xxx_messageInfo_UpdateOccurrenceRequest.Size(m) 1160} 1161func (m *UpdateOccurrenceRequest) XXX_DiscardUnknown() { 1162 xxx_messageInfo_UpdateOccurrenceRequest.DiscardUnknown(m) 1163} 1164 1165var xxx_messageInfo_UpdateOccurrenceRequest proto.InternalMessageInfo 1166 1167func (m *UpdateOccurrenceRequest) GetName() string { 1168 if m != nil { 1169 return m.Name 1170 } 1171 return "" 1172} 1173 1174func (m *UpdateOccurrenceRequest) GetOccurrence() *Occurrence { 1175 if m != nil { 1176 return m.Occurrence 1177 } 1178 return nil 1179} 1180 1181func (m *UpdateOccurrenceRequest) GetUpdateMask() *field_mask.FieldMask { 1182 if m != nil { 1183 return m.UpdateMask 1184 } 1185 return nil 1186} 1187 1188// Request to get a note. 1189type GetNoteRequest struct { 1190 // The name of the note in the form of 1191 // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. 1192 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1193 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1194 XXX_unrecognized []byte `json:"-"` 1195 XXX_sizecache int32 `json:"-"` 1196} 1197 1198func (m *GetNoteRequest) Reset() { *m = GetNoteRequest{} } 1199func (m *GetNoteRequest) String() string { return proto.CompactTextString(m) } 1200func (*GetNoteRequest) ProtoMessage() {} 1201func (*GetNoteRequest) Descriptor() ([]byte, []int) { 1202 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{9} 1203} 1204func (m *GetNoteRequest) XXX_Unmarshal(b []byte) error { 1205 return xxx_messageInfo_GetNoteRequest.Unmarshal(m, b) 1206} 1207func (m *GetNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1208 return xxx_messageInfo_GetNoteRequest.Marshal(b, m, deterministic) 1209} 1210func (dst *GetNoteRequest) XXX_Merge(src proto.Message) { 1211 xxx_messageInfo_GetNoteRequest.Merge(dst, src) 1212} 1213func (m *GetNoteRequest) XXX_Size() int { 1214 return xxx_messageInfo_GetNoteRequest.Size(m) 1215} 1216func (m *GetNoteRequest) XXX_DiscardUnknown() { 1217 xxx_messageInfo_GetNoteRequest.DiscardUnknown(m) 1218} 1219 1220var xxx_messageInfo_GetNoteRequest proto.InternalMessageInfo 1221 1222func (m *GetNoteRequest) GetName() string { 1223 if m != nil { 1224 return m.Name 1225 } 1226 return "" 1227} 1228 1229// Request to get the note to which the specified occurrence is attached. 1230type GetOccurrenceNoteRequest struct { 1231 // The name of the occurrence in the form of 1232 // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 1233 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1234 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1235 XXX_unrecognized []byte `json:"-"` 1236 XXX_sizecache int32 `json:"-"` 1237} 1238 1239func (m *GetOccurrenceNoteRequest) Reset() { *m = GetOccurrenceNoteRequest{} } 1240func (m *GetOccurrenceNoteRequest) String() string { return proto.CompactTextString(m) } 1241func (*GetOccurrenceNoteRequest) ProtoMessage() {} 1242func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int) { 1243 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{10} 1244} 1245func (m *GetOccurrenceNoteRequest) XXX_Unmarshal(b []byte) error { 1246 return xxx_messageInfo_GetOccurrenceNoteRequest.Unmarshal(m, b) 1247} 1248func (m *GetOccurrenceNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1249 return xxx_messageInfo_GetOccurrenceNoteRequest.Marshal(b, m, deterministic) 1250} 1251func (dst *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message) { 1252 xxx_messageInfo_GetOccurrenceNoteRequest.Merge(dst, src) 1253} 1254func (m *GetOccurrenceNoteRequest) XXX_Size() int { 1255 return xxx_messageInfo_GetOccurrenceNoteRequest.Size(m) 1256} 1257func (m *GetOccurrenceNoteRequest) XXX_DiscardUnknown() { 1258 xxx_messageInfo_GetOccurrenceNoteRequest.DiscardUnknown(m) 1259} 1260 1261var xxx_messageInfo_GetOccurrenceNoteRequest proto.InternalMessageInfo 1262 1263func (m *GetOccurrenceNoteRequest) GetName() string { 1264 if m != nil { 1265 return m.Name 1266 } 1267 return "" 1268} 1269 1270// Request to list notes. 1271type ListNotesRequest struct { 1272 // The name of the project to list notes for in the form of 1273 // `projects/[PROJECT_ID]`. 1274 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1275 // The filter expression. 1276 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 1277 // Number of notes to return in the list. 1278 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1279 // Token to provide to skip to a particular spot in the list. 1280 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1281 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1282 XXX_unrecognized []byte `json:"-"` 1283 XXX_sizecache int32 `json:"-"` 1284} 1285 1286func (m *ListNotesRequest) Reset() { *m = ListNotesRequest{} } 1287func (m *ListNotesRequest) String() string { return proto.CompactTextString(m) } 1288func (*ListNotesRequest) ProtoMessage() {} 1289func (*ListNotesRequest) Descriptor() ([]byte, []int) { 1290 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{11} 1291} 1292func (m *ListNotesRequest) XXX_Unmarshal(b []byte) error { 1293 return xxx_messageInfo_ListNotesRequest.Unmarshal(m, b) 1294} 1295func (m *ListNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1296 return xxx_messageInfo_ListNotesRequest.Marshal(b, m, deterministic) 1297} 1298func (dst *ListNotesRequest) XXX_Merge(src proto.Message) { 1299 xxx_messageInfo_ListNotesRequest.Merge(dst, src) 1300} 1301func (m *ListNotesRequest) XXX_Size() int { 1302 return xxx_messageInfo_ListNotesRequest.Size(m) 1303} 1304func (m *ListNotesRequest) XXX_DiscardUnknown() { 1305 xxx_messageInfo_ListNotesRequest.DiscardUnknown(m) 1306} 1307 1308var xxx_messageInfo_ListNotesRequest proto.InternalMessageInfo 1309 1310func (m *ListNotesRequest) GetParent() string { 1311 if m != nil { 1312 return m.Parent 1313 } 1314 return "" 1315} 1316 1317func (m *ListNotesRequest) GetFilter() string { 1318 if m != nil { 1319 return m.Filter 1320 } 1321 return "" 1322} 1323 1324func (m *ListNotesRequest) GetPageSize() int32 { 1325 if m != nil { 1326 return m.PageSize 1327 } 1328 return 0 1329} 1330 1331func (m *ListNotesRequest) GetPageToken() string { 1332 if m != nil { 1333 return m.PageToken 1334 } 1335 return "" 1336} 1337 1338// Response for listing notes. 1339type ListNotesResponse struct { 1340 // The notes requested. 1341 Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` 1342 // The next pagination token in the list response. It should be used as 1343 // `page_token` for the following request. An empty value means no more 1344 // results. 1345 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1346 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1347 XXX_unrecognized []byte `json:"-"` 1348 XXX_sizecache int32 `json:"-"` 1349} 1350 1351func (m *ListNotesResponse) Reset() { *m = ListNotesResponse{} } 1352func (m *ListNotesResponse) String() string { return proto.CompactTextString(m) } 1353func (*ListNotesResponse) ProtoMessage() {} 1354func (*ListNotesResponse) Descriptor() ([]byte, []int) { 1355 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{12} 1356} 1357func (m *ListNotesResponse) XXX_Unmarshal(b []byte) error { 1358 return xxx_messageInfo_ListNotesResponse.Unmarshal(m, b) 1359} 1360func (m *ListNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1361 return xxx_messageInfo_ListNotesResponse.Marshal(b, m, deterministic) 1362} 1363func (dst *ListNotesResponse) XXX_Merge(src proto.Message) { 1364 xxx_messageInfo_ListNotesResponse.Merge(dst, src) 1365} 1366func (m *ListNotesResponse) XXX_Size() int { 1367 return xxx_messageInfo_ListNotesResponse.Size(m) 1368} 1369func (m *ListNotesResponse) XXX_DiscardUnknown() { 1370 xxx_messageInfo_ListNotesResponse.DiscardUnknown(m) 1371} 1372 1373var xxx_messageInfo_ListNotesResponse proto.InternalMessageInfo 1374 1375func (m *ListNotesResponse) GetNotes() []*Note { 1376 if m != nil { 1377 return m.Notes 1378 } 1379 return nil 1380} 1381 1382func (m *ListNotesResponse) GetNextPageToken() string { 1383 if m != nil { 1384 return m.NextPageToken 1385 } 1386 return "" 1387} 1388 1389// Request to delete a note. 1390type DeleteNoteRequest struct { 1391 // The name of the note in the form of 1392 // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. 1393 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1394 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1395 XXX_unrecognized []byte `json:"-"` 1396 XXX_sizecache int32 `json:"-"` 1397} 1398 1399func (m *DeleteNoteRequest) Reset() { *m = DeleteNoteRequest{} } 1400func (m *DeleteNoteRequest) String() string { return proto.CompactTextString(m) } 1401func (*DeleteNoteRequest) ProtoMessage() {} 1402func (*DeleteNoteRequest) Descriptor() ([]byte, []int) { 1403 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{13} 1404} 1405func (m *DeleteNoteRequest) XXX_Unmarshal(b []byte) error { 1406 return xxx_messageInfo_DeleteNoteRequest.Unmarshal(m, b) 1407} 1408func (m *DeleteNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1409 return xxx_messageInfo_DeleteNoteRequest.Marshal(b, m, deterministic) 1410} 1411func (dst *DeleteNoteRequest) XXX_Merge(src proto.Message) { 1412 xxx_messageInfo_DeleteNoteRequest.Merge(dst, src) 1413} 1414func (m *DeleteNoteRequest) XXX_Size() int { 1415 return xxx_messageInfo_DeleteNoteRequest.Size(m) 1416} 1417func (m *DeleteNoteRequest) XXX_DiscardUnknown() { 1418 xxx_messageInfo_DeleteNoteRequest.DiscardUnknown(m) 1419} 1420 1421var xxx_messageInfo_DeleteNoteRequest proto.InternalMessageInfo 1422 1423func (m *DeleteNoteRequest) GetName() string { 1424 if m != nil { 1425 return m.Name 1426 } 1427 return "" 1428} 1429 1430// Request to create a new note. 1431type CreateNoteRequest struct { 1432 // The name of the project in the form of `projects/[PROJECT_ID]`, under which 1433 // the note is to be created. 1434 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1435 // The ID to use for this note. 1436 NoteId string `protobuf:"bytes,2,opt,name=note_id,json=noteId,proto3" json:"note_id,omitempty"` 1437 // The note to create. 1438 Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` 1439 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1440 XXX_unrecognized []byte `json:"-"` 1441 XXX_sizecache int32 `json:"-"` 1442} 1443 1444func (m *CreateNoteRequest) Reset() { *m = CreateNoteRequest{} } 1445func (m *CreateNoteRequest) String() string { return proto.CompactTextString(m) } 1446func (*CreateNoteRequest) ProtoMessage() {} 1447func (*CreateNoteRequest) Descriptor() ([]byte, []int) { 1448 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{14} 1449} 1450func (m *CreateNoteRequest) XXX_Unmarshal(b []byte) error { 1451 return xxx_messageInfo_CreateNoteRequest.Unmarshal(m, b) 1452} 1453func (m *CreateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1454 return xxx_messageInfo_CreateNoteRequest.Marshal(b, m, deterministic) 1455} 1456func (dst *CreateNoteRequest) XXX_Merge(src proto.Message) { 1457 xxx_messageInfo_CreateNoteRequest.Merge(dst, src) 1458} 1459func (m *CreateNoteRequest) XXX_Size() int { 1460 return xxx_messageInfo_CreateNoteRequest.Size(m) 1461} 1462func (m *CreateNoteRequest) XXX_DiscardUnknown() { 1463 xxx_messageInfo_CreateNoteRequest.DiscardUnknown(m) 1464} 1465 1466var xxx_messageInfo_CreateNoteRequest proto.InternalMessageInfo 1467 1468func (m *CreateNoteRequest) GetParent() string { 1469 if m != nil { 1470 return m.Parent 1471 } 1472 return "" 1473} 1474 1475func (m *CreateNoteRequest) GetNoteId() string { 1476 if m != nil { 1477 return m.NoteId 1478 } 1479 return "" 1480} 1481 1482func (m *CreateNoteRequest) GetNote() *Note { 1483 if m != nil { 1484 return m.Note 1485 } 1486 return nil 1487} 1488 1489// Request to update a note. 1490type UpdateNoteRequest struct { 1491 // The name of the note in the form of 1492 // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. 1493 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1494 // The updated note. 1495 Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` 1496 // The fields to update. 1497 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1498 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1499 XXX_unrecognized []byte `json:"-"` 1500 XXX_sizecache int32 `json:"-"` 1501} 1502 1503func (m *UpdateNoteRequest) Reset() { *m = UpdateNoteRequest{} } 1504func (m *UpdateNoteRequest) String() string { return proto.CompactTextString(m) } 1505func (*UpdateNoteRequest) ProtoMessage() {} 1506func (*UpdateNoteRequest) Descriptor() ([]byte, []int) { 1507 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{15} 1508} 1509func (m *UpdateNoteRequest) XXX_Unmarshal(b []byte) error { 1510 return xxx_messageInfo_UpdateNoteRequest.Unmarshal(m, b) 1511} 1512func (m *UpdateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1513 return xxx_messageInfo_UpdateNoteRequest.Marshal(b, m, deterministic) 1514} 1515func (dst *UpdateNoteRequest) XXX_Merge(src proto.Message) { 1516 xxx_messageInfo_UpdateNoteRequest.Merge(dst, src) 1517} 1518func (m *UpdateNoteRequest) XXX_Size() int { 1519 return xxx_messageInfo_UpdateNoteRequest.Size(m) 1520} 1521func (m *UpdateNoteRequest) XXX_DiscardUnknown() { 1522 xxx_messageInfo_UpdateNoteRequest.DiscardUnknown(m) 1523} 1524 1525var xxx_messageInfo_UpdateNoteRequest proto.InternalMessageInfo 1526 1527func (m *UpdateNoteRequest) GetName() string { 1528 if m != nil { 1529 return m.Name 1530 } 1531 return "" 1532} 1533 1534func (m *UpdateNoteRequest) GetNote() *Note { 1535 if m != nil { 1536 return m.Note 1537 } 1538 return nil 1539} 1540 1541func (m *UpdateNoteRequest) GetUpdateMask() *field_mask.FieldMask { 1542 if m != nil { 1543 return m.UpdateMask 1544 } 1545 return nil 1546} 1547 1548// Request to list occurrences for a note. 1549type ListNoteOccurrencesRequest struct { 1550 // The name of the note to list occurrences for in the form of 1551 // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. 1552 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1553 // The filter expression. 1554 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 1555 // Number of occurrences to return in the list. 1556 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1557 // Token to provide to skip to a particular spot in the list. 1558 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1559 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1560 XXX_unrecognized []byte `json:"-"` 1561 XXX_sizecache int32 `json:"-"` 1562} 1563 1564func (m *ListNoteOccurrencesRequest) Reset() { *m = ListNoteOccurrencesRequest{} } 1565func (m *ListNoteOccurrencesRequest) String() string { return proto.CompactTextString(m) } 1566func (*ListNoteOccurrencesRequest) ProtoMessage() {} 1567func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int) { 1568 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{16} 1569} 1570func (m *ListNoteOccurrencesRequest) XXX_Unmarshal(b []byte) error { 1571 return xxx_messageInfo_ListNoteOccurrencesRequest.Unmarshal(m, b) 1572} 1573func (m *ListNoteOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1574 return xxx_messageInfo_ListNoteOccurrencesRequest.Marshal(b, m, deterministic) 1575} 1576func (dst *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message) { 1577 xxx_messageInfo_ListNoteOccurrencesRequest.Merge(dst, src) 1578} 1579func (m *ListNoteOccurrencesRequest) XXX_Size() int { 1580 return xxx_messageInfo_ListNoteOccurrencesRequest.Size(m) 1581} 1582func (m *ListNoteOccurrencesRequest) XXX_DiscardUnknown() { 1583 xxx_messageInfo_ListNoteOccurrencesRequest.DiscardUnknown(m) 1584} 1585 1586var xxx_messageInfo_ListNoteOccurrencesRequest proto.InternalMessageInfo 1587 1588func (m *ListNoteOccurrencesRequest) GetName() string { 1589 if m != nil { 1590 return m.Name 1591 } 1592 return "" 1593} 1594 1595func (m *ListNoteOccurrencesRequest) GetFilter() string { 1596 if m != nil { 1597 return m.Filter 1598 } 1599 return "" 1600} 1601 1602func (m *ListNoteOccurrencesRequest) GetPageSize() int32 { 1603 if m != nil { 1604 return m.PageSize 1605 } 1606 return 0 1607} 1608 1609func (m *ListNoteOccurrencesRequest) GetPageToken() string { 1610 if m != nil { 1611 return m.PageToken 1612 } 1613 return "" 1614} 1615 1616// Response for listing occurrences for a note. 1617type ListNoteOccurrencesResponse struct { 1618 // The occurrences attached to the specified note. 1619 Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` 1620 // Token to provide to skip to a particular spot in the list. 1621 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1622 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1623 XXX_unrecognized []byte `json:"-"` 1624 XXX_sizecache int32 `json:"-"` 1625} 1626 1627func (m *ListNoteOccurrencesResponse) Reset() { *m = ListNoteOccurrencesResponse{} } 1628func (m *ListNoteOccurrencesResponse) String() string { return proto.CompactTextString(m) } 1629func (*ListNoteOccurrencesResponse) ProtoMessage() {} 1630func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int) { 1631 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{17} 1632} 1633func (m *ListNoteOccurrencesResponse) XXX_Unmarshal(b []byte) error { 1634 return xxx_messageInfo_ListNoteOccurrencesResponse.Unmarshal(m, b) 1635} 1636func (m *ListNoteOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1637 return xxx_messageInfo_ListNoteOccurrencesResponse.Marshal(b, m, deterministic) 1638} 1639func (dst *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message) { 1640 xxx_messageInfo_ListNoteOccurrencesResponse.Merge(dst, src) 1641} 1642func (m *ListNoteOccurrencesResponse) XXX_Size() int { 1643 return xxx_messageInfo_ListNoteOccurrencesResponse.Size(m) 1644} 1645func (m *ListNoteOccurrencesResponse) XXX_DiscardUnknown() { 1646 xxx_messageInfo_ListNoteOccurrencesResponse.DiscardUnknown(m) 1647} 1648 1649var xxx_messageInfo_ListNoteOccurrencesResponse proto.InternalMessageInfo 1650 1651func (m *ListNoteOccurrencesResponse) GetOccurrences() []*Occurrence { 1652 if m != nil { 1653 return m.Occurrences 1654 } 1655 return nil 1656} 1657 1658func (m *ListNoteOccurrencesResponse) GetNextPageToken() string { 1659 if m != nil { 1660 return m.NextPageToken 1661 } 1662 return "" 1663} 1664 1665// Request to create notes in batch. 1666type BatchCreateNotesRequest struct { 1667 // The name of the project in the form of `projects/[PROJECT_ID]`, under which 1668 // the notes are to be created. 1669 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1670 // The notes to create. 1671 Notes map[string]*Note `protobuf:"bytes,2,rep,name=notes,proto3" json:"notes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1672 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1673 XXX_unrecognized []byte `json:"-"` 1674 XXX_sizecache int32 `json:"-"` 1675} 1676 1677func (m *BatchCreateNotesRequest) Reset() { *m = BatchCreateNotesRequest{} } 1678func (m *BatchCreateNotesRequest) String() string { return proto.CompactTextString(m) } 1679func (*BatchCreateNotesRequest) ProtoMessage() {} 1680func (*BatchCreateNotesRequest) Descriptor() ([]byte, []int) { 1681 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{18} 1682} 1683func (m *BatchCreateNotesRequest) XXX_Unmarshal(b []byte) error { 1684 return xxx_messageInfo_BatchCreateNotesRequest.Unmarshal(m, b) 1685} 1686func (m *BatchCreateNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1687 return xxx_messageInfo_BatchCreateNotesRequest.Marshal(b, m, deterministic) 1688} 1689func (dst *BatchCreateNotesRequest) XXX_Merge(src proto.Message) { 1690 xxx_messageInfo_BatchCreateNotesRequest.Merge(dst, src) 1691} 1692func (m *BatchCreateNotesRequest) XXX_Size() int { 1693 return xxx_messageInfo_BatchCreateNotesRequest.Size(m) 1694} 1695func (m *BatchCreateNotesRequest) XXX_DiscardUnknown() { 1696 xxx_messageInfo_BatchCreateNotesRequest.DiscardUnknown(m) 1697} 1698 1699var xxx_messageInfo_BatchCreateNotesRequest proto.InternalMessageInfo 1700 1701func (m *BatchCreateNotesRequest) GetParent() string { 1702 if m != nil { 1703 return m.Parent 1704 } 1705 return "" 1706} 1707 1708func (m *BatchCreateNotesRequest) GetNotes() map[string]*Note { 1709 if m != nil { 1710 return m.Notes 1711 } 1712 return nil 1713} 1714 1715// Response for creating notes in batch. 1716type BatchCreateNotesResponse struct { 1717 // The notes that were created. 1718 Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` 1719 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1720 XXX_unrecognized []byte `json:"-"` 1721 XXX_sizecache int32 `json:"-"` 1722} 1723 1724func (m *BatchCreateNotesResponse) Reset() { *m = BatchCreateNotesResponse{} } 1725func (m *BatchCreateNotesResponse) String() string { return proto.CompactTextString(m) } 1726func (*BatchCreateNotesResponse) ProtoMessage() {} 1727func (*BatchCreateNotesResponse) Descriptor() ([]byte, []int) { 1728 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{19} 1729} 1730func (m *BatchCreateNotesResponse) XXX_Unmarshal(b []byte) error { 1731 return xxx_messageInfo_BatchCreateNotesResponse.Unmarshal(m, b) 1732} 1733func (m *BatchCreateNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1734 return xxx_messageInfo_BatchCreateNotesResponse.Marshal(b, m, deterministic) 1735} 1736func (dst *BatchCreateNotesResponse) XXX_Merge(src proto.Message) { 1737 xxx_messageInfo_BatchCreateNotesResponse.Merge(dst, src) 1738} 1739func (m *BatchCreateNotesResponse) XXX_Size() int { 1740 return xxx_messageInfo_BatchCreateNotesResponse.Size(m) 1741} 1742func (m *BatchCreateNotesResponse) XXX_DiscardUnknown() { 1743 xxx_messageInfo_BatchCreateNotesResponse.DiscardUnknown(m) 1744} 1745 1746var xxx_messageInfo_BatchCreateNotesResponse proto.InternalMessageInfo 1747 1748func (m *BatchCreateNotesResponse) GetNotes() []*Note { 1749 if m != nil { 1750 return m.Notes 1751 } 1752 return nil 1753} 1754 1755// Request to create occurrences in batch. 1756type BatchCreateOccurrencesRequest struct { 1757 // The name of the project in the form of `projects/[PROJECT_ID]`, under which 1758 // the occurrences are to be created. 1759 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1760 // The occurrences to create. 1761 Occurrences []*Occurrence `protobuf:"bytes,2,rep,name=occurrences,proto3" json:"occurrences,omitempty"` 1762 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1763 XXX_unrecognized []byte `json:"-"` 1764 XXX_sizecache int32 `json:"-"` 1765} 1766 1767func (m *BatchCreateOccurrencesRequest) Reset() { *m = BatchCreateOccurrencesRequest{} } 1768func (m *BatchCreateOccurrencesRequest) String() string { return proto.CompactTextString(m) } 1769func (*BatchCreateOccurrencesRequest) ProtoMessage() {} 1770func (*BatchCreateOccurrencesRequest) Descriptor() ([]byte, []int) { 1771 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{20} 1772} 1773func (m *BatchCreateOccurrencesRequest) XXX_Unmarshal(b []byte) error { 1774 return xxx_messageInfo_BatchCreateOccurrencesRequest.Unmarshal(m, b) 1775} 1776func (m *BatchCreateOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1777 return xxx_messageInfo_BatchCreateOccurrencesRequest.Marshal(b, m, deterministic) 1778} 1779func (dst *BatchCreateOccurrencesRequest) XXX_Merge(src proto.Message) { 1780 xxx_messageInfo_BatchCreateOccurrencesRequest.Merge(dst, src) 1781} 1782func (m *BatchCreateOccurrencesRequest) XXX_Size() int { 1783 return xxx_messageInfo_BatchCreateOccurrencesRequest.Size(m) 1784} 1785func (m *BatchCreateOccurrencesRequest) XXX_DiscardUnknown() { 1786 xxx_messageInfo_BatchCreateOccurrencesRequest.DiscardUnknown(m) 1787} 1788 1789var xxx_messageInfo_BatchCreateOccurrencesRequest proto.InternalMessageInfo 1790 1791func (m *BatchCreateOccurrencesRequest) GetParent() string { 1792 if m != nil { 1793 return m.Parent 1794 } 1795 return "" 1796} 1797 1798func (m *BatchCreateOccurrencesRequest) GetOccurrences() []*Occurrence { 1799 if m != nil { 1800 return m.Occurrences 1801 } 1802 return nil 1803} 1804 1805// Response for creating occurrences in batch. 1806type BatchCreateOccurrencesResponse struct { 1807 // The occurrences that were created. 1808 Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` 1809 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1810 XXX_unrecognized []byte `json:"-"` 1811 XXX_sizecache int32 `json:"-"` 1812} 1813 1814func (m *BatchCreateOccurrencesResponse) Reset() { *m = BatchCreateOccurrencesResponse{} } 1815func (m *BatchCreateOccurrencesResponse) String() string { return proto.CompactTextString(m) } 1816func (*BatchCreateOccurrencesResponse) ProtoMessage() {} 1817func (*BatchCreateOccurrencesResponse) Descriptor() ([]byte, []int) { 1818 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{21} 1819} 1820func (m *BatchCreateOccurrencesResponse) XXX_Unmarshal(b []byte) error { 1821 return xxx_messageInfo_BatchCreateOccurrencesResponse.Unmarshal(m, b) 1822} 1823func (m *BatchCreateOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1824 return xxx_messageInfo_BatchCreateOccurrencesResponse.Marshal(b, m, deterministic) 1825} 1826func (dst *BatchCreateOccurrencesResponse) XXX_Merge(src proto.Message) { 1827 xxx_messageInfo_BatchCreateOccurrencesResponse.Merge(dst, src) 1828} 1829func (m *BatchCreateOccurrencesResponse) XXX_Size() int { 1830 return xxx_messageInfo_BatchCreateOccurrencesResponse.Size(m) 1831} 1832func (m *BatchCreateOccurrencesResponse) XXX_DiscardUnknown() { 1833 xxx_messageInfo_BatchCreateOccurrencesResponse.DiscardUnknown(m) 1834} 1835 1836var xxx_messageInfo_BatchCreateOccurrencesResponse proto.InternalMessageInfo 1837 1838func (m *BatchCreateOccurrencesResponse) GetOccurrences() []*Occurrence { 1839 if m != nil { 1840 return m.Occurrences 1841 } 1842 return nil 1843} 1844 1845// Request to get a vulnerability summary for some set of occurrences. 1846type GetVulnerabilityOccurrencesSummaryRequest struct { 1847 // The name of the project to get a vulnerability summary for in the form of 1848 // `projects/[PROJECT_ID]`. 1849 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1850 // The filter expression. 1851 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 1852 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1853 XXX_unrecognized []byte `json:"-"` 1854 XXX_sizecache int32 `json:"-"` 1855} 1856 1857func (m *GetVulnerabilityOccurrencesSummaryRequest) Reset() { 1858 *m = GetVulnerabilityOccurrencesSummaryRequest{} 1859} 1860func (m *GetVulnerabilityOccurrencesSummaryRequest) String() string { return proto.CompactTextString(m) } 1861func (*GetVulnerabilityOccurrencesSummaryRequest) ProtoMessage() {} 1862func (*GetVulnerabilityOccurrencesSummaryRequest) Descriptor() ([]byte, []int) { 1863 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{22} 1864} 1865func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_Unmarshal(b []byte) error { 1866 return xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Unmarshal(m, b) 1867} 1868func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1869 return xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Marshal(b, m, deterministic) 1870} 1871func (dst *GetVulnerabilityOccurrencesSummaryRequest) XXX_Merge(src proto.Message) { 1872 xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Merge(dst, src) 1873} 1874func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_Size() int { 1875 return xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Size(m) 1876} 1877func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_DiscardUnknown() { 1878 xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.DiscardUnknown(m) 1879} 1880 1881var xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest proto.InternalMessageInfo 1882 1883func (m *GetVulnerabilityOccurrencesSummaryRequest) GetParent() string { 1884 if m != nil { 1885 return m.Parent 1886 } 1887 return "" 1888} 1889 1890func (m *GetVulnerabilityOccurrencesSummaryRequest) GetFilter() string { 1891 if m != nil { 1892 return m.Filter 1893 } 1894 return "" 1895} 1896 1897// A summary of how many vulnerability occurrences there are per resource and 1898// severity type. 1899type VulnerabilityOccurrencesSummary struct { 1900 // A listing by resource of the number of fixable and total vulnerabilities. 1901 Counts []*VulnerabilityOccurrencesSummary_FixableTotalByDigest `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"` 1902 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1903 XXX_unrecognized []byte `json:"-"` 1904 XXX_sizecache int32 `json:"-"` 1905} 1906 1907func (m *VulnerabilityOccurrencesSummary) Reset() { *m = VulnerabilityOccurrencesSummary{} } 1908func (m *VulnerabilityOccurrencesSummary) String() string { return proto.CompactTextString(m) } 1909func (*VulnerabilityOccurrencesSummary) ProtoMessage() {} 1910func (*VulnerabilityOccurrencesSummary) Descriptor() ([]byte, []int) { 1911 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{23} 1912} 1913func (m *VulnerabilityOccurrencesSummary) XXX_Unmarshal(b []byte) error { 1914 return xxx_messageInfo_VulnerabilityOccurrencesSummary.Unmarshal(m, b) 1915} 1916func (m *VulnerabilityOccurrencesSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1917 return xxx_messageInfo_VulnerabilityOccurrencesSummary.Marshal(b, m, deterministic) 1918} 1919func (dst *VulnerabilityOccurrencesSummary) XXX_Merge(src proto.Message) { 1920 xxx_messageInfo_VulnerabilityOccurrencesSummary.Merge(dst, src) 1921} 1922func (m *VulnerabilityOccurrencesSummary) XXX_Size() int { 1923 return xxx_messageInfo_VulnerabilityOccurrencesSummary.Size(m) 1924} 1925func (m *VulnerabilityOccurrencesSummary) XXX_DiscardUnknown() { 1926 xxx_messageInfo_VulnerabilityOccurrencesSummary.DiscardUnknown(m) 1927} 1928 1929var xxx_messageInfo_VulnerabilityOccurrencesSummary proto.InternalMessageInfo 1930 1931func (m *VulnerabilityOccurrencesSummary) GetCounts() []*VulnerabilityOccurrencesSummary_FixableTotalByDigest { 1932 if m != nil { 1933 return m.Counts 1934 } 1935 return nil 1936} 1937 1938// Per resource and severity counts of fixable and total vulnerabilites. 1939type VulnerabilityOccurrencesSummary_FixableTotalByDigest struct { 1940 // The affected resource. 1941 Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` 1942 // The severity for this count. SEVERITY_UNSPECIFIED indicates total across 1943 // all severities. 1944 Severity vulnerability.Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1beta1.vulnerability.Severity" json:"severity,omitempty"` 1945 // The number of fixable vulnerabilities associated with this resource. 1946 FixableCount int64 `protobuf:"varint,3,opt,name=fixable_count,json=fixableCount,proto3" json:"fixable_count,omitempty"` 1947 // The total number of vulnerabilities associated with this resource. 1948 TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` 1949 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1950 XXX_unrecognized []byte `json:"-"` 1951 XXX_sizecache int32 `json:"-"` 1952} 1953 1954func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) Reset() { 1955 *m = VulnerabilityOccurrencesSummary_FixableTotalByDigest{} 1956} 1957func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) String() string { 1958 return proto.CompactTextString(m) 1959} 1960func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoMessage() {} 1961func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) Descriptor() ([]byte, []int) { 1962 return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{23, 0} 1963} 1964func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Unmarshal(b []byte) error { 1965 return xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Unmarshal(m, b) 1966} 1967func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1968 return xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Marshal(b, m, deterministic) 1969} 1970func (dst *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Merge(src proto.Message) { 1971 xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Merge(dst, src) 1972} 1973func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Size() int { 1974 return xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Size(m) 1975} 1976func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_DiscardUnknown() { 1977 xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.DiscardUnknown(m) 1978} 1979 1980var xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest proto.InternalMessageInfo 1981 1982func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetResource() *Resource { 1983 if m != nil { 1984 return m.Resource 1985 } 1986 return nil 1987} 1988 1989func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetSeverity() vulnerability.Severity { 1990 if m != nil { 1991 return m.Severity 1992 } 1993 return vulnerability.Severity_SEVERITY_UNSPECIFIED 1994} 1995 1996func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetFixableCount() int64 { 1997 if m != nil { 1998 return m.FixableCount 1999 } 2000 return 0 2001} 2002 2003func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetTotalCount() int64 { 2004 if m != nil { 2005 return m.TotalCount 2006 } 2007 return 0 2008} 2009 2010func init() { 2011 proto.RegisterType((*Occurrence)(nil), "grafeas.v1beta1.Occurrence") 2012 proto.RegisterType((*Resource)(nil), "grafeas.v1beta1.Resource") 2013 proto.RegisterType((*Note)(nil), "grafeas.v1beta1.Note") 2014 proto.RegisterType((*GetOccurrenceRequest)(nil), "grafeas.v1beta1.GetOccurrenceRequest") 2015 proto.RegisterType((*ListOccurrencesRequest)(nil), "grafeas.v1beta1.ListOccurrencesRequest") 2016 proto.RegisterType((*ListOccurrencesResponse)(nil), "grafeas.v1beta1.ListOccurrencesResponse") 2017 proto.RegisterType((*DeleteOccurrenceRequest)(nil), "grafeas.v1beta1.DeleteOccurrenceRequest") 2018 proto.RegisterType((*CreateOccurrenceRequest)(nil), "grafeas.v1beta1.CreateOccurrenceRequest") 2019 proto.RegisterType((*UpdateOccurrenceRequest)(nil), "grafeas.v1beta1.UpdateOccurrenceRequest") 2020 proto.RegisterType((*GetNoteRequest)(nil), "grafeas.v1beta1.GetNoteRequest") 2021 proto.RegisterType((*GetOccurrenceNoteRequest)(nil), "grafeas.v1beta1.GetOccurrenceNoteRequest") 2022 proto.RegisterType((*ListNotesRequest)(nil), "grafeas.v1beta1.ListNotesRequest") 2023 proto.RegisterType((*ListNotesResponse)(nil), "grafeas.v1beta1.ListNotesResponse") 2024 proto.RegisterType((*DeleteNoteRequest)(nil), "grafeas.v1beta1.DeleteNoteRequest") 2025 proto.RegisterType((*CreateNoteRequest)(nil), "grafeas.v1beta1.CreateNoteRequest") 2026 proto.RegisterType((*UpdateNoteRequest)(nil), "grafeas.v1beta1.UpdateNoteRequest") 2027 proto.RegisterType((*ListNoteOccurrencesRequest)(nil), "grafeas.v1beta1.ListNoteOccurrencesRequest") 2028 proto.RegisterType((*ListNoteOccurrencesResponse)(nil), "grafeas.v1beta1.ListNoteOccurrencesResponse") 2029 proto.RegisterType((*BatchCreateNotesRequest)(nil), "grafeas.v1beta1.BatchCreateNotesRequest") 2030 proto.RegisterMapType((map[string]*Note)(nil), "grafeas.v1beta1.BatchCreateNotesRequest.NotesEntry") 2031 proto.RegisterType((*BatchCreateNotesResponse)(nil), "grafeas.v1beta1.BatchCreateNotesResponse") 2032 proto.RegisterType((*BatchCreateOccurrencesRequest)(nil), "grafeas.v1beta1.BatchCreateOccurrencesRequest") 2033 proto.RegisterType((*BatchCreateOccurrencesResponse)(nil), "grafeas.v1beta1.BatchCreateOccurrencesResponse") 2034 proto.RegisterType((*GetVulnerabilityOccurrencesSummaryRequest)(nil), "grafeas.v1beta1.GetVulnerabilityOccurrencesSummaryRequest") 2035 proto.RegisterType((*VulnerabilityOccurrencesSummary)(nil), "grafeas.v1beta1.VulnerabilityOccurrencesSummary") 2036 proto.RegisterType((*VulnerabilityOccurrencesSummary_FixableTotalByDigest)(nil), "grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest") 2037} 2038 2039// Reference imports to suppress errors if they are not otherwise used. 2040var _ context.Context 2041var _ grpc.ClientConn 2042 2043// This is a compile-time assertion to ensure that this generated file 2044// is compatible with the grpc package it is being compiled against. 2045const _ = grpc.SupportPackageIsVersion4 2046 2047// GrafeasV1Beta1Client is the client API for GrafeasV1Beta1 service. 2048// 2049// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2050type GrafeasV1Beta1Client interface { 2051 // Gets the specified occurrence. 2052 GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) 2053 // Lists occurrences for the specified project. 2054 ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) 2055 // Deletes the specified occurrence. For example, use this method to delete an 2056 // occurrence when the occurrence is no longer applicable for the given 2057 // resource. 2058 DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) 2059 // Creates a new occurrence. 2060 CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) 2061 // Creates new occurrences in batch. 2062 BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error) 2063 // Updates the specified occurrence. 2064 UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) 2065 // Gets the note attached to the specified occurrence. Consumer projects can 2066 // use this method to get a note that belongs to a provider project. 2067 GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) 2068 // Gets the specified note. 2069 GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) 2070 // Lists notes for the specified project. 2071 ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) 2072 // Deletes the specified note. 2073 DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) 2074 // Creates a new note. 2075 CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) 2076 // Creates new notes in batch. 2077 BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error) 2078 // Updates the specified note. 2079 UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) 2080 // Lists occurrences referencing the specified note. Provider projects can use 2081 // this method to get all occurrences across consumer projects referencing the 2082 // specified note. 2083 ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) 2084 // Gets a summary of the number and severity of occurrences. 2085 GetVulnerabilityOccurrencesSummary(ctx context.Context, in *GetVulnerabilityOccurrencesSummaryRequest, opts ...grpc.CallOption) (*VulnerabilityOccurrencesSummary, error) 2086} 2087 2088type grafeasV1Beta1Client struct { 2089 cc *grpc.ClientConn 2090} 2091 2092func NewGrafeasV1Beta1Client(cc *grpc.ClientConn) GrafeasV1Beta1Client { 2093 return &grafeasV1Beta1Client{cc} 2094} 2095 2096func (c *grafeasV1Beta1Client) GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { 2097 out := new(Occurrence) 2098 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrence", in, out, opts...) 2099 if err != nil { 2100 return nil, err 2101 } 2102 return out, nil 2103} 2104 2105func (c *grafeasV1Beta1Client) ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) { 2106 out := new(ListOccurrencesResponse) 2107 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListOccurrences", in, out, opts...) 2108 if err != nil { 2109 return nil, err 2110 } 2111 return out, nil 2112} 2113 2114func (c *grafeasV1Beta1Client) DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 2115 out := new(empty.Empty) 2116 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/DeleteOccurrence", in, out, opts...) 2117 if err != nil { 2118 return nil, err 2119 } 2120 return out, nil 2121} 2122 2123func (c *grafeasV1Beta1Client) CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { 2124 out := new(Occurrence) 2125 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/CreateOccurrence", in, out, opts...) 2126 if err != nil { 2127 return nil, err 2128 } 2129 return out, nil 2130} 2131 2132func (c *grafeasV1Beta1Client) BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error) { 2133 out := new(BatchCreateOccurrencesResponse) 2134 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateOccurrences", in, out, opts...) 2135 if err != nil { 2136 return nil, err 2137 } 2138 return out, nil 2139} 2140 2141func (c *grafeasV1Beta1Client) UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { 2142 out := new(Occurrence) 2143 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/UpdateOccurrence", in, out, opts...) 2144 if err != nil { 2145 return nil, err 2146 } 2147 return out, nil 2148} 2149 2150func (c *grafeasV1Beta1Client) GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) { 2151 out := new(Note) 2152 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrenceNote", in, out, opts...) 2153 if err != nil { 2154 return nil, err 2155 } 2156 return out, nil 2157} 2158 2159func (c *grafeasV1Beta1Client) GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) { 2160 out := new(Note) 2161 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetNote", in, out, opts...) 2162 if err != nil { 2163 return nil, err 2164 } 2165 return out, nil 2166} 2167 2168func (c *grafeasV1Beta1Client) ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) { 2169 out := new(ListNotesResponse) 2170 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListNotes", in, out, opts...) 2171 if err != nil { 2172 return nil, err 2173 } 2174 return out, nil 2175} 2176 2177func (c *grafeasV1Beta1Client) DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 2178 out := new(empty.Empty) 2179 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/DeleteNote", in, out, opts...) 2180 if err != nil { 2181 return nil, err 2182 } 2183 return out, nil 2184} 2185 2186func (c *grafeasV1Beta1Client) CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) { 2187 out := new(Note) 2188 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/CreateNote", in, out, opts...) 2189 if err != nil { 2190 return nil, err 2191 } 2192 return out, nil 2193} 2194 2195func (c *grafeasV1Beta1Client) BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error) { 2196 out := new(BatchCreateNotesResponse) 2197 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateNotes", in, out, opts...) 2198 if err != nil { 2199 return nil, err 2200 } 2201 return out, nil 2202} 2203 2204func (c *grafeasV1Beta1Client) UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) { 2205 out := new(Note) 2206 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/UpdateNote", in, out, opts...) 2207 if err != nil { 2208 return nil, err 2209 } 2210 return out, nil 2211} 2212 2213func (c *grafeasV1Beta1Client) ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) { 2214 out := new(ListNoteOccurrencesResponse) 2215 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListNoteOccurrences", in, out, opts...) 2216 if err != nil { 2217 return nil, err 2218 } 2219 return out, nil 2220} 2221 2222func (c *grafeasV1Beta1Client) GetVulnerabilityOccurrencesSummary(ctx context.Context, in *GetVulnerabilityOccurrencesSummaryRequest, opts ...grpc.CallOption) (*VulnerabilityOccurrencesSummary, error) { 2223 out := new(VulnerabilityOccurrencesSummary) 2224 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetVulnerabilityOccurrencesSummary", in, out, opts...) 2225 if err != nil { 2226 return nil, err 2227 } 2228 return out, nil 2229} 2230 2231// GrafeasV1Beta1Server is the server API for GrafeasV1Beta1 service. 2232type GrafeasV1Beta1Server interface { 2233 // Gets the specified occurrence. 2234 GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error) 2235 // Lists occurrences for the specified project. 2236 ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error) 2237 // Deletes the specified occurrence. For example, use this method to delete an 2238 // occurrence when the occurrence is no longer applicable for the given 2239 // resource. 2240 DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error) 2241 // Creates a new occurrence. 2242 CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error) 2243 // Creates new occurrences in batch. 2244 BatchCreateOccurrences(context.Context, *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error) 2245 // Updates the specified occurrence. 2246 UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error) 2247 // Gets the note attached to the specified occurrence. Consumer projects can 2248 // use this method to get a note that belongs to a provider project. 2249 GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error) 2250 // Gets the specified note. 2251 GetNote(context.Context, *GetNoteRequest) (*Note, error) 2252 // Lists notes for the specified project. 2253 ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error) 2254 // Deletes the specified note. 2255 DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error) 2256 // Creates a new note. 2257 CreateNote(context.Context, *CreateNoteRequest) (*Note, error) 2258 // Creates new notes in batch. 2259 BatchCreateNotes(context.Context, *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error) 2260 // Updates the specified note. 2261 UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error) 2262 // Lists occurrences referencing the specified note. Provider projects can use 2263 // this method to get all occurrences across consumer projects referencing the 2264 // specified note. 2265 ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error) 2266 // Gets a summary of the number and severity of occurrences. 2267 GetVulnerabilityOccurrencesSummary(context.Context, *GetVulnerabilityOccurrencesSummaryRequest) (*VulnerabilityOccurrencesSummary, error) 2268} 2269 2270func RegisterGrafeasV1Beta1Server(s *grpc.Server, srv GrafeasV1Beta1Server) { 2271 s.RegisterService(&_GrafeasV1Beta1_serviceDesc, srv) 2272} 2273 2274func _GrafeasV1Beta1_GetOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2275 in := new(GetOccurrenceRequest) 2276 if err := dec(in); err != nil { 2277 return nil, err 2278 } 2279 if interceptor == nil { 2280 return srv.(GrafeasV1Beta1Server).GetOccurrence(ctx, in) 2281 } 2282 info := &grpc.UnaryServerInfo{ 2283 Server: srv, 2284 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrence", 2285 } 2286 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2287 return srv.(GrafeasV1Beta1Server).GetOccurrence(ctx, req.(*GetOccurrenceRequest)) 2288 } 2289 return interceptor(ctx, in, info, handler) 2290} 2291 2292func _GrafeasV1Beta1_ListOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2293 in := new(ListOccurrencesRequest) 2294 if err := dec(in); err != nil { 2295 return nil, err 2296 } 2297 if interceptor == nil { 2298 return srv.(GrafeasV1Beta1Server).ListOccurrences(ctx, in) 2299 } 2300 info := &grpc.UnaryServerInfo{ 2301 Server: srv, 2302 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListOccurrences", 2303 } 2304 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2305 return srv.(GrafeasV1Beta1Server).ListOccurrences(ctx, req.(*ListOccurrencesRequest)) 2306 } 2307 return interceptor(ctx, in, info, handler) 2308} 2309 2310func _GrafeasV1Beta1_DeleteOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2311 in := new(DeleteOccurrenceRequest) 2312 if err := dec(in); err != nil { 2313 return nil, err 2314 } 2315 if interceptor == nil { 2316 return srv.(GrafeasV1Beta1Server).DeleteOccurrence(ctx, in) 2317 } 2318 info := &grpc.UnaryServerInfo{ 2319 Server: srv, 2320 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/DeleteOccurrence", 2321 } 2322 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2323 return srv.(GrafeasV1Beta1Server).DeleteOccurrence(ctx, req.(*DeleteOccurrenceRequest)) 2324 } 2325 return interceptor(ctx, in, info, handler) 2326} 2327 2328func _GrafeasV1Beta1_CreateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2329 in := new(CreateOccurrenceRequest) 2330 if err := dec(in); err != nil { 2331 return nil, err 2332 } 2333 if interceptor == nil { 2334 return srv.(GrafeasV1Beta1Server).CreateOccurrence(ctx, in) 2335 } 2336 info := &grpc.UnaryServerInfo{ 2337 Server: srv, 2338 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/CreateOccurrence", 2339 } 2340 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2341 return srv.(GrafeasV1Beta1Server).CreateOccurrence(ctx, req.(*CreateOccurrenceRequest)) 2342 } 2343 return interceptor(ctx, in, info, handler) 2344} 2345 2346func _GrafeasV1Beta1_BatchCreateOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2347 in := new(BatchCreateOccurrencesRequest) 2348 if err := dec(in); err != nil { 2349 return nil, err 2350 } 2351 if interceptor == nil { 2352 return srv.(GrafeasV1Beta1Server).BatchCreateOccurrences(ctx, in) 2353 } 2354 info := &grpc.UnaryServerInfo{ 2355 Server: srv, 2356 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateOccurrences", 2357 } 2358 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2359 return srv.(GrafeasV1Beta1Server).BatchCreateOccurrences(ctx, req.(*BatchCreateOccurrencesRequest)) 2360 } 2361 return interceptor(ctx, in, info, handler) 2362} 2363 2364func _GrafeasV1Beta1_UpdateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2365 in := new(UpdateOccurrenceRequest) 2366 if err := dec(in); err != nil { 2367 return nil, err 2368 } 2369 if interceptor == nil { 2370 return srv.(GrafeasV1Beta1Server).UpdateOccurrence(ctx, in) 2371 } 2372 info := &grpc.UnaryServerInfo{ 2373 Server: srv, 2374 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/UpdateOccurrence", 2375 } 2376 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2377 return srv.(GrafeasV1Beta1Server).UpdateOccurrence(ctx, req.(*UpdateOccurrenceRequest)) 2378 } 2379 return interceptor(ctx, in, info, handler) 2380} 2381 2382func _GrafeasV1Beta1_GetOccurrenceNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2383 in := new(GetOccurrenceNoteRequest) 2384 if err := dec(in); err != nil { 2385 return nil, err 2386 } 2387 if interceptor == nil { 2388 return srv.(GrafeasV1Beta1Server).GetOccurrenceNote(ctx, in) 2389 } 2390 info := &grpc.UnaryServerInfo{ 2391 Server: srv, 2392 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrenceNote", 2393 } 2394 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2395 return srv.(GrafeasV1Beta1Server).GetOccurrenceNote(ctx, req.(*GetOccurrenceNoteRequest)) 2396 } 2397 return interceptor(ctx, in, info, handler) 2398} 2399 2400func _GrafeasV1Beta1_GetNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2401 in := new(GetNoteRequest) 2402 if err := dec(in); err != nil { 2403 return nil, err 2404 } 2405 if interceptor == nil { 2406 return srv.(GrafeasV1Beta1Server).GetNote(ctx, in) 2407 } 2408 info := &grpc.UnaryServerInfo{ 2409 Server: srv, 2410 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetNote", 2411 } 2412 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2413 return srv.(GrafeasV1Beta1Server).GetNote(ctx, req.(*GetNoteRequest)) 2414 } 2415 return interceptor(ctx, in, info, handler) 2416} 2417 2418func _GrafeasV1Beta1_ListNotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2419 in := new(ListNotesRequest) 2420 if err := dec(in); err != nil { 2421 return nil, err 2422 } 2423 if interceptor == nil { 2424 return srv.(GrafeasV1Beta1Server).ListNotes(ctx, in) 2425 } 2426 info := &grpc.UnaryServerInfo{ 2427 Server: srv, 2428 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListNotes", 2429 } 2430 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2431 return srv.(GrafeasV1Beta1Server).ListNotes(ctx, req.(*ListNotesRequest)) 2432 } 2433 return interceptor(ctx, in, info, handler) 2434} 2435 2436func _GrafeasV1Beta1_DeleteNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2437 in := new(DeleteNoteRequest) 2438 if err := dec(in); err != nil { 2439 return nil, err 2440 } 2441 if interceptor == nil { 2442 return srv.(GrafeasV1Beta1Server).DeleteNote(ctx, in) 2443 } 2444 info := &grpc.UnaryServerInfo{ 2445 Server: srv, 2446 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/DeleteNote", 2447 } 2448 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2449 return srv.(GrafeasV1Beta1Server).DeleteNote(ctx, req.(*DeleteNoteRequest)) 2450 } 2451 return interceptor(ctx, in, info, handler) 2452} 2453 2454func _GrafeasV1Beta1_CreateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2455 in := new(CreateNoteRequest) 2456 if err := dec(in); err != nil { 2457 return nil, err 2458 } 2459 if interceptor == nil { 2460 return srv.(GrafeasV1Beta1Server).CreateNote(ctx, in) 2461 } 2462 info := &grpc.UnaryServerInfo{ 2463 Server: srv, 2464 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/CreateNote", 2465 } 2466 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2467 return srv.(GrafeasV1Beta1Server).CreateNote(ctx, req.(*CreateNoteRequest)) 2468 } 2469 return interceptor(ctx, in, info, handler) 2470} 2471 2472func _GrafeasV1Beta1_BatchCreateNotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2473 in := new(BatchCreateNotesRequest) 2474 if err := dec(in); err != nil { 2475 return nil, err 2476 } 2477 if interceptor == nil { 2478 return srv.(GrafeasV1Beta1Server).BatchCreateNotes(ctx, in) 2479 } 2480 info := &grpc.UnaryServerInfo{ 2481 Server: srv, 2482 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateNotes", 2483 } 2484 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2485 return srv.(GrafeasV1Beta1Server).BatchCreateNotes(ctx, req.(*BatchCreateNotesRequest)) 2486 } 2487 return interceptor(ctx, in, info, handler) 2488} 2489 2490func _GrafeasV1Beta1_UpdateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2491 in := new(UpdateNoteRequest) 2492 if err := dec(in); err != nil { 2493 return nil, err 2494 } 2495 if interceptor == nil { 2496 return srv.(GrafeasV1Beta1Server).UpdateNote(ctx, in) 2497 } 2498 info := &grpc.UnaryServerInfo{ 2499 Server: srv, 2500 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/UpdateNote", 2501 } 2502 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2503 return srv.(GrafeasV1Beta1Server).UpdateNote(ctx, req.(*UpdateNoteRequest)) 2504 } 2505 return interceptor(ctx, in, info, handler) 2506} 2507 2508func _GrafeasV1Beta1_ListNoteOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2509 in := new(ListNoteOccurrencesRequest) 2510 if err := dec(in); err != nil { 2511 return nil, err 2512 } 2513 if interceptor == nil { 2514 return srv.(GrafeasV1Beta1Server).ListNoteOccurrences(ctx, in) 2515 } 2516 info := &grpc.UnaryServerInfo{ 2517 Server: srv, 2518 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListNoteOccurrences", 2519 } 2520 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2521 return srv.(GrafeasV1Beta1Server).ListNoteOccurrences(ctx, req.(*ListNoteOccurrencesRequest)) 2522 } 2523 return interceptor(ctx, in, info, handler) 2524} 2525 2526func _GrafeasV1Beta1_GetVulnerabilityOccurrencesSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2527 in := new(GetVulnerabilityOccurrencesSummaryRequest) 2528 if err := dec(in); err != nil { 2529 return nil, err 2530 } 2531 if interceptor == nil { 2532 return srv.(GrafeasV1Beta1Server).GetVulnerabilityOccurrencesSummary(ctx, in) 2533 } 2534 info := &grpc.UnaryServerInfo{ 2535 Server: srv, 2536 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetVulnerabilityOccurrencesSummary", 2537 } 2538 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2539 return srv.(GrafeasV1Beta1Server).GetVulnerabilityOccurrencesSummary(ctx, req.(*GetVulnerabilityOccurrencesSummaryRequest)) 2540 } 2541 return interceptor(ctx, in, info, handler) 2542} 2543 2544var _GrafeasV1Beta1_serviceDesc = grpc.ServiceDesc{ 2545 ServiceName: "grafeas.v1beta1.GrafeasV1Beta1", 2546 HandlerType: (*GrafeasV1Beta1Server)(nil), 2547 Methods: []grpc.MethodDesc{ 2548 { 2549 MethodName: "GetOccurrence", 2550 Handler: _GrafeasV1Beta1_GetOccurrence_Handler, 2551 }, 2552 { 2553 MethodName: "ListOccurrences", 2554 Handler: _GrafeasV1Beta1_ListOccurrences_Handler, 2555 }, 2556 { 2557 MethodName: "DeleteOccurrence", 2558 Handler: _GrafeasV1Beta1_DeleteOccurrence_Handler, 2559 }, 2560 { 2561 MethodName: "CreateOccurrence", 2562 Handler: _GrafeasV1Beta1_CreateOccurrence_Handler, 2563 }, 2564 { 2565 MethodName: "BatchCreateOccurrences", 2566 Handler: _GrafeasV1Beta1_BatchCreateOccurrences_Handler, 2567 }, 2568 { 2569 MethodName: "UpdateOccurrence", 2570 Handler: _GrafeasV1Beta1_UpdateOccurrence_Handler, 2571 }, 2572 { 2573 MethodName: "GetOccurrenceNote", 2574 Handler: _GrafeasV1Beta1_GetOccurrenceNote_Handler, 2575 }, 2576 { 2577 MethodName: "GetNote", 2578 Handler: _GrafeasV1Beta1_GetNote_Handler, 2579 }, 2580 { 2581 MethodName: "ListNotes", 2582 Handler: _GrafeasV1Beta1_ListNotes_Handler, 2583 }, 2584 { 2585 MethodName: "DeleteNote", 2586 Handler: _GrafeasV1Beta1_DeleteNote_Handler, 2587 }, 2588 { 2589 MethodName: "CreateNote", 2590 Handler: _GrafeasV1Beta1_CreateNote_Handler, 2591 }, 2592 { 2593 MethodName: "BatchCreateNotes", 2594 Handler: _GrafeasV1Beta1_BatchCreateNotes_Handler, 2595 }, 2596 { 2597 MethodName: "UpdateNote", 2598 Handler: _GrafeasV1Beta1_UpdateNote_Handler, 2599 }, 2600 { 2601 MethodName: "ListNoteOccurrences", 2602 Handler: _GrafeasV1Beta1_ListNoteOccurrences_Handler, 2603 }, 2604 { 2605 MethodName: "GetVulnerabilityOccurrencesSummary", 2606 Handler: _GrafeasV1Beta1_GetVulnerabilityOccurrencesSummary_Handler, 2607 }, 2608 }, 2609 Streams: []grpc.StreamDesc{}, 2610 Metadata: "google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto", 2611} 2612 2613func init() { 2614 proto.RegisterFile("google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto", fileDescriptor_grafeas_a4e3069f0b5ff953) 2615} 2616 2617var fileDescriptor_grafeas_a4e3069f0b5ff953 = []byte{ 2618 // 1920 bytes of a gzipped FileDescriptorProto 2619 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xcd, 0x6f, 0x1b, 0xc7, 2620 0x15, 0xf7, 0x52, 0x9f, 0x7c, 0xd4, 0x07, 0x35, 0x75, 0xac, 0x2d, 0x9d, 0xc4, 0xec, 0xc6, 0x75, 2621 0x24, 0xda, 0x21, 0x6d, 0x39, 0x35, 0x1a, 0xd9, 0x82, 0x11, 0x4a, 0xb2, 0x64, 0xa4, 0x75, 0x8c, 2622 0xb5, 0x12, 0x14, 0x2d, 0x02, 0x62, 0xc8, 0x1d, 0x51, 0x5b, 0x2d, 0x77, 0xb7, 0xbb, 0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0x11, 0xcb, 0xe6, 0xa4, 0xd1, 0x97, 0x38, 0x9a, 0x3a, 0x85, 0x1e, 0x42, 0xa9, 0x13, 0x10, 0x4c, 2646 0x49, 0x8b, 0xed, 0x50, 0x5f, 0xe6, 0x71, 0x56, 0xea, 0x62, 0xfb, 0xf5, 0x68, 0xfb, 0xf5, 0xb3, 2647 0x68, 0xfb, 0x26, 0x08, 0x73, 0x36, 0xc1, 0x9c, 0xfb, 0xbe, 0x35, 0x72, 0x5e, 0x99, 0xed, 0x2c, 2648 0xcc, 0xb9, 0xf3, 0x33, 0x58, 0x1f, 0x3b, 0x38, 0x7d, 0x95, 0xbb, 0xdf, 0x4a, 0xec, 0x69, 0xfc, 2649 0x78, 0x8f, 0x08, 0xc5, 0xb6, 0x13, 0x9e, 0x5e, 0x31, 0xc7, 0xdd, 0xd1, 0x03, 0x58, 0xe2, 0xec, 2650 0xd6, 0x8b, 0x1c, 0xe7, 0xed, 0x04, 0x8e, 0xe0, 0x7e, 0xec, 0x2f, 0xcc, 0xd1, 0x31, 0xac, 0x5b, 2651 0x24, 0xb0, 0x07, 0xc4, 0x6a, 0x71, 0x56, 0xe8, 0x90, 0xe1, 0x2f, 0x38, 0x13, 0xfb, 0xaf, 0x49, 2652 0xb7, 0xa7, 0x6c, 0x1e, 0x3d, 0x81, 0x35, 0xdb, 0x0d, 0x29, 0x76, 0x1c, 0x91, 0xeb, 0x12, 0x47, 2653 0xa9, 0x26, 0x50, 0x22, 0xea, 0x28, 0x38, 0xaa, 0x1f, 0x3a, 0x06, 0x88, 0x35, 0x42, 0x5f, 0xe3, 2654 0x28, 0xef, 0x24, 0x50, 0x14, 0x19, 0x89, 0x81, 0x14, 0x47, 0x74, 0x04, 0x10, 0x89, 0x04, 0xb1, 2655 0xf4, 0x75, 0x0e, 0x63, 0x24, 0x61, 0x46, 0x3a, 0xa2, 0xa2, 0x8c, 0xfc, 0xd0, 0x29, 0x94, 0x14, 2656 0xd1, 0xd5, 0x37, 0x38, 0xcc, 0xcd, 0x04, 0x8c, 0x2a, 0xcc, 0x31, 0x90, 0xea, 0xda, 0x2c, 0xc2, 2657 0x8a, 0x25, 0xde, 0x18, 0x7d, 0x58, 0x8d, 0xca, 0x3e, 0x95, 0x37, 0x65, 0x58, 0xe8, 0x07, 0x36, 2658 0xa7, 0x4c, 0xd1, 0x64, 0x43, 0x74, 0x08, 0x6b, 0x4c, 0x0b, 0x88, 0x4b, 0x5b, 0x17, 0x38, 0xbc, 2659 0xe0, 0xac, 0x48, 0xcd, 0x6d, 0x2c, 0x29, 0xa7, 0x38, 0xbc, 0x30, 0x4b, 0xd2, 0x8b, 0x3d, 0x18, 2660 0x7f, 0x59, 0x81, 0x45, 0x46, 0x8f, 0xd4, 0x35, 0x6f, 0xc3, 0x56, 0x78, 0xe1, 0x05, 0xb4, 0x65, 2661 0x91, 0xb0, 0x13, 0xd8, 0x3e, 0xdf, 0xae, 0x88, 0xa0, 0xcc, 0x5f, 0x1c, 0xc5, 0xf3, 0x68, 0x17, 2662 0xca, 0x8e, 0xe7, 0x76, 0xc7, 0x6c, 0x05, 0x51, 0x37, 0xd9, 0xbc, 0x6a, 0x3a, 0x27, 0x5f, 0x1f, 2663 0x31, 0xbe, 0x3a, 0x98, 0x12, 0xab, 0xd5, 0x0f, 0x1c, 0x7d, 0xa9, 0xba, 0xb0, 0x53, 0xda, 0xbb, 2664 0x9e, 0xa2, 0x1a, 0xdc, 0xe6, 0x93, 0xc0, 0x31, 0x21, 0x18, 0x8d, 0xd1, 0x21, 0x6c, 0x92, 0x97, 2665 0xbe, 0x1d, 0xf0, 0x8c, 0xe7, 0xe5, 0xf3, 0x46, 0xec, 0x12, 0x71, 0x5a, 0x15, 0x84, 0x95, 0xd7, 2666 0x11, 0x84, 0xd5, 0xb9, 0x04, 0xe1, 0x0e, 0xa0, 0x68, 0xf3, 0x23, 0x01, 0x0c, 0xf5, 0x62, 0x75, 2667 0x81, 0x1d, 0x82, 0x7c, 0xf3, 0x4c, 0x0a, 0x61, 0x88, 0xce, 0x26, 0xe5, 0x43, 0xd0, 0xf6, 0xce, 2668 0x0c, 0xf9, 0xf8, 0x54, 0x7d, 0x4a, 0x8a, 0xc8, 0xfb, 0x91, 0x88, 0x08, 0xfa, 0xbe, 0x99, 0x21, 2669 0x22, 0x4d, 0xf6, 0x37, 0x96, 0x90, 0x03, 0x80, 0x36, 0x0e, 0x89, 0xd4, 0x8f, 0xb5, 0x0c, 0x57, 2670 0xa1, 0x1f, 0x4d, 0x1c, 0xda, 0x8c, 0x1d, 0x45, 0xe6, 0x21, 0xa4, 0xe3, 0x11, 0xac, 0x48, 0x55, 2671 0x90, 0x44, 0xcd, 0x56, 0x8d, 0xe7, 0xe2, 0xf3, 0xf4, 0x8a, 0x19, 0xb9, 0xa0, 0xd3, 0x48, 0x30, 2672 0x70, 0xdb, 0x21, 0x92, 0xa2, 0xb7, 0xa6, 0x0b, 0x46, 0x64, 0x1d, 0x6b, 0x06, 0x7b, 0x42, 0x47, 2673 0x50, 0x1c, 0x09, 0x82, 0xbe, 0x99, 0xc1, 0x75, 0x45, 0x32, 0xa2, 0x11, 0xdb, 0xcd, 0x68, 0x1a, 2674 0x7d, 0x06, 0x6f, 0x28, 0xc4, 0x6f, 0xe1, 0x3e, 0xbd, 0xf0, 0x02, 0x76, 0x40, 0xe5, 0x8c, 0xd0, 2675 0x54, 0xf5, 0xf8, 0x30, 0xb2, 0x3e, 0xbd, 0x62, 0x5e, 0x55, 0x5e, 0x8c, 0xe6, 0x9b, 0xcb, 0xb0, 2676 0x48, 0x87, 0x3e, 0x31, 0x6a, 0x70, 0xf5, 0x84, 0xd0, 0xf8, 0x0a, 0x36, 0xc9, 0x4f, 0xfa, 0x24, 2677 0xa4, 0x69, 0xec, 0x36, 0x5e, 0x69, 0x70, 0xed, 0x7b, 0x76, 0xa8, 0x58, 0x87, 0x91, 0xf9, 0x35, 2678 0x58, 0xf6, 0x71, 0xc0, 0xa4, 0x56, 0x38, 0xc8, 0x27, 0x36, 0x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96, 0xb2, 0xbe, 0x2c, 0xcd, 2690 0xdb, 0xb0, 0xc4, 0xf4, 0x38, 0x2a, 0xca, 0x37, 0x52, 0x2f, 0x31, 0x53, 0xd8, 0xe4, 0x2e, 0xc4, 2691 0x77, 0x61, 0x4b, 0x14, 0xe2, 0xac, 0x94, 0x78, 0xb0, 0x25, 0x4a, 0x50, 0x35, 0xcc, 0xca, 0xc9, 2692 0x36, 0xac, 0xf0, 0xab, 0xc3, 0xb6, 0xa2, 0xa4, 0xb0, 0xc7, 0xa7, 0x16, 0xda, 0x85, 0x45, 0x36, 2693 0x92, 0x87, 0x9c, 0xb1, 0x05, 0x6e, 0x62, 0xfc, 0x5a, 0x83, 0x2d, 0x51, 0x83, 0x33, 0x42, 0x1b, 2694 0x81, 0x16, 0x66, 0x82, 0xbe, 0x5e, 0xad, 0xbd, 0xd2, 0xa0, 0x12, 0x1d, 0x4b, 0x8a, 0x84, 0xa5, 2695 0x85, 0xf6, 0xdf, 0x28, 0x8e, 0x57, 0x1a, 0x5c, 0x4f, 0x0d, 0xe3, 0x7f, 0x2b, 0x61, 0x7f, 0xd5, 2696 0x60, 0xbb, 0x89, 0x69, 0xe7, 0x22, 0x2e, 0x8b, 0x99, 0x5c, 0x79, 0x1a, 0x95, 0x70, 0x81, 0x07, 2697 0x75, 0x3f, 0x11, 0x54, 0x06, 0x20, 0x3f, 0xc2, 0xf0, 0xd8, 0xa5, 0xc1, 0x50, 0x16, 0x78, 0xe5, 2698 0x63, 0x80, 0x78, 0x92, 0xf5, 0xaa, 0x97, 0x64, 0x28, 0x57, 0x63, 0x43, 0xc6, 0x96, 0x01, 0x76, 2699 0xfa, 0x33, 0xaa, 0x42, 0xd8, 0xec, 0x17, 0xbe, 0xab, 0x19, 0x27, 0xa0, 0x27, 0x57, 0xff, 0x1a, 2700 0xd4, 0x33, 0x06, 0xf0, 0x96, 0x02, 0x34, 0xc7, 0x5d, 0x37, 0x71, 0x70, 0x85, 0xf9, 0x0e, 0xce, 2701 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