blob: 54a25772fb2108d96e1feb747f270f300fb5a984 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: chromiumos/common.proto
package chromiumos
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// 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.ProtoPackageIsVersion3 // please upgrade the proto package
// The types of images that can be built.
type ImageType int32
const (
ImageType_IMAGE_TYPE_UNDEFINED ImageType = 0
ImageType_BASE ImageType = 1
ImageType_DEV ImageType = 2
ImageType_TEST ImageType = 3
ImageType_BASE_VM ImageType = 4
ImageType_TEST_VM ImageType = 5
)
var ImageType_name = map[int32]string{
0: "IMAGE_TYPE_UNDEFINED",
1: "BASE",
2: "DEV",
3: "TEST",
4: "BASE_VM",
5: "TEST_VM",
}
var ImageType_value = map[string]int32{
"IMAGE_TYPE_UNDEFINED": 0,
"BASE": 1,
"DEV": 2,
"TEST": 3,
"BASE_VM": 4,
"TEST_VM": 5,
}
func (x ImageType) String() string {
return proto.EnumName(ImageType_name, int32(x))
}
func (ImageType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_fa0b57c3d7d4c63b, []int{0}
}
// Location enum; whether the resource is inside or outside of the chroot.
type Path_Location int32
const (
Path_NO_LOCATION Path_Location = 0
Path_INSIDE Path_Location = 1
Path_OUTSIDE Path_Location = 2
)
var Path_Location_name = map[int32]string{
0: "NO_LOCATION",
1: "INSIDE",
2: "OUTSIDE",
}
var Path_Location_value = map[string]int32{
"NO_LOCATION": 0,
"INSIDE": 1,
"OUTSIDE": 2,
}
func (x Path_Location) String() string {
return proto.EnumName(Path_Location_name, int32(x))
}
func (Path_Location) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_fa0b57c3d7d4c63b, []int{4, 0}
}
// BuildTarget encapsulates a number of related arguments. At the moment, the
// usage of specific arguments is on a per endpoint basis, but will converge
// to support a standard set as time goes on.
// BuildTarget is a more appropriate name going forward for what we currently
// call "board".
type BuildTarget struct {
// The name of the build target (a.k.a. board name).
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 *BuildTarget) Reset() { *m = BuildTarget{} }
func (m *BuildTarget) String() string { return proto.CompactTextString(m) }
func (*BuildTarget) ProtoMessage() {}
func (*BuildTarget) Descriptor() ([]byte, []int) {
return fileDescriptor_fa0b57c3d7d4c63b, []int{0}
}
func (m *BuildTarget) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BuildTarget.Unmarshal(m, b)
}
func (m *BuildTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BuildTarget.Marshal(b, m, deterministic)
}
func (m *BuildTarget) XXX_Merge(src proto.Message) {
xxx_messageInfo_BuildTarget.Merge(m, src)
}
func (m *BuildTarget) XXX_Size() int {
return xxx_messageInfo_BuildTarget.Size(m)
}
func (m *BuildTarget) XXX_DiscardUnknown() {
xxx_messageInfo_BuildTarget.DiscardUnknown(m)
}
var xxx_messageInfo_BuildTarget proto.InternalMessageInfo
func (m *BuildTarget) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Chroot is used to define how to enter a chroot.
type Chroot struct {
// The directory containing the chroot.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// The cache directory override.
CacheDir string `protobuf:"bytes,2,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"`
// Environment configuration.
Env *Chroot_ChrootEnv `protobuf:"bytes,3,opt,name=env,proto3" json:"env,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Chroot) Reset() { *m = Chroot{} }
func (m *Chroot) String() string { return proto.CompactTextString(m) }
func (*Chroot) ProtoMessage() {}
func (*Chroot) Descriptor() ([]byte, []int) {
return fileDescriptor_fa0b57c3d7d4c63b, []int{1}
}
func (m *Chroot) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Chroot.Unmarshal(m, b)
}
func (m *Chroot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Chroot.Marshal(b, m, deterministic)
}
func (m *Chroot) XXX_Merge(src proto.Message) {
xxx_messageInfo_Chroot.Merge(m, src)
}
func (m *Chroot) XXX_Size() int {
return xxx_messageInfo_Chroot.Size(m)
}
func (m *Chroot) XXX_DiscardUnknown() {
xxx_messageInfo_Chroot.DiscardUnknown(m)
}
var xxx_messageInfo_Chroot proto.InternalMessageInfo
func (m *Chroot) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *Chroot) GetCacheDir() string {
if m != nil {
return m.CacheDir
}
return ""
}
func (m *Chroot) GetEnv() *Chroot_ChrootEnv {
if m != nil {
return m.Env
}
return nil
}
type Chroot_ChrootEnv struct {
// USE flags to set.
UseFlags []*UseFlag `protobuf:"bytes,1,rep,name=use_flags,json=useFlags,proto3" json:"use_flags,omitempty"`
// FEATURES flags to set.
Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Chroot_ChrootEnv) Reset() { *m = Chroot_ChrootEnv{} }
func (m *Chroot_ChrootEnv) String() string { return proto.CompactTextString(m) }
func (*Chroot_ChrootEnv) ProtoMessage() {}
func (*Chroot_ChrootEnv) Descriptor() ([]byte, []int) {
return fileDescriptor_fa0b57c3d7d4c63b, []int{1, 0}
}
func (m *Chroot_ChrootEnv) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Chroot_ChrootEnv.Unmarshal(m, b)
}
func (m *Chroot_ChrootEnv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Chroot_ChrootEnv.Marshal(b, m, deterministic)
}
func (m *Chroot_ChrootEnv) XXX_Merge(src proto.Message) {
xxx_messageInfo_Chroot_ChrootEnv.Merge(m, src)
}
func (m *Chroot_ChrootEnv) XXX_Size() int {
return xxx_messageInfo_Chroot_ChrootEnv.Size(m)
}
func (m *Chroot_ChrootEnv) XXX_DiscardUnknown() {
xxx_messageInfo_Chroot_ChrootEnv.DiscardUnknown(m)
}
var xxx_messageInfo_Chroot_ChrootEnv proto.InternalMessageInfo
func (m *Chroot_ChrootEnv) GetUseFlags() []*UseFlag {
if m != nil {
return m.UseFlags
}
return nil
}
func (m *Chroot_ChrootEnv) GetFeatures() []*Feature {
if m != nil {
return m.Features
}
return nil
}
// FEATURES environment variable component message.
type Feature struct {
Feature string `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Feature) Reset() { *m = Feature{} }
func (m *Feature) String() string { return proto.CompactTextString(m) }
func (*Feature) ProtoMessage() {}
func (*Feature) Descriptor() ([]byte, []int) {
return fileDescriptor_fa0b57c3d7d4c63b, []int{2}
}
func (m *Feature) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Feature.Unmarshal(m, b)
}
func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Feature.Marshal(b, m, deterministic)
}
func (m *Feature) XXX_Merge(src proto.Message) {
xxx_messageInfo_Feature.Merge(m, src)
}
func (m *Feature) XXX_Size() int {
return xxx_messageInfo_Feature.Size(m)
}
func (m *Feature) XXX_DiscardUnknown() {
xxx_messageInfo_Feature.DiscardUnknown(m)
}
var xxx_messageInfo_Feature proto.InternalMessageInfo
func (m *Feature) GetFeature() string {
if m != nil {
return m.Feature
}
return ""
}
// Message describing a package, The corresponding variable names are from
// https://devmanual.gentoo.org/ebuild-writing/variables/index.html
type PackageInfo struct {
// The package name (PN variable).
PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
// The package category (CATEGORY variable).
Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
// The package version and revision (PVR variable).
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PackageInfo) Reset() { *m = PackageInfo{} }
func (m *PackageInfo) String() string { return proto.CompactTextString(m) }
func (*PackageInfo) ProtoMessage() {}
func (*PackageInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_fa0b57c3d7d4c63b, []int{3}
}
func (m *PackageInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PackageInfo.Unmarshal(m, b)
}
func (m *PackageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PackageInfo.Marshal(b, m, deterministic)
}
func (m *PackageInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_PackageInfo.Merge(m, src)
}
func (m *PackageInfo) XXX_Size() int {
return xxx_messageInfo_PackageInfo.Size(m)
}
func (m *PackageInfo) XXX_DiscardUnknown() {
xxx_messageInfo_PackageInfo.DiscardUnknown(m)
}
var xxx_messageInfo_PackageInfo proto.InternalMessageInfo
func (m *PackageInfo) GetPackageName() string {
if m != nil {
return m.PackageName
}
return ""
}
func (m *PackageInfo) GetCategory() string {
if m != nil {
return m.Category
}
return ""
}
func (m *PackageInfo) GetVersion() string {
if m != nil {
return m.Version
}
return ""
}
// A message to clarify inside/outside chroot paths.
type Path struct {
// The path to the resource.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// The path location.
Location Path_Location `protobuf:"varint,2,opt,name=location,proto3,enum=chromiumos.Path_Location" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Path) Reset() { *m = Path{} }
func (m *Path) String() string { return proto.CompactTextString(m) }
func (*Path) ProtoMessage() {}
func (*Path) Descriptor() ([]byte, []int) {
return fileDescriptor_fa0b57c3d7d4c63b, []int{4}
}
func (m *Path) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Path.Unmarshal(m, b)
}
func (m *Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Path.Marshal(b, m, deterministic)
}
func (m *Path) XXX_Merge(src proto.Message) {
xxx_messageInfo_Path.Merge(m, src)
}
func (m *Path) XXX_Size() int {
return xxx_messageInfo_Path.Size(m)
}
func (m *Path) XXX_DiscardUnknown() {
xxx_messageInfo_Path.DiscardUnknown(m)
}
var xxx_messageInfo_Path proto.InternalMessageInfo
func (m *Path) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *Path) GetLocation() Path_Location {
if m != nil {
return m.Location
}
return Path_NO_LOCATION
}
// Message for USE flags.
type UseFlag struct {
// The use flag.
Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UseFlag) Reset() { *m = UseFlag{} }
func (m *UseFlag) String() string { return proto.CompactTextString(m) }
func (*UseFlag) ProtoMessage() {}
func (*UseFlag) Descriptor() ([]byte, []int) {
return fileDescriptor_fa0b57c3d7d4c63b, []int{5}
}
func (m *UseFlag) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UseFlag.Unmarshal(m, b)
}
func (m *UseFlag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UseFlag.Marshal(b, m, deterministic)
}
func (m *UseFlag) XXX_Merge(src proto.Message) {
xxx_messageInfo_UseFlag.Merge(m, src)
}
func (m *UseFlag) XXX_Size() int {
return xxx_messageInfo_UseFlag.Size(m)
}
func (m *UseFlag) XXX_DiscardUnknown() {
xxx_messageInfo_UseFlag.DiscardUnknown(m)
}
var xxx_messageInfo_UseFlag proto.InternalMessageInfo
func (m *UseFlag) GetFlag() string {
if m != nil {
return m.Flag
}
return ""
}
func init() {
proto.RegisterEnum("chromiumos.ImageType", ImageType_name, ImageType_value)
proto.RegisterEnum("chromiumos.Path_Location", Path_Location_name, Path_Location_value)
proto.RegisterType((*BuildTarget)(nil), "chromiumos.BuildTarget")
proto.RegisterType((*Chroot)(nil), "chromiumos.Chroot")
proto.RegisterType((*Chroot_ChrootEnv)(nil), "chromiumos.Chroot.ChrootEnv")
proto.RegisterType((*Feature)(nil), "chromiumos.Feature")
proto.RegisterType((*PackageInfo)(nil), "chromiumos.PackageInfo")
proto.RegisterType((*Path)(nil), "chromiumos.Path")
proto.RegisterType((*UseFlag)(nil), "chromiumos.UseFlag")
}
func init() { proto.RegisterFile("chromiumos/common.proto", fileDescriptor_fa0b57c3d7d4c63b) }
var fileDescriptor_fa0b57c3d7d4c63b = []byte{
// 468 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x5d, 0x8f, 0x93, 0x40,
0x14, 0x5d, 0xda, 0x5a, 0xe0, 0x62, 0x94, 0x8c, 0x26, 0xe2, 0xaa, 0x49, 0x17, 0x5f, 0x1a, 0x1f,
0xc0, 0xd4, 0xd5, 0xf7, 0x76, 0xa1, 0x86, 0x64, 0x97, 0x36, 0x94, 0x6e, 0xa2, 0x31, 0x21, 0x23,
0x3b, 0x4c, 0x89, 0x85, 0x69, 0x06, 0x68, 0xb2, 0xbf, 0xc0, 0xdf, 0xe8, 0xbf, 0x31, 0xc3, 0x47,
0x4b, 0xa2, 0x4f, 0xdc, 0x73, 0xce, 0xfd, 0x98, 0x7b, 0xb8, 0xf0, 0x2a, 0xde, 0x71, 0x96, 0xa5,
0x55, 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