Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(811)

Side by Side Diff: common/proto/logdog/svcconfig/config.pb.go

Issue 1610993002: LogDog: Add collector service implementation. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Reorganized, cleaned up, comments, and updated for pRPC. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 func (m *Coordinator) String() string { return proto.CompactTextStrin g(m) } 89 func (m *Coordinator) String() string { return proto.CompactTextStrin g(m) }
89 func (*Coordinator) ProtoMessage() {} 90 func (*Coordinator) ProtoMessage() {}
90 func (*Coordinator) Descriptor() ([]byte, []int) { return fileDescriptor0, []int {1} } 91 func (*Coordinator) Descriptor() ([]byte, []int) { return fileDescriptor0, []int {1} }
91 92
92 // Collector is the set of configuration parameters for Collector instances. 93 // Collector is the set of configuration parameters for Collector instances.
93 type Collector struct { 94 type Collector struct {
94 // Workers is the number of ingest workers to run. 95 // Workers is the number of ingest workers to run.
95 Workers int32 `protobuf:"varint,1,opt,name=workers" json:"workers,omitem pty"` 96 Workers int32 `protobuf:"varint,1,opt,name=workers" json:"workers,omitem pty"`
96 // The number of transport worker goroutines to run. 97 // The number of transport worker goroutines to run.
97 TransportWorkers int32 `protobuf:"varint,2,opt,name=transport_workers" j son:"transport_workers,omitempty"` 98 TransportWorkers int32 `protobuf:"varint,2,opt,name=transport_workers" j son:"transport_workers,omitempty"`
99 // The maximum number of log stream states to cache locally. If <= 0, a
100 // default will be used.
101 StateCacheSize int32 `protobuf:"varint,3,opt,name=state_cache_size" json :"state_cache_size,omitempty"`
102 // The maximum amount of time that cached stream state is valid. If <= 0 , a
103 // default will be used.
104 StateCacheExpiration *google_protobuf.Duration `protobuf:"bytes,4,opt,na me=state_cache_expiration" json:"state_cache_expiration,omitempty"`
98 } 105 }
99 106
100 func (m *Collector) Reset() { *m = Collector{} } 107 func (m *Collector) Reset() { *m = Collector{} }
101 func (m *Collector) String() string { return proto.CompactTextString( m) } 108 func (m *Collector) String() string { return proto.CompactTextString( m) }
102 func (*Collector) ProtoMessage() {} 109 func (*Collector) ProtoMessage() {}
103 func (*Collector) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2 } } 110 func (*Collector) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2 } }
104 111
112 func (m *Collector) GetStateCacheExpiration() *google_protobuf.Duration {
113 if m != nil {
114 return m.StateCacheExpiration
115 }
116 return nil
117 }
118
105 func init() { 119 func init() {
106 proto.RegisterType((*Config)(nil), "svcconfig.Config") 120 proto.RegisterType((*Config)(nil), "svcconfig.Config")
107 proto.RegisterType((*Coordinator)(nil), "svcconfig.Coordinator") 121 proto.RegisterType((*Coordinator)(nil), "svcconfig.Coordinator")
108 proto.RegisterType((*Collector)(nil), "svcconfig.Collector") 122 proto.RegisterType((*Collector)(nil), "svcconfig.Collector")
109 } 123 }
110 124
111 var fileDescriptor0 = []byte{ 125 var fileDescriptor0 = []byte{
112 » // 241 bytes of a gzipped FileDescriptorProto 126 » // 305 bytes of a gzipped FileDescriptorProto
113 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4e, 0xc3, 0x30, 127 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x91, 0x41, 0x4e, 0xf3, 0x30,
114 » 0x0c, 0x86, 0x55, 0x24, 0x36, 0xc5, 0x05, 0x0d, 0xac, 0x81, 0x42, 0x4f, 0xa8, 0x1c, 0x40, 0x42, 128 » 0x10, 0x85, 0x95, 0xff, 0x87, 0x56, 0x9e, 0x80, 0x0a, 0x56, 0xa9, 0xdc, 0x2e, 0x10, 0x2a, 0x0b,
115 » 0xea, 0x01, 0x0e, 0x3c, 0x40, 0x1f, 0x81, 0xdd, 0xab, 0x90, 0x85, 0x52, 0x18, 0x75, 0xe5, 0x64, 129 » 0x90, 0x90, 0x5c, 0x09, 0x56, 0xac, 0xcb, 0x0d, 0xe8, 0x3e, 0x72, 0x1d, 0x37, 0x35, 0x84, 0x4c,
116 » 0xe3, 0xa5, 0x78, 0x48, 0x9a, 0x94, 0x86, 0x48, 0x1c, 0xe3, 0xef, 0xf3, 0xef, 0xd8, 0x70, 0xa2, 130 » 0x64, 0x3b, 0x05, 0x71, 0x06, 0x8e, 0xc2, 0x21, 0x49, 0xec, 0x24, 0x44, 0x62, 0xe9, 0xf9, 0xde,
117 » 0xa9, 0x7f, 0xed, 0xda, 0x6a, 0x60, 0x72, 0x84, 0xc2, 0x1e, 0xf4, 0x54, 0x28, 0x56, 0x8e, 0x55, 131 » 0xbc, 0xe7, 0x99, 0x81, 0x13, 0x89, 0xc5, 0x4e, 0x67, 0xbc, 0x34, 0xe8, 0x90, 0x12, 0x7b, 0x90,
118 » 0x6f, 0x07, 0x62, 0x37, 0xb1, 0xe2, 0xd4, 0x3a, 0x62, 0xd5, 0x9a, 0xe9, 0x59, 0x7e, 0x67, 0xb0, 132 » 0xa1, 0xb0, 0x98, 0x38, 0x23, 0x0a, 0x5b, 0xa2, 0x71, 0x81, 0x2d, 0x4e, 0xad, 0x43, 0x23, 0x32,
119 » 0xa8, 0x83, 0x8a, 0xb7, 0x20, 0xa2, 0x2c, 0xe1, 0x3a, 0xbb, 0xcb, 0x1f, 0xd6, 0x55, 0x4c, 0xaa, 133 » 0xd5, 0x3e, 0x2f, 0x33, 0xc4, 0x2c, 0x57, 0x2b, 0xff, 0xda, 0x56, 0xbb, 0x55, 0x5a, 0x19, 0xe1,
120 » 0x36, 0x33, 0xc3, 0x1b, 0x58, 0xfe, 0x86, 0xc8, 0x3c, 0x68, 0x98, 0x68, 0xcf, 0x13, 0xc1, 0x7b, 134 » 0x34, 0x16, 0x81, 0x2f, 0xbf, 0x23, 0x18, 0xad, 0xbd, 0x15, 0xbd, 0x01, 0xd2, 0x9b, 0x31, 0xb8,
121 » 0xc8, 0x35, 0x11, 0x6f, 0xbb, 0x5e, 0x8d, 0x15, 0xb9, 0x0e, 0xe2, 0x65, 0x22, 0xd6, 0x7f, 0xd4, 135 » 0x8a, 0x6e, 0xe3, 0xfb, 0x29, 0xef, 0x93, 0xf8, 0xa6, 0x63, 0xf4, 0x1a, 0xc6, 0x6d, 0x08, 0x8b,
122 » 0x8f, 0xd6, 0xb4, 0xdb, 0x19, 0xed, 0xd5, 0x8b, 0x7f, 0xa3, 0xeb, 0x99, 0x95, 0x1b, 0xc8, 0xd3, 136 » 0xbd, 0x8c, 0x0e, 0x64, 0xcf, 0x81, 0xd0, 0x3b, 0x88, 0x25, 0xa2, 0x49, 0x75, 0x21, 0xea, 0x0a,
123 » 0xbe, 0x15, 0x2c, 0xc7, 0x35, 0xde, 0x47, 0x26, 0xb3, 0xb1, 0x4b, 0xa0, 0x84, 0x33, 0xb5, 0xfd, 137 » 0x9b, 0x7a, 0xe1, 0x6c, 0x20, 0x5c, 0xff, 0xd2, 0x26, 0x5a, 0x62, 0x9e, 0x2b, 0xd9, 0x48, 0x2f,
124 » 0xec, 0xfa, 0x46, 0xed, 0xdd, 0x5b, 0xd3, 0x32, 0xed, 0x87, 0xb0, 0x8a, 0xc0, 0x02, 0xd0, 0x1a, 138 » 0xfe, 0x44, 0xaf, 0x3b, 0xb6, 0xdc, 0x40, 0x3c, 0xec, 0x9b, 0xc0, 0xb8, 0x1e, 0xe3, 0xa5, 0x66,
125 » 0x3e, 0x74, 0xda, 0xa4, 0xcc, 0xff, 0x5f, 0x94, 0x4f, 0x20, 0xe2, 0x08, 0x9f, 0xf9, 0x45, 0xfc, 139 » 0x2c, 0xaa, 0xbb, 0x08, 0x65, 0x70, 0x26, 0xd2, 0x37, 0x5d, 0x24, 0xa2, 0x72, 0xfb, 0x24, 0x33,
126 » 0x61, 0xd8, 0x86, 0xcc, 0x63, 0xbc, 0x82, 0xf3, 0x78, 0x97, 0x66, 0x46, 0x47, 0x1e, 0xbd, 0x2c, 140 » 0x58, 0x95, 0x7e, 0x14, 0x42, 0x17, 0x40, 0xad, 0x32, 0x07, 0x2d, 0xd5, 0x90, 0x35, 0xff, 0x27,
127 » 0xc2, 0x11, 0x1f, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x25, 0x80, 0x4f, 0x7f, 0x01, 0x00, 141 » 0xcb, 0xaf, 0x08, 0x48, 0x9f, 0xd1, 0x98, 0xbe, 0xa3, 0x79, 0x55, 0xc6, 0x7a, 0xd3, 0x63, 0x3a,
142 » 0x87, 0xf3, 0x7e, 0x31, 0x49, 0x87, 0xfe, 0x79, 0x54, 0xe7, 0x59, 0x27, 0x9c, 0x4a, 0xa4, 0x90,
143 » 0x7b, 0x95, 0x58, 0xfd, 0xa9, 0xd8, 0x7f, 0x4f, 0x1e, 0x61, 0x36, 0x24, 0xea, 0xa3, 0xd4, 0x61,
144 » 0xf1, 0xec, 0xc8, 0xcf, 0x37, 0xe7, 0xe1, 0x32, 0xbc, 0xbb, 0x0c, 0x7f, 0x6a, 0x2f, 0xb3, 0x1d,
145 » 0xf9, 0xd2, 0xc3, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x5b, 0xd3, 0x50, 0xf5, 0x01, 0x00,
128 0x00, 146 0x00,
129 } 147 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698