blob: 3e4b3cada0ebfecaae5802396a2a062a0acdfe0e [file] [log] [blame]
// Copyright 2021 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.1
// source: chromiumos/build/api/portage.proto
package api
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Defines config used to generate portage builds.
type Portage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *Portage) Reset() {
*x = Portage{}
if protoimpl.UnsafeEnabled {
mi := &file_chromiumos_build_api_portage_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Portage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Portage) ProtoMessage() {}
func (x *Portage) ProtoReflect() protoreflect.Message {
mi := &file_chromiumos_build_api_portage_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Portage.ProtoReflect.Descriptor instead.
func (*Portage) Descriptor() ([]byte, []int) {
return file_chromiumos_build_api_portage_proto_rawDescGZIP(), []int{0}
}
type Portage_BuildTarget struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OverlayName string `protobuf:"bytes,1,opt,name=overlay_name,json=overlayName,proto3" json:"overlay_name,omitempty"`
ProfileName string `protobuf:"bytes,2,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
UseFlags []string `protobuf:"bytes,3,rep,name=use_flags,json=useFlags,proto3" json:"use_flags,omitempty"`
// Features enabled for the given build
// See: https://wiki.gentoo.org/wiki/FEATURES
Features []string `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"`
}
func (x *Portage_BuildTarget) Reset() {
*x = Portage_BuildTarget{}
if protoimpl.UnsafeEnabled {
mi := &file_chromiumos_build_api_portage_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Portage_BuildTarget) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Portage_BuildTarget) ProtoMessage() {}
func (x *Portage_BuildTarget) ProtoReflect() protoreflect.Message {
mi := &file_chromiumos_build_api_portage_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Portage_BuildTarget.ProtoReflect.Descriptor instead.
func (*Portage_BuildTarget) Descriptor() ([]byte, []int) {
return file_chromiumos_build_api_portage_proto_rawDescGZIP(), []int{0, 0}
}
func (x *Portage_BuildTarget) GetOverlayName() string {
if x != nil {
return x.OverlayName
}
return ""
}
func (x *Portage_BuildTarget) GetProfileName() string {
if x != nil {
return x.ProfileName
}
return ""
}
func (x *Portage_BuildTarget) GetUseFlags() []string {
if x != nil {
return x.UseFlags
}
return nil
}
func (x *Portage_BuildTarget) GetFeatures() []string {
if x != nil {
return x.Features
}
return nil
}
// Message describing a package, The corresponding variable names are from
// https://devmanual.gentoo.org/ebuild-writing/variables/index.html
type Portage_Package struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 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"`
}
func (x *Portage_Package) Reset() {
*x = Portage_Package{}
if protoimpl.UnsafeEnabled {
mi := &file_chromiumos_build_api_portage_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Portage_Package) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Portage_Package) ProtoMessage() {}
func (x *Portage_Package) ProtoReflect() protoreflect.Message {
mi := &file_chromiumos_build_api_portage_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Portage_Package.ProtoReflect.Descriptor instead.
func (*Portage_Package) Descriptor() ([]byte, []int) {
return file_chromiumos_build_api_portage_proto_rawDescGZIP(), []int{0, 1}
}
func (x *Portage_Package) GetPackageName() string {
if x != nil {
return x.PackageName
}
return ""
}
func (x *Portage_Package) GetCategory() string {
if x != nil {
return x.Category
}
return ""
}
func (x *Portage_Package) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
var File_chromiumos_build_api_portage_proto protoreflect.FileDescriptor
var file_chromiumos_build_api_portage_proto_rawDesc = []byte{
0x0a, 0x22, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x75, 0x69,
0x6c, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73,
0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x22, 0xfc, 0x01, 0x0a, 0x07, 0x50,
0x6f, 0x72, 0x74, 0x61, 0x67, 0x65, 0x1a, 0x8c, 0x01, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64,
0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x61,
0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x76,
0x65, 0x72, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f,
0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09,
0x75, 0x73, 0x65, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
0x08, 0x75, 0x73, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x65, 0x61,
0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x66, 0x65, 0x61,
0x74, 0x75, 0x72, 0x65, 0x73, 0x1a, 0x62, 0x0a, 0x07, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12,
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x6f, 0x2e,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72,
0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67,
0x6f, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_chromiumos_build_api_portage_proto_rawDescOnce sync.Once
file_chromiumos_build_api_portage_proto_rawDescData = file_chromiumos_build_api_portage_proto_rawDesc
)
func file_chromiumos_build_api_portage_proto_rawDescGZIP() []byte {
file_chromiumos_build_api_portage_proto_rawDescOnce.Do(func() {
file_chromiumos_build_api_portage_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_build_api_portage_proto_rawDescData)
})
return file_chromiumos_build_api_portage_proto_rawDescData
}
var file_chromiumos_build_api_portage_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_chromiumos_build_api_portage_proto_goTypes = []interface{}{
(*Portage)(nil), // 0: chromiumos.build.api.Portage
(*Portage_BuildTarget)(nil), // 1: chromiumos.build.api.Portage.BuildTarget
(*Portage_Package)(nil), // 2: chromiumos.build.api.Portage.Package
}
var file_chromiumos_build_api_portage_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_chromiumos_build_api_portage_proto_init() }
func file_chromiumos_build_api_portage_proto_init() {
if File_chromiumos_build_api_portage_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_chromiumos_build_api_portage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Portage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromiumos_build_api_portage_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Portage_BuildTarget); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromiumos_build_api_portage_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Portage_Package); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_chromiumos_build_api_portage_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_chromiumos_build_api_portage_proto_goTypes,
DependencyIndexes: file_chromiumos_build_api_portage_proto_depIdxs,
MessageInfos: file_chromiumos_build_api_portage_proto_msgTypes,
}.Build()
File_chromiumos_build_api_portage_proto = out.File
file_chromiumos_build_api_portage_proto_rawDesc = nil
file_chromiumos_build_api_portage_proto_goTypes = nil
file_chromiumos_build_api_portage_proto_depIdxs = nil
}