| // Copyright 2018 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.36.11 |
| // protoc v6.32.0 |
| // source: go.chromium.org/infra/libs/skylab/inventory/device.proto |
| |
| package inventory |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| unsafe "unsafe" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // Servo Firmware Channel describes the firmware expected to have on servos. |
| // Next Tag : 4 |
| type ServoFwChannel int32 |
| |
| const ( |
| // Servo firmware from Stable channel. |
| ServoFwChannel_SERVO_FW_STABLE ServoFwChannel = 0 |
| // The previous Servo firmware from Stable channel. |
| ServoFwChannel_SERVO_FW_PREV ServoFwChannel = 1 |
| // Servo firmware from Dev channel. |
| ServoFwChannel_SERVO_FW_DEV ServoFwChannel = 2 |
| // Servo firmware from Alpha channel. |
| ServoFwChannel_SERVO_FW_ALPHA ServoFwChannel = 3 |
| ) |
| |
| // Enum value maps for ServoFwChannel. |
| var ( |
| ServoFwChannel_name = map[int32]string{ |
| 0: "SERVO_FW_STABLE", |
| 1: "SERVO_FW_PREV", |
| 2: "SERVO_FW_DEV", |
| 3: "SERVO_FW_ALPHA", |
| } |
| ServoFwChannel_value = map[string]int32{ |
| "SERVO_FW_STABLE": 0, |
| "SERVO_FW_PREV": 1, |
| "SERVO_FW_DEV": 2, |
| "SERVO_FW_ALPHA": 3, |
| } |
| ) |
| |
| func (x ServoFwChannel) Enum() *ServoFwChannel { |
| p := new(ServoFwChannel) |
| *p = x |
| return p |
| } |
| |
| func (x ServoFwChannel) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ServoFwChannel) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (ServoFwChannel) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[0] |
| } |
| |
| func (x ServoFwChannel) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *ServoFwChannel) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = ServoFwChannel(num) |
| return nil |
| } |
| |
| // Deprecated: Use ServoFwChannel.Descriptor instead. |
| func (ServoFwChannel) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{0} |
| } |
| |
| // copy of enum from dut_state.proto |
| // Next Tag: 28 |
| type PeripheralState int32 |
| |
| const ( |
| // Please keep for all unknown states. |
| PeripheralState_UNKNOWN PeripheralState = 0 |
| // Device and software on it is working as expected. |
| PeripheralState_WORKING PeripheralState = 1 |
| // Configuration for device is not provided. |
| PeripheralState_MISSING_CONFIG PeripheralState = 5 |
| // Configuration contains incorrect information. |
| PeripheralState_WRONG_CONFIG PeripheralState = 4 |
| // Device is not connected/plugged. |
| PeripheralState_NOT_CONNECTED PeripheralState = 2 |
| // Device is not reachable over ssh. |
| PeripheralState_NO_SSH PeripheralState = 6 |
| // Device is broken or not working as expected. the state used if no specified state for the issue. |
| PeripheralState_BROKEN PeripheralState = 3 |
| // Device cannot be repaired or required manual attention to fix/replace it. |
| PeripheralState_NEED_REPLACEMENT PeripheralState = 7 |
| // Servo specific states. |
| // cr50 console missing or unresponsive. |
| PeripheralState_CR50_CONSOLE_MISSING PeripheralState = 13 |
| // Servod daemon cannot start on servo-host because cr50 testlab not enabled. |
| PeripheralState_CCD_TESTLAB_ISSUE PeripheralState = 8 |
| // Servod daemon cannot start on servo-host. |
| PeripheralState_SERVOD_ISSUE PeripheralState = 9 |
| // device lid is not open. |
| PeripheralState_LID_OPEN_FAILED PeripheralState = 10 |
| // the ribbon cable between servo and DUT is broken or not connected. |
| PeripheralState_BAD_RIBBON_CABLE PeripheralState = 11 |
| // the EC on the DUT has issue. |
| PeripheralState_EC_BROKEN PeripheralState = 12 |
| // Servo is not connected to the DUT. |
| PeripheralState_DUT_NOT_CONNECTED PeripheralState = 14 |
| // Some component in servo-topology missed or not detected. |
| PeripheralState_TOPOLOGY_ISSUE PeripheralState = 15 |
| // SBU voltage issues effect CR50 detection. |
| PeripheralState_SBU_LOW_VOLTAGE PeripheralState = 16 |
| // CR50 SBU voltage detected but device was not enumerated. |
| PeripheralState_CR50_NOT_ENUMERATED PeripheralState = 17 |
| // Servo serial mismatch, when servo not detected and another serial detected on previous used port. |
| PeripheralState_SERVO_SERIAL_MISMATCH PeripheralState = 18 |
| // Issue to connect to servod by XMLRPC proxy. |
| PeripheralState_SERVOD_PROXY_ISSUE PeripheralState = 19 |
| // Issue related to servo-host. Timeout to start servod or issue with detecting devices. |
| PeripheralState_SERVO_HOST_ISSUE PeripheralState = 20 |
| // Issue related to servo_updater. |
| PeripheralState_SERVO_UPDATER_ISSUE PeripheralState = 21 |
| // Issue detected in servod and reported by dut_controller_missing_fault control. |
| PeripheralState_SERVOD_DUT_CONTROLLER_MISSING PeripheralState = 22 |
| // Issue related to cold reset pin on the DUT. |
| PeripheralState_COLD_RESET_PIN_ISSUE PeripheralState = 23 |
| // Issue related to warm reset pin on the DUT. |
| PeripheralState_WARM_RESET_PIN_ISSUE PeripheralState = 24 |
| // Issue related to power button pin on the DUT. |
| PeripheralState_POWER_BUTTON_PIN_ISSUE PeripheralState = 25 |
| // Peripheral state is not applicable. |
| PeripheralState_NOT_APPLICABLE PeripheralState = 26 |
| // The servo device connected to debug header is not detected. |
| // Reported by dut_controller_missing_fault control. |
| PeripheralState_DEBUG_HEADER_SERVO_MISSING PeripheralState = 27 |
| ) |
| |
| // Enum value maps for PeripheralState. |
| var ( |
| PeripheralState_name = map[int32]string{ |
| 0: "UNKNOWN", |
| 1: "WORKING", |
| 5: "MISSING_CONFIG", |
| 4: "WRONG_CONFIG", |
| 2: "NOT_CONNECTED", |
| 6: "NO_SSH", |
| 3: "BROKEN", |
| 7: "NEED_REPLACEMENT", |
| 13: "CR50_CONSOLE_MISSING", |
| 8: "CCD_TESTLAB_ISSUE", |
| 9: "SERVOD_ISSUE", |
| 10: "LID_OPEN_FAILED", |
| 11: "BAD_RIBBON_CABLE", |
| 12: "EC_BROKEN", |
| 14: "DUT_NOT_CONNECTED", |
| 15: "TOPOLOGY_ISSUE", |
| 16: "SBU_LOW_VOLTAGE", |
| 17: "CR50_NOT_ENUMERATED", |
| 18: "SERVO_SERIAL_MISMATCH", |
| 19: "SERVOD_PROXY_ISSUE", |
| 20: "SERVO_HOST_ISSUE", |
| 21: "SERVO_UPDATER_ISSUE", |
| 22: "SERVOD_DUT_CONTROLLER_MISSING", |
| 23: "COLD_RESET_PIN_ISSUE", |
| 24: "WARM_RESET_PIN_ISSUE", |
| 25: "POWER_BUTTON_PIN_ISSUE", |
| 26: "NOT_APPLICABLE", |
| 27: "DEBUG_HEADER_SERVO_MISSING", |
| } |
| PeripheralState_value = map[string]int32{ |
| "UNKNOWN": 0, |
| "WORKING": 1, |
| "MISSING_CONFIG": 5, |
| "WRONG_CONFIG": 4, |
| "NOT_CONNECTED": 2, |
| "NO_SSH": 6, |
| "BROKEN": 3, |
| "NEED_REPLACEMENT": 7, |
| "CR50_CONSOLE_MISSING": 13, |
| "CCD_TESTLAB_ISSUE": 8, |
| "SERVOD_ISSUE": 9, |
| "LID_OPEN_FAILED": 10, |
| "BAD_RIBBON_CABLE": 11, |
| "EC_BROKEN": 12, |
| "DUT_NOT_CONNECTED": 14, |
| "TOPOLOGY_ISSUE": 15, |
| "SBU_LOW_VOLTAGE": 16, |
| "CR50_NOT_ENUMERATED": 17, |
| "SERVO_SERIAL_MISMATCH": 18, |
| "SERVOD_PROXY_ISSUE": 19, |
| "SERVO_HOST_ISSUE": 20, |
| "SERVO_UPDATER_ISSUE": 21, |
| "SERVOD_DUT_CONTROLLER_MISSING": 22, |
| "COLD_RESET_PIN_ISSUE": 23, |
| "WARM_RESET_PIN_ISSUE": 24, |
| "POWER_BUTTON_PIN_ISSUE": 25, |
| "NOT_APPLICABLE": 26, |
| "DEBUG_HEADER_SERVO_MISSING": 27, |
| } |
| ) |
| |
| func (x PeripheralState) Enum() *PeripheralState { |
| p := new(PeripheralState) |
| *p = x |
| return p |
| } |
| |
| func (x PeripheralState) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (PeripheralState) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[1].Descriptor() |
| } |
| |
| func (PeripheralState) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[1] |
| } |
| |
| func (x PeripheralState) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *PeripheralState) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = PeripheralState(num) |
| return nil |
| } |
| |
| // Deprecated: Use PeripheralState.Descriptor instead. |
| func (PeripheralState) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{1} |
| } |
| |
| // copy of enum from dut_state.proto |
| // The states are using for DUT storage and USB-drive on servo. |
| // Next Tag: 5 |
| type HardwareState int32 |
| |
| const ( |
| // keep for all unknown state by default. |
| HardwareState_HARDWARE_UNKNOWN HardwareState = 0 |
| // Hardware is in good shape and pass all verifiers. |
| HardwareState_HARDWARE_NORMAL HardwareState = 1 |
| // Hardware is still good but some not critical verifiers did not pass or provided border values. |
| // (used for DUT storage when usage reached 98%) |
| HardwareState_HARDWARE_ACCEPTABLE HardwareState = 2 |
| // Hardware is broken or bad (did not pass verifiers). |
| HardwareState_HARDWARE_NEED_REPLACEMENT HardwareState = 3 |
| // Hardware is not detected to run verifiers. |
| // (used for USB-drive when it expected but not detected on the device) |
| HardwareState_HARDWARE_NOT_DETECTED HardwareState = 4 |
| ) |
| |
| // Enum value maps for HardwareState. |
| var ( |
| HardwareState_name = map[int32]string{ |
| 0: "HARDWARE_UNKNOWN", |
| 1: "HARDWARE_NORMAL", |
| 2: "HARDWARE_ACCEPTABLE", |
| 3: "HARDWARE_NEED_REPLACEMENT", |
| 4: "HARDWARE_NOT_DETECTED", |
| } |
| HardwareState_value = map[string]int32{ |
| "HARDWARE_UNKNOWN": 0, |
| "HARDWARE_NORMAL": 1, |
| "HARDWARE_ACCEPTABLE": 2, |
| "HARDWARE_NEED_REPLACEMENT": 3, |
| "HARDWARE_NOT_DETECTED": 4, |
| } |
| ) |
| |
| func (x HardwareState) Enum() *HardwareState { |
| p := new(HardwareState) |
| *p = x |
| return p |
| } |
| |
| func (x HardwareState) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (HardwareState) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[2].Descriptor() |
| } |
| |
| func (HardwareState) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[2] |
| } |
| |
| func (x HardwareState) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *HardwareState) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = HardwareState(num) |
| return nil |
| } |
| |
| // Deprecated: Use HardwareState.Descriptor instead. |
| func (HardwareState) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{2} |
| } |
| |
| // Next Tag: 3 |
| type LicenseType int32 |
| |
| const ( |
| LicenseType_LICENSE_TYPE_UNSPECIFIED LicenseType = 0 |
| // Microsoft Windows 10 Professional Desktop Operating System. |
| // Contact the Chrome OS Parallels team for license specifics. |
| LicenseType_LICENSE_TYPE_WINDOWS_10_PRO LicenseType = 1 |
| // Microsoft Office Standard. |
| // Contact the Chrome OS Parallels team for license specifics. |
| LicenseType_LICENSE_TYPE_MS_OFFICE_STANDARD LicenseType = 2 |
| ) |
| |
| // Enum value maps for LicenseType. |
| var ( |
| LicenseType_name = map[int32]string{ |
| 0: "LICENSE_TYPE_UNSPECIFIED", |
| 1: "LICENSE_TYPE_WINDOWS_10_PRO", |
| 2: "LICENSE_TYPE_MS_OFFICE_STANDARD", |
| } |
| LicenseType_value = map[string]int32{ |
| "LICENSE_TYPE_UNSPECIFIED": 0, |
| "LICENSE_TYPE_WINDOWS_10_PRO": 1, |
| "LICENSE_TYPE_MS_OFFICE_STANDARD": 2, |
| } |
| ) |
| |
| func (x LicenseType) Enum() *LicenseType { |
| p := new(LicenseType) |
| *p = x |
| return p |
| } |
| |
| func (x LicenseType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (LicenseType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[3].Descriptor() |
| } |
| |
| func (LicenseType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[3] |
| } |
| |
| func (x LicenseType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *LicenseType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = LicenseType(num) |
| return nil |
| } |
| |
| // Deprecated: Use LicenseType.Descriptor instead. |
| func (LicenseType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{3} |
| } |
| |
| // Next Tag: 13 |
| type ModemType int32 |
| |
| const ( |
| ModemType_MODEM_TYPE_UNSPECIFIED ModemType = 0 |
| // Unsupported modem |
| ModemType_MODEM_TYPE_UNSUPPORTED ModemType = 8 |
| // Qualcomm modem |
| ModemType_MODEM_TYPE_QUALCOMM_SC7180 ModemType = 1 |
| // Fibocomm modem |
| ModemType_MODEM_TYPE_FIBOCOMM_L850GL ModemType = 2 |
| // NL668 |
| ModemType_MODEM_TYPE_NL668 ModemType = 3 |
| // FM350 |
| ModemType_MODEM_TYPE_FM350 ModemType = 4 |
| // FM101 |
| ModemType_MODEM_TYPE_FM101 ModemType = 5 |
| // SC7280 |
| ModemType_MODEM_TYPE_QUALCOMM_SC7280 ModemType = 6 |
| // EM060 |
| ModemType_MODEM_TYPE_EM060 ModemType = 7 |
| // RW101 |
| ModemType_MODEM_TYPE_RW101 ModemType = 9 |
| // RW135 |
| ModemType_MODEM_TYPE_RW135 ModemType = 10 |
| // LCUK54 |
| ModemType_MODEM_TYPE_LCUK54 ModemType = 11 |
| // RW350 |
| ModemType_MODEM_TYPE_RW350 ModemType = 12 |
| ) |
| |
| // Enum value maps for ModemType. |
| var ( |
| ModemType_name = map[int32]string{ |
| 0: "MODEM_TYPE_UNSPECIFIED", |
| 8: "MODEM_TYPE_UNSUPPORTED", |
| 1: "MODEM_TYPE_QUALCOMM_SC7180", |
| 2: "MODEM_TYPE_FIBOCOMM_L850GL", |
| 3: "MODEM_TYPE_NL668", |
| 4: "MODEM_TYPE_FM350", |
| 5: "MODEM_TYPE_FM101", |
| 6: "MODEM_TYPE_QUALCOMM_SC7280", |
| 7: "MODEM_TYPE_EM060", |
| 9: "MODEM_TYPE_RW101", |
| 10: "MODEM_TYPE_RW135", |
| 11: "MODEM_TYPE_LCUK54", |
| 12: "MODEM_TYPE_RW350", |
| } |
| ModemType_value = map[string]int32{ |
| "MODEM_TYPE_UNSPECIFIED": 0, |
| "MODEM_TYPE_UNSUPPORTED": 8, |
| "MODEM_TYPE_QUALCOMM_SC7180": 1, |
| "MODEM_TYPE_FIBOCOMM_L850GL": 2, |
| "MODEM_TYPE_NL668": 3, |
| "MODEM_TYPE_FM350": 4, |
| "MODEM_TYPE_FM101": 5, |
| "MODEM_TYPE_QUALCOMM_SC7280": 6, |
| "MODEM_TYPE_EM060": 7, |
| "MODEM_TYPE_RW101": 9, |
| "MODEM_TYPE_RW135": 10, |
| "MODEM_TYPE_LCUK54": 11, |
| "MODEM_TYPE_RW350": 12, |
| } |
| ) |
| |
| func (x ModemType) Enum() *ModemType { |
| p := new(ModemType) |
| *p = x |
| return p |
| } |
| |
| func (x ModemType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ModemType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[4].Descriptor() |
| } |
| |
| func (ModemType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[4] |
| } |
| |
| func (x ModemType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *ModemType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = ModemType(num) |
| return nil |
| } |
| |
| // Deprecated: Use ModemType.Descriptor instead. |
| func (ModemType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{4} |
| } |
| |
| // Next Tag: 23 |
| type NetworkProvider int32 |
| |
| const ( |
| NetworkProvider_NETWORK_OTHER NetworkProvider = 0 |
| NetworkProvider_NETWORK_UNSUPPORTED NetworkProvider = 5 |
| NetworkProvider_NETWORK_TEST NetworkProvider = 1 |
| NetworkProvider_NETWORK_ATT NetworkProvider = 2 |
| NetworkProvider_NETWORK_TMOBILE NetworkProvider = 3 |
| NetworkProvider_NETWORK_VERIZON NetworkProvider = 4 |
| NetworkProvider_NETWORK_SPRINT NetworkProvider = 6 |
| NetworkProvider_NETWORK_DOCOMO NetworkProvider = 7 |
| NetworkProvider_NETWORK_SOFTBANK NetworkProvider = 8 |
| NetworkProvider_NETWORK_KDDI NetworkProvider = 9 |
| NetworkProvider_NETWORK_RAKUTEN NetworkProvider = 10 |
| NetworkProvider_NETWORK_VODAFONE NetworkProvider = 11 |
| NetworkProvider_NETWORK_EE NetworkProvider = 12 |
| NetworkProvider_NETWORK_AMARISOFT NetworkProvider = 13 |
| NetworkProvider_NETWORK_ROGER NetworkProvider = 14 |
| NetworkProvider_NETWORK_BELL NetworkProvider = 15 |
| NetworkProvider_NETWORK_TELUS NetworkProvider = 16 |
| NetworkProvider_NETWORK_FI NetworkProvider = 17 |
| NetworkProvider_NETWORK_CBRS NetworkProvider = 18 |
| NetworkProvider_NETWORK_LINEMO NetworkProvider = 19 |
| NetworkProvider_NETWORK_POVO NetworkProvider = 20 |
| NetworkProvider_NETWORK_HANSHIN NetworkProvider = 21 |
| NetworkProvider_NETWORK_ROAMSIM NetworkProvider = 22 |
| ) |
| |
| // Enum value maps for NetworkProvider. |
| var ( |
| NetworkProvider_name = map[int32]string{ |
| 0: "NETWORK_OTHER", |
| 5: "NETWORK_UNSUPPORTED", |
| 1: "NETWORK_TEST", |
| 2: "NETWORK_ATT", |
| 3: "NETWORK_TMOBILE", |
| 4: "NETWORK_VERIZON", |
| 6: "NETWORK_SPRINT", |
| 7: "NETWORK_DOCOMO", |
| 8: "NETWORK_SOFTBANK", |
| 9: "NETWORK_KDDI", |
| 10: "NETWORK_RAKUTEN", |
| 11: "NETWORK_VODAFONE", |
| 12: "NETWORK_EE", |
| 13: "NETWORK_AMARISOFT", |
| 14: "NETWORK_ROGER", |
| 15: "NETWORK_BELL", |
| 16: "NETWORK_TELUS", |
| 17: "NETWORK_FI", |
| 18: "NETWORK_CBRS", |
| 19: "NETWORK_LINEMO", |
| 20: "NETWORK_POVO", |
| 21: "NETWORK_HANSHIN", |
| 22: "NETWORK_ROAMSIM", |
| } |
| NetworkProvider_value = map[string]int32{ |
| "NETWORK_OTHER": 0, |
| "NETWORK_UNSUPPORTED": 5, |
| "NETWORK_TEST": 1, |
| "NETWORK_ATT": 2, |
| "NETWORK_TMOBILE": 3, |
| "NETWORK_VERIZON": 4, |
| "NETWORK_SPRINT": 6, |
| "NETWORK_DOCOMO": 7, |
| "NETWORK_SOFTBANK": 8, |
| "NETWORK_KDDI": 9, |
| "NETWORK_RAKUTEN": 10, |
| "NETWORK_VODAFONE": 11, |
| "NETWORK_EE": 12, |
| "NETWORK_AMARISOFT": 13, |
| "NETWORK_ROGER": 14, |
| "NETWORK_BELL": 15, |
| "NETWORK_TELUS": 16, |
| "NETWORK_FI": 17, |
| "NETWORK_CBRS": 18, |
| "NETWORK_LINEMO": 19, |
| "NETWORK_POVO": 20, |
| "NETWORK_HANSHIN": 21, |
| "NETWORK_ROAMSIM": 22, |
| } |
| ) |
| |
| func (x NetworkProvider) Enum() *NetworkProvider { |
| p := new(NetworkProvider) |
| *p = x |
| return p |
| } |
| |
| func (x NetworkProvider) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (NetworkProvider) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[5].Descriptor() |
| } |
| |
| func (NetworkProvider) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[5] |
| } |
| |
| func (x NetworkProvider) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *NetworkProvider) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = NetworkProvider(num) |
| return nil |
| } |
| |
| // Deprecated: Use NetworkProvider.Descriptor instead. |
| func (NetworkProvider) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{5} |
| } |
| |
| // Next Tag: 3 |
| type SIMType int32 |
| |
| const ( |
| SIMType_SIM_UNKNOWN SIMType = 0 |
| SIMType_SIM_PHYSICAL SIMType = 1 |
| SIMType_SIM_DIGITAL SIMType = 2 |
| ) |
| |
| // Enum value maps for SIMType. |
| var ( |
| SIMType_name = map[int32]string{ |
| 0: "SIM_UNKNOWN", |
| 1: "SIM_PHYSICAL", |
| 2: "SIM_DIGITAL", |
| } |
| SIMType_value = map[string]int32{ |
| "SIM_UNKNOWN": 0, |
| "SIM_PHYSICAL": 1, |
| "SIM_DIGITAL": 2, |
| } |
| ) |
| |
| func (x SIMType) Enum() *SIMType { |
| p := new(SIMType) |
| *p = x |
| return p |
| } |
| |
| func (x SIMType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SIMType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[6].Descriptor() |
| } |
| |
| func (SIMType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[6] |
| } |
| |
| func (x SIMType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *SIMType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = SIMType(num) |
| return nil |
| } |
| |
| // Deprecated: Use SIMType.Descriptor instead. |
| func (SIMType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{6} |
| } |
| |
| // NEXT TAG: 4 |
| type ChameleonDevice_ChameleonHardwareType int32 |
| |
| const ( |
| ChameleonDevice_CHAMELEON_TYPE_V2 ChameleonDevice_ChameleonHardwareType = 1 |
| ChameleonDevice_CHAMELEON_TYPE_V3 ChameleonDevice_ChameleonHardwareType = 2 |
| ChameleonDevice_CHAMELEON_TYPE_RPI ChameleonDevice_ChameleonHardwareType = 3 |
| ) |
| |
| // Enum value maps for ChameleonDevice_ChameleonHardwareType. |
| var ( |
| ChameleonDevice_ChameleonHardwareType_name = map[int32]string{ |
| 1: "CHAMELEON_TYPE_V2", |
| 2: "CHAMELEON_TYPE_V3", |
| 3: "CHAMELEON_TYPE_RPI", |
| } |
| ChameleonDevice_ChameleonHardwareType_value = map[string]int32{ |
| "CHAMELEON_TYPE_V2": 1, |
| "CHAMELEON_TYPE_V3": 2, |
| "CHAMELEON_TYPE_RPI": 3, |
| } |
| ) |
| |
| func (x ChameleonDevice_ChameleonHardwareType) Enum() *ChameleonDevice_ChameleonHardwareType { |
| p := new(ChameleonDevice_ChameleonHardwareType) |
| *p = x |
| return p |
| } |
| |
| func (x ChameleonDevice_ChameleonHardwareType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ChameleonDevice_ChameleonHardwareType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[7].Descriptor() |
| } |
| |
| func (ChameleonDevice_ChameleonHardwareType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[7] |
| } |
| |
| func (x ChameleonDevice_ChameleonHardwareType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *ChameleonDevice_ChameleonHardwareType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = ChameleonDevice_ChameleonHardwareType(num) |
| return nil |
| } |
| |
| // Deprecated: Use ChameleonDevice_ChameleonHardwareType.Descriptor instead. |
| func (ChameleonDevice_ChameleonHardwareType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{3, 0} |
| } |
| |
| // NEXT TAG: 4 |
| type ChameleonDevice_ChameleonConnectionType int32 |
| |
| const ( |
| ChameleonDevice_CHAMELEON_CONNECTION_TYPE_INVALID ChameleonDevice_ChameleonConnectionType = 0 |
| ChameleonDevice_CHAMELEON_CONNECTION_TYPE_AUDIOJACK ChameleonDevice_ChameleonConnectionType = 1 |
| ChameleonDevice_CHAMELEON_CONNECTION_TYPE_USB ChameleonDevice_ChameleonConnectionType = 2 |
| ChameleonDevice_CHAMELEON_CONNECTION_TYPE_HDMI ChameleonDevice_ChameleonConnectionType = 3 |
| ) |
| |
| // Enum value maps for ChameleonDevice_ChameleonConnectionType. |
| var ( |
| ChameleonDevice_ChameleonConnectionType_name = map[int32]string{ |
| 0: "CHAMELEON_CONNECTION_TYPE_INVALID", |
| 1: "CHAMELEON_CONNECTION_TYPE_AUDIOJACK", |
| 2: "CHAMELEON_CONNECTION_TYPE_USB", |
| 3: "CHAMELEON_CONNECTION_TYPE_HDMI", |
| } |
| ChameleonDevice_ChameleonConnectionType_value = map[string]int32{ |
| "CHAMELEON_CONNECTION_TYPE_INVALID": 0, |
| "CHAMELEON_CONNECTION_TYPE_AUDIOJACK": 1, |
| "CHAMELEON_CONNECTION_TYPE_USB": 2, |
| "CHAMELEON_CONNECTION_TYPE_HDMI": 3, |
| } |
| ) |
| |
| func (x ChameleonDevice_ChameleonConnectionType) Enum() *ChameleonDevice_ChameleonConnectionType { |
| p := new(ChameleonDevice_ChameleonConnectionType) |
| *p = x |
| return p |
| } |
| |
| func (x ChameleonDevice_ChameleonConnectionType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ChameleonDevice_ChameleonConnectionType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[8].Descriptor() |
| } |
| |
| func (ChameleonDevice_ChameleonConnectionType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[8] |
| } |
| |
| func (x ChameleonDevice_ChameleonConnectionType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *ChameleonDevice_ChameleonConnectionType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = ChameleonDevice_ChameleonConnectionType(num) |
| return nil |
| } |
| |
| // Deprecated: Use ChameleonDevice_ChameleonConnectionType.Descriptor instead. |
| func (ChameleonDevice_ChameleonConnectionType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{3, 1} |
| } |
| |
| // Similar to device phases, but for the cr50 module onboard. |
| // |
| // NEXT TAG: 3 |
| type SchedulableLabels_CR50_Phase int32 |
| |
| const ( |
| SchedulableLabels_CR50_PHASE_INVALID SchedulableLabels_CR50_Phase = 0 |
| SchedulableLabels_CR50_PHASE_PREPVT SchedulableLabels_CR50_Phase = 1 |
| SchedulableLabels_CR50_PHASE_PVT SchedulableLabels_CR50_Phase = 2 |
| ) |
| |
| // Enum value maps for SchedulableLabels_CR50_Phase. |
| var ( |
| SchedulableLabels_CR50_Phase_name = map[int32]string{ |
| 0: "CR50_PHASE_INVALID", |
| 1: "CR50_PHASE_PREPVT", |
| 2: "CR50_PHASE_PVT", |
| } |
| SchedulableLabels_CR50_Phase_value = map[string]int32{ |
| "CR50_PHASE_INVALID": 0, |
| "CR50_PHASE_PREPVT": 1, |
| "CR50_PHASE_PVT": 2, |
| } |
| ) |
| |
| func (x SchedulableLabels_CR50_Phase) Enum() *SchedulableLabels_CR50_Phase { |
| p := new(SchedulableLabels_CR50_Phase) |
| *p = x |
| return p |
| } |
| |
| func (x SchedulableLabels_CR50_Phase) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SchedulableLabels_CR50_Phase) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[9].Descriptor() |
| } |
| |
| func (SchedulableLabels_CR50_Phase) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[9] |
| } |
| |
| func (x SchedulableLabels_CR50_Phase) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *SchedulableLabels_CR50_Phase) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = SchedulableLabels_CR50_Phase(num) |
| return nil |
| } |
| |
| // Deprecated: Use SchedulableLabels_CR50_Phase.Descriptor instead. |
| func (SchedulableLabels_CR50_Phase) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{10, 0} |
| } |
| |
| // critical_pools are pool labels that the builders are dependent on, and that |
| // the cros-infra team is responsible for managing explicitly. All other pool |
| // labels used for adhoc labeling of DUTs go into self_serve_pools. |
| // |
| // NEXT TAG: 9 |
| type SchedulableLabels_DUTPool int32 |
| |
| const ( |
| SchedulableLabels_DUT_POOL_INVALID SchedulableLabels_DUTPool = 0 |
| SchedulableLabels_DUT_POOL_CQ SchedulableLabels_DUTPool = 1 |
| SchedulableLabels_DUT_POOL_BVT SchedulableLabels_DUTPool = 2 |
| SchedulableLabels_DUT_POOL_SUITES SchedulableLabels_DUTPool = 3 |
| SchedulableLabels_DUT_POOL_CTS SchedulableLabels_DUTPool = 4 |
| SchedulableLabels_DUT_POOL_CTS_PERBUILD SchedulableLabels_DUTPool = 5 |
| SchedulableLabels_DUT_POOL_CONTINUOUS SchedulableLabels_DUTPool = 6 |
| SchedulableLabels_DUT_POOL_ARC_PRESUBMIT SchedulableLabels_DUTPool = 7 |
| SchedulableLabels_DUT_POOL_QUOTA SchedulableLabels_DUTPool = 8 |
| ) |
| |
| // Enum value maps for SchedulableLabels_DUTPool. |
| var ( |
| SchedulableLabels_DUTPool_name = map[int32]string{ |
| 0: "DUT_POOL_INVALID", |
| 1: "DUT_POOL_CQ", |
| 2: "DUT_POOL_BVT", |
| 3: "DUT_POOL_SUITES", |
| 4: "DUT_POOL_CTS", |
| 5: "DUT_POOL_CTS_PERBUILD", |
| 6: "DUT_POOL_CONTINUOUS", |
| 7: "DUT_POOL_ARC_PRESUBMIT", |
| 8: "DUT_POOL_QUOTA", |
| } |
| SchedulableLabels_DUTPool_value = map[string]int32{ |
| "DUT_POOL_INVALID": 0, |
| "DUT_POOL_CQ": 1, |
| "DUT_POOL_BVT": 2, |
| "DUT_POOL_SUITES": 3, |
| "DUT_POOL_CTS": 4, |
| "DUT_POOL_CTS_PERBUILD": 5, |
| "DUT_POOL_CONTINUOUS": 6, |
| "DUT_POOL_ARC_PRESUBMIT": 7, |
| "DUT_POOL_QUOTA": 8, |
| } |
| ) |
| |
| func (x SchedulableLabels_DUTPool) Enum() *SchedulableLabels_DUTPool { |
| p := new(SchedulableLabels_DUTPool) |
| *p = x |
| return p |
| } |
| |
| func (x SchedulableLabels_DUTPool) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SchedulableLabels_DUTPool) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[10].Descriptor() |
| } |
| |
| func (SchedulableLabels_DUTPool) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[10] |
| } |
| |
| func (x SchedulableLabels_DUTPool) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *SchedulableLabels_DUTPool) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = SchedulableLabels_DUTPool(num) |
| return nil |
| } |
| |
| // Deprecated: Use SchedulableLabels_DUTPool.Descriptor instead. |
| func (SchedulableLabels_DUTPool) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{10, 1} |
| } |
| |
| // NEXT TAG: 3 |
| type SchedulableLabels_CTSABI int32 |
| |
| const ( |
| SchedulableLabels_CTS_ABI_INVALID SchedulableLabels_CTSABI = 0 |
| SchedulableLabels_CTS_ABI_ARM SchedulableLabels_CTSABI = 1 |
| SchedulableLabels_CTS_ABI_X86 SchedulableLabels_CTSABI = 2 |
| ) |
| |
| // Enum value maps for SchedulableLabels_CTSABI. |
| var ( |
| SchedulableLabels_CTSABI_name = map[int32]string{ |
| 0: "CTS_ABI_INVALID", |
| 1: "CTS_ABI_ARM", |
| 2: "CTS_ABI_X86", |
| } |
| SchedulableLabels_CTSABI_value = map[string]int32{ |
| "CTS_ABI_INVALID": 0, |
| "CTS_ABI_ARM": 1, |
| "CTS_ABI_X86": 2, |
| } |
| ) |
| |
| func (x SchedulableLabels_CTSABI) Enum() *SchedulableLabels_CTSABI { |
| p := new(SchedulableLabels_CTSABI) |
| *p = x |
| return p |
| } |
| |
| func (x SchedulableLabels_CTSABI) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SchedulableLabels_CTSABI) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[11].Descriptor() |
| } |
| |
| func (SchedulableLabels_CTSABI) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[11] |
| } |
| |
| func (x SchedulableLabels_CTSABI) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *SchedulableLabels_CTSABI) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = SchedulableLabels_CTSABI(num) |
| return nil |
| } |
| |
| // Deprecated: Use SchedulableLabels_CTSABI.Descriptor instead. |
| func (SchedulableLabels_CTSABI) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{10, 2} |
| } |
| |
| // NEXT TAG: 3 |
| type SchedulableLabels_CTSCPU int32 |
| |
| const ( |
| SchedulableLabels_CTS_CPU_INVALID SchedulableLabels_CTSCPU = 0 |
| SchedulableLabels_CTS_CPU_ARM SchedulableLabels_CTSCPU = 1 |
| SchedulableLabels_CTS_CPU_X86 SchedulableLabels_CTSCPU = 2 |
| ) |
| |
| // Enum value maps for SchedulableLabels_CTSCPU. |
| var ( |
| SchedulableLabels_CTSCPU_name = map[int32]string{ |
| 0: "CTS_CPU_INVALID", |
| 1: "CTS_CPU_ARM", |
| 2: "CTS_CPU_X86", |
| } |
| SchedulableLabels_CTSCPU_value = map[string]int32{ |
| "CTS_CPU_INVALID": 0, |
| "CTS_CPU_ARM": 1, |
| "CTS_CPU_X86": 2, |
| } |
| ) |
| |
| func (x SchedulableLabels_CTSCPU) Enum() *SchedulableLabels_CTSCPU { |
| p := new(SchedulableLabels_CTSCPU) |
| *p = x |
| return p |
| } |
| |
| func (x SchedulableLabels_CTSCPU) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SchedulableLabels_CTSCPU) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[12].Descriptor() |
| } |
| |
| func (SchedulableLabels_CTSCPU) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[12] |
| } |
| |
| func (x SchedulableLabels_CTSCPU) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *SchedulableLabels_CTSCPU) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = SchedulableLabels_CTSCPU(num) |
| return nil |
| } |
| |
| // Deprecated: Use SchedulableLabels_CTSCPU.Descriptor instead. |
| func (SchedulableLabels_CTSCPU) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{10, 3} |
| } |
| |
| // NEXT TAG: 2 |
| type SchedulableLabels_ECType int32 |
| |
| const ( |
| SchedulableLabels_EC_TYPE_INVALID SchedulableLabels_ECType = 0 |
| SchedulableLabels_EC_TYPE_CHROME_OS SchedulableLabels_ECType = 1 |
| ) |
| |
| // Enum value maps for SchedulableLabels_ECType. |
| var ( |
| SchedulableLabels_ECType_name = map[int32]string{ |
| 0: "EC_TYPE_INVALID", |
| 1: "EC_TYPE_CHROME_OS", |
| } |
| SchedulableLabels_ECType_value = map[string]int32{ |
| "EC_TYPE_INVALID": 0, |
| "EC_TYPE_CHROME_OS": 1, |
| } |
| ) |
| |
| func (x SchedulableLabels_ECType) Enum() *SchedulableLabels_ECType { |
| p := new(SchedulableLabels_ECType) |
| *p = x |
| return p |
| } |
| |
| func (x SchedulableLabels_ECType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SchedulableLabels_ECType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[13].Descriptor() |
| } |
| |
| func (SchedulableLabels_ECType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[13] |
| } |
| |
| func (x SchedulableLabels_ECType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *SchedulableLabels_ECType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = SchedulableLabels_ECType(num) |
| return nil |
| } |
| |
| // Deprecated: Use SchedulableLabels_ECType.Descriptor instead. |
| func (SchedulableLabels_ECType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{10, 4} |
| } |
| |
| // NEXT TAG: 6 |
| type SchedulableLabels_OSType int32 |
| |
| const ( |
| SchedulableLabels_OS_TYPE_INVALID SchedulableLabels_OSType = 0 |
| SchedulableLabels_OS_TYPE_ANDROID SchedulableLabels_OSType = 1 |
| SchedulableLabels_OS_TYPE_CROS SchedulableLabels_OSType = 2 |
| SchedulableLabels_OS_TYPE_JETSTREAM SchedulableLabels_OSType = 3 |
| SchedulableLabels_OS_TYPE_MOBLAB SchedulableLabels_OSType = 4 |
| SchedulableLabels_OS_TYPE_LABSTATION SchedulableLabels_OSType = 5 |
| ) |
| |
| // Enum value maps for SchedulableLabels_OSType. |
| var ( |
| SchedulableLabels_OSType_name = map[int32]string{ |
| 0: "OS_TYPE_INVALID", |
| 1: "OS_TYPE_ANDROID", |
| 2: "OS_TYPE_CROS", |
| 3: "OS_TYPE_JETSTREAM", |
| 4: "OS_TYPE_MOBLAB", |
| 5: "OS_TYPE_LABSTATION", |
| } |
| SchedulableLabels_OSType_value = map[string]int32{ |
| "OS_TYPE_INVALID": 0, |
| "OS_TYPE_ANDROID": 1, |
| "OS_TYPE_CROS": 2, |
| "OS_TYPE_JETSTREAM": 3, |
| "OS_TYPE_MOBLAB": 4, |
| "OS_TYPE_LABSTATION": 5, |
| } |
| ) |
| |
| func (x SchedulableLabels_OSType) Enum() *SchedulableLabels_OSType { |
| p := new(SchedulableLabels_OSType) |
| *p = x |
| return p |
| } |
| |
| func (x SchedulableLabels_OSType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SchedulableLabels_OSType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[14].Descriptor() |
| } |
| |
| func (SchedulableLabels_OSType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[14] |
| } |
| |
| func (x SchedulableLabels_OSType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *SchedulableLabels_OSType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = SchedulableLabels_OSType(num) |
| return nil |
| } |
| |
| // Deprecated: Use SchedulableLabels_OSType.Descriptor instead. |
| func (SchedulableLabels_OSType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{10, 5} |
| } |
| |
| // Devices go through the phases EVT -> DVT -> PVT during early development. |
| // Post launch devices are in the MP phase. |
| // Certain phases end up having to be repeated as hardware evolves. Leave some |
| // scope for iteration within phases. |
| // |
| // NEXT TAG: 9 |
| type SchedulableLabels_Phase int32 |
| |
| const ( |
| SchedulableLabels_PHASE_INVALID SchedulableLabels_Phase = 0 |
| SchedulableLabels_PHASE_EVT SchedulableLabels_Phase = 1 |
| SchedulableLabels_PHASE_EVT2 SchedulableLabels_Phase = 2 |
| SchedulableLabels_PHASE_DVT SchedulableLabels_Phase = 3 |
| SchedulableLabels_PHASE_DVT2 SchedulableLabels_Phase = 4 |
| SchedulableLabels_PHASE_PVT SchedulableLabels_Phase = 5 |
| SchedulableLabels_PHASE_PVT2 SchedulableLabels_Phase = 6 |
| SchedulableLabels_PHASE_PVT3 SchedulableLabels_Phase = 7 |
| SchedulableLabels_PHASE_MP SchedulableLabels_Phase = 8 |
| ) |
| |
| // Enum value maps for SchedulableLabels_Phase. |
| var ( |
| SchedulableLabels_Phase_name = map[int32]string{ |
| 0: "PHASE_INVALID", |
| 1: "PHASE_EVT", |
| 2: "PHASE_EVT2", |
| 3: "PHASE_DVT", |
| 4: "PHASE_DVT2", |
| 5: "PHASE_PVT", |
| 6: "PHASE_PVT2", |
| 7: "PHASE_PVT3", |
| 8: "PHASE_MP", |
| } |
| SchedulableLabels_Phase_value = map[string]int32{ |
| "PHASE_INVALID": 0, |
| "PHASE_EVT": 1, |
| "PHASE_EVT2": 2, |
| "PHASE_DVT": 3, |
| "PHASE_DVT2": 4, |
| "PHASE_PVT": 5, |
| "PHASE_PVT2": 6, |
| "PHASE_PVT3": 7, |
| "PHASE_MP": 8, |
| } |
| ) |
| |
| func (x SchedulableLabels_Phase) Enum() *SchedulableLabels_Phase { |
| p := new(SchedulableLabels_Phase) |
| *p = x |
| return p |
| } |
| |
| func (x SchedulableLabels_Phase) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SchedulableLabels_Phase) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[15].Descriptor() |
| } |
| |
| func (SchedulableLabels_Phase) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[15] |
| } |
| |
| func (x SchedulableLabels_Phase) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *SchedulableLabels_Phase) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = SchedulableLabels_Phase(num) |
| return nil |
| } |
| |
| // Deprecated: Use SchedulableLabels_Phase.Descriptor instead. |
| func (SchedulableLabels_Phase) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{10, 6} |
| } |
| |
| // NEXT TAG: 2 |
| type SchedulableLabels_BotSize int32 |
| |
| const ( |
| SchedulableLabels_BOT_SIZE_INVALID SchedulableLabels_BotSize = 0 |
| SchedulableLabels_BOT_SIZE_LARGE SchedulableLabels_BotSize = 1 |
| ) |
| |
| // Enum value maps for SchedulableLabels_BotSize. |
| var ( |
| SchedulableLabels_BotSize_name = map[int32]string{ |
| 0: "BOT_SIZE_INVALID", |
| 1: "BOT_SIZE_LARGE", |
| } |
| SchedulableLabels_BotSize_value = map[string]int32{ |
| "BOT_SIZE_INVALID": 0, |
| "BOT_SIZE_LARGE": 1, |
| } |
| ) |
| |
| func (x SchedulableLabels_BotSize) Enum() *SchedulableLabels_BotSize { |
| p := new(SchedulableLabels_BotSize) |
| *p = x |
| return p |
| } |
| |
| func (x SchedulableLabels_BotSize) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SchedulableLabels_BotSize) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[16].Descriptor() |
| } |
| |
| func (SchedulableLabels_BotSize) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[16] |
| } |
| |
| func (x SchedulableLabels_BotSize) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *SchedulableLabels_BotSize) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = SchedulableLabels_BotSize(num) |
| return nil |
| } |
| |
| // Deprecated: Use SchedulableLabels_BotSize.Descriptor instead. |
| func (SchedulableLabels_BotSize) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{10, 7} |
| } |
| |
| // NEXT TAG: 4 |
| type SchedulableLabels_DevboardType int32 |
| |
| const ( |
| SchedulableLabels_DEVBOARD_TYPE_INVALID SchedulableLabels_DevboardType = 0 |
| SchedulableLabels_DEVBOARD_TYPE_ANDREIBOARD SchedulableLabels_DevboardType = 1 |
| SchedulableLabels_DEVBOARD_TYPE_ICETOWER SchedulableLabels_DevboardType = 2 |
| SchedulableLabels_DEVBOARD_TYPE_DRAGONCLAW SchedulableLabels_DevboardType = 3 |
| ) |
| |
| // Enum value maps for SchedulableLabels_DevboardType. |
| var ( |
| SchedulableLabels_DevboardType_name = map[int32]string{ |
| 0: "DEVBOARD_TYPE_INVALID", |
| 1: "DEVBOARD_TYPE_ANDREIBOARD", |
| 2: "DEVBOARD_TYPE_ICETOWER", |
| 3: "DEVBOARD_TYPE_DRAGONCLAW", |
| } |
| SchedulableLabels_DevboardType_value = map[string]int32{ |
| "DEVBOARD_TYPE_INVALID": 0, |
| "DEVBOARD_TYPE_ANDREIBOARD": 1, |
| "DEVBOARD_TYPE_ICETOWER": 2, |
| "DEVBOARD_TYPE_DRAGONCLAW": 3, |
| } |
| ) |
| |
| func (x SchedulableLabels_DevboardType) Enum() *SchedulableLabels_DevboardType { |
| p := new(SchedulableLabels_DevboardType) |
| *p = x |
| return p |
| } |
| |
| func (x SchedulableLabels_DevboardType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (SchedulableLabels_DevboardType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[17].Descriptor() |
| } |
| |
| func (SchedulableLabels_DevboardType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[17] |
| } |
| |
| func (x SchedulableLabels_DevboardType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *SchedulableLabels_DevboardType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = SchedulableLabels_DevboardType(num) |
| return nil |
| } |
| |
| // Deprecated: Use SchedulableLabels_DevboardType.Descriptor instead. |
| func (SchedulableLabels_DevboardType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{10, 8} |
| } |
| |
| // NEXT TAG: 31 |
| type HardwareCapabilities_Carrier int32 |
| |
| const ( |
| HardwareCapabilities_CARRIER_INVALID HardwareCapabilities_Carrier = 0 |
| HardwareCapabilities_CARRIER_ATT HardwareCapabilities_Carrier = 1 |
| HardwareCapabilities_CARRIER_TMOBILE HardwareCapabilities_Carrier = 2 |
| HardwareCapabilities_CARRIER_VERIZON HardwareCapabilities_Carrier = 3 |
| HardwareCapabilities_CARRIER_SPRINT HardwareCapabilities_Carrier = 4 |
| HardwareCapabilities_CARRIER_TESTESIM HardwareCapabilities_Carrier = 5 |
| HardwareCapabilities_CARRIER_ESIM HardwareCapabilities_Carrier = 6 |
| HardwareCapabilities_CARRIER_MULTISIM HardwareCapabilities_Carrier = 7 |
| HardwareCapabilities_CARRIER_ROAMSIM HardwareCapabilities_Carrier = 8 |
| HardwareCapabilities_CARRIER_DOCOMO HardwareCapabilities_Carrier = 9 |
| HardwareCapabilities_CARRIER_SOFTBANK HardwareCapabilities_Carrier = 10 |
| HardwareCapabilities_CARRIER_KDDI HardwareCapabilities_Carrier = 11 |
| HardwareCapabilities_CARRIER_RAKUTEN HardwareCapabilities_Carrier = 12 |
| HardwareCapabilities_CARRIER_VODAFONE HardwareCapabilities_Carrier = 13 |
| HardwareCapabilities_CARRIER_EE HardwareCapabilities_Carrier = 14 |
| HardwareCapabilities_CARRIER_AMARISOFT HardwareCapabilities_Carrier = 15 |
| HardwareCapabilities_CARRIER_ROGER HardwareCapabilities_Carrier = 16 |
| HardwareCapabilities_CARRIER_BELL HardwareCapabilities_Carrier = 17 |
| HardwareCapabilities_CARRIER_TELUS HardwareCapabilities_Carrier = 18 |
| HardwareCapabilities_CARRIER_STARFISH HardwareCapabilities_Carrier = 19 |
| HardwareCapabilities_CARRIER_STARFISHPLUS HardwareCapabilities_Carrier = 20 |
| HardwareCapabilities_CARRIER_PINLOCK HardwareCapabilities_Carrier = 21 |
| HardwareCapabilities_CARRIER_FI HardwareCapabilities_Carrier = 22 |
| HardwareCapabilities_CARRIER_CMW500 HardwareCapabilities_Carrier = 23 |
| HardwareCapabilities_CARRIER_CMX500 HardwareCapabilities_Carrier = 24 |
| HardwareCapabilities_CARRIER_RAK HardwareCapabilities_Carrier = 25 |
| HardwareCapabilities_CARRIER_CBRS HardwareCapabilities_Carrier = 26 |
| HardwareCapabilities_CARRIER_LINEMO HardwareCapabilities_Carrier = 27 |
| HardwareCapabilities_CARRIER_POVO HardwareCapabilities_Carrier = 28 |
| HardwareCapabilities_CARRIER_HANSHIN HardwareCapabilities_Carrier = 29 |
| HardwareCapabilities_CARRIER_AHAMO HardwareCapabilities_Carrier = 30 |
| ) |
| |
| // Enum value maps for HardwareCapabilities_Carrier. |
| var ( |
| HardwareCapabilities_Carrier_name = map[int32]string{ |
| 0: "CARRIER_INVALID", |
| 1: "CARRIER_ATT", |
| 2: "CARRIER_TMOBILE", |
| 3: "CARRIER_VERIZON", |
| 4: "CARRIER_SPRINT", |
| 5: "CARRIER_TESTESIM", |
| 6: "CARRIER_ESIM", |
| 7: "CARRIER_MULTISIM", |
| 8: "CARRIER_ROAMSIM", |
| 9: "CARRIER_DOCOMO", |
| 10: "CARRIER_SOFTBANK", |
| 11: "CARRIER_KDDI", |
| 12: "CARRIER_RAKUTEN", |
| 13: "CARRIER_VODAFONE", |
| 14: "CARRIER_EE", |
| 15: "CARRIER_AMARISOFT", |
| 16: "CARRIER_ROGER", |
| 17: "CARRIER_BELL", |
| 18: "CARRIER_TELUS", |
| 19: "CARRIER_STARFISH", |
| 20: "CARRIER_STARFISHPLUS", |
| 21: "CARRIER_PINLOCK", |
| 22: "CARRIER_FI", |
| 23: "CARRIER_CMW500", |
| 24: "CARRIER_CMX500", |
| 25: "CARRIER_RAK", |
| 26: "CARRIER_CBRS", |
| 27: "CARRIER_LINEMO", |
| 28: "CARRIER_POVO", |
| 29: "CARRIER_HANSHIN", |
| 30: "CARRIER_AHAMO", |
| } |
| HardwareCapabilities_Carrier_value = map[string]int32{ |
| "CARRIER_INVALID": 0, |
| "CARRIER_ATT": 1, |
| "CARRIER_TMOBILE": 2, |
| "CARRIER_VERIZON": 3, |
| "CARRIER_SPRINT": 4, |
| "CARRIER_TESTESIM": 5, |
| "CARRIER_ESIM": 6, |
| "CARRIER_MULTISIM": 7, |
| "CARRIER_ROAMSIM": 8, |
| "CARRIER_DOCOMO": 9, |
| "CARRIER_SOFTBANK": 10, |
| "CARRIER_KDDI": 11, |
| "CARRIER_RAKUTEN": 12, |
| "CARRIER_VODAFONE": 13, |
| "CARRIER_EE": 14, |
| "CARRIER_AMARISOFT": 15, |
| "CARRIER_ROGER": 16, |
| "CARRIER_BELL": 17, |
| "CARRIER_TELUS": 18, |
| "CARRIER_STARFISH": 19, |
| "CARRIER_STARFISHPLUS": 20, |
| "CARRIER_PINLOCK": 21, |
| "CARRIER_FI": 22, |
| "CARRIER_CMW500": 23, |
| "CARRIER_CMX500": 24, |
| "CARRIER_RAK": 25, |
| "CARRIER_CBRS": 26, |
| "CARRIER_LINEMO": 27, |
| "CARRIER_POVO": 28, |
| "CARRIER_HANSHIN": 29, |
| "CARRIER_AHAMO": 30, |
| } |
| ) |
| |
| func (x HardwareCapabilities_Carrier) Enum() *HardwareCapabilities_Carrier { |
| p := new(HardwareCapabilities_Carrier) |
| *p = x |
| return p |
| } |
| |
| func (x HardwareCapabilities_Carrier) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (HardwareCapabilities_Carrier) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[18].Descriptor() |
| } |
| |
| func (HardwareCapabilities_Carrier) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[18] |
| } |
| |
| func (x HardwareCapabilities_Carrier) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *HardwareCapabilities_Carrier) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = HardwareCapabilities_Carrier(num) |
| return nil |
| } |
| |
| // Deprecated: Use HardwareCapabilities_Carrier.Descriptor instead. |
| func (HardwareCapabilities_Carrier) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{11, 0} |
| } |
| |
| // Next tag: 3 |
| // We care about the both true/false cases, so we need a default value to |
| // avoid "false" getting added to an empty struct |
| type HardwareCapabilities_CbxState int32 |
| |
| const ( |
| HardwareCapabilities_CBX_STATE_UNSPECIFIED HardwareCapabilities_CbxState = 0 |
| HardwareCapabilities_CBX_STATE_TRUE HardwareCapabilities_CbxState = 1 |
| HardwareCapabilities_CBX_STATE_FALSE HardwareCapabilities_CbxState = 2 |
| ) |
| |
| // Enum value maps for HardwareCapabilities_CbxState. |
| var ( |
| HardwareCapabilities_CbxState_name = map[int32]string{ |
| 0: "CBX_STATE_UNSPECIFIED", |
| 1: "CBX_STATE_TRUE", |
| 2: "CBX_STATE_FALSE", |
| } |
| HardwareCapabilities_CbxState_value = map[string]int32{ |
| "CBX_STATE_UNSPECIFIED": 0, |
| "CBX_STATE_TRUE": 1, |
| "CBX_STATE_FALSE": 2, |
| } |
| ) |
| |
| func (x HardwareCapabilities_CbxState) Enum() *HardwareCapabilities_CbxState { |
| p := new(HardwareCapabilities_CbxState) |
| *p = x |
| return p |
| } |
| |
| func (x HardwareCapabilities_CbxState) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (HardwareCapabilities_CbxState) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[19].Descriptor() |
| } |
| |
| func (HardwareCapabilities_CbxState) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[19] |
| } |
| |
| func (x HardwareCapabilities_CbxState) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *HardwareCapabilities_CbxState) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = HardwareCapabilities_CbxState(num) |
| return nil |
| } |
| |
| // Deprecated: Use HardwareCapabilities_CbxState.Descriptor instead. |
| func (HardwareCapabilities_CbxState) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{11, 1} |
| } |
| |
| // Next tag: 3 |
| type HardwareCapabilities_CbxBranding int32 |
| |
| const ( |
| HardwareCapabilities_CBX_BRANDING_UNSPECIFIED HardwareCapabilities_CbxBranding = 0 |
| HardwareCapabilities_CBX_BRANDING_SOFT_BRANDING HardwareCapabilities_CbxBranding = 1 |
| HardwareCapabilities_CBX_BRANDING_HARD_BRANDING HardwareCapabilities_CbxBranding = 2 |
| ) |
| |
| // Enum value maps for HardwareCapabilities_CbxBranding. |
| var ( |
| HardwareCapabilities_CbxBranding_name = map[int32]string{ |
| 0: "CBX_BRANDING_UNSPECIFIED", |
| 1: "CBX_BRANDING_SOFT_BRANDING", |
| 2: "CBX_BRANDING_HARD_BRANDING", |
| } |
| HardwareCapabilities_CbxBranding_value = map[string]int32{ |
| "CBX_BRANDING_UNSPECIFIED": 0, |
| "CBX_BRANDING_SOFT_BRANDING": 1, |
| "CBX_BRANDING_HARD_BRANDING": 2, |
| } |
| ) |
| |
| func (x HardwareCapabilities_CbxBranding) Enum() *HardwareCapabilities_CbxBranding { |
| p := new(HardwareCapabilities_CbxBranding) |
| *p = x |
| return p |
| } |
| |
| func (x HardwareCapabilities_CbxBranding) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (HardwareCapabilities_CbxBranding) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[20].Descriptor() |
| } |
| |
| func (HardwareCapabilities_CbxBranding) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[20] |
| } |
| |
| func (x HardwareCapabilities_CbxBranding) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *HardwareCapabilities_CbxBranding) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = HardwareCapabilities_CbxBranding(num) |
| return nil |
| } |
| |
| // Deprecated: Use HardwareCapabilities_CbxBranding.Descriptor instead. |
| func (HardwareCapabilities_CbxBranding) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{11, 2} |
| } |
| |
| // The GSC chip on the DUT. |
| // The value is determined based on VID:PID values. |
| // More details can be found in b/369829759. |
| type HardwareCapabilities_GscChip int32 |
| |
| const ( |
| HardwareCapabilities_GSC_CHIP_UNKNOWN HardwareCapabilities_GscChip = 0 |
| HardwareCapabilities_GSC_CHIP_H1 HardwareCapabilities_GscChip = 1 |
| HardwareCapabilities_GSC_CHIP_DT HardwareCapabilities_GscChip = 2 |
| HardwareCapabilities_GSC_CHIP_NT HardwareCapabilities_GscChip = 3 |
| ) |
| |
| // Enum value maps for HardwareCapabilities_GscChip. |
| var ( |
| HardwareCapabilities_GscChip_name = map[int32]string{ |
| 0: "GSC_CHIP_UNKNOWN", |
| 1: "GSC_CHIP_H1", |
| 2: "GSC_CHIP_DT", |
| 3: "GSC_CHIP_NT", |
| } |
| HardwareCapabilities_GscChip_value = map[string]int32{ |
| "GSC_CHIP_UNKNOWN": 0, |
| "GSC_CHIP_H1": 1, |
| "GSC_CHIP_DT": 2, |
| "GSC_CHIP_NT": 3, |
| } |
| ) |
| |
| func (x HardwareCapabilities_GscChip) Enum() *HardwareCapabilities_GscChip { |
| p := new(HardwareCapabilities_GscChip) |
| *p = x |
| return p |
| } |
| |
| func (x HardwareCapabilities_GscChip) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (HardwareCapabilities_GscChip) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[21].Descriptor() |
| } |
| |
| func (HardwareCapabilities_GscChip) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[21] |
| } |
| |
| func (x HardwareCapabilities_GscChip) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *HardwareCapabilities_GscChip) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = HardwareCapabilities_GscChip(num) |
| return nil |
| } |
| |
| // Deprecated: Use HardwareCapabilities_GscChip.Descriptor instead. |
| func (HardwareCapabilities_GscChip) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{11, 3} |
| } |
| |
| // Next tag: 8 |
| type HardwareCapabilities_FormFactor int32 |
| |
| const ( |
| HardwareCapabilities_FORM_FACTOR_UNSPECIFIED HardwareCapabilities_FormFactor = 0 |
| HardwareCapabilities_FORM_FACTOR_CLAMSHELL HardwareCapabilities_FormFactor = 1 |
| HardwareCapabilities_FORM_FACTOR_CONVERTIBLE HardwareCapabilities_FormFactor = 2 |
| HardwareCapabilities_FORM_FACTOR_DETACHABLE HardwareCapabilities_FormFactor = 3 |
| HardwareCapabilities_FORM_FACTOR_CHROMEBASE HardwareCapabilities_FormFactor = 4 |
| HardwareCapabilities_FORM_FACTOR_CHROMEBOX HardwareCapabilities_FormFactor = 5 |
| HardwareCapabilities_FORM_FACTOR_CHROMEBIT HardwareCapabilities_FormFactor = 6 |
| HardwareCapabilities_FORM_FACTOR_CHROMESLATE HardwareCapabilities_FormFactor = 7 |
| ) |
| |
| // Enum value maps for HardwareCapabilities_FormFactor. |
| var ( |
| HardwareCapabilities_FormFactor_name = map[int32]string{ |
| 0: "FORM_FACTOR_UNSPECIFIED", |
| 1: "FORM_FACTOR_CLAMSHELL", |
| 2: "FORM_FACTOR_CONVERTIBLE", |
| 3: "FORM_FACTOR_DETACHABLE", |
| 4: "FORM_FACTOR_CHROMEBASE", |
| 5: "FORM_FACTOR_CHROMEBOX", |
| 6: "FORM_FACTOR_CHROMEBIT", |
| 7: "FORM_FACTOR_CHROMESLATE", |
| } |
| HardwareCapabilities_FormFactor_value = map[string]int32{ |
| "FORM_FACTOR_UNSPECIFIED": 0, |
| "FORM_FACTOR_CLAMSHELL": 1, |
| "FORM_FACTOR_CONVERTIBLE": 2, |
| "FORM_FACTOR_DETACHABLE": 3, |
| "FORM_FACTOR_CHROMEBASE": 4, |
| "FORM_FACTOR_CHROMEBOX": 5, |
| "FORM_FACTOR_CHROMEBIT": 6, |
| "FORM_FACTOR_CHROMESLATE": 7, |
| } |
| ) |
| |
| func (x HardwareCapabilities_FormFactor) Enum() *HardwareCapabilities_FormFactor { |
| p := new(HardwareCapabilities_FormFactor) |
| *p = x |
| return p |
| } |
| |
| func (x HardwareCapabilities_FormFactor) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (HardwareCapabilities_FormFactor) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[22].Descriptor() |
| } |
| |
| func (HardwareCapabilities_FormFactor) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[22] |
| } |
| |
| func (x HardwareCapabilities_FormFactor) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *HardwareCapabilities_FormFactor) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = HardwareCapabilities_FormFactor(num) |
| return nil |
| } |
| |
| // Deprecated: Use HardwareCapabilities_FormFactor.Descriptor instead. |
| func (HardwareCapabilities_FormFactor) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{11, 4} |
| } |
| |
| // NEXT TAG: 13 |
| type HardwareCapabilities_VideoAcceleration int32 |
| |
| const ( |
| HardwareCapabilities_VIDEO_ACCELERATION_INVALID HardwareCapabilities_VideoAcceleration = 0 |
| HardwareCapabilities_VIDEO_ACCELERATION_H264 HardwareCapabilities_VideoAcceleration = 1 |
| HardwareCapabilities_VIDEO_ACCELERATION_ENC_H264 HardwareCapabilities_VideoAcceleration = 2 |
| HardwareCapabilities_VIDEO_ACCELERATION_VP8 HardwareCapabilities_VideoAcceleration = 3 |
| HardwareCapabilities_VIDEO_ACCELERATION_ENC_VP8 HardwareCapabilities_VideoAcceleration = 4 |
| HardwareCapabilities_VIDEO_ACCELERATION_VP9 HardwareCapabilities_VideoAcceleration = 5 |
| HardwareCapabilities_VIDEO_ACCELERATION_ENC_VP9 HardwareCapabilities_VideoAcceleration = 6 |
| HardwareCapabilities_VIDEO_ACCELERATION_VP9_2 HardwareCapabilities_VideoAcceleration = 7 |
| HardwareCapabilities_VIDEO_ACCELERATION_ENC_VP9_2 HardwareCapabilities_VideoAcceleration = 8 |
| HardwareCapabilities_VIDEO_ACCELERATION_H265 HardwareCapabilities_VideoAcceleration = 9 |
| HardwareCapabilities_VIDEO_ACCELERATION_ENC_H265 HardwareCapabilities_VideoAcceleration = 10 |
| HardwareCapabilities_VIDEO_ACCELERATION_MJPG HardwareCapabilities_VideoAcceleration = 11 |
| HardwareCapabilities_VIDEO_ACCELERATION_ENC_MJPG HardwareCapabilities_VideoAcceleration = 12 |
| ) |
| |
| // Enum value maps for HardwareCapabilities_VideoAcceleration. |
| var ( |
| HardwareCapabilities_VideoAcceleration_name = map[int32]string{ |
| 0: "VIDEO_ACCELERATION_INVALID", |
| 1: "VIDEO_ACCELERATION_H264", |
| 2: "VIDEO_ACCELERATION_ENC_H264", |
| 3: "VIDEO_ACCELERATION_VP8", |
| 4: "VIDEO_ACCELERATION_ENC_VP8", |
| 5: "VIDEO_ACCELERATION_VP9", |
| 6: "VIDEO_ACCELERATION_ENC_VP9", |
| 7: "VIDEO_ACCELERATION_VP9_2", |
| 8: "VIDEO_ACCELERATION_ENC_VP9_2", |
| 9: "VIDEO_ACCELERATION_H265", |
| 10: "VIDEO_ACCELERATION_ENC_H265", |
| 11: "VIDEO_ACCELERATION_MJPG", |
| 12: "VIDEO_ACCELERATION_ENC_MJPG", |
| } |
| HardwareCapabilities_VideoAcceleration_value = map[string]int32{ |
| "VIDEO_ACCELERATION_INVALID": 0, |
| "VIDEO_ACCELERATION_H264": 1, |
| "VIDEO_ACCELERATION_ENC_H264": 2, |
| "VIDEO_ACCELERATION_VP8": 3, |
| "VIDEO_ACCELERATION_ENC_VP8": 4, |
| "VIDEO_ACCELERATION_VP9": 5, |
| "VIDEO_ACCELERATION_ENC_VP9": 6, |
| "VIDEO_ACCELERATION_VP9_2": 7, |
| "VIDEO_ACCELERATION_ENC_VP9_2": 8, |
| "VIDEO_ACCELERATION_H265": 9, |
| "VIDEO_ACCELERATION_ENC_H265": 10, |
| "VIDEO_ACCELERATION_MJPG": 11, |
| "VIDEO_ACCELERATION_ENC_MJPG": 12, |
| } |
| ) |
| |
| func (x HardwareCapabilities_VideoAcceleration) Enum() *HardwareCapabilities_VideoAcceleration { |
| p := new(HardwareCapabilities_VideoAcceleration) |
| *p = x |
| return p |
| } |
| |
| func (x HardwareCapabilities_VideoAcceleration) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (HardwareCapabilities_VideoAcceleration) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[23].Descriptor() |
| } |
| |
| func (HardwareCapabilities_VideoAcceleration) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[23] |
| } |
| |
| func (x HardwareCapabilities_VideoAcceleration) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *HardwareCapabilities_VideoAcceleration) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = HardwareCapabilities_VideoAcceleration(num) |
| return nil |
| } |
| |
| // Deprecated: Use HardwareCapabilities_VideoAcceleration.Descriptor instead. |
| func (HardwareCapabilities_VideoAcceleration) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{11, 5} |
| } |
| |
| // NEXT TAG: 12 |
| type Peripherals_ChameleonType int32 |
| |
| const ( |
| Peripherals_CHAMELEON_TYPE_INVALID Peripherals_ChameleonType = 0 |
| Peripherals_CHAMELEON_TYPE_DP Peripherals_ChameleonType = 2 |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/libs/skylab/inventory/device.proto. |
| Peripherals_CHAMELEON_TYPE_DP_HDMI Peripherals_ChameleonType = 3 |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/libs/skylab/inventory/device.proto. |
| Peripherals_CHAMELEON_TYPE_VGA Peripherals_ChameleonType = 4 |
| Peripherals_CHAMELEON_TYPE_HDMI Peripherals_ChameleonType = 5 |
| Peripherals_CHAMELEON_TYPE_V2 Peripherals_ChameleonType = 9 |
| Peripherals_CHAMELEON_TYPE_V3 Peripherals_ChameleonType = 10 |
| Peripherals_CHAMELEON_TYPE_RPI Peripherals_ChameleonType = 11 |
| ) |
| |
| // Enum value maps for Peripherals_ChameleonType. |
| var ( |
| Peripherals_ChameleonType_name = map[int32]string{ |
| 0: "CHAMELEON_TYPE_INVALID", |
| 2: "CHAMELEON_TYPE_DP", |
| 3: "CHAMELEON_TYPE_DP_HDMI", |
| 4: "CHAMELEON_TYPE_VGA", |
| 5: "CHAMELEON_TYPE_HDMI", |
| 9: "CHAMELEON_TYPE_V2", |
| 10: "CHAMELEON_TYPE_V3", |
| 11: "CHAMELEON_TYPE_RPI", |
| } |
| Peripherals_ChameleonType_value = map[string]int32{ |
| "CHAMELEON_TYPE_INVALID": 0, |
| "CHAMELEON_TYPE_DP": 2, |
| "CHAMELEON_TYPE_DP_HDMI": 3, |
| "CHAMELEON_TYPE_VGA": 4, |
| "CHAMELEON_TYPE_HDMI": 5, |
| "CHAMELEON_TYPE_V2": 9, |
| "CHAMELEON_TYPE_V3": 10, |
| "CHAMELEON_TYPE_RPI": 11, |
| } |
| ) |
| |
| func (x Peripherals_ChameleonType) Enum() *Peripherals_ChameleonType { |
| p := new(Peripherals_ChameleonType) |
| *p = x |
| return p |
| } |
| |
| func (x Peripherals_ChameleonType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Peripherals_ChameleonType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[24].Descriptor() |
| } |
| |
| func (Peripherals_ChameleonType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[24] |
| } |
| |
| func (x Peripherals_ChameleonType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *Peripherals_ChameleonType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = Peripherals_ChameleonType(num) |
| return nil |
| } |
| |
| // Deprecated: Use Peripherals_ChameleonType.Descriptor instead. |
| func (Peripherals_ChameleonType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12, 0} |
| } |
| |
| // NEXT TAG: 5 |
| type Peripherals_ChameleonConnectionType int32 |
| |
| const ( |
| Peripherals_CHAMELEON_CONNECTION_TYPE_INVALID Peripherals_ChameleonConnectionType = 0 |
| Peripherals_CHAMELEON_CONNECTION_TYPE_AUDIOJACK Peripherals_ChameleonConnectionType = 1 |
| Peripherals_CHAMELEON_CONNECTION_TYPE_USB Peripherals_ChameleonConnectionType = 2 |
| Peripherals_CHAMELEON_CONNECTION_TYPE_HDMI Peripherals_ChameleonConnectionType = 3 |
| Peripherals_CHAMELEON_CONNECTION_TYPE_DP Peripherals_ChameleonConnectionType = 4 |
| ) |
| |
| // Enum value maps for Peripherals_ChameleonConnectionType. |
| var ( |
| Peripherals_ChameleonConnectionType_name = map[int32]string{ |
| 0: "CHAMELEON_CONNECTION_TYPE_INVALID", |
| 1: "CHAMELEON_CONNECTION_TYPE_AUDIOJACK", |
| 2: "CHAMELEON_CONNECTION_TYPE_USB", |
| 3: "CHAMELEON_CONNECTION_TYPE_HDMI", |
| 4: "CHAMELEON_CONNECTION_TYPE_DP", |
| } |
| Peripherals_ChameleonConnectionType_value = map[string]int32{ |
| "CHAMELEON_CONNECTION_TYPE_INVALID": 0, |
| "CHAMELEON_CONNECTION_TYPE_AUDIOJACK": 1, |
| "CHAMELEON_CONNECTION_TYPE_USB": 2, |
| "CHAMELEON_CONNECTION_TYPE_HDMI": 3, |
| "CHAMELEON_CONNECTION_TYPE_DP": 4, |
| } |
| ) |
| |
| func (x Peripherals_ChameleonConnectionType) Enum() *Peripherals_ChameleonConnectionType { |
| p := new(Peripherals_ChameleonConnectionType) |
| *p = x |
| return p |
| } |
| |
| func (x Peripherals_ChameleonConnectionType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Peripherals_ChameleonConnectionType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[25].Descriptor() |
| } |
| |
| func (Peripherals_ChameleonConnectionType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[25] |
| } |
| |
| func (x Peripherals_ChameleonConnectionType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *Peripherals_ChameleonConnectionType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = Peripherals_ChameleonConnectionType(num) |
| return nil |
| } |
| |
| // Deprecated: Use Peripherals_ChameleonConnectionType.Descriptor instead. |
| func (Peripherals_ChameleonConnectionType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12, 1} |
| } |
| |
| // copy from chameleon.proto |
| // NEXT TAG: 4 |
| type Peripherals_AudioBoxJackPlugger int32 |
| |
| const ( |
| Peripherals_AUDIOBOX_JACKPLUGGER_UNSPECIFIED Peripherals_AudioBoxJackPlugger = 0 |
| Peripherals_AUDIOBOX_JACKPLUGGER_WORKING Peripherals_AudioBoxJackPlugger = 1 |
| Peripherals_AUDIOBOX_JACKPLUGGER_BROKEN Peripherals_AudioBoxJackPlugger = 2 |
| Peripherals_AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE Peripherals_AudioBoxJackPlugger = 3 |
| ) |
| |
| // Enum value maps for Peripherals_AudioBoxJackPlugger. |
| var ( |
| Peripherals_AudioBoxJackPlugger_name = map[int32]string{ |
| 0: "AUDIOBOX_JACKPLUGGER_UNSPECIFIED", |
| 1: "AUDIOBOX_JACKPLUGGER_WORKING", |
| 2: "AUDIOBOX_JACKPLUGGER_BROKEN", |
| 3: "AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE", |
| } |
| Peripherals_AudioBoxJackPlugger_value = map[string]int32{ |
| "AUDIOBOX_JACKPLUGGER_UNSPECIFIED": 0, |
| "AUDIOBOX_JACKPLUGGER_WORKING": 1, |
| "AUDIOBOX_JACKPLUGGER_BROKEN": 2, |
| "AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE": 3, |
| } |
| ) |
| |
| func (x Peripherals_AudioBoxJackPlugger) Enum() *Peripherals_AudioBoxJackPlugger { |
| p := new(Peripherals_AudioBoxJackPlugger) |
| *p = x |
| return p |
| } |
| |
| func (x Peripherals_AudioBoxJackPlugger) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Peripherals_AudioBoxJackPlugger) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[26].Descriptor() |
| } |
| |
| func (Peripherals_AudioBoxJackPlugger) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[26] |
| } |
| |
| func (x Peripherals_AudioBoxJackPlugger) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *Peripherals_AudioBoxJackPlugger) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = Peripherals_AudioBoxJackPlugger(num) |
| return nil |
| } |
| |
| // Deprecated: Use Peripherals_AudioBoxJackPlugger.Descriptor instead. |
| func (Peripherals_AudioBoxJackPlugger) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12, 2} |
| } |
| |
| // copy from peripheral.proto |
| // NEXT TAG: 3 |
| type Peripherals_TRRSType int32 |
| |
| const ( |
| Peripherals_TRRS_TYPE_UNSPECIFIED Peripherals_TRRSType = 0 |
| Peripherals_TRRS_TYPE_CTIA Peripherals_TRRSType = 1 |
| Peripherals_TRRS_TYPE_OMTP Peripherals_TRRSType = 2 |
| ) |
| |
| // Enum value maps for Peripherals_TRRSType. |
| var ( |
| Peripherals_TRRSType_name = map[int32]string{ |
| 0: "TRRS_TYPE_UNSPECIFIED", |
| 1: "TRRS_TYPE_CTIA", |
| 2: "TRRS_TYPE_OMTP", |
| } |
| Peripherals_TRRSType_value = map[string]int32{ |
| "TRRS_TYPE_UNSPECIFIED": 0, |
| "TRRS_TYPE_CTIA": 1, |
| "TRRS_TYPE_OMTP": 2, |
| } |
| ) |
| |
| func (x Peripherals_TRRSType) Enum() *Peripherals_TRRSType { |
| p := new(Peripherals_TRRSType) |
| *p = x |
| return p |
| } |
| |
| func (x Peripherals_TRRSType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Peripherals_TRRSType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[27].Descriptor() |
| } |
| |
| func (Peripherals_TRRSType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[27] |
| } |
| |
| func (x Peripherals_TRRSType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *Peripherals_TRRSType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = Peripherals_TRRSType(num) |
| return nil |
| } |
| |
| // Deprecated: Use Peripherals_TRRSType.Descriptor instead. |
| func (Peripherals_TRRSType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12, 3} |
| } |
| |
| // Facing of DUT's camera to be tested whose FOV should cover chart tablet's |
| // screen in camerabox setup. |
| // NEXT TAG: 4 |
| type Peripherals_CameraboxFacing int32 |
| |
| const ( |
| Peripherals_CAMERABOX_FACING_UNKNOWN Peripherals_CameraboxFacing = 0 |
| Peripherals_CAMERABOX_FACING_BACK Peripherals_CameraboxFacing = 1 |
| Peripherals_CAMERABOX_FACING_FRONT Peripherals_CameraboxFacing = 2 |
| Peripherals_CAMERABOX_FACING_NOCAMERA Peripherals_CameraboxFacing = 3 |
| ) |
| |
| // Enum value maps for Peripherals_CameraboxFacing. |
| var ( |
| Peripherals_CameraboxFacing_name = map[int32]string{ |
| 0: "CAMERABOX_FACING_UNKNOWN", |
| 1: "CAMERABOX_FACING_BACK", |
| 2: "CAMERABOX_FACING_FRONT", |
| 3: "CAMERABOX_FACING_NOCAMERA", |
| } |
| Peripherals_CameraboxFacing_value = map[string]int32{ |
| "CAMERABOX_FACING_UNKNOWN": 0, |
| "CAMERABOX_FACING_BACK": 1, |
| "CAMERABOX_FACING_FRONT": 2, |
| "CAMERABOX_FACING_NOCAMERA": 3, |
| } |
| ) |
| |
| func (x Peripherals_CameraboxFacing) Enum() *Peripherals_CameraboxFacing { |
| p := new(Peripherals_CameraboxFacing) |
| *p = x |
| return p |
| } |
| |
| func (x Peripherals_CameraboxFacing) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Peripherals_CameraboxFacing) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[28].Descriptor() |
| } |
| |
| func (Peripherals_CameraboxFacing) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[28] |
| } |
| |
| func (x Peripherals_CameraboxFacing) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *Peripherals_CameraboxFacing) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = Peripherals_CameraboxFacing(num) |
| return nil |
| } |
| |
| // Deprecated: Use Peripherals_CameraboxFacing.Descriptor instead. |
| func (Peripherals_CameraboxFacing) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12, 4} |
| } |
| |
| // External light source in the camerabox, LED or NOLED. |
| // NEXT TAG: 3 |
| type Peripherals_CameraboxLight int32 |
| |
| const ( |
| Peripherals_CAMERABOX_LIGHT_UNKNOWN Peripherals_CameraboxLight = 0 |
| Peripherals_CAMERABOX_LIGHT_LED Peripherals_CameraboxLight = 1 |
| Peripherals_CAMERABOX_LIGHT_NOLED Peripherals_CameraboxLight = 2 |
| ) |
| |
| // Enum value maps for Peripherals_CameraboxLight. |
| var ( |
| Peripherals_CameraboxLight_name = map[int32]string{ |
| 0: "CAMERABOX_LIGHT_UNKNOWN", |
| 1: "CAMERABOX_LIGHT_LED", |
| 2: "CAMERABOX_LIGHT_NOLED", |
| } |
| Peripherals_CameraboxLight_value = map[string]int32{ |
| "CAMERABOX_LIGHT_UNKNOWN": 0, |
| "CAMERABOX_LIGHT_LED": 1, |
| "CAMERABOX_LIGHT_NOLED": 2, |
| } |
| ) |
| |
| func (x Peripherals_CameraboxLight) Enum() *Peripherals_CameraboxLight { |
| p := new(Peripherals_CameraboxLight) |
| *p = x |
| return p |
| } |
| |
| func (x Peripherals_CameraboxLight) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Peripherals_CameraboxLight) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[29].Descriptor() |
| } |
| |
| func (Peripherals_CameraboxLight) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[29] |
| } |
| |
| func (x Peripherals_CameraboxLight) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *Peripherals_CameraboxLight) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = Peripherals_CameraboxLight(num) |
| return nil |
| } |
| |
| // Deprecated: Use Peripherals_CameraboxLight.Descriptor instead. |
| func (Peripherals_CameraboxLight) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12, 5} |
| } |
| |
| // Copy of chromiumos.test.lab.api.WifiRouterFeature. |
| // |
| // Recognized hardware and software features of WiFi router peripherals in |
| // our testbeds. |
| // |
| // This is not an exhaustive list of features supported by these test WiFi |
| // routers. The intent is to only track features that may differ between the |
| // different types of WiFi router devices in our labs. |
| type Peripherals_WifiRouterFeature int32 |
| |
| const ( |
| // Features are not known. |
| Peripherals_WIFI_ROUTER_FEATURE_UNKNOWN Peripherals_WifiRouterFeature = 0 |
| // Feature was parsed from device, but it did not match any known features. |
| Peripherals_WIFI_ROUTER_FEATURE_INVALID Peripherals_WifiRouterFeature = 1 |
| // WiFi 1 (IEEE 802.11a) support. |
| Peripherals_WIFI_ROUTER_FEATURE_IEEE_802_11_A Peripherals_WifiRouterFeature = 2 |
| // WiFi 2 (IEEE 802.11b) support. |
| Peripherals_WIFI_ROUTER_FEATURE_IEEE_802_11_B Peripherals_WifiRouterFeature = 3 |
| // WiFi 3 (IEEE 802.11g) support. |
| Peripherals_WIFI_ROUTER_FEATURE_IEEE_802_11_G Peripherals_WifiRouterFeature = 4 |
| // WiFi 4 (IEEE 802.11n) support. |
| Peripherals_WIFI_ROUTER_FEATURE_IEEE_802_11_N Peripherals_WifiRouterFeature = 5 |
| // WiFi 5 (IEEE 802.11ac) support. |
| Peripherals_WIFI_ROUTER_FEATURE_IEEE_802_11_AC Peripherals_WifiRouterFeature = 6 |
| // WiFi 6 (IEEE 802.11ax, 2.4GHz, 5GHz) support. |
| Peripherals_WIFI_ROUTER_FEATURE_IEEE_802_11_AX Peripherals_WifiRouterFeature = 7 |
| // WiFi 6E (IEEE 802.11ax, 6GHz) support. |
| Peripherals_WIFI_ROUTER_FEATURE_IEEE_802_11_AX_E Peripherals_WifiRouterFeature = 8 |
| // WiFi 7 (IEEE 802.11be) support. |
| Peripherals_WIFI_ROUTER_FEATURE_IEEE_802_11_BE Peripherals_WifiRouterFeature = 9 |
| // The CPU is fast enough to support a double bridge over veth. |
| Peripherals_WIFI_ROUTER_FEATURE_DOUBLE_BRIDGE_OVER_VETH Peripherals_WifiRouterFeature = 10 |
| // GCMP and GCMP-256 pairwise and group cipher support. |
| Peripherals_WIFI_ROUTER_FEATURE_GCMP Peripherals_WifiRouterFeature = 11 |
| // SAE-EXT-KEY support for AKM-24/25. |
| Peripherals_WIFI_ROUTER_FEATURE_SAE_EXT_KEY Peripherals_WifiRouterFeature = 12 |
| // temp feature for ignoring the U6+ router in tests |
| // TODO(astrouski): Remove this feature once the U6+ router is fixed. |
| // (b/389945993) |
| Peripherals_WIFI_ROUTER_FEATURE_NOT_U6PLUS_ROUTER Peripherals_WifiRouterFeature = 13 |
| Peripherals_WIFI_ROUTER_FEATURE_U6PLUS_OR_U6LITE Peripherals_WifiRouterFeature = 14 |
| ) |
| |
| // Enum value maps for Peripherals_WifiRouterFeature. |
| var ( |
| Peripherals_WifiRouterFeature_name = map[int32]string{ |
| 0: "WIFI_ROUTER_FEATURE_UNKNOWN", |
| 1: "WIFI_ROUTER_FEATURE_INVALID", |
| 2: "WIFI_ROUTER_FEATURE_IEEE_802_11_A", |
| 3: "WIFI_ROUTER_FEATURE_IEEE_802_11_B", |
| 4: "WIFI_ROUTER_FEATURE_IEEE_802_11_G", |
| 5: "WIFI_ROUTER_FEATURE_IEEE_802_11_N", |
| 6: "WIFI_ROUTER_FEATURE_IEEE_802_11_AC", |
| 7: "WIFI_ROUTER_FEATURE_IEEE_802_11_AX", |
| 8: "WIFI_ROUTER_FEATURE_IEEE_802_11_AX_E", |
| 9: "WIFI_ROUTER_FEATURE_IEEE_802_11_BE", |
| 10: "WIFI_ROUTER_FEATURE_DOUBLE_BRIDGE_OVER_VETH", |
| 11: "WIFI_ROUTER_FEATURE_GCMP", |
| 12: "WIFI_ROUTER_FEATURE_SAE_EXT_KEY", |
| 13: "WIFI_ROUTER_FEATURE_NOT_U6PLUS_ROUTER", |
| 14: "WIFI_ROUTER_FEATURE_U6PLUS_OR_U6LITE", |
| } |
| Peripherals_WifiRouterFeature_value = map[string]int32{ |
| "WIFI_ROUTER_FEATURE_UNKNOWN": 0, |
| "WIFI_ROUTER_FEATURE_INVALID": 1, |
| "WIFI_ROUTER_FEATURE_IEEE_802_11_A": 2, |
| "WIFI_ROUTER_FEATURE_IEEE_802_11_B": 3, |
| "WIFI_ROUTER_FEATURE_IEEE_802_11_G": 4, |
| "WIFI_ROUTER_FEATURE_IEEE_802_11_N": 5, |
| "WIFI_ROUTER_FEATURE_IEEE_802_11_AC": 6, |
| "WIFI_ROUTER_FEATURE_IEEE_802_11_AX": 7, |
| "WIFI_ROUTER_FEATURE_IEEE_802_11_AX_E": 8, |
| "WIFI_ROUTER_FEATURE_IEEE_802_11_BE": 9, |
| "WIFI_ROUTER_FEATURE_DOUBLE_BRIDGE_OVER_VETH": 10, |
| "WIFI_ROUTER_FEATURE_GCMP": 11, |
| "WIFI_ROUTER_FEATURE_SAE_EXT_KEY": 12, |
| "WIFI_ROUTER_FEATURE_NOT_U6PLUS_ROUTER": 13, |
| "WIFI_ROUTER_FEATURE_U6PLUS_OR_U6LITE": 14, |
| } |
| ) |
| |
| func (x Peripherals_WifiRouterFeature) Enum() *Peripherals_WifiRouterFeature { |
| p := new(Peripherals_WifiRouterFeature) |
| *p = x |
| return p |
| } |
| |
| func (x Peripherals_WifiRouterFeature) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Peripherals_WifiRouterFeature) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[30].Descriptor() |
| } |
| |
| func (Peripherals_WifiRouterFeature) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[30] |
| } |
| |
| func (x Peripherals_WifiRouterFeature) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *Peripherals_WifiRouterFeature) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = Peripherals_WifiRouterFeature(num) |
| return nil |
| } |
| |
| // Deprecated: Use Peripherals_WifiRouterFeature.Descriptor instead. |
| func (Peripherals_WifiRouterFeature) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12, 6} |
| } |
| |
| // HMRToolType describe the enum of types of tool on HMR. |
| // Next Tag: 3 |
| type Peripherals_HMRToolType int32 |
| |
| const ( |
| Peripherals_HMR_TOOL_TYPE_UNKNOWN Peripherals_HMRToolType = 0 |
| Peripherals_HMR_TOOL_TYPE_STYLUS Peripherals_HMRToolType = 1 |
| Peripherals_HMR_TOOL_TYPE_FAKE_FINGER Peripherals_HMRToolType = 2 |
| ) |
| |
| // Enum value maps for Peripherals_HMRToolType. |
| var ( |
| Peripherals_HMRToolType_name = map[int32]string{ |
| 0: "HMR_TOOL_TYPE_UNKNOWN", |
| 1: "HMR_TOOL_TYPE_STYLUS", |
| 2: "HMR_TOOL_TYPE_FAKE_FINGER", |
| } |
| Peripherals_HMRToolType_value = map[string]int32{ |
| "HMR_TOOL_TYPE_UNKNOWN": 0, |
| "HMR_TOOL_TYPE_STYLUS": 1, |
| "HMR_TOOL_TYPE_FAKE_FINGER": 2, |
| } |
| ) |
| |
| func (x Peripherals_HMRToolType) Enum() *Peripherals_HMRToolType { |
| p := new(Peripherals_HMRToolType) |
| *p = x |
| return p |
| } |
| |
| func (x Peripherals_HMRToolType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Peripherals_HMRToolType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[31].Descriptor() |
| } |
| |
| func (Peripherals_HMRToolType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[31] |
| } |
| |
| func (x Peripherals_HMRToolType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *Peripherals_HMRToolType) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = Peripherals_HMRToolType(num) |
| return nil |
| } |
| |
| // Deprecated: Use Peripherals_HMRToolType.Descriptor instead. |
| func (Peripherals_HMRToolType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12, 7} |
| } |
| |
| // HMRGen describe the enum of generation of the HMR. |
| // Next Tag: 3 |
| type Peripherals_HMRGen int32 |
| |
| const ( |
| Peripherals_HMR_GEN_UNKNOWN Peripherals_HMRGen = 0 |
| Peripherals_HMR_GEN_1 Peripherals_HMRGen = 1 |
| Peripherals_HMR_GEN_2 Peripherals_HMRGen = 2 |
| ) |
| |
| // Enum value maps for Peripherals_HMRGen. |
| var ( |
| Peripherals_HMRGen_name = map[int32]string{ |
| 0: "HMR_GEN_UNKNOWN", |
| 1: "HMR_GEN_1", |
| 2: "HMR_GEN_2", |
| } |
| Peripherals_HMRGen_value = map[string]int32{ |
| "HMR_GEN_UNKNOWN": 0, |
| "HMR_GEN_1": 1, |
| "HMR_GEN_2": 2, |
| } |
| ) |
| |
| func (x Peripherals_HMRGen) Enum() *Peripherals_HMRGen { |
| p := new(Peripherals_HMRGen) |
| *p = x |
| return p |
| } |
| |
| func (x Peripherals_HMRGen) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Peripherals_HMRGen) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[32].Descriptor() |
| } |
| |
| func (Peripherals_HMRGen) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[32] |
| } |
| |
| func (x Peripherals_HMRGen) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *Peripherals_HMRGen) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = Peripherals_HMRGen(num) |
| return nil |
| } |
| |
| // Deprecated: Use Peripherals_HMRGen.Descriptor instead. |
| func (Peripherals_HMRGen) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12, 8} |
| } |
| |
| // Possible features that the SIM supports. |
| type Peripherals_SIMFeature int32 |
| |
| const ( |
| // Unset feature. |
| Peripherals_SIM_FEATURE_UNSPECIFIED Peripherals_SIMFeature = 0 |
| // The SIM supports a generic live network. |
| Peripherals_SIM_FEATURE_LIVE_NETWORK Peripherals_SIMFeature = 1 |
| // The SIM supports SMS messaging. |
| Peripherals_SIM_FEATURE_SMS Peripherals_SIMFeature = 2 |
| // The SIM is an eSIM. |
| Peripherals_SIM_FEATURE_ESIM Peripherals_SIMFeature = 3 |
| // The SIM is a pSIM. |
| Peripherals_SIM_FEATURE_PSIM Peripherals_SIMFeature = 4 |
| ) |
| |
| // Enum value maps for Peripherals_SIMFeature. |
| var ( |
| Peripherals_SIMFeature_name = map[int32]string{ |
| 0: "SIM_FEATURE_UNSPECIFIED", |
| 1: "SIM_FEATURE_LIVE_NETWORK", |
| 2: "SIM_FEATURE_SMS", |
| 3: "SIM_FEATURE_ESIM", |
| 4: "SIM_FEATURE_PSIM", |
| } |
| Peripherals_SIMFeature_value = map[string]int32{ |
| "SIM_FEATURE_UNSPECIFIED": 0, |
| "SIM_FEATURE_LIVE_NETWORK": 1, |
| "SIM_FEATURE_SMS": 2, |
| "SIM_FEATURE_ESIM": 3, |
| "SIM_FEATURE_PSIM": 4, |
| } |
| ) |
| |
| func (x Peripherals_SIMFeature) Enum() *Peripherals_SIMFeature { |
| p := new(Peripherals_SIMFeature) |
| *p = x |
| return p |
| } |
| |
| func (x Peripherals_SIMFeature) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Peripherals_SIMFeature) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[33].Descriptor() |
| } |
| |
| func (Peripherals_SIMFeature) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[33] |
| } |
| |
| func (x Peripherals_SIMFeature) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *Peripherals_SIMFeature) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = Peripherals_SIMFeature(num) |
| return nil |
| } |
| |
| // Deprecated: Use Peripherals_SIMFeature.Descriptor instead. |
| func (Peripherals_SIMFeature) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12, 9} |
| } |
| |
| // Related to sparse CTS testing. See b/70309087 |
| // NEXT TAG: 4 |
| type TestCoverageHints_CTSSparse int32 |
| |
| const ( |
| TestCoverageHints_CTS_SPARSE_INVALID TestCoverageHints_CTSSparse = 0 |
| TestCoverageHints_CTS_SPARSE_2 TestCoverageHints_CTSSparse = 1 |
| TestCoverageHints_CTS_SPARSE_3 TestCoverageHints_CTSSparse = 2 |
| TestCoverageHints_CTS_SPARSE_5 TestCoverageHints_CTSSparse = 3 |
| ) |
| |
| // Enum value maps for TestCoverageHints_CTSSparse. |
| var ( |
| TestCoverageHints_CTSSparse_name = map[int32]string{ |
| 0: "CTS_SPARSE_INVALID", |
| 1: "CTS_SPARSE_2", |
| 2: "CTS_SPARSE_3", |
| 3: "CTS_SPARSE_5", |
| } |
| TestCoverageHints_CTSSparse_value = map[string]int32{ |
| "CTS_SPARSE_INVALID": 0, |
| "CTS_SPARSE_2": 1, |
| "CTS_SPARSE_3": 2, |
| "CTS_SPARSE_5": 3, |
| } |
| ) |
| |
| func (x TestCoverageHints_CTSSparse) Enum() *TestCoverageHints_CTSSparse { |
| p := new(TestCoverageHints_CTSSparse) |
| *p = x |
| return p |
| } |
| |
| func (x TestCoverageHints_CTSSparse) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (TestCoverageHints_CTSSparse) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[34].Descriptor() |
| } |
| |
| func (TestCoverageHints_CTSSparse) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes[34] |
| } |
| |
| func (x TestCoverageHints_CTSSparse) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *TestCoverageHints_CTSSparse) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = TestCoverageHints_CTSSparse(num) |
| return nil |
| } |
| |
| // Deprecated: Use TestCoverageHints_CTSSparse.Descriptor instead. |
| func (TestCoverageHints_CTSSparse) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{15, 0} |
| } |
| |
| // NEXT TAG: 4 |
| type Device struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Each of these must contain a 'CommonDeviceSpecs common' field. |
| // We will use this informal composition based sharing rather than proto |
| // extensions because extensions are unwieldy, and we really want composition |
| // not inhertence. |
| // |
| // Types that are valid to be assigned to Device: |
| // |
| // *Device_Dut |
| // *Device_ServoHost |
| // *Device_Chameleon |
| Device isDevice_Device `protobuf_oneof:"device"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Device) Reset() { |
| *x = Device{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Device) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Device) ProtoMessage() {} |
| |
| func (x *Device) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[0] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Device.ProtoReflect.Descriptor instead. |
| func (*Device) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Device) GetDevice() isDevice_Device { |
| if x != nil { |
| return x.Device |
| } |
| return nil |
| } |
| |
| func (x *Device) GetDut() *DeviceUnderTest { |
| if x != nil { |
| if x, ok := x.Device.(*Device_Dut); ok { |
| return x.Dut |
| } |
| } |
| return nil |
| } |
| |
| func (x *Device) GetServoHost() *ServoHostDevice { |
| if x != nil { |
| if x, ok := x.Device.(*Device_ServoHost); ok { |
| return x.ServoHost |
| } |
| } |
| return nil |
| } |
| |
| func (x *Device) GetChameleon() *ChameleonDevice { |
| if x != nil { |
| if x, ok := x.Device.(*Device_Chameleon); ok { |
| return x.Chameleon |
| } |
| } |
| return nil |
| } |
| |
| type isDevice_Device interface { |
| isDevice_Device() |
| } |
| |
| type Device_Dut struct { |
| Dut *DeviceUnderTest `protobuf:"bytes,1,opt,name=dut,oneof"` |
| } |
| |
| type Device_ServoHost struct { |
| ServoHost *ServoHostDevice `protobuf:"bytes,2,opt,name=servo_host,json=servoHost,oneof"` |
| } |
| |
| type Device_Chameleon struct { |
| Chameleon *ChameleonDevice `protobuf:"bytes,3,opt,name=chameleon,oneof"` |
| } |
| |
| func (*Device_Dut) isDevice_Device() {} |
| |
| func (*Device_ServoHost) isDevice_Device() {} |
| |
| func (*Device_Chameleon) isDevice_Device() {} |
| |
| // NEXT TAG: 2 |
| type DeviceUnderTest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Common *CommonDeviceSpecs `protobuf:"bytes,1,req,name=common" json:"common,omitempty"` |
| RemovalReason *RemovalReason `protobuf:"bytes,2,opt,name=removal_reason,json=removalReason" json:"removal_reason,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *DeviceUnderTest) Reset() { |
| *x = DeviceUnderTest{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *DeviceUnderTest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*DeviceUnderTest) ProtoMessage() {} |
| |
| func (x *DeviceUnderTest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[1] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use DeviceUnderTest.ProtoReflect.Descriptor instead. |
| func (*DeviceUnderTest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *DeviceUnderTest) GetCommon() *CommonDeviceSpecs { |
| if x != nil { |
| return x.Common |
| } |
| return nil |
| } |
| |
| func (x *DeviceUnderTest) GetRemovalReason() *RemovalReason { |
| if x != nil { |
| return x.RemovalReason |
| } |
| return nil |
| } |
| |
| // NEXT TAG: 2 |
| type ServoHostDevice struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Common *CommonDeviceSpecs `protobuf:"bytes,1,req,name=common" json:"common,omitempty"` |
| Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ServoHostDevice) Reset() { |
| *x = ServoHostDevice{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ServoHostDevice) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ServoHostDevice) ProtoMessage() {} |
| |
| func (x *ServoHostDevice) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[2] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ServoHostDevice.ProtoReflect.Descriptor instead. |
| func (*ServoHostDevice) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *ServoHostDevice) GetCommon() *CommonDeviceSpecs { |
| if x != nil { |
| return x.Common |
| } |
| return nil |
| } |
| |
| func (x *ServoHostDevice) GetVersion() string { |
| if x != nil && x.Version != nil { |
| return *x.Version |
| } |
| return "" |
| } |
| |
| // NEXT TAG: 4 |
| type ChameleonDevice struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Common *CommonDeviceSpecs `protobuf:"bytes,1,req,name=common" json:"common,omitempty"` |
| ChameleonHardwareType *ChameleonDevice_ChameleonHardwareType `protobuf:"varint,2,opt,name=chameleon_hardware_type,json=chameleonHardwareType,enum=chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice_ChameleonHardwareType" json:"chameleon_hardware_type,omitempty"` |
| ChameleonConnectionType *ChameleonDevice_ChameleonConnectionType `protobuf:"varint,3,opt,name=chameleon_connection_type,json=chameleonConnectionType,enum=chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice_ChameleonConnectionType" json:"chameleon_connection_type,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ChameleonDevice) Reset() { |
| *x = ChameleonDevice{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ChameleonDevice) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ChameleonDevice) ProtoMessage() {} |
| |
| func (x *ChameleonDevice) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[3] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ChameleonDevice.ProtoReflect.Descriptor instead. |
| func (*ChameleonDevice) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *ChameleonDevice) GetCommon() *CommonDeviceSpecs { |
| if x != nil { |
| return x.Common |
| } |
| return nil |
| } |
| |
| func (x *ChameleonDevice) GetChameleonHardwareType() ChameleonDevice_ChameleonHardwareType { |
| if x != nil && x.ChameleonHardwareType != nil { |
| return *x.ChameleonHardwareType |
| } |
| return ChameleonDevice_CHAMELEON_TYPE_V2 |
| } |
| |
| func (x *ChameleonDevice) GetChameleonConnectionType() ChameleonDevice_ChameleonConnectionType { |
| if x != nil && x.ChameleonConnectionType != nil { |
| return *x.ChameleonConnectionType |
| } |
| return ChameleonDevice_CHAMELEON_CONNECTION_TYPE_INVALID |
| } |
| |
| // Keep sorted by field name. |
| // |
| // NEXT TAG: 12 |
| type CommonDeviceSpecs struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // These are opaque keyvals for skylab services. Devices may arbitrarily |
| // define any attributes they want. |
| Attributes []*KeyValue `protobuf:"bytes,9,rep,name=attributes" json:"attributes,omitempty"` |
| // A device may be locked for multiple reasons by multiple people. All locks |
| // need to be removed for the device to go back into circulation. |
| DeviceLocks []*DeviceLock `protobuf:"bytes,6,rep,name=device_locks,json=deviceLocks" json:"device_locks,omitempty"` |
| Environment *Environment `protobuf:"varint,10,opt,name=environment,enum=chrome.chromeos_infra.skylab.proto.inventory.Environment" json:"environment,omitempty"` |
| Hostname *string `protobuf:"bytes,2,req,name=hostname" json:"hostname,omitempty"` |
| // An invariant property corresponding to the hardware deployed for this |
| // device. |
| Hwid *string `protobuf:"bytes,3,opt,name=hwid" json:"hwid,omitempty"` |
| Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` |
| // The scheduling system uses these to target jobs at the right kinds of |
| // devices. |
| Labels *SchedulableLabels `protobuf:"bytes,8,opt,name=labels" json:"labels,omitempty"` |
| Location *Location `protobuf:"bytes,5,opt,name=location" json:"location,omitempty"` |
| // Deprecated: This is needed for the master AFE in the autotest infra to |
| // forward RPCs to the relevant shard for a device. |
| // Not to be used in skylab. |
| // |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/libs/skylab/inventory/device.proto. |
| OwnerShard *Shard `protobuf:"bytes,7,opt,name=owner_shard,json=ownerShard" json:"owner_shard,omitempty"` |
| // An invariant about the distros inventory tag associated with the device. |
| // For ChromeOS devices, this can be read off of vboot. |
| SerialNumber *string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber" json:"serial_number,omitempty"` |
| // Similar to a useless machine, if set to true, automatic inventory |
| // updates should set this back to false. This can be used to test |
| // that automated updates are firing correctly. |
| UselessSwitch *bool `protobuf:"varint,11,opt,name=useless_switch,json=uselessSwitch" json:"useless_switch,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CommonDeviceSpecs) Reset() { |
| *x = CommonDeviceSpecs{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CommonDeviceSpecs) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CommonDeviceSpecs) ProtoMessage() {} |
| |
| func (x *CommonDeviceSpecs) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[4] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CommonDeviceSpecs.ProtoReflect.Descriptor instead. |
| func (*CommonDeviceSpecs) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *CommonDeviceSpecs) GetAttributes() []*KeyValue { |
| if x != nil { |
| return x.Attributes |
| } |
| return nil |
| } |
| |
| func (x *CommonDeviceSpecs) GetDeviceLocks() []*DeviceLock { |
| if x != nil { |
| return x.DeviceLocks |
| } |
| return nil |
| } |
| |
| func (x *CommonDeviceSpecs) GetEnvironment() Environment { |
| if x != nil && x.Environment != nil { |
| return *x.Environment |
| } |
| return Environment_ENVIRONMENT_INVALID |
| } |
| |
| func (x *CommonDeviceSpecs) GetHostname() string { |
| if x != nil && x.Hostname != nil { |
| return *x.Hostname |
| } |
| return "" |
| } |
| |
| func (x *CommonDeviceSpecs) GetHwid() string { |
| if x != nil && x.Hwid != nil { |
| return *x.Hwid |
| } |
| return "" |
| } |
| |
| func (x *CommonDeviceSpecs) GetId() string { |
| if x != nil && x.Id != nil { |
| return *x.Id |
| } |
| return "" |
| } |
| |
| func (x *CommonDeviceSpecs) GetLabels() *SchedulableLabels { |
| if x != nil { |
| return x.Labels |
| } |
| return nil |
| } |
| |
| func (x *CommonDeviceSpecs) GetLocation() *Location { |
| if x != nil { |
| return x.Location |
| } |
| return nil |
| } |
| |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/libs/skylab/inventory/device.proto. |
| func (x *CommonDeviceSpecs) GetOwnerShard() *Shard { |
| if x != nil { |
| return x.OwnerShard |
| } |
| return nil |
| } |
| |
| func (x *CommonDeviceSpecs) GetSerialNumber() string { |
| if x != nil && x.SerialNumber != nil { |
| return *x.SerialNumber |
| } |
| return "" |
| } |
| |
| func (x *CommonDeviceSpecs) GetUselessSwitch() bool { |
| if x != nil && x.UselessSwitch != nil { |
| return *x.UselessSwitch |
| } |
| return false |
| } |
| |
| // RemovalReason describes the reason for a DUT being removed from running |
| // tasks. See also go/skylab-dut-removal-reason NEXT TAG: 4 |
| type RemovalReason struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // bug is a link to a bug in crbug.com or other bug tracker. Required. |
| Bug *string `protobuf:"bytes,1,opt,name=bug" json:"bug,omitempty"` |
| // comment should be a short comment to provide quick context for |
| // the removal reason. This should not be used as a replacement for |
| // keeping the bug up to date with context. |
| Comment *string `protobuf:"bytes,2,opt,name=comment" json:"comment,omitempty"` |
| // expire_time indicates when the reason for removal should be |
| // revisited so that DUTs don't get forgotten. Required. |
| ExpireTime *Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime" json:"expire_time,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *RemovalReason) Reset() { |
| *x = RemovalReason{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *RemovalReason) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RemovalReason) ProtoMessage() {} |
| |
| func (x *RemovalReason) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[5] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use RemovalReason.ProtoReflect.Descriptor instead. |
| func (*RemovalReason) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *RemovalReason) GetBug() string { |
| if x != nil && x.Bug != nil { |
| return *x.Bug |
| } |
| return "" |
| } |
| |
| func (x *RemovalReason) GetComment() string { |
| if x != nil && x.Comment != nil { |
| return *x.Comment |
| } |
| return "" |
| } |
| |
| func (x *RemovalReason) GetExpireTime() *Timestamp { |
| if x != nil { |
| return x.ExpireTime |
| } |
| return nil |
| } |
| |
| // NEXT TAG: 5 |
| type Location struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Lab *PhysicalLab `protobuf:"bytes,1,req,name=lab" json:"lab,omitempty"` |
| Row *int32 `protobuf:"varint,2,req,name=row" json:"row,omitempty"` |
| Rack *int32 `protobuf:"varint,3,req,name=rack" json:"rack,omitempty"` |
| Host *int32 `protobuf:"varint,4,req,name=host" json:"host,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Location) Reset() { |
| *x = Location{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Location) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Location) ProtoMessage() {} |
| |
| func (x *Location) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[6] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Location.ProtoReflect.Descriptor instead. |
| func (*Location) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *Location) GetLab() *PhysicalLab { |
| if x != nil { |
| return x.Lab |
| } |
| return nil |
| } |
| |
| func (x *Location) GetRow() int32 { |
| if x != nil && x.Row != nil { |
| return *x.Row |
| } |
| return 0 |
| } |
| |
| func (x *Location) GetRack() int32 { |
| if x != nil && x.Rack != nil { |
| return *x.Rack |
| } |
| return 0 |
| } |
| |
| func (x *Location) GetHost() int32 { |
| if x != nil && x.Host != nil { |
| return *x.Host |
| } |
| return 0 |
| } |
| |
| // NEXT TAG: 2 |
| type PhysicalLab struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *PhysicalLab) Reset() { |
| *x = PhysicalLab{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *PhysicalLab) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*PhysicalLab) ProtoMessage() {} |
| |
| func (x *PhysicalLab) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[7] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use PhysicalLab.ProtoReflect.Descriptor instead. |
| func (*PhysicalLab) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{7} |
| } |
| |
| func (x *PhysicalLab) GetName() string { |
| if x != nil && x.Name != nil { |
| return *x.Name |
| } |
| return "" |
| } |
| |
| // A DeviceLock is a generic way of pulling any lab device out of commission |
| // temporarily. This allows us to quickly take out a device without deleting it |
| // from inventory. The exact effect of locking a device varies by the type of |
| // device and services involved. |
| // NEXT TAG: 6 |
| type DeviceLock struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/libs/skylab/inventory/device.proto. |
| Lock *bool `protobuf:"varint,1,req,name=lock" json:"lock,omitempty"` |
| // This field is informational only. Do not assume this as a real user |
| // identity in any auth domain. |
| LockedBy *string `protobuf:"bytes,2,req,name=locked_by,json=lockedBy" json:"locked_by,omitempty"` |
| LockReason *string `protobuf:"bytes,3,req,name=lock_reason,json=lockReason" json:"lock_reason,omitempty"` |
| BeginTime *Timestamp `protobuf:"bytes,4,req,name=begin_time,json=beginTime" json:"begin_time,omitempty"` |
| ExpireTime *Timestamp `protobuf:"bytes,5,req,name=expire_time,json=expireTime" json:"expire_time,omitempty"` |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/libs/skylab/inventory/device.proto. |
| LockId *int32 `protobuf:"varint,6,req,name=lock_id,json=lockId" json:"lock_id,omitempty"` |
| Id *string `protobuf:"bytes,7,req,name=id" json:"id,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *DeviceLock) Reset() { |
| *x = DeviceLock{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[8] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *DeviceLock) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*DeviceLock) ProtoMessage() {} |
| |
| func (x *DeviceLock) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[8] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use DeviceLock.ProtoReflect.Descriptor instead. |
| func (*DeviceLock) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{8} |
| } |
| |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/libs/skylab/inventory/device.proto. |
| func (x *DeviceLock) GetLock() bool { |
| if x != nil && x.Lock != nil { |
| return *x.Lock |
| } |
| return false |
| } |
| |
| func (x *DeviceLock) GetLockedBy() string { |
| if x != nil && x.LockedBy != nil { |
| return *x.LockedBy |
| } |
| return "" |
| } |
| |
| func (x *DeviceLock) GetLockReason() string { |
| if x != nil && x.LockReason != nil { |
| return *x.LockReason |
| } |
| return "" |
| } |
| |
| func (x *DeviceLock) GetBeginTime() *Timestamp { |
| if x != nil { |
| return x.BeginTime |
| } |
| return nil |
| } |
| |
| func (x *DeviceLock) GetExpireTime() *Timestamp { |
| if x != nil { |
| return x.ExpireTime |
| } |
| return nil |
| } |
| |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/libs/skylab/inventory/device.proto. |
| func (x *DeviceLock) GetLockId() int32 { |
| if x != nil && x.LockId != nil { |
| return *x.LockId |
| } |
| return 0 |
| } |
| |
| func (x *DeviceLock) GetId() string { |
| if x != nil && x.Id != nil { |
| return *x.Id |
| } |
| return "" |
| } |
| |
| // NEXT TAG: 2 |
| type Shard struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Hostname *string `protobuf:"bytes,1,req,name=hostname" json:"hostname,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Shard) Reset() { |
| *x = Shard{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[9] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Shard) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Shard) ProtoMessage() {} |
| |
| func (x *Shard) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[9] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Shard.ProtoReflect.Descriptor instead. |
| func (*Shard) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{9} |
| } |
| |
| func (x *Shard) GetHostname() string { |
| if x != nil && x.Hostname != nil { |
| return *x.Hostname |
| } |
| return "" |
| } |
| |
| // These labels are used for scheduling decisions in skylab. They should be |
| // semantically known to the inventory service to allow filtering based on them. |
| // (i.e., no "extra_labels" field down here) |
| // |
| // Keep sorted by field name. |
| // |
| // NEXT TAG: 44 |
| type SchedulableLabels struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Whether this device supports ARC execution environment. |
| Arc *bool `protobuf:"varint,20,opt,name=arc" json:"arc,omitempty"` |
| // TODO(pprabhu) This should be an enum shared with stable_versions.proto |
| // But there are 171 of them... |
| Board *string `protobuf:"bytes,2,opt,name=board" json:"board,omitempty"` |
| // This matches the brand id in chromiumos/infra/proto/src/device/brand_id.proto |
| Brand *string `protobuf:"bytes,26,opt,name=brand" json:"brand,omitempty"` |
| // Whether this device is connected to a CallBox. |
| Callbox *bool `protobuf:"varint,38,opt,name=callbox" json:"callbox,omitempty"` |
| Capabilities *HardwareCapabilities `protobuf:"bytes,5,opt,name=capabilities" json:"capabilities,omitempty"` |
| Cr50Phase *SchedulableLabels_CR50_Phase `protobuf:"varint,22,opt,name=cr50_phase,json=cr50Phase,enum=chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels_CR50_Phase" json:"cr50_phase,omitempty"` |
| // Example: cr50-ro-keyid:prod |
| // Example: cr50-ro-keyid:0xaa66150f |
| Cr50RoKeyid *string `protobuf:"bytes,28,opt,name=cr50_ro_keyid,json=cr50RoKeyid" json:"cr50_ro_keyid,omitempty"` |
| // Example: cr50-ro-version:0.0.10 |
| Cr50RoVersion *string `protobuf:"bytes,29,opt,name=cr50_ro_version,json=cr50RoVersion" json:"cr50_ro_version,omitempty"` |
| // Example: cr50-rw-keyid:prod |
| // Example: cr50-rw-keyid:0xde88588d |
| Cr50RwKeyid *string `protobuf:"bytes,30,opt,name=cr50_rw_keyid,json=cr50RwKeyid" json:"cr50_rw_keyid,omitempty"` |
| // Example:cr50-rw-version:0.3.20 |
| Cr50RwVersion *string `protobuf:"bytes,31,opt,name=cr50_rw_version,json=cr50RwVersion" json:"cr50_rw_version,omitempty"` |
| CriticalPools []SchedulableLabels_DUTPool `protobuf:"varint,3,rep,name=critical_pools,json=criticalPools,enum=chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels_DUTPool" json:"critical_pools,omitempty"` |
| CtsAbi []SchedulableLabels_CTSABI `protobuf:"varint,14,rep,name=cts_abi,json=ctsAbi,enum=chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels_CTSABI" json:"cts_abi,omitempty"` |
| CtsCpu []SchedulableLabels_CTSCPU `protobuf:"varint,21,rep,name=cts_cpu,json=ctsCpu,enum=chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels_CTSCPU" json:"cts_cpu,omitempty"` |
| EcType *SchedulableLabels_ECType `protobuf:"varint,10,opt,name=ec_type,json=ecType,enum=chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels_ECType" json:"ec_type,omitempty"` |
| HwidComponent []string `protobuf:"bytes,33,rep,name=hwid_component,json=hwidComponent" json:"hwid_component,omitempty"` |
| // crbug.com/994200: this matches to label "sku" in autotest. |
| HwidSku *string `protobuf:"bytes,27,opt,name=hwid_sku,json=hwidSku" json:"hwid_sku,omitempty"` |
| // Example: 2931 |
| DlmSkuId *string `protobuf:"bytes,40,opt,name=dlm_sku_id,json=dlmSkuId" json:"dlm_sku_id,omitempty"` |
| // The set of software licenses assigned to the device. |
| Licenses []*License `protobuf:"bytes,34,rep,name=licenses" json:"licenses,omitempty"` |
| Model *string `protobuf:"bytes,13,opt,name=model" json:"model,omitempty"` |
| // Modem Info |
| Modeminfo *ModemInfo `protobuf:"bytes,35,opt,name=modeminfo" json:"modeminfo,omitempty"` |
| Sku *string `protobuf:"bytes,25,opt,name=sku" json:"sku,omitempty"` |
| // SIM information |
| Siminfo []*SIMInfo `protobuf:"bytes,36,rep,name=siminfo" json:"siminfo,omitempty"` |
| OsType *SchedulableLabels_OSType `protobuf:"varint,15,opt,name=os_type,json=osType,enum=chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels_OSType" json:"os_type,omitempty"` |
| Peripherals *Peripherals `protobuf:"bytes,19,opt,name=peripherals" json:"peripherals,omitempty"` |
| Phase *SchedulableLabels_Phase `protobuf:"varint,16,opt,name=phase,enum=chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels_Phase" json:"phase,omitempty"` |
| // TODO(pprabhu) This should be an enum shared with stable_versions.proto |
| // But there are 171 of them... |
| Platform *string `protobuf:"bytes,1,opt,name=platform" json:"platform,omitempty"` |
| // The RACC enabled status of the DUT. |
| RaccEnabledStatus *string `protobuf:"bytes,43,opt,name=racc_enabled_status,json=raccEnabledStatus" json:"racc_enabled_status,omitempty"` |
| ReferenceDesign *string `protobuf:"bytes,24,opt,name=reference_design,json=referenceDesign" json:"reference_design,omitempty"` |
| SelfServePools []string `protobuf:"bytes,4,rep,name=self_serve_pools,json=selfServePools" json:"self_serve_pools,omitempty"` |
| // Refer to whether this DUT is stable enough to be scheduled for a test. |
| Stability *bool `protobuf:"varint,37,opt,name=stability" json:"stability,omitempty"` |
| TestCoverageHints *TestCoverageHints `protobuf:"bytes,18,opt,name=test_coverage_hints,json=testCoverageHints" json:"test_coverage_hints,omitempty"` |
| // useless_switch does nothing. Like a useless machine, if set to |
| // true, automatic label updates should set this back to false. |
| // This can be used to test that automated updates are firing |
| // correctly. |
| UselessSwitch *bool `protobuf:"varint,23,opt,name=useless_switch,json=uselessSwitch" json:"useless_switch,omitempty"` |
| Variant []string `protobuf:"bytes,17,rep,name=variant" json:"variant,omitempty"` |
| // Come from manufacturing config: crbug.com/1046971 |
| WifiChip *string `protobuf:"bytes,32,opt,name=wifi_chip,json=wifiChip" json:"wifi_chip,omitempty"` |
| // devboard_type specifies the type of devboard |
| DevboardType *SchedulableLabels_DevboardType `protobuf:"varint,39,opt,name=devboard_type,json=devboardType,enum=chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels_DevboardType" json:"devboard_type,omitempty"` |
| // Indicates whether we have wifi network setup on the hosting location. |
| WifiOnSite *bool `protobuf:"varint,41,opt,name=wifi_on_site,json=wifiOnSite" json:"wifi_on_site,omitempty"` |
| // TODO(b/350065958): Remove when bot/dut is decoupled from device manager. |
| // bot_size is used for test scheduler and device manager to assign tests to |
| // bots with enough RAM size. |
| BotSize *SchedulableLabels_BotSize `protobuf:"varint,42,opt,name=bot_size,json=botSize,enum=chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels_BotSize" json:"bot_size,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *SchedulableLabels) Reset() { |
| *x = SchedulableLabels{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[10] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *SchedulableLabels) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SchedulableLabels) ProtoMessage() {} |
| |
| func (x *SchedulableLabels) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[10] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SchedulableLabels.ProtoReflect.Descriptor instead. |
| func (*SchedulableLabels) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{10} |
| } |
| |
| func (x *SchedulableLabels) GetArc() bool { |
| if x != nil && x.Arc != nil { |
| return *x.Arc |
| } |
| return false |
| } |
| |
| func (x *SchedulableLabels) GetBoard() string { |
| if x != nil && x.Board != nil { |
| return *x.Board |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetBrand() string { |
| if x != nil && x.Brand != nil { |
| return *x.Brand |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetCallbox() bool { |
| if x != nil && x.Callbox != nil { |
| return *x.Callbox |
| } |
| return false |
| } |
| |
| func (x *SchedulableLabels) GetCapabilities() *HardwareCapabilities { |
| if x != nil { |
| return x.Capabilities |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetCr50Phase() SchedulableLabels_CR50_Phase { |
| if x != nil && x.Cr50Phase != nil { |
| return *x.Cr50Phase |
| } |
| return SchedulableLabels_CR50_PHASE_INVALID |
| } |
| |
| func (x *SchedulableLabels) GetCr50RoKeyid() string { |
| if x != nil && x.Cr50RoKeyid != nil { |
| return *x.Cr50RoKeyid |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetCr50RoVersion() string { |
| if x != nil && x.Cr50RoVersion != nil { |
| return *x.Cr50RoVersion |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetCr50RwKeyid() string { |
| if x != nil && x.Cr50RwKeyid != nil { |
| return *x.Cr50RwKeyid |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetCr50RwVersion() string { |
| if x != nil && x.Cr50RwVersion != nil { |
| return *x.Cr50RwVersion |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetCriticalPools() []SchedulableLabels_DUTPool { |
| if x != nil { |
| return x.CriticalPools |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetCtsAbi() []SchedulableLabels_CTSABI { |
| if x != nil { |
| return x.CtsAbi |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetCtsCpu() []SchedulableLabels_CTSCPU { |
| if x != nil { |
| return x.CtsCpu |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetEcType() SchedulableLabels_ECType { |
| if x != nil && x.EcType != nil { |
| return *x.EcType |
| } |
| return SchedulableLabels_EC_TYPE_INVALID |
| } |
| |
| func (x *SchedulableLabels) GetHwidComponent() []string { |
| if x != nil { |
| return x.HwidComponent |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetHwidSku() string { |
| if x != nil && x.HwidSku != nil { |
| return *x.HwidSku |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetDlmSkuId() string { |
| if x != nil && x.DlmSkuId != nil { |
| return *x.DlmSkuId |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetLicenses() []*License { |
| if x != nil { |
| return x.Licenses |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetModel() string { |
| if x != nil && x.Model != nil { |
| return *x.Model |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetModeminfo() *ModemInfo { |
| if x != nil { |
| return x.Modeminfo |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetSku() string { |
| if x != nil && x.Sku != nil { |
| return *x.Sku |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetSiminfo() []*SIMInfo { |
| if x != nil { |
| return x.Siminfo |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetOsType() SchedulableLabels_OSType { |
| if x != nil && x.OsType != nil { |
| return *x.OsType |
| } |
| return SchedulableLabels_OS_TYPE_INVALID |
| } |
| |
| func (x *SchedulableLabels) GetPeripherals() *Peripherals { |
| if x != nil { |
| return x.Peripherals |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetPhase() SchedulableLabels_Phase { |
| if x != nil && x.Phase != nil { |
| return *x.Phase |
| } |
| return SchedulableLabels_PHASE_INVALID |
| } |
| |
| func (x *SchedulableLabels) GetPlatform() string { |
| if x != nil && x.Platform != nil { |
| return *x.Platform |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetRaccEnabledStatus() string { |
| if x != nil && x.RaccEnabledStatus != nil { |
| return *x.RaccEnabledStatus |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetReferenceDesign() string { |
| if x != nil && x.ReferenceDesign != nil { |
| return *x.ReferenceDesign |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetSelfServePools() []string { |
| if x != nil { |
| return x.SelfServePools |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetStability() bool { |
| if x != nil && x.Stability != nil { |
| return *x.Stability |
| } |
| return false |
| } |
| |
| func (x *SchedulableLabels) GetTestCoverageHints() *TestCoverageHints { |
| if x != nil { |
| return x.TestCoverageHints |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetUselessSwitch() bool { |
| if x != nil && x.UselessSwitch != nil { |
| return *x.UselessSwitch |
| } |
| return false |
| } |
| |
| func (x *SchedulableLabels) GetVariant() []string { |
| if x != nil { |
| return x.Variant |
| } |
| return nil |
| } |
| |
| func (x *SchedulableLabels) GetWifiChip() string { |
| if x != nil && x.WifiChip != nil { |
| return *x.WifiChip |
| } |
| return "" |
| } |
| |
| func (x *SchedulableLabels) GetDevboardType() SchedulableLabels_DevboardType { |
| if x != nil && x.DevboardType != nil { |
| return *x.DevboardType |
| } |
| return SchedulableLabels_DEVBOARD_TYPE_INVALID |
| } |
| |
| func (x *SchedulableLabels) GetWifiOnSite() bool { |
| if x != nil && x.WifiOnSite != nil { |
| return *x.WifiOnSite |
| } |
| return false |
| } |
| |
| func (x *SchedulableLabels) GetBotSize() SchedulableLabels_BotSize { |
| if x != nil && x.BotSize != nil { |
| return *x.BotSize |
| } |
| return SchedulableLabels_BOT_SIZE_INVALID |
| } |
| |
| // Keep sorted by field name. |
| // |
| // NEXT TAG: 28 |
| type HardwareCapabilities struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Atrus *bool `protobuf:"varint,17,opt,name=atrus" json:"atrus,omitempty"` |
| Bluetooth *bool `protobuf:"varint,7,opt,name=bluetooth" json:"bluetooth,omitempty"` |
| Carrier *HardwareCapabilities_Carrier `protobuf:"varint,16,opt,name=carrier,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities_Carrier" json:"carrier,omitempty"` |
| // A list of all carriers that can be tested on the DUT. This extends the carrier field which could previously only |
| // be used with a single carrier. |
| SupportedCarriers []HardwareCapabilities_Carrier `protobuf:"varint,41,rep,name=supported_carriers,json=supportedCarriers,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities_Carrier" json:"supported_carriers,omitempty"` |
| // Whether this device has Chromebook X capabilities |
| Cbx *HardwareCapabilities_CbxState `protobuf:"varint,21,opt,name=cbx,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities_CbxState" json:"cbx,omitempty"` |
| // The type of CBX branding available |
| CbxBranding *HardwareCapabilities_CbxBranding `protobuf:"varint,22,opt,name=cbx_branding,json=cbxBranding,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities_CbxBranding" json:"cbx_branding,omitempty"` |
| // Mapping between starfish slot_id and carrier name. |
| StarfishSlotMapping *string `protobuf:"bytes,20,opt,name=starfish_slot_mapping,json=starfishSlotMapping" json:"starfish_slot_mapping,omitempty"` |
| Detachablebase *bool `protobuf:"varint,12,opt,name=detachablebase" json:"detachablebase,omitempty"` |
| // Indicating if the device has fingerprint sensor. |
| Fingerprint *bool `protobuf:"varint,19,opt,name=fingerprint" json:"fingerprint,omitempty"` |
| FingerprintBoard *string `protobuf:"bytes,26,opt,name=fingerprint_board,json=fingerprintBoard" json:"fingerprint_board,omitempty"` |
| FingerprintMcu *string `protobuf:"bytes,25,opt,name=fingerprint_mcu,json=fingerprintMcu" json:"fingerprint_mcu,omitempty"` |
| FingerprintSensor *string `protobuf:"bytes,27,opt,name=fingerprint_sensor,json=fingerprintSensor" json:"fingerprint_sensor,omitempty"` |
| Flashrom *bool `protobuf:"varint,14,opt,name=flashrom" json:"flashrom,omitempty"` |
| GscChip *HardwareCapabilities_GscChip `protobuf:"varint,28,opt,name=gsc_chip,json=gscChip,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities_GscChip" json:"gsc_chip,omitempty"` |
| FormFactor *HardwareCapabilities_FormFactor `protobuf:"varint,23,opt,name=form_factor,json=formFactor,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities_FormFactor" json:"form_factor,omitempty"` |
| GpuFamily *string `protobuf:"bytes,3,opt,name=gpu_family,json=gpuFamily" json:"gpu_family,omitempty"` |
| GpuId *string `protobuf:"bytes,24,opt,name=gpu_id,json=gpuId" json:"gpu_id,omitempty"` |
| Graphics *string `protobuf:"bytes,4,opt,name=graphics" json:"graphics,omitempty"` |
| Hotwording *bool `protobuf:"varint,15,opt,name=hotwording" json:"hotwording,omitempty"` |
| InternalDisplay *bool `protobuf:"varint,8,opt,name=internal_display,json=internalDisplay" json:"internal_display,omitempty"` |
| Lucidsleep *bool `protobuf:"varint,13,opt,name=lucidsleep" json:"lucidsleep,omitempty"` |
| Modem *string `protobuf:"bytes,1,opt,name=modem" json:"modem,omitempty"` |
| Power *string `protobuf:"bytes,6,opt,name=power" json:"power,omitempty"` |
| Storage *string `protobuf:"bytes,5,opt,name=storage" json:"storage,omitempty"` |
| Telephony *string `protobuf:"bytes,2,opt,name=telephony" json:"telephony,omitempty"` |
| Webcam *bool `protobuf:"varint,9,opt,name=webcam" json:"webcam,omitempty"` |
| Touchpad *bool `protobuf:"varint,10,opt,name=touchpad" json:"touchpad,omitempty"` |
| Touchscreen *bool `protobuf:"varint,18,opt,name=touchscreen" json:"touchscreen,omitempty"` |
| VideoAcceleration []HardwareCapabilities_VideoAcceleration `protobuf:"varint,11,rep,name=video_acceleration,json=videoAcceleration,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities_VideoAcceleration" json:"video_acceleration,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *HardwareCapabilities) Reset() { |
| *x = HardwareCapabilities{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[11] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *HardwareCapabilities) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*HardwareCapabilities) ProtoMessage() {} |
| |
| func (x *HardwareCapabilities) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[11] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use HardwareCapabilities.ProtoReflect.Descriptor instead. |
| func (*HardwareCapabilities) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{11} |
| } |
| |
| func (x *HardwareCapabilities) GetAtrus() bool { |
| if x != nil && x.Atrus != nil { |
| return *x.Atrus |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetBluetooth() bool { |
| if x != nil && x.Bluetooth != nil { |
| return *x.Bluetooth |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetCarrier() HardwareCapabilities_Carrier { |
| if x != nil && x.Carrier != nil { |
| return *x.Carrier |
| } |
| return HardwareCapabilities_CARRIER_INVALID |
| } |
| |
| func (x *HardwareCapabilities) GetSupportedCarriers() []HardwareCapabilities_Carrier { |
| if x != nil { |
| return x.SupportedCarriers |
| } |
| return nil |
| } |
| |
| func (x *HardwareCapabilities) GetCbx() HardwareCapabilities_CbxState { |
| if x != nil && x.Cbx != nil { |
| return *x.Cbx |
| } |
| return HardwareCapabilities_CBX_STATE_UNSPECIFIED |
| } |
| |
| func (x *HardwareCapabilities) GetCbxBranding() HardwareCapabilities_CbxBranding { |
| if x != nil && x.CbxBranding != nil { |
| return *x.CbxBranding |
| } |
| return HardwareCapabilities_CBX_BRANDING_UNSPECIFIED |
| } |
| |
| func (x *HardwareCapabilities) GetStarfishSlotMapping() string { |
| if x != nil && x.StarfishSlotMapping != nil { |
| return *x.StarfishSlotMapping |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetDetachablebase() bool { |
| if x != nil && x.Detachablebase != nil { |
| return *x.Detachablebase |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetFingerprint() bool { |
| if x != nil && x.Fingerprint != nil { |
| return *x.Fingerprint |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetFingerprintBoard() string { |
| if x != nil && x.FingerprintBoard != nil { |
| return *x.FingerprintBoard |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetFingerprintMcu() string { |
| if x != nil && x.FingerprintMcu != nil { |
| return *x.FingerprintMcu |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetFingerprintSensor() string { |
| if x != nil && x.FingerprintSensor != nil { |
| return *x.FingerprintSensor |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetFlashrom() bool { |
| if x != nil && x.Flashrom != nil { |
| return *x.Flashrom |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetGscChip() HardwareCapabilities_GscChip { |
| if x != nil && x.GscChip != nil { |
| return *x.GscChip |
| } |
| return HardwareCapabilities_GSC_CHIP_UNKNOWN |
| } |
| |
| func (x *HardwareCapabilities) GetFormFactor() HardwareCapabilities_FormFactor { |
| if x != nil && x.FormFactor != nil { |
| return *x.FormFactor |
| } |
| return HardwareCapabilities_FORM_FACTOR_UNSPECIFIED |
| } |
| |
| func (x *HardwareCapabilities) GetGpuFamily() string { |
| if x != nil && x.GpuFamily != nil { |
| return *x.GpuFamily |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetGpuId() string { |
| if x != nil && x.GpuId != nil { |
| return *x.GpuId |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetGraphics() string { |
| if x != nil && x.Graphics != nil { |
| return *x.Graphics |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetHotwording() bool { |
| if x != nil && x.Hotwording != nil { |
| return *x.Hotwording |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetInternalDisplay() bool { |
| if x != nil && x.InternalDisplay != nil { |
| return *x.InternalDisplay |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetLucidsleep() bool { |
| if x != nil && x.Lucidsleep != nil { |
| return *x.Lucidsleep |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetModem() string { |
| if x != nil && x.Modem != nil { |
| return *x.Modem |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetPower() string { |
| if x != nil && x.Power != nil { |
| return *x.Power |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetStorage() string { |
| if x != nil && x.Storage != nil { |
| return *x.Storage |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetTelephony() string { |
| if x != nil && x.Telephony != nil { |
| return *x.Telephony |
| } |
| return "" |
| } |
| |
| func (x *HardwareCapabilities) GetWebcam() bool { |
| if x != nil && x.Webcam != nil { |
| return *x.Webcam |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetTouchpad() bool { |
| if x != nil && x.Touchpad != nil { |
| return *x.Touchpad |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetTouchscreen() bool { |
| if x != nil && x.Touchscreen != nil { |
| return *x.Touchscreen |
| } |
| return false |
| } |
| |
| func (x *HardwareCapabilities) GetVideoAcceleration() []HardwareCapabilities_VideoAcceleration { |
| if x != nil { |
| return x.VideoAcceleration |
| } |
| return nil |
| } |
| |
| // Peripherals list peripherals connected to the device in the lab. |
| // |
| // These peripherals are not addressable as devices themselves. For peripherals |
| // that have complex connections with devices, create a separate device and |
| // connections with other devices. |
| // |
| // Keep sorted by field names. |
| // |
| // NEXT TAG: 62 |
| type Peripherals struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| AudioBoard *bool `protobuf:"varint,6,opt,name=audio_board,json=audioBoard" json:"audio_board,omitempty"` |
| // The DUT is housed in an audio box to record / replay audio for audio |
| // testing. |
| AudioBox *bool `protobuf:"varint,7,opt,name=audio_box,json=audioBox" json:"audio_box,omitempty"` |
| // Is the DUT connected with a static 3.5mm audio cable. |
| AudioCable *bool `protobuf:"varint,23,opt,name=audio_cable,json=audioCable" json:"audio_cable,omitempty"` |
| AudioLoopbackDongle *bool `protobuf:"varint,1,opt,name=audio_loopback_dongle,json=audioLoopbackDongle" json:"audio_loopback_dongle,omitempty"` |
| // Is this device connected to ANY chameleon (GVC head). |
| Chameleon *bool `protobuf:"varint,5,opt,name=chameleon" json:"chameleon,omitempty"` |
| // List of chameleon devices. |
| ChameleonDevices []*ChameleonDevice `protobuf:"bytes,60,rep,name=chameleon_devices,json=chameleonDevices" json:"chameleon_devices,omitempty"` |
| ChameleonType []Peripherals_ChameleonType `protobuf:"varint,10,rep,name=chameleon_type,json=chameleonType,enum=chrome.chromeos_infra.skylab.proto.inventory.Peripherals_ChameleonType" json:"chameleon_type,omitempty"` |
| ChameleonConnectionTypes []Peripherals_ChameleonConnectionType `protobuf:"varint,45,rep,name=chameleon_connection_types,json=chameleonConnectionTypes,enum=chrome.chromeos_infra.skylab.proto.inventory.Peripherals_ChameleonConnectionType" json:"chameleon_connection_types,omitempty"` |
| ChameleonState *PeripheralState `protobuf:"varint,33,opt,name=chameleon_state,json=chameleonState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"chameleon_state,omitempty"` |
| AudioboxJackpluggerState *Peripherals_AudioBoxJackPlugger `protobuf:"varint,35,opt,name=audiobox_jackplugger_state,json=audioboxJackpluggerState,enum=chrome.chromeos_infra.skylab.proto.inventory.Peripherals_AudioBoxJackPlugger" json:"audiobox_jackplugger_state,omitempty"` |
| // Indicate the type of audio cable |
| TrrsType *Peripherals_TRRSType `protobuf:"varint,42,opt,name=trrs_type,json=trrsType,enum=chrome.chromeos_infra.skylab.proto.inventory.Peripherals_TRRSType" json:"trrs_type,omitempty"` |
| // Whether DUT WiFi antenna is connected conductively or OTA. |
| Conductive *bool `protobuf:"varint,11,opt,name=conductive" json:"conductive,omitempty"` |
| Huddly *bool `protobuf:"varint,9,opt,name=huddly" json:"huddly,omitempty"` |
| Mimo *bool `protobuf:"varint,8,opt,name=mimo" json:"mimo,omitempty"` |
| // Whether a DUT has a special camera (Logitech PTZ Pro 2) connected to it. |
| Ptzpro2 *bool `protobuf:"varint,12,opt,name=ptzpro2" json:"ptzpro2,omitempty"` |
| Servo *bool `protobuf:"varint,2,opt,name=servo" json:"servo,omitempty"` |
| ServoComponent []string `protobuf:"bytes,30,rep,name=servo_component,json=servoComponent" json:"servo_component,omitempty"` |
| ServoState *PeripheralState `protobuf:"varint,15,opt,name=servo_state,json=servoState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"servo_state,omitempty"` |
| ServoType *string `protobuf:"bytes,17,opt,name=servo_type,json=servoType" json:"servo_type,omitempty"` |
| ServoTopology *ServoTopology `protobuf:"bytes,24,opt,name=servo_topology,json=servoTopology" json:"servo_topology,omitempty"` |
| ServoFwChannel *ServoFwChannel `protobuf:"varint,27,opt,name=servo_fw_channel,json=servoFwChannel,enum=chrome.chromeos_infra.skylab.proto.inventory.ServoFwChannel" json:"servo_fw_channel,omitempty"` |
| SmartUsbhub *bool `protobuf:"varint,21,opt,name=smart_usbhub,json=smartUsbhub" json:"smart_usbhub,omitempty"` |
| Stylus *bool `protobuf:"varint,3,opt,name=stylus" json:"stylus,omitempty"` |
| Camerabox *bool `protobuf:"varint,13,opt,name=camerabox" json:"camerabox,omitempty"` |
| // Is this device inside a hermetic wifi cell. |
| Wificell *bool `protobuf:"varint,4,opt,name=wificell" json:"wificell,omitempty"` |
| // Indicate if the device is in a pre-setup environment with 802.11ax routers. |
| // crbug.com/1044786 |
| Router_802_11Ax *bool `protobuf:"varint,14,opt,name=router_802_11ax,json=router80211ax" json:"router_802_11ax,omitempty"` |
| // Indicate how many working btpeers for this device: crbug.com/1052511 |
| WorkingBluetoothBtpeer *int32 `protobuf:"varint,16,opt,name=working_bluetooth_btpeer,json=workingBluetoothBtpeer" json:"working_bluetooth_btpeer,omitempty"` |
| CameraboxFacing *Peripherals_CameraboxFacing `protobuf:"varint,18,opt,name=camerabox_facing,json=cameraboxFacing,enum=chrome.chromeos_infra.skylab.proto.inventory.Peripherals_CameraboxFacing" json:"camerabox_facing,omitempty"` |
| CameraboxLight *Peripherals_CameraboxLight `protobuf:"varint,22,opt,name=camerabox_light,json=cameraboxLight,enum=chrome.chromeos_infra.skylab.proto.inventory.Peripherals_CameraboxLight" json:"camerabox_light,omitempty"` |
| StorageState *HardwareState `protobuf:"varint,19,opt,name=storage_state,json=storageState,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareState" json:"storage_state,omitempty"` |
| ServoUsbState *HardwareState `protobuf:"varint,20,opt,name=servo_usb_state,json=servoUsbState,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareState" json:"servo_usb_state,omitempty"` |
| BatteryState *HardwareState `protobuf:"varint,26,opt,name=battery_state,json=batteryState,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareState" json:"battery_state,omitempty"` |
| WifiState *HardwareState `protobuf:"varint,28,opt,name=wifi_state,json=wifiState,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareState" json:"wifi_state,omitempty"` |
| BluetoothState *HardwareState `protobuf:"varint,29,opt,name=bluetooth_state,json=bluetoothState,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareState" json:"bluetooth_state,omitempty"` |
| CellularModemState *HardwareState `protobuf:"varint,34,opt,name=cellular_modem_state,json=cellularModemState,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareState" json:"cellular_modem_state,omitempty"` |
| StarfishState *PeripheralState `protobuf:"varint,46,opt,name=starfish_state,json=starfishState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"starfish_state,omitempty"` |
| // The overall state of the celular SIMs in the device. |
| SimState *PeripheralState `protobuf:"varint,48,opt,name=sim_state,json=simState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"sim_state,omitempty"` |
| // The number of SIMs with connectable networks detected. This is only used in the converters |
| // and is not populated directly in UFS. |
| WorkingSims *int32 `protobuf:"varint,49,opt,name=working_sims,json=workingSims" json:"working_sims,omitempty"` |
| RpmState *PeripheralState `protobuf:"varint,25,opt,name=rpm_state,json=rpmState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"rpm_state,omitempty"` |
| PasitState *PeripheralState `protobuf:"varint,57,opt,name=pasit_state,json=pasitState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"pasit_state,omitempty"` |
| ConnectedPort []string `protobuf:"bytes,58,rep,name=connected_port,json=connectedPort" json:"connected_port,omitempty"` |
| // The overall state of all btpeer peripherals in the testbed. |
| // Sourced from unifiedfleet.api.v1.models.chromeos.lab.DutState.peripheral_btpeer_state. |
| PeripheralBtpeerState *PeripheralState `protobuf:"varint,44,opt,name=peripheral_btpeer_state,json=peripheralBtpeerState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"peripheral_btpeer_state,omitempty"` |
| // The overall state of all wifi router peripherals in the testbed. |
| // Sourced from unifiedfleet.api.v1.models.chromeos.lab.DutState.wifi_peripheral_state. |
| PeripheralWifiState *PeripheralState `protobuf:"varint,31,opt,name=peripheral_wifi_state,json=peripheralWifiState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"peripheral_wifi_state,omitempty"` |
| // WifiRouterFeatures that are supported by all wifi routers in the testbed. |
| // |
| // This is a copy of unifiedfleet.api.v1.rpc.Wifi.wifi_router_features. |
| // |
| // If there are no wifi routers this will be empty. |
| // If any routers have unknown features, this will just have a single |
| // WIFI_ROUTER_FEATURE_UNKNOWN entry. |
| // If any routers' features has a WIFI_ROUTER_FEATURE_INVALID feature, a |
| // WIFI_ROUTER_FEATURE_INVALID feature will be included along with the other |
| // common, valid features. |
| // If there are no common, valid features between all routers, this will just |
| // have a single WIFI_ROUTER_FEATURE_INVALID entry. |
| WifiRouterFeatures []Peripherals_WifiRouterFeature `protobuf:"varint,40,rep,name=wifi_router_features,json=wifiRouterFeatures,enum=chrome.chromeos_infra.skylab.proto.inventory.Peripherals_WifiRouterFeature" json:"wifi_router_features,omitempty"` |
| // All wifi router model names in the testbed. |
| // |
| // This is a collection of unifiedfleet.api.v1.rpc.WifiRouter.model values, |
| // one for each in unifiedfleet.api.v1.rpc.Wifi.wifi_routers. |
| WifiRouterModels []string `protobuf:"bytes,41,rep,name=wifi_router_models,json=wifiRouterModels" json:"wifi_router_models,omitempty"` |
| // The state of Human Motion Robot system. |
| // See UFS peripherals.proto or go/fleet-infra-hmr-support for more context. |
| HmrState *PeripheralState `protobuf:"varint,36,opt,name=hmr_state,json=hmrState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"hmr_state,omitempty"` |
| // Indicate the presence of a WALT device for latency testing. |
| // The walt device will be connected to the bottom usb-A port of the servo. |
| // Set to true if the HMR has a walt unit attached to it else False. |
| HmrWalt *bool `protobuf:"varint,54,opt,name=hmr_walt,json=hmrWalt" json:"hmr_walt,omitempty"` |
| // Indicate the tool type currently attached to the HMR. |
| HmrToolType *Peripherals_HMRToolType `protobuf:"varint,55,opt,name=hmr_tool_type,json=hmrToolType,enum=chrome.chromeos_infra.skylab.proto.inventory.Peripherals_HMRToolType" json:"hmr_tool_type,omitempty"` |
| // Indicate the generation of the HMR. |
| // The type of generation can be identified by the serial number behind the HMR. |
| HmrGen *Peripherals_HMRGen `protobuf:"varint,56,opt,name=hmr_gen,json=hmrGen,enum=chrome.chromeos_infra.skylab.proto.inventory.Peripherals_HMRGen" json:"hmr_gen,omitempty"` |
| // The state of Audio Latency Toolkit |
| // See UFS peripherals.proto or go/teensy-in-audiobox-proposal for more context. |
| AudioLatencyToolkitState *PeripheralState `protobuf:"varint,43,opt,name=audio_latency_toolkit_state,json=audioLatencyToolkitState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"audio_latency_toolkit_state,omitempty"` |
| // The components supported by the PASIT testbed. This is a list of all of the |
| // components in the testbed and their count e.g. "DOCK-1, MONITOR-1, MONITOR-2..." |
| PasitComponents []string `protobuf:"bytes,47,rep,name=pasit_components,json=pasitComponents" json:"pasit_components,omitempty"` |
| // The state of Intel AMT management. |
| // See UFS peripherals.proto or go/flex-amt-enabled-repair for more context. |
| AmtManagerState *PeripheralState `protobuf:"varint,50,opt,name=amt_manager_state,json=amtManagerState,enum=chrome.chromeos_infra.skylab.proto.inventory.PeripheralState" json:"amt_manager_state,omitempty"` |
| // The type of Audio Beamforming on the DUT. |
| AudioBeamforming *string `protobuf:"bytes,51,opt,name=audio_beamforming,json=audioBeamforming" json:"audio_beamforming,omitempty"` |
| // The state of camera on the DUT. |
| CameraState *HardwareState `protobuf:"varint,52,opt,name=camera_state,json=cameraState,enum=chrome.chromeos_infra.skylab.proto.inventory.HardwareState" json:"camera_state,omitempty"` |
| // Features supported by the available SIMs on the DUT. |
| // These are extracted from the underlying SIMProfileInfo and merged together. |
| // See go/cros-cellular-features for more information. |
| // File bugs against buganizer component: 979102. |
| SimFeatures []Peripherals_SIMFeature `protobuf:"varint,53,rep,name=sim_features,json=simFeatures,enum=chrome.chromeos_infra.skylab.proto.inventory.Peripherals_SIMFeature" json:"sim_features,omitempty"` |
| // The number of working BES boards in the testbed. |
| WorkingBesBoards *int32 `protobuf:"varint,59,opt,name=working_bes_boards,json=workingBesBoards" json:"working_bes_boards,omitempty"` |
| // Indicate if RPM is present in the wificell. |
| WificellRpmPresent *bool `protobuf:"varint,61,opt,name=wificell_rpm_present,json=wificellRpmPresent" json:"wificell_rpm_present,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Peripherals) Reset() { |
| *x = Peripherals{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[12] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Peripherals) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Peripherals) ProtoMessage() {} |
| |
| func (x *Peripherals) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[12] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Peripherals.ProtoReflect.Descriptor instead. |
| func (*Peripherals) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{12} |
| } |
| |
| func (x *Peripherals) GetAudioBoard() bool { |
| if x != nil && x.AudioBoard != nil { |
| return *x.AudioBoard |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetAudioBox() bool { |
| if x != nil && x.AudioBox != nil { |
| return *x.AudioBox |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetAudioCable() bool { |
| if x != nil && x.AudioCable != nil { |
| return *x.AudioCable |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetAudioLoopbackDongle() bool { |
| if x != nil && x.AudioLoopbackDongle != nil { |
| return *x.AudioLoopbackDongle |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetChameleon() bool { |
| if x != nil && x.Chameleon != nil { |
| return *x.Chameleon |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetChameleonDevices() []*ChameleonDevice { |
| if x != nil { |
| return x.ChameleonDevices |
| } |
| return nil |
| } |
| |
| func (x *Peripherals) GetChameleonType() []Peripherals_ChameleonType { |
| if x != nil { |
| return x.ChameleonType |
| } |
| return nil |
| } |
| |
| func (x *Peripherals) GetChameleonConnectionTypes() []Peripherals_ChameleonConnectionType { |
| if x != nil { |
| return x.ChameleonConnectionTypes |
| } |
| return nil |
| } |
| |
| func (x *Peripherals) GetChameleonState() PeripheralState { |
| if x != nil && x.ChameleonState != nil { |
| return *x.ChameleonState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetAudioboxJackpluggerState() Peripherals_AudioBoxJackPlugger { |
| if x != nil && x.AudioboxJackpluggerState != nil { |
| return *x.AudioboxJackpluggerState |
| } |
| return Peripherals_AUDIOBOX_JACKPLUGGER_UNSPECIFIED |
| } |
| |
| func (x *Peripherals) GetTrrsType() Peripherals_TRRSType { |
| if x != nil && x.TrrsType != nil { |
| return *x.TrrsType |
| } |
| return Peripherals_TRRS_TYPE_UNSPECIFIED |
| } |
| |
| func (x *Peripherals) GetConductive() bool { |
| if x != nil && x.Conductive != nil { |
| return *x.Conductive |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetHuddly() bool { |
| if x != nil && x.Huddly != nil { |
| return *x.Huddly |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetMimo() bool { |
| if x != nil && x.Mimo != nil { |
| return *x.Mimo |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetPtzpro2() bool { |
| if x != nil && x.Ptzpro2 != nil { |
| return *x.Ptzpro2 |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetServo() bool { |
| if x != nil && x.Servo != nil { |
| return *x.Servo |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetServoComponent() []string { |
| if x != nil { |
| return x.ServoComponent |
| } |
| return nil |
| } |
| |
| func (x *Peripherals) GetServoState() PeripheralState { |
| if x != nil && x.ServoState != nil { |
| return *x.ServoState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetServoType() string { |
| if x != nil && x.ServoType != nil { |
| return *x.ServoType |
| } |
| return "" |
| } |
| |
| func (x *Peripherals) GetServoTopology() *ServoTopology { |
| if x != nil { |
| return x.ServoTopology |
| } |
| return nil |
| } |
| |
| func (x *Peripherals) GetServoFwChannel() ServoFwChannel { |
| if x != nil && x.ServoFwChannel != nil { |
| return *x.ServoFwChannel |
| } |
| return ServoFwChannel_SERVO_FW_STABLE |
| } |
| |
| func (x *Peripherals) GetSmartUsbhub() bool { |
| if x != nil && x.SmartUsbhub != nil { |
| return *x.SmartUsbhub |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetStylus() bool { |
| if x != nil && x.Stylus != nil { |
| return *x.Stylus |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetCamerabox() bool { |
| if x != nil && x.Camerabox != nil { |
| return *x.Camerabox |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetWificell() bool { |
| if x != nil && x.Wificell != nil { |
| return *x.Wificell |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetRouter_802_11Ax() bool { |
| if x != nil && x.Router_802_11Ax != nil { |
| return *x.Router_802_11Ax |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetWorkingBluetoothBtpeer() int32 { |
| if x != nil && x.WorkingBluetoothBtpeer != nil { |
| return *x.WorkingBluetoothBtpeer |
| } |
| return 0 |
| } |
| |
| func (x *Peripherals) GetCameraboxFacing() Peripherals_CameraboxFacing { |
| if x != nil && x.CameraboxFacing != nil { |
| return *x.CameraboxFacing |
| } |
| return Peripherals_CAMERABOX_FACING_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetCameraboxLight() Peripherals_CameraboxLight { |
| if x != nil && x.CameraboxLight != nil { |
| return *x.CameraboxLight |
| } |
| return Peripherals_CAMERABOX_LIGHT_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetStorageState() HardwareState { |
| if x != nil && x.StorageState != nil { |
| return *x.StorageState |
| } |
| return HardwareState_HARDWARE_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetServoUsbState() HardwareState { |
| if x != nil && x.ServoUsbState != nil { |
| return *x.ServoUsbState |
| } |
| return HardwareState_HARDWARE_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetBatteryState() HardwareState { |
| if x != nil && x.BatteryState != nil { |
| return *x.BatteryState |
| } |
| return HardwareState_HARDWARE_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetWifiState() HardwareState { |
| if x != nil && x.WifiState != nil { |
| return *x.WifiState |
| } |
| return HardwareState_HARDWARE_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetBluetoothState() HardwareState { |
| if x != nil && x.BluetoothState != nil { |
| return *x.BluetoothState |
| } |
| return HardwareState_HARDWARE_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetCellularModemState() HardwareState { |
| if x != nil && x.CellularModemState != nil { |
| return *x.CellularModemState |
| } |
| return HardwareState_HARDWARE_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetStarfishState() PeripheralState { |
| if x != nil && x.StarfishState != nil { |
| return *x.StarfishState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetSimState() PeripheralState { |
| if x != nil && x.SimState != nil { |
| return *x.SimState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetWorkingSims() int32 { |
| if x != nil && x.WorkingSims != nil { |
| return *x.WorkingSims |
| } |
| return 0 |
| } |
| |
| func (x *Peripherals) GetRpmState() PeripheralState { |
| if x != nil && x.RpmState != nil { |
| return *x.RpmState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetPasitState() PeripheralState { |
| if x != nil && x.PasitState != nil { |
| return *x.PasitState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetConnectedPort() []string { |
| if x != nil { |
| return x.ConnectedPort |
| } |
| return nil |
| } |
| |
| func (x *Peripherals) GetPeripheralBtpeerState() PeripheralState { |
| if x != nil && x.PeripheralBtpeerState != nil { |
| return *x.PeripheralBtpeerState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetPeripheralWifiState() PeripheralState { |
| if x != nil && x.PeripheralWifiState != nil { |
| return *x.PeripheralWifiState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetWifiRouterFeatures() []Peripherals_WifiRouterFeature { |
| if x != nil { |
| return x.WifiRouterFeatures |
| } |
| return nil |
| } |
| |
| func (x *Peripherals) GetWifiRouterModels() []string { |
| if x != nil { |
| return x.WifiRouterModels |
| } |
| return nil |
| } |
| |
| func (x *Peripherals) GetHmrState() PeripheralState { |
| if x != nil && x.HmrState != nil { |
| return *x.HmrState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetHmrWalt() bool { |
| if x != nil && x.HmrWalt != nil { |
| return *x.HmrWalt |
| } |
| return false |
| } |
| |
| func (x *Peripherals) GetHmrToolType() Peripherals_HMRToolType { |
| if x != nil && x.HmrToolType != nil { |
| return *x.HmrToolType |
| } |
| return Peripherals_HMR_TOOL_TYPE_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetHmrGen() Peripherals_HMRGen { |
| if x != nil && x.HmrGen != nil { |
| return *x.HmrGen |
| } |
| return Peripherals_HMR_GEN_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetAudioLatencyToolkitState() PeripheralState { |
| if x != nil && x.AudioLatencyToolkitState != nil { |
| return *x.AudioLatencyToolkitState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetPasitComponents() []string { |
| if x != nil { |
| return x.PasitComponents |
| } |
| return nil |
| } |
| |
| func (x *Peripherals) GetAmtManagerState() PeripheralState { |
| if x != nil && x.AmtManagerState != nil { |
| return *x.AmtManagerState |
| } |
| return PeripheralState_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetAudioBeamforming() string { |
| if x != nil && x.AudioBeamforming != nil { |
| return *x.AudioBeamforming |
| } |
| return "" |
| } |
| |
| func (x *Peripherals) GetCameraState() HardwareState { |
| if x != nil && x.CameraState != nil { |
| return *x.CameraState |
| } |
| return HardwareState_HARDWARE_UNKNOWN |
| } |
| |
| func (x *Peripherals) GetSimFeatures() []Peripherals_SIMFeature { |
| if x != nil { |
| return x.SimFeatures |
| } |
| return nil |
| } |
| |
| func (x *Peripherals) GetWorkingBesBoards() int32 { |
| if x != nil && x.WorkingBesBoards != nil { |
| return *x.WorkingBesBoards |
| } |
| return 0 |
| } |
| |
| func (x *Peripherals) GetWificellRpmPresent() bool { |
| if x != nil && x.WificellRpmPresent != nil { |
| return *x.WificellRpmPresent |
| } |
| return false |
| } |
| |
| // Copy from servo.proto |
| // Servo Topology describe connected servo devices on DUT set-up to provide Servo functionality. |
| // Next Tag : 3 |
| type ServoTopology struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Main *ServoTopologyItem `protobuf:"bytes,1,opt,name=main" json:"main,omitempty"` |
| Children []*ServoTopologyItem `protobuf:"bytes,2,rep,name=children" json:"children,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ServoTopology) Reset() { |
| *x = ServoTopology{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[13] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ServoTopology) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ServoTopology) ProtoMessage() {} |
| |
| func (x *ServoTopology) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[13] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ServoTopology.ProtoReflect.Descriptor instead. |
| func (*ServoTopology) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{13} |
| } |
| |
| func (x *ServoTopology) GetMain() *ServoTopologyItem { |
| if x != nil { |
| return x.Main |
| } |
| return nil |
| } |
| |
| func (x *ServoTopology) GetChildren() []*ServoTopologyItem { |
| if x != nil { |
| return x.Children |
| } |
| return nil |
| } |
| |
| // Servo Topology Item describe details of one servo device on DUT set-up. |
| // Next Tag : 8 |
| type ServoTopologyItem struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // type provides the type of servo device. Keeping as String to avoid issue |
| // with introduce new type. |
| Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` |
| // sysfs_product provides the product name of the device recorded in File |
| // System. |
| SysfsProduct *string `protobuf:"bytes,2,opt,name=sysfs_product,json=sysfsProduct" json:"sysfs_product,omitempty"` |
| // serial provides the serial number of the device. |
| Serial *string `protobuf:"bytes,3,opt,name=serial" json:"serial,omitempty"` |
| // usb_hub_port provides the port connection to the device. |
| // e.g. '1-6.2.2' where |
| // |
| // '1-6' - port on the labstation |
| // '2' - port on smart-hub connected to the labstation |
| // '2' - port on servo hub (part of servo_v4 or servo_v4.1) connected to |
| // the smart-hub |
| // |
| // The same path will look '1-6.2' if connected servo_v4 directly to the |
| // labstation. |
| UsbHubPort *string `protobuf:"bytes,4,opt,name=usb_hub_port,json=usbHubPort" json:"usb_hub_port,omitempty"` |
| // This is the firmware version of servo device. |
| FwVersion *string `protobuf:"bytes,5,opt,name=fw_version,json=fwVersion" json:"fw_version,omitempty"` |
| // This is the complete path on the file system for the servo device. |
| SysfsPath *string `protobuf:"bytes,6,opt,name=sysfs_path,json=sysfsPath" json:"sysfs_path,omitempty"` |
| // This is vendor and product ids of the servo device. |
| // e.g. `18d1:5014` |
| VidPid *string `protobuf:"bytes,7,opt,name=vid_pid,json=vidPid" json:"vid_pid,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ServoTopologyItem) Reset() { |
| *x = ServoTopologyItem{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[14] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ServoTopologyItem) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ServoTopologyItem) ProtoMessage() {} |
| |
| func (x *ServoTopologyItem) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[14] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ServoTopologyItem.ProtoReflect.Descriptor instead. |
| func (*ServoTopologyItem) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{14} |
| } |
| |
| func (x *ServoTopologyItem) GetType() string { |
| if x != nil && x.Type != nil { |
| return *x.Type |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetSysfsProduct() string { |
| if x != nil && x.SysfsProduct != nil { |
| return *x.SysfsProduct |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetSerial() string { |
| if x != nil && x.Serial != nil { |
| return *x.Serial |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetUsbHubPort() string { |
| if x != nil && x.UsbHubPort != nil { |
| return *x.UsbHubPort |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetFwVersion() string { |
| if x != nil && x.FwVersion != nil { |
| return *x.FwVersion |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetSysfsPath() string { |
| if x != nil && x.SysfsPath != nil { |
| return *x.SysfsPath |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetVidPid() string { |
| if x != nil && x.VidPid != nil { |
| return *x.VidPid |
| } |
| return "" |
| } |
| |
| // These labels are used by the CI system to provide test coverage hints to |
| // Skylab. |
| // |
| // TODO(pprabhu) Most of these should instead be self-servo pools. |
| // Migrate the test requests to use pools and then deprecate these fields in |
| // favor of pools. |
| // |
| // Keep sorted by field name. |
| // |
| // NEXT TAG: 14 |
| type TestCoverageHints struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| ChaosDut *bool `protobuf:"varint,7,opt,name=chaos_dut,json=chaosDut" json:"chaos_dut,omitempty"` |
| ChaosNightly *bool `protobuf:"varint,13,opt,name=chaos_nightly,json=chaosNightly" json:"chaos_nightly,omitempty"` |
| Chromesign *bool `protobuf:"varint,11,opt,name=chromesign" json:"chromesign,omitempty"` |
| CtsSparse []TestCoverageHints_CTSSparse `protobuf:"varint,1,rep,name=cts_sparse,json=ctsSparse,enum=chrome.chromeos_infra.skylab.proto.inventory.TestCoverageHints_CTSSparse" json:"cts_sparse,omitempty"` |
| // Whether the DUT has the hangout app installed. |
| // This is a software feature of the DUT that is not provisioned as part of |
| // the test setup, hence the DUT must be labelled explicitly as supporting |
| // this feature. Should probably be a SoftwareFeature for the DUT. |
| HangoutApp *bool `protobuf:"varint,9,opt,name=hangout_app,json=hangoutApp" json:"hangout_app,omitempty"` |
| // Whether the DUT has the meet app installed. |
| // This is a software feature of the DUT that is not provisioned as part of |
| // the test setup, hence the DUT must be labelled explicitly as supporting |
| // this feature. Should probably be a SoftwareFeature for the DUT. |
| MeetApp *bool `protobuf:"varint,10,opt,name=meet_app,json=meetApp" json:"meet_app,omitempty"` |
| RecoveryTest *bool `protobuf:"varint,8,opt,name=recovery_test,json=recoveryTest" json:"recovery_test,omitempty"` |
| TestAudiojack *bool `protobuf:"varint,3,opt,name=test_audiojack,json=testAudiojack" json:"test_audiojack,omitempty"` |
| TestHdmiaudio *bool `protobuf:"varint,2,opt,name=test_hdmiaudio,json=testHdmiaudio" json:"test_hdmiaudio,omitempty"` |
| TestUsbaudio *bool `protobuf:"varint,4,opt,name=test_usbaudio,json=testUsbaudio" json:"test_usbaudio,omitempty"` |
| TestUsbprinting *bool `protobuf:"varint,5,opt,name=test_usbprinting,json=testUsbprinting" json:"test_usbprinting,omitempty"` |
| UsbDetect *bool `protobuf:"varint,6,opt,name=usb_detect,json=usbDetect" json:"usb_detect,omitempty"` |
| UseLid *bool `protobuf:"varint,12,opt,name=use_lid,json=useLid" json:"use_lid,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *TestCoverageHints) Reset() { |
| *x = TestCoverageHints{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[15] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *TestCoverageHints) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*TestCoverageHints) ProtoMessage() {} |
| |
| func (x *TestCoverageHints) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[15] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use TestCoverageHints.ProtoReflect.Descriptor instead. |
| func (*TestCoverageHints) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{15} |
| } |
| |
| func (x *TestCoverageHints) GetChaosDut() bool { |
| if x != nil && x.ChaosDut != nil { |
| return *x.ChaosDut |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetChaosNightly() bool { |
| if x != nil && x.ChaosNightly != nil { |
| return *x.ChaosNightly |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetChromesign() bool { |
| if x != nil && x.Chromesign != nil { |
| return *x.Chromesign |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetCtsSparse() []TestCoverageHints_CTSSparse { |
| if x != nil { |
| return x.CtsSparse |
| } |
| return nil |
| } |
| |
| func (x *TestCoverageHints) GetHangoutApp() bool { |
| if x != nil && x.HangoutApp != nil { |
| return *x.HangoutApp |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetMeetApp() bool { |
| if x != nil && x.MeetApp != nil { |
| return *x.MeetApp |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetRecoveryTest() bool { |
| if x != nil && x.RecoveryTest != nil { |
| return *x.RecoveryTest |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetTestAudiojack() bool { |
| if x != nil && x.TestAudiojack != nil { |
| return *x.TestAudiojack |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetTestHdmiaudio() bool { |
| if x != nil && x.TestHdmiaudio != nil { |
| return *x.TestHdmiaudio |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetTestUsbaudio() bool { |
| if x != nil && x.TestUsbaudio != nil { |
| return *x.TestUsbaudio |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetTestUsbprinting() bool { |
| if x != nil && x.TestUsbprinting != nil { |
| return *x.TestUsbprinting |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetUsbDetect() bool { |
| if x != nil && x.UsbDetect != nil { |
| return *x.UsbDetect |
| } |
| return false |
| } |
| |
| func (x *TestCoverageHints) GetUseLid() bool { |
| if x != nil && x.UseLid != nil { |
| return *x.UseLid |
| } |
| return false |
| } |
| |
| // NEXT TAG: 3 |
| type KeyValue struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` |
| Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *KeyValue) Reset() { |
| *x = KeyValue{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[16] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *KeyValue) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*KeyValue) ProtoMessage() {} |
| |
| func (x *KeyValue) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[16] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use KeyValue.ProtoReflect.Descriptor instead. |
| func (*KeyValue) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{16} |
| } |
| |
| func (x *KeyValue) GetKey() string { |
| if x != nil && x.Key != nil { |
| return *x.Key |
| } |
| return "" |
| } |
| |
| func (x *KeyValue) GetValue() string { |
| if x != nil && x.Value != nil { |
| return *x.Value |
| } |
| return "" |
| } |
| |
| // Represents a Software License assigned to a device. |
| // Next Tag: 2 |
| type License struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // The type of licenses (e.g. Windows) |
| Type *LicenseType `protobuf:"varint,1,opt,name=type,enum=chrome.chromeos_infra.skylab.proto.inventory.LicenseType" json:"type,omitempty"` |
| // An optional string to uniquely identify the license that was assigned, |
| // for tracking purposes. |
| Identifier *string `protobuf:"bytes,2,opt,name=identifier" json:"identifier,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *License) Reset() { |
| *x = License{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[17] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *License) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*License) ProtoMessage() {} |
| |
| func (x *License) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[17] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use License.ProtoReflect.Descriptor instead. |
| func (*License) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{17} |
| } |
| |
| func (x *License) GetType() LicenseType { |
| if x != nil && x.Type != nil { |
| return *x.Type |
| } |
| return LicenseType_LICENSE_TYPE_UNSPECIFIED |
| } |
| |
| func (x *License) GetIdentifier() string { |
| if x != nil && x.Identifier != nil { |
| return *x.Identifier |
| } |
| return "" |
| } |
| |
| // ModemInfo |
| // Next Tag: 6 |
| type ModemInfo struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Type *ModemType `protobuf:"varint,1,opt,name=type,enum=chrome.chromeos_infra.skylab.proto.inventory.ModemType" json:"type,omitempty"` |
| // Equipment Identifier |
| Imei *string `protobuf:"bytes,2,opt,name=imei" json:"imei,omitempty"` |
| // Comma separated band numbers |
| SupportedBands *string `protobuf:"bytes,3,opt,name=supported_bands,json=supportedBands" json:"supported_bands,omitempty"` |
| // Number of SIM's present |
| SimCount *int32 `protobuf:"varint,4,opt,name=sim_count,json=simCount" json:"sim_count,omitempty"` |
| // The device model cellular sub-variant. |
| ModelVariant *string `protobuf:"bytes,5,opt,name=model_variant,json=modelVariant" json:"model_variant,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ModemInfo) Reset() { |
| *x = ModemInfo{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[18] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ModemInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ModemInfo) ProtoMessage() {} |
| |
| func (x *ModemInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[18] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ModemInfo.ProtoReflect.Descriptor instead. |
| func (*ModemInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{18} |
| } |
| |
| func (x *ModemInfo) GetType() ModemType { |
| if x != nil && x.Type != nil { |
| return *x.Type |
| } |
| return ModemType_MODEM_TYPE_UNSPECIFIED |
| } |
| |
| func (x *ModemInfo) GetImei() string { |
| if x != nil && x.Imei != nil { |
| return *x.Imei |
| } |
| return "" |
| } |
| |
| func (x *ModemInfo) GetSupportedBands() string { |
| if x != nil && x.SupportedBands != nil { |
| return *x.SupportedBands |
| } |
| return "" |
| } |
| |
| func (x *ModemInfo) GetSimCount() int32 { |
| if x != nil && x.SimCount != nil { |
| return *x.SimCount |
| } |
| return 0 |
| } |
| |
| func (x *ModemInfo) GetModelVariant() string { |
| if x != nil && x.ModelVariant != nil { |
| return *x.ModelVariant |
| } |
| return "" |
| } |
| |
| // Next Tag: 6 |
| type SIMInfo struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| SlotId *int32 `protobuf:"varint,1,opt,name=slot_id,json=slotId" json:"slot_id,omitempty"` |
| Type *SIMType `protobuf:"varint,2,opt,name=type,enum=chrome.chromeos_infra.skylab.proto.inventory.SIMType" json:"type,omitempty"` |
| Eid *string `protobuf:"bytes,3,opt,name=eid" json:"eid,omitempty"` |
| TestEsim *bool `protobuf:"varint,4,opt,name=test_esim,json=testEsim" json:"test_esim,omitempty"` |
| ProfileInfo []*SIMProfileInfo `protobuf:"bytes,5,rep,name=profile_info,json=profileInfo" json:"profile_info,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *SIMInfo) Reset() { |
| *x = SIMInfo{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[19] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *SIMInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SIMInfo) ProtoMessage() {} |
| |
| func (x *SIMInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[19] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SIMInfo.ProtoReflect.Descriptor instead. |
| func (*SIMInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{19} |
| } |
| |
| func (x *SIMInfo) GetSlotId() int32 { |
| if x != nil && x.SlotId != nil { |
| return *x.SlotId |
| } |
| return 0 |
| } |
| |
| func (x *SIMInfo) GetType() SIMType { |
| if x != nil && x.Type != nil { |
| return *x.Type |
| } |
| return SIMType_SIM_UNKNOWN |
| } |
| |
| func (x *SIMInfo) GetEid() string { |
| if x != nil && x.Eid != nil { |
| return *x.Eid |
| } |
| return "" |
| } |
| |
| func (x *SIMInfo) GetTestEsim() bool { |
| if x != nil && x.TestEsim != nil { |
| return *x.TestEsim |
| } |
| return false |
| } |
| |
| func (x *SIMInfo) GetProfileInfo() []*SIMProfileInfo { |
| if x != nil { |
| return x.ProfileInfo |
| } |
| return nil |
| } |
| |
| // Next Tag: 6 |
| type SIMProfileInfo struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Iccid *string `protobuf:"bytes,1,opt,name=iccid" json:"iccid,omitempty"` |
| SimPin *string `protobuf:"bytes,2,opt,name=sim_pin,json=simPin" json:"sim_pin,omitempty"` |
| SimPuk *string `protobuf:"bytes,3,opt,name=sim_puk,json=simPuk" json:"sim_puk,omitempty"` |
| CarrierName *NetworkProvider `protobuf:"varint,4,opt,name=carrier_name,json=carrierName,enum=chrome.chromeos_infra.skylab.proto.inventory.NetworkProvider" json:"carrier_name,omitempty"` |
| // Carrier provided number |
| OwnNumber *string `protobuf:"bytes,5,opt,name=own_number,json=ownNumber" json:"own_number,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *SIMProfileInfo) Reset() { |
| *x = SIMProfileInfo{} |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[20] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *SIMProfileInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SIMProfileInfo) ProtoMessage() {} |
| |
| func (x *SIMProfileInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[20] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SIMProfileInfo.ProtoReflect.Descriptor instead. |
| func (*SIMProfileInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP(), []int{20} |
| } |
| |
| func (x *SIMProfileInfo) GetIccid() string { |
| if x != nil && x.Iccid != nil { |
| return *x.Iccid |
| } |
| return "" |
| } |
| |
| func (x *SIMProfileInfo) GetSimPin() string { |
| if x != nil && x.SimPin != nil { |
| return *x.SimPin |
| } |
| return "" |
| } |
| |
| func (x *SIMProfileInfo) GetSimPuk() string { |
| if x != nil && x.SimPuk != nil { |
| return *x.SimPuk |
| } |
| return "" |
| } |
| |
| func (x *SIMProfileInfo) GetCarrierName() NetworkProvider { |
| if x != nil && x.CarrierName != nil { |
| return *x.CarrierName |
| } |
| return NetworkProvider_NETWORK_OTHER |
| } |
| |
| func (x *SIMProfileInfo) GetOwnNumber() string { |
| if x != nil && x.OwnNumber != nil { |
| return *x.OwnNumber |
| } |
| return "" |
| } |
| |
| var File_go_chromium_org_infra_libs_skylab_inventory_device_proto protoreflect.FileDescriptor |
| |
| const file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDesc = "" + |
| "\n" + |
| "8go.chromium.org/infra/libs/skylab/inventory/device.proto\x12,chrome.chromeos_infra.skylab.proto.inventory\x1a8go.chromium.org/infra/libs/skylab/inventory/common.proto\"\xa4\x02\n" + |
| "\x06Device\x12Q\n" + |
| "\x03dut\x18\x01 \x01(\v2=.chrome.chromeos_infra.skylab.proto.inventory.DeviceUnderTestH\x00R\x03dut\x12^\n" + |
| "\n" + |
| "servo_host\x18\x02 \x01(\v2=.chrome.chromeos_infra.skylab.proto.inventory.ServoHostDeviceH\x00R\tservoHost\x12]\n" + |
| "\tchameleon\x18\x03 \x01(\v2=.chrome.chromeos_infra.skylab.proto.inventory.ChameleonDeviceH\x00R\tchameleonB\b\n" + |
| "\x06device\"\xce\x01\n" + |
| "\x0fDeviceUnderTest\x12W\n" + |
| "\x06common\x18\x01 \x02(\v2?.chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecsR\x06common\x12b\n" + |
| "\x0eremoval_reason\x18\x02 \x01(\v2;.chrome.chromeos_infra.skylab.proto.inventory.RemovalReasonR\rremovalReason\"\x84\x01\n" + |
| "\x0fServoHostDevice\x12W\n" + |
| "\x06common\x18\x01 \x02(\v2?.chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecsR\x06common\x12\x18\n" + |
| "\aversion\x18\x02 \x01(\tR\aversion\"\x9e\x05\n" + |
| "\x0fChameleonDevice\x12W\n" + |
| "\x06common\x18\x01 \x02(\v2?.chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecsR\x06common\x12\x8b\x01\n" + |
| "\x17chameleon_hardware_type\x18\x02 \x01(\x0e2S.chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice.ChameleonHardwareTypeR\x15chameleonHardwareType\x12\x91\x01\n" + |
| "\x19chameleon_connection_type\x18\x03 \x01(\x0e2U.chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice.ChameleonConnectionTypeR\x17chameleonConnectionType\"]\n" + |
| "\x15ChameleonHardwareType\x12\x15\n" + |
| "\x11CHAMELEON_TYPE_V2\x10\x01\x12\x15\n" + |
| "\x11CHAMELEON_TYPE_V3\x10\x02\x12\x16\n" + |
| "\x12CHAMELEON_TYPE_RPI\x10\x03\"\xb0\x01\n" + |
| "\x17ChameleonConnectionType\x12%\n" + |
| "!CHAMELEON_CONNECTION_TYPE_INVALID\x10\x00\x12'\n" + |
| "#CHAMELEON_CONNECTION_TYPE_AUDIOJACK\x10\x01\x12!\n" + |
| "\x1dCHAMELEON_CONNECTION_TYPE_USB\x10\x02\x12\"\n" + |
| "\x1eCHAMELEON_CONNECTION_TYPE_HDMI\x10\x03\"\xb8\x05\n" + |
| "\x11CommonDeviceSpecs\x12V\n" + |
| "\n" + |
| "attributes\x18\t \x03(\v26.chrome.chromeos_infra.skylab.proto.inventory.KeyValueR\n" + |
| "attributes\x12[\n" + |
| "\fdevice_locks\x18\x06 \x03(\v28.chrome.chromeos_infra.skylab.proto.inventory.DeviceLockR\vdeviceLocks\x12[\n" + |
| "\venvironment\x18\n" + |
| " \x01(\x0e29.chrome.chromeos_infra.skylab.proto.inventory.EnvironmentR\venvironment\x12\x1a\n" + |
| "\bhostname\x18\x02 \x02(\tR\bhostname\x12\x12\n" + |
| "\x04hwid\x18\x03 \x01(\tR\x04hwid\x12\x0e\n" + |
| "\x02id\x18\x01 \x02(\tR\x02id\x12W\n" + |
| "\x06labels\x18\b \x01(\v2?.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabelsR\x06labels\x12R\n" + |
| "\blocation\x18\x05 \x01(\v26.chrome.chromeos_infra.skylab.proto.inventory.LocationR\blocation\x12X\n" + |
| "\vowner_shard\x18\a \x01(\v23.chrome.chromeos_infra.skylab.proto.inventory.ShardB\x02\x18\x01R\n" + |
| "ownerShard\x12#\n" + |
| "\rserial_number\x18\x04 \x01(\tR\fserialNumber\x12%\n" + |
| "\x0euseless_switch\x18\v \x01(\bR\ruselessSwitch\"\x95\x01\n" + |
| "\rRemovalReason\x12\x10\n" + |
| "\x03bug\x18\x01 \x01(\tR\x03bug\x12\x18\n" + |
| "\acomment\x18\x02 \x01(\tR\acomment\x12X\n" + |
| "\vexpire_time\x18\x03 \x01(\v27.chrome.chromeos_infra.skylab.proto.inventory.TimestampR\n" + |
| "expireTime\"\x91\x01\n" + |
| "\bLocation\x12K\n" + |
| "\x03lab\x18\x01 \x02(\v29.chrome.chromeos_infra.skylab.proto.inventory.PhysicalLabR\x03lab\x12\x10\n" + |
| "\x03row\x18\x02 \x02(\x05R\x03row\x12\x12\n" + |
| "\x04rack\x18\x03 \x02(\x05R\x04rack\x12\x12\n" + |
| "\x04host\x18\x04 \x02(\x05R\x04host\"!\n" + |
| "\vPhysicalLab\x12\x12\n" + |
| "\x04name\x18\x01 \x02(\tR\x04name\"\xc1\x02\n" + |
| "\n" + |
| "DeviceLock\x12\x16\n" + |
| "\x04lock\x18\x01 \x02(\bB\x02\x18\x01R\x04lock\x12\x1b\n" + |
| "\tlocked_by\x18\x02 \x02(\tR\blockedBy\x12\x1f\n" + |
| "\vlock_reason\x18\x03 \x02(\tR\n" + |
| "lockReason\x12V\n" + |
| "\n" + |
| "begin_time\x18\x04 \x02(\v27.chrome.chromeos_infra.skylab.proto.inventory.TimestampR\tbeginTime\x12X\n" + |
| "\vexpire_time\x18\x05 \x02(\v27.chrome.chromeos_infra.skylab.proto.inventory.TimestampR\n" + |
| "expireTime\x12\x1b\n" + |
| "\alock_id\x18\x06 \x02(\x05B\x02\x18\x01R\x06lockId\x12\x0e\n" + |
| "\x02id\x18\a \x02(\tR\x02id\"#\n" + |
| "\x05Shard\x12\x1a\n" + |
| "\bhostname\x18\x01 \x02(\tR\bhostname\"\xc3\x18\n" + |
| "\x11SchedulableLabels\x12\x10\n" + |
| "\x03arc\x18\x14 \x01(\bR\x03arc\x12\x14\n" + |
| "\x05board\x18\x02 \x01(\tR\x05board\x12\x14\n" + |
| "\x05brand\x18\x1a \x01(\tR\x05brand\x12\x18\n" + |
| "\acallbox\x18& \x01(\bR\acallbox\x12f\n" + |
| "\fcapabilities\x18\x05 \x01(\v2B.chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilitiesR\fcapabilities\x12i\n" + |
| "\n" + |
| "cr50_phase\x18\x16 \x01(\x0e2J.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.CR50_PhaseR\tcr50Phase\x12\"\n" + |
| "\rcr50_ro_keyid\x18\x1c \x01(\tR\vcr50RoKeyid\x12&\n" + |
| "\x0fcr50_ro_version\x18\x1d \x01(\tR\rcr50RoVersion\x12\"\n" + |
| "\rcr50_rw_keyid\x18\x1e \x01(\tR\vcr50RwKeyid\x12&\n" + |
| "\x0fcr50_rw_version\x18\x1f \x01(\tR\rcr50RwVersion\x12n\n" + |
| "\x0ecritical_pools\x18\x03 \x03(\x0e2G.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.DUTPoolR\rcriticalPools\x12_\n" + |
| "\acts_abi\x18\x0e \x03(\x0e2F.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.CTSABIR\x06ctsAbi\x12_\n" + |
| "\acts_cpu\x18\x15 \x03(\x0e2F.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.CTSCPUR\x06ctsCpu\x12_\n" + |
| "\aec_type\x18\n" + |
| " \x01(\x0e2F.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.ECTypeR\x06ecType\x12%\n" + |
| "\x0ehwid_component\x18! \x03(\tR\rhwidComponent\x12\x19\n" + |
| "\bhwid_sku\x18\x1b \x01(\tR\ahwidSku\x12\x1c\n" + |
| "\n" + |
| "dlm_sku_id\x18( \x01(\tR\bdlmSkuId\x12Q\n" + |
| "\blicenses\x18\" \x03(\v25.chrome.chromeos_infra.skylab.proto.inventory.LicenseR\blicenses\x12\x14\n" + |
| "\x05model\x18\r \x01(\tR\x05model\x12U\n" + |
| "\tmodeminfo\x18# \x01(\v27.chrome.chromeos_infra.skylab.proto.inventory.ModemInfoR\tmodeminfo\x12\x10\n" + |
| "\x03sku\x18\x19 \x01(\tR\x03sku\x12O\n" + |
| "\asiminfo\x18$ \x03(\v25.chrome.chromeos_infra.skylab.proto.inventory.SIMInfoR\asiminfo\x12_\n" + |
| "\aos_type\x18\x0f \x01(\x0e2F.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.OSTypeR\x06osType\x12[\n" + |
| "\vperipherals\x18\x13 \x01(\v29.chrome.chromeos_infra.skylab.proto.inventory.PeripheralsR\vperipherals\x12[\n" + |
| "\x05phase\x18\x10 \x01(\x0e2E.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.PhaseR\x05phase\x12\x1a\n" + |
| "\bplatform\x18\x01 \x01(\tR\bplatform\x12.\n" + |
| "\x13racc_enabled_status\x18+ \x01(\tR\x11raccEnabledStatus\x12)\n" + |
| "\x10reference_design\x18\x18 \x01(\tR\x0freferenceDesign\x12(\n" + |
| "\x10self_serve_pools\x18\x04 \x03(\tR\x0eselfServePools\x12\x1c\n" + |
| "\tstability\x18% \x01(\bR\tstability\x12o\n" + |
| "\x13test_coverage_hints\x18\x12 \x01(\v2?.chrome.chromeos_infra.skylab.proto.inventory.TestCoverageHintsR\x11testCoverageHints\x12%\n" + |
| "\x0euseless_switch\x18\x17 \x01(\bR\ruselessSwitch\x12\x18\n" + |
| "\avariant\x18\x11 \x03(\tR\avariant\x12\x1b\n" + |
| "\twifi_chip\x18 \x01(\tR\bwifiChip\x12q\n" + |
| "\rdevboard_type\x18' \x01(\x0e2L.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.DevboardTypeR\fdevboardType\x12 \n" + |
| "\fwifi_on_site\x18) \x01(\bR\n" + |
| "wifiOnSite\x12b\n" + |
| "\bbot_size\x18* \x01(\x0e2G.chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.BotSizeR\abotSize\"O\n" + |
| "\n" + |
| "CR50_Phase\x12\x16\n" + |
| "\x12CR50_PHASE_INVALID\x10\x00\x12\x15\n" + |
| "\x11CR50_PHASE_PREPVT\x10\x01\x12\x12\n" + |
| "\x0eCR50_PHASE_PVT\x10\x02\"\xcd\x01\n" + |
| "\aDUTPool\x12\x14\n" + |
| "\x10DUT_POOL_INVALID\x10\x00\x12\x0f\n" + |
| "\vDUT_POOL_CQ\x10\x01\x12\x10\n" + |
| "\fDUT_POOL_BVT\x10\x02\x12\x13\n" + |
| "\x0fDUT_POOL_SUITES\x10\x03\x12\x10\n" + |
| "\fDUT_POOL_CTS\x10\x04\x12\x19\n" + |
| "\x15DUT_POOL_CTS_PERBUILD\x10\x05\x12\x17\n" + |
| "\x13DUT_POOL_CONTINUOUS\x10\x06\x12\x1a\n" + |
| "\x16DUT_POOL_ARC_PRESUBMIT\x10\a\x12\x12\n" + |
| "\x0eDUT_POOL_QUOTA\x10\b\"?\n" + |
| "\x06CTSABI\x12\x13\n" + |
| "\x0fCTS_ABI_INVALID\x10\x00\x12\x0f\n" + |
| "\vCTS_ABI_ARM\x10\x01\x12\x0f\n" + |
| "\vCTS_ABI_X86\x10\x02\"?\n" + |
| "\x06CTSCPU\x12\x13\n" + |
| "\x0fCTS_CPU_INVALID\x10\x00\x12\x0f\n" + |
| "\vCTS_CPU_ARM\x10\x01\x12\x0f\n" + |
| "\vCTS_CPU_X86\x10\x02\"4\n" + |
| "\x06ECType\x12\x13\n" + |
| "\x0fEC_TYPE_INVALID\x10\x00\x12\x15\n" + |
| "\x11EC_TYPE_CHROME_OS\x10\x01\"\x87\x01\n" + |
| "\x06OSType\x12\x13\n" + |
| "\x0fOS_TYPE_INVALID\x10\x00\x12\x13\n" + |
| "\x0fOS_TYPE_ANDROID\x10\x01\x12\x10\n" + |
| "\fOS_TYPE_CROS\x10\x02\x12\x15\n" + |
| "\x11OS_TYPE_JETSTREAM\x10\x03\x12\x12\n" + |
| "\x0eOS_TYPE_MOBLAB\x10\x04\x12\x16\n" + |
| "\x12OS_TYPE_LABSTATION\x10\x05\"\x95\x01\n" + |
| "\x05Phase\x12\x11\n" + |
| "\rPHASE_INVALID\x10\x00\x12\r\n" + |
| "\tPHASE_EVT\x10\x01\x12\x0e\n" + |
| "\n" + |
| "PHASE_EVT2\x10\x02\x12\r\n" + |
| "\tPHASE_DVT\x10\x03\x12\x0e\n" + |
| "\n" + |
| "PHASE_DVT2\x10\x04\x12\r\n" + |
| "\tPHASE_PVT\x10\x05\x12\x0e\n" + |
| "\n" + |
| "PHASE_PVT2\x10\x06\x12\x0e\n" + |
| "\n" + |
| "PHASE_PVT3\x10\a\x12\f\n" + |
| "\bPHASE_MP\x10\b\"3\n" + |
| "\aBotSize\x12\x14\n" + |
| "\x10BOT_SIZE_INVALID\x10\x00\x12\x12\n" + |
| "\x0eBOT_SIZE_LARGE\x10\x01\"\x82\x01\n" + |
| "\fDevboardType\x12\x19\n" + |
| "\x15DEVBOARD_TYPE_INVALID\x10\x00\x12\x1d\n" + |
| "\x19DEVBOARD_TYPE_ANDREIBOARD\x10\x01\x12\x1a\n" + |
| "\x16DEVBOARD_TYPE_ICETOWER\x10\x02\x12\x1c\n" + |
| "\x18DEVBOARD_TYPE_DRAGONCLAW\x10\x03\"\x8f\x18\n" + |
| "\x14HardwareCapabilities\x12\x14\n" + |
| "\x05atrus\x18\x11 \x01(\bR\x05atrus\x12\x1c\n" + |
| "\tbluetooth\x18\a \x01(\bR\tbluetooth\x12d\n" + |
| "\acarrier\x18\x10 \x01(\x0e2J.chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.CarrierR\acarrier\x12y\n" + |
| "\x12supported_carriers\x18) \x03(\x0e2J.chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.CarrierR\x11supportedCarriers\x12]\n" + |
| "\x03cbx\x18\x15 \x01(\x0e2K.chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.CbxStateR\x03cbx\x12q\n" + |
| "\fcbx_branding\x18\x16 \x01(\x0e2N.chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.CbxBrandingR\vcbxBranding\x122\n" + |
| "\x15starfish_slot_mapping\x18\x14 \x01(\tR\x13starfishSlotMapping\x12&\n" + |
| "\x0edetachablebase\x18\f \x01(\bR\x0edetachablebase\x12 \n" + |
| "\vfingerprint\x18\x13 \x01(\bR\vfingerprint\x12+\n" + |
| "\x11fingerprint_board\x18\x1a \x01(\tR\x10fingerprintBoard\x12'\n" + |
| "\x0ffingerprint_mcu\x18\x19 \x01(\tR\x0efingerprintMcu\x12-\n" + |
| "\x12fingerprint_sensor\x18\x1b \x01(\tR\x11fingerprintSensor\x12\x1a\n" + |
| "\bflashrom\x18\x0e \x01(\bR\bflashrom\x12e\n" + |
| "\bgsc_chip\x18\x1c \x01(\x0e2J.chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.GscChipR\agscChip\x12n\n" + |
| "\vform_factor\x18\x17 \x01(\x0e2M.chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.FormFactorR\n" + |
| "formFactor\x12\x1d\n" + |
| "\n" + |
| "gpu_family\x18\x03 \x01(\tR\tgpuFamily\x12\x15\n" + |
| "\x06gpu_id\x18\x18 \x01(\tR\x05gpuId\x12\x1a\n" + |
| "\bgraphics\x18\x04 \x01(\tR\bgraphics\x12\x1e\n" + |
| "\n" + |
| "hotwording\x18\x0f \x01(\bR\n" + |
| "hotwording\x12)\n" + |
| "\x10internal_display\x18\b \x01(\bR\x0finternalDisplay\x12\x1e\n" + |
| "\n" + |
| "lucidsleep\x18\r \x01(\bR\n" + |
| "lucidsleep\x12\x14\n" + |
| "\x05modem\x18\x01 \x01(\tR\x05modem\x12\x14\n" + |
| "\x05power\x18\x06 \x01(\tR\x05power\x12\x18\n" + |
| "\astorage\x18\x05 \x01(\tR\astorage\x12\x1c\n" + |
| "\ttelephony\x18\x02 \x01(\tR\ttelephony\x12\x16\n" + |
| "\x06webcam\x18\t \x01(\bR\x06webcam\x12\x1a\n" + |
| "\btouchpad\x18\n" + |
| " \x01(\bR\btouchpad\x12 \n" + |
| "\vtouchscreen\x18\x12 \x01(\bR\vtouchscreen\x12\x83\x01\n" + |
| "\x12video_acceleration\x18\v \x03(\x0e2T.chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.VideoAccelerationR\x11videoAcceleration\"\xf4\x04\n" + |
| "\aCarrier\x12\x13\n" + |
| "\x0fCARRIER_INVALID\x10\x00\x12\x0f\n" + |
| "\vCARRIER_ATT\x10\x01\x12\x13\n" + |
| "\x0fCARRIER_TMOBILE\x10\x02\x12\x13\n" + |
| "\x0fCARRIER_VERIZON\x10\x03\x12\x12\n" + |
| "\x0eCARRIER_SPRINT\x10\x04\x12\x14\n" + |
| "\x10CARRIER_TESTESIM\x10\x05\x12\x10\n" + |
| "\fCARRIER_ESIM\x10\x06\x12\x14\n" + |
| "\x10CARRIER_MULTISIM\x10\a\x12\x13\n" + |
| "\x0fCARRIER_ROAMSIM\x10\b\x12\x12\n" + |
| "\x0eCARRIER_DOCOMO\x10\t\x12\x14\n" + |
| "\x10CARRIER_SOFTBANK\x10\n" + |
| "\x12\x10\n" + |
| "\fCARRIER_KDDI\x10\v\x12\x13\n" + |
| "\x0fCARRIER_RAKUTEN\x10\f\x12\x14\n" + |
| "\x10CARRIER_VODAFONE\x10\r\x12\x0e\n" + |
| "\n" + |
| "CARRIER_EE\x10\x0e\x12\x15\n" + |
| "\x11CARRIER_AMARISOFT\x10\x0f\x12\x11\n" + |
| "\rCARRIER_ROGER\x10\x10\x12\x10\n" + |
| "\fCARRIER_BELL\x10\x11\x12\x11\n" + |
| "\rCARRIER_TELUS\x10\x12\x12\x14\n" + |
| "\x10CARRIER_STARFISH\x10\x13\x12\x18\n" + |
| "\x14CARRIER_STARFISHPLUS\x10\x14\x12\x13\n" + |
| "\x0fCARRIER_PINLOCK\x10\x15\x12\x0e\n" + |
| "\n" + |
| "CARRIER_FI\x10\x16\x12\x12\n" + |
| "\x0eCARRIER_CMW500\x10\x17\x12\x12\n" + |
| "\x0eCARRIER_CMX500\x10\x18\x12\x0f\n" + |
| "\vCARRIER_RAK\x10\x19\x12\x10\n" + |
| "\fCARRIER_CBRS\x10\x1a\x12\x12\n" + |
| "\x0eCARRIER_LINEMO\x10\x1b\x12\x10\n" + |
| "\fCARRIER_POVO\x10\x1c\x12\x13\n" + |
| "\x0fCARRIER_HANSHIN\x10\x1d\x12\x11\n" + |
| "\rCARRIER_AHAMO\x10\x1e\"N\n" + |
| "\bCbxState\x12\x19\n" + |
| "\x15CBX_STATE_UNSPECIFIED\x10\x00\x12\x12\n" + |
| "\x0eCBX_STATE_TRUE\x10\x01\x12\x13\n" + |
| "\x0fCBX_STATE_FALSE\x10\x02\"k\n" + |
| "\vCbxBranding\x12\x1c\n" + |
| "\x18CBX_BRANDING_UNSPECIFIED\x10\x00\x12\x1e\n" + |
| "\x1aCBX_BRANDING_SOFT_BRANDING\x10\x01\x12\x1e\n" + |
| "\x1aCBX_BRANDING_HARD_BRANDING\x10\x02\"R\n" + |
| "\aGscChip\x12\x14\n" + |
| "\x10GSC_CHIP_UNKNOWN\x10\x00\x12\x0f\n" + |
| "\vGSC_CHIP_H1\x10\x01\x12\x0f\n" + |
| "\vGSC_CHIP_DT\x10\x02\x12\x0f\n" + |
| "\vGSC_CHIP_NT\x10\x03\"\xec\x01\n" + |
| "\n" + |
| "FormFactor\x12\x1b\n" + |
| "\x17FORM_FACTOR_UNSPECIFIED\x10\x00\x12\x19\n" + |
| "\x15FORM_FACTOR_CLAMSHELL\x10\x01\x12\x1b\n" + |
| "\x17FORM_FACTOR_CONVERTIBLE\x10\x02\x12\x1a\n" + |
| "\x16FORM_FACTOR_DETACHABLE\x10\x03\x12\x1a\n" + |
| "\x16FORM_FACTOR_CHROMEBASE\x10\x04\x12\x19\n" + |
| "\x15FORM_FACTOR_CHROMEBOX\x10\x05\x12\x19\n" + |
| "\x15FORM_FACTOR_CHROMEBIT\x10\x06\x12\x1b\n" + |
| "\x17FORM_FACTOR_CHROMESLATE\x10\a\"\xa5\x03\n" + |
| "\x11VideoAcceleration\x12\x1e\n" + |
| "\x1aVIDEO_ACCELERATION_INVALID\x10\x00\x12\x1b\n" + |
| "\x17VIDEO_ACCELERATION_H264\x10\x01\x12\x1f\n" + |
| "\x1bVIDEO_ACCELERATION_ENC_H264\x10\x02\x12\x1a\n" + |
| "\x16VIDEO_ACCELERATION_VP8\x10\x03\x12\x1e\n" + |
| "\x1aVIDEO_ACCELERATION_ENC_VP8\x10\x04\x12\x1a\n" + |
| "\x16VIDEO_ACCELERATION_VP9\x10\x05\x12\x1e\n" + |
| "\x1aVIDEO_ACCELERATION_ENC_VP9\x10\x06\x12\x1c\n" + |
| "\x18VIDEO_ACCELERATION_VP9_2\x10\a\x12 \n" + |
| "\x1cVIDEO_ACCELERATION_ENC_VP9_2\x10\b\x12\x1b\n" + |
| "\x17VIDEO_ACCELERATION_H265\x10\t\x12\x1f\n" + |
| "\x1bVIDEO_ACCELERATION_ENC_H265\x10\n" + |
| "\x12\x1b\n" + |
| "\x17VIDEO_ACCELERATION_MJPG\x10\v\x12\x1f\n" + |
| "\x1bVIDEO_ACCELERATION_ENC_MJPG\x10\f\"\xc8/\n" + |
| "\vPeripherals\x12\x1f\n" + |
| "\vaudio_board\x18\x06 \x01(\bR\n" + |
| "audioBoard\x12\x1b\n" + |
| "\taudio_box\x18\a \x01(\bR\baudioBox\x12\x1f\n" + |
| "\vaudio_cable\x18\x17 \x01(\bR\n" + |
| "audioCable\x122\n" + |
| "\x15audio_loopback_dongle\x18\x01 \x01(\bR\x13audioLoopbackDongle\x12\x1c\n" + |
| "\tchameleon\x18\x05 \x01(\bR\tchameleon\x12j\n" + |
| "\x11chameleon_devices\x18< \x03(\v2=.chrome.chromeos_infra.skylab.proto.inventory.ChameleonDeviceR\x10chameleonDevices\x12n\n" + |
| "\x0echameleon_type\x18\n" + |
| " \x03(\x0e2G.chrome.chromeos_infra.skylab.proto.inventory.Peripherals.ChameleonTypeR\rchameleonType\x12\x8f\x01\n" + |
| "\x1achameleon_connection_types\x18- \x03(\x0e2Q.chrome.chromeos_infra.skylab.proto.inventory.Peripherals.ChameleonConnectionTypeR\x18chameleonConnectionTypes\x12f\n" + |
| "\x0fchameleon_state\x18! \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\x0echameleonState\x12\x8b\x01\n" + |
| "\x1aaudiobox_jackplugger_state\x18# \x01(\x0e2M.chrome.chromeos_infra.skylab.proto.inventory.Peripherals.AudioBoxJackPluggerR\x18audioboxJackpluggerState\x12_\n" + |
| "\ttrrs_type\x18* \x01(\x0e2B.chrome.chromeos_infra.skylab.proto.inventory.Peripherals.TRRSTypeR\btrrsType\x12\x1e\n" + |
| "\n" + |
| "conductive\x18\v \x01(\bR\n" + |
| "conductive\x12\x16\n" + |
| "\x06huddly\x18\t \x01(\bR\x06huddly\x12\x12\n" + |
| "\x04mimo\x18\b \x01(\bR\x04mimo\x12\x18\n" + |
| "\aptzpro2\x18\f \x01(\bR\aptzpro2\x12\x14\n" + |
| "\x05servo\x18\x02 \x01(\bR\x05servo\x12'\n" + |
| "\x0fservo_component\x18\x1e \x03(\tR\x0eservoComponent\x12^\n" + |
| "\vservo_state\x18\x0f \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\n" + |
| "servoState\x12\x1d\n" + |
| "\n" + |
| "servo_type\x18\x11 \x01(\tR\tservoType\x12b\n" + |
| "\x0eservo_topology\x18\x18 \x01(\v2;.chrome.chromeos_infra.skylab.proto.inventory.ServoTopologyR\rservoTopology\x12f\n" + |
| "\x10servo_fw_channel\x18\x1b \x01(\x0e2<.chrome.chromeos_infra.skylab.proto.inventory.ServoFwChannelR\x0eservoFwChannel\x12!\n" + |
| "\fsmart_usbhub\x18\x15 \x01(\bR\vsmartUsbhub\x12\x16\n" + |
| "\x06stylus\x18\x03 \x01(\bR\x06stylus\x12\x1c\n" + |
| "\tcamerabox\x18\r \x01(\bR\tcamerabox\x12\x1a\n" + |
| "\bwificell\x18\x04 \x01(\bR\bwificell\x12&\n" + |
| "\x0frouter_802_11ax\x18\x0e \x01(\bR\rrouter80211ax\x128\n" + |
| "\x18working_bluetooth_btpeer\x18\x10 \x01(\x05R\x16workingBluetoothBtpeer\x12t\n" + |
| "\x10camerabox_facing\x18\x12 \x01(\x0e2I.chrome.chromeos_infra.skylab.proto.inventory.Peripherals.CameraboxFacingR\x0fcameraboxFacing\x12q\n" + |
| "\x0fcamerabox_light\x18\x16 \x01(\x0e2H.chrome.chromeos_infra.skylab.proto.inventory.Peripherals.CameraboxLightR\x0ecameraboxLight\x12`\n" + |
| "\rstorage_state\x18\x13 \x01(\x0e2;.chrome.chromeos_infra.skylab.proto.inventory.HardwareStateR\fstorageState\x12c\n" + |
| "\x0fservo_usb_state\x18\x14 \x01(\x0e2;.chrome.chromeos_infra.skylab.proto.inventory.HardwareStateR\rservoUsbState\x12`\n" + |
| "\rbattery_state\x18\x1a \x01(\x0e2;.chrome.chromeos_infra.skylab.proto.inventory.HardwareStateR\fbatteryState\x12Z\n" + |
| "\n" + |
| "wifi_state\x18\x1c \x01(\x0e2;.chrome.chromeos_infra.skylab.proto.inventory.HardwareStateR\twifiState\x12d\n" + |
| "\x0fbluetooth_state\x18\x1d \x01(\x0e2;.chrome.chromeos_infra.skylab.proto.inventory.HardwareStateR\x0ebluetoothState\x12m\n" + |
| "\x14cellular_modem_state\x18\" \x01(\x0e2;.chrome.chromeos_infra.skylab.proto.inventory.HardwareStateR\x12cellularModemState\x12d\n" + |
| "\x0estarfish_state\x18. \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\rstarfishState\x12Z\n" + |
| "\tsim_state\x180 \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\bsimState\x12!\n" + |
| "\fworking_sims\x181 \x01(\x05R\vworkingSims\x12Z\n" + |
| "\trpm_state\x18\x19 \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\brpmState\x12^\n" + |
| "\vpasit_state\x189 \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\n" + |
| "pasitState\x12%\n" + |
| "\x0econnected_port\x18: \x03(\tR\rconnectedPort\x12u\n" + |
| "\x17peripheral_btpeer_state\x18, \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\x15peripheralBtpeerState\x12q\n" + |
| "\x15peripheral_wifi_state\x18\x1f \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\x13peripheralWifiState\x12}\n" + |
| "\x14wifi_router_features\x18( \x03(\x0e2K.chrome.chromeos_infra.skylab.proto.inventory.Peripherals.WifiRouterFeatureR\x12wifiRouterFeatures\x12,\n" + |
| "\x12wifi_router_models\x18) \x03(\tR\x10wifiRouterModels\x12Z\n" + |
| "\thmr_state\x18$ \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\bhmrState\x12\x19\n" + |
| "\bhmr_walt\x186 \x01(\bR\ahmrWalt\x12i\n" + |
| "\rhmr_tool_type\x187 \x01(\x0e2E.chrome.chromeos_infra.skylab.proto.inventory.Peripherals.HMRToolTypeR\vhmrToolType\x12Y\n" + |
| "\ahmr_gen\x188 \x01(\x0e2@.chrome.chromeos_infra.skylab.proto.inventory.Peripherals.HMRGenR\x06hmrGen\x12|\n" + |
| "\x1baudio_latency_toolkit_state\x18+ \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\x18audioLatencyToolkitState\x12)\n" + |
| "\x10pasit_components\x18/ \x03(\tR\x0fpasitComponents\x12i\n" + |
| "\x11amt_manager_state\x182 \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.PeripheralStateR\x0famtManagerState\x12+\n" + |
| "\x11audio_beamforming\x183 \x01(\tR\x10audioBeamforming\x12^\n" + |
| "\fcamera_state\x184 \x01(\x0e2;.chrome.chromeos_infra.skylab.proto.inventory.HardwareStateR\vcameraState\x12g\n" + |
| "\fsim_features\x185 \x03(\x0e2D.chrome.chromeos_infra.skylab.proto.inventory.Peripherals.SIMFeatureR\vsimFeatures\x12,\n" + |
| "\x12working_bes_boards\x18; \x01(\x05R\x10workingBesBoards\x120\n" + |
| "\x14wificell_rpm_present\x18= \x01(\bR\x12wificellRpmPresent\"\xe9\x01\n" + |
| "\rChameleonType\x12\x1a\n" + |
| "\x16CHAMELEON_TYPE_INVALID\x10\x00\x12\x15\n" + |
| "\x11CHAMELEON_TYPE_DP\x10\x02\x12\x1e\n" + |
| "\x16CHAMELEON_TYPE_DP_HDMI\x10\x03\x1a\x02\b\x01\x12\x1a\n" + |
| "\x12CHAMELEON_TYPE_VGA\x10\x04\x1a\x02\b\x01\x12\x17\n" + |
| "\x13CHAMELEON_TYPE_HDMI\x10\x05\x12\x15\n" + |
| "\x11CHAMELEON_TYPE_V2\x10\t\x12\x15\n" + |
| "\x11CHAMELEON_TYPE_V3\x10\n" + |
| "\x12\x16\n" + |
| "\x12CHAMELEON_TYPE_RPI\x10\v\"\x04\b\x01\x10\x01\"\x04\b\x06\x10\b\"\xd2\x01\n" + |
| "\x17ChameleonConnectionType\x12%\n" + |
| "!CHAMELEON_CONNECTION_TYPE_INVALID\x10\x00\x12'\n" + |
| "#CHAMELEON_CONNECTION_TYPE_AUDIOJACK\x10\x01\x12!\n" + |
| "\x1dCHAMELEON_CONNECTION_TYPE_USB\x10\x02\x12\"\n" + |
| "\x1eCHAMELEON_CONNECTION_TYPE_HDMI\x10\x03\x12 \n" + |
| "\x1cCHAMELEON_CONNECTION_TYPE_DP\x10\x04\"\xa7\x01\n" + |
| "\x13AudioBoxJackPlugger\x12$\n" + |
| " AUDIOBOX_JACKPLUGGER_UNSPECIFIED\x10\x00\x12 \n" + |
| "\x1cAUDIOBOX_JACKPLUGGER_WORKING\x10\x01\x12\x1f\n" + |
| "\x1bAUDIOBOX_JACKPLUGGER_BROKEN\x10\x02\x12'\n" + |
| "#AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE\x10\x03\"M\n" + |
| "\bTRRSType\x12\x19\n" + |
| "\x15TRRS_TYPE_UNSPECIFIED\x10\x00\x12\x12\n" + |
| "\x0eTRRS_TYPE_CTIA\x10\x01\x12\x12\n" + |
| "\x0eTRRS_TYPE_OMTP\x10\x02\"\x85\x01\n" + |
| "\x0fCameraboxFacing\x12\x1c\n" + |
| "\x18CAMERABOX_FACING_UNKNOWN\x10\x00\x12\x19\n" + |
| "\x15CAMERABOX_FACING_BACK\x10\x01\x12\x1a\n" + |
| "\x16CAMERABOX_FACING_FRONT\x10\x02\x12\x1d\n" + |
| "\x19CAMERABOX_FACING_NOCAMERA\x10\x03\"a\n" + |
| "\x0eCameraboxLight\x12\x1b\n" + |
| "\x17CAMERABOX_LIGHT_UNKNOWN\x10\x00\x12\x17\n" + |
| "\x13CAMERABOX_LIGHT_LED\x10\x01\x12\x19\n" + |
| "\x15CAMERABOX_LIGHT_NOLED\x10\x02\"\xdc\x04\n" + |
| "\x11WifiRouterFeature\x12\x1f\n" + |
| "\x1bWIFI_ROUTER_FEATURE_UNKNOWN\x10\x00\x12\x1f\n" + |
| "\x1bWIFI_ROUTER_FEATURE_INVALID\x10\x01\x12%\n" + |
| "!WIFI_ROUTER_FEATURE_IEEE_802_11_A\x10\x02\x12%\n" + |
| "!WIFI_ROUTER_FEATURE_IEEE_802_11_B\x10\x03\x12%\n" + |
| "!WIFI_ROUTER_FEATURE_IEEE_802_11_G\x10\x04\x12%\n" + |
| "!WIFI_ROUTER_FEATURE_IEEE_802_11_N\x10\x05\x12&\n" + |
| "\"WIFI_ROUTER_FEATURE_IEEE_802_11_AC\x10\x06\x12&\n" + |
| "\"WIFI_ROUTER_FEATURE_IEEE_802_11_AX\x10\a\x12(\n" + |
| "$WIFI_ROUTER_FEATURE_IEEE_802_11_AX_E\x10\b\x12&\n" + |
| "\"WIFI_ROUTER_FEATURE_IEEE_802_11_BE\x10\t\x12/\n" + |
| "+WIFI_ROUTER_FEATURE_DOUBLE_BRIDGE_OVER_VETH\x10\n" + |
| "\x12\x1c\n" + |
| "\x18WIFI_ROUTER_FEATURE_GCMP\x10\v\x12#\n" + |
| "\x1fWIFI_ROUTER_FEATURE_SAE_EXT_KEY\x10\f\x12)\n" + |
| "%WIFI_ROUTER_FEATURE_NOT_U6PLUS_ROUTER\x10\r\x12(\n" + |
| "$WIFI_ROUTER_FEATURE_U6PLUS_OR_U6LITE\x10\x0e\"a\n" + |
| "\vHMRToolType\x12\x19\n" + |
| "\x15HMR_TOOL_TYPE_UNKNOWN\x10\x00\x12\x18\n" + |
| "\x14HMR_TOOL_TYPE_STYLUS\x10\x01\x12\x1d\n" + |
| "\x19HMR_TOOL_TYPE_FAKE_FINGER\x10\x02\";\n" + |
| "\x06HMRGen\x12\x13\n" + |
| "\x0fHMR_GEN_UNKNOWN\x10\x00\x12\r\n" + |
| "\tHMR_GEN_1\x10\x01\x12\r\n" + |
| "\tHMR_GEN_2\x10\x02\"\x88\x01\n" + |
| "\n" + |
| "SIMFeature\x12\x1b\n" + |
| "\x17SIM_FEATURE_UNSPECIFIED\x10\x00\x12\x1c\n" + |
| "\x18SIM_FEATURE_LIVE_NETWORK\x10\x01\x12\x13\n" + |
| "\x0fSIM_FEATURE_SMS\x10\x02\x12\x14\n" + |
| "\x10SIM_FEATURE_ESIM\x10\x03\x12\x14\n" + |
| "\x10SIM_FEATURE_PSIM\x10\x04J\x04\b \x10!\"\xc1\x01\n" + |
| "\rServoTopology\x12S\n" + |
| "\x04main\x18\x01 \x01(\v2?.chrome.chromeos_infra.skylab.proto.inventory.ServoTopologyItemR\x04main\x12[\n" + |
| "\bchildren\x18\x02 \x03(\v2?.chrome.chromeos_infra.skylab.proto.inventory.ServoTopologyItemR\bchildren\"\xdd\x01\n" + |
| "\x11ServoTopologyItem\x12\x12\n" + |
| "\x04type\x18\x01 \x01(\tR\x04type\x12#\n" + |
| "\rsysfs_product\x18\x02 \x01(\tR\fsysfsProduct\x12\x16\n" + |
| "\x06serial\x18\x03 \x01(\tR\x06serial\x12 \n" + |
| "\fusb_hub_port\x18\x04 \x01(\tR\n" + |
| "usbHubPort\x12\x1d\n" + |
| "\n" + |
| "fw_version\x18\x05 \x01(\tR\tfwVersion\x12\x1d\n" + |
| "\n" + |
| "sysfs_path\x18\x06 \x01(\tR\tsysfsPath\x12\x17\n" + |
| "\avid_pid\x18\a \x01(\tR\x06vidPid\"\xf1\x04\n" + |
| "\x11TestCoverageHints\x12\x1b\n" + |
| "\tchaos_dut\x18\a \x01(\bR\bchaosDut\x12#\n" + |
| "\rchaos_nightly\x18\r \x01(\bR\fchaosNightly\x12\x1e\n" + |
| "\n" + |
| "chromesign\x18\v \x01(\bR\n" + |
| "chromesign\x12h\n" + |
| "\n" + |
| "cts_sparse\x18\x01 \x03(\x0e2I.chrome.chromeos_infra.skylab.proto.inventory.TestCoverageHints.CTSSparseR\tctsSparse\x12\x1f\n" + |
| "\vhangout_app\x18\t \x01(\bR\n" + |
| "hangoutApp\x12\x19\n" + |
| "\bmeet_app\x18\n" + |
| " \x01(\bR\ameetApp\x12#\n" + |
| "\rrecovery_test\x18\b \x01(\bR\frecoveryTest\x12%\n" + |
| "\x0etest_audiojack\x18\x03 \x01(\bR\rtestAudiojack\x12%\n" + |
| "\x0etest_hdmiaudio\x18\x02 \x01(\bR\rtestHdmiaudio\x12#\n" + |
| "\rtest_usbaudio\x18\x04 \x01(\bR\ftestUsbaudio\x12)\n" + |
| "\x10test_usbprinting\x18\x05 \x01(\bR\x0ftestUsbprinting\x12\x1d\n" + |
| "\n" + |
| "usb_detect\x18\x06 \x01(\bR\tusbDetect\x12\x17\n" + |
| "\ause_lid\x18\f \x01(\bR\x06useLid\"Y\n" + |
| "\tCTSSparse\x12\x16\n" + |
| "\x12CTS_SPARSE_INVALID\x10\x00\x12\x10\n" + |
| "\fCTS_SPARSE_2\x10\x01\x12\x10\n" + |
| "\fCTS_SPARSE_3\x10\x02\x12\x10\n" + |
| "\fCTS_SPARSE_5\x10\x03\"2\n" + |
| "\bKeyValue\x12\x10\n" + |
| "\x03key\x18\x01 \x02(\tR\x03key\x12\x14\n" + |
| "\x05value\x18\x02 \x01(\tR\x05value\"x\n" + |
| "\aLicense\x12M\n" + |
| "\x04type\x18\x01 \x01(\x0e29.chrome.chromeos_infra.skylab.proto.inventory.LicenseTypeR\x04type\x12\x1e\n" + |
| "\n" + |
| "identifier\x18\x02 \x01(\tR\n" + |
| "identifier\"\xd7\x01\n" + |
| "\tModemInfo\x12K\n" + |
| "\x04type\x18\x01 \x01(\x0e27.chrome.chromeos_infra.skylab.proto.inventory.ModemTypeR\x04type\x12\x12\n" + |
| "\x04imei\x18\x02 \x01(\tR\x04imei\x12'\n" + |
| "\x0fsupported_bands\x18\x03 \x01(\tR\x0esupportedBands\x12\x1b\n" + |
| "\tsim_count\x18\x04 \x01(\x05R\bsimCount\x12#\n" + |
| "\rmodel_variant\x18\x05 \x01(\tR\fmodelVariant\"\xfd\x01\n" + |
| "\aSIMInfo\x12\x17\n" + |
| "\aslot_id\x18\x01 \x01(\x05R\x06slotId\x12I\n" + |
| "\x04type\x18\x02 \x01(\x0e25.chrome.chromeos_infra.skylab.proto.inventory.SIMTypeR\x04type\x12\x10\n" + |
| "\x03eid\x18\x03 \x01(\tR\x03eid\x12\x1b\n" + |
| "\ttest_esim\x18\x04 \x01(\bR\btestEsim\x12_\n" + |
| "\fprofile_info\x18\x05 \x03(\v2<.chrome.chromeos_infra.skylab.proto.inventory.SIMProfileInfoR\vprofileInfo\"\xd9\x01\n" + |
| "\x0eSIMProfileInfo\x12\x14\n" + |
| "\x05iccid\x18\x01 \x01(\tR\x05iccid\x12\x17\n" + |
| "\asim_pin\x18\x02 \x01(\tR\x06simPin\x12\x17\n" + |
| "\asim_puk\x18\x03 \x01(\tR\x06simPuk\x12`\n" + |
| "\fcarrier_name\x18\x04 \x01(\x0e2=.chrome.chromeos_infra.skylab.proto.inventory.NetworkProviderR\vcarrierName\x12\x1d\n" + |
| "\n" + |
| "own_number\x18\x05 \x01(\tR\townNumber*^\n" + |
| "\x0eServoFwChannel\x12\x13\n" + |
| "\x0fSERVO_FW_STABLE\x10\x00\x12\x11\n" + |
| "\rSERVO_FW_PREV\x10\x01\x12\x10\n" + |
| "\fSERVO_FW_DEV\x10\x02\x12\x12\n" + |
| "\x0eSERVO_FW_ALPHA\x10\x03*\xf1\x04\n" + |
| "\x0fPeripheralState\x12\v\n" + |
| "\aUNKNOWN\x10\x00\x12\v\n" + |
| "\aWORKING\x10\x01\x12\x12\n" + |
| "\x0eMISSING_CONFIG\x10\x05\x12\x10\n" + |
| "\fWRONG_CONFIG\x10\x04\x12\x11\n" + |
| "\rNOT_CONNECTED\x10\x02\x12\n" + |
| "\n" + |
| "\x06NO_SSH\x10\x06\x12\n" + |
| "\n" + |
| "\x06BROKEN\x10\x03\x12\x14\n" + |
| "\x10NEED_REPLACEMENT\x10\a\x12\x18\n" + |
| "\x14CR50_CONSOLE_MISSING\x10\r\x12\x15\n" + |
| "\x11CCD_TESTLAB_ISSUE\x10\b\x12\x10\n" + |
| "\fSERVOD_ISSUE\x10\t\x12\x13\n" + |
| "\x0fLID_OPEN_FAILED\x10\n" + |
| "\x12\x14\n" + |
| "\x10BAD_RIBBON_CABLE\x10\v\x12\r\n" + |
| "\tEC_BROKEN\x10\f\x12\x15\n" + |
| "\x11DUT_NOT_CONNECTED\x10\x0e\x12\x12\n" + |
| "\x0eTOPOLOGY_ISSUE\x10\x0f\x12\x13\n" + |
| "\x0fSBU_LOW_VOLTAGE\x10\x10\x12\x17\n" + |
| "\x13CR50_NOT_ENUMERATED\x10\x11\x12\x19\n" + |
| "\x15SERVO_SERIAL_MISMATCH\x10\x12\x12\x16\n" + |
| "\x12SERVOD_PROXY_ISSUE\x10\x13\x12\x14\n" + |
| "\x10SERVO_HOST_ISSUE\x10\x14\x12\x17\n" + |
| "\x13SERVO_UPDATER_ISSUE\x10\x15\x12!\n" + |
| "\x1dSERVOD_DUT_CONTROLLER_MISSING\x10\x16\x12\x18\n" + |
| "\x14COLD_RESET_PIN_ISSUE\x10\x17\x12\x18\n" + |
| "\x14WARM_RESET_PIN_ISSUE\x10\x18\x12\x1a\n" + |
| "\x16POWER_BUTTON_PIN_ISSUE\x10\x19\x12\x12\n" + |
| "\x0eNOT_APPLICABLE\x10\x1a\x12\x1e\n" + |
| "\x1aDEBUG_HEADER_SERVO_MISSING\x10\x1b*\x8d\x01\n" + |
| "\rHardwareState\x12\x14\n" + |
| "\x10HARDWARE_UNKNOWN\x10\x00\x12\x13\n" + |
| "\x0fHARDWARE_NORMAL\x10\x01\x12\x17\n" + |
| "\x13HARDWARE_ACCEPTABLE\x10\x02\x12\x1d\n" + |
| "\x19HARDWARE_NEED_REPLACEMENT\x10\x03\x12\x19\n" + |
| "\x15HARDWARE_NOT_DETECTED\x10\x04*q\n" + |
| "\vLicenseType\x12\x1c\n" + |
| "\x18LICENSE_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n" + |
| "\x1bLICENSE_TYPE_WINDOWS_10_PRO\x10\x01\x12#\n" + |
| "\x1fLICENSE_TYPE_MS_OFFICE_STANDARD\x10\x02*\xd4\x02\n" + |
| "\tModemType\x12\x1a\n" + |
| "\x16MODEM_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n" + |
| "\x16MODEM_TYPE_UNSUPPORTED\x10\b\x12\x1e\n" + |
| "\x1aMODEM_TYPE_QUALCOMM_SC7180\x10\x01\x12\x1e\n" + |
| "\x1aMODEM_TYPE_FIBOCOMM_L850GL\x10\x02\x12\x14\n" + |
| "\x10MODEM_TYPE_NL668\x10\x03\x12\x14\n" + |
| "\x10MODEM_TYPE_FM350\x10\x04\x12\x14\n" + |
| "\x10MODEM_TYPE_FM101\x10\x05\x12\x1e\n" + |
| "\x1aMODEM_TYPE_QUALCOMM_SC7280\x10\x06\x12\x14\n" + |
| "\x10MODEM_TYPE_EM060\x10\a\x12\x14\n" + |
| "\x10MODEM_TYPE_RW101\x10\t\x12\x14\n" + |
| "\x10MODEM_TYPE_RW135\x10\n" + |
| "\x12\x15\n" + |
| "\x11MODEM_TYPE_LCUK54\x10\v\x12\x14\n" + |
| "\x10MODEM_TYPE_RW350\x10\f*\xd6\x03\n" + |
| "\x0fNetworkProvider\x12\x11\n" + |
| "\rNETWORK_OTHER\x10\x00\x12\x17\n" + |
| "\x13NETWORK_UNSUPPORTED\x10\x05\x12\x10\n" + |
| "\fNETWORK_TEST\x10\x01\x12\x0f\n" + |
| "\vNETWORK_ATT\x10\x02\x12\x13\n" + |
| "\x0fNETWORK_TMOBILE\x10\x03\x12\x13\n" + |
| "\x0fNETWORK_VERIZON\x10\x04\x12\x12\n" + |
| "\x0eNETWORK_SPRINT\x10\x06\x12\x12\n" + |
| "\x0eNETWORK_DOCOMO\x10\a\x12\x14\n" + |
| "\x10NETWORK_SOFTBANK\x10\b\x12\x10\n" + |
| "\fNETWORK_KDDI\x10\t\x12\x13\n" + |
| "\x0fNETWORK_RAKUTEN\x10\n" + |
| "\x12\x14\n" + |
| "\x10NETWORK_VODAFONE\x10\v\x12\x0e\n" + |
| "\n" + |
| "NETWORK_EE\x10\f\x12\x15\n" + |
| "\x11NETWORK_AMARISOFT\x10\r\x12\x11\n" + |
| "\rNETWORK_ROGER\x10\x0e\x12\x10\n" + |
| "\fNETWORK_BELL\x10\x0f\x12\x11\n" + |
| "\rNETWORK_TELUS\x10\x10\x12\x0e\n" + |
| "\n" + |
| "NETWORK_FI\x10\x11\x12\x10\n" + |
| "\fNETWORK_CBRS\x10\x12\x12\x12\n" + |
| "\x0eNETWORK_LINEMO\x10\x13\x12\x10\n" + |
| "\fNETWORK_POVO\x10\x14\x12\x13\n" + |
| "\x0fNETWORK_HANSHIN\x10\x15\x12\x13\n" + |
| "\x0fNETWORK_ROAMSIM\x10\x16*=\n" + |
| "\aSIMType\x12\x0f\n" + |
| "\vSIM_UNKNOWN\x10\x00\x12\x10\n" + |
| "\fSIM_PHYSICAL\x10\x01\x12\x0f\n" + |
| "\vSIM_DIGITAL\x10\x02B7Z5go.chromium.org/infra/libs/skylab/inventory;inventory" |
| |
| var ( |
| file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescOnce sync.Once |
| file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescData []byte |
| ) |
| |
| func file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescGZIP() []byte { |
| file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescOnce.Do(func() { |
| file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDesc), len(file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDesc))) |
| }) |
| return file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDescData |
| } |
| |
| var file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes = make([]protoimpl.EnumInfo, 35) |
| var file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes = make([]protoimpl.MessageInfo, 21) |
| var file_go_chromium_org_infra_libs_skylab_inventory_device_proto_goTypes = []any{ |
| (ServoFwChannel)(0), // 0: chrome.chromeos_infra.skylab.proto.inventory.ServoFwChannel |
| (PeripheralState)(0), // 1: chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| (HardwareState)(0), // 2: chrome.chromeos_infra.skylab.proto.inventory.HardwareState |
| (LicenseType)(0), // 3: chrome.chromeos_infra.skylab.proto.inventory.LicenseType |
| (ModemType)(0), // 4: chrome.chromeos_infra.skylab.proto.inventory.ModemType |
| (NetworkProvider)(0), // 5: chrome.chromeos_infra.skylab.proto.inventory.NetworkProvider |
| (SIMType)(0), // 6: chrome.chromeos_infra.skylab.proto.inventory.SIMType |
| (ChameleonDevice_ChameleonHardwareType)(0), // 7: chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice.ChameleonHardwareType |
| (ChameleonDevice_ChameleonConnectionType)(0), // 8: chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice.ChameleonConnectionType |
| (SchedulableLabels_CR50_Phase)(0), // 9: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.CR50_Phase |
| (SchedulableLabels_DUTPool)(0), // 10: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.DUTPool |
| (SchedulableLabels_CTSABI)(0), // 11: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.CTSABI |
| (SchedulableLabels_CTSCPU)(0), // 12: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.CTSCPU |
| (SchedulableLabels_ECType)(0), // 13: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.ECType |
| (SchedulableLabels_OSType)(0), // 14: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.OSType |
| (SchedulableLabels_Phase)(0), // 15: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.Phase |
| (SchedulableLabels_BotSize)(0), // 16: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.BotSize |
| (SchedulableLabels_DevboardType)(0), // 17: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.DevboardType |
| (HardwareCapabilities_Carrier)(0), // 18: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.Carrier |
| (HardwareCapabilities_CbxState)(0), // 19: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.CbxState |
| (HardwareCapabilities_CbxBranding)(0), // 20: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.CbxBranding |
| (HardwareCapabilities_GscChip)(0), // 21: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.GscChip |
| (HardwareCapabilities_FormFactor)(0), // 22: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.FormFactor |
| (HardwareCapabilities_VideoAcceleration)(0), // 23: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.VideoAcceleration |
| (Peripherals_ChameleonType)(0), // 24: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.ChameleonType |
| (Peripherals_ChameleonConnectionType)(0), // 25: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.ChameleonConnectionType |
| (Peripherals_AudioBoxJackPlugger)(0), // 26: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.AudioBoxJackPlugger |
| (Peripherals_TRRSType)(0), // 27: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.TRRSType |
| (Peripherals_CameraboxFacing)(0), // 28: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.CameraboxFacing |
| (Peripherals_CameraboxLight)(0), // 29: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.CameraboxLight |
| (Peripherals_WifiRouterFeature)(0), // 30: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.WifiRouterFeature |
| (Peripherals_HMRToolType)(0), // 31: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.HMRToolType |
| (Peripherals_HMRGen)(0), // 32: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.HMRGen |
| (Peripherals_SIMFeature)(0), // 33: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.SIMFeature |
| (TestCoverageHints_CTSSparse)(0), // 34: chrome.chromeos_infra.skylab.proto.inventory.TestCoverageHints.CTSSparse |
| (*Device)(nil), // 35: chrome.chromeos_infra.skylab.proto.inventory.Device |
| (*DeviceUnderTest)(nil), // 36: chrome.chromeos_infra.skylab.proto.inventory.DeviceUnderTest |
| (*ServoHostDevice)(nil), // 37: chrome.chromeos_infra.skylab.proto.inventory.ServoHostDevice |
| (*ChameleonDevice)(nil), // 38: chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice |
| (*CommonDeviceSpecs)(nil), // 39: chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs |
| (*RemovalReason)(nil), // 40: chrome.chromeos_infra.skylab.proto.inventory.RemovalReason |
| (*Location)(nil), // 41: chrome.chromeos_infra.skylab.proto.inventory.Location |
| (*PhysicalLab)(nil), // 42: chrome.chromeos_infra.skylab.proto.inventory.PhysicalLab |
| (*DeviceLock)(nil), // 43: chrome.chromeos_infra.skylab.proto.inventory.DeviceLock |
| (*Shard)(nil), // 44: chrome.chromeos_infra.skylab.proto.inventory.Shard |
| (*SchedulableLabels)(nil), // 45: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels |
| (*HardwareCapabilities)(nil), // 46: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities |
| (*Peripherals)(nil), // 47: chrome.chromeos_infra.skylab.proto.inventory.Peripherals |
| (*ServoTopology)(nil), // 48: chrome.chromeos_infra.skylab.proto.inventory.ServoTopology |
| (*ServoTopologyItem)(nil), // 49: chrome.chromeos_infra.skylab.proto.inventory.ServoTopologyItem |
| (*TestCoverageHints)(nil), // 50: chrome.chromeos_infra.skylab.proto.inventory.TestCoverageHints |
| (*KeyValue)(nil), // 51: chrome.chromeos_infra.skylab.proto.inventory.KeyValue |
| (*License)(nil), // 52: chrome.chromeos_infra.skylab.proto.inventory.License |
| (*ModemInfo)(nil), // 53: chrome.chromeos_infra.skylab.proto.inventory.ModemInfo |
| (*SIMInfo)(nil), // 54: chrome.chromeos_infra.skylab.proto.inventory.SIMInfo |
| (*SIMProfileInfo)(nil), // 55: chrome.chromeos_infra.skylab.proto.inventory.SIMProfileInfo |
| (Environment)(0), // 56: chrome.chromeos_infra.skylab.proto.inventory.Environment |
| (*Timestamp)(nil), // 57: chrome.chromeos_infra.skylab.proto.inventory.Timestamp |
| } |
| var file_go_chromium_org_infra_libs_skylab_inventory_device_proto_depIdxs = []int32{ |
| 36, // 0: chrome.chromeos_infra.skylab.proto.inventory.Device.dut:type_name -> chrome.chromeos_infra.skylab.proto.inventory.DeviceUnderTest |
| 37, // 1: chrome.chromeos_infra.skylab.proto.inventory.Device.servo_host:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ServoHostDevice |
| 38, // 2: chrome.chromeos_infra.skylab.proto.inventory.Device.chameleon:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice |
| 39, // 3: chrome.chromeos_infra.skylab.proto.inventory.DeviceUnderTest.common:type_name -> chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs |
| 40, // 4: chrome.chromeos_infra.skylab.proto.inventory.DeviceUnderTest.removal_reason:type_name -> chrome.chromeos_infra.skylab.proto.inventory.RemovalReason |
| 39, // 5: chrome.chromeos_infra.skylab.proto.inventory.ServoHostDevice.common:type_name -> chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs |
| 39, // 6: chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice.common:type_name -> chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs |
| 7, // 7: chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice.chameleon_hardware_type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice.ChameleonHardwareType |
| 8, // 8: chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice.chameleon_connection_type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice.ChameleonConnectionType |
| 51, // 9: chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.attributes:type_name -> chrome.chromeos_infra.skylab.proto.inventory.KeyValue |
| 43, // 10: chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.device_locks:type_name -> chrome.chromeos_infra.skylab.proto.inventory.DeviceLock |
| 56, // 11: chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.environment:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Environment |
| 45, // 12: chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.labels:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels |
| 41, // 13: chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.location:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Location |
| 44, // 14: chrome.chromeos_infra.skylab.proto.inventory.CommonDeviceSpecs.owner_shard:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Shard |
| 57, // 15: chrome.chromeos_infra.skylab.proto.inventory.RemovalReason.expire_time:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Timestamp |
| 42, // 16: chrome.chromeos_infra.skylab.proto.inventory.Location.lab:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PhysicalLab |
| 57, // 17: chrome.chromeos_infra.skylab.proto.inventory.DeviceLock.begin_time:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Timestamp |
| 57, // 18: chrome.chromeos_infra.skylab.proto.inventory.DeviceLock.expire_time:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Timestamp |
| 46, // 19: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.capabilities:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities |
| 9, // 20: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.cr50_phase:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.CR50_Phase |
| 10, // 21: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.critical_pools:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.DUTPool |
| 11, // 22: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.cts_abi:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.CTSABI |
| 12, // 23: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.cts_cpu:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.CTSCPU |
| 13, // 24: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.ec_type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.ECType |
| 52, // 25: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.licenses:type_name -> chrome.chromeos_infra.skylab.proto.inventory.License |
| 53, // 26: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.modeminfo:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ModemInfo |
| 54, // 27: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.siminfo:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SIMInfo |
| 14, // 28: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.os_type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.OSType |
| 47, // 29: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.peripherals:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals |
| 15, // 30: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.phase:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.Phase |
| 50, // 31: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.test_coverage_hints:type_name -> chrome.chromeos_infra.skylab.proto.inventory.TestCoverageHints |
| 17, // 32: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.devboard_type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.DevboardType |
| 16, // 33: chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.bot_size:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SchedulableLabels.BotSize |
| 18, // 34: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.carrier:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.Carrier |
| 18, // 35: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.supported_carriers:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.Carrier |
| 19, // 36: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.cbx:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.CbxState |
| 20, // 37: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.cbx_branding:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.CbxBranding |
| 21, // 38: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.gsc_chip:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.GscChip |
| 22, // 39: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.form_factor:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.FormFactor |
| 23, // 40: chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.video_acceleration:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareCapabilities.VideoAcceleration |
| 38, // 41: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.chameleon_devices:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ChameleonDevice |
| 24, // 42: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.chameleon_type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals.ChameleonType |
| 25, // 43: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.chameleon_connection_types:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals.ChameleonConnectionType |
| 1, // 44: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.chameleon_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 26, // 45: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.audiobox_jackplugger_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals.AudioBoxJackPlugger |
| 27, // 46: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.trrs_type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals.TRRSType |
| 1, // 47: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.servo_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 48, // 48: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.servo_topology:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ServoTopology |
| 0, // 49: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.servo_fw_channel:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ServoFwChannel |
| 28, // 50: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.camerabox_facing:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals.CameraboxFacing |
| 29, // 51: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.camerabox_light:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals.CameraboxLight |
| 2, // 52: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.storage_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareState |
| 2, // 53: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.servo_usb_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareState |
| 2, // 54: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.battery_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareState |
| 2, // 55: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.wifi_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareState |
| 2, // 56: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.bluetooth_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareState |
| 2, // 57: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.cellular_modem_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareState |
| 1, // 58: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.starfish_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 1, // 59: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.sim_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 1, // 60: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.rpm_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 1, // 61: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.pasit_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 1, // 62: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.peripheral_btpeer_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 1, // 63: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.peripheral_wifi_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 30, // 64: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.wifi_router_features:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals.WifiRouterFeature |
| 1, // 65: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.hmr_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 31, // 66: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.hmr_tool_type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals.HMRToolType |
| 32, // 67: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.hmr_gen:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals.HMRGen |
| 1, // 68: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.audio_latency_toolkit_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 1, // 69: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.amt_manager_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.PeripheralState |
| 2, // 70: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.camera_state:type_name -> chrome.chromeos_infra.skylab.proto.inventory.HardwareState |
| 33, // 71: chrome.chromeos_infra.skylab.proto.inventory.Peripherals.sim_features:type_name -> chrome.chromeos_infra.skylab.proto.inventory.Peripherals.SIMFeature |
| 49, // 72: chrome.chromeos_infra.skylab.proto.inventory.ServoTopology.main:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ServoTopologyItem |
| 49, // 73: chrome.chromeos_infra.skylab.proto.inventory.ServoTopology.children:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ServoTopologyItem |
| 34, // 74: chrome.chromeos_infra.skylab.proto.inventory.TestCoverageHints.cts_sparse:type_name -> chrome.chromeos_infra.skylab.proto.inventory.TestCoverageHints.CTSSparse |
| 3, // 75: chrome.chromeos_infra.skylab.proto.inventory.License.type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.LicenseType |
| 4, // 76: chrome.chromeos_infra.skylab.proto.inventory.ModemInfo.type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.ModemType |
| 6, // 77: chrome.chromeos_infra.skylab.proto.inventory.SIMInfo.type:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SIMType |
| 55, // 78: chrome.chromeos_infra.skylab.proto.inventory.SIMInfo.profile_info:type_name -> chrome.chromeos_infra.skylab.proto.inventory.SIMProfileInfo |
| 5, // 79: chrome.chromeos_infra.skylab.proto.inventory.SIMProfileInfo.carrier_name:type_name -> chrome.chromeos_infra.skylab.proto.inventory.NetworkProvider |
| 80, // [80:80] is the sub-list for method output_type |
| 80, // [80:80] is the sub-list for method input_type |
| 80, // [80:80] is the sub-list for extension type_name |
| 80, // [80:80] is the sub-list for extension extendee |
| 0, // [0:80] is the sub-list for field type_name |
| } |
| |
| func init() { file_go_chromium_org_infra_libs_skylab_inventory_device_proto_init() } |
| func file_go_chromium_org_infra_libs_skylab_inventory_device_proto_init() { |
| if File_go_chromium_org_infra_libs_skylab_inventory_device_proto != nil { |
| return |
| } |
| file_go_chromium_org_infra_libs_skylab_inventory_common_proto_init() |
| file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes[0].OneofWrappers = []any{ |
| (*Device_Dut)(nil), |
| (*Device_ServoHost)(nil), |
| (*Device_Chameleon)(nil), |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: unsafe.Slice(unsafe.StringData(file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDesc), len(file_go_chromium_org_infra_libs_skylab_inventory_device_proto_rawDesc)), |
| NumEnums: 35, |
| NumMessages: 21, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_go_chromium_org_infra_libs_skylab_inventory_device_proto_goTypes, |
| DependencyIndexes: file_go_chromium_org_infra_libs_skylab_inventory_device_proto_depIdxs, |
| EnumInfos: file_go_chromium_org_infra_libs_skylab_inventory_device_proto_enumTypes, |
| MessageInfos: file_go_chromium_org_infra_libs_skylab_inventory_device_proto_msgTypes, |
| }.Build() |
| File_go_chromium_org_infra_libs_skylab_inventory_device_proto = out.File |
| file_go_chromium_org_infra_libs_skylab_inventory_device_proto_goTypes = nil |
| file_go_chromium_org_infra_libs_skylab_inventory_device_proto_depIdxs = nil |
| } |