| // Copyright 2023 The ChromiumOS Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| syntax = "proto3"; | |
| package hwis_proto; | |
| message DeleteDevice { | |
| string name = 1; | |
| } | |
| message Device { | |
| enum BusType { | |
| UNDEFINED = 0; | |
| PCI = 1; | |
| USB = 2; | |
| THUNDERBOLT = 3; | |
| } | |
| message DmiInfo { | |
| string vendor = 1; | |
| string product_name = 2; | |
| string product_version = 3; | |
| } | |
| message Bios { | |
| string bios_version = 1; | |
| bool secureboot = 2; | |
| bool uefi = 3; | |
| } | |
| message Cpu { | |
| string name = 1; | |
| } | |
| message Memory { | |
| int64 total_kib = 1; | |
| } | |
| message EthernetAdapter { | |
| string name = 1; | |
| string id = 2; | |
| BusType bus = 3; | |
| repeated string driver = 4; | |
| } | |
| message WirelessAdapter { | |
| string name = 1; | |
| string id = 2; | |
| BusType bus = 3; | |
| repeated string driver = 4; | |
| } | |
| message BluetoothAdapter { | |
| string name = 1; | |
| string id = 2; | |
| BusType bus = 3; | |
| repeated string driver = 4; | |
| } | |
| message Gpu { | |
| string name = 1; | |
| string id = 2; | |
| BusType bus = 3; | |
| repeated string driver = 4; | |
| } | |
| message GraphicsInfo { | |
| string gl_version = 1; | |
| string gl_shading_version = 2; | |
| string gl_vendor = 3; | |
| string gl_renderer = 4; | |
| repeated string gl_extensions = 5; | |
| } | |
| message Touchpad { | |
| string stack = 1; | |
| repeated string driver = 2; | |
| } | |
| message TPM { | |
| string tpm_version = 1; | |
| uint64 spec_level = 2; | |
| uint32 manufacturer = 3; | |
| string did_vid = 4; | |
| bool tpm_allow_listed = 5; | |
| bool tpm_owned = 6; | |
| } | |
| string name = 1; | |
| DmiInfo dmi_info = 2; | |
| Bios bios = 3; | |
| repeated Cpu cpu = 4; | |
| Memory memory = 5; | |
| repeated EthernetAdapter ethernet_adapter = 6; | |
| repeated WirelessAdapter wireless_adapter = 7; | |
| repeated BluetoothAdapter bluetooth_adapter = 8; | |
| repeated Gpu gpu = 9; | |
| GraphicsInfo graphics_info = 10; | |
| Touchpad touchpad = 11; | |
| TPM tpm = 12; | |
| // CreateTime field is set to 13 and automatically generated by the server. | |
| // UpdateTime field is set to 14 and automatically generated by the server. | |
| bool enrolled = 15; | |
| } |