| // Copyright (c) 2016 The LUCI Authors. All rights reserved. |
| // Use of this source code is governed under the Apache License, Version 2.0 |
| // 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.3 |
| // source: go.chromium.org/luci/milo/api/config/project.proto |
| |
| package config |
| |
| import ( |
| reflect "reflect" |
| sync "sync" |
| |
| _ "go.chromium.org/luci/common/proto" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| ) |
| |
| 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) |
| ) |
| |
| // Project is a project definition for Milo. |
| type Project struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // 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"` |
| // IgnoredBuilderIds is a list of builder IDs to be ignored by pubsub handler. |
| // Build update events from the builders in this list will be ignored to |
| // improve performance. |
| // This means that updates to these builders will not be reflected in |
| // consoles, the builders page, or the builder groups page. |
| // Builders that post updates frequently (> 1/s) should be added to this list. |
| // ID format: <bucket>/<builder> |
| // |
| // TODO(crbug.com/1099036): deprecate this once a long term solution is |
| // implemented. |
| IgnoredBuilderIds []string `protobuf:"bytes,7,rep,name=ignored_builder_ids,json=ignoredBuilderIds,proto3" json:"ignored_builder_ids,omitempty"` |
| // BugUrlTemplate is the template for making a custom bug link for |
| // filing a bug against a build that displays on the build page. This |
| // is a separate link from the general Milo feedback link that is |
| // displayed in the top right corner. This field is optional. |
| // |
| // The protocal must be `https` and the domain name must be one of the |
| // following: |
| // * bugs.chromium.org |
| // * b.corp.google.com |
| // |
| // The template is interpreted as a mustache template and the following |
| // variables are available: |
| // * {{{ build.builder.project }}} |
| // * {{{ build.builder.bucket }}} |
| // * {{{ build.builder.builder }}} |
| // * {{{ milo_build_url }}} |
| // * {{{ milo_builder_url }}} |
| // |
| // All variables are URL component encoded. Additionally, use `{{{ ... }}}` to |
| // disable HTML escaping. If the template is not a valid mustache template, or |
| // doesn't satisfy the requirements above, the link is not displayed. |
| BugUrlTemplate string `protobuf:"bytes,8,opt,name=bug_url_template,json=bugUrlTemplate,proto3" json:"bug_url_template,omitempty"` |
| } |
| |
| func (x *Project) Reset() { |
| *x = Project{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Project) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Project) ProtoMessage() {} |
| |
| func (x *Project) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_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 Project.ProtoReflect.Descriptor instead. |
| func (*Project) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_milo_api_config_project_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Project) GetConsoles() []*Console { |
| if x != nil { |
| return x.Consoles |
| } |
| return nil |
| } |
| |
| func (x *Project) GetHeaders() []*Header { |
| if x != nil { |
| return x.Headers |
| } |
| return nil |
| } |
| |
| func (x *Project) GetLogoUrl() string { |
| if x != nil { |
| return x.LogoUrl |
| } |
| return "" |
| } |
| |
| func (x *Project) GetIgnoredBuilderIds() []string { |
| if x != nil { |
| return x.IgnoredBuilderIds |
| } |
| return nil |
| } |
| |
| func (x *Project) GetBugUrlTemplate() string { |
| if x != nil { |
| return x.BugUrlTemplate |
| } |
| return "" |
| } |
| |
| // 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 { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // 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"` |
| } |
| |
| func (x *Link) Reset() { |
| *x = Link{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Link) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Link) ProtoMessage() {} |
| |
| func (x *Link) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_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 Link.ProtoReflect.Descriptor instead. |
| func (*Link) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_milo_api_config_project_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *Link) GetText() string { |
| if x != nil { |
| return x.Text |
| } |
| return "" |
| } |
| |
| func (x *Link) GetUrl() string { |
| if x != nil { |
| return x.Url |
| } |
| return "" |
| } |
| |
| func (x *Link) GetAlt() string { |
| if x != nil { |
| return x.Alt |
| } |
| return "" |
| } |
| |
| // Oncall contains information about who is currently scheduled as the |
| // oncall (Sheriff, trooper, etc) for certain rotations. |
| type Oncall struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // 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"` |
| // ShowPrimarySecondaryLabels specifies whether the oncaller names |
| // should have "(primary)" and "(secondary)" appended to them if there |
| // are more than one. |
| ShowPrimarySecondaryLabels bool `protobuf:"varint,3,opt,name=show_primary_secondary_labels,json=showPrimarySecondaryLabels,proto3" json:"show_primary_secondary_labels,omitempty"` |
| } |
| |
| func (x *Oncall) Reset() { |
| *x = Oncall{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Oncall) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Oncall) ProtoMessage() {} |
| |
| func (x *Oncall) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_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 Oncall.ProtoReflect.Descriptor instead. |
| func (*Oncall) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_milo_api_config_project_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *Oncall) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *Oncall) GetUrl() string { |
| if x != nil { |
| return x.Url |
| } |
| return "" |
| } |
| |
| func (x *Oncall) GetShowPrimarySecondaryLabels() bool { |
| if x != nil { |
| return x.ShowPrimarySecondaryLabels |
| } |
| return false |
| } |
| |
| // LinkGroup is a list of links, optionally given a name. |
| type LinkGroup struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // 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"` |
| } |
| |
| func (x *LinkGroup) Reset() { |
| *x = LinkGroup{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *LinkGroup) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*LinkGroup) ProtoMessage() {} |
| |
| func (x *LinkGroup) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[3] |
| 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 LinkGroup.ProtoReflect.Descriptor instead. |
| func (*LinkGroup) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_milo_api_config_project_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *LinkGroup) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *LinkGroup) GetLinks() []*Link { |
| if x != nil { |
| return x.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 { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // 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"` |
| } |
| |
| func (x *ConsoleSummaryGroup) Reset() { |
| *x = ConsoleSummaryGroup{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ConsoleSummaryGroup) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ConsoleSummaryGroup) ProtoMessage() {} |
| |
| func (x *ConsoleSummaryGroup) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[4] |
| 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 ConsoleSummaryGroup.ProtoReflect.Descriptor instead. |
| func (*ConsoleSummaryGroup) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_milo_api_config_project_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *ConsoleSummaryGroup) GetTitle() *Link { |
| if x != nil { |
| return x.Title |
| } |
| return nil |
| } |
| |
| func (x *ConsoleSummaryGroup) GetConsoleIds() []string { |
| if x != nil { |
| return x.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 { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // 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"` |
| } |
| |
| func (x *Header) Reset() { |
| *x = Header{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Header) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Header) ProtoMessage() {} |
| |
| func (x *Header) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[5] |
| 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 Header.ProtoReflect.Descriptor instead. |
| func (*Header) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_milo_api_config_project_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *Header) GetOncalls() []*Oncall { |
| if x != nil { |
| return x.Oncalls |
| } |
| return nil |
| } |
| |
| func (x *Header) GetLinks() []*LinkGroup { |
| if x != nil { |
| return x.Links |
| } |
| return nil |
| } |
| |
| func (x *Header) GetConsoleGroups() []*ConsoleSummaryGroup { |
| if x != nil { |
| return x.ConsoleGroups |
| } |
| return nil |
| } |
| |
| func (x *Header) GetTreeStatusHost() string { |
| if x != nil { |
| return x.TreeStatusHost |
| } |
| return "" |
| } |
| |
| func (x *Header) GetId() string { |
| if x != nil { |
| return x.Id |
| } |
| return "" |
| } |
| |
| // Console is a waterfall definition consisting of one or more builders. |
| type Console struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Id is the reference to the console. The console will be visible at the |
| // following URL: /p/<Project>/g/<ID>/console. |
| 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/main, 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 main branch, from which these release |
| // branches are branched off: |
| // ref: "regexp:refs/branch-heads/\d+\.\d+" |
| // exlude_ref: "refs/heads/main" |
| 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"` |
| // If set, will change the default number of commits to query on a single page. |
| // If not set, will default to 50. |
| DefaultCommitLimit int32 `protobuf:"varint,15,opt,name=default_commit_limit,json=defaultCommitLimit,proto3" json:"default_commit_limit,omitempty"` |
| // If set, will default the console page to expanded view. |
| // If not set, will default to collapsed view. |
| DefaultExpand bool `protobuf:"varint,16,opt,name=default_expand,json=defaultExpand,proto3" json:"default_expand,omitempty"` |
| // ExternalProject indicates that this is not a new console, but an external |
| // one that should be included from the specified project. |
| // If this is set, ExternalId must also be set, and no other fields must be |
| // set except for Id and Name. |
| ExternalProject string `protobuf:"bytes,17,opt,name=external_project,json=externalProject,proto3" json:"external_project,omitempty"` |
| // ExternalId indicates that this is not a new console, but an external one |
| // with the specified ID that should be included from ExternalProject. |
| // If this is set, ExternalProject must also be set, and no other fields must |
| // be set except for Id and Name. |
| ExternalId string `protobuf:"bytes,18,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` |
| // Realm that the console exists under. |
| // See https://chromium.googlesource.com/infra/luci/luci-py/+/HEAD/appengine/auth_service/proto/realms_config.proto |
| Realm string `protobuf:"bytes,19,opt,name=realm,proto3" json:"realm,omitempty"` |
| } |
| |
| func (x *Console) Reset() { |
| *x = Console{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Console) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Console) ProtoMessage() {} |
| |
| func (x *Console) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[6] |
| 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 Console.ProtoReflect.Descriptor instead. |
| func (*Console) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_milo_api_config_project_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *Console) GetId() string { |
| if x != nil { |
| return x.Id |
| } |
| return "" |
| } |
| |
| func (x *Console) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *Console) GetRepoUrl() string { |
| if x != nil { |
| return x.RepoUrl |
| } |
| return "" |
| } |
| |
| func (x *Console) GetRefs() []string { |
| if x != nil { |
| return x.Refs |
| } |
| return nil |
| } |
| |
| func (x *Console) GetExcludeRef() string { |
| if x != nil { |
| return x.ExcludeRef |
| } |
| return "" |
| } |
| |
| func (x *Console) GetManifestName() string { |
| if x != nil { |
| return x.ManifestName |
| } |
| return "" |
| } |
| |
| func (x *Console) GetBuilders() []*Builder { |
| if x != nil { |
| return x.Builders |
| } |
| return nil |
| } |
| |
| func (x *Console) GetFaviconUrl() string { |
| if x != nil { |
| return x.FaviconUrl |
| } |
| return "" |
| } |
| |
| func (x *Console) GetHeader() *Header { |
| if x != nil { |
| return x.Header |
| } |
| return nil |
| } |
| |
| func (x *Console) GetHeaderId() string { |
| if x != nil { |
| return x.HeaderId |
| } |
| return "" |
| } |
| |
| func (x *Console) GetIncludeExperimentalBuilds() bool { |
| if x != nil { |
| return x.IncludeExperimentalBuilds |
| } |
| return false |
| } |
| |
| func (x *Console) GetBuilderViewOnly() bool { |
| if x != nil { |
| return x.BuilderViewOnly |
| } |
| return false |
| } |
| |
| func (x *Console) GetDefaultCommitLimit() int32 { |
| if x != nil { |
| return x.DefaultCommitLimit |
| } |
| return 0 |
| } |
| |
| func (x *Console) GetDefaultExpand() bool { |
| if x != nil { |
| return x.DefaultExpand |
| } |
| return false |
| } |
| |
| func (x *Console) GetExternalProject() string { |
| if x != nil { |
| return x.ExternalProject |
| } |
| return "" |
| } |
| |
| func (x *Console) GetExternalId() string { |
| if x != nil { |
| return x.ExternalId |
| } |
| return "" |
| } |
| |
| func (x *Console) GetRealm() string { |
| if x != nil { |
| return x.Realm |
| } |
| return "" |
| } |
| |
| // Builder is a reference to a Milo builder. |
| type Builder struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Name is the BuilderID of the builders you wish to display for this column |
| // in the console. e.g. |
| // * "buildbucket/luci.chromium.try/linux_chromium_rel_ng" |
| Name string `protobuf:"bytes,1,opt,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. |
| // In expanded view, each leaf category OR builder under a non-leaf category |
| // will have it's own column. The recommendation for maximum densification |
| // is not to mix subcategories and builders for children of each category. |
| Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` |
| // ShortName is shorter name of the builder. |
| // The recommendation is to keep this name as short as reasonable, |
| // as longer names take up more horizontal space. |
| ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` |
| } |
| |
| func (x *Builder) Reset() { |
| *x = Builder{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Builder) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Builder) ProtoMessage() {} |
| |
| func (x *Builder) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[7] |
| 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 Builder.ProtoReflect.Descriptor instead. |
| func (*Builder) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_milo_api_config_project_proto_rawDescGZIP(), []int{7} |
| } |
| |
| func (x *Builder) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *Builder) GetCategory() string { |
| if x != nil { |
| return x.Category |
| } |
| return "" |
| } |
| |
| func (x *Builder) GetShortName() string { |
| if x != nil { |
| return x.ShortName |
| } |
| return "" |
| } |
| |
| var File_go_chromium_org_luci_milo_api_config_project_proto protoreflect.FileDescriptor |
| |
| var file_go_chromium_org_luci_milo_api_config_project_proto_rawDesc = []byte{ |
| 0x0a, 0x32, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, |
| 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6d, 0x69, 0x6c, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x6d, 0x69, 0x6c, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x2e, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, |
| 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x70, |
| 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x01, 0x0a, 0x07, |
| 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x29, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x6f, |
| 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6d, 0x69, 0x6c, 0x6f, |
| 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, |
| 0x65, 0x73, 0x12, 0x26, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, |
| 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x69, 0x6c, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, |
| 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, |
| 0x67, 0x6f, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, |
| 0x67, 0x6f, 0x55, 0x72, 0x6c, 0x12, 0x2e, 0x0a, 0x13, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, |
| 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, |
| 0x28, 0x09, 0x52, 0x11, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, |
| 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x75, 0x67, 0x5f, 0x75, 0x72, 0x6c, |
| 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x0e, 0x62, 0x75, 0x67, 0x55, 0x72, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4a, |
| 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, |
| 0x07, 0x22, 0x3e, 0x0a, 0x04, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, |
| 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x10, 0x0a, |
| 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, |
| 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x6c, |
| 0x74, 0x22, 0x71, 0x0a, 0x06, 0x4f, 0x6e, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, |
| 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, |
| 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, |
| 0x6c, 0x12, 0x41, 0x0a, 0x1d, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, |
| 0x79, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6c, 0x61, 0x62, 0x65, |
| 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x73, 0x68, 0x6f, 0x77, 0x50, 0x72, |
| 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4c, 0x61, |
| 0x62, 0x65, 0x6c, 0x73, 0x22, 0x41, 0x0a, 0x09, 0x4c, 0x69, 0x6e, 0x6b, 0x47, 0x72, 0x6f, 0x75, |
| 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x02, |
| 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x6d, 0x69, 0x6c, 0x6f, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, |
| 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x22, 0x58, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x73, 0x6f, |
| 0x6c, 0x65, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, |
| 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, |
| 0x6d, 0x69, 0x6c, 0x6f, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, |
| 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, |
| 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x49, 0x64, |
| 0x73, 0x22, 0xd3, 0x01, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x07, |
| 0x6f, 0x6e, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, |
| 0x6d, 0x69, 0x6c, 0x6f, 0x2e, 0x4f, 0x6e, 0x63, 0x61, 0x6c, 0x6c, 0x52, 0x07, 0x6f, 0x6e, 0x63, |
| 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x25, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x02, 0x20, |
| 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6d, 0x69, 0x6c, 0x6f, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x47, |
| 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x40, 0x0a, 0x0e, 0x63, |
| 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, |
| 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x69, 0x6c, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x6f, |
| 0x6c, 0x65, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, |
| 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x28, 0x0a, |
| 0x10, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x68, 0x6f, 0x73, |
| 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x72, 0x65, 0x65, 0x53, 0x74, 0x61, |
| 0x74, 0x75, 0x73, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, |
| 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xe9, 0x04, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x73, |
| 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x5f, |
| 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x55, |
| 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x66, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, |
| 0x52, 0x04, 0x72, 0x65, 0x66, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, |
| 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x63, |
| 0x6c, 0x75, 0x64, 0x65, 0x52, 0x65, 0x66, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, |
| 0x65, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, |
| 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x08, |
| 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, |
| 0x2e, 0x6d, 0x69, 0x6c, 0x6f, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x08, 0x62, |
| 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x61, 0x76, 0x69, 0x63, |
| 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x61, |
| 0x76, 0x69, 0x63, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x24, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, |
| 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x69, 0x6c, 0x6f, 0x2e, |
| 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, |
| 0x0a, 0x09, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, |
| 0x09, 0x52, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x1b, 0x69, |
| 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, |
| 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, |
| 0x52, 0x19, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, |
| 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x62, |
| 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, |
| 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x56, |
| 0x69, 0x65, 0x77, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x61, 0x75, |
| 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, |
| 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, |
| 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66, |
| 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, |
| 0x08, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, |
| 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, |
| 0x6a, 0x65, 0x63, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x65, |
| 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, |
| 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, |
| 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, |
| 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x65, 0x61, |
| 0x6c, 0x6d, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x03, |
| 0x72, 0x65, 0x66, 0x22, 0x58, 0x0a, 0x07, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x12, |
| 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 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, 0x1d, |
| 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, |
| 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x6a, 0x5a, |
| 0x24, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, |
| 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6d, 0x69, 0x6c, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, |
| 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xa2, 0xfe, 0x23, 0x40, 0x0a, 0x3e, 0x68, 0x74, 0x74, 0x70, 0x73, |
| 0x3a, 0x2f, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, |
| 0x70, 0x70, 0x73, 0x70, 0x6f, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, |
| 0x61, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x3a, 0x6c, 0x75, 0x63, 0x69, |
| 0x2d, 0x6d, 0x69, 0x6c, 0x6f, 0x2e, 0x63, 0x66, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 0x33, |
| } |
| |
| var ( |
| file_go_chromium_org_luci_milo_api_config_project_proto_rawDescOnce sync.Once |
| file_go_chromium_org_luci_milo_api_config_project_proto_rawDescData = file_go_chromium_org_luci_milo_api_config_project_proto_rawDesc |
| ) |
| |
| func file_go_chromium_org_luci_milo_api_config_project_proto_rawDescGZIP() []byte { |
| file_go_chromium_org_luci_milo_api_config_project_proto_rawDescOnce.Do(func() { |
| file_go_chromium_org_luci_milo_api_config_project_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_milo_api_config_project_proto_rawDescData) |
| }) |
| return file_go_chromium_org_luci_milo_api_config_project_proto_rawDescData |
| } |
| |
| var file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| var file_go_chromium_org_luci_milo_api_config_project_proto_goTypes = []interface{}{ |
| (*Project)(nil), // 0: milo.Project |
| (*Link)(nil), // 1: milo.Link |
| (*Oncall)(nil), // 2: milo.Oncall |
| (*LinkGroup)(nil), // 3: milo.LinkGroup |
| (*ConsoleSummaryGroup)(nil), // 4: milo.ConsoleSummaryGroup |
| (*Header)(nil), // 5: milo.Header |
| (*Console)(nil), // 6: milo.Console |
| (*Builder)(nil), // 7: milo.Builder |
| } |
| var file_go_chromium_org_luci_milo_api_config_project_proto_depIdxs = []int32{ |
| 6, // 0: milo.Project.consoles:type_name -> milo.Console |
| 5, // 1: milo.Project.headers:type_name -> milo.Header |
| 1, // 2: milo.LinkGroup.links:type_name -> milo.Link |
| 1, // 3: milo.ConsoleSummaryGroup.title:type_name -> milo.Link |
| 2, // 4: milo.Header.oncalls:type_name -> milo.Oncall |
| 3, // 5: milo.Header.links:type_name -> milo.LinkGroup |
| 4, // 6: milo.Header.console_groups:type_name -> milo.ConsoleSummaryGroup |
| 7, // 7: milo.Console.builders:type_name -> milo.Builder |
| 5, // 8: milo.Console.header:type_name -> milo.Header |
| 9, // [9:9] is the sub-list for method output_type |
| 9, // [9:9] is the sub-list for method input_type |
| 9, // [9:9] is the sub-list for extension type_name |
| 9, // [9:9] is the sub-list for extension extendee |
| 0, // [0:9] is the sub-list for field type_name |
| } |
| |
| func init() { file_go_chromium_org_luci_milo_api_config_project_proto_init() } |
| func file_go_chromium_org_luci_milo_api_config_project_proto_init() { |
| if File_go_chromium_org_luci_milo_api_config_project_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Project); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Link); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Oncall); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*LinkGroup); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ConsoleSummaryGroup); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Header); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Console); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Builder); 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_go_chromium_org_luci_milo_api_config_project_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 8, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_go_chromium_org_luci_milo_api_config_project_proto_goTypes, |
| DependencyIndexes: file_go_chromium_org_luci_milo_api_config_project_proto_depIdxs, |
| MessageInfos: file_go_chromium_org_luci_milo_api_config_project_proto_msgTypes, |
| }.Build() |
| File_go_chromium_org_luci_milo_api_config_project_proto = out.File |
| file_go_chromium_org_luci_milo_api_config_project_proto_rawDesc = nil |
| file_go_chromium_org_luci_milo_api_config_project_proto_goTypes = nil |
| file_go_chromium_org_luci_milo_api_config_project_proto_depIdxs = nil |
| } |