OLD | NEW |
1 // Code generated by protoc-gen-go. | 1 // Code generated by protoc-gen-go. |
2 // source: butler.proto | 2 // source: butler.proto |
3 // DO NOT EDIT! | 3 // DO NOT EDIT! |
4 | 4 |
5 /* | 5 /* |
6 Package logpb is a generated protocol buffer package. | 6 Package logpb is a generated protocol buffer package. |
7 | 7 |
8 It is generated from these files: | 8 It is generated from these files: |
9 butler.proto | 9 butler.proto |
10 log.proto | 10 log.proto |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 // | 121 // |
122 // This field will be used for debugging and internal accounting. | 122 // This field will be used for debugging and internal accounting. |
123 Source string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty
"` | 123 Source string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty
"` |
124 // The timestamp when this bundle was generated. | 124 // The timestamp when this bundle was generated. |
125 // | 125 // |
126 // This field will be used for debugging and internal accounting. | 126 // This field will be used for debugging and internal accounting. |
127 Timestamp *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=timesta
mp" json:"timestamp,omitempty"` | 127 Timestamp *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=timesta
mp" json:"timestamp,omitempty"` |
128 // * | 128 // * |
129 // Each Entry is an individual set of log records for a given log stream
. | 129 // Each Entry is an individual set of log records for a given log stream
. |
130 Entries []*ButlerLogBundle_Entry `protobuf:"bytes,3,rep,name=entries" js
on:"entries,omitempty"` | 130 Entries []*ButlerLogBundle_Entry `protobuf:"bytes,3,rep,name=entries" js
on:"entries,omitempty"` |
| 131 // * Project specifies which luci-config project this stream belongs to. |
| 132 Project string `protobuf:"bytes,4,opt,name=project" json:"project,omitem
pty"` |
| 133 // * |
| 134 // The log stream prefix that is shared by all bundled streams. |
| 135 // |
| 136 // This prefix is valid within the supplied project scope. |
| 137 Prefix string `protobuf:"bytes,5,opt,name=prefix" json:"prefix,omitempty
"` |
| 138 // |
| 139 // The log prefix's secret value (required). |
| 140 // |
| 141 // The secret is bound to all log streams that share the supplied Prefix
, and |
| 142 // The Coordinator will record the secret associated with a given log Pr
efix, |
| 143 // but will not expose the secret to users. |
| 144 // |
| 145 // The Collector will check the secret prior to ingesting logs. If the |
| 146 // secret doesn't match the value recorded by the Coordinator, the log |
| 147 // will be discarded. |
| 148 // |
| 149 // This ensures that only the Butler instance that generated the log str
eam |
| 150 // can emit log data for that stream. It also ensures that only authenti
cated |
| 151 // users can write to a Prefix. |
| 152 Secret []byte `protobuf:"bytes,6,opt,name=secret,proto3" json:"secret,om
itempty"` |
131 } | 153 } |
132 | 154 |
133 func (m *ButlerLogBundle) Reset() { *m = ButlerLogBundle{} } | 155 func (m *ButlerLogBundle) Reset() { *m = ButlerLogBundle{} } |
134 func (m *ButlerLogBundle) String() string { return proto.CompactTextS
tring(m) } | 156 func (m *ButlerLogBundle) String() string { return proto.CompactTextS
tring(m) } |
135 func (*ButlerLogBundle) ProtoMessage() {} | 157 func (*ButlerLogBundle) ProtoMessage() {} |
136 func (*ButlerLogBundle) Descriptor() ([]byte, []int) { return fileDescriptor0, [
]int{1} } | 158 func (*ButlerLogBundle) Descriptor() ([]byte, []int) { return fileDescriptor0, [
]int{1} } |
137 | 159 |
138 func (m *ButlerLogBundle) GetTimestamp() *google_protobuf.Timestamp { | 160 func (m *ButlerLogBundle) GetTimestamp() *google_protobuf.Timestamp { |
139 if m != nil { | 161 if m != nil { |
140 return m.Timestamp | 162 return m.Timestamp |
(...skipping 10 matching lines...) Expand all Loading... |
151 | 173 |
152 // | 174 // |
153 // A bundle Entry describes a set of LogEntry messages originating from the | 175 // A bundle Entry describes a set of LogEntry messages originating from the |
154 // same log stream. | 176 // same log stream. |
155 type ButlerLogBundle_Entry struct { | 177 type ButlerLogBundle_Entry struct { |
156 // | 178 // |
157 // The descriptor for this entry's log stream. | 179 // The descriptor for this entry's log stream. |
158 // | 180 // |
159 // Each LogEntry in the "logs" field is shares this common descriptor. | 181 // Each LogEntry in the "logs" field is shares this common descriptor. |
160 Desc *LogStreamDescriptor `protobuf:"bytes,1,opt,name=desc" json:"desc,o
mitempty"` | 182 Desc *LogStreamDescriptor `protobuf:"bytes,1,opt,name=desc" json:"desc,o
mitempty"` |
161 » // | 183 » // (DEPRECATED) Per-entry secret replaced with Butler-wide secret. |
162 » // The log prefix's secret value (required). | 184 » DeprecatedEntrySecret []byte `protobuf:"bytes,2,opt,name=deprecated_entr
y_secret,json=deprecatedEntrySecret,proto3" json:"deprecated_entry_secret,omitem
pty"` |
163 » // | |
164 » // The secret is generated by the Butler and unique to this specific log | |
165 » // stream. The Coordinator will record the secret associated with a give
n | |
166 » // log Prefix/Stream, but will not share the secret with a client. | |
167 » // | |
168 » // The Collector will check the secret prior to ingesting logs. If the | |
169 » // secret doesn't match the value recorded by the Coordinator, the log | |
170 » // will be discarded. | |
171 » // | |
172 » // This ensures that only the Butler instance that generated the log str
eam | |
173 » // can emit log data for that stream. | |
174 » Secret []byte `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,om
itempty"` | |
175 // | 185 // |
176 // Whether this log entry terminates its stream. | 186 // Whether this log entry terminates its stream. |
177 // | 187 // |
178 // If present and "true", this field declares that this Entry is the las
t | 188 // If present and "true", this field declares that this Entry is the las
t |
179 // such entry in the stream. This fact is recorded by the Collector and | 189 // such entry in the stream. This fact is recorded by the Collector and |
180 // registered with the Coordinator. The largest stream prefix in this En
try | 190 // registered with the Coordinator. The largest stream prefix in this En
try |
181 // will be bound the stream's LogEntry records to [0:largest_prefix]. On
ce | 191 // will be bound the stream's LogEntry records to [0:largest_prefix]. On
ce |
182 // all messages in that range have been received, the log may be archive
d. | 192 // all messages in that range have been received, the log may be archive
d. |
183 // | 193 // |
184 // Further log entries belonging to this stream with stream indices | 194 // Further log entries belonging to this stream with stream indices |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 | 226 |
217 func init() { | 227 func init() { |
218 proto.RegisterType((*ButlerMetadata)(nil), "logpb.ButlerMetadata") | 228 proto.RegisterType((*ButlerMetadata)(nil), "logpb.ButlerMetadata") |
219 proto.RegisterType((*ButlerLogBundle)(nil), "logpb.ButlerLogBundle") | 229 proto.RegisterType((*ButlerLogBundle)(nil), "logpb.ButlerLogBundle") |
220 proto.RegisterType((*ButlerLogBundle_Entry)(nil), "logpb.ButlerLogBundle
.Entry") | 230 proto.RegisterType((*ButlerLogBundle_Entry)(nil), "logpb.ButlerLogBundle
.Entry") |
221 proto.RegisterEnum("logpb.ButlerMetadata_ContentType", ButlerMetadata_Co
ntentType_name, ButlerMetadata_ContentType_value) | 231 proto.RegisterEnum("logpb.ButlerMetadata_ContentType", ButlerMetadata_Co
ntentType_name, ButlerMetadata_ContentType_value) |
222 proto.RegisterEnum("logpb.ButlerMetadata_Compression", ButlerMetadata_Co
mpression_name, ButlerMetadata_Compression_value) | 232 proto.RegisterEnum("logpb.ButlerMetadata_Compression", ButlerMetadata_Co
mpression_name, ButlerMetadata_Compression_value) |
223 } | 233 } |
224 | 234 |
225 var fileDescriptor0 = []byte{ | 235 var fileDescriptor0 = []byte{ |
226 » // 406 bytes of a gzipped FileDescriptorProto | 236 » // 455 bytes of a gzipped FileDescriptorProto |
227 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x91,
0xdf, 0x8a, 0xd3, 0x40, | 237 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x52,
0xcd, 0x6e, 0xd3, 0x40, |
228 » 0x14, 0xc6, 0x4d, 0x37, 0xdd, 0x6d, 0x4e, 0xba, 0xdd, 0x65, 0x04, 0x09,
0x41, 0xd0, 0xad, 0x08, | 238 » 0x10, 0x26, 0x89, 0xf3, 0x37, 0x49, 0xd3, 0x6a, 0x11, 0x60, 0x59, 0x48,
0xd0, 0x20, 0x24, 0x4e, |
229 » 0x5e, 0x4d, 0x61, 0x45, 0xf1, 0xba, 0xeb, 0x5e, 0x14, 0x6a, 0x85, 0xb1,
0x78, 0xe1, 0x4d, 0xc9, | 239 » 0x1b, 0xa9, 0x08, 0xc4, 0x39, 0xa5, 0x87, 0x48, 0xa5, 0x48, 0xdb, 0x8a,
0x03, 0x97, 0xc8, 0xb1, |
230 » 0x9f, 0x63, 0x08, 0x24, 0x99, 0x30, 0x99, 0x14, 0xfb, 0x00, 0x3e, 0x93,
0x4f, 0xe2, 0xfb, 0x38, | 240 » 0xa7, 0xd1, 0x22, 0xdb, 0x6b, 0xad, 0x37, 0x55, 0xf3, 0x00, 0x3c, 0x17,
0x8f, 0xc1, 0xeb, 0x30, |
231 » 0x3d, 0xd3, 0xa4, 0x2d, 0xc2, 0x5e, 0x35, 0xe7, 0xcc, 0xef, 0x3b, 0xe7,
0x3b, 0x5f, 0x61, 0x1c, | 241 » 0x9e, 0x8d, 0x93, 0x56, 0x48, 0x3d, 0x65, 0x67, 0xe6, 0x9b, 0xf9, 0x7e,
0x62, 0x18, 0xaf, 0x36, |
232 » 0xb7, 0xba, 0x40, 0xc5, 0x6b, 0x25, 0xb5, 0x64, 0xc3, 0x42, 0x66, 0x75,
0x1c, 0x7a, 0xe6, 0xc7, | 242 » 0x2e, 0x43, 0x2b, 0x4b, 0x6b, 0x9c, 0x11, 0xdd, 0xcc, 0xac, 0xcb, 0x55,
0x34, 0xa4, 0x1f, 0xdf, |
233 » 0x76, 0xc2, 0x57, 0x99, 0x94, 0x59, 0x81, 0x33, 0xaa, 0xe2, 0xf6, 0xe7,
0x4c, 0xe7, 0x25, 0x36, | 243 » 0x89, 0xde, 0xac, 0x8d, 0x59, 0x67, 0x38, 0xe3, 0x6a, 0xb5, 0xb9, 0x9d,
0x39, 0x9d, 0x63, 0xe5, |
234 » 0x3a, 0x2a, 0x6b, 0x0b, 0x4c, 0x7f, 0x0f, 0x60, 0x32, 0xa7, 0x19, 0x5f,
0x50, 0x47, 0x69, 0xa4, | 244 » 0xe2, 0xbc, 0xf4, 0x80, 0xe9, 0xef, 0x36, 0x4c, 0xe6, 0x7c, 0xe3, 0x1b,
0xba, 0x38, 0x8d, 0x5d, |
235 » 0x23, 0xf6, 0x01, 0x5c, 0xbd, 0xab, 0x31, 0x70, 0x5e, 0x3b, 0xef, 0x26,
0xf7, 0x77, 0x9c, 0x86, | 245 » 0x2c, 0x3e, 0x41, 0xe0, 0xb6, 0x25, 0x86, 0xad, 0xb7, 0xad, 0x0f, 0x93,
0xb3, 0x53, 0xc9, 0x47, |
236 » 0xf2, 0x73, 0x88, 0x3f, 0xc8, 0x4a, 0x63, 0xa5, 0xd7, 0x06, 0x14, 0x84,
0xb3, 0x07, 0xf0, 0x13, | 246 » 0xe5, 0x63, 0x90, 0x3c, 0x37, 0x85, 0xc3, 0xc2, 0xdd, 0x10, 0x50, 0x31,
0x5c, 0x9c, 0xc3, 0x28, |
237 » 0x59, 0xd6, 0x0a, 0x9b, 0x26, 0x97, 0x55, 0x30, 0x78, 0x5a, 0xdd, 0x83,
0xe2, 0x54, 0xc5, 0xde, | 247 » 0x31, 0x79, 0x69, 0xb1, 0xaa, 0xb4, 0x29, 0xc2, 0xf6, 0xd3, 0xdb, 0x7b,
0xa0, 0x7a, 0xb8, 0x25, |
238 » 0xc0, 0x35, 0xf9, 0xda, 0x6c, 0x51, 0xd1, 0x98, 0x0b, 0x33, 0xc6, 0x13,
0x63, 0x6a, 0x7e, 0xb7, | 248 » 0xde, 0xc1, 0x11, 0xeb, 0x5a, 0xde, 0xa1, 0xe5, 0x33, 0x1d, 0x3a, 0x33,
0x54, 0x63, 0x6e, 0xfe, |
239 » 0xbd, 0xe9, 0x0c, 0xfc, 0x93, 0xf5, 0xcc, 0x87, 0xab, 0x45, 0xb5, 0x8d,
0x8a, 0x3c, 0xbd, 0x7d, | 249 » 0xf0, 0xbd, 0xe9, 0x0c, 0x46, 0x0f, 0xe8, 0xc5, 0x08, 0xfa, 0x8b, 0xe2,
0x2e, 0xce, 0x74, 0x7a, |
240 » 0xc6, 0x9e, 0xc3, 0x8d, 0xdd, 0xb5, 0x94, 0xd9, 0xbc, 0xad, 0xd2, 0x02,
0x6f, 0x9d, 0xe9, 0xdd, | 250 » 0xf2, 0x4c, 0x3c, 0x87, 0x63, 0xcf, 0x75, 0x69, 0xd6, 0xf3, 0x4d, 0x91,
0x66, 0x78, 0xd2, 0x9a, |
241 » 0x5e, 0x70, 0x5c, 0x32, 0x02, 0x77, 0xf5, 0x75, 0xf5, 0x68, 0x68, 0xf3,
0xf5, 0x63, 0xb9, 0x98, | 251 » 0x9e, 0xd6, 0x0b, 0x07, 0x92, 0x01, 0x04, 0x57, 0xdf, 0xaf, 0x2e, 0x08,
0x4d, 0xaf, 0x9f, 0x97, |
242 » 0x1b, 0xe4, 0xef, 0xe0, 0x3f, 0x21, 0x7b, 0x01, 0x97, 0x8d, 0x6c, 0x55,
0x62, 0xa3, 0xf0, 0xc4, | 252 » 0x8b, 0x39, 0x41, 0xfe, 0x74, 0xfe, 0x5b, 0x14, 0x2f, 0xa1, 0x57, 0x99,
0x8d, 0x4d, 0x7c, 0x14, |
243 » 0xa1, 0x62, 0x9f, 0xc0, 0xeb, 0x63, 0xa4, 0x3b, 0xfd, 0xfb, 0x90, 0xdb,
0xa0, 0x79, 0x17, 0x34, | 253 » 0x43, 0xb5, 0xab, 0xc4, 0x17, 0x18, 0xee, 0x63, 0x64, 0x9f, 0xa3, 0xb3,
0x48, 0xfa, 0xa0, 0x65, |
244 » 0x5f, 0x77, 0x84, 0x38, 0xc2, 0xec, 0x23, 0x5c, 0x19, 0xd7, 0x2a, 0xc7,
0xc6, 0x1c, 0x76, 0x61, | 254 » 0x13, 0xb4, 0xbc, 0x69, 0x10, 0xea, 0x00, 0x16, 0x9f, 0xa1, 0x4f, 0xaa,
0xad, 0xc6, 0x8a, 0x8c, |
245 » 0x74, 0x2f, 0xcf, 0xf2, 0xe9, 0x57, 0xf3, 0x47, 0x43, 0xed, 0x44, 0x07,
0x87, 0x7f, 0x1c, 0x18, | 255 » 0x75, 0x68, 0xef, 0xf5, 0xa3, 0x7c, 0xf6, 0xd4, 0xf2, 0x82, 0x50, 0x5b,
0xd5, 0x80, 0x45, 0x08, |
246 » 0x52, 0x8b, 0x71, 0x70, 0x53, 0x6c, 0x12, 0x72, 0xb4, 0x5f, 0x6b, 0xe5,
0x46, 0xf8, 0x4d, 0x2b, | 256 » 0x7d, 0x3a, 0xfc, 0x0b, 0x13, 0x17, 0x06, 0x2c, 0xa5, 0x29, 0x6b, 0x8d,
0xe4, 0xeb, 0x56, 0xdf, |
247 » 0x8c, 0xca, 0xcf, 0xe6, 0x4d, 0xe5, 0xb5, 0x96, 0x4a, 0x10, 0x47, 0x37,
0x60, 0xa2, 0x50, 0x93, | 257 » 0x87, 0x5d, 0xaf, 0xd1, 0x57, 0xac, 0x1d, 0x13, 0x8b, 0x2e, 0xec, 0x51,
0x7f, 0xac, 0x76, 0x55, |
248 » 0xd1, 0xb1, 0x38, 0x54, 0x2c, 0x84, 0x91, 0x46, 0x55, 0xe6, 0x55, 0x54,
0x50, 0xc6, 0x23, 0xd1, | 258 » 0xf4, 0xb7, 0x05, 0x5d, 0x3e, 0x2e, 0x24, 0x04, 0x29, 0x56, 0x09, 0x7b,
0xab, 0x0d, 0x78, 0x21, |
249 » 0xd7, 0xec, 0x2d, 0x4c, 0xba, 0xef, 0x4d, 0x5e, 0xa5, 0xf8, 0x2b, 0x70,
0x0d, 0xe1, 0x8a, 0xeb, | 259 » 0x24, 0xe1, 0xda, 0x59, 0x8c, 0xf3, 0xaf, 0x34, 0xb3, 0xba, 0x74, 0xc6,
0x2a, 0xc6, 0x91, 0xf6, |
250 » 0xae, 0xbb, 0xd8, 0x37, 0xcd, 0x7f, 0xe5, 0x9a, 0xed, 0x4d, 0x30, 0xa4,
0x4b, 0x6e, 0x8e, 0x56, | 260 » 0x57, 0x29, 0xd2, 0xf5, 0x24, 0x76, 0x98, 0x2e, 0x6b, 0x65, 0xdb, 0xe5,
0x8e, 0xa2, 0xcd, 0x14, |
251 » 0xac, 0x79, 0x7a, 0x8c, 0x2f, 0x29, 0x90, 0xf7, 0xff, 0x02, 0x00, 0x00,
0xff, 0xff, 0x62, 0x9f, | 261 » 0x2f, 0x0e, 0x63, 0x66, 0xb8, 0xe6, 0xa1, 0x88, 0x60, 0xe0, 0xd0, 0xe6,
0xba, 0x88, 0x33, 0xfe, |
252 » 0xec, 0x36, 0xa9, 0x02, 0x00, 0x00, | 262 » 0x37, 0x07, 0x6a, 0x5f, 0x8b, 0xf7, 0x30, 0x69, 0xde, 0x4b, 0x5d, 0xa4,
0x78, 0xcf, 0xf6, 0x02, |
| 263 » 0x75, 0xd4, 0x74, 0x17, 0x75, 0x93, 0xbe, 0x8a, 0x80, 0xd4, 0x55, 0x64,
0xb1, 0xce, 0xec, 0xf8, |
| 264 » 0x20, 0xd5, 0xc7, 0xc4, 0xc3, 0x55, 0x8f, 0xa3, 0xff, 0xf8, 0x2f, 0x00,
0x00, 0xff, 0xff, 0x1e, |
| 265 » 0xf4, 0xc2, 0x77, 0x13, 0x03, 0x00, 0x00, |
253 } | 266 } |
OLD | NEW |