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

Side by Side Diff: appengine/cr-buildbucket/proto/project_config_pb2.py

Issue 2096233002: swarmbucket: add bucket-level execution timeout (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: rebased Created 4 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: 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\"\xdc\x03\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\x1aT\n\x06Recipe\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\x 14\n\x0cproperties_j\x18\x04 \x03(\t\x1a\xb4\x01\n\x07\x42uilder\x12\x0c\n\x04na me\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x06 \x01(\t\x12\x15\n\rswarmi ng_tags\x18\x02 \x03(\t\x12\x12\n\ndimensions\x18\x03 \x03(\t\x12,\n\x06recipe\x 18\x04 \x01(\x0b\x32\x1c.buildbucket.Swarming.Recipe\x12\x10\n\x08priority\x18\x 05 \x01(\x05\x12\x1e\n\x16\x65xecution_timeout_secs\x18\x07 \x01(\x05\"_\n\x06\x 42ucket\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x04\x61\x63ls\x18\x02 \x03(\ x0b\x32\x10.buildbucket.Acl\x12\'\n\x08swarming\x18\x03 \x01(\x0b\x32\x15.buildb ucket.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\"\x83\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(\x05\x1aT\n\x06Recipe\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x0c\n\x04nam e\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 \x0 3(\t\x12\x12\n\ndimensions\x18\x03 \x03(\t\x12,\n\x06recipe\x18\x04 \x01(\x0b\x3 2\x1c.buildbucket.Swarming.Recipe\x12\x10\n\x08priority\x18\x05 \x01(\x05\x12\x1 e\n\x16\x65xecution_timeout_secs\x18\x07 \x01(\x05\"_\n\x06\x42ucket\x12\x0c\n\x 04name\x18\x01 \x01(\t\x12\x1e\n\x04\x61\x63ls\x18\x02 \x03(\x0b\x32\x10.buildbu cket.Acl\x12\'\n\x08swarming\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
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=371, 133 serialized_start=410,
134 serialized_end=455, 134 serialized_end=494,
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
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=458, 202 serialized_start=497,
203 serialized_end=638, 203 serialized_end=677,
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(
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 message_type=None, enum_type=None, containing_type=None, 245 message_type=None, enum_type=None, containing_type=None,
246 is_extension=False, extension_scope=None, 246 is_extension=False, extension_scope=None,
247 options=None), 247 options=None),
248 _descriptor.FieldDescriptor( 248 _descriptor.FieldDescriptor(
249 name='common_recipe', full_name='buildbucket.Swarming.common_recipe', inde x=5, 249 name='common_recipe', full_name='buildbucket.Swarming.common_recipe', inde x=5,
250 number=6, type=11, cpp_type=10, label=1, 250 number=6, type=11, cpp_type=10, label=1,
251 has_default_value=False, default_value=None, 251 has_default_value=False, default_value=None,
252 message_type=None, enum_type=None, containing_type=None, 252 message_type=None, enum_type=None, containing_type=None,
253 is_extension=False, extension_scope=None, 253 is_extension=False, extension_scope=None,
254 options=None), 254 options=None),
255 _descriptor.FieldDescriptor(
256 name='common_execution_timeout_secs', full_name='buildbucket.Swarming.comm on_execution_timeout_secs', index=6,
257 number=7, type=5, cpp_type=1, label=1,
258 has_default_value=False, default_value=0,
259 message_type=None, enum_type=None, containing_type=None,
260 is_extension=False, extension_scope=None,
261 options=None),
255 ], 262 ],
256 extensions=[ 263 extensions=[
257 ], 264 ],
258 nested_types=[_SWARMING_RECIPE, _SWARMING_BUILDER, ], 265 nested_types=[_SWARMING_RECIPE, _SWARMING_BUILDER, ],
259 enum_types=[ 266 enum_types=[
260 ], 267 ],
261 options=None, 268 options=None,
262 is_extendable=False, 269 is_extendable=False,
263 extension_ranges=[], 270 extension_ranges=[],
264 serialized_start=162, 271 serialized_start=162,
265 serialized_end=638, 272 serialized_end=677,
266 ) 273 )
267 274
268 275
269 _BUCKET = _descriptor.Descriptor( 276 _BUCKET = _descriptor.Descriptor(
270 name='Bucket', 277 name='Bucket',
271 full_name='buildbucket.Bucket', 278 full_name='buildbucket.Bucket',
272 filename=None, 279 filename=None,
273 file=DESCRIPTOR, 280 file=DESCRIPTOR,
274 containing_type=None, 281 containing_type=None,
275 fields=[ 282 fields=[
(...skipping 20 matching lines...) Expand all
296 options=None), 303 options=None),
297 ], 304 ],
298 extensions=[ 305 extensions=[
299 ], 306 ],
300 nested_types=[], 307 nested_types=[],
301 enum_types=[ 308 enum_types=[
302 ], 309 ],
303 options=None, 310 options=None,
304 is_extendable=False, 311 is_extendable=False,
305 extension_ranges=[], 312 extension_ranges=[],
306 serialized_start=640, 313 serialized_start=679,
307 serialized_end=735, 314 serialized_end=774,
308 ) 315 )
309 316
310 317
311 _BUILDBUCKETCFG = _descriptor.Descriptor( 318 _BUILDBUCKETCFG = _descriptor.Descriptor(
312 name='BuildbucketCfg', 319 name='BuildbucketCfg',
313 full_name='buildbucket.BuildbucketCfg', 320 full_name='buildbucket.BuildbucketCfg',
314 filename=None, 321 filename=None,
315 file=DESCRIPTOR, 322 file=DESCRIPTOR,
316 containing_type=None, 323 containing_type=None,
317 fields=[ 324 fields=[
318 _descriptor.FieldDescriptor( 325 _descriptor.FieldDescriptor(
319 name='buckets', full_name='buildbucket.BuildbucketCfg.buckets', index=0, 326 name='buckets', full_name='buildbucket.BuildbucketCfg.buckets', index=0,
320 number=1, type=11, cpp_type=10, label=3, 327 number=1, type=11, cpp_type=10, label=3,
321 has_default_value=False, default_value=[], 328 has_default_value=False, default_value=[],
322 message_type=None, enum_type=None, containing_type=None, 329 message_type=None, enum_type=None, containing_type=None,
323 is_extension=False, extension_scope=None, 330 is_extension=False, extension_scope=None,
324 options=None), 331 options=None),
325 ], 332 ],
326 extensions=[ 333 extensions=[
327 ], 334 ],
328 nested_types=[], 335 nested_types=[],
329 enum_types=[ 336 enum_types=[
330 ], 337 ],
331 options=None, 338 options=None,
332 is_extendable=False, 339 is_extendable=False,
333 extension_ranges=[], 340 extension_ranges=[],
334 serialized_start=737, 341 serialized_start=776,
335 serialized_end=791, 342 serialized_end=830,
336 ) 343 )
337 344
338 _ACL.fields_by_name['role'].enum_type = _ACL_ROLE 345 _ACL.fields_by_name['role'].enum_type = _ACL_ROLE
339 _ACL_ROLE.containing_type = _ACL; 346 _ACL_ROLE.containing_type = _ACL;
340 _SWARMING_RECIPE.containing_type = _SWARMING; 347 _SWARMING_RECIPE.containing_type = _SWARMING;
341 _SWARMING_BUILDER.fields_by_name['recipe'].message_type = _SWARMING_RECIPE 348 _SWARMING_BUILDER.fields_by_name['recipe'].message_type = _SWARMING_RECIPE
342 _SWARMING_BUILDER.containing_type = _SWARMING; 349 _SWARMING_BUILDER.containing_type = _SWARMING;
343 _SWARMING.fields_by_name['builders'].message_type = _SWARMING_BUILDER 350 _SWARMING.fields_by_name['builders'].message_type = _SWARMING_BUILDER
344 _SWARMING.fields_by_name['common_recipe'].message_type = _SWARMING_RECIPE 351 _SWARMING.fields_by_name['common_recipe'].message_type = _SWARMING_RECIPE
345 _BUCKET.fields_by_name['acls'].message_type = _ACL 352 _BUCKET.fields_by_name['acls'].message_type = _ACL
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 # @@protoc_insertion_point(class_scope:buildbucket.Bucket) 388 # @@protoc_insertion_point(class_scope:buildbucket.Bucket)
382 389
383 class BuildbucketCfg(_message.Message): 390 class BuildbucketCfg(_message.Message):
384 __metaclass__ = _reflection.GeneratedProtocolMessageType 391 __metaclass__ = _reflection.GeneratedProtocolMessageType
385 DESCRIPTOR = _BUILDBUCKETCFG 392 DESCRIPTOR = _BUILDBUCKETCFG
386 393
387 # @@protoc_insertion_point(class_scope:buildbucket.BuildbucketCfg) 394 # @@protoc_insertion_point(class_scope:buildbucket.BuildbucketCfg)
388 395
389 396
390 # @@protoc_insertion_point(module_scope) 397 # @@protoc_insertion_point(module_scope)
OLDNEW
« no previous file with comments | « appengine/cr-buildbucket/proto/project_config.proto ('k') | appengine/cr-buildbucket/swarming/swarming.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698