| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: go.chromium.org/luci/milo/api/config/project.proto |
| |
| package config |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| ) |
| |
| // 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 |
| |
| // Project is a project definition for Milo. |
| type Project struct { |
| // Consoles is a list of consoles to define under /console/ |
| Consoles []*Console `protobuf:"bytes,2,rep,name=consoles,proto3" json:"consoles,omitempty"` |
| // Headers is a list of defined headers that may be referenced by a console. |
| Headers []*Header `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"` |
| // LogoUrl is the URL to the logo for this project. |
| // This field is optional. The logo URL must have a host of |
| // storage.googleapis.com. |
| LogoUrl string `protobuf:"bytes,4,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` |
| // BugTemplate is the template for making a custom feedback link for |
| // the build page. This field is optional. Supported interpolations |
| // for the "summary" and "description" fields in this context are: |
| // |
| // {{.Build.Builder.Project}} |
| // {{.Build.Builder.Bucket}} |
| // {{.Build.Builder.Builder}} |
| // |
| // If any specified placeholder cannot be satisfied then a default URL |
| // is rendered for the feedback link. |
| BuildBugTemplate *BugTemplate `protobuf:"bytes,5,opt,name=build_bug_template,json=buildBugTemplate,proto3" json:"build_bug_template,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Project) Reset() { *m = Project{} } |
| func (m *Project) String() string { return proto.CompactTextString(m) } |
| func (*Project) ProtoMessage() {} |
| func (*Project) Descriptor() ([]byte, []int) { |
| return fileDescriptor_ed3e109f2242818b, []int{0} |
| } |
| |
| func (m *Project) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Project.Unmarshal(m, b) |
| } |
| func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Project.Marshal(b, m, deterministic) |
| } |
| func (m *Project) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Project.Merge(m, src) |
| } |
| func (m *Project) XXX_Size() int { |
| return xxx_messageInfo_Project.Size(m) |
| } |
| func (m *Project) XXX_DiscardUnknown() { |
| xxx_messageInfo_Project.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Project proto.InternalMessageInfo |
| |
| func (m *Project) GetConsoles() []*Console { |
| if m != nil { |
| return m.Consoles |
| } |
| return nil |
| } |
| |
| func (m *Project) GetHeaders() []*Header { |
| if m != nil { |
| return m.Headers |
| } |
| return nil |
| } |
| |
| func (m *Project) GetLogoUrl() string { |
| if m != nil { |
| return m.LogoUrl |
| } |
| return "" |
| } |
| |
| func (m *Project) GetBuildBugTemplate() *BugTemplate { |
| if m != nil { |
| return m.BuildBugTemplate |
| } |
| return nil |
| } |
| |
| // BugTemplate defines how to make custom feedback links to file Monorail |
| // bugs. The intention is for this to be used to insert a bug into a triage |
| // queue. The "summary" and "description" fields are templates for generating |
| // summary and description text, respectively. The template fields are |
| // interpolated with values specific to the context. |
| // See https://golang.org/pkg/text/template for the full template specification. |
| type BugTemplate struct { |
| Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` |
| Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` |
| MonorailProject string `protobuf:"bytes,3,opt,name=monorail_project,json=monorailProject,proto3" json:"monorail_project,omitempty"` |
| // Components identifies the monorail component(s) that the bug should |
| // exist under in the hierarchical ">" separated format. For example: |
| // "Infra>Client>ChromeOS>CI" |
| Components []string `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BugTemplate) Reset() { *m = BugTemplate{} } |
| func (m *BugTemplate) String() string { return proto.CompactTextString(m) } |
| func (*BugTemplate) ProtoMessage() {} |
| func (*BugTemplate) Descriptor() ([]byte, []int) { |
| return fileDescriptor_ed3e109f2242818b, []int{1} |
| } |
| |
| func (m *BugTemplate) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BugTemplate.Unmarshal(m, b) |
| } |
| func (m *BugTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BugTemplate.Marshal(b, m, deterministic) |
| } |
| func (m *BugTemplate) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BugTemplate.Merge(m, src) |
| } |
| func (m *BugTemplate) XXX_Size() int { |
| return xxx_messageInfo_BugTemplate.Size(m) |
| } |
| func (m *BugTemplate) XXX_DiscardUnknown() { |
| xxx_messageInfo_BugTemplate.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BugTemplate proto.InternalMessageInfo |
| |
| func (m *BugTemplate) GetSummary() string { |
| if m != nil { |
| return m.Summary |
| } |
| return "" |
| } |
| |
| func (m *BugTemplate) GetDescription() string { |
| if m != nil { |
| return m.Description |
| } |
| return "" |
| } |
| |
| func (m *BugTemplate) GetMonorailProject() string { |
| if m != nil { |
| return m.MonorailProject |
| } |
| return "" |
| } |
| |
| func (m *BugTemplate) GetComponents() []string { |
| if m != nil { |
| return m.Components |
| } |
| return nil |
| } |
| |
| // Link is a link to an internet resource, which will be rendered out as |
| // an anchor tag <a href="url" alt="alt">text</a>. |
| type Link struct { |
| // Text is displayed as the text between the anchor tags. |
| Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` |
| // Url is the URL to link to. |
| Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` |
| // Alt is the alt text displayed when hovering over the text. |
| Alt string `protobuf:"bytes,3,opt,name=alt,proto3" json:"alt,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Link) Reset() { *m = Link{} } |
| func (m *Link) String() string { return proto.CompactTextString(m) } |
| func (*Link) ProtoMessage() {} |
| func (*Link) Descriptor() ([]byte, []int) { |
| return fileDescriptor_ed3e109f2242818b, []int{2} |
| } |
| |
| func (m *Link) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Link.Unmarshal(m, b) |
| } |
| func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Link.Marshal(b, m, deterministic) |
| } |
| func (m *Link) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Link.Merge(m, src) |
| } |
| func (m *Link) XXX_Size() int { |
| return xxx_messageInfo_Link.Size(m) |
| } |
| func (m *Link) XXX_DiscardUnknown() { |
| xxx_messageInfo_Link.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Link proto.InternalMessageInfo |
| |
| func (m *Link) GetText() string { |
| if m != nil { |
| return m.Text |
| } |
| return "" |
| } |
| |
| func (m *Link) GetUrl() string { |
| if m != nil { |
| return m.Url |
| } |
| return "" |
| } |
| |
| func (m *Link) GetAlt() string { |
| if m != nil { |
| return m.Alt |
| } |
| return "" |
| } |
| |
| // Oncall contains information about who is currently scheduled as the |
| // oncall (Sheriff, trooper, etc) for certain rotations. |
| type Oncall struct { |
| // Name is the name of the oncall rotation being displayed. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Url is an URL to a json endpoint with the following format: |
| // { |
| // "updated_unix_timestamp": <int>, |
| // "emails": [ |
| // "email@somewhere.com", |
| // "email@nowhere.com |
| // ] |
| // } |
| Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Oncall) Reset() { *m = Oncall{} } |
| func (m *Oncall) String() string { return proto.CompactTextString(m) } |
| func (*Oncall) ProtoMessage() {} |
| func (*Oncall) Descriptor() ([]byte, []int) { |
| return fileDescriptor_ed3e109f2242818b, []int{3} |
| } |
| |
| func (m *Oncall) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Oncall.Unmarshal(m, b) |
| } |
| func (m *Oncall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Oncall.Marshal(b, m, deterministic) |
| } |
| func (m *Oncall) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Oncall.Merge(m, src) |
| } |
| func (m *Oncall) XXX_Size() int { |
| return xxx_messageInfo_Oncall.Size(m) |
| } |
| func (m *Oncall) XXX_DiscardUnknown() { |
| xxx_messageInfo_Oncall.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Oncall proto.InternalMessageInfo |
| |
| func (m *Oncall) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *Oncall) GetUrl() string { |
| if m != nil { |
| return m.Url |
| } |
| return "" |
| } |
| |
| // LinkGroup is a list of links, optionally given a name. |
| type LinkGroup struct { |
| // Name is the name of this list of links. This is optional. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Links is a list of links to display. |
| Links []*Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *LinkGroup) Reset() { *m = LinkGroup{} } |
| func (m *LinkGroup) String() string { return proto.CompactTextString(m) } |
| func (*LinkGroup) ProtoMessage() {} |
| func (*LinkGroup) Descriptor() ([]byte, []int) { |
| return fileDescriptor_ed3e109f2242818b, []int{4} |
| } |
| |
| func (m *LinkGroup) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_LinkGroup.Unmarshal(m, b) |
| } |
| func (m *LinkGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_LinkGroup.Marshal(b, m, deterministic) |
| } |
| func (m *LinkGroup) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_LinkGroup.Merge(m, src) |
| } |
| func (m *LinkGroup) XXX_Size() int { |
| return xxx_messageInfo_LinkGroup.Size(m) |
| } |
| func (m *LinkGroup) XXX_DiscardUnknown() { |
| xxx_messageInfo_LinkGroup.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_LinkGroup proto.InternalMessageInfo |
| |
| func (m *LinkGroup) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *LinkGroup) GetLinks() []*Link { |
| if m != nil { |
| return m.Links |
| } |
| return nil |
| } |
| |
| // ConsoleSummaryGroup is a list of consoles to be displayed as console summaries |
| // (aka the little bubbles at the top of the console). This can optionally |
| // have a group name if specified in the group_link. |
| // (e.g. "Tree closers", "Experimental", etc) |
| type ConsoleSummaryGroup struct { |
| // Title is a name or label for this group of consoles. This is optional. |
| Title *Link `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` |
| // ConsoleIds is a list of console ids to display in this console group. |
| // Each console id must be prepended with its related project (e.g. |
| // chromium/main) because console ids are project-local. |
| // Only consoles from the same project are supported. |
| // TODO(hinoka): Allow cross-project consoles. |
| ConsoleIds []string `protobuf:"bytes,2,rep,name=console_ids,json=consoleIds,proto3" json:"console_ids,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ConsoleSummaryGroup) Reset() { *m = ConsoleSummaryGroup{} } |
| func (m *ConsoleSummaryGroup) String() string { return proto.CompactTextString(m) } |
| func (*ConsoleSummaryGroup) ProtoMessage() {} |
| func (*ConsoleSummaryGroup) Descriptor() ([]byte, []int) { |
| return fileDescriptor_ed3e109f2242818b, []int{5} |
| } |
| |
| func (m *ConsoleSummaryGroup) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ConsoleSummaryGroup.Unmarshal(m, b) |
| } |
| func (m *ConsoleSummaryGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ConsoleSummaryGroup.Marshal(b, m, deterministic) |
| } |
| func (m *ConsoleSummaryGroup) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ConsoleSummaryGroup.Merge(m, src) |
| } |
| func (m *ConsoleSummaryGroup) XXX_Size() int { |
| return xxx_messageInfo_ConsoleSummaryGroup.Size(m) |
| } |
| func (m *ConsoleSummaryGroup) XXX_DiscardUnknown() { |
| xxx_messageInfo_ConsoleSummaryGroup.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ConsoleSummaryGroup proto.InternalMessageInfo |
| |
| func (m *ConsoleSummaryGroup) GetTitle() *Link { |
| if m != nil { |
| return m.Title |
| } |
| return nil |
| } |
| |
| func (m *ConsoleSummaryGroup) GetConsoleIds() []string { |
| if m != nil { |
| return m.ConsoleIds |
| } |
| return nil |
| } |
| |
| // Header is a collection of links, rotation information, and console summaries |
| // that are displayed at the top of a console, below the tree status information. |
| // Links and oncall information is always laid out to the left, while |
| // console groups are laid out on the right. Each oncall and links group |
| // take up a row. |
| type Header struct { |
| // Oncalls are a reference to oncall rotations, which is a URL to a json |
| // endpoint with the following format: |
| // { |
| // "updated_unix_timestamp": <int>, |
| // "emails": [ |
| // "email@somewhere.com", |
| // "email@nowhere.com |
| // ] |
| // } |
| Oncalls []*Oncall `protobuf:"bytes,1,rep,name=oncalls,proto3" json:"oncalls,omitempty"` |
| // Links is a list of named groups of web links. |
| Links []*LinkGroup `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"` |
| // ConsoleGroups are groups of console summaries, each optionally named. |
| ConsoleGroups []*ConsoleSummaryGroup `protobuf:"bytes,3,rep,name=console_groups,json=consoleGroups,proto3" json:"console_groups,omitempty"` |
| // TreeStatusHost is the hostname of the chromium-status instance where |
| // the tree status of this console is hosted. If provided, this will appear |
| // as the bar at the very top of the page. |
| TreeStatusHost string `protobuf:"bytes,4,opt,name=tree_status_host,json=treeStatusHost,proto3" json:"tree_status_host,omitempty"` |
| // Id is a reference to the header. |
| Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Header) Reset() { *m = Header{} } |
| func (m *Header) String() string { return proto.CompactTextString(m) } |
| func (*Header) ProtoMessage() {} |
| func (*Header) Descriptor() ([]byte, []int) { |
| return fileDescriptor_ed3e109f2242818b, []int{6} |
| } |
| |
| func (m *Header) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Header.Unmarshal(m, b) |
| } |
| func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Header.Marshal(b, m, deterministic) |
| } |
| func (m *Header) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Header.Merge(m, src) |
| } |
| func (m *Header) XXX_Size() int { |
| return xxx_messageInfo_Header.Size(m) |
| } |
| func (m *Header) XXX_DiscardUnknown() { |
| xxx_messageInfo_Header.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Header proto.InternalMessageInfo |
| |
| func (m *Header) GetOncalls() []*Oncall { |
| if m != nil { |
| return m.Oncalls |
| } |
| return nil |
| } |
| |
| func (m *Header) GetLinks() []*LinkGroup { |
| if m != nil { |
| return m.Links |
| } |
| return nil |
| } |
| |
| func (m *Header) GetConsoleGroups() []*ConsoleSummaryGroup { |
| if m != nil { |
| return m.ConsoleGroups |
| } |
| return nil |
| } |
| |
| func (m *Header) GetTreeStatusHost() string { |
| if m != nil { |
| return m.TreeStatusHost |
| } |
| return "" |
| } |
| |
| func (m *Header) GetId() string { |
| if m != nil { |
| return m.Id |
| } |
| return "" |
| } |
| |
| // 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,proto3" 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,proto3" 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=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"` |
| // Refs are the refs to pull commits from when displaying the console. |
| // |
| // Users can specify a regular expression to match several refs using |
| // "regexp:" prefix, but the regular expression must have: |
| // * a literal prefix with at least two slashes present, e.g. |
| // "refs/release-\d+/foobar" is not allowed, because the literal prefix |
| // "refs/release-" only contains one slash, and |
| // * must not start with ^ or end with $ as they are added automatically. |
| // |
| // For best results, ensure each ref's has commit's **committer** timestamp |
| // monotonically non-decreasing. Gerrit will take care of this if you require |
| // each commmit to go through Gerrit by prohibiting "git push" on these refs. |
| // |
| // Eg. refs/heads/master, regexp:refs/branch-heads/\d+\.\d+ |
| Refs []string `protobuf:"bytes,14,rep,name=refs,proto3" json:"refs,omitempty"` |
| // ExcludeRef is a ref, commits from which are ignored even when they are |
| // reachable from the ref specified above. This must be specified as a single |
| // fully-qualified ref, i.e. regexp syntax from above is not supported. |
| // |
| // Note: force pushes to this ref are not supported. Milo uses caching |
| // assuming set of commits reachable from this ref may only grow, never lose |
| // some commits. |
| // |
| // E.g. the config below allows to track commits from all release branches, |
| // but ignore the commits from the master branch, from which these release |
| // branches are branched off: |
| // ref: "regexp:refs/branch-heads/\d+\.\d+" |
| // exlude_ref: "refs/heads/master" |
| ExcludeRef string `protobuf:"bytes,13,opt,name=exclude_ref,json=excludeRef,proto3" json:"exclude_ref,omitempty"` |
| // ManifestName the name of the manifest the waterfall looks at. |
| // This should always be "REVISION". |
| // In the future, other manifest names can be supported. |
| // TODO(hinoka,iannucci): crbug/832893 - Support custom manifest names, such as "UNPATCHED" / "PATCHED". |
| ManifestName string `protobuf:"bytes,5,opt,name=manifest_name,json=manifestName,proto3" json:"manifest_name,omitempty"` |
| // Builders is a list of builder configurations to display as the columns of the console. |
| Builders []*Builder `protobuf:"bytes,6,rep,name=builders,proto3" json:"builders,omitempty"` |
| // FaviconUrl is the URL to the favicon for this console page. |
| // This field is optional. The favicon URL must have a host of |
| // storage.googleapis.com. |
| FaviconUrl string `protobuf:"bytes,7,opt,name=favicon_url,json=faviconUrl,proto3" json:"favicon_url,omitempty"` |
| // Header is a collection of links, rotation information, and console summaries |
| // displayed under the tree status but above the main console content. |
| Header *Header `protobuf:"bytes,9,opt,name=header,proto3" json:"header,omitempty"` |
| // HeaderId is a reference to a header. Only one of Header or HeaderId should |
| // be specified. |
| HeaderId string `protobuf:"bytes,10,opt,name=header_id,json=headerId,proto3" json:"header_id,omitempty"` |
| // If true, this console will not filter out builds marked as Experimental. |
| // This field is optional. By default Consoles only show production builds. |
| IncludeExperimentalBuilds bool `protobuf:"varint,11,opt,name=include_experimental_builds,json=includeExperimentalBuilds,proto3" json:"include_experimental_builds,omitempty"` |
| // If true, only builders view will be available. Console view (i.e. git log |
| // based view) will be disabled and users redirected to builder view. |
| // Defaults to false. |
| BuilderViewOnly bool `protobuf:"varint,12,opt,name=builder_view_only,json=builderViewOnly,proto3" json:"builder_view_only,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Console) Reset() { *m = Console{} } |
| func (m *Console) String() string { return proto.CompactTextString(m) } |
| func (*Console) ProtoMessage() {} |
| func (*Console) Descriptor() ([]byte, []int) { |
| return fileDescriptor_ed3e109f2242818b, []int{7} |
| } |
| |
| func (m *Console) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Console.Unmarshal(m, b) |
| } |
| func (m *Console) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Console.Marshal(b, m, deterministic) |
| } |
| func (m *Console) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Console.Merge(m, src) |
| } |
| func (m *Console) XXX_Size() int { |
| return xxx_messageInfo_Console.Size(m) |
| } |
| func (m *Console) XXX_DiscardUnknown() { |
| xxx_messageInfo_Console.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Console proto.InternalMessageInfo |
| |
| 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) GetRefs() []string { |
| if m != nil { |
| return m.Refs |
| } |
| return nil |
| } |
| |
| func (m *Console) GetExcludeRef() string { |
| if m != nil { |
| return m.ExcludeRef |
| } |
| 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 |
| } |
| |
| func (m *Console) GetFaviconUrl() string { |
| if m != nil { |
| return m.FaviconUrl |
| } |
| return "" |
| } |
| |
| func (m *Console) GetHeader() *Header { |
| if m != nil { |
| return m.Header |
| } |
| return nil |
| } |
| |
| func (m *Console) GetHeaderId() string { |
| if m != nil { |
| return m.HeaderId |
| } |
| return "" |
| } |
| |
| func (m *Console) GetIncludeExperimentalBuilds() bool { |
| if m != nil { |
| return m.IncludeExperimentalBuilds |
| } |
| return false |
| } |
| |
| func (m *Console) GetBuilderViewOnly() bool { |
| if m != nil { |
| return m.BuilderViewOnly |
| } |
| return false |
| } |
| |
| // Builder is a reference to a Milo builder. |
| type Builder struct { |
| // Name is the BuilderID of the builders you wish to display for this column |
| // in the console. e.g. |
| // * "buildbot/chromium.linux/Linux Tests" |
| // * "buildbucket/luci.chromium.try/linux_chromium_rel_ng" |
| // |
| // If multiple names are specified, the console will show the union of the |
| // builders. |
| Name []string `protobuf:"bytes,1,rep,name=name,proto3" 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,proto3" json:"category,omitempty"` |
| // ShortName is the 1-3 character abbreviation of the builder. |
| ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Builder) Reset() { *m = Builder{} } |
| func (m *Builder) String() string { return proto.CompactTextString(m) } |
| func (*Builder) ProtoMessage() {} |
| func (*Builder) Descriptor() ([]byte, []int) { |
| return fileDescriptor_ed3e109f2242818b, []int{8} |
| } |
| |
| func (m *Builder) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Builder.Unmarshal(m, b) |
| } |
| func (m *Builder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Builder.Marshal(b, m, deterministic) |
| } |
| func (m *Builder) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Builder.Merge(m, src) |
| } |
| func (m *Builder) XXX_Size() int { |
| return xxx_messageInfo_Builder.Size(m) |
| } |
| func (m *Builder) XXX_DiscardUnknown() { |
| xxx_messageInfo_Builder.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Builder proto.InternalMessageInfo |
| |
| func (m *Builder) GetName() []string { |
| if m != nil { |
| return m.Name |
| } |
| return nil |
| } |
| |
| 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), "milo.Project") |
| proto.RegisterType((*BugTemplate)(nil), "milo.BugTemplate") |
| proto.RegisterType((*Link)(nil), "milo.Link") |
| proto.RegisterType((*Oncall)(nil), "milo.Oncall") |
| proto.RegisterType((*LinkGroup)(nil), "milo.LinkGroup") |
| proto.RegisterType((*ConsoleSummaryGroup)(nil), "milo.ConsoleSummaryGroup") |
| proto.RegisterType((*Header)(nil), "milo.Header") |
| proto.RegisterType((*Console)(nil), "milo.Console") |
| proto.RegisterType((*Builder)(nil), "milo.Builder") |
| } |
| |
| func init() { |
| proto.RegisterFile("go.chromium.org/luci/milo/api/config/project.proto", fileDescriptor_ed3e109f2242818b) |
| } |
| |
| var fileDescriptor_ed3e109f2242818b = []byte{ |
| // 747 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0xdb, 0x8e, 0xe3, 0x34, |
| 0x18, 0x56, 0x9a, 0x4c, 0x93, 0xfc, 0x9d, 0x76, 0xba, 0xe6, 0xc6, 0x65, 0x05, 0x44, 0xe1, 0xa0, |
| 0x0e, 0x17, 0xad, 0x34, 0xdc, 0x2f, 0x30, 0x08, 0xb1, 0x3b, 0x42, 0x2c, 0xca, 0x02, 0x5a, 0x71, |
| 0x13, 0x65, 0x12, 0x37, 0x35, 0xeb, 0xd8, 0x91, 0xed, 0xec, 0x4e, 0xdf, 0x83, 0xe7, 0xe0, 0x11, |
| 0x78, 0x09, 0x5e, 0x08, 0xf9, 0x90, 0x92, 0x01, 0xee, 0xec, 0xef, 0xfb, 0x0f, 0x9f, 0xff, 0x83, |
| 0xe1, 0xa6, 0x15, 0xbb, 0xfa, 0x28, 0x45, 0x47, 0x87, 0x6e, 0x27, 0x64, 0xbb, 0x67, 0x43, 0x4d, |
| 0xf7, 0x1d, 0x65, 0x62, 0x5f, 0xf5, 0x74, 0x5f, 0x0b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