OLD | NEW |
1 # Generated by the protocol buffer compiler. DO NOT EDIT! | 1 # Generated by the protocol buffer compiler. DO NOT EDIT! |
2 # source: project_config.proto | 2 # source: project_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='project_config.proto', | 14 name='project_config.proto', |
15 package='buildbucket', | 15 package='buildbucket', |
16 serialized_pb='\n\x14project_config.proto\x12\x0b\x62uildbucket\"z\n\x03\x41\x
63l\x12#\n\x04role\x18\x01 \x01(\x0e\x32\x15.buildbucket.Acl.Role\x12\r\n\x05gro
up\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\"-\n\x04Role\x12\n\n\x0
6READER\x10\x00\x12\r\n\tSCHEDULER\x10\x01\x12\n\n\x06WRITER\x10\x02\"\xac\x04\n
\x08Swarming\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x12\n\nurl_format\x18\x02
\x01(\t\x12\x1c\n\x14\x63ommon_swarming_tags\x18\x03 \x03(\t\x12\x19\n\x11\x63o
mmon_dimensions\x18\x04 \x03(\t\x12/\n\x08\x62uilders\x18\x05 \x03(\x0b\x32\x1d.
buildbucket.Swarming.Builder\x12\x33\n\rcommon_recipe\x18\x06 \x01(\x0b\x32\x1c.
buildbucket.Swarming.Recipe\x12%\n\x1d\x63ommon_execution_timeout_secs\x18\x07 \
x01(\r\x12\'\n\x1ftask_template_canary_percentage\x18\x08 \x01(\r\x1aT\n\x06Reci
pe\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x
12\n\nproperties\x18\x03 \x03(\t\x12\x14\n\x0cproperties_j\x18\x04 \x03(\t\x1a\x
b4\x01\n\x07\x42uilder\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61te
gory\x18\x06 \x01(\t\x12\x15\n\rswarming_tags\x18\x02 \x03(\t\x12\x12\n\ndimensi
ons\x18\x03 \x03(\t\x12,\n\x06recipe\x18\x04 \x01(\x0b\x32\x1c.buildbucket.Swarm
ing.Recipe\x12\x10\n\x08priority\x18\x05 \x01(\r\x12\x1e\n\x16\x65xecution_timeo
ut_secs\x18\x07 \x01(\r\"_\n\x06\x42ucket\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\
x1e\n\x04\x61\x63ls\x18\x02 \x03(\x0b\x32\x10.buildbucket.Acl\x12\'\n\x08swarmin
g\x18\x03 \x01(\x0b\x32\x15.buildbucket.Swarming\"6\n\x0e\x42uildbucketCfg\x12$\
n\x07\x62uckets\x18\x01 \x03(\x0b\x32\x13.buildbucket.Bucket') | 16 serialized_pb='\n\x14project_config.proto\x12\x0b\x62uildbucket\"z\n\x03\x41\x
63l\x12#\n\x04role\x18\x01 \x01(\x0e\x32\x15.buildbucket.Acl.Role\x12\r\n\x05gro
up\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\"-\n\x04Role\x12\n\n\x0
6READER\x10\x00\x12\r\n\tSCHEDULER\x10\x01\x12\n\n\x06WRITER\x10\x02\"\xe5\x04\n
\x08Swarming\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x12\n\nurl_format\x18\x02
\x01(\t\x12\x37\n\x10\x62uilder_defaults\x18\t \x01(\x0b\x32\x1d.buildbucket.Sw
arming.Builder\x12\x1c\n\x14\x63ommon_swarming_tags\x18\x03 \x03(\t\x12\x19\n\x1
1\x63ommon_dimensions\x18\x04 \x03(\t\x12/\n\x08\x62uilders\x18\x05 \x03(\x0b\x3
2\x1d.buildbucket.Swarming.Builder\x12\x33\n\rcommon_recipe\x18\x06 \x01(\x0b\x3
2\x1c.buildbucket.Swarming.Recipe\x12%\n\x1d\x63ommon_execution_timeout_secs\x18
\x07 \x01(\r\x12\'\n\x1ftask_template_canary_percentage\x18\x08 \x01(\r\x1aT\n\x
06Recipe\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t
\x12\x12\n\nproperties\x18\x03 \x03(\t\x12\x14\n\x0cproperties_j\x18\x04 \x03(\t
\x1a\xb4\x01\n\x07\x42uilder\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x63
\x61tegory\x18\x06 \x01(\t\x12\x15\n\rswarming_tags\x18\x02 \x03(\t\x12\x12\n\nd
imensions\x18\x03 \x03(\t\x12,\n\x06recipe\x18\x04 \x01(\x0b\x32\x1c.buildbucket
.Swarming.Recipe\x12\x10\n\x08priority\x18\x05 \x01(\r\x12\x1e\n\x16\x65xecution
_timeout_secs\x18\x07 \x01(\r\"_\n\x06\x42ucket\x12\x0c\n\x04name\x18\x01 \x01(\
t\x12\x1e\n\x04\x61\x63ls\x18\x02 \x03(\x0b\x32\x10.buildbucket.Acl\x12\'\n\x08s
warming\x18\x03 \x01(\x0b\x32\x15.buildbucket.Swarming\"6\n\x0e\x42uildbucketCfg
\x12$\n\x07\x62uckets\x18\x01 \x03(\x0b\x32\x13.buildbucket.Bucket') |
17 | 17 |
18 | 18 |
19 | 19 |
20 _ACL_ROLE = _descriptor.EnumDescriptor( | 20 _ACL_ROLE = _descriptor.EnumDescriptor( |
21 name='Role', | 21 name='Role', |
22 full_name='buildbucket.Acl.Role', | 22 full_name='buildbucket.Acl.Role', |
23 filename=None, | 23 filename=None, |
24 file=DESCRIPTOR, | 24 file=DESCRIPTOR, |
25 values=[ | 25 values=[ |
26 _descriptor.EnumValueDescriptor( | 26 _descriptor.EnumValueDescriptor( |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 options=None), | 123 options=None), |
124 ], | 124 ], |
125 extensions=[ | 125 extensions=[ |
126 ], | 126 ], |
127 nested_types=[], | 127 nested_types=[], |
128 enum_types=[ | 128 enum_types=[ |
129 ], | 129 ], |
130 options=None, | 130 options=None, |
131 is_extendable=False, | 131 is_extendable=False, |
132 extension_ranges=[], | 132 extension_ranges=[], |
133 serialized_start=451, | 133 serialized_start=508, |
134 serialized_end=535, | 134 serialized_end=592, |
135 ) | 135 ) |
136 | 136 |
137 _SWARMING_BUILDER = _descriptor.Descriptor( | 137 _SWARMING_BUILDER = _descriptor.Descriptor( |
138 name='Builder', | 138 name='Builder', |
139 full_name='buildbucket.Swarming.Builder', | 139 full_name='buildbucket.Swarming.Builder', |
140 filename=None, | 140 filename=None, |
141 file=DESCRIPTOR, | 141 file=DESCRIPTOR, |
142 containing_type=None, | 142 containing_type=None, |
143 fields=[ | 143 fields=[ |
144 _descriptor.FieldDescriptor( | 144 _descriptor.FieldDescriptor( |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 options=None), | 192 options=None), |
193 ], | 193 ], |
194 extensions=[ | 194 extensions=[ |
195 ], | 195 ], |
196 nested_types=[], | 196 nested_types=[], |
197 enum_types=[ | 197 enum_types=[ |
198 ], | 198 ], |
199 options=None, | 199 options=None, |
200 is_extendable=False, | 200 is_extendable=False, |
201 extension_ranges=[], | 201 extension_ranges=[], |
202 serialized_start=538, | 202 serialized_start=595, |
203 serialized_end=718, | 203 serialized_end=775, |
204 ) | 204 ) |
205 | 205 |
206 _SWARMING = _descriptor.Descriptor( | 206 _SWARMING = _descriptor.Descriptor( |
207 name='Swarming', | 207 name='Swarming', |
208 full_name='buildbucket.Swarming', | 208 full_name='buildbucket.Swarming', |
209 filename=None, | 209 filename=None, |
210 file=DESCRIPTOR, | 210 file=DESCRIPTOR, |
211 containing_type=None, | 211 containing_type=None, |
212 fields=[ | 212 fields=[ |
213 _descriptor.FieldDescriptor( | 213 _descriptor.FieldDescriptor( |
214 name='hostname', full_name='buildbucket.Swarming.hostname', index=0, | 214 name='hostname', full_name='buildbucket.Swarming.hostname', index=0, |
215 number=1, type=9, cpp_type=9, label=1, | 215 number=1, type=9, cpp_type=9, label=1, |
216 has_default_value=False, default_value=unicode("", "utf-8"), | 216 has_default_value=False, default_value=unicode("", "utf-8"), |
217 message_type=None, enum_type=None, containing_type=None, | 217 message_type=None, enum_type=None, containing_type=None, |
218 is_extension=False, extension_scope=None, | 218 is_extension=False, extension_scope=None, |
219 options=None), | 219 options=None), |
220 _descriptor.FieldDescriptor( | 220 _descriptor.FieldDescriptor( |
221 name='url_format', full_name='buildbucket.Swarming.url_format', index=1, | 221 name='url_format', full_name='buildbucket.Swarming.url_format', index=1, |
222 number=2, type=9, cpp_type=9, label=1, | 222 number=2, type=9, cpp_type=9, label=1, |
223 has_default_value=False, default_value=unicode("", "utf-8"), | 223 has_default_value=False, default_value=unicode("", "utf-8"), |
224 message_type=None, enum_type=None, containing_type=None, | 224 message_type=None, enum_type=None, containing_type=None, |
225 is_extension=False, extension_scope=None, | 225 is_extension=False, extension_scope=None, |
226 options=None), | 226 options=None), |
227 _descriptor.FieldDescriptor( | 227 _descriptor.FieldDescriptor( |
228 name='common_swarming_tags', full_name='buildbucket.Swarming.common_swarmi
ng_tags', index=2, | 228 name='builder_defaults', full_name='buildbucket.Swarming.builder_defaults'
, index=2, |
| 229 number=9, type=11, cpp_type=10, label=1, |
| 230 has_default_value=False, default_value=None, |
| 231 message_type=None, enum_type=None, containing_type=None, |
| 232 is_extension=False, extension_scope=None, |
| 233 options=None), |
| 234 _descriptor.FieldDescriptor( |
| 235 name='common_swarming_tags', full_name='buildbucket.Swarming.common_swarmi
ng_tags', index=3, |
229 number=3, type=9, cpp_type=9, label=3, | 236 number=3, type=9, cpp_type=9, label=3, |
230 has_default_value=False, default_value=[], | 237 has_default_value=False, default_value=[], |
231 message_type=None, enum_type=None, containing_type=None, | 238 message_type=None, enum_type=None, containing_type=None, |
232 is_extension=False, extension_scope=None, | 239 is_extension=False, extension_scope=None, |
233 options=None), | 240 options=None), |
234 _descriptor.FieldDescriptor( | 241 _descriptor.FieldDescriptor( |
235 name='common_dimensions', full_name='buildbucket.Swarming.common_dimension
s', index=3, | 242 name='common_dimensions', full_name='buildbucket.Swarming.common_dimension
s', index=4, |
236 number=4, type=9, cpp_type=9, label=3, | 243 number=4, type=9, cpp_type=9, label=3, |
237 has_default_value=False, default_value=[], | 244 has_default_value=False, default_value=[], |
238 message_type=None, enum_type=None, containing_type=None, | 245 message_type=None, enum_type=None, containing_type=None, |
239 is_extension=False, extension_scope=None, | 246 is_extension=False, extension_scope=None, |
240 options=None), | 247 options=None), |
241 _descriptor.FieldDescriptor( | 248 _descriptor.FieldDescriptor( |
242 name='builders', full_name='buildbucket.Swarming.builders', index=4, | 249 name='builders', full_name='buildbucket.Swarming.builders', index=5, |
243 number=5, type=11, cpp_type=10, label=3, | 250 number=5, type=11, cpp_type=10, label=3, |
244 has_default_value=False, default_value=[], | 251 has_default_value=False, default_value=[], |
245 message_type=None, enum_type=None, containing_type=None, | 252 message_type=None, enum_type=None, containing_type=None, |
246 is_extension=False, extension_scope=None, | 253 is_extension=False, extension_scope=None, |
247 options=None), | 254 options=None), |
248 _descriptor.FieldDescriptor( | 255 _descriptor.FieldDescriptor( |
249 name='common_recipe', full_name='buildbucket.Swarming.common_recipe', inde
x=5, | 256 name='common_recipe', full_name='buildbucket.Swarming.common_recipe', inde
x=6, |
250 number=6, type=11, cpp_type=10, label=1, | 257 number=6, type=11, cpp_type=10, label=1, |
251 has_default_value=False, default_value=None, | 258 has_default_value=False, default_value=None, |
252 message_type=None, enum_type=None, containing_type=None, | 259 message_type=None, enum_type=None, containing_type=None, |
253 is_extension=False, extension_scope=None, | 260 is_extension=False, extension_scope=None, |
254 options=None), | 261 options=None), |
255 _descriptor.FieldDescriptor( | 262 _descriptor.FieldDescriptor( |
256 name='common_execution_timeout_secs', full_name='buildbucket.Swarming.comm
on_execution_timeout_secs', index=6, | 263 name='common_execution_timeout_secs', full_name='buildbucket.Swarming.comm
on_execution_timeout_secs', index=7, |
257 number=7, type=13, cpp_type=3, label=1, | 264 number=7, type=13, cpp_type=3, label=1, |
258 has_default_value=False, default_value=0, | 265 has_default_value=False, default_value=0, |
259 message_type=None, enum_type=None, containing_type=None, | 266 message_type=None, enum_type=None, containing_type=None, |
260 is_extension=False, extension_scope=None, | 267 is_extension=False, extension_scope=None, |
261 options=None), | 268 options=None), |
262 _descriptor.FieldDescriptor( | 269 _descriptor.FieldDescriptor( |
263 name='task_template_canary_percentage', full_name='buildbucket.Swarming.ta
sk_template_canary_percentage', index=7, | 270 name='task_template_canary_percentage', full_name='buildbucket.Swarming.ta
sk_template_canary_percentage', index=8, |
264 number=8, type=13, cpp_type=3, label=1, | 271 number=8, type=13, cpp_type=3, label=1, |
265 has_default_value=False, default_value=0, | 272 has_default_value=False, default_value=0, |
266 message_type=None, enum_type=None, containing_type=None, | 273 message_type=None, enum_type=None, containing_type=None, |
267 is_extension=False, extension_scope=None, | 274 is_extension=False, extension_scope=None, |
268 options=None), | 275 options=None), |
269 ], | 276 ], |
270 extensions=[ | 277 extensions=[ |
271 ], | 278 ], |
272 nested_types=[_SWARMING_RECIPE, _SWARMING_BUILDER, ], | 279 nested_types=[_SWARMING_RECIPE, _SWARMING_BUILDER, ], |
273 enum_types=[ | 280 enum_types=[ |
274 ], | 281 ], |
275 options=None, | 282 options=None, |
276 is_extendable=False, | 283 is_extendable=False, |
277 extension_ranges=[], | 284 extension_ranges=[], |
278 serialized_start=162, | 285 serialized_start=162, |
279 serialized_end=718, | 286 serialized_end=775, |
280 ) | 287 ) |
281 | 288 |
282 | 289 |
283 _BUCKET = _descriptor.Descriptor( | 290 _BUCKET = _descriptor.Descriptor( |
284 name='Bucket', | 291 name='Bucket', |
285 full_name='buildbucket.Bucket', | 292 full_name='buildbucket.Bucket', |
286 filename=None, | 293 filename=None, |
287 file=DESCRIPTOR, | 294 file=DESCRIPTOR, |
288 containing_type=None, | 295 containing_type=None, |
289 fields=[ | 296 fields=[ |
(...skipping 20 matching lines...) Expand all Loading... |
310 options=None), | 317 options=None), |
311 ], | 318 ], |
312 extensions=[ | 319 extensions=[ |
313 ], | 320 ], |
314 nested_types=[], | 321 nested_types=[], |
315 enum_types=[ | 322 enum_types=[ |
316 ], | 323 ], |
317 options=None, | 324 options=None, |
318 is_extendable=False, | 325 is_extendable=False, |
319 extension_ranges=[], | 326 extension_ranges=[], |
320 serialized_start=720, | 327 serialized_start=777, |
321 serialized_end=815, | 328 serialized_end=872, |
322 ) | 329 ) |
323 | 330 |
324 | 331 |
325 _BUILDBUCKETCFG = _descriptor.Descriptor( | 332 _BUILDBUCKETCFG = _descriptor.Descriptor( |
326 name='BuildbucketCfg', | 333 name='BuildbucketCfg', |
327 full_name='buildbucket.BuildbucketCfg', | 334 full_name='buildbucket.BuildbucketCfg', |
328 filename=None, | 335 filename=None, |
329 file=DESCRIPTOR, | 336 file=DESCRIPTOR, |
330 containing_type=None, | 337 containing_type=None, |
331 fields=[ | 338 fields=[ |
332 _descriptor.FieldDescriptor( | 339 _descriptor.FieldDescriptor( |
333 name='buckets', full_name='buildbucket.BuildbucketCfg.buckets', index=0, | 340 name='buckets', full_name='buildbucket.BuildbucketCfg.buckets', index=0, |
334 number=1, type=11, cpp_type=10, label=3, | 341 number=1, type=11, cpp_type=10, label=3, |
335 has_default_value=False, default_value=[], | 342 has_default_value=False, default_value=[], |
336 message_type=None, enum_type=None, containing_type=None, | 343 message_type=None, enum_type=None, containing_type=None, |
337 is_extension=False, extension_scope=None, | 344 is_extension=False, extension_scope=None, |
338 options=None), | 345 options=None), |
339 ], | 346 ], |
340 extensions=[ | 347 extensions=[ |
341 ], | 348 ], |
342 nested_types=[], | 349 nested_types=[], |
343 enum_types=[ | 350 enum_types=[ |
344 ], | 351 ], |
345 options=None, | 352 options=None, |
346 is_extendable=False, | 353 is_extendable=False, |
347 extension_ranges=[], | 354 extension_ranges=[], |
348 serialized_start=817, | 355 serialized_start=874, |
349 serialized_end=871, | 356 serialized_end=928, |
350 ) | 357 ) |
351 | 358 |
352 _ACL.fields_by_name['role'].enum_type = _ACL_ROLE | 359 _ACL.fields_by_name['role'].enum_type = _ACL_ROLE |
353 _ACL_ROLE.containing_type = _ACL; | 360 _ACL_ROLE.containing_type = _ACL; |
354 _SWARMING_RECIPE.containing_type = _SWARMING; | 361 _SWARMING_RECIPE.containing_type = _SWARMING; |
355 _SWARMING_BUILDER.fields_by_name['recipe'].message_type = _SWARMING_RECIPE | 362 _SWARMING_BUILDER.fields_by_name['recipe'].message_type = _SWARMING_RECIPE |
356 _SWARMING_BUILDER.containing_type = _SWARMING; | 363 _SWARMING_BUILDER.containing_type = _SWARMING; |
| 364 _SWARMING.fields_by_name['builder_defaults'].message_type = _SWARMING_BUILDER |
357 _SWARMING.fields_by_name['builders'].message_type = _SWARMING_BUILDER | 365 _SWARMING.fields_by_name['builders'].message_type = _SWARMING_BUILDER |
358 _SWARMING.fields_by_name['common_recipe'].message_type = _SWARMING_RECIPE | 366 _SWARMING.fields_by_name['common_recipe'].message_type = _SWARMING_RECIPE |
359 _BUCKET.fields_by_name['acls'].message_type = _ACL | 367 _BUCKET.fields_by_name['acls'].message_type = _ACL |
360 _BUCKET.fields_by_name['swarming'].message_type = _SWARMING | 368 _BUCKET.fields_by_name['swarming'].message_type = _SWARMING |
361 _BUILDBUCKETCFG.fields_by_name['buckets'].message_type = _BUCKET | 369 _BUILDBUCKETCFG.fields_by_name['buckets'].message_type = _BUCKET |
362 DESCRIPTOR.message_types_by_name['Acl'] = _ACL | 370 DESCRIPTOR.message_types_by_name['Acl'] = _ACL |
363 DESCRIPTOR.message_types_by_name['Swarming'] = _SWARMING | 371 DESCRIPTOR.message_types_by_name['Swarming'] = _SWARMING |
364 DESCRIPTOR.message_types_by_name['Bucket'] = _BUCKET | 372 DESCRIPTOR.message_types_by_name['Bucket'] = _BUCKET |
365 DESCRIPTOR.message_types_by_name['BuildbucketCfg'] = _BUILDBUCKETCFG | 373 DESCRIPTOR.message_types_by_name['BuildbucketCfg'] = _BUILDBUCKETCFG |
366 | 374 |
(...skipping 28 matching lines...) Expand all Loading... |
395 # @@protoc_insertion_point(class_scope:buildbucket.Bucket) | 403 # @@protoc_insertion_point(class_scope:buildbucket.Bucket) |
396 | 404 |
397 class BuildbucketCfg(_message.Message): | 405 class BuildbucketCfg(_message.Message): |
398 __metaclass__ = _reflection.GeneratedProtocolMessageType | 406 __metaclass__ = _reflection.GeneratedProtocolMessageType |
399 DESCRIPTOR = _BUILDBUCKETCFG | 407 DESCRIPTOR = _BUILDBUCKETCFG |
400 | 408 |
401 # @@protoc_insertion_point(class_scope:buildbucket.BuildbucketCfg) | 409 # @@protoc_insertion_point(class_scope:buildbucket.BuildbucketCfg) |
402 | 410 |
403 | 411 |
404 # @@protoc_insertion_point(module_scope) | 412 # @@protoc_insertion_point(module_scope) |
OLD | NEW |