blob: 83611549e4f190b17e37a4edf835349250421f20 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/luci/luci-go/milo/api/config/project.proto
/*
Package config is a generated protocol buffer package.
It is generated from these files:
github.com/luci/luci-go/milo/api/config/project.proto
github.com/luci/luci-go/milo/api/config/settings.proto
It has these top-level messages:
Project
Console
Builder
Settings
*/
package config
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package
// Project is a project definition for Milo.
type Project struct {
// ID is the identifier for the project, if different from its repository name.
ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
// Consoles is a list of consoles to define under /console/
Consoles []*Console `protobuf:"bytes,2,rep,name=Consoles" json:"Consoles,omitempty"`
}
func (m *Project) Reset() { *m = Project{} }
func (m *Project) String() string { return proto.CompactTextString(m) }
func (*Project) ProtoMessage() {}
func (*Project) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Project) GetID() string {
if m != nil {
return m.ID
}
return ""
}
func (m *Project) GetConsoles() []*Console {
if m != nil {
return m.Consoles
}
return nil
}
// Console is a waterfall definition consisting of one or more builders.
type Console struct {
// ID is the reference to the console, and will be the address to make the
// console reachable from /console/<Project>/<ID>.
ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
// Name is the longform name of the waterfall, and will be used to be
// displayed in the title.
Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"`
// RepoURL is the URL of the git repository to display as the rows of the console.
RepoURL string `protobuf:"bytes,3,opt,name=RepoURL" json:"RepoURL,omitempty"`
// Ref is the ref to pull commits from when displaying the console.
// Eg. refs/heads/master
Ref string `protobuf:"bytes,4,opt,name=Ref" json:"Ref,omitempty"`
// ManifestName is the name of the manifest the waterfall looks at.
// By convention, Manifest Names can be:
// * UNPATCHED - For non patched builds, such as continuous builds
// * PATCHED - For patched builds, such as those on try jobs
ManifestName string `protobuf:"bytes,5,opt,name=ManifestName" json:"ManifestName,omitempty"`
// Builders is a list of builder configurations to display as the columns of the console.
Builders []*Builder `protobuf:"bytes,6,rep,name=Builders" json:"Builders,omitempty"`
}
func (m *Console) Reset() { *m = Console{} }
func (m *Console) String() string { return proto.CompactTextString(m) }
func (*Console) ProtoMessage() {}
func (*Console) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *Console) GetID() string {
if m != nil {
return m.ID
}
return ""
}
func (m *Console) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Console) GetRepoURL() string {
if m != nil {
return m.RepoURL
}
return ""
}
func (m *Console) GetRef() string {
if m != nil {
return m.Ref
}
return ""
}
func (m *Console) GetManifestName() string {
if m != nil {
return m.ManifestName
}
return ""
}
func (m *Console) GetBuilders() []*Builder {
if m != nil {
return m.Builders
}
return nil
}
// A builder is a reference to a Milo builder.
type Builder struct {
// Name is the identifier to find the builder, which includes the module.
// Buildbot builds would be like "buildbot/chromium.linux/Linux Tests"
// Buildbucket builds would be like "buildbucket/luci.chromium.try/linux_chromium_rel_ng"
Name string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"`
// Category describes the hierarchy of the builder on the header of the
// console as a "|" delimited list. Neighboring builders with common ancestors
// will be have their headers merged.
Category string `protobuf:"bytes,2,opt,name=Category" json:"Category,omitempty"`
// ShortName is the 1-3 character abbreviation of the builder.
ShortName string `protobuf:"bytes,3,opt,name=ShortName" json:"ShortName,omitempty"`
}
func (m *Builder) Reset() { *m = Builder{} }
func (m *Builder) String() string { return proto.CompactTextString(m) }
func (*Builder) ProtoMessage() {}
func (*Builder) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *Builder) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Builder) GetCategory() string {
if m != nil {
return m.Category
}
return ""
}
func (m *Builder) GetShortName() string {
if m != nil {
return m.ShortName
}
return ""
}
func init() {
proto.RegisterType((*Project)(nil), "config.Project")
proto.RegisterType((*Console)(nil), "config.Console")
proto.RegisterType((*Builder)(nil), "config.Builder")
}
func init() {
proto.RegisterFile("github.com/luci/luci-go/milo/api/config/project.proto", fileDescriptor0)
}
var fileDescriptor0 = []byte{
// 260 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4a, 0xc3, 0x40,
0x10, 0x86, 0x49, 0x52, 0x93, 0x76, 0x14, 0x95, 0x3d, 0x2d, 0xe2, 0xa1, 0xe4, 0x54, 0x10, 0xb3,
0xa0, 0xf8, 0x02, 0xb6, 0x08, 0x05, 0x15, 0x59, 0x11, 0xcf, 0x69, 0xdc, 0xa4, 0x2b, 0x49, 0x26,
0x6c, 0x36, 0x07, 0x5f, 0xc9, 0xa7, 0x94, 0xce, 0xae, 0xd1, 0xd2, 0x4b, 0xf8, 0xff, 0x6f, 0x26,
0xc3, 0xc7, 0xc2, 0x5d, 0xa5, 0xed, 0x76, 0xd8, 0x64, 0x05, 0x36, 0xa2, 0x1e, 0x0a, 0x4d, 0x9f,
0xeb, 0x0a, 0x45, 0xa3, 0x6b, 0x14, 0x79, 0xa7, 0x45, 0x81, 0x6d, 0xa9, 0x2b, 0xd1, 0x19, 0xfc,
0x54, 0x85, 0xcd, 0x3a, 0x83, 0x16, 0x59, 0xec, 0x68, 0xfa, 0x00, 0xc9, 0x8b, 0x1b, 0xb0, 0x53,
0x08, 0xd7, 0x2b, 0x1e, 0xcc, 0x83, 0xc5, 0x4c, 0x86, 0xeb, 0x15, 0xbb, 0x82, 0xe9, 0x12, 0xdb,
0x1e, 0x6b, 0xd5, 0xf3, 0x70, 0x1e, 0x2d, 0x8e, 0x6f, 0xce, 0x32, 0xf7, 0x57,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