blob: 5b6a13e639ec6108542dc609726f0d6339325a74 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto
package grafeas // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import empty "github.com/golang/protobuf/ptypes/empty"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import attestation "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation"
import build "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build"
import common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common"
import deployment "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment"
import discovery "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery"
import image "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image"
import _package "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package"
import provenance "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance"
import vulnerability "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability"
import field_mask "google.golang.org/genproto/protobuf/field_mask"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// An instance of an analysis type that has been found on a resource.
type Occurrence struct {
// Output only. The name of the occurrence in the form of
// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Immutable. The resource for which the occurrence applies.
Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
// Required. Immutable. The analysis note associated with this occurrence, in
// the form of `projects[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used
// as a filter in list requests.
NoteName string `protobuf:"bytes,3,opt,name=note_name,json=noteName,proto3" json:"note_name,omitempty"`
// Output only. This explicitly denotes which of the occurrence details are
// specified. This field can be used as a filter in list requests.
Kind common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"`
// A description of actions that can be taken to remedy the note.
Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"`
// Output only. The time this occurrence was created.
CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time this occurrence was last updated.
UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Required. Immutable. Describes the details of the note kind found on this
// resource.
//
// Types that are valid to be assigned to Details:
// *Occurrence_Vulnerability
// *Occurrence_Build
// *Occurrence_DerivedImage
// *Occurrence_Installation
// *Occurrence_Deployment
// *Occurrence_Discovered
// *Occurrence_Attestation
Details isOccurrence_Details `protobuf_oneof:"details"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Occurrence) Reset() { *m = Occurrence{} }
func (m *Occurrence) String() string { return proto.CompactTextString(m) }
func (*Occurrence) ProtoMessage() {}
func (*Occurrence) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{0}
}
func (m *Occurrence) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Occurrence.Unmarshal(m, b)
}
func (m *Occurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Occurrence.Marshal(b, m, deterministic)
}
func (dst *Occurrence) XXX_Merge(src proto.Message) {
xxx_messageInfo_Occurrence.Merge(dst, src)
}
func (m *Occurrence) XXX_Size() int {
return xxx_messageInfo_Occurrence.Size(m)
}
func (m *Occurrence) XXX_DiscardUnknown() {
xxx_messageInfo_Occurrence.DiscardUnknown(m)
}
var xxx_messageInfo_Occurrence proto.InternalMessageInfo
func (m *Occurrence) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Occurrence) GetResource() *Resource {
if m != nil {
return m.Resource
}
return nil
}
func (m *Occurrence) GetNoteName() string {
if m != nil {
return m.NoteName
}
return ""
}
func (m *Occurrence) GetKind() common.NoteKind {
if m != nil {
return m.Kind
}
return common.NoteKind_NOTE_KIND_UNSPECIFIED
}
func (m *Occurrence) GetRemediation() string {
if m != nil {
return m.Remediation
}
return ""
}
func (m *Occurrence) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *Occurrence) GetUpdateTime() *timestamp.Timestamp {
if m != nil {
return m.UpdateTime
}
return nil
}
type isOccurrence_Details interface {
isOccurrence_Details()
}
type Occurrence_Vulnerability struct {
Vulnerability *vulnerability.Details `protobuf:"bytes,8,opt,name=vulnerability,proto3,oneof"`
}
type Occurrence_Build struct {
Build *build.Details `protobuf:"bytes,9,opt,name=build,proto3,oneof"`
}
type Occurrence_DerivedImage struct {
DerivedImage *image.Details `protobuf:"bytes,10,opt,name=derived_image,json=derivedImage,proto3,oneof"`
}
type Occurrence_Installation struct {
Installation *_package.Details `protobuf:"bytes,11,opt,name=installation,proto3,oneof"`
}
type Occurrence_Deployment struct {
Deployment *deployment.Details `protobuf:"bytes,12,opt,name=deployment,proto3,oneof"`
}
type Occurrence_Discovered struct {
Discovered *discovery.Details `protobuf:"bytes,13,opt,name=discovered,proto3,oneof"`
}
type Occurrence_Attestation struct {
Attestation *attestation.Details `protobuf:"bytes,14,opt,name=attestation,proto3,oneof"`
}
func (*Occurrence_Vulnerability) isOccurrence_Details() {}
func (*Occurrence_Build) isOccurrence_Details() {}
func (*Occurrence_DerivedImage) isOccurrence_Details() {}
func (*Occurrence_Installation) isOccurrence_Details() {}
func (*Occurrence_Deployment) isOccurrence_Details() {}
func (*Occurrence_Discovered) isOccurrence_Details() {}
func (*Occurrence_Attestation) isOccurrence_Details() {}
func (m *Occurrence) GetDetails() isOccurrence_Details {
if m != nil {
return m.Details
}
return nil
}
func (m *Occurrence) GetVulnerability() *vulnerability.Details {
if x, ok := m.GetDetails().(*Occurrence_Vulnerability); ok {
return x.Vulnerability
}
return nil
}
func (m *Occurrence) GetBuild() *build.Details {
if x, ok := m.GetDetails().(*Occurrence_Build); ok {
return x.Build
}
return nil
}
func (m *Occurrence) GetDerivedImage() *image.Details {
if x, ok := m.GetDetails().(*Occurrence_DerivedImage); ok {
return x.DerivedImage
}
return nil
}
func (m *Occurrence) GetInstallation() *_package.Details {
if x, ok := m.GetDetails().(*Occurrence_Installation); ok {
return x.Installation
}
return nil
}
func (m *Occurrence) GetDeployment() *deployment.Details {
if x, ok := m.GetDetails().(*Occurrence_Deployment); ok {
return x.Deployment
}
return nil
}
func (m *Occurrence) GetDiscovered() *discovery.Details {
if x, ok := m.GetDetails().(*Occurrence_Discovered); ok {
return x.Discovered
}
return nil
}
func (m *Occurrence) GetAttestation() *attestation.Details {
if x, ok := m.GetDetails().(*Occurrence_Attestation); ok {
return x.Attestation
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*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{}) {
return _Occurrence_OneofMarshaler, _Occurrence_OneofUnmarshaler, _Occurrence_OneofSizer, []interface{}{
(*Occurrence_Vulnerability)(nil),
(*Occurrence_Build)(nil),
(*Occurrence_DerivedImage)(nil),
(*Occurrence_Installation)(nil),
(*Occurrence_Deployment)(nil),
(*Occurrence_Discovered)(nil),
(*Occurrence_Attestation)(nil),
}
}
func _Occurrence_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Occurrence)
// details
switch x := m.Details.(type) {
case *Occurrence_Vulnerability:
b.EncodeVarint(8<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Vulnerability); err != nil {
return err
}
case *Occurrence_Build:
b.EncodeVarint(9<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Build); err != nil {
return err
}
case *Occurrence_DerivedImage:
b.EncodeVarint(10<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.DerivedImage); err != nil {
return err
}
case *Occurrence_Installation:
b.EncodeVarint(11<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Installation); err != nil {
return err
}
case *Occurrence_Deployment:
b.EncodeVarint(12<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Deployment); err != nil {
return err
}
case *Occurrence_Discovered:
b.EncodeVarint(13<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Discovered); err != nil {
return err
}
case *Occurrence_Attestation:
b.EncodeVarint(14<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Attestation); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("Occurrence.Details has unexpected type %T", x)
}
return nil
}
func _Occurrence_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Occurrence)
switch tag {
case 8: // details.vulnerability
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(vulnerability.Details)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_Vulnerability{msg}
return true, err
case 9: // details.build
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(build.Details)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_Build{msg}
return true, err
case 10: // details.derived_image
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(image.Details)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_DerivedImage{msg}
return true, err
case 11: // details.installation
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(_package.Details)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_Installation{msg}
return true, err
case 12: // details.deployment
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(deployment.Details)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_Deployment{msg}
return true, err
case 13: // details.discovered
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(discovery.Details)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_Discovered{msg}
return true, err
case 14: // details.attestation
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(attestation.Details)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_Attestation{msg}
return true, err
default:
return false, nil
}
}
func _Occurrence_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Occurrence)
// details
switch x := m.Details.(type) {
case *Occurrence_Vulnerability:
s := proto.Size(x.Vulnerability)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_Build:
s := proto.Size(x.Build)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_DerivedImage:
s := proto.Size(x.DerivedImage)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_Installation:
s := proto.Size(x.Installation)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_Deployment:
s := proto.Size(x.Deployment)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_Discovered:
s := proto.Size(x.Discovered)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_Attestation:
s := proto.Size(x.Attestation)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// An entity that can have metadata. For example, a Docker image.
type Resource struct {
// The name of the resource. For example, the name of a Docker image -
// "Debian".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The unique URI of the resource. For example,
// `https://gcr.io/project/image@sha256:foo` for a Docker image.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// The hash of the resource content. For example, the Docker digest.
ContentHash *provenance.Hash `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Resource) Reset() { *m = Resource{} }
func (m *Resource) String() string { return proto.CompactTextString(m) }
func (*Resource) ProtoMessage() {}
func (*Resource) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{1}
}
func (m *Resource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Resource.Unmarshal(m, b)
}
func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Resource.Marshal(b, m, deterministic)
}
func (dst *Resource) XXX_Merge(src proto.Message) {
xxx_messageInfo_Resource.Merge(dst, src)
}
func (m *Resource) XXX_Size() int {
return xxx_messageInfo_Resource.Size(m)
}
func (m *Resource) XXX_DiscardUnknown() {
xxx_messageInfo_Resource.DiscardUnknown(m)
}
var xxx_messageInfo_Resource proto.InternalMessageInfo
func (m *Resource) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Resource) GetUri() string {
if m != nil {
return m.Uri
}
return ""
}
func (m *Resource) GetContentHash() *provenance.Hash {
if m != nil {
return m.ContentHash
}
return nil
}
// A type of analysis that can be done for a resource.
type Note struct {
// Output only. The name of the note in the form of
// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A one sentence description of this note.
ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
// A detailed description of this note.
LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"`
// Output only. The type of analysis. This field can be used as a filter in
// list requests.
Kind common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"`
// URLs associated with this note.
RelatedUrl []*common.RelatedUrl `protobuf:"bytes,5,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"`
// Time of expiration for this note. Empty if note does not expire.
ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
// Output only. The time this note was created. This field can be used as a
// filter in list requests.
CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time this note was last updated. This field can be used as
// a filter in list requests.
UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Other notes related to this note.
RelatedNoteNames []string `protobuf:"bytes,9,rep,name=related_note_names,json=relatedNoteNames,proto3" json:"related_note_names,omitempty"`
// Required. Immutable. The type of analysis this note represents.
//
// Types that are valid to be assigned to Type:
// *Note_Vulnerability
// *Note_Build
// *Note_BaseImage
// *Note_Package
// *Note_Deployable
// *Note_Discovery
// *Note_AttestationAuthority
Type isNote_Type `protobuf_oneof:"type"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Note) Reset() { *m = Note{} }
func (m *Note) String() string { return proto.CompactTextString(m) }
func (*Note) ProtoMessage() {}
func (*Note) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{2}
}
func (m *Note) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Note.Unmarshal(m, b)
}
func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Note.Marshal(b, m, deterministic)
}
func (dst *Note) XXX_Merge(src proto.Message) {
xxx_messageInfo_Note.Merge(dst, src)
}
func (m *Note) XXX_Size() int {
return xxx_messageInfo_Note.Size(m)
}
func (m *Note) XXX_DiscardUnknown() {
xxx_messageInfo_Note.DiscardUnknown(m)
}
var xxx_messageInfo_Note proto.InternalMessageInfo
func (m *Note) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Note) GetShortDescription() string {
if m != nil {
return m.ShortDescription
}
return ""
}
func (m *Note) GetLongDescription() string {
if m != nil {
return m.LongDescription
}
return ""
}
func (m *Note) GetKind() common.NoteKind {
if m != nil {
return m.Kind
}
return common.NoteKind_NOTE_KIND_UNSPECIFIED
}
func (m *Note) GetRelatedUrl() []*common.RelatedUrl {
if m != nil {
return m.RelatedUrl
}
return nil
}
func (m *Note) GetExpirationTime() *timestamp.Timestamp {
if m != nil {
return m.ExpirationTime
}
return nil
}
func (m *Note) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *Note) GetUpdateTime() *timestamp.Timestamp {
if m != nil {
return m.UpdateTime
}
return nil
}
func (m *Note) GetRelatedNoteNames() []string {
if m != nil {
return m.RelatedNoteNames
}
return nil
}
type isNote_Type interface {
isNote_Type()
}
type Note_Vulnerability struct {
Vulnerability *vulnerability.Vulnerability `protobuf:"bytes,10,opt,name=vulnerability,proto3,oneof"`
}
type Note_Build struct {
Build *build.Build `protobuf:"bytes,11,opt,name=build,proto3,oneof"`
}
type Note_BaseImage struct {
BaseImage *image.Basis `protobuf:"bytes,12,opt,name=base_image,json=baseImage,proto3,oneof"`
}
type Note_Package struct {
Package *_package.Package `protobuf:"bytes,13,opt,name=package,proto3,oneof"`
}
type Note_Deployable struct {
Deployable *deployment.Deployable `protobuf:"bytes,14,opt,name=deployable,proto3,oneof"`
}
type Note_Discovery struct {
Discovery *discovery.Discovery `protobuf:"bytes,15,opt,name=discovery,proto3,oneof"`
}
type Note_AttestationAuthority struct {
AttestationAuthority *attestation.Authority `protobuf:"bytes,16,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"`
}
func (*Note_Vulnerability) isNote_Type() {}
func (*Note_Build) isNote_Type() {}
func (*Note_BaseImage) isNote_Type() {}
func (*Note_Package) isNote_Type() {}
func (*Note_Deployable) isNote_Type() {}
func (*Note_Discovery) isNote_Type() {}
func (*Note_AttestationAuthority) isNote_Type() {}
func (m *Note) GetType() isNote_Type {
if m != nil {
return m.Type
}
return nil
}
func (m *Note) GetVulnerability() *vulnerability.Vulnerability {
if x, ok := m.GetType().(*Note_Vulnerability); ok {
return x.Vulnerability
}
return nil
}
func (m *Note) GetBuild() *build.Build {
if x, ok := m.GetType().(*Note_Build); ok {
return x.Build
}
return nil
}
func (m *Note) GetBaseImage() *image.Basis {
if x, ok := m.GetType().(*Note_BaseImage); ok {
return x.BaseImage
}
return nil
}
func (m *Note) GetPackage() *_package.Package {
if x, ok := m.GetType().(*Note_Package); ok {
return x.Package
}
return nil
}
func (m *Note) GetDeployable() *deployment.Deployable {
if x, ok := m.GetType().(*Note_Deployable); ok {
return x.Deployable
}
return nil
}
func (m *Note) GetDiscovery() *discovery.Discovery {
if x, ok := m.GetType().(*Note_Discovery); ok {
return x.Discovery
}
return nil
}
func (m *Note) GetAttestationAuthority() *attestation.Authority {
if x, ok := m.GetType().(*Note_AttestationAuthority); ok {
return x.AttestationAuthority
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*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{}) {
return _Note_OneofMarshaler, _Note_OneofUnmarshaler, _Note_OneofSizer, []interface{}{
(*Note_Vulnerability)(nil),
(*Note_Build)(nil),
(*Note_BaseImage)(nil),
(*Note_Package)(nil),
(*Note_Deployable)(nil),
(*Note_Discovery)(nil),
(*Note_AttestationAuthority)(nil),
}
}
func _Note_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Note)
// type
switch x := m.Type.(type) {
case *Note_Vulnerability:
b.EncodeVarint(10<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Vulnerability); err != nil {
return err
}
case *Note_Build:
b.EncodeVarint(11<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Build); err != nil {
return err
}
case *Note_BaseImage:
b.EncodeVarint(12<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BaseImage); err != nil {
return err
}
case *Note_Package:
b.EncodeVarint(13<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Package); err != nil {
return err
}
case *Note_Deployable:
b.EncodeVarint(14<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Deployable); err != nil {
return err
}
case *Note_Discovery:
b.EncodeVarint(15<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Discovery); err != nil {
return err
}
case *Note_AttestationAuthority:
b.EncodeVarint(16<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.AttestationAuthority); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("Note.Type has unexpected type %T", x)
}
return nil
}
func _Note_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Note)
switch tag {
case 10: // type.vulnerability
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(vulnerability.Vulnerability)
err := b.DecodeMessage(msg)
m.Type = &Note_Vulnerability{msg}
return true, err
case 11: // type.build
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(build.Build)
err := b.DecodeMessage(msg)
m.Type = &Note_Build{msg}
return true, err
case 12: // type.base_image
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(image.Basis)
err := b.DecodeMessage(msg)
m.Type = &Note_BaseImage{msg}
return true, err
case 13: // type.package
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(_package.Package)
err := b.DecodeMessage(msg)
m.Type = &Note_Package{msg}
return true, err
case 14: // type.deployable
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(deployment.Deployable)
err := b.DecodeMessage(msg)
m.Type = &Note_Deployable{msg}
return true, err
case 15: // type.discovery
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(discovery.Discovery)
err := b.DecodeMessage(msg)
m.Type = &Note_Discovery{msg}
return true, err
case 16: // type.attestation_authority
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(attestation.Authority)
err := b.DecodeMessage(msg)
m.Type = &Note_AttestationAuthority{msg}
return true, err
default:
return false, nil
}
}
func _Note_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Note)
// type
switch x := m.Type.(type) {
case *Note_Vulnerability:
s := proto.Size(x.Vulnerability)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_Build:
s := proto.Size(x.Build)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_BaseImage:
s := proto.Size(x.BaseImage)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_Package:
s := proto.Size(x.Package)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_Deployable:
s := proto.Size(x.Deployable)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_Discovery:
s := proto.Size(x.Discovery)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_AttestationAuthority:
s := proto.Size(x.AttestationAuthority)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// Request to get an occurrence.
type GetOccurrenceRequest struct {
// The name of the occurrence in the form of
// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetOccurrenceRequest) Reset() { *m = GetOccurrenceRequest{} }
func (m *GetOccurrenceRequest) String() string { return proto.CompactTextString(m) }
func (*GetOccurrenceRequest) ProtoMessage() {}
func (*GetOccurrenceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{3}
}
func (m *GetOccurrenceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetOccurrenceRequest.Unmarshal(m, b)
}
func (m *GetOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetOccurrenceRequest.Marshal(b, m, deterministic)
}
func (dst *GetOccurrenceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetOccurrenceRequest.Merge(dst, src)
}
func (m *GetOccurrenceRequest) XXX_Size() int {
return xxx_messageInfo_GetOccurrenceRequest.Size(m)
}
func (m *GetOccurrenceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetOccurrenceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetOccurrenceRequest proto.InternalMessageInfo
func (m *GetOccurrenceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to list occurrences.
type ListOccurrencesRequest struct {
// The name of the project to list occurrences for in the form of
// `projects/[PROJECT_ID]`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The filter expression.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// Number of occurrences to return in the list.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Token to provide to skip to a particular spot in the list.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListOccurrencesRequest) Reset() { *m = ListOccurrencesRequest{} }
func (m *ListOccurrencesRequest) String() string { return proto.CompactTextString(m) }
func (*ListOccurrencesRequest) ProtoMessage() {}
func (*ListOccurrencesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{4}
}
func (m *ListOccurrencesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListOccurrencesRequest.Unmarshal(m, b)
}
func (m *ListOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListOccurrencesRequest.Marshal(b, m, deterministic)
}
func (dst *ListOccurrencesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListOccurrencesRequest.Merge(dst, src)
}
func (m *ListOccurrencesRequest) XXX_Size() int {
return xxx_messageInfo_ListOccurrencesRequest.Size(m)
}
func (m *ListOccurrencesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListOccurrencesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListOccurrencesRequest proto.InternalMessageInfo
func (m *ListOccurrencesRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListOccurrencesRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListOccurrencesRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListOccurrencesRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// Response for listing occurrences.
type ListOccurrencesResponse struct {
// The occurrences requested.
Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
// The next pagination token in the list response. It should be used as
// `page_token` for the following request. An empty value means no more
// results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListOccurrencesResponse) Reset() { *m = ListOccurrencesResponse{} }
func (m *ListOccurrencesResponse) String() string { return proto.CompactTextString(m) }
func (*ListOccurrencesResponse) ProtoMessage() {}
func (*ListOccurrencesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{5}
}
func (m *ListOccurrencesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListOccurrencesResponse.Unmarshal(m, b)
}
func (m *ListOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListOccurrencesResponse.Marshal(b, m, deterministic)
}
func (dst *ListOccurrencesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListOccurrencesResponse.Merge(dst, src)
}
func (m *ListOccurrencesResponse) XXX_Size() int {
return xxx_messageInfo_ListOccurrencesResponse.Size(m)
}
func (m *ListOccurrencesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListOccurrencesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListOccurrencesResponse proto.InternalMessageInfo
func (m *ListOccurrencesResponse) GetOccurrences() []*Occurrence {
if m != nil {
return m.Occurrences
}
return nil
}
func (m *ListOccurrencesResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Request to delete a occurrence.
type DeleteOccurrenceRequest struct {
// The name of the occurrence in the form of
// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteOccurrenceRequest) Reset() { *m = DeleteOccurrenceRequest{} }
func (m *DeleteOccurrenceRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteOccurrenceRequest) ProtoMessage() {}
func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{6}
}
func (m *DeleteOccurrenceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteOccurrenceRequest.Unmarshal(m, b)
}
func (m *DeleteOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteOccurrenceRequest.Marshal(b, m, deterministic)
}
func (dst *DeleteOccurrenceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteOccurrenceRequest.Merge(dst, src)
}
func (m *DeleteOccurrenceRequest) XXX_Size() int {
return xxx_messageInfo_DeleteOccurrenceRequest.Size(m)
}
func (m *DeleteOccurrenceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteOccurrenceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteOccurrenceRequest proto.InternalMessageInfo
func (m *DeleteOccurrenceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to create a new occurrence.
type CreateOccurrenceRequest struct {
// The name of the project in the form of `projects/[PROJECT_ID]`, under which
// the occurrence is to be created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The occurrence to create.
Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateOccurrenceRequest) Reset() { *m = CreateOccurrenceRequest{} }
func (m *CreateOccurrenceRequest) String() string { return proto.CompactTextString(m) }
func (*CreateOccurrenceRequest) ProtoMessage() {}
func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{7}
}
func (m *CreateOccurrenceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateOccurrenceRequest.Unmarshal(m, b)
}
func (m *CreateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateOccurrenceRequest.Marshal(b, m, deterministic)
}
func (dst *CreateOccurrenceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateOccurrenceRequest.Merge(dst, src)
}
func (m *CreateOccurrenceRequest) XXX_Size() int {
return xxx_messageInfo_CreateOccurrenceRequest.Size(m)
}
func (m *CreateOccurrenceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateOccurrenceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateOccurrenceRequest proto.InternalMessageInfo
func (m *CreateOccurrenceRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateOccurrenceRequest) GetOccurrence() *Occurrence {
if m != nil {
return m.Occurrence
}
return nil
}
// Request to update an occurrence.
type UpdateOccurrenceRequest struct {
// The name of the occurrence in the form of
// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The updated occurrence.
Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
// The fields to update.
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateOccurrenceRequest) Reset() { *m = UpdateOccurrenceRequest{} }
func (m *UpdateOccurrenceRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateOccurrenceRequest) ProtoMessage() {}
func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{8}
}
func (m *UpdateOccurrenceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateOccurrenceRequest.Unmarshal(m, b)
}
func (m *UpdateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateOccurrenceRequest.Marshal(b, m, deterministic)
}
func (dst *UpdateOccurrenceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateOccurrenceRequest.Merge(dst, src)
}
func (m *UpdateOccurrenceRequest) XXX_Size() int {
return xxx_messageInfo_UpdateOccurrenceRequest.Size(m)
}
func (m *UpdateOccurrenceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateOccurrenceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateOccurrenceRequest proto.InternalMessageInfo
func (m *UpdateOccurrenceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *UpdateOccurrenceRequest) GetOccurrence() *Occurrence {
if m != nil {
return m.Occurrence
}
return nil
}
func (m *UpdateOccurrenceRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// Request to get a note.
type GetNoteRequest struct {
// The name of the note in the form of
// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetNoteRequest) Reset() { *m = GetNoteRequest{} }
func (m *GetNoteRequest) String() string { return proto.CompactTextString(m) }
func (*GetNoteRequest) ProtoMessage() {}
func (*GetNoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{9}
}
func (m *GetNoteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetNoteRequest.Unmarshal(m, b)
}
func (m *GetNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetNoteRequest.Marshal(b, m, deterministic)
}
func (dst *GetNoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetNoteRequest.Merge(dst, src)
}
func (m *GetNoteRequest) XXX_Size() int {
return xxx_messageInfo_GetNoteRequest.Size(m)
}
func (m *GetNoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetNoteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetNoteRequest proto.InternalMessageInfo
func (m *GetNoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to get the note to which the specified occurrence is attached.
type GetOccurrenceNoteRequest struct {
// The name of the occurrence in the form of
// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetOccurrenceNoteRequest) Reset() { *m = GetOccurrenceNoteRequest{} }
func (m *GetOccurrenceNoteRequest) String() string { return proto.CompactTextString(m) }
func (*GetOccurrenceNoteRequest) ProtoMessage() {}
func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{10}
}
func (m *GetOccurrenceNoteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetOccurrenceNoteRequest.Unmarshal(m, b)
}
func (m *GetOccurrenceNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetOccurrenceNoteRequest.Marshal(b, m, deterministic)
}
func (dst *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetOccurrenceNoteRequest.Merge(dst, src)
}
func (m *GetOccurrenceNoteRequest) XXX_Size() int {
return xxx_messageInfo_GetOccurrenceNoteRequest.Size(m)
}
func (m *GetOccurrenceNoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetOccurrenceNoteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetOccurrenceNoteRequest proto.InternalMessageInfo
func (m *GetOccurrenceNoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to list notes.
type ListNotesRequest struct {
// The name of the project to list notes for in the form of
// `projects/[PROJECT_ID]`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The filter expression.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// Number of notes to return in the list.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Token to provide to skip to a particular spot in the list.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListNotesRequest) Reset() { *m = ListNotesRequest{} }
func (m *ListNotesRequest) String() string { return proto.CompactTextString(m) }
func (*ListNotesRequest) ProtoMessage() {}
func (*ListNotesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{11}
}
func (m *ListNotesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListNotesRequest.Unmarshal(m, b)
}
func (m *ListNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListNotesRequest.Marshal(b, m, deterministic)
}
func (dst *ListNotesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListNotesRequest.Merge(dst, src)
}
func (m *ListNotesRequest) XXX_Size() int {
return xxx_messageInfo_ListNotesRequest.Size(m)
}
func (m *ListNotesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListNotesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListNotesRequest proto.InternalMessageInfo
func (m *ListNotesRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListNotesRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListNotesRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListNotesRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// Response for listing notes.
type ListNotesResponse struct {
// The notes requested.
Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"`
// The next pagination token in the list response. It should be used as
// `page_token` for the following request. An empty value means no more
// results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListNotesResponse) Reset() { *m = ListNotesResponse{} }
func (m *ListNotesResponse) String() string { return proto.CompactTextString(m) }
func (*ListNotesResponse) ProtoMessage() {}
func (*ListNotesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{12}
}
func (m *ListNotesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListNotesResponse.Unmarshal(m, b)
}
func (m *ListNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListNotesResponse.Marshal(b, m, deterministic)
}
func (dst *ListNotesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListNotesResponse.Merge(dst, src)
}
func (m *ListNotesResponse) XXX_Size() int {
return xxx_messageInfo_ListNotesResponse.Size(m)
}
func (m *ListNotesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListNotesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListNotesResponse proto.InternalMessageInfo
func (m *ListNotesResponse) GetNotes() []*Note {
if m != nil {
return m.Notes
}
return nil
}
func (m *ListNotesResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Request to delete a note.
type DeleteNoteRequest struct {
// The name of the note in the form of
// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteNoteRequest) Reset() { *m = DeleteNoteRequest{} }
func (m *DeleteNoteRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteNoteRequest) ProtoMessage() {}
func (*DeleteNoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{13}
}
func (m *DeleteNoteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteNoteRequest.Unmarshal(m, b)
}
func (m *DeleteNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteNoteRequest.Marshal(b, m, deterministic)
}
func (dst *DeleteNoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteNoteRequest.Merge(dst, src)
}
func (m *DeleteNoteRequest) XXX_Size() int {
return xxx_messageInfo_DeleteNoteRequest.Size(m)
}
func (m *DeleteNoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteNoteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteNoteRequest proto.InternalMessageInfo
func (m *DeleteNoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to create a new note.
type CreateNoteRequest struct {
// The name of the project in the form of `projects/[PROJECT_ID]`, under which
// the note is to be created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The ID to use for this note.
NoteId string `protobuf:"bytes,2,opt,name=note_id,json=noteId,proto3" json:"note_id,omitempty"`
// The note to create.
Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateNoteRequest) Reset() { *m = CreateNoteRequest{} }
func (m *CreateNoteRequest) String() string { return proto.CompactTextString(m) }
func (*CreateNoteRequest) ProtoMessage() {}
func (*CreateNoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{14}
}
func (m *CreateNoteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateNoteRequest.Unmarshal(m, b)
}
func (m *CreateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateNoteRequest.Marshal(b, m, deterministic)
}
func (dst *CreateNoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateNoteRequest.Merge(dst, src)
}
func (m *CreateNoteRequest) XXX_Size() int {
return xxx_messageInfo_CreateNoteRequest.Size(m)
}
func (m *CreateNoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateNoteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateNoteRequest proto.InternalMessageInfo
func (m *CreateNoteRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateNoteRequest) GetNoteId() string {
if m != nil {
return m.NoteId
}
return ""
}
func (m *CreateNoteRequest) GetNote() *Note {
if m != nil {
return m.Note
}
return nil
}
// Request to update a note.
type UpdateNoteRequest struct {
// The name of the note in the form of
// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The updated note.
Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
// The fields to update.
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateNoteRequest) Reset() { *m = UpdateNoteRequest{} }
func (m *UpdateNoteRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateNoteRequest) ProtoMessage() {}
func (*UpdateNoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{15}
}
func (m *UpdateNoteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateNoteRequest.Unmarshal(m, b)
}
func (m *UpdateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateNoteRequest.Marshal(b, m, deterministic)
}
func (dst *UpdateNoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateNoteRequest.Merge(dst, src)
}
func (m *UpdateNoteRequest) XXX_Size() int {
return xxx_messageInfo_UpdateNoteRequest.Size(m)
}
func (m *UpdateNoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateNoteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateNoteRequest proto.InternalMessageInfo
func (m *UpdateNoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *UpdateNoteRequest) GetNote() *Note {
if m != nil {
return m.Note
}
return nil
}
func (m *UpdateNoteRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// Request to list occurrences for a note.
type ListNoteOccurrencesRequest struct {
// The name of the note to list occurrences for in the form of
// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The filter expression.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// Number of occurrences to return in the list.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Token to provide to skip to a particular spot in the list.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListNoteOccurrencesRequest) Reset() { *m = ListNoteOccurrencesRequest{} }
func (m *ListNoteOccurrencesRequest) String() string { return proto.CompactTextString(m) }
func (*ListNoteOccurrencesRequest) ProtoMessage() {}
func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{16}
}
func (m *ListNoteOccurrencesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListNoteOccurrencesRequest.Unmarshal(m, b)
}
func (m *ListNoteOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListNoteOccurrencesRequest.Marshal(b, m, deterministic)
}
func (dst *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListNoteOccurrencesRequest.Merge(dst, src)
}
func (m *ListNoteOccurrencesRequest) XXX_Size() int {
return xxx_messageInfo_ListNoteOccurrencesRequest.Size(m)
}
func (m *ListNoteOccurrencesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListNoteOccurrencesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListNoteOccurrencesRequest proto.InternalMessageInfo
func (m *ListNoteOccurrencesRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ListNoteOccurrencesRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListNoteOccurrencesRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListNoteOccurrencesRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// Response for listing occurrences for a note.
type ListNoteOccurrencesResponse struct {
// The occurrences attached to the specified note.
Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
// Token to provide to skip to a particular spot in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListNoteOccurrencesResponse) Reset() { *m = ListNoteOccurrencesResponse{} }
func (m *ListNoteOccurrencesResponse) String() string { return proto.CompactTextString(m) }
func (*ListNoteOccurrencesResponse) ProtoMessage() {}
func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{17}
}
func (m *ListNoteOccurrencesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListNoteOccurrencesResponse.Unmarshal(m, b)
}
func (m *ListNoteOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListNoteOccurrencesResponse.Marshal(b, m, deterministic)
}
func (dst *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListNoteOccurrencesResponse.Merge(dst, src)
}
func (m *ListNoteOccurrencesResponse) XXX_Size() int {
return xxx_messageInfo_ListNoteOccurrencesResponse.Size(m)
}
func (m *ListNoteOccurrencesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListNoteOccurrencesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListNoteOccurrencesResponse proto.InternalMessageInfo
func (m *ListNoteOccurrencesResponse) GetOccurrences() []*Occurrence {
if m != nil {
return m.Occurrences
}
return nil
}
func (m *ListNoteOccurrencesResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Request to create notes in batch.
type BatchCreateNotesRequest struct {
// The name of the project in the form of `projects/[PROJECT_ID]`, under which
// the notes are to be created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The notes to create.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchCreateNotesRequest) Reset() { *m = BatchCreateNotesRequest{} }
func (m *BatchCreateNotesRequest) String() string { return proto.CompactTextString(m) }
func (*BatchCreateNotesRequest) ProtoMessage() {}
func (*BatchCreateNotesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{18}
}
func (m *BatchCreateNotesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchCreateNotesRequest.Unmarshal(m, b)
}
func (m *BatchCreateNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchCreateNotesRequest.Marshal(b, m, deterministic)
}
func (dst *BatchCreateNotesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchCreateNotesRequest.Merge(dst, src)
}
func (m *BatchCreateNotesRequest) XXX_Size() int {
return xxx_messageInfo_BatchCreateNotesRequest.Size(m)
}
func (m *BatchCreateNotesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchCreateNotesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchCreateNotesRequest proto.InternalMessageInfo
func (m *BatchCreateNotesRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *BatchCreateNotesRequest) GetNotes() map[string]*Note {
if m != nil {
return m.Notes
}
return nil
}
// Response for creating notes in batch.
type BatchCreateNotesResponse struct {
// The notes that were created.
Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchCreateNotesResponse) Reset() { *m = BatchCreateNotesResponse{} }
func (m *BatchCreateNotesResponse) String() string { return proto.CompactTextString(m) }
func (*BatchCreateNotesResponse) ProtoMessage() {}
func (*BatchCreateNotesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{19}
}
func (m *BatchCreateNotesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchCreateNotesResponse.Unmarshal(m, b)
}
func (m *BatchCreateNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchCreateNotesResponse.Marshal(b, m, deterministic)
}
func (dst *BatchCreateNotesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchCreateNotesResponse.Merge(dst, src)
}
func (m *BatchCreateNotesResponse) XXX_Size() int {
return xxx_messageInfo_BatchCreateNotesResponse.Size(m)
}
func (m *BatchCreateNotesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchCreateNotesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchCreateNotesResponse proto.InternalMessageInfo
func (m *BatchCreateNotesResponse) GetNotes() []*Note {
if m != nil {
return m.Notes
}
return nil
}
// Request to create occurrences in batch.
type BatchCreateOccurrencesRequest struct {
// The name of the project in the form of `projects/[PROJECT_ID]`, under which
// the occurrences are to be created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The occurrences to create.
Occurrences []*Occurrence `protobuf:"bytes,2,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchCreateOccurrencesRequest) Reset() { *m = BatchCreateOccurrencesRequest{} }
func (m *BatchCreateOccurrencesRequest) String() string { return proto.CompactTextString(m) }
func (*BatchCreateOccurrencesRequest) ProtoMessage() {}
func (*BatchCreateOccurrencesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{20}
}
func (m *BatchCreateOccurrencesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchCreateOccurrencesRequest.Unmarshal(m, b)
}
func (m *BatchCreateOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchCreateOccurrencesRequest.Marshal(b, m, deterministic)
}
func (dst *BatchCreateOccurrencesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchCreateOccurrencesRequest.Merge(dst, src)
}
func (m *BatchCreateOccurrencesRequest) XXX_Size() int {
return xxx_messageInfo_BatchCreateOccurrencesRequest.Size(m)
}
func (m *BatchCreateOccurrencesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchCreateOccurrencesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchCreateOccurrencesRequest proto.InternalMessageInfo
func (m *BatchCreateOccurrencesRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *BatchCreateOccurrencesRequest) GetOccurrences() []*Occurrence {
if m != nil {
return m.Occurrences
}
return nil
}
// Response for creating occurrences in batch.
type BatchCreateOccurrencesResponse struct {
// The occurrences that were created.
Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchCreateOccurrencesResponse) Reset() { *m = BatchCreateOccurrencesResponse{} }
func (m *BatchCreateOccurrencesResponse) String() string { return proto.CompactTextString(m) }
func (*BatchCreateOccurrencesResponse) ProtoMessage() {}
func (*BatchCreateOccurrencesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{21}
}
func (m *BatchCreateOccurrencesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchCreateOccurrencesResponse.Unmarshal(m, b)
}
func (m *BatchCreateOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchCreateOccurrencesResponse.Marshal(b, m, deterministic)
}
func (dst *BatchCreateOccurrencesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchCreateOccurrencesResponse.Merge(dst, src)
}
func (m *BatchCreateOccurrencesResponse) XXX_Size() int {
return xxx_messageInfo_BatchCreateOccurrencesResponse.Size(m)
}
func (m *BatchCreateOccurrencesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchCreateOccurrencesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchCreateOccurrencesResponse proto.InternalMessageInfo
func (m *BatchCreateOccurrencesResponse) GetOccurrences() []*Occurrence {
if m != nil {
return m.Occurrences
}
return nil
}
// Request to get a vulnerability summary for some set of occurrences.
type GetVulnerabilityOccurrencesSummaryRequest struct {
// The name of the project to get a vulnerability summary for in the form of
// `projects/[PROJECT_ID]`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The filter expression.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetVulnerabilityOccurrencesSummaryRequest) Reset() {
*m = GetVulnerabilityOccurrencesSummaryRequest{}
}
func (m *GetVulnerabilityOccurrencesSummaryRequest) String() string { return proto.CompactTextString(m) }
func (*GetVulnerabilityOccurrencesSummaryRequest) ProtoMessage() {}
func (*GetVulnerabilityOccurrencesSummaryRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{22}
}
func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Unmarshal(m, b)
}
func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Marshal(b, m, deterministic)
}
func (dst *GetVulnerabilityOccurrencesSummaryRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Merge(dst, src)
}
func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_Size() int {
return xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Size(m)
}
func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest proto.InternalMessageInfo
func (m *GetVulnerabilityOccurrencesSummaryRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *GetVulnerabilityOccurrencesSummaryRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
// A summary of how many vulnerability occurrences there are per resource and
// severity type.
type VulnerabilityOccurrencesSummary struct {
// A listing by resource of the number of fixable and total vulnerabilities.
Counts []*VulnerabilityOccurrencesSummary_FixableTotalByDigest `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VulnerabilityOccurrencesSummary) Reset() { *m = VulnerabilityOccurrencesSummary{} }
func (m *VulnerabilityOccurrencesSummary) String() string { return proto.CompactTextString(m) }
func (*VulnerabilityOccurrencesSummary) ProtoMessage() {}
func (*VulnerabilityOccurrencesSummary) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{23}
}
func (m *VulnerabilityOccurrencesSummary) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VulnerabilityOccurrencesSummary.Unmarshal(m, b)
}
func (m *VulnerabilityOccurrencesSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VulnerabilityOccurrencesSummary.Marshal(b, m, deterministic)
}
func (dst *VulnerabilityOccurrencesSummary) XXX_Merge(src proto.Message) {
xxx_messageInfo_VulnerabilityOccurrencesSummary.Merge(dst, src)
}
func (m *VulnerabilityOccurrencesSummary) XXX_Size() int {
return xxx_messageInfo_VulnerabilityOccurrencesSummary.Size(m)
}
func (m *VulnerabilityOccurrencesSummary) XXX_DiscardUnknown() {
xxx_messageInfo_VulnerabilityOccurrencesSummary.DiscardUnknown(m)
}
var xxx_messageInfo_VulnerabilityOccurrencesSummary proto.InternalMessageInfo
func (m *VulnerabilityOccurrencesSummary) GetCounts() []*VulnerabilityOccurrencesSummary_FixableTotalByDigest {
if m != nil {
return m.Counts
}
return nil
}
// Per resource and severity counts of fixable and total vulnerabilites.
type VulnerabilityOccurrencesSummary_FixableTotalByDigest struct {
// The affected resource.
Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
// The severity for this count. SEVERITY_UNSPECIFIED indicates total across
// all severities.
Severity vulnerability.Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1beta1.vulnerability.Severity" json:"severity,omitempty"`
// The number of fixable vulnerabilities associated with this resource.
FixableCount int64 `protobuf:"varint,3,opt,name=fixable_count,json=fixableCount,proto3" json:"fixable_count,omitempty"`
// The total number of vulnerabilities associated with this resource.
TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) Reset() {
*m = VulnerabilityOccurrencesSummary_FixableTotalByDigest{}
}
func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) String() string {
return proto.CompactTextString(m)
}
func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoMessage() {}
func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) Descriptor() ([]byte, []int) {
return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{23, 0}
}
func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Unmarshal(m, b)
}
func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Marshal(b, m, deterministic)
}
func (dst *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Merge(src proto.Message) {
xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Merge(dst, src)
}
func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Size() int {
return xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Size(m)
}
func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_DiscardUnknown() {
xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.DiscardUnknown(m)
}
var xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest proto.InternalMessageInfo
func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetResource() *Resource {
if m != nil {
return m.Resource
}
return nil
}
func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetSeverity() vulnerability.Severity {
if m != nil {
return m.Severity
}
return vulnerability.Severity_SEVERITY_UNSPECIFIED
}
func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetFixableCount() int64 {
if m != nil {
return m.FixableCount
}
return 0
}
func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetTotalCount() int64 {
if m != nil {
return m.TotalCount
}
return 0
}
func init() {
proto.RegisterType((*Occurrence)(nil), "grafeas.v1beta1.Occurrence")
proto.RegisterType((*Resource)(nil), "grafeas.v1beta1.Resource")
proto.RegisterType((*Note)(nil), "grafeas.v1beta1.Note")
proto.RegisterType((*GetOccurrenceRequest)(nil), "grafeas.v1beta1.GetOccurrenceRequest")
proto.RegisterType((*ListOccurrencesRequest)(nil), "grafeas.v1beta1.ListOccurrencesRequest")
proto.RegisterType((*ListOccurrencesResponse)(nil), "grafeas.v1beta1.ListOccurrencesResponse")
proto.RegisterType((*DeleteOccurrenceRequest)(nil), "grafeas.v1beta1.DeleteOccurrenceRequest")
proto.RegisterType((*CreateOccurrenceRequest)(nil), "grafeas.v1beta1.CreateOccurrenceRequest")
proto.RegisterType((*UpdateOccurrenceRequest)(nil), "grafeas.v1beta1.UpdateOccurrenceRequest")
proto.RegisterType((*GetNoteRequest)(nil), "grafeas.v1beta1.GetNoteRequest")
proto.RegisterType((*GetOccurrenceNoteRequest)(nil), "grafeas.v1beta1.GetOccurrenceNoteRequest")
proto.RegisterType((*ListNotesRequest)(nil), "grafeas.v1beta1.ListNotesRequest")
proto.RegisterType((*ListNotesResponse)(nil), "grafeas.v1beta1.ListNotesResponse")
proto.RegisterType((*DeleteNoteRequest)(nil), "grafeas.v1beta1.DeleteNoteRequest")
proto.RegisterType((*CreateNoteRequest)(nil), "grafeas.v1beta1.CreateNoteRequest")
proto.RegisterType((*UpdateNoteRequest)(nil), "grafeas.v1beta1.UpdateNoteRequest")
proto.RegisterType((*ListNoteOccurrencesRequest)(nil), "grafeas.v1beta1.ListNoteOccurrencesRequest")
proto.RegisterType((*ListNoteOccurrencesResponse)(nil), "grafeas.v1beta1.ListNoteOccurrencesResponse")
proto.RegisterType((*BatchCreateNotesRequest)(nil), "grafeas.v1beta1.BatchCreateNotesRequest")
proto.RegisterMapType((map[string]*Note)(nil), "grafeas.v1beta1.BatchCreateNotesRequest.NotesEntry")
proto.RegisterType((*BatchCreateNotesResponse)(nil), "grafeas.v1beta1.BatchCreateNotesResponse")
proto.RegisterType((*BatchCreateOccurrencesRequest)(nil), "grafeas.v1beta1.BatchCreateOccurrencesRequest")
proto.RegisterType((*BatchCreateOccurrencesResponse)(nil), "grafeas.v1beta1.BatchCreateOccurrencesResponse")
proto.RegisterType((*GetVulnerabilityOccurrencesSummaryRequest)(nil), "grafeas.v1beta1.GetVulnerabilityOccurrencesSummaryRequest")
proto.RegisterType((*VulnerabilityOccurrencesSummary)(nil), "grafeas.v1beta1.VulnerabilityOccurrencesSummary")
proto.RegisterType((*VulnerabilityOccurrencesSummary_FixableTotalByDigest)(nil), "grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest")
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// GrafeasV1Beta1Client is the client API for GrafeasV1Beta1 service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type GrafeasV1Beta1Client interface {
// Gets the specified occurrence.
GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
// Lists occurrences for the specified project.
ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error)
// Deletes the specified occurrence. For example, use this method to delete an
// occurrence when the occurrence is no longer applicable for the given
// resource.
DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// Creates a new occurrence.
CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
// Creates new occurrences in batch.
BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error)
// Updates the specified occurrence.
UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
// Gets the note attached to the specified occurrence. Consumer projects can
// use this method to get a note that belongs to a provider project.
GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error)
// Gets the specified note.
GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error)
// Lists notes for the specified project.
ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error)
// Deletes the specified note.
DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// Creates a new note.
CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error)
// Creates new notes in batch.
BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error)
// Updates the specified note.
UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error)
// Lists occurrences referencing the specified note. Provider projects can use
// this method to get all occurrences across consumer projects referencing the
// specified note.
ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error)
// Gets a summary of the number and severity of occurrences.
GetVulnerabilityOccurrencesSummary(ctx context.Context, in *GetVulnerabilityOccurrencesSummaryRequest, opts ...grpc.CallOption) (*VulnerabilityOccurrencesSummary, error)
}
type grafeasV1Beta1Client struct {
cc *grpc.ClientConn
}
func NewGrafeasV1Beta1Client(cc *grpc.ClientConn) GrafeasV1Beta1Client {
return &grafeasV1Beta1Client{cc}
}
func (c *grafeasV1Beta1Client) GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) {
out := new(Occurrence)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrence", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) {
out := new(ListOccurrencesResponse)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListOccurrences", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/DeleteOccurrence", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) {
out := new(Occurrence)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/CreateOccurrence", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error) {
out := new(BatchCreateOccurrencesResponse)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateOccurrences", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) {
out := new(Occurrence)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/UpdateOccurrence", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) {
out := new(Note)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrenceNote", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) {
out := new(Note)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetNote", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) {
out := new(ListNotesResponse)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListNotes", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/DeleteNote", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) {
out := new(Note)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/CreateNote", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error) {
out := new(BatchCreateNotesResponse)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateNotes", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) {
out := new(Note)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/UpdateNote", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) {
out := new(ListNoteOccurrencesResponse)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListNoteOccurrences", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *grafeasV1Beta1Client) GetVulnerabilityOccurrencesSummary(ctx context.Context, in *GetVulnerabilityOccurrencesSummaryRequest, opts ...grpc.CallOption) (*VulnerabilityOccurrencesSummary, error) {
out := new(VulnerabilityOccurrencesSummary)
err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetVulnerabilityOccurrencesSummary", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// GrafeasV1Beta1Server is the server API for GrafeasV1Beta1 service.
type GrafeasV1Beta1Server interface {
// Gets the specified occurrence.
GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error)
// Lists occurrences for the specified project.
ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error)
// Deletes the specified occurrence. For example, use this method to delete an
// occurrence when the occurrence is no longer applicable for the given
// resource.
DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error)
// Creates a new occurrence.
CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error)
// Creates new occurrences in batch.
BatchCreateOccurrences(context.Context, *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error)
// Updates the specified occurrence.
UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error)
// Gets the note attached to the specified occurrence. Consumer projects can
// use this method to get a note that belongs to a provider project.
GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error)
// Gets the specified note.
GetNote(context.Context, *GetNoteRequest) (*Note, error)
// Lists notes for the specified project.
ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error)
// Deletes the specified note.
DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error)
// Creates a new note.
CreateNote(context.Context, *CreateNoteRequest) (*Note, error)
// Creates new notes in batch.
BatchCreateNotes(context.Context, *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error)
// Updates the specified note.
UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error)
// Lists occurrences referencing the specified note. Provider projects can use
// this method to get all occurrences across consumer projects referencing the
// specified note.
ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error)
// Gets a summary of the number and severity of occurrences.
GetVulnerabilityOccurrencesSummary(context.Context, *GetVulnerabilityOccurrencesSummaryRequest) (*VulnerabilityOccurrencesSummary, error)
}
func RegisterGrafeasV1Beta1Server(s *grpc.Server, srv GrafeasV1Beta1Server) {
s.RegisterService(&_GrafeasV1Beta1_serviceDesc, srv)
}
func _GrafeasV1Beta1_GetOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetOccurrenceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).GetOccurrence(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrence",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).GetOccurrence(ctx, req.(*GetOccurrenceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_ListOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListOccurrencesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).ListOccurrences(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListOccurrences",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).ListOccurrences(ctx, req.(*ListOccurrencesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_DeleteOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteOccurrenceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).DeleteOccurrence(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/DeleteOccurrence",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).DeleteOccurrence(ctx, req.(*DeleteOccurrenceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_CreateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateOccurrenceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).CreateOccurrence(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/CreateOccurrence",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).CreateOccurrence(ctx, req.(*CreateOccurrenceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_BatchCreateOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchCreateOccurrencesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).BatchCreateOccurrences(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateOccurrences",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).BatchCreateOccurrences(ctx, req.(*BatchCreateOccurrencesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_UpdateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateOccurrenceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).UpdateOccurrence(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/UpdateOccurrence",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).UpdateOccurrence(ctx, req.(*UpdateOccurrenceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_GetOccurrenceNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetOccurrenceNoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).GetOccurrenceNote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrenceNote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).GetOccurrenceNote(ctx, req.(*GetOccurrenceNoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_GetNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetNoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).GetNote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetNote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).GetNote(ctx, req.(*GetNoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_ListNotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListNotesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).ListNotes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListNotes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).ListNotes(ctx, req.(*ListNotesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_DeleteNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteNoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).DeleteNote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/DeleteNote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).DeleteNote(ctx, req.(*DeleteNoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_CreateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateNoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).CreateNote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/CreateNote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).CreateNote(ctx, req.(*CreateNoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_BatchCreateNotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchCreateNotesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).BatchCreateNotes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateNotes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).BatchCreateNotes(ctx, req.(*BatchCreateNotesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_UpdateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateNoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).UpdateNote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/UpdateNote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).UpdateNote(ctx, req.(*UpdateNoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_ListNoteOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListNoteOccurrencesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).ListNoteOccurrences(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListNoteOccurrences",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).ListNoteOccurrences(ctx, req.(*ListNoteOccurrencesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _GrafeasV1Beta1_GetVulnerabilityOccurrencesSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetVulnerabilityOccurrencesSummaryRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(GrafeasV1Beta1Server).GetVulnerabilityOccurrencesSummary(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetVulnerabilityOccurrencesSummary",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GrafeasV1Beta1Server).GetVulnerabilityOccurrencesSummary(ctx, req.(*GetVulnerabilityOccurrencesSummaryRequest))
}
return interceptor(ctx, in, info, handler)
}
var _GrafeasV1Beta1_serviceDesc = grpc.ServiceDesc{
ServiceName: "grafeas.v1beta1.GrafeasV1Beta1",
HandlerType: (*GrafeasV1Beta1Server)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetOccurrence",
Handler: _GrafeasV1Beta1_GetOccurrence_Handler,
},
{
MethodName: "ListOccurrences",
Handler: _GrafeasV1Beta1_ListOccurrences_Handler,
},
{
MethodName: "DeleteOccurrence",
Handler: _GrafeasV1Beta1_DeleteOccurrence_Handler,
},
{
MethodName: "CreateOccurrence",
Handler: _GrafeasV1Beta1_CreateOccurrence_Handler,
},
{
MethodName: "BatchCreateOccurrences",
Handler: _GrafeasV1Beta1_BatchCreateOccurrences_Handler,
},
{
MethodName: "UpdateOccurrence",
Handler: _GrafeasV1Beta1_UpdateOccurrence_Handler,
},
{
MethodName: "GetOccurrenceNote",
Handler: _GrafeasV1Beta1_GetOccurrenceNote_Handler,
},
{
MethodName: "GetNote",
Handler: _GrafeasV1Beta1_GetNote_Handler,
},
{
MethodName: "ListNotes",
Handler: _GrafeasV1Beta1_ListNotes_Handler,
},
{
MethodName: "DeleteNote",
Handler: _GrafeasV1Beta1_DeleteNote_Handler,
},
{
MethodName: "CreateNote",
Handler: _GrafeasV1Beta1_CreateNote_Handler,
},
{
MethodName: "BatchCreateNotes",
Handler: _GrafeasV1Beta1_BatchCreateNotes_Handler,
},
{
MethodName: "UpdateNote",
Handler: _GrafeasV1Beta1_UpdateNote_Handler,
},
{
MethodName: "ListNoteOccurrences",
Handler: _GrafeasV1Beta1_ListNoteOccurrences_Handler,
},
{
MethodName: "GetVulnerabilityOccurrencesSummary",
Handler: _GrafeasV1Beta1_GetVulnerabilityOccurrencesSummary_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto",
}
func init() {
proto.RegisterFile("google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto", fileDescriptor_grafeas_a4e3069f0b5ff953)
}
var fileDescriptor_grafeas_a4e3069f0b5ff953 = []byte{
// 1920 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xcd, 0x6f, 0x1b, 0xc7,
0x15, 0xf7, 0x52, 0x9f, 0x7c, 0xd4, 0x07, 0x35, 0x75, 0xac, 0x2d, 0x9d, 0xc4, 0xec, 0xc6, 0x75,
0x24, 0xda, 0x21, 0x6d, 0x39, 0x35, 0x1a, 0xd9, 0x82, 0x11, 0x4a, 0xb2, 0x64, 0xa4, 0x75, 0x8c,
0xb5, 0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