| OLD | NEW |
| 1 # Generated by the protocol buffer compiler. DO NOT EDIT! | 1 # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 # source: bots.proto | 2 # source: bots.proto |
| 3 | 3 |
| 4 import sys | 4 import sys |
| 5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) | 5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) |
| 6 from google.protobuf import descriptor as _descriptor | 6 from google.protobuf import descriptor as _descriptor |
| 7 from google.protobuf import message as _message | 7 from google.protobuf import message as _message |
| 8 from google.protobuf import reflection as _reflection | 8 from google.protobuf import reflection as _reflection |
| 9 from google.protobuf import symbol_database as _symbol_database | 9 from google.protobuf import symbol_database as _symbol_database |
| 10 from google.protobuf import descriptor_pb2 | 10 from google.protobuf import descriptor_pb2 |
| 11 # @@protoc_insertion_point(imports) | 11 # @@protoc_insertion_point(imports) |
| 12 | 12 |
| 13 _sym_db = _symbol_database.Default() | 13 _sym_db = _symbol_database.Default() |
| 14 | 14 |
| 15 | 15 |
| 16 | 16 |
| 17 | 17 |
| 18 DESCRIPTOR = _descriptor.FileDescriptor( | 18 DESCRIPTOR = _descriptor.FileDescriptor( |
| 19 name='bots.proto', | 19 name='bots.proto', |
| 20 package='', | 20 package='', |
| 21 syntax='proto2', | 21 syntax='proto2', |
| 22 serialized_pb=_b('\n\nbots.proto\"C\n\x07\x42otsCfg\x12\x1a\n\x12trusted_dimen
sions\x18\x01 \x03(\t\x12\x1c\n\tbot_group\x18\x02 \x03(\x0b\x32\t.BotGroup\"\x9
5\x01\n\x0bMachineType\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65sc
ription\x18\x02 \x01(\t\x12\x1a\n\x12\x65\x61rly_release_secs\x18\x03 \x01(\x05\
x12\x1b\n\x13lease_duration_secs\x18\x04 \x01(\x05\x12\x15\n\rmp_dimensions\x18\
x05 \x03(\t\x12\x13\n\x0btarget_size\x18\x06 \x01(\x05\"\x91\x01\n\x08\x42otGrou
p\x12\x0e\n\x06\x62ot_id\x18\x01 \x03(\t\x12\x15\n\rbot_id_prefix\x18\x02 \x03(\
t\x12\"\n\x0cmachine_type\x18\x03 \x03(\x0b\x32\x0c.MachineType\x12\x16\n\x04\x6
1uth\x18\x14 \x01(\x0b\x32\x08.BotAuth\x12\x0e\n\x06owners\x18\x15 \x03(\t\x12\x
12\n\ndimensions\x18\x16 \x03(\t\"d\n\x07\x42otAuth\x12\"\n\x1arequire_luci_mach
ine_token\x18\x01 \x01(\x08\x12\x1f\n\x17require_service_account\x18\x02 \x01(\t
\x12\x14\n\x0cip_whitelist\x18\x03 \x01(\t') | 22 serialized_pb=_b('\n\nbots.proto\"C\n\x07\x42otsCfg\x12\x1a\n\x12trusted_dimen
sions\x18\x01 \x03(\t\x12\x1c\n\tbot_group\x18\x02 \x03(\x0b\x32\t.BotGroup\"\x9
5\x01\n\x0bMachineType\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65sc
ription\x18\x02 \x01(\t\x12\x1a\n\x12\x65\x61rly_release_secs\x18\x03 \x01(\x05\
x12\x1b\n\x13lease_duration_secs\x18\x04 \x01(\x05\x12\x15\n\rmp_dimensions\x18\
x05 \x03(\t\x12\x13\n\x0btarget_size\x18\x06 \x01(\x05\"\xac\x01\n\x08\x42otGrou
p\x12\x0e\n\x06\x62ot_id\x18\x01 \x03(\t\x12\x15\n\rbot_id_prefix\x18\x02 \x03(\
t\x12\"\n\x0cmachine_type\x18\x03 \x03(\x0b\x32\x0c.MachineType\x12\x16\n\x04\x6
1uth\x18\x14 \x01(\x0b\x32\x08.BotAuth\x12\x0e\n\x06owners\x18\x15 \x03(\t\x12\x
12\n\ndimensions\x18\x16 \x03(\t\x12\x19\n\x11\x62ot_config_script\x18\x17 \x01(
\t\"d\n\x07\x42otAuth\x12\"\n\x1arequire_luci_machine_token\x18\x01 \x01(\x08\x1
2\x1f\n\x17require_service_account\x18\x02 \x01(\t\x12\x14\n\x0cip_whitelist\x18
\x03 \x01(\t') |
| 23 ) | 23 ) |
| 24 _sym_db.RegisterFileDescriptor(DESCRIPTOR) | 24 _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 25 | 25 |
| 26 | 26 |
| 27 | 27 |
| 28 | 28 |
| 29 _BOTSCFG = _descriptor.Descriptor( | 29 _BOTSCFG = _descriptor.Descriptor( |
| 30 name='BotsCfg', | 30 name='BotsCfg', |
| 31 full_name='BotsCfg', | 31 full_name='BotsCfg', |
| 32 filename=None, | 32 filename=None, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 message_type=None, enum_type=None, containing_type=None, | 172 message_type=None, enum_type=None, containing_type=None, |
| 173 is_extension=False, extension_scope=None, | 173 is_extension=False, extension_scope=None, |
| 174 options=None), | 174 options=None), |
| 175 _descriptor.FieldDescriptor( | 175 _descriptor.FieldDescriptor( |
| 176 name='dimensions', full_name='BotGroup.dimensions', index=5, | 176 name='dimensions', full_name='BotGroup.dimensions', index=5, |
| 177 number=22, type=9, cpp_type=9, label=3, | 177 number=22, type=9, cpp_type=9, label=3, |
| 178 has_default_value=False, default_value=[], | 178 has_default_value=False, default_value=[], |
| 179 message_type=None, enum_type=None, containing_type=None, | 179 message_type=None, enum_type=None, containing_type=None, |
| 180 is_extension=False, extension_scope=None, | 180 is_extension=False, extension_scope=None, |
| 181 options=None), | 181 options=None), |
| 182 _descriptor.FieldDescriptor( |
| 183 name='bot_config_script', full_name='BotGroup.bot_config_script', index=6, |
| 184 number=23, type=9, cpp_type=9, label=1, |
| 185 has_default_value=False, default_value=_b("").decode('utf-8'), |
| 186 message_type=None, enum_type=None, containing_type=None, |
| 187 is_extension=False, extension_scope=None, |
| 188 options=None), |
| 182 ], | 189 ], |
| 183 extensions=[ | 190 extensions=[ |
| 184 ], | 191 ], |
| 185 nested_types=[], | 192 nested_types=[], |
| 186 enum_types=[ | 193 enum_types=[ |
| 187 ], | 194 ], |
| 188 options=None, | 195 options=None, |
| 189 is_extendable=False, | 196 is_extendable=False, |
| 190 syntax='proto2', | 197 syntax='proto2', |
| 191 extension_ranges=[], | 198 extension_ranges=[], |
| 192 oneofs=[ | 199 oneofs=[ |
| 193 ], | 200 ], |
| 194 serialized_start=236, | 201 serialized_start=236, |
| 195 serialized_end=381, | 202 serialized_end=408, |
| 196 ) | 203 ) |
| 197 | 204 |
| 198 | 205 |
| 199 _BOTAUTH = _descriptor.Descriptor( | 206 _BOTAUTH = _descriptor.Descriptor( |
| 200 name='BotAuth', | 207 name='BotAuth', |
| 201 full_name='BotAuth', | 208 full_name='BotAuth', |
| 202 filename=None, | 209 filename=None, |
| 203 file=DESCRIPTOR, | 210 file=DESCRIPTOR, |
| 204 containing_type=None, | 211 containing_type=None, |
| 205 fields=[ | 212 fields=[ |
| (...skipping 23 matching lines...) Expand all Loading... |
| 229 ], | 236 ], |
| 230 nested_types=[], | 237 nested_types=[], |
| 231 enum_types=[ | 238 enum_types=[ |
| 232 ], | 239 ], |
| 233 options=None, | 240 options=None, |
| 234 is_extendable=False, | 241 is_extendable=False, |
| 235 syntax='proto2', | 242 syntax='proto2', |
| 236 extension_ranges=[], | 243 extension_ranges=[], |
| 237 oneofs=[ | 244 oneofs=[ |
| 238 ], | 245 ], |
| 239 serialized_start=383, | 246 serialized_start=410, |
| 240 serialized_end=483, | 247 serialized_end=510, |
| 241 ) | 248 ) |
| 242 | 249 |
| 243 _BOTSCFG.fields_by_name['bot_group'].message_type = _BOTGROUP | 250 _BOTSCFG.fields_by_name['bot_group'].message_type = _BOTGROUP |
| 244 _BOTGROUP.fields_by_name['machine_type'].message_type = _MACHINETYPE | 251 _BOTGROUP.fields_by_name['machine_type'].message_type = _MACHINETYPE |
| 245 _BOTGROUP.fields_by_name['auth'].message_type = _BOTAUTH | 252 _BOTGROUP.fields_by_name['auth'].message_type = _BOTAUTH |
| 246 DESCRIPTOR.message_types_by_name['BotsCfg'] = _BOTSCFG | 253 DESCRIPTOR.message_types_by_name['BotsCfg'] = _BOTSCFG |
| 247 DESCRIPTOR.message_types_by_name['MachineType'] = _MACHINETYPE | 254 DESCRIPTOR.message_types_by_name['MachineType'] = _MACHINETYPE |
| 248 DESCRIPTOR.message_types_by_name['BotGroup'] = _BOTGROUP | 255 DESCRIPTOR.message_types_by_name['BotGroup'] = _BOTGROUP |
| 249 DESCRIPTOR.message_types_by_name['BotAuth'] = _BOTAUTH | 256 DESCRIPTOR.message_types_by_name['BotAuth'] = _BOTAUTH |
| 250 | 257 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 271 | 278 |
| 272 BotAuth = _reflection.GeneratedProtocolMessageType('BotAuth', (_message.Message,
), dict( | 279 BotAuth = _reflection.GeneratedProtocolMessageType('BotAuth', (_message.Message,
), dict( |
| 273 DESCRIPTOR = _BOTAUTH, | 280 DESCRIPTOR = _BOTAUTH, |
| 274 __module__ = 'bots_pb2' | 281 __module__ = 'bots_pb2' |
| 275 # @@protoc_insertion_point(class_scope:BotAuth) | 282 # @@protoc_insertion_point(class_scope:BotAuth) |
| 276 )) | 283 )) |
| 277 _sym_db.RegisterMessage(BotAuth) | 284 _sym_db.RegisterMessage(BotAuth) |
| 278 | 285 |
| 279 | 286 |
| 280 # @@protoc_insertion_point(module_scope) | 287 # @@protoc_insertion_point(module_scope) |
| OLD | NEW |