| OLD | NEW |
| 1 // Code generated by protoc-gen-go. | 1 // Code generated by protoc-gen-go. |
| 2 // source: config.proto | 2 // source: config.proto |
| 3 // DO NOT EDIT! | 3 // DO NOT EDIT! |
| 4 | 4 |
| 5 /* | 5 /* |
| 6 Package svcconfig is a generated protocol buffer package. | 6 Package svcconfig is a generated protocol buffer package. |
| 7 | 7 |
| 8 It is generated from these files: | 8 It is generated from these files: |
| 9 config.proto | 9 config.proto |
| 10 storage.proto | 10 storage.proto |
| 11 transport.proto | 11 transport.proto |
| 12 | 12 |
| 13 It has these top-level messages: | 13 It has these top-level messages: |
| 14 Config | 14 Config |
| 15 Coordinator | 15 Coordinator |
| 16 Collector | 16 Collector |
| 17 Storage | 17 Storage |
| 18 Transport | 18 Transport |
| 19 */ | 19 */ |
| 20 package svcconfig | 20 package svcconfig |
| 21 | 21 |
| 22 import proto "github.com/golang/protobuf/proto" | 22 import proto "github.com/golang/protobuf/proto" |
| 23 import fmt "fmt" | 23 import fmt "fmt" |
| 24 import math "math" | 24 import math "math" |
| 25 import google_protobuf "github.com/luci/luci-go/common/proto/google" |
| 25 | 26 |
| 26 // Reference imports to suppress errors if they are not otherwise used. | 27 // Reference imports to suppress errors if they are not otherwise used. |
| 27 var _ = proto.Marshal | 28 var _ = proto.Marshal |
| 28 var _ = fmt.Errorf | 29 var _ = fmt.Errorf |
| 29 var _ = math.Inf | 30 var _ = math.Inf |
| 30 | 31 |
| 31 // Config is the overall instance configuration. | 32 // Config is the overall instance configuration. |
| 32 type Config struct { | 33 type Config struct { |
| 33 // Configuration for the Pub/Sub instances. | 34 // Configuration for the Pub/Sub instances. |
| 34 Transport *Transport `protobuf:"bytes,10,opt,name=transport" json:"trans
port,omitempty"` | 35 Transport *Transport `protobuf:"bytes,10,opt,name=transport" json:"trans
port,omitempty"` |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 func (m *Coordinator) String() string { return proto.CompactTextStrin
g(m) } | 91 func (m *Coordinator) String() string { return proto.CompactTextStrin
g(m) } |
| 91 func (*Coordinator) ProtoMessage() {} | 92 func (*Coordinator) ProtoMessage() {} |
| 92 func (*Coordinator) Descriptor() ([]byte, []int) { return fileDescriptor0, []int
{1} } | 93 func (*Coordinator) Descriptor() ([]byte, []int) { return fileDescriptor0, []int
{1} } |
| 93 | 94 |
| 94 // Collector is the set of configuration parameters for Collector instances. | 95 // Collector is the set of configuration parameters for Collector instances. |
| 95 type Collector struct { | 96 type Collector struct { |
| 96 // Workers is the number of ingest workers to run. | 97 // Workers is the number of ingest workers to run. |
| 97 Workers int32 `protobuf:"varint,1,opt,name=workers" json:"workers,omitem
pty"` | 98 Workers int32 `protobuf:"varint,1,opt,name=workers" json:"workers,omitem
pty"` |
| 98 // The number of transport worker goroutines to run. | 99 // The number of transport worker goroutines to run. |
| 99 TransportWorkers int32 `protobuf:"varint,2,opt,name=transport_workers" j
son:"transport_workers,omitempty"` | 100 TransportWorkers int32 `protobuf:"varint,2,opt,name=transport_workers" j
son:"transport_workers,omitempty"` |
| 101 // The maximum number of log stream states to cache locally. If <= 0, a |
| 102 // default will be used. |
| 103 StateCacheSize int32 `protobuf:"varint,3,opt,name=state_cache_size" json
:"state_cache_size,omitempty"` |
| 104 // The maximum amount of time that cached stream state is valid. If <= 0
, a |
| 105 // default will be used. |
| 106 StateCacheExpiration *google_protobuf.Duration `protobuf:"bytes,4,opt,na
me=state_cache_expiration" json:"state_cache_expiration,omitempty"` |
| 100 } | 107 } |
| 101 | 108 |
| 102 func (m *Collector) Reset() { *m = Collector{} } | 109 func (m *Collector) Reset() { *m = Collector{} } |
| 103 func (m *Collector) String() string { return proto.CompactTextString(
m) } | 110 func (m *Collector) String() string { return proto.CompactTextString(
m) } |
| 104 func (*Collector) ProtoMessage() {} | 111 func (*Collector) ProtoMessage() {} |
| 105 func (*Collector) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2
} } | 112 func (*Collector) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2
} } |
| 106 | 113 |
| 114 func (m *Collector) GetStateCacheExpiration() *google_protobuf.Duration { |
| 115 if m != nil { |
| 116 return m.StateCacheExpiration |
| 117 } |
| 118 return nil |
| 119 } |
| 120 |
| 107 func init() { | 121 func init() { |
| 108 proto.RegisterType((*Config)(nil), "svcconfig.Config") | 122 proto.RegisterType((*Config)(nil), "svcconfig.Config") |
| 109 proto.RegisterType((*Coordinator)(nil), "svcconfig.Coordinator") | 123 proto.RegisterType((*Coordinator)(nil), "svcconfig.Coordinator") |
| 110 proto.RegisterType((*Collector)(nil), "svcconfig.Collector") | 124 proto.RegisterType((*Collector)(nil), "svcconfig.Collector") |
| 111 } | 125 } |
| 112 | 126 |
| 113 var fileDescriptor0 = []byte{ | 127 var fileDescriptor0 = []byte{ |
| 114 » // 257 bytes of a gzipped FileDescriptorProto | 128 » // 321 bytes of a gzipped FileDescriptorProto |
| 115 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x90,
0xc1, 0x4e, 0xc3, 0x30, | 129 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x91,
0x4f, 0x4e, 0xf3, 0x30, |
| 116 » 0x0c, 0x86, 0x55, 0x10, 0x9b, 0xe2, 0x82, 0x06, 0xd1, 0x40, 0xa5, 0x27,
0x54, 0x0e, 0x4c, 0x42, | 130 » 0x10, 0xc5, 0x95, 0xaf, 0x1f, 0xad, 0x32, 0x01, 0x15, 0xac, 0x52, 0xb9,
0x5d, 0x20, 0x54, 0x16, |
| 117 » 0xea, 0x01, 0x0e, 0x3c, 0x40, 0x1f, 0x01, 0xee, 0x51, 0xc8, 0x42, 0x09,
0x94, 0xb8, 0x72, 0xb2, | 131 » 0x54, 0x42, 0x4a, 0x25, 0x58, 0xb1, 0x2e, 0x37, 0x80, 0xbd, 0xe5, 0xba,
0x6e, 0x6a, 0x08, 0x99, |
| 118 » 0xed, 0xa5, 0x78, 0x48, 0x92, 0x94, 0x96, 0x4a, 0x1c, 0xe3, 0xef, 0xb3,
0xff, 0xd8, 0x70, 0xaa, | 132 » 0x68, 0xec, 0xb4, 0x88, 0x33, 0x70, 0x14, 0x0e, 0x49, 0xe2, 0xfc, 0x21,
0x12, 0x4b, 0xcf, 0xef, |
| 119 » 0xd0, 0xbe, 0x99, 0xb6, 0xee, 0x09, 0x3d, 0x72, 0xe6, 0xf6, 0x6a, 0x28,
0x94, 0x2b, 0x4f, 0xd2, | 133 » 0xcd, 0xbc, 0x19, 0x3f, 0x38, 0x55, 0x98, 0xed, 0x4c, 0x12, 0xe7, 0x84,
0x0e, 0x59, 0x68, 0x0f, |
| 120 » 0xba, 0x1e, 0xc9, 0x0f, 0xac, 0x3c, 0x73, 0x1e, 0x49, 0xb6, 0x7a, 0x78,
0x56, 0xdf, 0x19, 0x2c, | 134 » 0xaa, 0x2e, 0xcc, 0xc7, 0x8e, 0x64, 0x66, 0x73, 0x24, 0x57, 0xb3, 0xf9,
0x99, 0x75, 0x48, 0x32, |
| 121 » 0x9a, 0xa4, 0xf2, 0x3b, 0x60, 0x93, 0x5c, 0xc0, 0x4d, 0xb6, 0xc9, 0x1f,
0xd6, 0xf5, 0x34, 0xa9, | 135 » 0xd1, 0xcd, 0xf3, 0x2a, 0x41, 0x4c, 0x52, 0xbd, 0xf2, 0xaf, 0x4d, 0xb1,
0x5b, 0x6d, 0x0b, 0x92, |
| 122 » 0x7e, 0x19, 0x19, 0xbf, 0x85, 0xe5, 0xef, 0x90, 0x22, 0x4f, 0x1a, 0x9f,
0x69, 0xcf, 0x03, 0xe1, | 136 » 0xce, 0x60, 0x56, 0xf3, 0xc5, 0x77, 0x00, 0xc3, 0xb5, 0x1f, 0xc5, 0x6e,
0x21, 0xec, 0x86, 0x71, |
| 123 » 0xf7, 0x90, 0x2b, 0x44, 0xda, 0x1a, 0x2b, 0x43, 0xa5, 0x58, 0x27, 0xf1,
0x6a, 0x26, 0x36, 0x7f, | 137 » 0xb8, 0x0e, 0x96, 0xd1, 0xfd, 0x24, 0xee, 0x9c, 0xe2, 0x97, 0x96, 0xb1,
0x1b, 0x18, 0x35, 0x26, |
| 124 » 0x34, 0x46, 0x2b, 0xec, 0x3a, 0xad, 0xa2, 0x7a, 0xf9, 0x2f, 0xba, 0x19,
0x59, 0x85, 0x90, 0xcf, | 138 » 0x3c, 0xf2, 0x32, 0xd6, 0x93, 0x3d, 0xd7, 0x84, 0xdd, 0x41, 0xa4, 0x10,
0x69, 0x6b, 0x32, 0x59, |
| 125 » 0xfb, 0x56, 0xb0, 0x0c, 0x6b, 0x7c, 0x04, 0x56, 0x64, 0xa1, 0x8b, 0xf1,
0x02, 0xce, 0xe5, 0xf6, | 139 » 0x56, 0xf8, 0xc4, 0x0b, 0xa7, 0x3d, 0xe1, 0xfa, 0x97, 0x56, 0xd6, 0x0a,
0xd3, 0x54, 0xab, 0x4a, |
| 126 » 0xcb, 0x58, 0x21, 0x77, 0xfe, 0x5d, 0xb4, 0x84, 0xbb, 0x3e, 0xad, 0xc2,
0x78, 0x09, 0xdc, 0x69, | 140 » 0x7a, 0xf9, 0xc7, 0x7a, 0xdd, 0xb2, 0x05, 0x42, 0xd4, 0xef, 0x1b, 0xc3,
0xa8, 0x3c, 0xe3, 0xb5, |
| 127 » 0xda, 0x1b, 0xa5, 0xe7, 0x2c, 0x4f, 0xec, 0x1a, 0x2e, 0xa8, 0x57, 0x42,
0x76, 0x1d, 0x1e, 0x04, | 141 » 0x64, 0x3c, 0x28, 0xbb, 0x42, 0xc6, 0xe1, 0x5c, 0x6e, 0xdf, 0x4d, 0x26,
0x64, 0xe1, 0xf6, 0x22, |
| 128 » 0x92, 0x69, 0x8d, 0x75, 0xe1, 0xc7, 0xc7, 0x1b, 0x56, 0x3d, 0x01, 0x9b,
0xd2, 0x63, 0xdc, 0x01, | 142 » 0x21, 0x2c, 0x72, 0x7f, 0x4a, 0xc8, 0xe6, 0xc0, 0xac, 0xa6, 0x83, 0x51,
0xba, 0xcf, 0x22, 0xcf, |
| 129 » 0xe9, 0x53, 0x93, 0x4b, 0x71, 0x27, 0xb1, 0x71, 0x3a, 0x99, 0x18, 0xd1,
0x51, 0x44, 0xaf, 0x8b, | 143 » 0x66, 0x70, 0x41, 0xb9, 0x12, 0x32, 0x4d, 0xf1, 0x28, 0x90, 0x4c, 0x62,
0x32, 0x5b, 0x6e, 0x3c, |
| 130 » 0x74, 0xdf, 0xc7, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x1a, 0xc1,
0x0d, 0x9a, 0x01, 0x00, | 144 » 0x58, 0x86, 0x8b, 0xaf, 0x00, 0xc2, 0xce, 0xbe, 0xf2, 0x3b, 0x22, 0xbd,
0x69, 0xb2, 0xde, 0xef, |
| 145 » 0xa4, 0xea, 0xec, 0xfe, 0x4c, 0xb4, 0xe8, 0x9f, 0x47, 0xe5, 0x2a, 0xd6,
0x49, 0xa7, 0x85, 0x92, |
| 146 » 0x6a, 0xaf, 0x85, 0x35, 0x9f, 0x9a, 0x0f, 0x3c, 0x79, 0x84, 0x69, 0x9f,
0xe8, 0x8f, 0xdc, 0xd4, |
| 147 » 0x99, 0xf0, 0xff, 0xfe, 0xf4, 0x59, 0x5c, 0x87, 0x16, 0xb7, 0xa1, 0xc5,
0x4f, 0x4d, 0x68, 0x9b, |
| 148 » 0xa1, 0x2f, 0x3d, 0xfc, 0x04, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xb2, 0x92,
0x05, 0x10, 0x02, 0x00, |
| 131 0x00, | 149 0x00, |
| 132 } | 150 } |
| OLD | NEW |