OLD | NEW |
1 # Generated by the protocol buffer compiler. DO NOT EDIT! | 1 # Generated by the protocol buffer compiler. DO NOT EDIT! |
2 # source: service_config.proto | 2 # source: service_config.proto |
3 | 3 |
4 from google.protobuf import descriptor as _descriptor | 4 from google.protobuf import descriptor as _descriptor |
5 from google.protobuf import message as _message | 5 from google.protobuf import message as _message |
6 from google.protobuf import reflection as _reflection | 6 from google.protobuf import reflection as _reflection |
7 from google.protobuf import descriptor_pb2 | 7 from google.protobuf import descriptor_pb2 |
8 # @@protoc_insertion_point(imports) | 8 # @@protoc_insertion_point(imports) |
9 | 9 |
10 | 10 |
11 | 11 |
12 | 12 |
13 DESCRIPTOR = _descriptor.FileDescriptor( | 13 DESCRIPTOR = _descriptor.FileDescriptor( |
14 name='service_config.proto', | 14 name='service_config.proto', |
15 package='luci.config', | 15 package='luci.config', |
16 serialized_pb='\n\x14service_config.proto\x12\x0bluci.config\"\x89\x01\n\x11\x
43onfigSetLocation\x12\x0b\n\x03url\x18\x01 \x01(\t\x12@\n\x0cstorage_type\x18\x
02 \x01(\x0e\x32*.luci.config.ConfigSetLocation.StorageType\"%\n\x0bStorageType\
x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07GITILES\x10\x01\"N\n\x07Project\x12\n\n\x0
2id\x18\x01 \x01(\t\x12\x37\n\x0f\x63onfig_location\x18\x02 \x01(\x0b\x32\x1e.lu
ci.config.ConfigSetLocation\"5\n\x0bProjectsCfg\x12&\n\x08projects\x18\x01 \x03(
\x0b\x32\x14.luci.config.Project\"D\n\x06\x41\x63lCfg\x12\x1c\n\x14service_acces
s_group\x18\x01 \x01(\t\x12\x1c\n\x14project_access_group\x18\x02 \x01(\t\"\xee\
x01\n\tImportCfg\x12/\n\x07gitiles\x18\x01 \x01(\x0b\x32\x1e.luci.config.ImportC
fg.Gitiles\x1a\xaf\x01\n\x07Gitiles\x12\x1a\n\x12\x66\x65tch_log_deadline\x18\x0
1 \x01(\x05\x12\x1e\n\x16\x66\x65tch_archive_deadline\x18\x02 \x01(\x05\x12\"\n\
x1aproject_config_default_ref\x18\x03 \x01(\t\x12#\n\x1bproject_config_default_p
ath\x18\x04 \x01(\t\x12\x1f\n\x17ref_config_default_path\x18\x05 \x01(\t\"b\n\nS
chemasCfg\x12/\n\x07schemas\x18\x01 \x03(\x0b\x32\x1e.luci.config.SchemasCfg.Sch
ema\x1a#\n\x06Schema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02
\x01(\t\"v\n\rValidationCfg\x12.\n\x05rules\x18\x01 \x03(\x0b\x32\x1f.luci.confi
g.ValidationCfg.Rule\x1a\x35\n\x04Rule\x12\x12\n\nconfig_set\x18\x01 \x01(\t\x12
\x0c\n\x04path\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\"M\n\x18Validati
onRequestMessage\x12\x12\n\nconfig_set\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02
\x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"\x80\x02\n\x19ValidationRespon
seMessage\x12@\n\x08messages\x18\x01 \x03(\x0b\x32..luci.config.ValidationRespon
seMessage.Message\x1aZ\n\x07Message\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x41\n\
x08severity\x18\x02 \x01(\x0e\x32/.luci.config.ValidationResponseMessage.Severit
y\"E\n\x08Severity\x12\t\n\x05\x44\x45\x42UG\x10\n\x12\x08\n\x04INFO\x10\x14\x12
\x0b\n\x07WARNING\x10\x1e\x12\t\n\x05\x45RROR\x10(\x12\x0c\n\x08\x43RITICAL\x10\
x32') | 16 serialized_pb='\n\x14service_config.proto\x12\x0bluci.config\"\x89\x01\n\x11\x
43onfigSetLocation\x12\x0b\n\x03url\x18\x01 \x01(\t\x12@\n\x0cstorage_type\x18\x
02 \x01(\x0e\x32*.luci.config.ConfigSetLocation.StorageType\"%\n\x0bStorageType\
x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07GITILES\x10\x01\"N\n\x07Project\x12\n\n\x0
2id\x18\x01 \x01(\t\x12\x37\n\x0f\x63onfig_location\x18\x02 \x01(\x0b\x32\x1e.lu
ci.config.ConfigSetLocation\"5\n\x0bProjectsCfg\x12&\n\x08projects\x18\x01 \x03(
\x0b\x32\x14.luci.config.Project\"t\n\x07Service\x12\n\n\x02id\x18\x01 \x01(\t\x
12\x0e\n\x06owners\x18\x02 \x03(\t\x12\x37\n\x0f\x63onfig_location\x18\x03 \x01(
\x0b\x32\x1e.luci.config.ConfigSetLocation\x12\x14\n\x0cmetadata_url\x18\x04 \x0
1(\t\"D\n\x16ServiceDynamicMetadata\x12*\n\nvalidation\x18\x01 \x01(\x0b\x32\x16
.luci.config.Validator\"5\n\x0bServicesCfg\x12&\n\x08services\x18\x01 \x03(\x0b\
x32\x14.luci.config.Service\"D\n\x06\x41\x63lCfg\x12\x1c\n\x14service_access_gro
up\x18\x01 \x01(\t\x12\x1c\n\x14project_access_group\x18\x02 \x01(\t\"\xee\x01\n
\tImportCfg\x12/\n\x07gitiles\x18\x01 \x01(\x0b\x32\x1e.luci.config.ImportCfg.Gi
tiles\x1a\xaf\x01\n\x07Gitiles\x12\x1a\n\x12\x66\x65tch_log_deadline\x18\x01 \x0
1(\x05\x12\x1e\n\x16\x66\x65tch_archive_deadline\x18\x02 \x01(\x05\x12\"\n\x1apr
oject_config_default_ref\x18\x03 \x01(\t\x12#\n\x1bproject_config_default_path\x
18\x04 \x01(\t\x12\x1f\n\x17ref_config_default_path\x18\x05 \x01(\t\"b\n\nSchema
sCfg\x12/\n\x07schemas\x18\x01 \x03(\x0b\x32\x1e.luci.config.SchemasCfg.Schema\x
1a#\n\x06Schema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(
\t\"1\n\rConfigPattern\x12\x12\n\nconfig_set\x18\x01 \x01(\t\x12\x0c\n\x04path\x
18\x02 \x01(\t\"F\n\tValidator\x12,\n\x08patterns\x18\x01 \x03(\x0b\x32\x1a.luci
.config.ConfigPattern\x12\x0b\n\x03url\x18\x02 \x01(\t\"M\n\x18ValidationRequest
Message\x12\x12\n\nconfig_set\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\
x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"\x80\x02\n\x19ValidationResponseMessage
\x12@\n\x08messages\x18\x01 \x03(\x0b\x32..luci.config.ValidationResponseMessage
.Message\x1aZ\n\x07Message\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x41\n\x08severi
ty\x18\x02 \x01(\x0e\x32/.luci.config.ValidationResponseMessage.Severity\"E\n\x0
8Severity\x12\t\n\x05\x44\x45\x42UG\x10\n\x12\x08\n\x04INFO\x10\x14\x12\x0b\n\x0
7WARNING\x10\x1e\x12\t\n\x05\x45RROR\x10(\x12\x0c\n\x08\x43RITICAL\x10\x32') |
17 | 17 |
18 | 18 |
19 | 19 |
20 _CONFIGSETLOCATION_STORAGETYPE = _descriptor.EnumDescriptor( | 20 _CONFIGSETLOCATION_STORAGETYPE = _descriptor.EnumDescriptor( |
21 name='StorageType', | 21 name='StorageType', |
22 full_name='luci.config.ConfigSetLocation.StorageType', | 22 full_name='luci.config.ConfigSetLocation.StorageType', |
23 filename=None, | 23 filename=None, |
24 file=DESCRIPTOR, | 24 file=DESCRIPTOR, |
25 values=[ | 25 values=[ |
26 _descriptor.EnumValueDescriptor( | 26 _descriptor.EnumValueDescriptor( |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 name='ERROR', index=3, number=40, | 60 name='ERROR', index=3, number=40, |
61 options=None, | 61 options=None, |
62 type=None), | 62 type=None), |
63 _descriptor.EnumValueDescriptor( | 63 _descriptor.EnumValueDescriptor( |
64 name='CRITICAL', index=4, number=50, | 64 name='CRITICAL', index=4, number=50, |
65 options=None, | 65 options=None, |
66 type=None), | 66 type=None), |
67 ], | 67 ], |
68 containing_type=None, | 68 containing_type=None, |
69 options=None, | 69 options=None, |
70 serialized_start=1110, | 70 serialized_start=1356, |
71 serialized_end=1179, | 71 serialized_end=1425, |
72 ) | 72 ) |
73 | 73 |
74 | 74 |
75 _CONFIGSETLOCATION = _descriptor.Descriptor( | 75 _CONFIGSETLOCATION = _descriptor.Descriptor( |
76 name='ConfigSetLocation', | 76 name='ConfigSetLocation', |
77 full_name='luci.config.ConfigSetLocation', | 77 full_name='luci.config.ConfigSetLocation', |
78 filename=None, | 78 filename=None, |
79 file=DESCRIPTOR, | 79 file=DESCRIPTOR, |
80 containing_type=None, | 80 containing_type=None, |
81 fields=[ | 81 fields=[ |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 enum_types=[ | 164 enum_types=[ |
165 ], | 165 ], |
166 options=None, | 166 options=None, |
167 is_extendable=False, | 167 is_extendable=False, |
168 extension_ranges=[], | 168 extension_ranges=[], |
169 serialized_start=257, | 169 serialized_start=257, |
170 serialized_end=310, | 170 serialized_end=310, |
171 ) | 171 ) |
172 | 172 |
173 | 173 |
| 174 _SERVICE = _descriptor.Descriptor( |
| 175 name='Service', |
| 176 full_name='luci.config.Service', |
| 177 filename=None, |
| 178 file=DESCRIPTOR, |
| 179 containing_type=None, |
| 180 fields=[ |
| 181 _descriptor.FieldDescriptor( |
| 182 name='id', full_name='luci.config.Service.id', index=0, |
| 183 number=1, type=9, cpp_type=9, label=1, |
| 184 has_default_value=False, default_value=unicode("", "utf-8"), |
| 185 message_type=None, enum_type=None, containing_type=None, |
| 186 is_extension=False, extension_scope=None, |
| 187 options=None), |
| 188 _descriptor.FieldDescriptor( |
| 189 name='owners', full_name='luci.config.Service.owners', index=1, |
| 190 number=2, type=9, cpp_type=9, label=3, |
| 191 has_default_value=False, default_value=[], |
| 192 message_type=None, enum_type=None, containing_type=None, |
| 193 is_extension=False, extension_scope=None, |
| 194 options=None), |
| 195 _descriptor.FieldDescriptor( |
| 196 name='config_location', full_name='luci.config.Service.config_location', i
ndex=2, |
| 197 number=3, type=11, cpp_type=10, label=1, |
| 198 has_default_value=False, default_value=None, |
| 199 message_type=None, enum_type=None, containing_type=None, |
| 200 is_extension=False, extension_scope=None, |
| 201 options=None), |
| 202 _descriptor.FieldDescriptor( |
| 203 name='metadata_url', full_name='luci.config.Service.metadata_url', index=3
, |
| 204 number=4, type=9, cpp_type=9, label=1, |
| 205 has_default_value=False, default_value=unicode("", "utf-8"), |
| 206 message_type=None, enum_type=None, containing_type=None, |
| 207 is_extension=False, extension_scope=None, |
| 208 options=None), |
| 209 ], |
| 210 extensions=[ |
| 211 ], |
| 212 nested_types=[], |
| 213 enum_types=[ |
| 214 ], |
| 215 options=None, |
| 216 is_extendable=False, |
| 217 extension_ranges=[], |
| 218 serialized_start=312, |
| 219 serialized_end=428, |
| 220 ) |
| 221 |
| 222 |
| 223 _SERVICEDYNAMICMETADATA = _descriptor.Descriptor( |
| 224 name='ServiceDynamicMetadata', |
| 225 full_name='luci.config.ServiceDynamicMetadata', |
| 226 filename=None, |
| 227 file=DESCRIPTOR, |
| 228 containing_type=None, |
| 229 fields=[ |
| 230 _descriptor.FieldDescriptor( |
| 231 name='validation', full_name='luci.config.ServiceDynamicMetadata.validatio
n', index=0, |
| 232 number=1, type=11, cpp_type=10, label=1, |
| 233 has_default_value=False, default_value=None, |
| 234 message_type=None, enum_type=None, containing_type=None, |
| 235 is_extension=False, extension_scope=None, |
| 236 options=None), |
| 237 ], |
| 238 extensions=[ |
| 239 ], |
| 240 nested_types=[], |
| 241 enum_types=[ |
| 242 ], |
| 243 options=None, |
| 244 is_extendable=False, |
| 245 extension_ranges=[], |
| 246 serialized_start=430, |
| 247 serialized_end=498, |
| 248 ) |
| 249 |
| 250 |
| 251 _SERVICESCFG = _descriptor.Descriptor( |
| 252 name='ServicesCfg', |
| 253 full_name='luci.config.ServicesCfg', |
| 254 filename=None, |
| 255 file=DESCRIPTOR, |
| 256 containing_type=None, |
| 257 fields=[ |
| 258 _descriptor.FieldDescriptor( |
| 259 name='services', full_name='luci.config.ServicesCfg.services', index=0, |
| 260 number=1, type=11, cpp_type=10, label=3, |
| 261 has_default_value=False, default_value=[], |
| 262 message_type=None, enum_type=None, containing_type=None, |
| 263 is_extension=False, extension_scope=None, |
| 264 options=None), |
| 265 ], |
| 266 extensions=[ |
| 267 ], |
| 268 nested_types=[], |
| 269 enum_types=[ |
| 270 ], |
| 271 options=None, |
| 272 is_extendable=False, |
| 273 extension_ranges=[], |
| 274 serialized_start=500, |
| 275 serialized_end=553, |
| 276 ) |
| 277 |
| 278 |
174 _ACLCFG = _descriptor.Descriptor( | 279 _ACLCFG = _descriptor.Descriptor( |
175 name='AclCfg', | 280 name='AclCfg', |
176 full_name='luci.config.AclCfg', | 281 full_name='luci.config.AclCfg', |
177 filename=None, | 282 filename=None, |
178 file=DESCRIPTOR, | 283 file=DESCRIPTOR, |
179 containing_type=None, | 284 containing_type=None, |
180 fields=[ | 285 fields=[ |
181 _descriptor.FieldDescriptor( | 286 _descriptor.FieldDescriptor( |
182 name='service_access_group', full_name='luci.config.AclCfg.service_access_
group', index=0, | 287 name='service_access_group', full_name='luci.config.AclCfg.service_access_
group', index=0, |
183 number=1, type=9, cpp_type=9, label=1, | 288 number=1, type=9, cpp_type=9, label=1, |
(...skipping 10 matching lines...) Expand all Loading... |
194 options=None), | 299 options=None), |
195 ], | 300 ], |
196 extensions=[ | 301 extensions=[ |
197 ], | 302 ], |
198 nested_types=[], | 303 nested_types=[], |
199 enum_types=[ | 304 enum_types=[ |
200 ], | 305 ], |
201 options=None, | 306 options=None, |
202 is_extendable=False, | 307 is_extendable=False, |
203 extension_ranges=[], | 308 extension_ranges=[], |
204 serialized_start=312, | 309 serialized_start=555, |
205 serialized_end=380, | 310 serialized_end=623, |
206 ) | 311 ) |
207 | 312 |
208 | 313 |
209 _IMPORTCFG_GITILES = _descriptor.Descriptor( | 314 _IMPORTCFG_GITILES = _descriptor.Descriptor( |
210 name='Gitiles', | 315 name='Gitiles', |
211 full_name='luci.config.ImportCfg.Gitiles', | 316 full_name='luci.config.ImportCfg.Gitiles', |
212 filename=None, | 317 filename=None, |
213 file=DESCRIPTOR, | 318 file=DESCRIPTOR, |
214 containing_type=None, | 319 containing_type=None, |
215 fields=[ | 320 fields=[ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 options=None), | 355 options=None), |
251 ], | 356 ], |
252 extensions=[ | 357 extensions=[ |
253 ], | 358 ], |
254 nested_types=[], | 359 nested_types=[], |
255 enum_types=[ | 360 enum_types=[ |
256 ], | 361 ], |
257 options=None, | 362 options=None, |
258 is_extendable=False, | 363 is_extendable=False, |
259 extension_ranges=[], | 364 extension_ranges=[], |
260 serialized_start=446, | 365 serialized_start=689, |
261 serialized_end=621, | 366 serialized_end=864, |
262 ) | 367 ) |
263 | 368 |
264 _IMPORTCFG = _descriptor.Descriptor( | 369 _IMPORTCFG = _descriptor.Descriptor( |
265 name='ImportCfg', | 370 name='ImportCfg', |
266 full_name='luci.config.ImportCfg', | 371 full_name='luci.config.ImportCfg', |
267 filename=None, | 372 filename=None, |
268 file=DESCRIPTOR, | 373 file=DESCRIPTOR, |
269 containing_type=None, | 374 containing_type=None, |
270 fields=[ | 375 fields=[ |
271 _descriptor.FieldDescriptor( | 376 _descriptor.FieldDescriptor( |
272 name='gitiles', full_name='luci.config.ImportCfg.gitiles', index=0, | 377 name='gitiles', full_name='luci.config.ImportCfg.gitiles', index=0, |
273 number=1, type=11, cpp_type=10, label=1, | 378 number=1, type=11, cpp_type=10, label=1, |
274 has_default_value=False, default_value=None, | 379 has_default_value=False, default_value=None, |
275 message_type=None, enum_type=None, containing_type=None, | 380 message_type=None, enum_type=None, containing_type=None, |
276 is_extension=False, extension_scope=None, | 381 is_extension=False, extension_scope=None, |
277 options=None), | 382 options=None), |
278 ], | 383 ], |
279 extensions=[ | 384 extensions=[ |
280 ], | 385 ], |
281 nested_types=[_IMPORTCFG_GITILES, ], | 386 nested_types=[_IMPORTCFG_GITILES, ], |
282 enum_types=[ | 387 enum_types=[ |
283 ], | 388 ], |
284 options=None, | 389 options=None, |
285 is_extendable=False, | 390 is_extendable=False, |
286 extension_ranges=[], | 391 extension_ranges=[], |
287 serialized_start=383, | 392 serialized_start=626, |
288 serialized_end=621, | 393 serialized_end=864, |
289 ) | 394 ) |
290 | 395 |
291 | 396 |
292 _SCHEMASCFG_SCHEMA = _descriptor.Descriptor( | 397 _SCHEMASCFG_SCHEMA = _descriptor.Descriptor( |
293 name='Schema', | 398 name='Schema', |
294 full_name='luci.config.SchemasCfg.Schema', | 399 full_name='luci.config.SchemasCfg.Schema', |
295 filename=None, | 400 filename=None, |
296 file=DESCRIPTOR, | 401 file=DESCRIPTOR, |
297 containing_type=None, | 402 containing_type=None, |
298 fields=[ | 403 fields=[ |
(...skipping 13 matching lines...) Expand all Loading... |
312 options=None), | 417 options=None), |
313 ], | 418 ], |
314 extensions=[ | 419 extensions=[ |
315 ], | 420 ], |
316 nested_types=[], | 421 nested_types=[], |
317 enum_types=[ | 422 enum_types=[ |
318 ], | 423 ], |
319 options=None, | 424 options=None, |
320 is_extendable=False, | 425 is_extendable=False, |
321 extension_ranges=[], | 426 extension_ranges=[], |
322 serialized_start=686, | 427 serialized_start=929, |
323 serialized_end=721, | 428 serialized_end=964, |
324 ) | 429 ) |
325 | 430 |
326 _SCHEMASCFG = _descriptor.Descriptor( | 431 _SCHEMASCFG = _descriptor.Descriptor( |
327 name='SchemasCfg', | 432 name='SchemasCfg', |
328 full_name='luci.config.SchemasCfg', | 433 full_name='luci.config.SchemasCfg', |
329 filename=None, | 434 filename=None, |
330 file=DESCRIPTOR, | 435 file=DESCRIPTOR, |
331 containing_type=None, | 436 containing_type=None, |
332 fields=[ | 437 fields=[ |
333 _descriptor.FieldDescriptor( | 438 _descriptor.FieldDescriptor( |
334 name='schemas', full_name='luci.config.SchemasCfg.schemas', index=0, | 439 name='schemas', full_name='luci.config.SchemasCfg.schemas', index=0, |
335 number=1, type=11, cpp_type=10, label=3, | 440 number=1, type=11, cpp_type=10, label=3, |
336 has_default_value=False, default_value=[], | 441 has_default_value=False, default_value=[], |
337 message_type=None, enum_type=None, containing_type=None, | 442 message_type=None, enum_type=None, containing_type=None, |
338 is_extension=False, extension_scope=None, | 443 is_extension=False, extension_scope=None, |
339 options=None), | 444 options=None), |
340 ], | 445 ], |
341 extensions=[ | 446 extensions=[ |
342 ], | 447 ], |
343 nested_types=[_SCHEMASCFG_SCHEMA, ], | 448 nested_types=[_SCHEMASCFG_SCHEMA, ], |
344 enum_types=[ | 449 enum_types=[ |
345 ], | 450 ], |
346 options=None, | 451 options=None, |
347 is_extendable=False, | 452 is_extendable=False, |
348 extension_ranges=[], | 453 extension_ranges=[], |
349 serialized_start=623, | 454 serialized_start=866, |
350 serialized_end=721, | 455 serialized_end=964, |
351 ) | 456 ) |
352 | 457 |
353 | 458 |
354 _VALIDATIONCFG_RULE = _descriptor.Descriptor( | 459 _CONFIGPATTERN = _descriptor.Descriptor( |
355 name='Rule', | 460 name='ConfigPattern', |
356 full_name='luci.config.ValidationCfg.Rule', | 461 full_name='luci.config.ConfigPattern', |
357 filename=None, | 462 filename=None, |
358 file=DESCRIPTOR, | 463 file=DESCRIPTOR, |
359 containing_type=None, | 464 containing_type=None, |
360 fields=[ | 465 fields=[ |
361 _descriptor.FieldDescriptor( | 466 _descriptor.FieldDescriptor( |
362 name='config_set', full_name='luci.config.ValidationCfg.Rule.config_set',
index=0, | 467 name='config_set', full_name='luci.config.ConfigPattern.config_set', index
=0, |
363 number=1, type=9, cpp_type=9, label=1, | 468 number=1, type=9, cpp_type=9, label=1, |
364 has_default_value=False, default_value=unicode("", "utf-8"), | 469 has_default_value=False, default_value=unicode("", "utf-8"), |
365 message_type=None, enum_type=None, containing_type=None, | 470 message_type=None, enum_type=None, containing_type=None, |
366 is_extension=False, extension_scope=None, | 471 is_extension=False, extension_scope=None, |
367 options=None), | 472 options=None), |
368 _descriptor.FieldDescriptor( | 473 _descriptor.FieldDescriptor( |
369 name='path', full_name='luci.config.ValidationCfg.Rule.path', index=1, | 474 name='path', full_name='luci.config.ConfigPattern.path', index=1, |
370 number=2, type=9, cpp_type=9, label=1, | 475 number=2, type=9, cpp_type=9, label=1, |
371 has_default_value=False, default_value=unicode("", "utf-8"), | 476 has_default_value=False, default_value=unicode("", "utf-8"), |
372 message_type=None, enum_type=None, containing_type=None, | 477 message_type=None, enum_type=None, containing_type=None, |
373 is_extension=False, extension_scope=None, | 478 is_extension=False, extension_scope=None, |
374 options=None), | 479 options=None), |
375 _descriptor.FieldDescriptor( | |
376 name='url', full_name='luci.config.ValidationCfg.Rule.url', index=2, | |
377 number=3, type=9, cpp_type=9, label=1, | |
378 has_default_value=False, default_value=unicode("", "utf-8"), | |
379 message_type=None, enum_type=None, containing_type=None, | |
380 is_extension=False, extension_scope=None, | |
381 options=None), | |
382 ], | 480 ], |
383 extensions=[ | 481 extensions=[ |
384 ], | 482 ], |
385 nested_types=[], | 483 nested_types=[], |
386 enum_types=[ | 484 enum_types=[ |
387 ], | 485 ], |
388 options=None, | 486 options=None, |
389 is_extendable=False, | 487 is_extendable=False, |
390 extension_ranges=[], | 488 extension_ranges=[], |
391 serialized_start=788, | 489 serialized_start=966, |
392 serialized_end=841, | 490 serialized_end=1015, |
393 ) | 491 ) |
394 | 492 |
395 _VALIDATIONCFG = _descriptor.Descriptor( | 493 |
396 name='ValidationCfg', | 494 _VALIDATOR = _descriptor.Descriptor( |
397 full_name='luci.config.ValidationCfg', | 495 name='Validator', |
| 496 full_name='luci.config.Validator', |
398 filename=None, | 497 filename=None, |
399 file=DESCRIPTOR, | 498 file=DESCRIPTOR, |
400 containing_type=None, | 499 containing_type=None, |
401 fields=[ | 500 fields=[ |
402 _descriptor.FieldDescriptor( | 501 _descriptor.FieldDescriptor( |
403 name='rules', full_name='luci.config.ValidationCfg.rules', index=0, | 502 name='patterns', full_name='luci.config.Validator.patterns', index=0, |
404 number=1, type=11, cpp_type=10, label=3, | 503 number=1, type=11, cpp_type=10, label=3, |
405 has_default_value=False, default_value=[], | 504 has_default_value=False, default_value=[], |
406 message_type=None, enum_type=None, containing_type=None, | 505 message_type=None, enum_type=None, containing_type=None, |
407 is_extension=False, extension_scope=None, | 506 is_extension=False, extension_scope=None, |
408 options=None), | 507 options=None), |
| 508 _descriptor.FieldDescriptor( |
| 509 name='url', full_name='luci.config.Validator.url', index=1, |
| 510 number=2, type=9, cpp_type=9, label=1, |
| 511 has_default_value=False, default_value=unicode("", "utf-8"), |
| 512 message_type=None, enum_type=None, containing_type=None, |
| 513 is_extension=False, extension_scope=None, |
| 514 options=None), |
409 ], | 515 ], |
410 extensions=[ | 516 extensions=[ |
411 ], | 517 ], |
412 nested_types=[_VALIDATIONCFG_RULE, ], | 518 nested_types=[], |
413 enum_types=[ | 519 enum_types=[ |
414 ], | 520 ], |
415 options=None, | 521 options=None, |
416 is_extendable=False, | 522 is_extendable=False, |
417 extension_ranges=[], | 523 extension_ranges=[], |
418 serialized_start=723, | 524 serialized_start=1017, |
419 serialized_end=841, | 525 serialized_end=1087, |
420 ) | 526 ) |
421 | 527 |
422 | 528 |
423 _VALIDATIONREQUESTMESSAGE = _descriptor.Descriptor( | 529 _VALIDATIONREQUESTMESSAGE = _descriptor.Descriptor( |
424 name='ValidationRequestMessage', | 530 name='ValidationRequestMessage', |
425 full_name='luci.config.ValidationRequestMessage', | 531 full_name='luci.config.ValidationRequestMessage', |
426 filename=None, | 532 filename=None, |
427 file=DESCRIPTOR, | 533 file=DESCRIPTOR, |
428 containing_type=None, | 534 containing_type=None, |
429 fields=[ | 535 fields=[ |
(...skipping 20 matching lines...) Expand all Loading... |
450 options=None), | 556 options=None), |
451 ], | 557 ], |
452 extensions=[ | 558 extensions=[ |
453 ], | 559 ], |
454 nested_types=[], | 560 nested_types=[], |
455 enum_types=[ | 561 enum_types=[ |
456 ], | 562 ], |
457 options=None, | 563 options=None, |
458 is_extendable=False, | 564 is_extendable=False, |
459 extension_ranges=[], | 565 extension_ranges=[], |
460 serialized_start=843, | 566 serialized_start=1089, |
461 serialized_end=920, | 567 serialized_end=1166, |
462 ) | 568 ) |
463 | 569 |
464 | 570 |
465 _VALIDATIONRESPONSEMESSAGE_MESSAGE = _descriptor.Descriptor( | 571 _VALIDATIONRESPONSEMESSAGE_MESSAGE = _descriptor.Descriptor( |
466 name='Message', | 572 name='Message', |
467 full_name='luci.config.ValidationResponseMessage.Message', | 573 full_name='luci.config.ValidationResponseMessage.Message', |
468 filename=None, | 574 filename=None, |
469 file=DESCRIPTOR, | 575 file=DESCRIPTOR, |
470 containing_type=None, | 576 containing_type=None, |
471 fields=[ | 577 fields=[ |
(...skipping 13 matching lines...) Expand all Loading... |
485 options=None), | 591 options=None), |
486 ], | 592 ], |
487 extensions=[ | 593 extensions=[ |
488 ], | 594 ], |
489 nested_types=[], | 595 nested_types=[], |
490 enum_types=[ | 596 enum_types=[ |
491 ], | 597 ], |
492 options=None, | 598 options=None, |
493 is_extendable=False, | 599 is_extendable=False, |
494 extension_ranges=[], | 600 extension_ranges=[], |
495 serialized_start=1018, | 601 serialized_start=1264, |
496 serialized_end=1108, | 602 serialized_end=1354, |
497 ) | 603 ) |
498 | 604 |
499 _VALIDATIONRESPONSEMESSAGE = _descriptor.Descriptor( | 605 _VALIDATIONRESPONSEMESSAGE = _descriptor.Descriptor( |
500 name='ValidationResponseMessage', | 606 name='ValidationResponseMessage', |
501 full_name='luci.config.ValidationResponseMessage', | 607 full_name='luci.config.ValidationResponseMessage', |
502 filename=None, | 608 filename=None, |
503 file=DESCRIPTOR, | 609 file=DESCRIPTOR, |
504 containing_type=None, | 610 containing_type=None, |
505 fields=[ | 611 fields=[ |
506 _descriptor.FieldDescriptor( | 612 _descriptor.FieldDescriptor( |
507 name='messages', full_name='luci.config.ValidationResponseMessage.messages
', index=0, | 613 name='messages', full_name='luci.config.ValidationResponseMessage.messages
', index=0, |
508 number=1, type=11, cpp_type=10, label=3, | 614 number=1, type=11, cpp_type=10, label=3, |
509 has_default_value=False, default_value=[], | 615 has_default_value=False, default_value=[], |
510 message_type=None, enum_type=None, containing_type=None, | 616 message_type=None, enum_type=None, containing_type=None, |
511 is_extension=False, extension_scope=None, | 617 is_extension=False, extension_scope=None, |
512 options=None), | 618 options=None), |
513 ], | 619 ], |
514 extensions=[ | 620 extensions=[ |
515 ], | 621 ], |
516 nested_types=[_VALIDATIONRESPONSEMESSAGE_MESSAGE, ], | 622 nested_types=[_VALIDATIONRESPONSEMESSAGE_MESSAGE, ], |
517 enum_types=[ | 623 enum_types=[ |
518 _VALIDATIONRESPONSEMESSAGE_SEVERITY, | 624 _VALIDATIONRESPONSEMESSAGE_SEVERITY, |
519 ], | 625 ], |
520 options=None, | 626 options=None, |
521 is_extendable=False, | 627 is_extendable=False, |
522 extension_ranges=[], | 628 extension_ranges=[], |
523 serialized_start=923, | 629 serialized_start=1169, |
524 serialized_end=1179, | 630 serialized_end=1425, |
525 ) | 631 ) |
526 | 632 |
527 _CONFIGSETLOCATION.fields_by_name['storage_type'].enum_type = _CONFIGSETLOCATION
_STORAGETYPE | 633 _CONFIGSETLOCATION.fields_by_name['storage_type'].enum_type = _CONFIGSETLOCATION
_STORAGETYPE |
528 _CONFIGSETLOCATION_STORAGETYPE.containing_type = _CONFIGSETLOCATION; | 634 _CONFIGSETLOCATION_STORAGETYPE.containing_type = _CONFIGSETLOCATION; |
529 _PROJECT.fields_by_name['config_location'].message_type = _CONFIGSETLOCATION | 635 _PROJECT.fields_by_name['config_location'].message_type = _CONFIGSETLOCATION |
530 _PROJECTSCFG.fields_by_name['projects'].message_type = _PROJECT | 636 _PROJECTSCFG.fields_by_name['projects'].message_type = _PROJECT |
| 637 _SERVICE.fields_by_name['config_location'].message_type = _CONFIGSETLOCATION |
| 638 _SERVICEDYNAMICMETADATA.fields_by_name['validation'].message_type = _VALIDATOR |
| 639 _SERVICESCFG.fields_by_name['services'].message_type = _SERVICE |
531 _IMPORTCFG_GITILES.containing_type = _IMPORTCFG; | 640 _IMPORTCFG_GITILES.containing_type = _IMPORTCFG; |
532 _IMPORTCFG.fields_by_name['gitiles'].message_type = _IMPORTCFG_GITILES | 641 _IMPORTCFG.fields_by_name['gitiles'].message_type = _IMPORTCFG_GITILES |
533 _SCHEMASCFG_SCHEMA.containing_type = _SCHEMASCFG; | 642 _SCHEMASCFG_SCHEMA.containing_type = _SCHEMASCFG; |
534 _SCHEMASCFG.fields_by_name['schemas'].message_type = _SCHEMASCFG_SCHEMA | 643 _SCHEMASCFG.fields_by_name['schemas'].message_type = _SCHEMASCFG_SCHEMA |
535 _VALIDATIONCFG_RULE.containing_type = _VALIDATIONCFG; | 644 _VALIDATOR.fields_by_name['patterns'].message_type = _CONFIGPATTERN |
536 _VALIDATIONCFG.fields_by_name['rules'].message_type = _VALIDATIONCFG_RULE | |
537 _VALIDATIONRESPONSEMESSAGE_MESSAGE.fields_by_name['severity'].enum_type = _VALID
ATIONRESPONSEMESSAGE_SEVERITY | 645 _VALIDATIONRESPONSEMESSAGE_MESSAGE.fields_by_name['severity'].enum_type = _VALID
ATIONRESPONSEMESSAGE_SEVERITY |
538 _VALIDATIONRESPONSEMESSAGE_MESSAGE.containing_type = _VALIDATIONRESPONSEMESSAGE; | 646 _VALIDATIONRESPONSEMESSAGE_MESSAGE.containing_type = _VALIDATIONRESPONSEMESSAGE; |
539 _VALIDATIONRESPONSEMESSAGE.fields_by_name['messages'].message_type = _VALIDATION
RESPONSEMESSAGE_MESSAGE | 647 _VALIDATIONRESPONSEMESSAGE.fields_by_name['messages'].message_type = _VALIDATION
RESPONSEMESSAGE_MESSAGE |
540 _VALIDATIONRESPONSEMESSAGE_SEVERITY.containing_type = _VALIDATIONRESPONSEMESSAGE
; | 648 _VALIDATIONRESPONSEMESSAGE_SEVERITY.containing_type = _VALIDATIONRESPONSEMESSAGE
; |
541 DESCRIPTOR.message_types_by_name['ConfigSetLocation'] = _CONFIGSETLOCATION | 649 DESCRIPTOR.message_types_by_name['ConfigSetLocation'] = _CONFIGSETLOCATION |
542 DESCRIPTOR.message_types_by_name['Project'] = _PROJECT | 650 DESCRIPTOR.message_types_by_name['Project'] = _PROJECT |
543 DESCRIPTOR.message_types_by_name['ProjectsCfg'] = _PROJECTSCFG | 651 DESCRIPTOR.message_types_by_name['ProjectsCfg'] = _PROJECTSCFG |
| 652 DESCRIPTOR.message_types_by_name['Service'] = _SERVICE |
| 653 DESCRIPTOR.message_types_by_name['ServiceDynamicMetadata'] = _SERVICEDYNAMICMETA
DATA |
| 654 DESCRIPTOR.message_types_by_name['ServicesCfg'] = _SERVICESCFG |
544 DESCRIPTOR.message_types_by_name['AclCfg'] = _ACLCFG | 655 DESCRIPTOR.message_types_by_name['AclCfg'] = _ACLCFG |
545 DESCRIPTOR.message_types_by_name['ImportCfg'] = _IMPORTCFG | 656 DESCRIPTOR.message_types_by_name['ImportCfg'] = _IMPORTCFG |
546 DESCRIPTOR.message_types_by_name['SchemasCfg'] = _SCHEMASCFG | 657 DESCRIPTOR.message_types_by_name['SchemasCfg'] = _SCHEMASCFG |
547 DESCRIPTOR.message_types_by_name['ValidationCfg'] = _VALIDATIONCFG | 658 DESCRIPTOR.message_types_by_name['ConfigPattern'] = _CONFIGPATTERN |
| 659 DESCRIPTOR.message_types_by_name['Validator'] = _VALIDATOR |
548 DESCRIPTOR.message_types_by_name['ValidationRequestMessage'] = _VALIDATIONREQUES
TMESSAGE | 660 DESCRIPTOR.message_types_by_name['ValidationRequestMessage'] = _VALIDATIONREQUES
TMESSAGE |
549 DESCRIPTOR.message_types_by_name['ValidationResponseMessage'] = _VALIDATIONRESPO
NSEMESSAGE | 661 DESCRIPTOR.message_types_by_name['ValidationResponseMessage'] = _VALIDATIONRESPO
NSEMESSAGE |
550 | 662 |
551 class ConfigSetLocation(_message.Message): | 663 class ConfigSetLocation(_message.Message): |
552 __metaclass__ = _reflection.GeneratedProtocolMessageType | 664 __metaclass__ = _reflection.GeneratedProtocolMessageType |
553 DESCRIPTOR = _CONFIGSETLOCATION | 665 DESCRIPTOR = _CONFIGSETLOCATION |
554 | 666 |
555 # @@protoc_insertion_point(class_scope:luci.config.ConfigSetLocation) | 667 # @@protoc_insertion_point(class_scope:luci.config.ConfigSetLocation) |
556 | 668 |
557 class Project(_message.Message): | 669 class Project(_message.Message): |
558 __metaclass__ = _reflection.GeneratedProtocolMessageType | 670 __metaclass__ = _reflection.GeneratedProtocolMessageType |
559 DESCRIPTOR = _PROJECT | 671 DESCRIPTOR = _PROJECT |
560 | 672 |
561 # @@protoc_insertion_point(class_scope:luci.config.Project) | 673 # @@protoc_insertion_point(class_scope:luci.config.Project) |
562 | 674 |
563 class ProjectsCfg(_message.Message): | 675 class ProjectsCfg(_message.Message): |
564 __metaclass__ = _reflection.GeneratedProtocolMessageType | 676 __metaclass__ = _reflection.GeneratedProtocolMessageType |
565 DESCRIPTOR = _PROJECTSCFG | 677 DESCRIPTOR = _PROJECTSCFG |
566 | 678 |
567 # @@protoc_insertion_point(class_scope:luci.config.ProjectsCfg) | 679 # @@protoc_insertion_point(class_scope:luci.config.ProjectsCfg) |
568 | 680 |
| 681 class Service(_message.Message): |
| 682 __metaclass__ = _reflection.GeneratedProtocolMessageType |
| 683 DESCRIPTOR = _SERVICE |
| 684 |
| 685 # @@protoc_insertion_point(class_scope:luci.config.Service) |
| 686 |
| 687 class ServiceDynamicMetadata(_message.Message): |
| 688 __metaclass__ = _reflection.GeneratedProtocolMessageType |
| 689 DESCRIPTOR = _SERVICEDYNAMICMETADATA |
| 690 |
| 691 # @@protoc_insertion_point(class_scope:luci.config.ServiceDynamicMetadata) |
| 692 |
| 693 class ServicesCfg(_message.Message): |
| 694 __metaclass__ = _reflection.GeneratedProtocolMessageType |
| 695 DESCRIPTOR = _SERVICESCFG |
| 696 |
| 697 # @@protoc_insertion_point(class_scope:luci.config.ServicesCfg) |
| 698 |
569 class AclCfg(_message.Message): | 699 class AclCfg(_message.Message): |
570 __metaclass__ = _reflection.GeneratedProtocolMessageType | 700 __metaclass__ = _reflection.GeneratedProtocolMessageType |
571 DESCRIPTOR = _ACLCFG | 701 DESCRIPTOR = _ACLCFG |
572 | 702 |
573 # @@protoc_insertion_point(class_scope:luci.config.AclCfg) | 703 # @@protoc_insertion_point(class_scope:luci.config.AclCfg) |
574 | 704 |
575 class ImportCfg(_message.Message): | 705 class ImportCfg(_message.Message): |
576 __metaclass__ = _reflection.GeneratedProtocolMessageType | 706 __metaclass__ = _reflection.GeneratedProtocolMessageType |
577 | 707 |
578 class Gitiles(_message.Message): | 708 class Gitiles(_message.Message): |
(...skipping 10 matching lines...) Expand all Loading... |
589 | 719 |
590 class Schema(_message.Message): | 720 class Schema(_message.Message): |
591 __metaclass__ = _reflection.GeneratedProtocolMessageType | 721 __metaclass__ = _reflection.GeneratedProtocolMessageType |
592 DESCRIPTOR = _SCHEMASCFG_SCHEMA | 722 DESCRIPTOR = _SCHEMASCFG_SCHEMA |
593 | 723 |
594 # @@protoc_insertion_point(class_scope:luci.config.SchemasCfg.Schema) | 724 # @@protoc_insertion_point(class_scope:luci.config.SchemasCfg.Schema) |
595 DESCRIPTOR = _SCHEMASCFG | 725 DESCRIPTOR = _SCHEMASCFG |
596 | 726 |
597 # @@protoc_insertion_point(class_scope:luci.config.SchemasCfg) | 727 # @@protoc_insertion_point(class_scope:luci.config.SchemasCfg) |
598 | 728 |
599 class ValidationCfg(_message.Message): | 729 class ConfigPattern(_message.Message): |
600 __metaclass__ = _reflection.GeneratedProtocolMessageType | 730 __metaclass__ = _reflection.GeneratedProtocolMessageType |
| 731 DESCRIPTOR = _CONFIGPATTERN |
601 | 732 |
602 class Rule(_message.Message): | 733 # @@protoc_insertion_point(class_scope:luci.config.ConfigPattern) |
603 __metaclass__ = _reflection.GeneratedProtocolMessageType | |
604 DESCRIPTOR = _VALIDATIONCFG_RULE | |
605 | 734 |
606 # @@protoc_insertion_point(class_scope:luci.config.ValidationCfg.Rule) | 735 class Validator(_message.Message): |
607 DESCRIPTOR = _VALIDATIONCFG | 736 __metaclass__ = _reflection.GeneratedProtocolMessageType |
| 737 DESCRIPTOR = _VALIDATOR |
608 | 738 |
609 # @@protoc_insertion_point(class_scope:luci.config.ValidationCfg) | 739 # @@protoc_insertion_point(class_scope:luci.config.Validator) |
610 | 740 |
611 class ValidationRequestMessage(_message.Message): | 741 class ValidationRequestMessage(_message.Message): |
612 __metaclass__ = _reflection.GeneratedProtocolMessageType | 742 __metaclass__ = _reflection.GeneratedProtocolMessageType |
613 DESCRIPTOR = _VALIDATIONREQUESTMESSAGE | 743 DESCRIPTOR = _VALIDATIONREQUESTMESSAGE |
614 | 744 |
615 # @@protoc_insertion_point(class_scope:luci.config.ValidationRequestMessage) | 745 # @@protoc_insertion_point(class_scope:luci.config.ValidationRequestMessage) |
616 | 746 |
617 class ValidationResponseMessage(_message.Message): | 747 class ValidationResponseMessage(_message.Message): |
618 __metaclass__ = _reflection.GeneratedProtocolMessageType | 748 __metaclass__ = _reflection.GeneratedProtocolMessageType |
619 | 749 |
620 class Message(_message.Message): | 750 class Message(_message.Message): |
621 __metaclass__ = _reflection.GeneratedProtocolMessageType | 751 __metaclass__ = _reflection.GeneratedProtocolMessageType |
622 DESCRIPTOR = _VALIDATIONRESPONSEMESSAGE_MESSAGE | 752 DESCRIPTOR = _VALIDATIONRESPONSEMESSAGE_MESSAGE |
623 | 753 |
624 # @@protoc_insertion_point(class_scope:luci.config.ValidationResponseMessage
.Message) | 754 # @@protoc_insertion_point(class_scope:luci.config.ValidationResponseMessage
.Message) |
625 DESCRIPTOR = _VALIDATIONRESPONSEMESSAGE | 755 DESCRIPTOR = _VALIDATIONRESPONSEMESSAGE |
626 | 756 |
627 # @@protoc_insertion_point(class_scope:luci.config.ValidationResponseMessage) | 757 # @@protoc_insertion_point(class_scope:luci.config.ValidationResponseMessage) |
628 | 758 |
629 | 759 |
630 # @@protoc_insertion_point(module_scope) | 760 # @@protoc_insertion_point(module_scope) |
OLD | NEW |