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

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: Rebased, updated from comments. 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 amount of time that cached stream state is valid.
100 StateCacheExpiration *google_protobuf.Duration `protobuf:"bytes,3,opt,na me=state_cache_expiration" json:"state_cache_expiration,omitempty"`
98 } 101 }
99 102
100 func (m *Collector) Reset() { *m = Collector{} } 103 func (m *Collector) Reset() { *m = Collector{} }
101 func (m *Collector) String() string { return proto.CompactTextString( m) } 104 func (m *Collector) String() string { return proto.CompactTextString( m) }
102 func (*Collector) ProtoMessage() {} 105 func (*Collector) ProtoMessage() {}
103 func (*Collector) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2 } } 106 func (*Collector) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2 } }
104 107
108 func (m *Collector) GetStateCacheExpiration() *google_protobuf.Duration {
109 if m != nil {
110 return m.StateCacheExpiration
111 }
112 return nil
113 }
114
105 func init() { 115 func init() {
106 proto.RegisterType((*Config)(nil), "svcconfig.Config") 116 proto.RegisterType((*Config)(nil), "svcconfig.Config")
107 proto.RegisterType((*Coordinator)(nil), "svcconfig.Coordinator") 117 proto.RegisterType((*Coordinator)(nil), "svcconfig.Coordinator")
108 proto.RegisterType((*Collector)(nil), "svcconfig.Collector") 118 proto.RegisterType((*Collector)(nil), "svcconfig.Collector")
109 } 119 }
110 120
111 var fileDescriptor0 = []byte{ 121 var fileDescriptor0 = []byte{
112 » // 241 bytes of a gzipped FileDescriptorProto 122 » // 289 bytes of a gzipped FileDescriptorProto
113 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4e, 0xc3, 0x30, 123 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4e, 0xc3, 0x30,
114 » 0x0c, 0x86, 0x55, 0x24, 0x36, 0xc5, 0x05, 0x0d, 0xac, 0x81, 0x42, 0x4f, 0xa8, 0x1c, 0x40, 0x42, 124 » 0x10, 0x44, 0x55, 0x10, 0xad, 0xbc, 0x01, 0x15, 0xac, 0x52, 0xb9, 0x3d, 0x20, 0x14, 0x0e, 0x20,
115 » 0xea, 0x01, 0x0e, 0x3c, 0x40, 0x1f, 0x81, 0xdd, 0xab, 0x90, 0x85, 0x52, 0x18, 0x75, 0xe5, 0x64, 125 » 0x21, 0xb9, 0x12, 0x9c, 0x38, 0x87, 0x3f, 0xa0, 0xf7, 0xc8, 0x75, 0xdc, 0xd4, 0x10, 0xb2, 0x91,
116 » 0xe3, 0xa5, 0x78, 0x48, 0x9a, 0x94, 0x86, 0x48, 0x1c, 0xe3, 0xef, 0xf3, 0xef, 0xd8, 0x70, 0xa2, 126 » 0xed, 0x14, 0x3e, 0x8a, 0x8f, 0x24, 0xb1, 0x93, 0x10, 0x89, 0xa3, 0xf7, 0xcd, 0xce, 0x78, 0x07,
117 » 0xa9, 0x7f, 0xed, 0xda, 0x6a, 0x60, 0x72, 0x84, 0xc2, 0x1e, 0xf4, 0x54, 0x28, 0x56, 0x8e, 0x55, 127 » 0xce, 0x25, 0x96, 0x7b, 0x9d, 0xf3, 0xca, 0xa0, 0x43, 0x4a, 0xec, 0x51, 0x86, 0xc1, 0x7a, 0xee,
118 » 0x6f, 0x07, 0x62, 0x37, 0xb1, 0xe2, 0xd4, 0x3a, 0x62, 0xd5, 0x9a, 0xe9, 0x59, 0x7e, 0x67, 0xb0, 128 » 0x8c, 0x28, 0x6d, 0x85, 0xc6, 0x05, 0xb6, 0xbe, 0xb0, 0x0e, 0x8d, 0xc8, 0x55, 0xf7, 0xbc, 0xc9,
119 » 0xa8, 0x83, 0x8a, 0xb7, 0x20, 0xa2, 0x2c, 0xe1, 0x3a, 0xbb, 0xcb, 0x1f, 0xd6, 0x55, 0x4c, 0xaa, 129 » 0x11, 0xf3, 0x42, 0x6d, 0xfc, 0x6b, 0x57, 0xef, 0x37, 0x59, 0x6d, 0x84, 0xd3, 0x58, 0x06, 0x1e,
120 » 0x36, 0x33, 0xc3, 0x1b, 0x58, 0xfe, 0x86, 0xc8, 0x3c, 0x68, 0x98, 0x68, 0xcf, 0x13, 0xc1, 0x7b, 130 » 0xff, 0x4c, 0x60, 0x9a, 0x78, 0x2b, 0x7a, 0x0f, 0x64, 0x30, 0x63, 0x70, 0x3b, 0x79, 0x88, 0x9e,
121 » 0xc8, 0x35, 0x11, 0x6f, 0xbb, 0x5e, 0x8d, 0x15, 0xb9, 0x0e, 0xe2, 0x65, 0x22, 0xd6, 0x7f, 0xd4, 131 » 0x16, 0x7c, 0x48, 0xe2, 0xdb, 0x9e, 0xd1, 0x3b, 0x98, 0x75, 0x21, 0x2c, 0xf2, 0x32, 0x3a, 0x92,
122 » 0x8f, 0xd6, 0xb4, 0xdb, 0x19, 0xed, 0xd5, 0x8b, 0x7f, 0xa3, 0xeb, 0x99, 0x95, 0x1b, 0xc8, 0xd3, 132 » 0xbd, 0x05, 0x42, 0x1f, 0x21, 0x92, 0x88, 0x26, 0xd3, 0xa5, 0x68, 0x26, 0x6c, 0xe1, 0x85, 0xcb,
123 » 0xbe, 0x15, 0x2c, 0xc7, 0x35, 0xde, 0x47, 0x26, 0xb3, 0xb1, 0x4b, 0xa0, 0x84, 0x33, 0xb5, 0xfd, 133 » 0x91, 0x30, 0xf9, 0xa3, 0x6d, 0xb4, 0xc4, 0xa2, 0x50, 0xb2, 0x95, 0x5e, 0xff, 0x8b, 0x4e, 0x7a,
124 » 0xec, 0xfa, 0x46, 0xed, 0xdd, 0x5b, 0xd3, 0x32, 0xed, 0x87, 0xb0, 0x8a, 0xc0, 0x02, 0xd0, 0x1a, 134 » 0x16, 0x6f, 0x21, 0x1a, 0xef, 0xcd, 0x61, 0xd6, 0x9c, 0xf1, 0xde, 0x30, 0x36, 0x69, 0xb6, 0x08,
125 » 0x3e, 0x74, 0xda, 0xa4, 0xcc, 0xff, 0x5f, 0x94, 0x4f, 0x20, 0xe2, 0x08, 0x9f, 0xf9, 0x45, 0xfc, 135 » 0x65, 0x70, 0x29, 0xb2, 0x4f, 0x5d, 0xa6, 0xa2, 0x76, 0x87, 0x34, 0x37, 0x58, 0x57, 0xfe, 0x14,
126 » 0x61, 0xd8, 0x86, 0xcc, 0x63, 0xbc, 0x82, 0xf3, 0x78, 0x97, 0x66, 0x46, 0x47, 0x1e, 0xbd, 0x2c, 136 » 0x42, 0xd7, 0x40, 0xad, 0x32, 0x47, 0x2d, 0xd5, 0x98, 0xb5, 0xff, 0x27, 0xb1, 0x01, 0x32, 0x44,
127 » 0xc2, 0x11, 0x1f, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x25, 0x80, 0x4f, 0x7f, 0x01, 0x00, 137 » 0xb4, 0x9e, 0x5f, 0x68, 0x3e, 0x94, 0xb1, 0xde, 0xf3, 0x8c, 0xae, 0xe0, 0x6a, 0xe8, 0x25, 0xed,
138 » 0xd1, 0x89, 0x47, 0x2f, 0xb0, 0xb4, 0x4e, 0x38, 0x95, 0x4a, 0x21, 0x0f, 0x2a, 0x55, 0xdf, 0x95,
139 » 0x0e, 0xed, 0xb2, 0x53, 0x7f, 0xc4, 0x8a, 0x87, 0xfa, 0x79, 0x5f, 0x3f, 0x7f, 0xed, 0xea, 0xdf,
140 » 0x4d, 0xfd, 0xe8, 0xf9, 0x37, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x46, 0x2d, 0x7c, 0xda, 0x01, 0x00,
128 0x00, 141 0x00,
129 } 142 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698