blob: 74b31a230846a468e578323541d9faa73764d168 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source:
package svcconfig
import (
fmt "fmt"
proto ""
duration ""
_ ""
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
// ProjectConfig is a set of per-project configuration parameters. Each
// luci-config project must include one of these configs in order to register
// or view log streams in that project's log stream space.
// A project's configuration should reside in the "projects/<project>" config
// set and be named "<app-id>.cfg".
// Many of the parameters here can be bounded by GlobalConfig parameters.
type ProjectConfig struct {
// The set of auth service groups that are permitted READ access to this
// project's log streams.
ReaderAuthGroups []string `protobuf:"bytes,2,rep,name=reader_auth_groups,json=readerAuthGroups,proto3" json:"reader_auth_groups,omitempty"`
// The set of chrome-infra-auth groups that are permitted WRITE access to this
// project's log streams.
WriterAuthGroups []string `protobuf:"bytes,3,rep,name=writer_auth_groups,json=writerAuthGroups,proto3" json:"writer_auth_groups,omitempty"`
// The maximum lifetime of a log stream.
// If a stream has not terminated after this period of time, it will be
// forcefully archived, and additional stream data will be discarded.
// This is upper-bounded by the global "archive_delay_max" parameter.
MaxStreamAge *duration.Duration `protobuf:"bytes,4,opt,name=max_stream_age,json=maxStreamAge,proto3" json:"max_stream_age,omitempty"`
// The maximum amount of time after a prefix has been registered when log
// streams may also be registered under that prefix.
// See Config's "prefix_expiration" for more information.
PrefixExpiration *duration.Duration `protobuf:"bytes,5,opt,name=prefix_expiration,json=prefixExpiration,proto3" json:"prefix_expiration,omitempty"`
// The archival Google Storage bucket name.
// Log streams artifacts will be stored in a subdirectory of this bucket:
// gs://<archive_gs_bucket>/<app-id>/<project-name>/<log-path>/artifact...
// Note that the Archivist microservice must have WRITE access to this
// bucket, and the Coordinator must have READ access.
// If this is not set, the logs will be archived in a project-named
// subdirectory in the global "archive_gs_base" location.
ArchiveGsBucket string `protobuf:"bytes,10,opt,name=archive_gs_bucket,json=archiveGsBucket,proto3" json:"archive_gs_bucket,omitempty"`
// Project-specific archive index configuration.
// Any unspecified index configuration will default to the service archival
// config.
ArchiveIndexConfig *ArchiveIndexConfig `protobuf:"bytes,12,opt,name=archive_index_config,json=archiveIndexConfig,proto3" json:"archive_index_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
func (m *ProjectConfig) Reset() { *m = ProjectConfig{} }
func (m *ProjectConfig) String() string { return proto.CompactTextString(m) }
func (*ProjectConfig) ProtoMessage() {}
func (*ProjectConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_4b481a5cd36b270f, []int{0}
func (m *ProjectConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProjectConfig.Unmarshal(m, b)
func (m *ProjectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProjectConfig.Marshal(b, m, deterministic)
func (m *ProjectConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProjectConfig.Merge(m, src)
func (m *ProjectConfig) XXX_Size() int {
return xxx_messageInfo_ProjectConfig.Size(m)
func (m *ProjectConfig) XXX_DiscardUnknown() {
var xxx_messageInfo_ProjectConfig proto.InternalMessageInfo
func (m *ProjectConfig) GetReaderAuthGroups() []string {
if m != nil {
return m.ReaderAuthGroups
return nil
func (m *ProjectConfig) GetWriterAuthGroups() []string {
if m != nil {
return m.WriterAuthGroups
return nil
func (m *ProjectConfig) GetMaxStreamAge() *duration.Duration {
if m != nil {
return m.MaxStreamAge
return nil
func (m *ProjectConfig) GetPrefixExpiration() *duration.Duration {
if m != nil {
return m.PrefixExpiration
return nil
func (m *ProjectConfig) GetArchiveGsBucket() string {
if m != nil {
return m.ArchiveGsBucket
return ""
func (m *ProjectConfig) GetArchiveIndexConfig() *ArchiveIndexConfig {
if m != nil {
return m.ArchiveIndexConfig
return nil
func init() {
proto.RegisterType((*ProjectConfig)(nil), "svcconfig.ProjectConfig")
func init() {
proto.RegisterFile("", fileDescriptor_4b481a5cd36b270f)
var fileDescriptor_4b481a5cd36b270f = []byte{
// 395 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xcf, 0xaa, 0x13, 0x31,
0x14, 0xc6, 0xb9, 0xf6, 0x2a, 0x36, 0xb7, 0x6a, 0x6f, 0x70, 0x31, 0x5e, 0x50, 0x8a, 0x6e, 0x8a,
0x68, 0x02, 0xba, 0xeb, 0xc2, 0xda, 0xaa, 0x2d, 0xba, 0x51, 0xc6, 0x07, 0x08, 0x69, 0x26, 0x93,
0x89, 0x4e, 0xe6, 0x84, 0xfc, 0xa9, 0xf3, 0x0e, 0xbe, 0x85, 0x0f, 0x2a, 0xd2, 0x64, 0x5a, 0x44,
0x05, 0xb9, 0xbb, 0xe1, 0x7c, 0xbf, 0xef, 0x24, 0xfc, 0x32, 0xe8, 0x95, 0x02, 0x22, 0x1a, 0x07,
0x46, 0x47, 0x43, 0xc0, 0x29, 0xda, 0x46, 0xa1, 0x69, 0x0b, 0xaa, 0x02, 0x45, 0xb9, 0xd5, 0x54,
0x40, 0x57, 0x6b, 0x45, 0xfd, 0x5e, 0x0c, 0x5f, 0xd6, 0xc1, 0x17, 0x29, 0x02, 0xb1, 0x0e, 0x02,
0xe0, 0xf1, 0x29, 0xb8, 0x7a, 0xa4, 0x00, 0x54, 0x2b, 0x69, 0x0a, 0x76, 0xb1, 0xa6, 0x55, 0x74,
0x3c, 0x68, 0xe8, 0x32, 0x7a, 0x45, 0xff, 0x79, 0x94, 0x00, 0x63, 0xa0, 0xcb, 0x25, 0x0a, 0xf6,
0xc0, 0xfb, 0xa1, 0xb0, 0xbc, 0xf6, 0xdd, 0xb8, 0x13, 0x8d, 0xde, 0xf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