blob: cd03c3da42896371339bff361ef2f32a3668ec77 [file] [log] [blame]
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: device.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
import common_pb2 as common__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='device.proto',
package='chrome.chromeos_infra.skylab.proto.inventory',
syntax='proto2',
serialized_pb=_b('\n\x0c\x64\x65vice.proto\x12,chrome.chromeos_infra.skylab.proto.inventory\x1a\x0c\x63ommon.proto\"\x89\x02\n\x06\x44\x65vice\x12L\n\x03\x64ut\x18\x01 \x01(\x0b\x32=.chrome.chromeos_infra.skylab.proto.inventory.DeviceUnderTestH\x00\x12S\n\nservo_host\x18\x02 \x01(\x0b\x32=.chrome.chromeos_infra.skylab.proto.inventory.ServoHostDeviceH\x00\x12R\n\tchameleon\x18\x03 \x01(\x0b\x32=.chrome.chromeos_infra.skylab.proto.inventory.ChameleonDeviceH\x00\x42\x08\n\x06\x64\x65vice\"b\n\x0f\x44\x65viceUnderTest\x12O\n\x06\x63ommon\x18\x01 \x02(\x0b\x32?.chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs\"s\n\x0fServoHostDevice\x12O\n\x06\x63ommon\x18\x01 \x02(\x0b\x32?.chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs\x12\x0f\n\x07version\x18\x02 \x01(\t\"b\n\x0f\x43hameleonDevice\x12O\n\x06\x63ommon\x18\x01 \x02(\x0b\x32?.chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs\"\xa7\x04\n\x11\x43ommonDeviceSpecs\x12\n\n\x02id\x18\x01 \x02(\t\x12\x10\n\x08hostname\x18\x02 \x02(\t\x12\x0c\n\x04hwid\x18\x03 \x01(\t\x12\x15\n\rserial_number\x18\x04 \x01(\t\x12H\n\x08location\x18\x05 \x01(\x0b\x32\x36.chrome.chromeos_infra.skylab.proto.inventory.Location\x12N\n\x0c\x64\x65vice_locks\x18\x06 \x03(\x0b\x32\x38.chrome.chromeos_infra.skylab.proto.inventory.DeviceLock\x12H\n\x0bowner_shard\x18\x07 \x01(\x0b\x32\x33.chrome.chromeos_infra.skylab.proto.inventory.Shard\x12O\n\x06labels\x18\x08 \x01(\x0b\x32?.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels\x12J\n\nattributes\x18\t \x03(\x0b\x32\x36.chrome.chromeos_infra.skylab.proto.inventory.KeyValue\x12N\n\x0b\x65nvironment\x18\n \x01(\x0e\x32\x39.chrome.chromeos_infra.skylab.proto.inventory.Environment\"{\n\x08Location\x12\x46\n\x03lab\x18\x01 \x02(\x0b\x32\x39.chrome.chromeos_infra.skylab.proto.inventory.PhysicalLab\x12\x0b\n\x03row\x18\x02 \x02(\x05\x12\x0c\n\x04rack\x18\x03 \x02(\x05\x12\x0c\n\x04host\x18\x04 \x02(\x05\"\x1b\n\x0bPhysicalLab\x12\x0c\n\x04name\x18\x01 \x02(\t\"\x82\x02\n\nDeviceLock\x12\x10\n\x04lock\x18\x01 \x02(\x08\x42\x02\x18\x01\x12\x11\n\tlocked_by\x18\x02 \x02(\t\x12\x13\n\x0block_reason\x18\x03 \x02(\t\x12K\n\nbegin_time\x18\x04 \x02(\x0b\x32\x37.chrome.chromeos_infra.skylab.proto.inventory.Timestamp\x12L\n\x0b\x65xpire_time\x18\x05 \x02(\x0b\x32\x37.chrome.chromeos_infra.skylab.proto.inventory.Timestamp\x12\x13\n\x07lock_id\x18\x06 \x02(\x05\x42\x02\x18\x01\x12\n\n\x02id\x18\x07 \x02(\t\"\x19\n\x05Shard\x12\x10\n\x08hostname\x18\x01 \x02(\t\"\xae\x04\n\x11SchedulableLabels\x12\x10\n\x08platform\x18\x01 \x01(\t\x12\r\n\x05\x62oard\x18\x02 \x01(\t\x12_\n\x0e\x63ritical_pools\x18\x03 \x03(\x0e\x32G.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.DUTPool\x12\x18\n\x10self_serve_pools\x18\x04 \x03(\t\x12X\n\x0c\x63\x61pabilities\x18\x05 \x01(\x0b\x32\x42.chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities\x12W\n\x07\x65\x63_type\x18\n \x01(\x0e\x32\x46.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.ECType\x12\r\n\x05model\x18\r \x01(\t\"\x84\x01\n\x07\x44UTPool\x12\x14\n\x10\x44UT_POOL_INVALID\x10\x00\x12\x0f\n\x0b\x44UT_POOL_CQ\x10\x01\x12\x10\n\x0c\x44UT_POOL_BVT\x10\x02\x12\x13\n\x0f\x44UT_POOL_SUITES\x10\x03\x12\x10\n\x0c\x44UT_POOL_CTS\x10\x04\x12\x19\n\x15\x44UT_POOL_CTS_PERBUILD\x10\x05\"4\n\x06\x45\x43Type\x12\x13\n\x0f\x45\x43_TYPE_INVALID\x10\x00\x12\x15\n\x11\x45\x43_TYPE_CHROME_OS\x10\x01\"~\n\x14HardwareCapabilities\x12\r\n\x05modem\x18\x01 \x01(\t\x12\x11\n\ttelephony\x18\x02 \x01(\t\x12\x12\n\ngpu_family\x18\x03 \x01(\t\x12\x10\n\x08graphics\x18\x04 \x01(\t\x12\x0f\n\x07storage\x18\x05 \x01(\t\x12\r\n\x05power\x18\x06 \x01(\t\"&\n\x08KeyValue\x12\x0b\n\x03key\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x01(\t')
,
dependencies=[common__pb2.DESCRIPTOR,])
_SCHEDULABLELABELS_DUTPOOL = _descriptor.EnumDescriptor(
name='DUTPool',
full_name='chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.DUTPool',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='DUT_POOL_INVALID', index=0, number=0,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='DUT_POOL_CQ', index=1, number=1,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='DUT_POOL_BVT', index=2, number=2,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='DUT_POOL_SUITES', index=3, number=3,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='DUT_POOL_CTS', index=4, number=4,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='DUT_POOL_CTS_PERBUILD', index=5, number=5,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=2030,
serialized_end=2162,
)
_sym_db.RegisterEnumDescriptor(_SCHEDULABLELABELS_DUTPOOL)
_SCHEDULABLELABELS_ECTYPE = _descriptor.EnumDescriptor(
name='ECType',
full_name='chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.ECType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='EC_TYPE_INVALID', index=0, number=0,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='EC_TYPE_CHROME_OS', index=1, number=1,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=2164,
serialized_end=2216,
)
_sym_db.RegisterEnumDescriptor(_SCHEDULABLELABELS_ECTYPE)
_DEVICE = _descriptor.Descriptor(
name='Device',
full_name='chrome.chromeos_infra.skylab.proto.inventory.Device',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='dut', full_name='chrome.chromeos_infra.skylab.proto.inventory.Device.dut', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='servo_host', full_name='chrome.chromeos_infra.skylab.proto.inventory.Device.servo_host', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='chameleon', full_name='chrome.chromeos_infra.skylab.proto.inventory.Device.chameleon', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='device', full_name='chrome.chromeos_infra.skylab.proto.inventory.Device.device',
index=0, containing_type=None, fields=[]),
],
serialized_start=77,
serialized_end=342,
)
_DEVICEUNDERTEST = _descriptor.Descriptor(
name='DeviceUnderTest',
full_name='chrome.chromeos_infra.skylab.proto.inventory.DeviceUnderTest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='common', full_name='chrome.chromeos_infra.skylab.proto.inventory.DeviceUnderTest.common', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=344,
serialized_end=442,
)
_SERVOHOSTDEVICE = _descriptor.Descriptor(
name='ServoHostDevice',
full_name='chrome.chromeos_infra.skylab.proto.inventory.ServoHostDevice',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='common', full_name='chrome.chromeos_infra.skylab.proto.inventory.ServoHostDevice.common', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='version', full_name='chrome.chromeos_infra.skylab.proto.inventory.ServoHostDevice.version', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=444,
serialized_end=559,
)
_CHAMELEONDEVICE = _descriptor.Descriptor(
name='ChameleonDevice',
full_name='chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='common', full_name='chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice.common', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=561,
serialized_end=659,
)
_COMMONDEVICESPECS = _descriptor.Descriptor(
name='CommonDeviceSpecs',
full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='hostname', full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.hostname', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='hwid', full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.hwid', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='serial_number', full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.serial_number', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='location', full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.location', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='device_locks', full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.device_locks', index=5,
number=6, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='owner_shard', full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.owner_shard', index=6,
number=7, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='labels', full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.labels', index=7,
number=8, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='attributes', full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.attributes', index=8,
number=9, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='environment', full_name='chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.environment', index=9,
number=10, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=662,
serialized_end=1213,
)
_LOCATION = _descriptor.Descriptor(
name='Location',
full_name='chrome.chromeos_infra.skylab.proto.inventory.Location',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='lab', full_name='chrome.chromeos_infra.skylab.proto.inventory.Location.lab', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='row', full_name='chrome.chromeos_infra.skylab.proto.inventory.Location.row', index=1,
number=2, type=5, cpp_type=1, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='rack', full_name='chrome.chromeos_infra.skylab.proto.inventory.Location.rack', index=2,
number=3, type=5, cpp_type=1, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='host', full_name='chrome.chromeos_infra.skylab.proto.inventory.Location.host', index=3,
number=4, type=5, cpp_type=1, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1215,
serialized_end=1338,
)
_PHYSICALLAB = _descriptor.Descriptor(
name='PhysicalLab',
full_name='chrome.chromeos_infra.skylab.proto.inventory.PhysicalLab',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='name', full_name='chrome.chromeos_infra.skylab.proto.inventory.PhysicalLab.name', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1340,
serialized_end=1367,
)
_DEVICELOCK = _descriptor.Descriptor(
name='DeviceLock',
full_name='chrome.chromeos_infra.skylab.proto.inventory.DeviceLock',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='lock', full_name='chrome.chromeos_infra.skylab.proto.inventory.DeviceLock.lock', index=0,
number=1, type=8, cpp_type=7, label=2,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))),
_descriptor.FieldDescriptor(
name='locked_by', full_name='chrome.chromeos_infra.skylab.proto.inventory.DeviceLock.locked_by', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='lock_reason', full_name='chrome.chromeos_infra.skylab.proto.inventory.DeviceLock.lock_reason', index=2,
number=3, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='begin_time', full_name='chrome.chromeos_infra.skylab.proto.inventory.DeviceLock.begin_time', index=3,
number=4, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='expire_time', full_name='chrome.chromeos_infra.skylab.proto.inventory.DeviceLock.expire_time', index=4,
number=5, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='lock_id', full_name='chrome.chromeos_infra.skylab.proto.inventory.DeviceLock.lock_id', index=5,
number=6, type=5, cpp_type=1, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))),
_descriptor.FieldDescriptor(
name='id', full_name='chrome.chromeos_infra.skylab.proto.inventory.DeviceLock.id', index=6,
number=7, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1370,
serialized_end=1628,
)
_SHARD = _descriptor.Descriptor(
name='Shard',
full_name='chrome.chromeos_infra.skylab.proto.inventory.Shard',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='hostname', full_name='chrome.chromeos_infra.skylab.proto.inventory.Shard.hostname', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1630,
serialized_end=1655,
)
_SCHEDULABLELABELS = _descriptor.Descriptor(
name='SchedulableLabels',
full_name='chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='platform', full_name='chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.platform', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='board', full_name='chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.board', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='critical_pools', full_name='chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.critical_pools', index=2,
number=3, type=14, cpp_type=8, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='self_serve_pools', full_name='chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.self_serve_pools', index=3,
number=4, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='capabilities', full_name='chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.capabilities', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='ec_type', full_name='chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.ec_type', index=5,
number=10, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='model', full_name='chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.model', index=6,
number=13, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
_SCHEDULABLELABELS_DUTPOOL,
_SCHEDULABLELABELS_ECTYPE,
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1658,
serialized_end=2216,
)
_HARDWARECAPABILITIES = _descriptor.Descriptor(
name='HardwareCapabilities',
full_name='chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='modem', full_name='chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.modem', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='telephony', full_name='chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.telephony', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='gpu_family', full_name='chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.gpu_family', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='graphics', full_name='chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.graphics', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='storage', full_name='chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.storage', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='power', full_name='chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.power', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2218,
serialized_end=2344,
)
_KEYVALUE = _descriptor.Descriptor(
name='KeyValue',
full_name='chrome.chromeos_infra.skylab.proto.inventory.KeyValue',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='chrome.chromeos_infra.skylab.proto.inventory.KeyValue.key', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='value', full_name='chrome.chromeos_infra.skylab.proto.inventory.KeyValue.value', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2346,
serialized_end=2384,
)
_DEVICE.fields_by_name['dut'].message_type = _DEVICEUNDERTEST
_DEVICE.fields_by_name['servo_host'].message_type = _SERVOHOSTDEVICE
_DEVICE.fields_by_name['chameleon'].message_type = _CHAMELEONDEVICE
_DEVICE.oneofs_by_name['device'].fields.append(
_DEVICE.fields_by_name['dut'])
_DEVICE.fields_by_name['dut'].containing_oneof = _DEVICE.oneofs_by_name['device']
_DEVICE.oneofs_by_name['device'].fields.append(
_DEVICE.fields_by_name['servo_host'])
_DEVICE.fields_by_name['servo_host'].containing_oneof = _DEVICE.oneofs_by_name['device']
_DEVICE.oneofs_by_name['device'].fields.append(
_DEVICE.fields_by_name['chameleon'])
_DEVICE.fields_by_name['chameleon'].containing_oneof = _DEVICE.oneofs_by_name['device']
_DEVICEUNDERTEST.fields_by_name['common'].message_type = _COMMONDEVICESPECS
_SERVOHOSTDEVICE.fields_by_name['common'].message_type = _COMMONDEVICESPECS
_CHAMELEONDEVICE.fields_by_name['common'].message_type = _COMMONDEVICESPECS
_COMMONDEVICESPECS.fields_by_name['location'].message_type = _LOCATION
_COMMONDEVICESPECS.fields_by_name['device_locks'].message_type = _DEVICELOCK
_COMMONDEVICESPECS.fields_by_name['owner_shard'].message_type = _SHARD
_COMMONDEVICESPECS.fields_by_name['labels'].message_type = _SCHEDULABLELABELS
_COMMONDEVICESPECS.fields_by_name['attributes'].message_type = _KEYVALUE
_COMMONDEVICESPECS.fields_by_name['environment'].enum_type = common__pb2._ENVIRONMENT
_LOCATION.fields_by_name['lab'].message_type = _PHYSICALLAB
_DEVICELOCK.fields_by_name['begin_time'].message_type = common__pb2._TIMESTAMP
_DEVICELOCK.fields_by_name['expire_time'].message_type = common__pb2._TIMESTAMP
_SCHEDULABLELABELS.fields_by_name['critical_pools'].enum_type = _SCHEDULABLELABELS_DUTPOOL
_SCHEDULABLELABELS.fields_by_name['capabilities'].message_type = _HARDWARECAPABILITIES
_SCHEDULABLELABELS.fields_by_name['ec_type'].enum_type = _SCHEDULABLELABELS_ECTYPE
_SCHEDULABLELABELS_DUTPOOL.containing_type = _SCHEDULABLELABELS
_SCHEDULABLELABELS_ECTYPE.containing_type = _SCHEDULABLELABELS
DESCRIPTOR.message_types_by_name['Device'] = _DEVICE
DESCRIPTOR.message_types_by_name['DeviceUnderTest'] = _DEVICEUNDERTEST
DESCRIPTOR.message_types_by_name['ServoHostDevice'] = _SERVOHOSTDEVICE
DESCRIPTOR.message_types_by_name['ChameleonDevice'] = _CHAMELEONDEVICE
DESCRIPTOR.message_types_by_name['CommonDeviceSpecs'] = _COMMONDEVICESPECS
DESCRIPTOR.message_types_by_name['Location'] = _LOCATION
DESCRIPTOR.message_types_by_name['PhysicalLab'] = _PHYSICALLAB
DESCRIPTOR.message_types_by_name['DeviceLock'] = _DEVICELOCK
DESCRIPTOR.message_types_by_name['Shard'] = _SHARD
DESCRIPTOR.message_types_by_name['SchedulableLabels'] = _SCHEDULABLELABELS
DESCRIPTOR.message_types_by_name['HardwareCapabilities'] = _HARDWARECAPABILITIES
DESCRIPTOR.message_types_by_name['KeyValue'] = _KEYVALUE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Device = _reflection.GeneratedProtocolMessageType('Device', (_message.Message,), dict(
DESCRIPTOR = _DEVICE,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.Device)
))
_sym_db.RegisterMessage(Device)
DeviceUnderTest = _reflection.GeneratedProtocolMessageType('DeviceUnderTest', (_message.Message,), dict(
DESCRIPTOR = _DEVICEUNDERTEST,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.DeviceUnderTest)
))
_sym_db.RegisterMessage(DeviceUnderTest)
ServoHostDevice = _reflection.GeneratedProtocolMessageType('ServoHostDevice', (_message.Message,), dict(
DESCRIPTOR = _SERVOHOSTDEVICE,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.ServoHostDevice)
))
_sym_db.RegisterMessage(ServoHostDevice)
ChameleonDevice = _reflection.GeneratedProtocolMessageType('ChameleonDevice', (_message.Message,), dict(
DESCRIPTOR = _CHAMELEONDEVICE,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice)
))
_sym_db.RegisterMessage(ChameleonDevice)
CommonDeviceSpecs = _reflection.GeneratedProtocolMessageType('CommonDeviceSpecs', (_message.Message,), dict(
DESCRIPTOR = _COMMONDEVICESPECS,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs)
))
_sym_db.RegisterMessage(CommonDeviceSpecs)
Location = _reflection.GeneratedProtocolMessageType('Location', (_message.Message,), dict(
DESCRIPTOR = _LOCATION,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.Location)
))
_sym_db.RegisterMessage(Location)
PhysicalLab = _reflection.GeneratedProtocolMessageType('PhysicalLab', (_message.Message,), dict(
DESCRIPTOR = _PHYSICALLAB,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.PhysicalLab)
))
_sym_db.RegisterMessage(PhysicalLab)
DeviceLock = _reflection.GeneratedProtocolMessageType('DeviceLock', (_message.Message,), dict(
DESCRIPTOR = _DEVICELOCK,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.DeviceLock)
))
_sym_db.RegisterMessage(DeviceLock)
Shard = _reflection.GeneratedProtocolMessageType('Shard', (_message.Message,), dict(
DESCRIPTOR = _SHARD,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.Shard)
))
_sym_db.RegisterMessage(Shard)
SchedulableLabels = _reflection.GeneratedProtocolMessageType('SchedulableLabels', (_message.Message,), dict(
DESCRIPTOR = _SCHEDULABLELABELS,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels)
))
_sym_db.RegisterMessage(SchedulableLabels)
HardwareCapabilities = _reflection.GeneratedProtocolMessageType('HardwareCapabilities', (_message.Message,), dict(
DESCRIPTOR = _HARDWARECAPABILITIES,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities)
))
_sym_db.RegisterMessage(HardwareCapabilities)
KeyValue = _reflection.GeneratedProtocolMessageType('KeyValue', (_message.Message,), dict(
DESCRIPTOR = _KEYVALUE,
__module__ = 'device_pb2'
# @@protoc_insertion_point(class_scope:chrome.chromeos_infra.skylab.proto.inventory.KeyValue)
))
_sym_db.RegisterMessage(KeyValue)
_DEVICELOCK.fields_by_name['lock'].has_options = True
_DEVICELOCK.fields_by_name['lock']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
_DEVICELOCK.fields_by_name['lock_id'].has_options = True
_DEVICELOCK.fields_by_name['lock_id']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
# @@protoc_insertion_point(module_scope)