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

Side by Side Diff: appengine/config_service/proto/service_config_pb2.py

Issue 1224913002: luci-config: fine-grained acls (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: fine-grained acls for service configs Created 5 years, 5 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 # 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\"\x84\x01\n\x07Service\x12\n\n\x02id\x18\x01 \x 01(\t\x12\x0e\n\x06owners\x18\x02 \x03(\t\x12\x37\n\x0f\x63onfig_location\x18\x0 3 \x01(\x0b\x32\x1e.luci.config.ConfigSetLocation\x12\x14\n\x0cmetadata_url\x18\ x04 \x01(\t\x12\x0e\n\x06\x61\x63\x63\x65ss\x18\x05 \x01(\t\"U\n\x16ServiceDynam icMetadata\x12\x0f\n\x07version\x18\x01 \x01(\t\x12*\n\nvalidation\x18\x02 \x01( \x0b\x32\x16.luci.config.Validator\"5\n\x0bServicesCfg\x12&\n\x08services\x18\x0 1 \x03(\x0b\x32\x14.luci.config.Service\"&\n\x06\x41\x63lCfg\x12\x1c\n\x14projec t_access_group\x18\x02 \x01(\t\"\xee\x01\n\tImportCfg\x12/\n\x07gitiles\x18\x01 \x01(\x0b\x32\x1e.luci.config.ImportCfg.Gitiles\x1a\xaf\x01\n\x07Gitiles\x12\x1a \n\x12\x66\x65tch_log_deadline\x18\x01 \x01(\x05\x12\x1e\n\x16\x66\x65tch_archiv e_deadline\x18\x02 \x01(\x05\x12\"\n\x1aproject_config_default_ref\x18\x03 \x01( \t\x12#\n\x1bproject_config_default_path\x18\x04 \x01(\t\x12\x1f\n\x17ref_config _default_path\x18\x05 \x01(\t\"b\n\nSchemasCfg\x12/\n\x07schemas\x18\x01 \x03(\x 0b\x32\x1e.luci.config.SchemasCfg.Schema\x1a#\n\x06Schema\x12\x0c\n\x04name\x18\ x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\"1\n\rConfigPattern\x12\x12\n\nconf ig_set\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\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\x18ValidationRequestMessage\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\x 04text\x18\x01 \x01(\t\x12\x41\n\x08severity\x18\x02 \x01(\x0e\x32/.luci.config. ValidationResponseMessage.Severity\"E\n\x08Severity\x12\t\n\x05\x44\x45\x42UG\x1 0\n\x12\x08\n\x04INFO\x10\x14\x12\x0b\n\x07WARNING\x10\x1e\x12\t\n\x05\x45RROR\x 10(\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
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=1360,
71 serialized_end=1179, 71 serialized_end=1429,
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
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 _descriptor.FieldDescriptor(
210 name='access', full_name='luci.config.Service.access', index=4,
211 number=5, type=9, cpp_type=9, label=1,
212 has_default_value=False, default_value=unicode("", "utf-8"),
213 message_type=None, enum_type=None, containing_type=None,
214 is_extension=False, extension_scope=None,
215 options=None),
216 ],
217 extensions=[
218 ],
219 nested_types=[],
220 enum_types=[
221 ],
222 options=None,
223 is_extendable=False,
224 extension_ranges=[],
225 serialized_start=313,
226 serialized_end=445,
227 )
228
229
230 _SERVICEDYNAMICMETADATA = _descriptor.Descriptor(
231 name='ServiceDynamicMetadata',
232 full_name='luci.config.ServiceDynamicMetadata',
233 filename=None,
234 file=DESCRIPTOR,
235 containing_type=None,
236 fields=[
237 _descriptor.FieldDescriptor(
238 name='version', full_name='luci.config.ServiceDynamicMetadata.version', in dex=0,
239 number=1, type=9, cpp_type=9, label=1,
240 has_default_value=False, default_value=unicode("", "utf-8"),
241 message_type=None, enum_type=None, containing_type=None,
242 is_extension=False, extension_scope=None,
243 options=None),
244 _descriptor.FieldDescriptor(
245 name='validation', full_name='luci.config.ServiceDynamicMetadata.validatio n', index=1,
246 number=2, type=11, cpp_type=10, label=1,
247 has_default_value=False, default_value=None,
248 message_type=None, enum_type=None, containing_type=None,
249 is_extension=False, extension_scope=None,
250 options=None),
251 ],
252 extensions=[
253 ],
254 nested_types=[],
255 enum_types=[
256 ],
257 options=None,
258 is_extendable=False,
259 extension_ranges=[],
260 serialized_start=447,
261 serialized_end=532,
262 )
263
264
265 _SERVICESCFG = _descriptor.Descriptor(
266 name='ServicesCfg',
267 full_name='luci.config.ServicesCfg',
268 filename=None,
269 file=DESCRIPTOR,
270 containing_type=None,
271 fields=[
272 _descriptor.FieldDescriptor(
273 name='services', full_name='luci.config.ServicesCfg.services', index=0,
274 number=1, type=11, cpp_type=10, label=3,
275 has_default_value=False, default_value=[],
276 message_type=None, enum_type=None, containing_type=None,
277 is_extension=False, extension_scope=None,
278 options=None),
279 ],
280 extensions=[
281 ],
282 nested_types=[],
283 enum_types=[
284 ],
285 options=None,
286 is_extendable=False,
287 extension_ranges=[],
288 serialized_start=534,
289 serialized_end=587,
290 )
291
292
174 _ACLCFG = _descriptor.Descriptor( 293 _ACLCFG = _descriptor.Descriptor(
175 name='AclCfg', 294 name='AclCfg',
176 full_name='luci.config.AclCfg', 295 full_name='luci.config.AclCfg',
177 filename=None, 296 filename=None,
178 file=DESCRIPTOR, 297 file=DESCRIPTOR,
179 containing_type=None, 298 containing_type=None,
180 fields=[ 299 fields=[
181 _descriptor.FieldDescriptor( 300 _descriptor.FieldDescriptor(
182 name='service_access_group', full_name='luci.config.AclCfg.service_access_ group', index=0, 301 name='project_access_group', full_name='luci.config.AclCfg.project_access_ group', 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='project_access_group', full_name='luci.config.AclCfg.project_access_ group', index=1,
190 number=2, type=9, cpp_type=9, label=1, 302 number=2, type=9, cpp_type=9, label=1,
191 has_default_value=False, default_value=unicode("", "utf-8"), 303 has_default_value=False, default_value=unicode("", "utf-8"),
192 message_type=None, enum_type=None, containing_type=None, 304 message_type=None, enum_type=None, containing_type=None,
193 is_extension=False, extension_scope=None, 305 is_extension=False, extension_scope=None,
194 options=None), 306 options=None),
195 ], 307 ],
196 extensions=[ 308 extensions=[
197 ], 309 ],
198 nested_types=[], 310 nested_types=[],
199 enum_types=[ 311 enum_types=[
200 ], 312 ],
201 options=None, 313 options=None,
202 is_extendable=False, 314 is_extendable=False,
203 extension_ranges=[], 315 extension_ranges=[],
204 serialized_start=312, 316 serialized_start=589,
205 serialized_end=380, 317 serialized_end=627,
206 ) 318 )
207 319
208 320
209 _IMPORTCFG_GITILES = _descriptor.Descriptor( 321 _IMPORTCFG_GITILES = _descriptor.Descriptor(
210 name='Gitiles', 322 name='Gitiles',
211 full_name='luci.config.ImportCfg.Gitiles', 323 full_name='luci.config.ImportCfg.Gitiles',
212 filename=None, 324 filename=None,
213 file=DESCRIPTOR, 325 file=DESCRIPTOR,
214 containing_type=None, 326 containing_type=None,
215 fields=[ 327 fields=[
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 options=None), 362 options=None),
251 ], 363 ],
252 extensions=[ 364 extensions=[
253 ], 365 ],
254 nested_types=[], 366 nested_types=[],
255 enum_types=[ 367 enum_types=[
256 ], 368 ],
257 options=None, 369 options=None,
258 is_extendable=False, 370 is_extendable=False,
259 extension_ranges=[], 371 extension_ranges=[],
260 serialized_start=446, 372 serialized_start=693,
261 serialized_end=621, 373 serialized_end=868,
262 ) 374 )
263 375
264 _IMPORTCFG = _descriptor.Descriptor( 376 _IMPORTCFG = _descriptor.Descriptor(
265 name='ImportCfg', 377 name='ImportCfg',
266 full_name='luci.config.ImportCfg', 378 full_name='luci.config.ImportCfg',
267 filename=None, 379 filename=None,
268 file=DESCRIPTOR, 380 file=DESCRIPTOR,
269 containing_type=None, 381 containing_type=None,
270 fields=[ 382 fields=[
271 _descriptor.FieldDescriptor( 383 _descriptor.FieldDescriptor(
272 name='gitiles', full_name='luci.config.ImportCfg.gitiles', index=0, 384 name='gitiles', full_name='luci.config.ImportCfg.gitiles', index=0,
273 number=1, type=11, cpp_type=10, label=1, 385 number=1, type=11, cpp_type=10, label=1,
274 has_default_value=False, default_value=None, 386 has_default_value=False, default_value=None,
275 message_type=None, enum_type=None, containing_type=None, 387 message_type=None, enum_type=None, containing_type=None,
276 is_extension=False, extension_scope=None, 388 is_extension=False, extension_scope=None,
277 options=None), 389 options=None),
278 ], 390 ],
279 extensions=[ 391 extensions=[
280 ], 392 ],
281 nested_types=[_IMPORTCFG_GITILES, ], 393 nested_types=[_IMPORTCFG_GITILES, ],
282 enum_types=[ 394 enum_types=[
283 ], 395 ],
284 options=None, 396 options=None,
285 is_extendable=False, 397 is_extendable=False,
286 extension_ranges=[], 398 extension_ranges=[],
287 serialized_start=383, 399 serialized_start=630,
288 serialized_end=621, 400 serialized_end=868,
289 ) 401 )
290 402
291 403
292 _SCHEMASCFG_SCHEMA = _descriptor.Descriptor( 404 _SCHEMASCFG_SCHEMA = _descriptor.Descriptor(
293 name='Schema', 405 name='Schema',
294 full_name='luci.config.SchemasCfg.Schema', 406 full_name='luci.config.SchemasCfg.Schema',
295 filename=None, 407 filename=None,
296 file=DESCRIPTOR, 408 file=DESCRIPTOR,
297 containing_type=None, 409 containing_type=None,
298 fields=[ 410 fields=[
(...skipping 13 matching lines...) Expand all
312 options=None), 424 options=None),
313 ], 425 ],
314 extensions=[ 426 extensions=[
315 ], 427 ],
316 nested_types=[], 428 nested_types=[],
317 enum_types=[ 429 enum_types=[
318 ], 430 ],
319 options=None, 431 options=None,
320 is_extendable=False, 432 is_extendable=False,
321 extension_ranges=[], 433 extension_ranges=[],
322 serialized_start=686, 434 serialized_start=933,
323 serialized_end=721, 435 serialized_end=968,
324 ) 436 )
325 437
326 _SCHEMASCFG = _descriptor.Descriptor( 438 _SCHEMASCFG = _descriptor.Descriptor(
327 name='SchemasCfg', 439 name='SchemasCfg',
328 full_name='luci.config.SchemasCfg', 440 full_name='luci.config.SchemasCfg',
329 filename=None, 441 filename=None,
330 file=DESCRIPTOR, 442 file=DESCRIPTOR,
331 containing_type=None, 443 containing_type=None,
332 fields=[ 444 fields=[
333 _descriptor.FieldDescriptor( 445 _descriptor.FieldDescriptor(
334 name='schemas', full_name='luci.config.SchemasCfg.schemas', index=0, 446 name='schemas', full_name='luci.config.SchemasCfg.schemas', index=0,
335 number=1, type=11, cpp_type=10, label=3, 447 number=1, type=11, cpp_type=10, label=3,
336 has_default_value=False, default_value=[], 448 has_default_value=False, default_value=[],
337 message_type=None, enum_type=None, containing_type=None, 449 message_type=None, enum_type=None, containing_type=None,
338 is_extension=False, extension_scope=None, 450 is_extension=False, extension_scope=None,
339 options=None), 451 options=None),
340 ], 452 ],
341 extensions=[ 453 extensions=[
342 ], 454 ],
343 nested_types=[_SCHEMASCFG_SCHEMA, ], 455 nested_types=[_SCHEMASCFG_SCHEMA, ],
344 enum_types=[ 456 enum_types=[
345 ], 457 ],
346 options=None, 458 options=None,
347 is_extendable=False, 459 is_extendable=False,
348 extension_ranges=[], 460 extension_ranges=[],
349 serialized_start=623, 461 serialized_start=870,
350 serialized_end=721, 462 serialized_end=968,
351 ) 463 )
352 464
353 465
354 _VALIDATIONCFG_RULE = _descriptor.Descriptor( 466 _CONFIGPATTERN = _descriptor.Descriptor(
355 name='Rule', 467 name='ConfigPattern',
356 full_name='luci.config.ValidationCfg.Rule', 468 full_name='luci.config.ConfigPattern',
357 filename=None, 469 filename=None,
358 file=DESCRIPTOR, 470 file=DESCRIPTOR,
359 containing_type=None, 471 containing_type=None,
360 fields=[ 472 fields=[
361 _descriptor.FieldDescriptor( 473 _descriptor.FieldDescriptor(
362 name='config_set', full_name='luci.config.ValidationCfg.Rule.config_set', index=0, 474 name='config_set', full_name='luci.config.ConfigPattern.config_set', index =0,
363 number=1, type=9, cpp_type=9, label=1, 475 number=1, type=9, cpp_type=9, label=1,
364 has_default_value=False, default_value=unicode("", "utf-8"), 476 has_default_value=False, default_value=unicode("", "utf-8"),
365 message_type=None, enum_type=None, containing_type=None, 477 message_type=None, enum_type=None, containing_type=None,
366 is_extension=False, extension_scope=None, 478 is_extension=False, extension_scope=None,
367 options=None), 479 options=None),
368 _descriptor.FieldDescriptor( 480 _descriptor.FieldDescriptor(
369 name='path', full_name='luci.config.ValidationCfg.Rule.path', index=1, 481 name='path', full_name='luci.config.ConfigPattern.path', index=1,
370 number=2, type=9, cpp_type=9, label=1, 482 number=2, type=9, cpp_type=9, label=1,
371 has_default_value=False, default_value=unicode("", "utf-8"), 483 has_default_value=False, default_value=unicode("", "utf-8"),
372 message_type=None, enum_type=None, containing_type=None, 484 message_type=None, enum_type=None, containing_type=None,
373 is_extension=False, extension_scope=None, 485 is_extension=False, extension_scope=None,
374 options=None), 486 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 ], 487 ],
383 extensions=[ 488 extensions=[
384 ], 489 ],
385 nested_types=[], 490 nested_types=[],
386 enum_types=[ 491 enum_types=[
387 ], 492 ],
388 options=None, 493 options=None,
389 is_extendable=False, 494 is_extendable=False,
390 extension_ranges=[], 495 extension_ranges=[],
391 serialized_start=788, 496 serialized_start=970,
392 serialized_end=841, 497 serialized_end=1019,
393 ) 498 )
394 499
395 _VALIDATIONCFG = _descriptor.Descriptor( 500
396 name='ValidationCfg', 501 _VALIDATOR = _descriptor.Descriptor(
397 full_name='luci.config.ValidationCfg', 502 name='Validator',
503 full_name='luci.config.Validator',
398 filename=None, 504 filename=None,
399 file=DESCRIPTOR, 505 file=DESCRIPTOR,
400 containing_type=None, 506 containing_type=None,
401 fields=[ 507 fields=[
402 _descriptor.FieldDescriptor( 508 _descriptor.FieldDescriptor(
403 name='rules', full_name='luci.config.ValidationCfg.rules', index=0, 509 name='patterns', full_name='luci.config.Validator.patterns', index=0,
404 number=1, type=11, cpp_type=10, label=3, 510 number=1, type=11, cpp_type=10, label=3,
405 has_default_value=False, default_value=[], 511 has_default_value=False, default_value=[],
406 message_type=None, enum_type=None, containing_type=None, 512 message_type=None, enum_type=None, containing_type=None,
407 is_extension=False, extension_scope=None, 513 is_extension=False, extension_scope=None,
408 options=None), 514 options=None),
515 _descriptor.FieldDescriptor(
516 name='url', full_name='luci.config.Validator.url', index=1,
517 number=2, type=9, cpp_type=9, label=1,
518 has_default_value=False, default_value=unicode("", "utf-8"),
519 message_type=None, enum_type=None, containing_type=None,
520 is_extension=False, extension_scope=None,
521 options=None),
409 ], 522 ],
410 extensions=[ 523 extensions=[
411 ], 524 ],
412 nested_types=[_VALIDATIONCFG_RULE, ], 525 nested_types=[],
413 enum_types=[ 526 enum_types=[
414 ], 527 ],
415 options=None, 528 options=None,
416 is_extendable=False, 529 is_extendable=False,
417 extension_ranges=[], 530 extension_ranges=[],
418 serialized_start=723, 531 serialized_start=1021,
419 serialized_end=841, 532 serialized_end=1091,
420 ) 533 )
421 534
422 535
423 _VALIDATIONREQUESTMESSAGE = _descriptor.Descriptor( 536 _VALIDATIONREQUESTMESSAGE = _descriptor.Descriptor(
424 name='ValidationRequestMessage', 537 name='ValidationRequestMessage',
425 full_name='luci.config.ValidationRequestMessage', 538 full_name='luci.config.ValidationRequestMessage',
426 filename=None, 539 filename=None,
427 file=DESCRIPTOR, 540 file=DESCRIPTOR,
428 containing_type=None, 541 containing_type=None,
429 fields=[ 542 fields=[
(...skipping 20 matching lines...) Expand all
450 options=None), 563 options=None),
451 ], 564 ],
452 extensions=[ 565 extensions=[
453 ], 566 ],
454 nested_types=[], 567 nested_types=[],
455 enum_types=[ 568 enum_types=[
456 ], 569 ],
457 options=None, 570 options=None,
458 is_extendable=False, 571 is_extendable=False,
459 extension_ranges=[], 572 extension_ranges=[],
460 serialized_start=843, 573 serialized_start=1093,
461 serialized_end=920, 574 serialized_end=1170,
462 ) 575 )
463 576
464 577
465 _VALIDATIONRESPONSEMESSAGE_MESSAGE = _descriptor.Descriptor( 578 _VALIDATIONRESPONSEMESSAGE_MESSAGE = _descriptor.Descriptor(
466 name='Message', 579 name='Message',
467 full_name='luci.config.ValidationResponseMessage.Message', 580 full_name='luci.config.ValidationResponseMessage.Message',
468 filename=None, 581 filename=None,
469 file=DESCRIPTOR, 582 file=DESCRIPTOR,
470 containing_type=None, 583 containing_type=None,
471 fields=[ 584 fields=[
(...skipping 13 matching lines...) Expand all
485 options=None), 598 options=None),
486 ], 599 ],
487 extensions=[ 600 extensions=[
488 ], 601 ],
489 nested_types=[], 602 nested_types=[],
490 enum_types=[ 603 enum_types=[
491 ], 604 ],
492 options=None, 605 options=None,
493 is_extendable=False, 606 is_extendable=False,
494 extension_ranges=[], 607 extension_ranges=[],
495 serialized_start=1018, 608 serialized_start=1268,
496 serialized_end=1108, 609 serialized_end=1358,
497 ) 610 )
498 611
499 _VALIDATIONRESPONSEMESSAGE = _descriptor.Descriptor( 612 _VALIDATIONRESPONSEMESSAGE = _descriptor.Descriptor(
500 name='ValidationResponseMessage', 613 name='ValidationResponseMessage',
501 full_name='luci.config.ValidationResponseMessage', 614 full_name='luci.config.ValidationResponseMessage',
502 filename=None, 615 filename=None,
503 file=DESCRIPTOR, 616 file=DESCRIPTOR,
504 containing_type=None, 617 containing_type=None,
505 fields=[ 618 fields=[
506 _descriptor.FieldDescriptor( 619 _descriptor.FieldDescriptor(
507 name='messages', full_name='luci.config.ValidationResponseMessage.messages ', index=0, 620 name='messages', full_name='luci.config.ValidationResponseMessage.messages ', index=0,
508 number=1, type=11, cpp_type=10, label=3, 621 number=1, type=11, cpp_type=10, label=3,
509 has_default_value=False, default_value=[], 622 has_default_value=False, default_value=[],
510 message_type=None, enum_type=None, containing_type=None, 623 message_type=None, enum_type=None, containing_type=None,
511 is_extension=False, extension_scope=None, 624 is_extension=False, extension_scope=None,
512 options=None), 625 options=None),
513 ], 626 ],
514 extensions=[ 627 extensions=[
515 ], 628 ],
516 nested_types=[_VALIDATIONRESPONSEMESSAGE_MESSAGE, ], 629 nested_types=[_VALIDATIONRESPONSEMESSAGE_MESSAGE, ],
517 enum_types=[ 630 enum_types=[
518 _VALIDATIONRESPONSEMESSAGE_SEVERITY, 631 _VALIDATIONRESPONSEMESSAGE_SEVERITY,
519 ], 632 ],
520 options=None, 633 options=None,
521 is_extendable=False, 634 is_extendable=False,
522 extension_ranges=[], 635 extension_ranges=[],
523 serialized_start=923, 636 serialized_start=1173,
524 serialized_end=1179, 637 serialized_end=1429,
525 ) 638 )
526 639
527 _CONFIGSETLOCATION.fields_by_name['storage_type'].enum_type = _CONFIGSETLOCATION _STORAGETYPE 640 _CONFIGSETLOCATION.fields_by_name['storage_type'].enum_type = _CONFIGSETLOCATION _STORAGETYPE
528 _CONFIGSETLOCATION_STORAGETYPE.containing_type = _CONFIGSETLOCATION; 641 _CONFIGSETLOCATION_STORAGETYPE.containing_type = _CONFIGSETLOCATION;
529 _PROJECT.fields_by_name['config_location'].message_type = _CONFIGSETLOCATION 642 _PROJECT.fields_by_name['config_location'].message_type = _CONFIGSETLOCATION
530 _PROJECTSCFG.fields_by_name['projects'].message_type = _PROJECT 643 _PROJECTSCFG.fields_by_name['projects'].message_type = _PROJECT
644 _SERVICE.fields_by_name['config_location'].message_type = _CONFIGSETLOCATION
645 _SERVICEDYNAMICMETADATA.fields_by_name['validation'].message_type = _VALIDATOR
646 _SERVICESCFG.fields_by_name['services'].message_type = _SERVICE
531 _IMPORTCFG_GITILES.containing_type = _IMPORTCFG; 647 _IMPORTCFG_GITILES.containing_type = _IMPORTCFG;
532 _IMPORTCFG.fields_by_name['gitiles'].message_type = _IMPORTCFG_GITILES 648 _IMPORTCFG.fields_by_name['gitiles'].message_type = _IMPORTCFG_GITILES
533 _SCHEMASCFG_SCHEMA.containing_type = _SCHEMASCFG; 649 _SCHEMASCFG_SCHEMA.containing_type = _SCHEMASCFG;
534 _SCHEMASCFG.fields_by_name['schemas'].message_type = _SCHEMASCFG_SCHEMA 650 _SCHEMASCFG.fields_by_name['schemas'].message_type = _SCHEMASCFG_SCHEMA
535 _VALIDATIONCFG_RULE.containing_type = _VALIDATIONCFG; 651 _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 652 _VALIDATIONRESPONSEMESSAGE_MESSAGE.fields_by_name['severity'].enum_type = _VALID ATIONRESPONSEMESSAGE_SEVERITY
538 _VALIDATIONRESPONSEMESSAGE_MESSAGE.containing_type = _VALIDATIONRESPONSEMESSAGE; 653 _VALIDATIONRESPONSEMESSAGE_MESSAGE.containing_type = _VALIDATIONRESPONSEMESSAGE;
539 _VALIDATIONRESPONSEMESSAGE.fields_by_name['messages'].message_type = _VALIDATION RESPONSEMESSAGE_MESSAGE 654 _VALIDATIONRESPONSEMESSAGE.fields_by_name['messages'].message_type = _VALIDATION RESPONSEMESSAGE_MESSAGE
540 _VALIDATIONRESPONSEMESSAGE_SEVERITY.containing_type = _VALIDATIONRESPONSEMESSAGE ; 655 _VALIDATIONRESPONSEMESSAGE_SEVERITY.containing_type = _VALIDATIONRESPONSEMESSAGE ;
541 DESCRIPTOR.message_types_by_name['ConfigSetLocation'] = _CONFIGSETLOCATION 656 DESCRIPTOR.message_types_by_name['ConfigSetLocation'] = _CONFIGSETLOCATION
542 DESCRIPTOR.message_types_by_name['Project'] = _PROJECT 657 DESCRIPTOR.message_types_by_name['Project'] = _PROJECT
543 DESCRIPTOR.message_types_by_name['ProjectsCfg'] = _PROJECTSCFG 658 DESCRIPTOR.message_types_by_name['ProjectsCfg'] = _PROJECTSCFG
659 DESCRIPTOR.message_types_by_name['Service'] = _SERVICE
660 DESCRIPTOR.message_types_by_name['ServiceDynamicMetadata'] = _SERVICEDYNAMICMETA DATA
661 DESCRIPTOR.message_types_by_name['ServicesCfg'] = _SERVICESCFG
544 DESCRIPTOR.message_types_by_name['AclCfg'] = _ACLCFG 662 DESCRIPTOR.message_types_by_name['AclCfg'] = _ACLCFG
545 DESCRIPTOR.message_types_by_name['ImportCfg'] = _IMPORTCFG 663 DESCRIPTOR.message_types_by_name['ImportCfg'] = _IMPORTCFG
546 DESCRIPTOR.message_types_by_name['SchemasCfg'] = _SCHEMASCFG 664 DESCRIPTOR.message_types_by_name['SchemasCfg'] = _SCHEMASCFG
547 DESCRIPTOR.message_types_by_name['ValidationCfg'] = _VALIDATIONCFG 665 DESCRIPTOR.message_types_by_name['ConfigPattern'] = _CONFIGPATTERN
666 DESCRIPTOR.message_types_by_name['Validator'] = _VALIDATOR
548 DESCRIPTOR.message_types_by_name['ValidationRequestMessage'] = _VALIDATIONREQUES TMESSAGE 667 DESCRIPTOR.message_types_by_name['ValidationRequestMessage'] = _VALIDATIONREQUES TMESSAGE
549 DESCRIPTOR.message_types_by_name['ValidationResponseMessage'] = _VALIDATIONRESPO NSEMESSAGE 668 DESCRIPTOR.message_types_by_name['ValidationResponseMessage'] = _VALIDATIONRESPO NSEMESSAGE
550 669
551 class ConfigSetLocation(_message.Message): 670 class ConfigSetLocation(_message.Message):
552 __metaclass__ = _reflection.GeneratedProtocolMessageType 671 __metaclass__ = _reflection.GeneratedProtocolMessageType
553 DESCRIPTOR = _CONFIGSETLOCATION 672 DESCRIPTOR = _CONFIGSETLOCATION
554 673
555 # @@protoc_insertion_point(class_scope:luci.config.ConfigSetLocation) 674 # @@protoc_insertion_point(class_scope:luci.config.ConfigSetLocation)
556 675
557 class Project(_message.Message): 676 class Project(_message.Message):
558 __metaclass__ = _reflection.GeneratedProtocolMessageType 677 __metaclass__ = _reflection.GeneratedProtocolMessageType
559 DESCRIPTOR = _PROJECT 678 DESCRIPTOR = _PROJECT
560 679
561 # @@protoc_insertion_point(class_scope:luci.config.Project) 680 # @@protoc_insertion_point(class_scope:luci.config.Project)
562 681
563 class ProjectsCfg(_message.Message): 682 class ProjectsCfg(_message.Message):
564 __metaclass__ = _reflection.GeneratedProtocolMessageType 683 __metaclass__ = _reflection.GeneratedProtocolMessageType
565 DESCRIPTOR = _PROJECTSCFG 684 DESCRIPTOR = _PROJECTSCFG
566 685
567 # @@protoc_insertion_point(class_scope:luci.config.ProjectsCfg) 686 # @@protoc_insertion_point(class_scope:luci.config.ProjectsCfg)
568 687
688 class Service(_message.Message):
689 __metaclass__ = _reflection.GeneratedProtocolMessageType
690 DESCRIPTOR = _SERVICE
691
692 # @@protoc_insertion_point(class_scope:luci.config.Service)
693
694 class ServiceDynamicMetadata(_message.Message):
695 __metaclass__ = _reflection.GeneratedProtocolMessageType
696 DESCRIPTOR = _SERVICEDYNAMICMETADATA
697
698 # @@protoc_insertion_point(class_scope:luci.config.ServiceDynamicMetadata)
699
700 class ServicesCfg(_message.Message):
701 __metaclass__ = _reflection.GeneratedProtocolMessageType
702 DESCRIPTOR = _SERVICESCFG
703
704 # @@protoc_insertion_point(class_scope:luci.config.ServicesCfg)
705
569 class AclCfg(_message.Message): 706 class AclCfg(_message.Message):
570 __metaclass__ = _reflection.GeneratedProtocolMessageType 707 __metaclass__ = _reflection.GeneratedProtocolMessageType
571 DESCRIPTOR = _ACLCFG 708 DESCRIPTOR = _ACLCFG
572 709
573 # @@protoc_insertion_point(class_scope:luci.config.AclCfg) 710 # @@protoc_insertion_point(class_scope:luci.config.AclCfg)
574 711
575 class ImportCfg(_message.Message): 712 class ImportCfg(_message.Message):
576 __metaclass__ = _reflection.GeneratedProtocolMessageType 713 __metaclass__ = _reflection.GeneratedProtocolMessageType
577 714
578 class Gitiles(_message.Message): 715 class Gitiles(_message.Message):
(...skipping 10 matching lines...) Expand all
589 726
590 class Schema(_message.Message): 727 class Schema(_message.Message):
591 __metaclass__ = _reflection.GeneratedProtocolMessageType 728 __metaclass__ = _reflection.GeneratedProtocolMessageType
592 DESCRIPTOR = _SCHEMASCFG_SCHEMA 729 DESCRIPTOR = _SCHEMASCFG_SCHEMA
593 730
594 # @@protoc_insertion_point(class_scope:luci.config.SchemasCfg.Schema) 731 # @@protoc_insertion_point(class_scope:luci.config.SchemasCfg.Schema)
595 DESCRIPTOR = _SCHEMASCFG 732 DESCRIPTOR = _SCHEMASCFG
596 733
597 # @@protoc_insertion_point(class_scope:luci.config.SchemasCfg) 734 # @@protoc_insertion_point(class_scope:luci.config.SchemasCfg)
598 735
599 class ValidationCfg(_message.Message): 736 class ConfigPattern(_message.Message):
600 __metaclass__ = _reflection.GeneratedProtocolMessageType 737 __metaclass__ = _reflection.GeneratedProtocolMessageType
738 DESCRIPTOR = _CONFIGPATTERN
601 739
602 class Rule(_message.Message): 740 # @@protoc_insertion_point(class_scope:luci.config.ConfigPattern)
603 __metaclass__ = _reflection.GeneratedProtocolMessageType
604 DESCRIPTOR = _VALIDATIONCFG_RULE
605 741
606 # @@protoc_insertion_point(class_scope:luci.config.ValidationCfg.Rule) 742 class Validator(_message.Message):
607 DESCRIPTOR = _VALIDATIONCFG 743 __metaclass__ = _reflection.GeneratedProtocolMessageType
744 DESCRIPTOR = _VALIDATOR
608 745
609 # @@protoc_insertion_point(class_scope:luci.config.ValidationCfg) 746 # @@protoc_insertion_point(class_scope:luci.config.Validator)
610 747
611 class ValidationRequestMessage(_message.Message): 748 class ValidationRequestMessage(_message.Message):
612 __metaclass__ = _reflection.GeneratedProtocolMessageType 749 __metaclass__ = _reflection.GeneratedProtocolMessageType
613 DESCRIPTOR = _VALIDATIONREQUESTMESSAGE 750 DESCRIPTOR = _VALIDATIONREQUESTMESSAGE
614 751
615 # @@protoc_insertion_point(class_scope:luci.config.ValidationRequestMessage) 752 # @@protoc_insertion_point(class_scope:luci.config.ValidationRequestMessage)
616 753
617 class ValidationResponseMessage(_message.Message): 754 class ValidationResponseMessage(_message.Message):
618 __metaclass__ = _reflection.GeneratedProtocolMessageType 755 __metaclass__ = _reflection.GeneratedProtocolMessageType
619 756
620 class Message(_message.Message): 757 class Message(_message.Message):
621 __metaclass__ = _reflection.GeneratedProtocolMessageType 758 __metaclass__ = _reflection.GeneratedProtocolMessageType
622 DESCRIPTOR = _VALIDATIONRESPONSEMESSAGE_MESSAGE 759 DESCRIPTOR = _VALIDATIONRESPONSEMESSAGE_MESSAGE
623 760
624 # @@protoc_insertion_point(class_scope:luci.config.ValidationResponseMessage .Message) 761 # @@protoc_insertion_point(class_scope:luci.config.ValidationResponseMessage .Message)
625 DESCRIPTOR = _VALIDATIONRESPONSEMESSAGE 762 DESCRIPTOR = _VALIDATIONRESPONSEMESSAGE
626 763
627 # @@protoc_insertion_point(class_scope:luci.config.ValidationResponseMessage) 764 # @@protoc_insertion_point(class_scope:luci.config.ValidationResponseMessage)
628 765
629 766
630 # @@protoc_insertion_point(module_scope) 767 # @@protoc_insertion_point(module_scope)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698