blob: 6371cda0d100ecc04fef76d92f91d37a12f0b7db [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/containeranalysis/v1alpha1/bill_of_materials.proto
package containeranalysis // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
// 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
// Instruction set architectures supported by various package managers.
type PackageManager_Architecture int32
const (
// Unknown architecture
PackageManager_ARCHITECTURE_UNSPECIFIED PackageManager_Architecture = 0
// X86 architecture
PackageManager_X86 PackageManager_Architecture = 1
// X64 architecture
PackageManager_X64 PackageManager_Architecture = 2
)
var PackageManager_Architecture_name = map[int32]string{
0: "ARCHITECTURE_UNSPECIFIED",
1: "X86",
2: "X64",
}
var PackageManager_Architecture_value = map[string]int32{
"ARCHITECTURE_UNSPECIFIED": 0,
"X86": 1,
"X64": 2,
}
func (x PackageManager_Architecture) String() string {
return proto.EnumName(PackageManager_Architecture_name, int32(x))
}
func (PackageManager_Architecture) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0, 0}
}
// PackageManager provides metadata about available / installed packages.
type PackageManager struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PackageManager) Reset() { *m = PackageManager{} }
func (m *PackageManager) String() string { return proto.CompactTextString(m) }
func (*PackageManager) ProtoMessage() {}
func (*PackageManager) Descriptor() ([]byte, []int) {
return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0}
}
func (m *PackageManager) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PackageManager.Unmarshal(m, b)
}
func (m *PackageManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PackageManager.Marshal(b, m, deterministic)
}
func (dst *PackageManager) XXX_Merge(src proto.Message) {
xxx_messageInfo_PackageManager.Merge(dst, src)
}
func (m *PackageManager) XXX_Size() int {
return xxx_messageInfo_PackageManager.Size(m)
}
func (m *PackageManager) XXX_DiscardUnknown() {
xxx_messageInfo_PackageManager.DiscardUnknown(m)
}
var xxx_messageInfo_PackageManager proto.InternalMessageInfo
// This represents a particular channel of distribution for a given package.
// e.g. Debian's jessie-backports dpkg mirror
type PackageManager_Distribution struct {
// The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
// denoting the package manager version distributing a package.
CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
// The CPU architecture for which packages in this distribution
// channel were built
Architecture PackageManager_Architecture `protobuf:"varint,2,opt,name=architecture,proto3,enum=google.devtools.containeranalysis.v1alpha1.PackageManager_Architecture" json:"architecture,omitempty"`
// The latest available version of this package in
// this distribution channel.
LatestVersion *VulnerabilityType_Version `protobuf:"bytes,3,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"`
// A freeform string denoting the maintainer of this package.
Maintainer string `protobuf:"bytes,4,opt,name=maintainer,proto3" json:"maintainer,omitempty"`
// The distribution channel-specific homepage for this package.
Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
// The distribution channel-specific description of this package.
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PackageManager_Distribution) Reset() { *m = PackageManager_Distribution{} }
func (m *PackageManager_Distribution) String() string { return proto.CompactTextString(m) }
func (*PackageManager_Distribution) ProtoMessage() {}
func (*PackageManager_Distribution) Descriptor() ([]byte, []int) {
return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0, 0}
}
func (m *PackageManager_Distribution) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PackageManager_Distribution.Unmarshal(m, b)
}
func (m *PackageManager_Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PackageManager_Distribution.Marshal(b, m, deterministic)
}
func (dst *PackageManager_Distribution) XXX_Merge(src proto.Message) {
xxx_messageInfo_PackageManager_Distribution.Merge(dst, src)
}
func (m *PackageManager_Distribution) XXX_Size() int {
return xxx_messageInfo_PackageManager_Distribution.Size(m)
}
func (m *PackageManager_Distribution) XXX_DiscardUnknown() {
xxx_messageInfo_PackageManager_Distribution.DiscardUnknown(m)
}
var xxx_messageInfo_PackageManager_Distribution proto.InternalMessageInfo
func (m *PackageManager_Distribution) GetCpeUri() string {
if m != nil {
return m.CpeUri
}
return ""
}
func (m *PackageManager_Distribution) GetArchitecture() PackageManager_Architecture {
if m != nil {
return m.Architecture
}
return PackageManager_ARCHITECTURE_UNSPECIFIED
}
func (m *PackageManager_Distribution) GetLatestVersion() *VulnerabilityType_Version {
if m != nil {
return m.LatestVersion
}
return nil
}
func (m *PackageManager_Distribution) GetMaintainer() string {
if m != nil {
return m.Maintainer
}
return ""
}
func (m *PackageManager_Distribution) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *PackageManager_Distribution) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
// An occurrence of a particular package installation found within a
// system's filesystem.
// e.g. glibc was found in /var/lib/dpkg/status
type PackageManager_Location struct {
// The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
// denoting the package manager version distributing a package.
CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
// The version installed at this location.
Version *VulnerabilityType_Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// The path from which we gathered that this package/version is installed.
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PackageManager_Location) Reset() { *m = PackageManager_Location{} }
func (m *PackageManager_Location) String() string { return proto.CompactTextString(m) }
func (*PackageManager_Location) ProtoMessage() {}
func (*PackageManager_Location) Descriptor() ([]byte, []int) {
return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0, 1}
}
func (m *PackageManager_Location) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PackageManager_Location.Unmarshal(m, b)
}
func (m *PackageManager_Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PackageManager_Location.Marshal(b, m, deterministic)
}
func (dst *PackageManager_Location) XXX_Merge(src proto.Message) {
xxx_messageInfo_PackageManager_Location.Merge(dst, src)
}
func (m *PackageManager_Location) XXX_Size() int {
return xxx_messageInfo_PackageManager_Location.Size(m)
}
func (m *PackageManager_Location) XXX_DiscardUnknown() {
xxx_messageInfo_PackageManager_Location.DiscardUnknown(m)
}
var xxx_messageInfo_PackageManager_Location proto.InternalMessageInfo
func (m *PackageManager_Location) GetCpeUri() string {
if m != nil {
return m.CpeUri
}
return ""
}
func (m *PackageManager_Location) GetVersion() *VulnerabilityType_Version {
if m != nil {
return m.Version
}
return nil
}
func (m *PackageManager_Location) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
// This represents a particular package that is distributed over
// various channels.
// e.g. glibc (aka libc6) is distributed by many, at various versions.
type PackageManager_Package struct {
// The name of the package.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The various channels by which a package is distributed.
Distribution []*PackageManager_Distribution `protobuf:"bytes,10,rep,name=distribution,proto3" json:"distribution,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PackageManager_Package) Reset() { *m = PackageManager_Package{} }
func (m *PackageManager_Package) String() string { return proto.CompactTextString(m) }
func (*PackageManager_Package) ProtoMessage() {}
func (*PackageManager_Package) Descriptor() ([]byte, []int) {
return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0, 2}
}
func (m *PackageManager_Package) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PackageManager_Package.Unmarshal(m, b)
}
func (m *PackageManager_Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PackageManager_Package.Marshal(b, m, deterministic)
}
func (dst *PackageManager_Package) XXX_Merge(src proto.Message) {
xxx_messageInfo_PackageManager_Package.Merge(dst, src)
}
func (m *PackageManager_Package) XXX_Size() int {
return xxx_messageInfo_PackageManager_Package.Size(m)
}
func (m *PackageManager_Package) XXX_DiscardUnknown() {
xxx_messageInfo_PackageManager_Package.DiscardUnknown(m)
}
var xxx_messageInfo_PackageManager_Package proto.InternalMessageInfo
func (m *PackageManager_Package) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *PackageManager_Package) GetDistribution() []*PackageManager_Distribution {
if m != nil {
return m.Distribution
}
return nil
}
// This represents how a particular software package may be installed on
// a system.
type PackageManager_Installation struct {
// Output only. The name of the installed package.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// All of the places within the filesystem versions of this package
// have been found.
Location []*PackageManager_Location `protobuf:"bytes,2,rep,name=location,proto3" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PackageManager_Installation) Reset() { *m = PackageManager_Installation{} }
func (m *PackageManager_Installation) String() string { return proto.CompactTextString(m) }
func (*PackageManager_Installation) ProtoMessage() {}
func (*PackageManager_Installation) Descriptor() ([]byte, []int) {
return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0, 3}
}
func (m *PackageManager_Installation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PackageManager_Installation.Unmarshal(m, b)
}
func (m *PackageManager_Installation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PackageManager_Installation.Marshal(b, m, deterministic)
}
func (dst *PackageManager_Installation) XXX_Merge(src proto.Message) {
xxx_messageInfo_PackageManager_Installation.Merge(dst, src)
}
func (m *PackageManager_Installation) XXX_Size() int {
return xxx_messageInfo_PackageManager_Installation.Size(m)
}
func (m *PackageManager_Installation) XXX_DiscardUnknown() {
xxx_messageInfo_PackageManager_Installation.DiscardUnknown(m)
}
var xxx_messageInfo_PackageManager_Installation proto.InternalMessageInfo
func (m *PackageManager_Installation) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *PackageManager_Installation) GetLocation() []*PackageManager_Location {
if m != nil {
return m.Location
}
return nil
}
func init() {
proto.RegisterType((*PackageManager)(nil), "google.devtools.containeranalysis.v1alpha1.PackageManager")
proto.RegisterType((*PackageManager_Distribution)(nil), "google.devtools.containeranalysis.v1alpha1.PackageManager.Distribution")
proto.RegisterType((*PackageManager_Location)(nil), "google.devtools.containeranalysis.v1alpha1.PackageManager.Location")
proto.RegisterType((*PackageManager_Package)(nil), "google.devtools.containeranalysis.v1alpha1.PackageManager.Package")
proto.RegisterType((*PackageManager_Installation)(nil), "google.devtools.containeranalysis.v1alpha1.PackageManager.Installation")
proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.PackageManager_Architecture", PackageManager_Architecture_name, PackageManager_Architecture_value)
}
func init() {
proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/bill_of_materials.proto", fileDescriptor_bill_of_materials_27661a0342dc8703)
}
var fileDescriptor_bill_of_materials_27661a0342dc8703 = []byte{
// 522 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xd1, 0x8a, 0xd3, 0x4e,
0x14, 0xc6, 0xff, 0x49, 0x97, 0x76, 0xf7, 0xb4, 0xff, 0x52, 0xe6, 0xc6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