1# -*- coding: utf-8 -*- 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# source: chromiumos/test/api/dut_attribute.proto 4"""Generated protocol buffer code.""" 5from google.protobuf import descriptor as _descriptor 6from google.protobuf import message as _message 7from google.protobuf import reflection as _reflection 8from google.protobuf import symbol_database as _symbol_database 9# @@protoc_insertion_point(imports) 10 11_sym_db = _symbol_database.Default() 12 13 14from chromiumos.test.api import provision_state_pb2 as chromiumos_dot_test_dot_api_dot_provision__state__pb2 15 16 17DESCRIPTOR = _descriptor.FileDescriptor( 18 name='chromiumos/test/api/dut_attribute.proto', 19 package='chromiumos.test.api', 20 syntax='proto3', 21 serialized_options=b'Z-go.chromium.org/chromiumos/config/go/test/api', 22 create_key=_descriptor._internal_create_key, 23 serialized_pb=b'\n\'chromiumos/test/api/dut_attribute.proto\x12\x13\x63hromiumos.test.api\x1a)chromiumos/test/api/provision_state.proto\"\xdb\x04\n\x0c\x44utAttribute\x12\x30\n\x02id\x18\x01 \x01(\x0b\x32$.chromiumos.test.api.DutAttribute.Id\x12\x0f\n\x07\x61liases\x18\x02 \x03(\t\x12P\n\x12\x66lat_config_source\x18\x03 \x01(\x0b\x32\x32.chromiumos.test.api.DutAttribute.FlatConfigSourceH\x00\x12\x43\n\x0bhwid_source\x18\x04 \x01(\x0b\x32,.chromiumos.test.api.DutAttribute.HwidSourceH\x00\x12\x41\n\ntle_source\x18\x07 \x01(\x0b\x32+.chromiumos.test.api.DutAttribute.TleSourceH\x00\x12\x16\n\x0e\x61llowed_values\x18\x05 \x03(\t\x12\x16\n\x0e\x65xclude_values\x18\x06 \x03(\t\x1a\x13\n\x02Id\x12\r\n\x05value\x18\x01 \x01(\t\x1a\x19\n\tFieldSpec\x12\x0c\n\x04path\x18\x01 \x01(\t\x1aO\n\x10\x46latConfigSource\x12;\n\x06\x66ields\x18\x01 \x03(\x0b\x32+.chromiumos.test.api.DutAttribute.FieldSpec\x1a\x61\n\nHwidSource\x12\x16\n\x0e\x63omponent_type\x18\x01 \x01(\t\x12;\n\x06\x66ields\x18\x02 \x03(\x0b\x32+.chromiumos.test.api.DutAttribute.FieldSpec\x1a\x0b\n\tTleSourceB\r\n\x0b\x64\x61ta_source\"M\n\x10\x44utAttributeList\x12\x39\n\x0e\x64ut_attributes\x18\x01 \x03(\x0b\x32!.chromiumos.test.api.DutAttribute\"Z\n\x0c\x44utCriterion\x12:\n\x0c\x61ttribute_id\x18\x01 \x01(\x0b\x32$.chromiumos.test.api.DutAttribute.Id\x12\x0e\n\x06values\x18\x02 \x03(\t\"\x80\x01\n\tDutTarget\x12\x33\n\x08\x63riteria\x18\x01 \x03(\x0b\x32!.chromiumos.test.api.DutCriterion\x12>\n\x10provision_config\x18\x02 \x01(\x0b\x32$.chromiumos.test.api.ProvisionConfigB/Z-go.chromium.org/chromiumos/config/go/test/apib\x06proto3' 24 , 25 dependencies=[chromiumos_dot_test_dot_api_dot_provision__state__pb2.DESCRIPTOR,]) 26 27 28 29 30_DUTATTRIBUTE_ID = _descriptor.Descriptor( 31 name='Id', 32 full_name='chromiumos.test.api.DutAttribute.Id', 33 filename=None, 34 file=DESCRIPTOR, 35 containing_type=None, 36 create_key=_descriptor._internal_create_key, 37 fields=[ 38 _descriptor.FieldDescriptor( 39 name='value', full_name='chromiumos.test.api.DutAttribute.Id.value', index=0, 40 number=1, type=9, cpp_type=9, label=1, 41 has_default_value=False, default_value=b"".decode('utf-8'), 42 message_type=None, enum_type=None, containing_type=None, 43 is_extension=False, extension_scope=None, 44 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 45 ], 46 extensions=[ 47 ], 48 nested_types=[], 49 enum_types=[ 50 ], 51 serialized_options=None, 52 is_extendable=False, 53 syntax='proto3', 54 extension_ranges=[], 55 oneofs=[ 56 ], 57 serialized_start=457, 58 serialized_end=476, 59) 60 61_DUTATTRIBUTE_FIELDSPEC = _descriptor.Descriptor( 62 name='FieldSpec', 63 full_name='chromiumos.test.api.DutAttribute.FieldSpec', 64 filename=None, 65 file=DESCRIPTOR, 66 containing_type=None, 67 create_key=_descriptor._internal_create_key, 68 fields=[ 69 _descriptor.FieldDescriptor( 70 name='path', full_name='chromiumos.test.api.DutAttribute.FieldSpec.path', index=0, 71 number=1, type=9, cpp_type=9, label=1, 72 has_default_value=False, default_value=b"".decode('utf-8'), 73 message_type=None, enum_type=None, containing_type=None, 74 is_extension=False, extension_scope=None, 75 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 76 ], 77 extensions=[ 78 ], 79 nested_types=[], 80 enum_types=[ 81 ], 82 serialized_options=None, 83 is_extendable=False, 84 syntax='proto3', 85 extension_ranges=[], 86 oneofs=[ 87 ], 88 serialized_start=478, 89 serialized_end=503, 90) 91 92_DUTATTRIBUTE_FLATCONFIGSOURCE = _descriptor.Descriptor( 93 name='FlatConfigSource', 94 full_name='chromiumos.test.api.DutAttribute.FlatConfigSource', 95 filename=None, 96 file=DESCRIPTOR, 97 containing_type=None, 98 create_key=_descriptor._internal_create_key, 99 fields=[ 100 _descriptor.FieldDescriptor( 101 name='fields', full_name='chromiumos.test.api.DutAttribute.FlatConfigSource.fields', index=0, 102 number=1, type=11, cpp_type=10, label=3, 103 has_default_value=False, default_value=[], 104 message_type=None, enum_type=None, containing_type=None, 105 is_extension=False, extension_scope=None, 106 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 107 ], 108 extensions=[ 109 ], 110 nested_types=[], 111 enum_types=[ 112 ], 113 serialized_options=None, 114 is_extendable=False, 115 syntax='proto3', 116 extension_ranges=[], 117 oneofs=[ 118 ], 119 serialized_start=505, 120 serialized_end=584, 121) 122 123_DUTATTRIBUTE_HWIDSOURCE = _descriptor.Descriptor( 124 name='HwidSource', 125 full_name='chromiumos.test.api.DutAttribute.HwidSource', 126 filename=None, 127 file=DESCRIPTOR, 128 containing_type=None, 129 create_key=_descriptor._internal_create_key, 130 fields=[ 131 _descriptor.FieldDescriptor( 132 name='component_type', full_name='chromiumos.test.api.DutAttribute.HwidSource.component_type', index=0, 133 number=1, type=9, cpp_type=9, label=1, 134 has_default_value=False, default_value=b"".decode('utf-8'), 135 message_type=None, enum_type=None, containing_type=None, 136 is_extension=False, extension_scope=None, 137 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 138 _descriptor.FieldDescriptor( 139 name='fields', full_name='chromiumos.test.api.DutAttribute.HwidSource.fields', index=1, 140 number=2, type=11, cpp_type=10, label=3, 141 has_default_value=False, default_value=[], 142 message_type=None, enum_type=None, containing_type=None, 143 is_extension=False, extension_scope=None, 144 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 145 ], 146 extensions=[ 147 ], 148 nested_types=[], 149 enum_types=[ 150 ], 151 serialized_options=None, 152 is_extendable=False, 153 syntax='proto3', 154 extension_ranges=[], 155 oneofs=[ 156 ], 157 serialized_start=586, 158 serialized_end=683, 159) 160 161_DUTATTRIBUTE_TLESOURCE = _descriptor.Descriptor( 162 name='TleSource', 163 full_name='chromiumos.test.api.DutAttribute.TleSource', 164 filename=None, 165 file=DESCRIPTOR, 166 containing_type=None, 167 create_key=_descriptor._internal_create_key, 168 fields=[ 169 ], 170 extensions=[ 171 ], 172 nested_types=[], 173 enum_types=[ 174 ], 175 serialized_options=None, 176 is_extendable=False, 177 syntax='proto3', 178 extension_ranges=[], 179 oneofs=[ 180 ], 181 serialized_start=685, 182 serialized_end=696, 183) 184 185_DUTATTRIBUTE = _descriptor.Descriptor( 186 name='DutAttribute', 187 full_name='chromiumos.test.api.DutAttribute', 188 filename=None, 189 file=DESCRIPTOR, 190 containing_type=None, 191 create_key=_descriptor._internal_create_key, 192 fields=[ 193 _descriptor.FieldDescriptor( 194 name='id', full_name='chromiumos.test.api.DutAttribute.id', index=0, 195 number=1, type=11, cpp_type=10, label=1, 196 has_default_value=False, default_value=None, 197 message_type=None, enum_type=None, containing_type=None, 198 is_extension=False, extension_scope=None, 199 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 200 _descriptor.FieldDescriptor( 201 name='aliases', full_name='chromiumos.test.api.DutAttribute.aliases', index=1, 202 number=2, type=9, cpp_type=9, label=3, 203 has_default_value=False, default_value=[], 204 message_type=None, enum_type=None, containing_type=None, 205 is_extension=False, extension_scope=None, 206 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 207 _descriptor.FieldDescriptor( 208 name='flat_config_source', full_name='chromiumos.test.api.DutAttribute.flat_config_source', index=2, 209 number=3, type=11, cpp_type=10, label=1, 210 has_default_value=False, default_value=None, 211 message_type=None, enum_type=None, containing_type=None, 212 is_extension=False, extension_scope=None, 213 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 214 _descriptor.FieldDescriptor( 215 name='hwid_source', full_name='chromiumos.test.api.DutAttribute.hwid_source', index=3, 216 number=4, type=11, cpp_type=10, label=1, 217 has_default_value=False, default_value=None, 218 message_type=None, enum_type=None, containing_type=None, 219 is_extension=False, extension_scope=None, 220 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 221 _descriptor.FieldDescriptor( 222 name='tle_source', full_name='chromiumos.test.api.DutAttribute.tle_source', index=4, 223 number=7, type=11, cpp_type=10, label=1, 224 has_default_value=False, default_value=None, 225 message_type=None, enum_type=None, containing_type=None, 226 is_extension=False, extension_scope=None, 227 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 228 _descriptor.FieldDescriptor( 229 name='allowed_values', full_name='chromiumos.test.api.DutAttribute.allowed_values', index=5, 230 number=5, type=9, cpp_type=9, label=3, 231 has_default_value=False, default_value=[], 232 message_type=None, enum_type=None, containing_type=None, 233 is_extension=False, extension_scope=None, 234 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 235 _descriptor.FieldDescriptor( 236 name='exclude_values', full_name='chromiumos.test.api.DutAttribute.exclude_values', index=6, 237 number=6, type=9, cpp_type=9, label=3, 238 has_default_value=False, default_value=[], 239 message_type=None, enum_type=None, containing_type=None, 240 is_extension=False, extension_scope=None, 241 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 242 ], 243 extensions=[ 244 ], 245 nested_types=[_DUTATTRIBUTE_ID, _DUTATTRIBUTE_FIELDSPEC, _DUTATTRIBUTE_FLATCONFIGSOURCE, _DUTATTRIBUTE_HWIDSOURCE, _DUTATTRIBUTE_TLESOURCE, ], 246 enum_types=[ 247 ], 248 serialized_options=None, 249 is_extendable=False, 250 syntax='proto3', 251 extension_ranges=[], 252 oneofs=[ 253 _descriptor.OneofDescriptor( 254 name='data_source', full_name='chromiumos.test.api.DutAttribute.data_source', 255 index=0, containing_type=None, 256 create_key=_descriptor._internal_create_key, 257 fields=[]), 258 ], 259 serialized_start=108, 260 serialized_end=711, 261) 262 263 264_DUTATTRIBUTELIST = _descriptor.Descriptor( 265 name='DutAttributeList', 266 full_name='chromiumos.test.api.DutAttributeList', 267 filename=None, 268 file=DESCRIPTOR, 269 containing_type=None, 270 create_key=_descriptor._internal_create_key, 271 fields=[ 272 _descriptor.FieldDescriptor( 273 name='dut_attributes', full_name='chromiumos.test.api.DutAttributeList.dut_attributes', 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 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 279 ], 280 extensions=[ 281 ], 282 nested_types=[], 283 enum_types=[ 284 ], 285 serialized_options=None, 286 is_extendable=False, 287 syntax='proto3', 288 extension_ranges=[], 289 oneofs=[ 290 ], 291 serialized_start=713, 292 serialized_end=790, 293) 294 295 296_DUTCRITERION = _descriptor.Descriptor( 297 name='DutCriterion', 298 full_name='chromiumos.test.api.DutCriterion', 299 filename=None, 300 file=DESCRIPTOR, 301 containing_type=None, 302 create_key=_descriptor._internal_create_key, 303 fields=[ 304 _descriptor.FieldDescriptor( 305 name='attribute_id', full_name='chromiumos.test.api.DutCriterion.attribute_id', index=0, 306 number=1, type=11, cpp_type=10, label=1, 307 has_default_value=False, default_value=None, 308 message_type=None, enum_type=None, containing_type=None, 309 is_extension=False, extension_scope=None, 310 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 311 _descriptor.FieldDescriptor( 312 name='values', full_name='chromiumos.test.api.DutCriterion.values', index=1, 313 number=2, type=9, cpp_type=9, label=3, 314 has_default_value=False, default_value=[], 315 message_type=None, enum_type=None, containing_type=None, 316 is_extension=False, extension_scope=None, 317 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 318 ], 319 extensions=[ 320 ], 321 nested_types=[], 322 enum_types=[ 323 ], 324 serialized_options=None, 325 is_extendable=False, 326 syntax='proto3', 327 extension_ranges=[], 328 oneofs=[ 329 ], 330 serialized_start=792, 331 serialized_end=882, 332) 333 334 335_DUTTARGET = _descriptor.Descriptor( 336 name='DutTarget', 337 full_name='chromiumos.test.api.DutTarget', 338 filename=None, 339 file=DESCRIPTOR, 340 containing_type=None, 341 create_key=_descriptor._internal_create_key, 342 fields=[ 343 _descriptor.FieldDescriptor( 344 name='criteria', full_name='chromiumos.test.api.DutTarget.criteria', index=0, 345 number=1, type=11, cpp_type=10, label=3, 346 has_default_value=False, default_value=[], 347 message_type=None, enum_type=None, containing_type=None, 348 is_extension=False, extension_scope=None, 349 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 350 _descriptor.FieldDescriptor( 351 name='provision_config', full_name='chromiumos.test.api.DutTarget.provision_config', index=1, 352 number=2, type=11, cpp_type=10, label=1, 353 has_default_value=False, default_value=None, 354 message_type=None, enum_type=None, containing_type=None, 355 is_extension=False, extension_scope=None, 356 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 357 ], 358 extensions=[ 359 ], 360 nested_types=[], 361 enum_types=[ 362 ], 363 serialized_options=None, 364 is_extendable=False, 365 syntax='proto3', 366 extension_ranges=[], 367 oneofs=[ 368 ], 369 serialized_start=885, 370 serialized_end=1013, 371) 372 373_DUTATTRIBUTE_ID.containing_type = _DUTATTRIBUTE 374_DUTATTRIBUTE_FIELDSPEC.containing_type = _DUTATTRIBUTE 375_DUTATTRIBUTE_FLATCONFIGSOURCE.fields_by_name['fields'].message_type = _DUTATTRIBUTE_FIELDSPEC 376_DUTATTRIBUTE_FLATCONFIGSOURCE.containing_type = _DUTATTRIBUTE 377_DUTATTRIBUTE_HWIDSOURCE.fields_by_name['fields'].message_type = _DUTATTRIBUTE_FIELDSPEC 378_DUTATTRIBUTE_HWIDSOURCE.containing_type = _DUTATTRIBUTE 379_DUTATTRIBUTE_TLESOURCE.containing_type = _DUTATTRIBUTE 380_DUTATTRIBUTE.fields_by_name['id'].message_type = _DUTATTRIBUTE_ID 381_DUTATTRIBUTE.fields_by_name['flat_config_source'].message_type = _DUTATTRIBUTE_FLATCONFIGSOURCE 382_DUTATTRIBUTE.fields_by_name['hwid_source'].message_type = _DUTATTRIBUTE_HWIDSOURCE 383_DUTATTRIBUTE.fields_by_name['tle_source'].message_type = _DUTATTRIBUTE_TLESOURCE 384_DUTATTRIBUTE.oneofs_by_name['data_source'].fields.append( 385 _DUTATTRIBUTE.fields_by_name['flat_config_source']) 386_DUTATTRIBUTE.fields_by_name['flat_config_source'].containing_oneof = _DUTATTRIBUTE.oneofs_by_name['data_source'] 387_DUTATTRIBUTE.oneofs_by_name['data_source'].fields.append( 388 _DUTATTRIBUTE.fields_by_name['hwid_source']) 389_DUTATTRIBUTE.fields_by_name['hwid_source'].containing_oneof = _DUTATTRIBUTE.oneofs_by_name['data_source'] 390_DUTATTRIBUTE.oneofs_by_name['data_source'].fields.append( 391 _DUTATTRIBUTE.fields_by_name['tle_source']) 392_DUTATTRIBUTE.fields_by_name['tle_source'].containing_oneof = _DUTATTRIBUTE.oneofs_by_name['data_source'] 393_DUTATTRIBUTELIST.fields_by_name['dut_attributes'].message_type = _DUTATTRIBUTE 394_DUTCRITERION.fields_by_name['attribute_id'].message_type = _DUTATTRIBUTE_ID 395_DUTTARGET.fields_by_name['criteria'].message_type = _DUTCRITERION 396_DUTTARGET.fields_by_name['provision_config'].message_type = chromiumos_dot_test_dot_api_dot_provision__state__pb2._PROVISIONCONFIG 397DESCRIPTOR.message_types_by_name['DutAttribute'] = _DUTATTRIBUTE 398DESCRIPTOR.message_types_by_name['DutAttributeList'] = _DUTATTRIBUTELIST 399DESCRIPTOR.message_types_by_name['DutCriterion'] = _DUTCRITERION 400DESCRIPTOR.message_types_by_name['DutTarget'] = _DUTTARGET 401_sym_db.RegisterFileDescriptor(DESCRIPTOR) 402 403DutAttribute = _reflection.GeneratedProtocolMessageType('DutAttribute', (_message.Message,), { 404 405 'Id' : _reflection.GeneratedProtocolMessageType('Id', (_message.Message,), { 406 'DESCRIPTOR' : _DUTATTRIBUTE_ID, 407 '__module__' : 'chromiumos.test.api.dut_attribute_pb2' 408 # @@protoc_insertion_point(class_scope:chromiumos.test.api.DutAttribute.Id) 409 }) 410 , 411 412 'FieldSpec' : _reflection.GeneratedProtocolMessageType('FieldSpec', (_message.Message,), { 413 'DESCRIPTOR' : _DUTATTRIBUTE_FIELDSPEC, 414 '__module__' : 'chromiumos.test.api.dut_attribute_pb2' 415 # @@protoc_insertion_point(class_scope:chromiumos.test.api.DutAttribute.FieldSpec) 416 }) 417 , 418 419 'FlatConfigSource' : _reflection.GeneratedProtocolMessageType('FlatConfigSource', (_message.Message,), { 420 'DESCRIPTOR' : _DUTATTRIBUTE_FLATCONFIGSOURCE, 421 '__module__' : 'chromiumos.test.api.dut_attribute_pb2' 422 # @@protoc_insertion_point(class_scope:chromiumos.test.api.DutAttribute.FlatConfigSource) 423 }) 424 , 425 426 'HwidSource' : _reflection.GeneratedProtocolMessageType('HwidSource', (_message.Message,), { 427 'DESCRIPTOR' : _DUTATTRIBUTE_HWIDSOURCE, 428 '__module__' : 'chromiumos.test.api.dut_attribute_pb2' 429 # @@protoc_insertion_point(class_scope:chromiumos.test.api.DutAttribute.HwidSource) 430 }) 431 , 432 433 'TleSource' : _reflection.GeneratedProtocolMessageType('TleSource', (_message.Message,), { 434 'DESCRIPTOR' : _DUTATTRIBUTE_TLESOURCE, 435 '__module__' : 'chromiumos.test.api.dut_attribute_pb2' 436 # @@protoc_insertion_point(class_scope:chromiumos.test.api.DutAttribute.TleSource) 437 }) 438 , 439 'DESCRIPTOR' : _DUTATTRIBUTE, 440 '__module__' : 'chromiumos.test.api.dut_attribute_pb2' 441 # @@protoc_insertion_point(class_scope:chromiumos.test.api.DutAttribute) 442 }) 443_sym_db.RegisterMessage(DutAttribute) 444_sym_db.RegisterMessage(DutAttribute.Id) 445_sym_db.RegisterMessage(DutAttribute.FieldSpec) 446_sym_db.RegisterMessage(DutAttribute.FlatConfigSource) 447_sym_db.RegisterMessage(DutAttribute.HwidSource) 448_sym_db.RegisterMessage(DutAttribute.TleSource) 449 450DutAttributeList = _reflection.GeneratedProtocolMessageType('DutAttributeList', (_message.Message,), { 451 'DESCRIPTOR' : _DUTATTRIBUTELIST, 452 '__module__' : 'chromiumos.test.api.dut_attribute_pb2' 453 # @@protoc_insertion_point(class_scope:chromiumos.test.api.DutAttributeList) 454 }) 455_sym_db.RegisterMessage(DutAttributeList) 456 457DutCriterion = _reflection.GeneratedProtocolMessageType('DutCriterion', (_message.Message,), { 458 'DESCRIPTOR' : _DUTCRITERION, 459 '__module__' : 'chromiumos.test.api.dut_attribute_pb2' 460 # @@protoc_insertion_point(class_scope:chromiumos.test.api.DutCriterion) 461 }) 462_sym_db.RegisterMessage(DutCriterion) 463 464DutTarget = _reflection.GeneratedProtocolMessageType('DutTarget', (_message.Message,), { 465 'DESCRIPTOR' : _DUTTARGET, 466 '__module__' : 'chromiumos.test.api.dut_attribute_pb2' 467 # @@protoc_insertion_point(class_scope:chromiumos.test.api.DutTarget) 468 }) 469_sym_db.RegisterMessage(DutTarget) 470 471 472DESCRIPTOR._options = None 473# @@protoc_insertion_point(module_scope) 474