| // Copyright 2022 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.9 |
| // protoc v6.32.0 |
| // source: go.chromium.org/infra/cros/recovery/tlw/models.proto |
| |
| package tlw |
| |
| import ( |
| xmlrpc "go.chromium.org/chromiumos/config/go/api/test/xmlrpc" |
| api "go.chromium.org/chromiumos/config/go/test/lab/api" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 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) |
| ) |
| |
| // RPMType is the RPM model/protocol attached to the device |
| type RPMType int32 |
| |
| const ( |
| RPMType_UNKNOWN RPMType = 0 |
| // Sentry Switched CDU |
| RPMType_SENTRY RPMType = 1 |
| // IPPower 9850 |
| RPMType_IP9850 RPMType = 2 |
| // CPI |
| RPMType_CPI RPMType = 3 |
| ) |
| |
| // Enum value maps for RPMType. |
| var ( |
| RPMType_name = map[int32]string{ |
| 0: "UNKNOWN", |
| 1: "SENTRY", |
| 2: "IP9850", |
| 3: "CPI", |
| } |
| RPMType_value = map[string]int32{ |
| "UNKNOWN": 0, |
| "SENTRY": 1, |
| "IP9850": 2, |
| "CPI": 3, |
| } |
| ) |
| |
| func (x RPMType) Enum() *RPMType { |
| p := new(RPMType) |
| *p = x |
| return p |
| } |
| |
| func (x RPMType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (RPMType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (RPMType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[0] |
| } |
| |
| func (x RPMType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use RPMType.Descriptor instead. |
| func (RPMType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{0} |
| } |
| |
| // HardwareState describes the state of hardware components. |
| type HardwareState int32 |
| |
| const ( |
| // keep for all unspecified state by default. |
| HardwareState_HARDWARE_UNSPECIFIED 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_UNSPECIFIED", |
| 1: "HARDWARE_NORMAL", |
| 2: "HARDWARE_ACCEPTABLE", |
| 3: "HARDWARE_NEED_REPLACEMENT", |
| 4: "HARDWARE_NOT_DETECTED", |
| } |
| HardwareState_value = map[string]int32{ |
| "HARDWARE_UNSPECIFIED": 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_cros_recovery_tlw_models_proto_enumTypes[1].Descriptor() |
| } |
| |
| func (HardwareState) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[1] |
| } |
| |
| func (x HardwareState) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use HardwareState.Descriptor instead. |
| func (HardwareState) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{1} |
| } |
| |
| // Servo Firmware Channel describes the firmware expected to have on servos. |
| type ServoFwChannel int32 |
| |
| const ( |
| ServoFwChannel_FW_UNSPECIFIED ServoFwChannel = 0 |
| // Servo firmware from Stable channel. |
| ServoFwChannel_STABLE ServoFwChannel = 1 |
| // The previous Servo firmware from Stable channel. |
| ServoFwChannel_PREV ServoFwChannel = 2 |
| // Servo firmware from Dev channel. |
| ServoFwChannel_DEV ServoFwChannel = 3 |
| // Servo firmware from Alpha channel. |
| ServoFwChannel_ALPHA ServoFwChannel = 4 |
| ) |
| |
| // Enum value maps for ServoFwChannel. |
| var ( |
| ServoFwChannel_name = map[int32]string{ |
| 0: "FW_UNSPECIFIED", |
| 1: "STABLE", |
| 2: "PREV", |
| 3: "DEV", |
| 4: "ALPHA", |
| } |
| ServoFwChannel_value = map[string]int32{ |
| "FW_UNSPECIFIED": 0, |
| "STABLE": 1, |
| "PREV": 2, |
| "DEV": 3, |
| "ALPHA": 4, |
| } |
| ) |
| |
| 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_cros_recovery_tlw_models_proto_enumTypes[2].Descriptor() |
| } |
| |
| func (ServoFwChannel) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[2] |
| } |
| |
| func (x ServoFwChannel) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use ServoFwChannel.Descriptor instead. |
| func (ServoFwChannel) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{2} |
| } |
| |
| // RepairRequest describes different repair-requests. |
| type RepairRequest int32 |
| |
| const ( |
| RepairRequest_REPAIR_REQUEST_UNKNOWN RepairRequest = 0 |
| // Request to re-provision DUT. |
| RepairRequest_REPAIR_REQUEST_PROVISION RepairRequest = 1 |
| // Request to reimage DUT by USB-key. |
| RepairRequest_REPAIR_REQUEST_REIMAGE_BY_USBKEY RepairRequest = 2 |
| // Request to re-download image to USB-key. |
| RepairRequest_REPAIR_REQUEST_UPDATE_USBKEY_IMAGE RepairRequest = 3 |
| // Request to re-flash firmware of the DUT. |
| RepairRequest_REPAIR_REQUEST_REFLASH_FW RepairRequest = 4 |
| ) |
| |
| // Enum value maps for RepairRequest. |
| var ( |
| RepairRequest_name = map[int32]string{ |
| 0: "REPAIR_REQUEST_UNKNOWN", |
| 1: "REPAIR_REQUEST_PROVISION", |
| 2: "REPAIR_REQUEST_REIMAGE_BY_USBKEY", |
| 3: "REPAIR_REQUEST_UPDATE_USBKEY_IMAGE", |
| 4: "REPAIR_REQUEST_REFLASH_FW", |
| } |
| RepairRequest_value = map[string]int32{ |
| "REPAIR_REQUEST_UNKNOWN": 0, |
| "REPAIR_REQUEST_PROVISION": 1, |
| "REPAIR_REQUEST_REIMAGE_BY_USBKEY": 2, |
| "REPAIR_REQUEST_UPDATE_USBKEY_IMAGE": 3, |
| "REPAIR_REQUEST_REFLASH_FW": 4, |
| } |
| ) |
| |
| func (x RepairRequest) Enum() *RepairRequest { |
| p := new(RepairRequest) |
| *p = x |
| return p |
| } |
| |
| func (x RepairRequest) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (RepairRequest) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[3].Descriptor() |
| } |
| |
| func (RepairRequest) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[3] |
| } |
| |
| func (x RepairRequest) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use RepairRequest.Descriptor instead. |
| func (RepairRequest) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{3} |
| } |
| |
| // DUTSetupType describes different DUT setups. |
| type DUTSetupType int32 |
| |
| const ( |
| DUTSetupType_UNSPECIFIED DUTSetupType = 0 |
| // Special setup of servo-host represented as labstation. |
| DUTSetupType_LABSTATION DUTSetupType = 1 |
| // Special setup for routers. |
| DUTSetupType_JETSTREAM DUTSetupType = 2 |
| // Special setup for ChromeOS devices. |
| DUTSetupType_CROS DUTSetupType = 3 |
| // Special setup for ChromeOS devices for browser testing. |
| DUTSetupType_CROS_BROWSER DUTSetupType = 4 |
| // Special setup for Android devices. |
| DUTSetupType_ANDROID DUTSetupType = 5 |
| // Special setup for IOS devices. |
| DUTSetupType_IOS DUTSetupType = 6 |
| // Special setup for CrOSVM fake devices. |
| DUTSetupType_CROSVM DUTSetupType = 7 |
| // Special setup for DevBoard devices. |
| DUTSetupType_DEV_BOARD DUTSetupType = 8 |
| // Special setup for CLANK-Only devices. |
| DUTSetupType_CLANK_ONLY DUTSetupType = 9 |
| // Special setup for ChromeOS Android devices. |
| DUTSetupType_CROS_ANDROID DUTSetupType = 10 |
| ) |
| |
| // Enum value maps for DUTSetupType. |
| var ( |
| DUTSetupType_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "LABSTATION", |
| 2: "JETSTREAM", |
| 3: "CROS", |
| 4: "CROS_BROWSER", |
| 5: "ANDROID", |
| 6: "IOS", |
| 7: "CROSVM", |
| 8: "DEV_BOARD", |
| 9: "CLANK_ONLY", |
| 10: "CROS_ANDROID", |
| } |
| DUTSetupType_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "LABSTATION": 1, |
| "JETSTREAM": 2, |
| "CROS": 3, |
| "CROS_BROWSER": 4, |
| "ANDROID": 5, |
| "IOS": 6, |
| "CROSVM": 7, |
| "DEV_BOARD": 8, |
| "CLANK_ONLY": 9, |
| "CROS_ANDROID": 10, |
| } |
| ) |
| |
| func (x DUTSetupType) Enum() *DUTSetupType { |
| p := new(DUTSetupType) |
| *p = x |
| return p |
| } |
| |
| func (x DUTSetupType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (DUTSetupType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[4].Descriptor() |
| } |
| |
| func (DUTSetupType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[4] |
| } |
| |
| func (x DUTSetupType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use DUTSetupType.Descriptor instead. |
| func (DUTSetupType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{4} |
| } |
| |
| // Action represents action expecting to perform on power supplier. |
| type RunRPMActionRequest_Action int32 |
| |
| const ( |
| RunRPMActionRequest_UNSPECIFIED RunRPMActionRequest_Action = 0 |
| // Switch state to ON. |
| RunRPMActionRequest_ON RunRPMActionRequest_Action = 1 |
| // Switch state to OFF. |
| RunRPMActionRequest_OFF RunRPMActionRequest_Action = 2 |
| // Switch state to OFF and then ON with delay 5 seconds. |
| RunRPMActionRequest_CYCLE RunRPMActionRequest_Action = 3 |
| ) |
| |
| // Enum value maps for RunRPMActionRequest_Action. |
| var ( |
| RunRPMActionRequest_Action_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "ON", |
| 2: "OFF", |
| 3: "CYCLE", |
| } |
| RunRPMActionRequest_Action_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "ON": 1, |
| "OFF": 2, |
| "CYCLE": 3, |
| } |
| ) |
| |
| func (x RunRPMActionRequest_Action) Enum() *RunRPMActionRequest_Action { |
| p := new(RunRPMActionRequest_Action) |
| *p = x |
| return p |
| } |
| |
| func (x RunRPMActionRequest_Action) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (RunRPMActionRequest_Action) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[5].Descriptor() |
| } |
| |
| func (RunRPMActionRequest_Action) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[5] |
| } |
| |
| func (x RunRPMActionRequest_Action) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use RunRPMActionRequest_Action.Descriptor instead. |
| func (RunRPMActionRequest_Action) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{7, 0} |
| } |
| |
| // RPMState describes the state of RPM outlet. |
| type RPMOutlet_State int32 |
| |
| const ( |
| RPMOutlet_UNSPECIFIED RPMOutlet_State = 0 |
| // Configuration for RPM outlet missed which block from execution the |
| // actions. |
| RPMOutlet_MISSING_CONFIG RPMOutlet_State = 1 |
| // Configuration for RPM outlet provided but does not working which can be |
| // several reasons. |
| RPMOutlet_WRONG_CONFIG RPMOutlet_State = 2 |
| // RPM outlet can successfully perform the actions. |
| RPMOutlet_WORKING RPMOutlet_State = 3 |
| ) |
| |
| // Enum value maps for RPMOutlet_State. |
| var ( |
| RPMOutlet_State_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "MISSING_CONFIG", |
| 2: "WRONG_CONFIG", |
| 3: "WORKING", |
| } |
| RPMOutlet_State_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "MISSING_CONFIG": 1, |
| "WRONG_CONFIG": 2, |
| "WORKING": 3, |
| } |
| ) |
| |
| func (x RPMOutlet_State) Enum() *RPMOutlet_State { |
| p := new(RPMOutlet_State) |
| *p = x |
| return p |
| } |
| |
| func (x RPMOutlet_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (RPMOutlet_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[6].Descriptor() |
| } |
| |
| func (RPMOutlet_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[6] |
| } |
| |
| func (x RPMOutlet_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use RPMOutlet_State.Descriptor instead. |
| func (RPMOutlet_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{8, 0} |
| } |
| |
| // State of the device. |
| type WifiRouterHost_State int32 |
| |
| const ( |
| WifiRouterHost_UNSPECIFIED WifiRouterHost_State = 0 |
| WifiRouterHost_WORKING WifiRouterHost_State = 1 |
| WifiRouterHost_BROKEN WifiRouterHost_State = 2 |
| ) |
| |
| // Enum value maps for WifiRouterHost_State. |
| var ( |
| WifiRouterHost_State_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "WORKING", |
| 2: "BROKEN", |
| } |
| WifiRouterHost_State_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "WORKING": 1, |
| "BROKEN": 2, |
| } |
| ) |
| |
| func (x WifiRouterHost_State) Enum() *WifiRouterHost_State { |
| p := new(WifiRouterHost_State) |
| *p = x |
| return p |
| } |
| |
| func (x WifiRouterHost_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (WifiRouterHost_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[7].Descriptor() |
| } |
| |
| func (WifiRouterHost_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[7] |
| } |
| |
| func (x WifiRouterHost_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use WifiRouterHost_State.Descriptor instead. |
| func (WifiRouterHost_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{9, 0} |
| } |
| |
| // LoopbackState representes states for loopback dongle. |
| type DUTAudio_LoopbackState int32 |
| |
| const ( |
| DUTAudio_LOOPBACK_UNSPECIFIED DUTAudio_LoopbackState = 0 |
| // Device and software on it is working as expected. |
| DUTAudio_LOOPBACK_WORKING DUTAudio_LoopbackState = 1 |
| ) |
| |
| // Enum value maps for DUTAudio_LoopbackState. |
| var ( |
| DUTAudio_LoopbackState_name = map[int32]string{ |
| 0: "LOOPBACK_UNSPECIFIED", |
| 1: "LOOPBACK_WORKING", |
| } |
| DUTAudio_LoopbackState_value = map[string]int32{ |
| "LOOPBACK_UNSPECIFIED": 0, |
| "LOOPBACK_WORKING": 1, |
| } |
| ) |
| |
| func (x DUTAudio_LoopbackState) Enum() *DUTAudio_LoopbackState { |
| p := new(DUTAudio_LoopbackState) |
| *p = x |
| return p |
| } |
| |
| func (x DUTAudio_LoopbackState) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (DUTAudio_LoopbackState) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[8].Descriptor() |
| } |
| |
| func (DUTAudio_LoopbackState) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[8] |
| } |
| |
| func (x DUTAudio_LoopbackState) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use DUTAudio_LoopbackState.Descriptor instead. |
| func (DUTAudio_LoopbackState) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{14, 0} |
| } |
| |
| // State of the servo. |
| type ServoHost_State int32 |
| |
| const ( |
| ServoHost_STATE_UNSPECIFIED ServoHost_State = 0 |
| // Device and software on it is working as expected. |
| ServoHost_WORKING ServoHost_State = 1 |
| // Configuration for device is not provided. |
| ServoHost_MISSING_CONFIG ServoHost_State = 2 |
| // Configuration contains incorrect information. |
| ServoHost_WRONG_CONFIG ServoHost_State = 3 |
| // Device is not connected/plugged. |
| ServoHost_NOT_CONNECTED ServoHost_State = 4 |
| // Device is not reachable over ssh. |
| ServoHost_NO_SSH ServoHost_State = 5 |
| // Device is broken or not working as expected. the state used if no |
| // specified state for the issue. |
| ServoHost_BROKEN ServoHost_State = 6 |
| // Device cannot be repaired or required manual attention to fix/replace it. |
| ServoHost_NEED_REPLACEMENT ServoHost_State = 7 |
| // Cr50 console missing or unresponsive. |
| ServoHost_CR50_CONSOLE_MISSING ServoHost_State = 8 |
| // Servod daemon cannot start on servo-host because cr50 testlab not |
| // enabled. |
| ServoHost_CCD_TESTLAB_ISSUE ServoHost_State = 9 |
| // Servod daemon cannot start on servo-host. |
| ServoHost_SERVOD_ISSUE ServoHost_State = 10 |
| // Device lid is not open. |
| ServoHost_LID_OPEN_FAILED ServoHost_State = 11 |
| // The ribbon cable between servo and DUT is broken or not connected. |
| ServoHost_BAD_RIBBON_CABLE ServoHost_State = 12 |
| // The EC on the DUT has issue. |
| ServoHost_EC_BROKEN ServoHost_State = 13 |
| // Servo is not connected to the DUT. |
| ServoHost_DUT_NOT_CONNECTED ServoHost_State = 14 |
| // Some component in servo-topology missed or not detected. |
| ServoHost_TOPOLOGY_ISSUE ServoHost_State = 15 |
| // SBU voltage issues effect CR50 detection. |
| ServoHost_SBU_LOW_VOLTAGE ServoHost_State = 16 |
| // CR50 SBU voltage detected but device was not enumerated. |
| ServoHost_CR50_NOT_ENUMERATED ServoHost_State = 17 |
| // Servo serial mismatch, when servo not detected and another serial |
| // detected on previous used port. |
| ServoHost_SERVO_SERIAL_MISMATCH ServoHost_State = 18 |
| // Issue to connect to servod by XMLRPC proxy. |
| ServoHost_SERVOD_PROXY_ISSUE ServoHost_State = 19 |
| // Issue related to servo-host. Timeout to start servod or issue with |
| // detecting devices. |
| ServoHost_SERVO_HOST_ISSUE ServoHost_State = 20 |
| // Issue related to servo_updater on the servo-host. |
| ServoHost_SERVO_UPDATER_ISSUE ServoHost_State = 21 |
| // Issue related to power button pin on the servo host. |
| ServoHost_SERVOD_DUT_CONTROLLER_MISSING ServoHost_State = 22 |
| // Issue related to cold reset pin on the DUT. |
| ServoHost_COLD_RESET_PIN_ISSUE ServoHost_State = 23 |
| // Issue related to warm reset pin on the DUT. |
| ServoHost_WARM_RESET_PIN_ISSUE ServoHost_State = 24 |
| // Issue related to power button pin on the DUT. |
| ServoHost_POWER_BUTTON_PIN_ISSUE ServoHost_State = 25 |
| // The servo device connected to debug header is not detected. |
| // Reported by dut_controller_missing_fault control. |
| ServoHost_DEBUG_HEADER_SERVO_MISSING ServoHost_State = 27 |
| ) |
| |
| // Enum value maps for ServoHost_State. |
| var ( |
| ServoHost_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "WORKING", |
| 2: "MISSING_CONFIG", |
| 3: "WRONG_CONFIG", |
| 4: "NOT_CONNECTED", |
| 5: "NO_SSH", |
| 6: "BROKEN", |
| 7: "NEED_REPLACEMENT", |
| 8: "CR50_CONSOLE_MISSING", |
| 9: "CCD_TESTLAB_ISSUE", |
| 10: "SERVOD_ISSUE", |
| 11: "LID_OPEN_FAILED", |
| 12: "BAD_RIBBON_CABLE", |
| 13: "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", |
| 27: "DEBUG_HEADER_SERVO_MISSING", |
| } |
| ServoHost_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "WORKING": 1, |
| "MISSING_CONFIG": 2, |
| "WRONG_CONFIG": 3, |
| "NOT_CONNECTED": 4, |
| "NO_SSH": 5, |
| "BROKEN": 6, |
| "NEED_REPLACEMENT": 7, |
| "CR50_CONSOLE_MISSING": 8, |
| "CCD_TESTLAB_ISSUE": 9, |
| "SERVOD_ISSUE": 10, |
| "LID_OPEN_FAILED": 11, |
| "BAD_RIBBON_CABLE": 12, |
| "EC_BROKEN": 13, |
| "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, |
| "DEBUG_HEADER_SERVO_MISSING": 27, |
| } |
| ) |
| |
| func (x ServoHost_State) Enum() *ServoHost_State { |
| p := new(ServoHost_State) |
| *p = x |
| return p |
| } |
| |
| func (x ServoHost_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ServoHost_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[9].Descriptor() |
| } |
| |
| func (ServoHost_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[9] |
| } |
| |
| func (x ServoHost_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use ServoHost_State.Descriptor instead. |
| func (ServoHost_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{19, 0} |
| } |
| |
| // State describes the state of chameleon device. |
| type Chameleon_State int32 |
| |
| const ( |
| Chameleon_STATE_UNSPECIFIED Chameleon_State = 0 |
| // Device and software on it is working as expected. |
| Chameleon_WORKING Chameleon_State = 1 |
| // Device is broken or not working as expected. |
| Chameleon_BROKEN Chameleon_State = 2 |
| // Device State is not applicable. |
| Chameleon_NOT_APPLICABLE Chameleon_State = 3 |
| ) |
| |
| // Enum value maps for Chameleon_State. |
| var ( |
| Chameleon_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "WORKING", |
| 2: "BROKEN", |
| 3: "NOT_APPLICABLE", |
| } |
| Chameleon_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "WORKING": 1, |
| "BROKEN": 2, |
| "NOT_APPLICABLE": 3, |
| } |
| ) |
| |
| func (x Chameleon_State) Enum() *Chameleon_State { |
| p := new(Chameleon_State) |
| *p = x |
| return p |
| } |
| |
| func (x Chameleon_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Chameleon_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[10].Descriptor() |
| } |
| |
| func (Chameleon_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[10] |
| } |
| |
| func (x Chameleon_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Chameleon_State.Descriptor instead. |
| func (Chameleon_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{22, 0} |
| } |
| |
| // AudioBoxJackPluggerState describes the state of AudioboxJackplugger |
| type Chameleon_AudioBoxJackPluggerState int32 |
| |
| const ( |
| Chameleon_AUDIOBOX_JACKPLUGGER_UNSPECIFIED Chameleon_AudioBoxJackPluggerState = 0 |
| // Device and software on it is working as expected. |
| Chameleon_AUDIOBOX_JACKPLUGGER_WORKING Chameleon_AudioBoxJackPluggerState = 1 |
| // Device is broken or not working as expected. |
| Chameleon_AUDIOBOX_JACKPLUGGER_BROKEN Chameleon_AudioBoxJackPluggerState = 2 |
| // Device is not applicable to this testbed |
| Chameleon_AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE Chameleon_AudioBoxJackPluggerState = 3 |
| ) |
| |
| // Enum value maps for Chameleon_AudioBoxJackPluggerState. |
| var ( |
| Chameleon_AudioBoxJackPluggerState_name = map[int32]string{ |
| 0: "AUDIOBOX_JACKPLUGGER_UNSPECIFIED", |
| 1: "AUDIOBOX_JACKPLUGGER_WORKING", |
| 2: "AUDIOBOX_JACKPLUGGER_BROKEN", |
| 3: "AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE", |
| } |
| Chameleon_AudioBoxJackPluggerState_value = map[string]int32{ |
| "AUDIOBOX_JACKPLUGGER_UNSPECIFIED": 0, |
| "AUDIOBOX_JACKPLUGGER_WORKING": 1, |
| "AUDIOBOX_JACKPLUGGER_BROKEN": 2, |
| "AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE": 3, |
| } |
| ) |
| |
| func (x Chameleon_AudioBoxJackPluggerState) Enum() *Chameleon_AudioBoxJackPluggerState { |
| p := new(Chameleon_AudioBoxJackPluggerState) |
| *p = x |
| return p |
| } |
| |
| func (x Chameleon_AudioBoxJackPluggerState) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Chameleon_AudioBoxJackPluggerState) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[11].Descriptor() |
| } |
| |
| func (Chameleon_AudioBoxJackPluggerState) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[11] |
| } |
| |
| func (x Chameleon_AudioBoxJackPluggerState) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Chameleon_AudioBoxJackPluggerState.Descriptor instead. |
| func (Chameleon_AudioBoxJackPluggerState) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{22, 1} |
| } |
| |
| // State describes the state of bes board. |
| type BesBoard_State int32 |
| |
| const ( |
| BesBoard_STATE_UNSPECIFIED BesBoard_State = 0 |
| // Device and software on it is working as expected. |
| BesBoard_WORKING BesBoard_State = 1 |
| // Device is broken or not working as expected. |
| BesBoard_BROKEN BesBoard_State = 2 |
| ) |
| |
| // Enum value maps for BesBoard_State. |
| var ( |
| BesBoard_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "WORKING", |
| 2: "BROKEN", |
| } |
| BesBoard_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "WORKING": 1, |
| "BROKEN": 2, |
| } |
| ) |
| |
| func (x BesBoard_State) Enum() *BesBoard_State { |
| p := new(BesBoard_State) |
| *p = x |
| return p |
| } |
| |
| func (x BesBoard_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (BesBoard_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[12].Descriptor() |
| } |
| |
| func (BesBoard_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[12] |
| } |
| |
| func (x BesBoard_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use BesBoard_State.Descriptor instead. |
| func (BesBoard_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{23, 0} |
| } |
| |
| // State describes the state of bluetooth peer device. |
| type BluetoothPeer_State int32 |
| |
| const ( |
| BluetoothPeer_STATE_UNSPECIFIED BluetoothPeer_State = 0 |
| // Device and software on it is working as expected. |
| BluetoothPeer_WORKING BluetoothPeer_State = 1 |
| // Device is broken or not working as expected. |
| BluetoothPeer_BROKEN BluetoothPeer_State = 2 |
| ) |
| |
| // Enum value maps for BluetoothPeer_State. |
| var ( |
| BluetoothPeer_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "WORKING", |
| 2: "BROKEN", |
| } |
| BluetoothPeer_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "WORKING": 1, |
| "BROKEN": 2, |
| } |
| ) |
| |
| func (x BluetoothPeer_State) Enum() *BluetoothPeer_State { |
| p := new(BluetoothPeer_State) |
| *p = x |
| return p |
| } |
| |
| func (x BluetoothPeer_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (BluetoothPeer_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[13].Descriptor() |
| } |
| |
| func (BluetoothPeer_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[13] |
| } |
| |
| func (x BluetoothPeer_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use BluetoothPeer_State.Descriptor instead. |
| func (BluetoothPeer_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{24, 0} |
| } |
| |
| // Type of modem hardware. |
| type Cellular_ModemType int32 |
| |
| const ( |
| Cellular_MODEM_TYPE_UNSPECIFIED Cellular_ModemType = 0 |
| Cellular_MODEM_TYPE_UNSUPPORTED Cellular_ModemType = 8 |
| // Qualcomm modem |
| Cellular_MODEM_TYPE_QUALCOMM_SC7180 Cellular_ModemType = 1 |
| // Fibocomm modem |
| Cellular_MODEM_TYPE_FIBOCOMM_L850GL Cellular_ModemType = 2 |
| // NL668 |
| Cellular_MODEM_TYPE_NL668 Cellular_ModemType = 3 |
| // FM350 |
| Cellular_MODEM_TYPE_FM350 Cellular_ModemType = 4 |
| // FM101 |
| Cellular_MODEM_TYPE_FM101 Cellular_ModemType = 5 |
| // SC7280 |
| Cellular_MODEM_TYPE_QUALCOMM_SC7280 Cellular_ModemType = 6 |
| // EM060 |
| Cellular_MODEM_TYPE_EM060 Cellular_ModemType = 7 |
| // RW101 |
| Cellular_MODEM_TYPE_RW101 Cellular_ModemType = 9 |
| // RW135 |
| Cellular_MODEM_TYPE_RW135 Cellular_ModemType = 10 |
| // LCUK54 |
| Cellular_MODEM_TYPE_LCUK54 Cellular_ModemType = 11 |
| // RW350 |
| Cellular_MODEM_TYPE_RW350 Cellular_ModemType = 12 |
| ) |
| |
| // Enum value maps for Cellular_ModemType. |
| var ( |
| Cellular_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", |
| } |
| Cellular_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 Cellular_ModemType) Enum() *Cellular_ModemType { |
| p := new(Cellular_ModemType) |
| *p = x |
| return p |
| } |
| |
| func (x Cellular_ModemType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Cellular_ModemType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[14].Descriptor() |
| } |
| |
| func (Cellular_ModemType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[14] |
| } |
| |
| func (x Cellular_ModemType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Cellular_ModemType.Descriptor instead. |
| func (Cellular_ModemType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{27, 0} |
| } |
| |
| // The network operator for a particular SIM. |
| type Cellular_NetworkProvider int32 |
| |
| const ( |
| Cellular_NETWORK_UNSPECIFIED Cellular_NetworkProvider = 0 |
| Cellular_NETWORK_UNSUPPORTED Cellular_NetworkProvider = 5 |
| Cellular_NETWORK_TEST Cellular_NetworkProvider = 1 |
| Cellular_NETWORK_ATT Cellular_NetworkProvider = 2 |
| Cellular_NETWORK_TMOBILE Cellular_NetworkProvider = 3 |
| Cellular_NETWORK_VERIZON Cellular_NetworkProvider = 4 |
| Cellular_NETWORK_SPRINT Cellular_NetworkProvider = 6 |
| Cellular_NETWORK_DOCOMO Cellular_NetworkProvider = 7 |
| Cellular_NETWORK_SOFTBANK Cellular_NetworkProvider = 8 |
| Cellular_NETWORK_KDDI Cellular_NetworkProvider = 9 |
| Cellular_NETWORK_RAKUTEN Cellular_NetworkProvider = 10 |
| Cellular_NETWORK_VODAFONE Cellular_NetworkProvider = 11 |
| Cellular_NETWORK_EE Cellular_NetworkProvider = 12 |
| Cellular_NETWORK_AMARISOFT Cellular_NetworkProvider = 13 |
| Cellular_NETWORK_ROGER Cellular_NetworkProvider = 14 |
| Cellular_NETWORK_BELL Cellular_NetworkProvider = 15 |
| Cellular_NETWORK_TELUS Cellular_NetworkProvider = 16 |
| Cellular_NETWORK_FI Cellular_NetworkProvider = 17 |
| Cellular_NETWORK_CBRS Cellular_NetworkProvider = 18 |
| Cellular_NETWORK_LINEMO Cellular_NetworkProvider = 19 |
| Cellular_NETWORK_POVO Cellular_NetworkProvider = 20 |
| Cellular_NETWORK_HANSHIN Cellular_NetworkProvider = 21 |
| ) |
| |
| // Enum value maps for Cellular_NetworkProvider. |
| var ( |
| Cellular_NetworkProvider_name = map[int32]string{ |
| 0: "NETWORK_UNSPECIFIED", |
| 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", |
| } |
| Cellular_NetworkProvider_value = map[string]int32{ |
| "NETWORK_UNSPECIFIED": 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, |
| } |
| ) |
| |
| func (x Cellular_NetworkProvider) Enum() *Cellular_NetworkProvider { |
| p := new(Cellular_NetworkProvider) |
| *p = x |
| return p |
| } |
| |
| func (x Cellular_NetworkProvider) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Cellular_NetworkProvider) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[15].Descriptor() |
| } |
| |
| func (Cellular_NetworkProvider) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[15] |
| } |
| |
| func (x Cellular_NetworkProvider) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Cellular_NetworkProvider.Descriptor instead. |
| func (Cellular_NetworkProvider) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{27, 1} |
| } |
| |
| // The type of SIM in the slot. |
| type Cellular_SIMType int32 |
| |
| const ( |
| Cellular_SIM_UNSPECIFIED Cellular_SIMType = 0 |
| Cellular_SIM_PHYSICAL Cellular_SIMType = 1 |
| Cellular_SIM_DIGITAL Cellular_SIMType = 2 |
| ) |
| |
| // Enum value maps for Cellular_SIMType. |
| var ( |
| Cellular_SIMType_name = map[int32]string{ |
| 0: "SIM_UNSPECIFIED", |
| 1: "SIM_PHYSICAL", |
| 2: "SIM_DIGITAL", |
| } |
| Cellular_SIMType_value = map[string]int32{ |
| "SIM_UNSPECIFIED": 0, |
| "SIM_PHYSICAL": 1, |
| "SIM_DIGITAL": 2, |
| } |
| ) |
| |
| func (x Cellular_SIMType) Enum() *Cellular_SIMType { |
| p := new(Cellular_SIMType) |
| *p = x |
| return p |
| } |
| |
| func (x Cellular_SIMType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Cellular_SIMType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[16].Descriptor() |
| } |
| |
| func (Cellular_SIMType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[16] |
| } |
| |
| func (x Cellular_SIMType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Cellular_SIMType.Descriptor instead. |
| func (Cellular_SIMType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{27, 2} |
| } |
| |
| // StarfishState describes the state of a starfish device in a testbed. |
| type Cellular_StarfishState int32 |
| |
| const ( |
| Cellular_STARFISH_STATE_UNSPECIFIED Cellular_StarfishState = 0 |
| // Starfish is working and SIMS detected as expected. |
| Cellular_STARFISH_STATE_WORKING Cellular_StarfishState = 1 |
| // Starfish is not working or SIMs are not detected as expected. |
| Cellular_STARFISH_STATE_BROKEN Cellular_StarfishState = 2 |
| // Does not apply to this device. |
| Cellular_STARFISH_STATE_NOT_APPLICABLE Cellular_StarfishState = 3 |
| ) |
| |
| // Enum value maps for Cellular_StarfishState. |
| var ( |
| Cellular_StarfishState_name = map[int32]string{ |
| 0: "STARFISH_STATE_UNSPECIFIED", |
| 1: "STARFISH_STATE_WORKING", |
| 2: "STARFISH_STATE_BROKEN", |
| 3: "STARFISH_STATE_NOT_APPLICABLE", |
| } |
| Cellular_StarfishState_value = map[string]int32{ |
| "STARFISH_STATE_UNSPECIFIED": 0, |
| "STARFISH_STATE_WORKING": 1, |
| "STARFISH_STATE_BROKEN": 2, |
| "STARFISH_STATE_NOT_APPLICABLE": 3, |
| } |
| ) |
| |
| func (x Cellular_StarfishState) Enum() *Cellular_StarfishState { |
| p := new(Cellular_StarfishState) |
| *p = x |
| return p |
| } |
| |
| func (x Cellular_StarfishState) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Cellular_StarfishState) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[17].Descriptor() |
| } |
| |
| func (Cellular_StarfishState) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[17] |
| } |
| |
| func (x Cellular_StarfishState) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Cellular_StarfishState.Descriptor instead. |
| func (Cellular_StarfishState) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{27, 3} |
| } |
| |
| // The allowed cellular connection states as reported by the modem. |
| type Cellular_SIMProfileInfo_State int32 |
| |
| const ( |
| // Connection state not defined. |
| Cellular_SIMProfileInfo_UNSPECIFIED Cellular_SIMProfileInfo_State = 0 |
| // The device is unusable. |
| Cellular_SIMProfileInfo_BROKEN Cellular_SIMProfileInfo_State = 1 |
| // The device needs to be unlocked. |
| Cellular_SIMProfileInfo_LOCKED Cellular_SIMProfileInfo_State = 2 |
| // No data connection available and not in a failed state. |
| Cellular_SIMProfileInfo_NO_NETWORK Cellular_SIMProfileInfo_State = 3 |
| // The device is registered with a network provider, and data connections and messaging may be available for use. |
| Cellular_SIMProfileInfo_WORKING Cellular_SIMProfileInfo_State = 4 |
| // The configuration in UFS doesn't match what is on the SIM or is incomplete. |
| Cellular_SIMProfileInfo_WRONG_CONFIG Cellular_SIMProfileInfo_State = 5 |
| ) |
| |
| // Enum value maps for Cellular_SIMProfileInfo_State. |
| var ( |
| Cellular_SIMProfileInfo_State_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "BROKEN", |
| 2: "LOCKED", |
| 3: "NO_NETWORK", |
| 4: "WORKING", |
| 5: "WRONG_CONFIG", |
| } |
| Cellular_SIMProfileInfo_State_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "BROKEN": 1, |
| "LOCKED": 2, |
| "NO_NETWORK": 3, |
| "WORKING": 4, |
| "WRONG_CONFIG": 5, |
| } |
| ) |
| |
| func (x Cellular_SIMProfileInfo_State) Enum() *Cellular_SIMProfileInfo_State { |
| p := new(Cellular_SIMProfileInfo_State) |
| *p = x |
| return p |
| } |
| |
| func (x Cellular_SIMProfileInfo_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Cellular_SIMProfileInfo_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[18].Descriptor() |
| } |
| |
| func (Cellular_SIMProfileInfo_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[18] |
| } |
| |
| func (x Cellular_SIMProfileInfo_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Cellular_SIMProfileInfo_State.Descriptor instead. |
| func (Cellular_SIMProfileInfo_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{27, 1, 0} |
| } |
| |
| // Possible features that the SIM supports. |
| type Cellular_SIMProfileInfo_Feature int32 |
| |
| const ( |
| // Unset feature. |
| Cellular_SIMProfileInfo_FEATURE_UNSPECIFIED Cellular_SIMProfileInfo_Feature = 0 |
| // The SIM supports a generic live network. |
| Cellular_SIMProfileInfo_FEATURE_LIVE_NETWORK Cellular_SIMProfileInfo_Feature = 1 |
| // The SIM supports SMS messaging. |
| Cellular_SIMProfileInfo_FEATURE_SMS Cellular_SIMProfileInfo_Feature = 2 |
| ) |
| |
| // Enum value maps for Cellular_SIMProfileInfo_Feature. |
| var ( |
| Cellular_SIMProfileInfo_Feature_name = map[int32]string{ |
| 0: "FEATURE_UNSPECIFIED", |
| 1: "FEATURE_LIVE_NETWORK", |
| 2: "FEATURE_SMS", |
| } |
| Cellular_SIMProfileInfo_Feature_value = map[string]int32{ |
| "FEATURE_UNSPECIFIED": 0, |
| "FEATURE_LIVE_NETWORK": 1, |
| "FEATURE_SMS": 2, |
| } |
| ) |
| |
| func (x Cellular_SIMProfileInfo_Feature) Enum() *Cellular_SIMProfileInfo_Feature { |
| p := new(Cellular_SIMProfileInfo_Feature) |
| *p = x |
| return p |
| } |
| |
| func (x Cellular_SIMProfileInfo_Feature) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Cellular_SIMProfileInfo_Feature) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[19].Descriptor() |
| } |
| |
| func (Cellular_SIMProfileInfo_Feature) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[19] |
| } |
| |
| func (x Cellular_SIMProfileInfo_Feature) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Cellular_SIMProfileInfo_Feature.Descriptor instead. |
| func (Cellular_SIMProfileInfo_Feature) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{27, 1, 1} |
| } |
| |
| // State describes the state of device. |
| type HumanMotionRobot_State int32 |
| |
| const ( |
| HumanMotionRobot_STATE_UNSPECIFIED HumanMotionRobot_State = 0 |
| // Device and software on it is working as expected. |
| HumanMotionRobot_WORKING HumanMotionRobot_State = 1 |
| // Device is broken or not working as expected. |
| HumanMotionRobot_BROKEN HumanMotionRobot_State = 2 |
| // Device State is not applicable. |
| HumanMotionRobot_NOT_APPLICABLE HumanMotionRobot_State = 3 |
| ) |
| |
| // Enum value maps for HumanMotionRobot_State. |
| var ( |
| HumanMotionRobot_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "WORKING", |
| 2: "BROKEN", |
| 3: "NOT_APPLICABLE", |
| } |
| HumanMotionRobot_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "WORKING": 1, |
| "BROKEN": 2, |
| "NOT_APPLICABLE": 3, |
| } |
| ) |
| |
| func (x HumanMotionRobot_State) Enum() *HumanMotionRobot_State { |
| p := new(HumanMotionRobot_State) |
| *p = x |
| return p |
| } |
| |
| func (x HumanMotionRobot_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (HumanMotionRobot_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[20].Descriptor() |
| } |
| |
| func (HumanMotionRobot_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[20] |
| } |
| |
| func (x HumanMotionRobot_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use HumanMotionRobot_State.Descriptor instead. |
| func (HumanMotionRobot_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{29, 0} |
| } |
| |
| type Dolos_DolosHWMajorRevision int32 |
| |
| const ( |
| // Default unset value |
| Dolos_DOLOS_UNSPECIFIED Dolos_DolosHWMajorRevision = 0 |
| Dolos_DOLOS_V1 Dolos_DolosHWMajorRevision = 1 |
| ) |
| |
| // Enum value maps for Dolos_DolosHWMajorRevision. |
| var ( |
| Dolos_DolosHWMajorRevision_name = map[int32]string{ |
| 0: "DOLOS_UNSPECIFIED", |
| 1: "DOLOS_V1", |
| } |
| Dolos_DolosHWMajorRevision_value = map[string]int32{ |
| "DOLOS_UNSPECIFIED": 0, |
| "DOLOS_V1": 1, |
| } |
| ) |
| |
| func (x Dolos_DolosHWMajorRevision) Enum() *Dolos_DolosHWMajorRevision { |
| p := new(Dolos_DolosHWMajorRevision) |
| *p = x |
| return p |
| } |
| |
| func (x Dolos_DolosHWMajorRevision) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Dolos_DolosHWMajorRevision) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[21].Descriptor() |
| } |
| |
| func (Dolos_DolosHWMajorRevision) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[21] |
| } |
| |
| func (x Dolos_DolosHWMajorRevision) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Dolos_DolosHWMajorRevision.Descriptor instead. |
| func (Dolos_DolosHWMajorRevision) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{30, 0} |
| } |
| |
| // State describes the state of Dolos. |
| type Dolos_State int32 |
| |
| const ( |
| Dolos_STATE_UNSPECIFIED Dolos_State = 0 |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/cros/recovery/tlw/models.proto. |
| Dolos_WORKING Dolos_State = 1 |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/cros/recovery/tlw/models.proto. |
| Dolos_BROKEN Dolos_State = 2 |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/cros/recovery/tlw/models.proto. |
| Dolos_NOT_APPLICABLE Dolos_State = 3 |
| Dolos_DOLOS_UNKNOWN Dolos_State = 4 |
| Dolos_DOLOS_NO_POWER_SUPPLIED Dolos_State = 5 |
| Dolos_DOLOS_OUTPUT_POWER_FAILED Dolos_State = 6 |
| Dolos_DOLOS_BMS_STATE_INVALID Dolos_State = 7 |
| Dolos_DOLOS_SMBUS_COMM_NOT_DETECTED Dolos_State = 8 |
| Dolos_DOLOS_EEPROM_FAILURE Dolos_State = 9 |
| Dolos_DOLOS_OK Dolos_State = 10 |
| Dolos_DOLOS_NO_COMMUNICATION Dolos_State = 11 |
| Dolos_DOLOS_NOT_PRESENT Dolos_State = 12 |
| Dolos_NO_SSH Dolos_State = 13 |
| ) |
| |
| // Enum value maps for Dolos_State. |
| var ( |
| Dolos_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "WORKING", |
| 2: "BROKEN", |
| 3: "NOT_APPLICABLE", |
| 4: "DOLOS_UNKNOWN", |
| 5: "DOLOS_NO_POWER_SUPPLIED", |
| 6: "DOLOS_OUTPUT_POWER_FAILED", |
| 7: "DOLOS_BMS_STATE_INVALID", |
| 8: "DOLOS_SMBUS_COMM_NOT_DETECTED", |
| 9: "DOLOS_EEPROM_FAILURE", |
| 10: "DOLOS_OK", |
| 11: "DOLOS_NO_COMMUNICATION", |
| 12: "DOLOS_NOT_PRESENT", |
| 13: "NO_SSH", |
| } |
| Dolos_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "WORKING": 1, |
| "BROKEN": 2, |
| "NOT_APPLICABLE": 3, |
| "DOLOS_UNKNOWN": 4, |
| "DOLOS_NO_POWER_SUPPLIED": 5, |
| "DOLOS_OUTPUT_POWER_FAILED": 6, |
| "DOLOS_BMS_STATE_INVALID": 7, |
| "DOLOS_SMBUS_COMM_NOT_DETECTED": 8, |
| "DOLOS_EEPROM_FAILURE": 9, |
| "DOLOS_OK": 10, |
| "DOLOS_NO_COMMUNICATION": 11, |
| "DOLOS_NOT_PRESENT": 12, |
| "NO_SSH": 13, |
| } |
| ) |
| |
| func (x Dolos_State) Enum() *Dolos_State { |
| p := new(Dolos_State) |
| *p = x |
| return p |
| } |
| |
| func (x Dolos_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Dolos_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[22].Descriptor() |
| } |
| |
| func (Dolos_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[22] |
| } |
| |
| func (x Dolos_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Dolos_State.Descriptor instead. |
| func (Dolos_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{30, 1} |
| } |
| |
| // State describes the state of device. |
| type AudioLatencyToolkit_State int32 |
| |
| const ( |
| AudioLatencyToolkit_STATE_UNSPECIFIED AudioLatencyToolkit_State = 0 |
| // Device and software on it is working as expected. |
| AudioLatencyToolkit_WORKING AudioLatencyToolkit_State = 1 |
| // Device is broken or not working as expected. |
| AudioLatencyToolkit_BROKEN AudioLatencyToolkit_State = 2 |
| // Device State is not applicable. |
| AudioLatencyToolkit_NOT_APPLICABLE AudioLatencyToolkit_State = 3 |
| ) |
| |
| // Enum value maps for AudioLatencyToolkit_State. |
| var ( |
| AudioLatencyToolkit_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "WORKING", |
| 2: "BROKEN", |
| 3: "NOT_APPLICABLE", |
| } |
| AudioLatencyToolkit_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "WORKING": 1, |
| "BROKEN": 2, |
| "NOT_APPLICABLE": 3, |
| } |
| ) |
| |
| func (x AudioLatencyToolkit_State) Enum() *AudioLatencyToolkit_State { |
| p := new(AudioLatencyToolkit_State) |
| *p = x |
| return p |
| } |
| |
| func (x AudioLatencyToolkit_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (AudioLatencyToolkit_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[23].Descriptor() |
| } |
| |
| func (AudioLatencyToolkit_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[23] |
| } |
| |
| func (x AudioLatencyToolkit_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use AudioLatencyToolkit_State.Descriptor instead. |
| func (AudioLatencyToolkit_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{31, 0} |
| } |
| |
| // State describes the state of AMT on the device. |
| type AMTManager_State int32 |
| |
| const ( |
| AMTManager_STATE_UNSPECIFIED AMTManager_State = 0 |
| // The WS-Management endpoint is up. |
| AMTManager_WORKING AMTManager_State = 1 |
| // Unable to connect to the WS-Management endpoint. |
| AMTManager_BROKEN AMTManager_State = 2 |
| // Device state is not applicable. |
| AMTManager_NOT_APPLICABLE AMTManager_State = 3 |
| ) |
| |
| // Enum value maps for AMTManager_State. |
| var ( |
| AMTManager_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "WORKING", |
| 2: "BROKEN", |
| 3: "NOT_APPLICABLE", |
| } |
| AMTManager_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "WORKING": 1, |
| "BROKEN": 2, |
| "NOT_APPLICABLE": 3, |
| } |
| ) |
| |
| func (x AMTManager_State) Enum() *AMTManager_State { |
| p := new(AMTManager_State) |
| *p = x |
| return p |
| } |
| |
| func (x AMTManager_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (AMTManager_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[24].Descriptor() |
| } |
| |
| func (AMTManager_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[24] |
| } |
| |
| func (x AMTManager_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use AMTManager_State.Descriptor instead. |
| func (AMTManager_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{34, 0} |
| } |
| |
| // Defines the operating system usage constraint for this DUT. |
| type ChromeOS_OSRestruction int32 |
| |
| const ( |
| // No restrictions by default. |
| ChromeOS_OSR_ANY ChromeOS_OSRestruction = 0 |
| ChromeOS_OSR_CHROMEOS_ONLY ChromeOS_OSRestruction = 1 |
| ChromeOS_OSR_ANDROID_ONLY ChromeOS_OSRestruction = 2 |
| ) |
| |
| // Enum value maps for ChromeOS_OSRestruction. |
| var ( |
| ChromeOS_OSRestruction_name = map[int32]string{ |
| 0: "OSR_ANY", |
| 1: "OSR_CHROMEOS_ONLY", |
| 2: "OSR_ANDROID_ONLY", |
| } |
| ChromeOS_OSRestruction_value = map[string]int32{ |
| "OSR_ANY": 0, |
| "OSR_CHROMEOS_ONLY": 1, |
| "OSR_ANDROID_ONLY": 2, |
| } |
| ) |
| |
| func (x ChromeOS_OSRestruction) Enum() *ChromeOS_OSRestruction { |
| p := new(ChromeOS_OSRestruction) |
| *p = x |
| return p |
| } |
| |
| func (x ChromeOS_OSRestruction) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ChromeOS_OSRestruction) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[25].Descriptor() |
| } |
| |
| func (ChromeOS_OSRestruction) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[25] |
| } |
| |
| func (x ChromeOS_OSRestruction) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use ChromeOS_OSRestruction.Descriptor instead. |
| func (ChromeOS_OSRestruction) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{36, 0} |
| } |
| |
| // PowerSupplyType describes different power supply types for a DUT. |
| type ChromeOS_PowerSupplyType int32 |
| |
| const ( |
| ChromeOS_POWER_SUPPLY_UNSPECIFIED ChromeOS_PowerSupplyType = 0 |
| // Primary power source of the devices is wall-power. Devices does not have |
| // a battery. |
| ChromeOS_AC_ONLY ChromeOS_PowerSupplyType = 1 |
| // Primary power source of the devices is battery. Devices still connected |
| // to wall-power to charge it. |
| ChromeOS_BATTERY ChromeOS_PowerSupplyType = 2 |
| ) |
| |
| // Enum value maps for ChromeOS_PowerSupplyType. |
| var ( |
| ChromeOS_PowerSupplyType_name = map[int32]string{ |
| 0: "POWER_SUPPLY_UNSPECIFIED", |
| 1: "AC_ONLY", |
| 2: "BATTERY", |
| } |
| ChromeOS_PowerSupplyType_value = map[string]int32{ |
| "POWER_SUPPLY_UNSPECIFIED": 0, |
| "AC_ONLY": 1, |
| "BATTERY": 2, |
| } |
| ) |
| |
| func (x ChromeOS_PowerSupplyType) Enum() *ChromeOS_PowerSupplyType { |
| p := new(ChromeOS_PowerSupplyType) |
| *p = x |
| return p |
| } |
| |
| func (x ChromeOS_PowerSupplyType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ChromeOS_PowerSupplyType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[26].Descriptor() |
| } |
| |
| func (ChromeOS_PowerSupplyType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[26] |
| } |
| |
| func (x ChromeOS_PowerSupplyType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use ChromeOS_PowerSupplyType.Descriptor instead. |
| func (ChromeOS_PowerSupplyType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{36, 1} |
| } |
| |
| // Cr50Phase describes different phases of CR50 firmware used on DUT. |
| // Label indicating the cr50 image type. |
| type ChromeOS_Cr50Phase int32 |
| |
| const ( |
| ChromeOS_CR50_PHASE_UNSPECIFIED ChromeOS_Cr50Phase = 0 |
| ChromeOS_CR50_PHASE_PVT ChromeOS_Cr50Phase = 1 |
| ChromeOS_CR50_PHASE_PREPVT ChromeOS_Cr50Phase = 2 |
| ) |
| |
| // Enum value maps for ChromeOS_Cr50Phase. |
| var ( |
| ChromeOS_Cr50Phase_name = map[int32]string{ |
| 0: "CR50_PHASE_UNSPECIFIED", |
| 1: "CR50_PHASE_PVT", |
| 2: "CR50_PHASE_PREPVT", |
| } |
| ChromeOS_Cr50Phase_value = map[string]int32{ |
| "CR50_PHASE_UNSPECIFIED": 0, |
| "CR50_PHASE_PVT": 1, |
| "CR50_PHASE_PREPVT": 2, |
| } |
| ) |
| |
| func (x ChromeOS_Cr50Phase) Enum() *ChromeOS_Cr50Phase { |
| p := new(ChromeOS_Cr50Phase) |
| *p = x |
| return p |
| } |
| |
| func (x ChromeOS_Cr50Phase) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ChromeOS_Cr50Phase) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[27].Descriptor() |
| } |
| |
| func (ChromeOS_Cr50Phase) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[27] |
| } |
| |
| func (x ChromeOS_Cr50Phase) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use ChromeOS_Cr50Phase.Descriptor instead. |
| func (ChromeOS_Cr50Phase) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{36, 2} |
| } |
| |
| // Cr50KeyEnv describes key env for cr50 RW version. |
| // Label indicating the cr50 RW version. |
| type ChromeOS_Cr50KeyEnv int32 |
| |
| const ( |
| ChromeOS_CR50_KEYENV_UNSPECIFIED ChromeOS_Cr50KeyEnv = 0 |
| ChromeOS_CR50_KEYENV_PROD ChromeOS_Cr50KeyEnv = 1 |
| ChromeOS_CR50_KEYENV_DEV ChromeOS_Cr50KeyEnv = 2 |
| ) |
| |
| // Enum value maps for ChromeOS_Cr50KeyEnv. |
| var ( |
| ChromeOS_Cr50KeyEnv_name = map[int32]string{ |
| 0: "CR50_KEYENV_UNSPECIFIED", |
| 1: "CR50_KEYENV_PROD", |
| 2: "CR50_KEYENV_DEV", |
| } |
| ChromeOS_Cr50KeyEnv_value = map[string]int32{ |
| "CR50_KEYENV_UNSPECIFIED": 0, |
| "CR50_KEYENV_PROD": 1, |
| "CR50_KEYENV_DEV": 2, |
| } |
| ) |
| |
| func (x ChromeOS_Cr50KeyEnv) Enum() *ChromeOS_Cr50KeyEnv { |
| p := new(ChromeOS_Cr50KeyEnv) |
| *p = x |
| return p |
| } |
| |
| func (x ChromeOS_Cr50KeyEnv) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ChromeOS_Cr50KeyEnv) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[28].Descriptor() |
| } |
| |
| func (ChromeOS_Cr50KeyEnv) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[28] |
| } |
| |
| func (x ChromeOS_Cr50KeyEnv) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use ChromeOS_Cr50KeyEnv.Descriptor instead. |
| func (ChromeOS_Cr50KeyEnv) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{36, 3} |
| } |
| |
| // PeripheralWifiState describes the state of peripheral wifi testbed. |
| type ChromeOS_PeripheralWifiState int32 |
| |
| const ( |
| ChromeOS_PERIPHERAL_WIFI_STATE_UNSPECIFIED ChromeOS_PeripheralWifiState = 0 |
| // All wifirouters are working as expected. |
| ChromeOS_PERIPHERAL_WIFI_STATE_WORKING ChromeOS_PeripheralWifiState = 2 |
| // Not all wifirouters are working as expected. |
| ChromeOS_PERIPHERAL_WIFI_STATE_BROKEN ChromeOS_PeripheralWifiState = 3 |
| // State is not applicable for setup. |
| ChromeOS_PERIPHERAL_WIFI_STATE_NOT_APPLICABLE ChromeOS_PeripheralWifiState = 4 |
| ) |
| |
| // Enum value maps for ChromeOS_PeripheralWifiState. |
| var ( |
| ChromeOS_PeripheralWifiState_name = map[int32]string{ |
| 0: "PERIPHERAL_WIFI_STATE_UNSPECIFIED", |
| 2: "PERIPHERAL_WIFI_STATE_WORKING", |
| 3: "PERIPHERAL_WIFI_STATE_BROKEN", |
| 4: "PERIPHERAL_WIFI_STATE_NOT_APPLICABLE", |
| } |
| ChromeOS_PeripheralWifiState_value = map[string]int32{ |
| "PERIPHERAL_WIFI_STATE_UNSPECIFIED": 0, |
| "PERIPHERAL_WIFI_STATE_WORKING": 2, |
| "PERIPHERAL_WIFI_STATE_BROKEN": 3, |
| "PERIPHERAL_WIFI_STATE_NOT_APPLICABLE": 4, |
| } |
| ) |
| |
| func (x ChromeOS_PeripheralWifiState) Enum() *ChromeOS_PeripheralWifiState { |
| p := new(ChromeOS_PeripheralWifiState) |
| *p = x |
| return p |
| } |
| |
| func (x ChromeOS_PeripheralWifiState) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ChromeOS_PeripheralWifiState) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[29].Descriptor() |
| } |
| |
| func (ChromeOS_PeripheralWifiState) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[29] |
| } |
| |
| func (x ChromeOS_PeripheralWifiState) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use ChromeOS_PeripheralWifiState.Descriptor instead. |
| func (ChromeOS_PeripheralWifiState) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{36, 4} |
| } |
| |
| // The GSC chip on the DUT. |
| // The value is determined based on VID:PID values. |
| // More details can be found in b/369829759. |
| type ChromeOS_GscChip int32 |
| |
| const ( |
| ChromeOS_GSC_CHIP_UNKNOWN ChromeOS_GscChip = 0 |
| ChromeOS_GSC_CHIP_H1 ChromeOS_GscChip = 1 |
| ChromeOS_GSC_CHIP_DT ChromeOS_GscChip = 2 |
| ChromeOS_GSC_CHIP_NT ChromeOS_GscChip = 3 |
| ) |
| |
| // Enum value maps for ChromeOS_GscChip. |
| var ( |
| ChromeOS_GscChip_name = map[int32]string{ |
| 0: "GSC_CHIP_UNKNOWN", |
| 1: "GSC_CHIP_H1", |
| 2: "GSC_CHIP_DT", |
| 3: "GSC_CHIP_NT", |
| } |
| ChromeOS_GscChip_value = map[string]int32{ |
| "GSC_CHIP_UNKNOWN": 0, |
| "GSC_CHIP_H1": 1, |
| "GSC_CHIP_DT": 2, |
| "GSC_CHIP_NT": 3, |
| } |
| ) |
| |
| func (x ChromeOS_GscChip) Enum() *ChromeOS_GscChip { |
| p := new(ChromeOS_GscChip) |
| *p = x |
| return p |
| } |
| |
| func (x ChromeOS_GscChip) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (ChromeOS_GscChip) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[30].Descriptor() |
| } |
| |
| func (ChromeOS_GscChip) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[30] |
| } |
| |
| func (x ChromeOS_GscChip) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use ChromeOS_GscChip.Descriptor instead. |
| func (ChromeOS_GscChip) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{36, 5} |
| } |
| |
| // Need to exactly matches VersionInfo_OsType in UFS dut_state. |
| type VersionInfo_OsType int32 |
| |
| const ( |
| VersionInfo_UNKNOWN VersionInfo_OsType = 0 |
| VersionInfo_CHROMEOS VersionInfo_OsType = 1 |
| VersionInfo_ANDROID VersionInfo_OsType = 2 |
| ) |
| |
| // Enum value maps for VersionInfo_OsType. |
| var ( |
| VersionInfo_OsType_name = map[int32]string{ |
| 0: "UNKNOWN", |
| 1: "CHROMEOS", |
| 2: "ANDROID", |
| } |
| VersionInfo_OsType_value = map[string]int32{ |
| "UNKNOWN": 0, |
| "CHROMEOS": 1, |
| "ANDROID": 2, |
| } |
| ) |
| |
| func (x VersionInfo_OsType) Enum() *VersionInfo_OsType { |
| p := new(VersionInfo_OsType) |
| *p = x |
| return p |
| } |
| |
| func (x VersionInfo_OsType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (VersionInfo_OsType) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[31].Descriptor() |
| } |
| |
| func (VersionInfo_OsType) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[31] |
| } |
| |
| func (x VersionInfo_OsType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use VersionInfo_OsType.Descriptor instead. |
| func (VersionInfo_OsType) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{43, 0} |
| } |
| |
| type Pasit_State int32 |
| |
| const ( |
| // State not specified. |
| Pasit_STATE_UNSPECIFIED Pasit_State = 0 |
| // Device and software on it is working as expected. |
| Pasit_STATE_WORKING Pasit_State = 1 |
| // Device is broken or not working as expected. |
| Pasit_STATE_BROKEN Pasit_State = 2 |
| ) |
| |
| // Enum value maps for Pasit_State. |
| var ( |
| Pasit_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "STATE_WORKING", |
| 2: "STATE_BROKEN", |
| } |
| Pasit_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "STATE_WORKING": 1, |
| "STATE_BROKEN": 2, |
| } |
| ) |
| |
| func (x Pasit_State) Enum() *Pasit_State { |
| p := new(Pasit_State) |
| *p = x |
| return p |
| } |
| |
| func (x Pasit_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Pasit_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[32].Descriptor() |
| } |
| |
| func (Pasit_State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[32] |
| } |
| |
| func (x Pasit_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Pasit_State.Descriptor instead. |
| func (Pasit_State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{44, 0} |
| } |
| |
| // The type of device represented. |
| type Pasit_Device_Type int32 |
| |
| const ( |
| Pasit_Device_UNKNOWN Pasit_Device_Type = 0 |
| Pasit_Device_DUT Pasit_Device_Type = 1 |
| Pasit_Device_SWITCH_FIXTURE Pasit_Device_Type = 2 |
| Pasit_Device_DOCKING_STATION Pasit_Device_Type = 3 |
| Pasit_Device_MONITOR Pasit_Device_Type = 4 |
| Pasit_Device_CAMERA Pasit_Device_Type = 5 |
| Pasit_Device_STORAGE Pasit_Device_Type = 6 |
| Pasit_Device_HID Pasit_Device_Type = 7 |
| Pasit_Device_NETWORK Pasit_Device_Type = 8 |
| Pasit_Device_HEADPHONE Pasit_Device_Type = 9 |
| Pasit_Device_SPEAKER Pasit_Device_Type = 10 |
| Pasit_Device_IP_POWER Pasit_Device_Type = 11 |
| Pasit_Device_USB_TESTER Pasit_Device_Type = 12 |
| ) |
| |
| // Enum value maps for Pasit_Device_Type. |
| var ( |
| Pasit_Device_Type_name = map[int32]string{ |
| 0: "UNKNOWN", |
| 1: "DUT", |
| 2: "SWITCH_FIXTURE", |
| 3: "DOCKING_STATION", |
| 4: "MONITOR", |
| 5: "CAMERA", |
| 6: "STORAGE", |
| 7: "HID", |
| 8: "NETWORK", |
| 9: "HEADPHONE", |
| 10: "SPEAKER", |
| 11: "IP_POWER", |
| 12: "USB_TESTER", |
| } |
| Pasit_Device_Type_value = map[string]int32{ |
| "UNKNOWN": 0, |
| "DUT": 1, |
| "SWITCH_FIXTURE": 2, |
| "DOCKING_STATION": 3, |
| "MONITOR": 4, |
| "CAMERA": 5, |
| "STORAGE": 6, |
| "HID": 7, |
| "NETWORK": 8, |
| "HEADPHONE": 9, |
| "SPEAKER": 10, |
| "IP_POWER": 11, |
| "USB_TESTER": 12, |
| } |
| ) |
| |
| func (x Pasit_Device_Type) Enum() *Pasit_Device_Type { |
| p := new(Pasit_Device_Type) |
| *p = x |
| return p |
| } |
| |
| func (x Pasit_Device_Type) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Pasit_Device_Type) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[33].Descriptor() |
| } |
| |
| func (Pasit_Device_Type) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes[33] |
| } |
| |
| func (x Pasit_Device_Type) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Pasit_Device_Type.Descriptor instead. |
| func (Pasit_Device_Type) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{44, 1, 0} |
| } |
| |
| // RunRequest represents result of executed command. |
| type RunRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Resource name |
| Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` |
| // Command executed on the resource. |
| Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` |
| // Command arguments. |
| Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` |
| // Command execution timeout. |
| Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` |
| // Run command in background. |
| InBackground bool `protobuf:"varint,5,opt,name=in_background,json=inBackground,proto3" json:"in_background,omitempty"` |
| // SSH username to use. Leave unset to use default (root). |
| SshUsername string `protobuf:"bytes,6,opt,name=ssh_username,json=sshUsername,proto3" json:"ssh_username,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *RunRequest) Reset() { |
| *x = RunRequest{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *RunRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunRequest) ProtoMessage() {} |
| |
| func (x *RunRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 RunRequest.ProtoReflect.Descriptor instead. |
| func (*RunRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *RunRequest) GetResource() string { |
| if x != nil { |
| return x.Resource |
| } |
| return "" |
| } |
| |
| func (x *RunRequest) GetCommand() string { |
| if x != nil { |
| return x.Command |
| } |
| return "" |
| } |
| |
| func (x *RunRequest) GetArgs() []string { |
| if x != nil { |
| return x.Args |
| } |
| return nil |
| } |
| |
| func (x *RunRequest) GetTimeout() *durationpb.Duration { |
| if x != nil { |
| return x.Timeout |
| } |
| return nil |
| } |
| |
| func (x *RunRequest) GetInBackground() bool { |
| if x != nil { |
| return x.InBackground |
| } |
| return false |
| } |
| |
| func (x *RunRequest) GetSshUsername() string { |
| if x != nil { |
| return x.SshUsername |
| } |
| return "" |
| } |
| |
| // RunResult represents result of executed command. |
| type RunResult struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Full command executed on the resource. |
| Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` |
| // Exit code return. |
| // Eg: 0 - everything is good |
| // |
| // 1 - executed stop with error code `1` |
| // 15 - timeout of execution |
| ExitCode int32 `protobuf:"varint,2,opt,name=ExitCode,proto3" json:"ExitCode,omitempty"` |
| // Standard output |
| Stdout string `protobuf:"bytes,3,opt,name=stdout,proto3" json:"stdout,omitempty"` |
| // Standard error output |
| Stderr string `protobuf:"bytes,4,opt,name=stderr,proto3" json:"stderr,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *RunResult) Reset() { |
| *x = RunResult{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *RunResult) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunResult) ProtoMessage() {} |
| |
| func (x *RunResult) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 RunResult.ProtoReflect.Descriptor instead. |
| func (*RunResult) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *RunResult) GetCommand() string { |
| if x != nil { |
| return x.Command |
| } |
| return "" |
| } |
| |
| func (x *RunResult) GetExitCode() int32 { |
| if x != nil { |
| return x.ExitCode |
| } |
| return 0 |
| } |
| |
| func (x *RunResult) GetStdout() string { |
| if x != nil { |
| return x.Stdout |
| } |
| return "" |
| } |
| |
| func (x *RunResult) GetStderr() string { |
| if x != nil { |
| return x.Stderr |
| } |
| return "" |
| } |
| |
| // ProvisionRequest provides data to perform provisioning of the device. |
| type ProvisionRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Resource name |
| Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` |
| // Path to system image. |
| // Path to the GS file. |
| // Example: gs://bucket/file_name |
| SystemImagePath string `protobuf:"bytes,2,opt,name=system_image_path,json=systemImagePath,proto3" json:"system_image_path,omitempty"` |
| // Prevent reboot during provision OS. |
| PreventReboot bool `protobuf:"varint,3,opt,name=prevent_reboot,json=preventReboot,proto3" json:"prevent_reboot,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ProvisionRequest) Reset() { |
| *x = ProvisionRequest{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ProvisionRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ProvisionRequest) ProtoMessage() {} |
| |
| func (x *ProvisionRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 ProvisionRequest.ProtoReflect.Descriptor instead. |
| func (*ProvisionRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *ProvisionRequest) GetResource() string { |
| if x != nil { |
| return x.Resource |
| } |
| return "" |
| } |
| |
| func (x *ProvisionRequest) GetSystemImagePath() string { |
| if x != nil { |
| return x.SystemImagePath |
| } |
| return "" |
| } |
| |
| func (x *ProvisionRequest) GetPreventReboot() bool { |
| if x != nil { |
| return x.PreventReboot |
| } |
| return false |
| } |
| |
| // CallBluetoothPeerRequest represents data to run command on bluetooth peer. |
| type CallBluetoothPeerRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Resource name |
| Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` |
| // Method called on service. |
| Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` |
| // Arguments provided to the service. |
| Args []*xmlrpc.Value `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CallBluetoothPeerRequest) Reset() { |
| *x = CallBluetoothPeerRequest{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CallBluetoothPeerRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CallBluetoothPeerRequest) ProtoMessage() {} |
| |
| func (x *CallBluetoothPeerRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 CallBluetoothPeerRequest.ProtoReflect.Descriptor instead. |
| func (*CallBluetoothPeerRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *CallBluetoothPeerRequest) GetResource() string { |
| if x != nil { |
| return x.Resource |
| } |
| return "" |
| } |
| |
| func (x *CallBluetoothPeerRequest) GetMethod() string { |
| if x != nil { |
| return x.Method |
| } |
| return "" |
| } |
| |
| func (x *CallBluetoothPeerRequest) GetArgs() []*xmlrpc.Value { |
| if x != nil { |
| return x.Args |
| } |
| return nil |
| } |
| |
| // CallBluetoothPeerResponse represents result data from running command on |
| // bluetooth peer. |
| type CallBluetoothPeerResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Value *xmlrpc.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` |
| Fault bool `protobuf:"varint,2,opt,name=fault,proto3" json:"fault,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CallBluetoothPeerResponse) Reset() { |
| *x = CallBluetoothPeerResponse{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CallBluetoothPeerResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CallBluetoothPeerResponse) ProtoMessage() {} |
| |
| func (x *CallBluetoothPeerResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 CallBluetoothPeerResponse.ProtoReflect.Descriptor instead. |
| func (*CallBluetoothPeerResponse) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *CallBluetoothPeerResponse) GetValue() *xmlrpc.Value { |
| if x != nil { |
| return x.Value |
| } |
| return nil |
| } |
| |
| func (x *CallBluetoothPeerResponse) GetFault() bool { |
| if x != nil { |
| return x.Fault |
| } |
| return false |
| } |
| |
| // CallTouchHostdRequest represents data to run command on touchhost. |
| type CallTouchHostdRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Resource name |
| Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` |
| // Method called on service. |
| Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` |
| // Arguments provided to the service. |
| Args []*xmlrpc.Value `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` |
| // Timeout |
| Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CallTouchHostdRequest) Reset() { |
| *x = CallTouchHostdRequest{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CallTouchHostdRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CallTouchHostdRequest) ProtoMessage() {} |
| |
| func (x *CallTouchHostdRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 CallTouchHostdRequest.ProtoReflect.Descriptor instead. |
| func (*CallTouchHostdRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *CallTouchHostdRequest) GetResource() string { |
| if x != nil { |
| return x.Resource |
| } |
| return "" |
| } |
| |
| func (x *CallTouchHostdRequest) GetMethod() string { |
| if x != nil { |
| return x.Method |
| } |
| return "" |
| } |
| |
| func (x *CallTouchHostdRequest) GetArgs() []*xmlrpc.Value { |
| if x != nil { |
| return x.Args |
| } |
| return nil |
| } |
| |
| func (x *CallTouchHostdRequest) GetTimeout() *durationpb.Duration { |
| if x != nil { |
| return x.Timeout |
| } |
| return nil |
| } |
| |
| // CallTouchHostdResponse represents result data from running command on |
| // touchhost. |
| type CallTouchHostdResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Value *xmlrpc.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` |
| Fault bool `protobuf:"varint,2,opt,name=fault,proto3" json:"fault,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CallTouchHostdResponse) Reset() { |
| *x = CallTouchHostdResponse{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CallTouchHostdResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CallTouchHostdResponse) ProtoMessage() {} |
| |
| func (x *CallTouchHostdResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 CallTouchHostdResponse.ProtoReflect.Descriptor instead. |
| func (*CallTouchHostdResponse) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *CallTouchHostdResponse) GetValue() *xmlrpc.Value { |
| if x != nil { |
| return x.Value |
| } |
| return nil |
| } |
| |
| func (x *CallTouchHostdResponse) GetFault() bool { |
| if x != nil { |
| return x.Fault |
| } |
| return false |
| } |
| |
| // RunRPMActionRequest represents data to perform action on RPM outlet. |
| type RunRPMActionRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Hostname of the DUT. |
| Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` |
| // Hostname of the RPM power unit, e.g. "chromeos6-row13_14-rack15-rpm2". |
| RpmHostname string `protobuf:"bytes,2,opt,name=rpm_hostname,json=rpmHostname,proto3" json:"rpm_hostname,omitempty"` |
| // Name to locate a specific outlet from a RPM power unit, e.g. ".A7". |
| RpmOutlet string `protobuf:"bytes,3,opt,name=rpm_outlet,json=rpmOutlet,proto3" json:"rpm_outlet,omitempty"` |
| // Expected state to switch on. |
| Action RunRPMActionRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=chromeos.recovery.RunRPMActionRequest_Action" json:"action,omitempty"` |
| // RPM type to operate on |
| RpmType RPMType `protobuf:"varint,5,opt,name=rpm_type,json=rpmType,proto3,enum=chromeos.recovery.RPMType" json:"rpm_type,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *RunRPMActionRequest) Reset() { |
| *x = RunRPMActionRequest{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *RunRPMActionRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunRPMActionRequest) ProtoMessage() {} |
| |
| func (x *RunRPMActionRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 RunRPMActionRequest.ProtoReflect.Descriptor instead. |
| func (*RunRPMActionRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{7} |
| } |
| |
| func (x *RunRPMActionRequest) GetHostname() string { |
| if x != nil { |
| return x.Hostname |
| } |
| return "" |
| } |
| |
| func (x *RunRPMActionRequest) GetRpmHostname() string { |
| if x != nil { |
| return x.RpmHostname |
| } |
| return "" |
| } |
| |
| func (x *RunRPMActionRequest) GetRpmOutlet() string { |
| if x != nil { |
| return x.RpmOutlet |
| } |
| return "" |
| } |
| |
| func (x *RunRPMActionRequest) GetAction() RunRPMActionRequest_Action { |
| if x != nil { |
| return x.Action |
| } |
| return RunRPMActionRequest_UNSPECIFIED |
| } |
| |
| func (x *RunRPMActionRequest) GetRpmType() RPMType { |
| if x != nil { |
| return x.RpmType |
| } |
| return RPMType_UNKNOWN |
| } |
| |
| // RPMOutlet is remote power management outlet allows perform an action to do |
| // OFF/ON/CYCLE on it. |
| type RPMOutlet struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Hostname of the RPM power unit, e.g. "chromeos6-row13_14-rack15-rpm2". |
| Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` |
| // Name to locate a specific outlet from a RPM power unit, e.g. ".A7". |
| Outlet string `protobuf:"bytes,2,opt,name=outlet,proto3" json:"outlet,omitempty"` |
| // State of the component. |
| State RPMOutlet_State `protobuf:"varint,3,opt,name=state,proto3,enum=chromeos.recovery.RPMOutlet_State" json:"state,omitempty"` |
| // RPM type to operate on |
| Type RPMType `protobuf:"varint,4,opt,name=type,proto3,enum=chromeos.recovery.RPMType" json:"type,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *RPMOutlet) Reset() { |
| *x = RPMOutlet{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[8] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *RPMOutlet) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RPMOutlet) ProtoMessage() {} |
| |
| func (x *RPMOutlet) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 RPMOutlet.ProtoReflect.Descriptor instead. |
| func (*RPMOutlet) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{8} |
| } |
| |
| func (x *RPMOutlet) GetHostname() string { |
| if x != nil { |
| return x.Hostname |
| } |
| return "" |
| } |
| |
| func (x *RPMOutlet) GetOutlet() string { |
| if x != nil { |
| return x.Outlet |
| } |
| return "" |
| } |
| |
| func (x *RPMOutlet) GetState() RPMOutlet_State { |
| if x != nil { |
| return x.State |
| } |
| return RPMOutlet_UNSPECIFIED |
| } |
| |
| func (x *RPMOutlet) GetType() RPMType { |
| if x != nil { |
| return x.Type |
| } |
| return RPMType_UNKNOWN |
| } |
| |
| // Router devices |
| type WifiRouterHost struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Name name of router device e.g. "chromeos15-row99-rack33-host105-router". |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // The state of the wifi router. |
| State WifiRouterHost_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.WifiRouterHost_State" json:"state,omitempty"` |
| // The model of the router. |
| Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` |
| // The board of the router. Deprecated as it is not used by anything anymore. |
| // |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/cros/recovery/tlw/models.proto. |
| Board string `protobuf:"bytes,4,opt,name=board,proto3" json:"board,omitempty"` |
| // RPMOutlet the router power connects to if it exists. |
| RPMOutlet *RPMOutlet `protobuf:"bytes,5,opt,name=RPMOutlet,proto3" json:"RPMOutlet,omitempty"` |
| // Supported test router hardware and software features. |
| Features []api.WifiRouterFeature `protobuf:"varint,6,rep,packed,name=features,proto3,enum=chromiumos.test.lab.api.WifiRouterFeature" json:"features,omitempty"` |
| // The type of router device this is (e.g. OpenWrt-based, ChromeOS Gale). |
| DeviceType api.WifiRouterDeviceType `protobuf:"varint,7,opt,name=device_type,json=deviceType,proto3,enum=chromiumos.test.lab.api.WifiRouterDeviceType" json:"device_type,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *WifiRouterHost) Reset() { |
| *x = WifiRouterHost{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[9] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *WifiRouterHost) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*WifiRouterHost) ProtoMessage() {} |
| |
| func (x *WifiRouterHost) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 WifiRouterHost.ProtoReflect.Descriptor instead. |
| func (*WifiRouterHost) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{9} |
| } |
| |
| func (x *WifiRouterHost) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *WifiRouterHost) GetState() WifiRouterHost_State { |
| if x != nil { |
| return x.State |
| } |
| return WifiRouterHost_UNSPECIFIED |
| } |
| |
| func (x *WifiRouterHost) GetModel() string { |
| if x != nil { |
| return x.Model |
| } |
| return "" |
| } |
| |
| // Deprecated: Marked as deprecated in go.chromium.org/infra/cros/recovery/tlw/models.proto. |
| func (x *WifiRouterHost) GetBoard() string { |
| if x != nil { |
| return x.Board |
| } |
| return "" |
| } |
| |
| func (x *WifiRouterHost) GetRPMOutlet() *RPMOutlet { |
| if x != nil { |
| return x.RPMOutlet |
| } |
| return nil |
| } |
| |
| func (x *WifiRouterHost) GetFeatures() []api.WifiRouterFeature { |
| if x != nil { |
| return x.Features |
| } |
| return nil |
| } |
| |
| func (x *WifiRouterHost) GetDeviceType() api.WifiRouterDeviceType { |
| if x != nil { |
| return x.DeviceType |
| } |
| return api.WifiRouterDeviceType(0) |
| } |
| |
| type AsusWrtRouterControllerState struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| AsusModel string `protobuf:"bytes,1,opt,name=asus_model,json=asusModel,proto3" json:"asus_model,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AsusWrtRouterControllerState) Reset() { |
| *x = AsusWrtRouterControllerState{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[10] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AsusWrtRouterControllerState) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AsusWrtRouterControllerState) ProtoMessage() {} |
| |
| func (x *AsusWrtRouterControllerState) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 AsusWrtRouterControllerState.ProtoReflect.Descriptor instead. |
| func (*AsusWrtRouterControllerState) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{10} |
| } |
| |
| func (x *AsusWrtRouterControllerState) GetAsusModel() string { |
| if x != nil { |
| return x.AsusModel |
| } |
| return "" |
| } |
| |
| type OpenWrtRouterControllerState struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| DeviceBuildInfo *api.CrosOpenWrtImageBuildInfo `protobuf:"bytes,1,opt,name=device_build_info,json=deviceBuildInfo,proto3" json:"device_build_info,omitempty"` |
| Config *api.OpenWrtWifiRouterDeviceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` |
| ExpectedImageUuid string `protobuf:"bytes,3,opt,name=expected_image_uuid,json=expectedImageUuid,proto3" json:"expected_image_uuid,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *OpenWrtRouterControllerState) Reset() { |
| *x = OpenWrtRouterControllerState{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[11] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *OpenWrtRouterControllerState) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*OpenWrtRouterControllerState) ProtoMessage() {} |
| |
| func (x *OpenWrtRouterControllerState) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 OpenWrtRouterControllerState.ProtoReflect.Descriptor instead. |
| func (*OpenWrtRouterControllerState) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{11} |
| } |
| |
| func (x *OpenWrtRouterControllerState) GetDeviceBuildInfo() *api.CrosOpenWrtImageBuildInfo { |
| if x != nil { |
| return x.DeviceBuildInfo |
| } |
| return nil |
| } |
| |
| func (x *OpenWrtRouterControllerState) GetConfig() *api.OpenWrtWifiRouterDeviceConfig { |
| if x != nil { |
| return x.Config |
| } |
| return nil |
| } |
| |
| func (x *OpenWrtRouterControllerState) GetExpectedImageUuid() string { |
| if x != nil { |
| return x.ExpectedImageUuid |
| } |
| return "" |
| } |
| |
| // UbuntuRouterControllerState holds exec state information for wifirouter |
| // execs that use the UbuntuRouterController. |
| // Used only as internal state for scope. Do not use for store data. |
| type UbuntuRouterControllerState struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // The system product name as specified in the device's DMI table. |
| SystemProductName string `protobuf:"bytes,1,opt,name=system_product_name,json=systemProductName,proto3" json:"system_product_name,omitempty"` |
| // The name of the network controller found on the device. |
| NetworkControllerName string `protobuf:"bytes,2,opt,name=network_controller_name,json=networkControllerName,proto3" json:"network_controller_name,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *UbuntuRouterControllerState) Reset() { |
| *x = UbuntuRouterControllerState{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[12] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *UbuntuRouterControllerState) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UbuntuRouterControllerState) ProtoMessage() {} |
| |
| func (x *UbuntuRouterControllerState) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 UbuntuRouterControllerState.ProtoReflect.Descriptor instead. |
| func (*UbuntuRouterControllerState) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{12} |
| } |
| |
| func (x *UbuntuRouterControllerState) GetSystemProductName() string { |
| if x != nil { |
| return x.SystemProductName |
| } |
| return "" |
| } |
| |
| func (x *UbuntuRouterControllerState) GetNetworkControllerName() string { |
| if x != nil { |
| return x.NetworkControllerName |
| } |
| return "" |
| } |
| |
| // BluetoothPeerScopeState holds exec state information for btpeer execs. |
| // Meant to describe the exec state for a single btpeer. |
| // Used only as internal state for scope. Do not use for store data. |
| type BluetoothPeerScopeState struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Reference to the BluetoothPeer device this state is for. |
| Btpeer *BluetoothPeer `protobuf:"bytes,1,opt,name=btpeer,proto3" json:"btpeer,omitempty"` |
| // Chameleond state info for this btpeer. |
| Chameleond *BluetoothPeerScopeState_Chameleond `protobuf:"bytes,2,opt,name=chameleond,proto3" json:"chameleond,omitempty"` |
| // RaspiosCrosBtpeerImage state info for this btpeer. |
| RaspiosCrosBtpeerImage *BluetoothPeerScopeState_RaspiosCrosBtpeerImage `protobuf:"bytes,3,opt,name=raspios_cros_btpeer_image,json=raspiosCrosBtpeerImage,proto3" json:"raspios_cros_btpeer_image,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BluetoothPeerScopeState) Reset() { |
| *x = BluetoothPeerScopeState{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[13] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BluetoothPeerScopeState) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BluetoothPeerScopeState) ProtoMessage() {} |
| |
| func (x *BluetoothPeerScopeState) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 BluetoothPeerScopeState.ProtoReflect.Descriptor instead. |
| func (*BluetoothPeerScopeState) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{13} |
| } |
| |
| func (x *BluetoothPeerScopeState) GetBtpeer() *BluetoothPeer { |
| if x != nil { |
| return x.Btpeer |
| } |
| return nil |
| } |
| |
| func (x *BluetoothPeerScopeState) GetChameleond() *BluetoothPeerScopeState_Chameleond { |
| if x != nil { |
| return x.Chameleond |
| } |
| return nil |
| } |
| |
| func (x *BluetoothPeerScopeState) GetRaspiosCrosBtpeerImage() *BluetoothPeerScopeState_RaspiosCrosBtpeerImage { |
| if x != nil { |
| return x.RaspiosCrosBtpeerImage |
| } |
| return nil |
| } |
| |
| // CrosAudio holds infor for audio information of the DUT. |
| type DUTAudio struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Indicate if the DUT is housed in an audio box to record / replay audio |
| // for audio testing. |
| InBox bool `protobuf:"varint,1,opt,name=in_box,json=inBox,proto3" json:"in_box,omitempty"` |
| // Indicate if the DUT is connected to Atrus speakermic |
| Atrus bool `protobuf:"varint,2,opt,name=atrus,proto3" json:"atrus,omitempty"` |
| // Indicate if the DUT is connected to chameleon through static audio cable |
| StaticCable bool `protobuf:"varint,3,opt,name=static_cable,json=staticCable,proto3" json:"static_cable,omitempty"` |
| // Audio loopback dongle is plugged in. |
| LoopbackState DUTAudio_LoopbackState `protobuf:"varint,4,opt,name=loopback_state,json=loopbackState,proto3,enum=chromeos.recovery.DUTAudio_LoopbackState" json:"loopback_state,omitempty"` |
| // The type of Audio Beamforming on the DUT. |
| Beamforming string `protobuf:"bytes,5,opt,name=beamforming,proto3" json:"beamforming,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *DUTAudio) Reset() { |
| *x = DUTAudio{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[14] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *DUTAudio) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*DUTAudio) ProtoMessage() {} |
| |
| func (x *DUTAudio) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 DUTAudio.ProtoReflect.Descriptor instead. |
| func (*DUTAudio) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{14} |
| } |
| |
| func (x *DUTAudio) GetInBox() bool { |
| if x != nil { |
| return x.InBox |
| } |
| return false |
| } |
| |
| func (x *DUTAudio) GetAtrus() bool { |
| if x != nil { |
| return x.Atrus |
| } |
| return false |
| } |
| |
| func (x *DUTAudio) GetStaticCable() bool { |
| if x != nil { |
| return x.StaticCable |
| } |
| return false |
| } |
| |
| func (x *DUTAudio) GetLoopbackState() DUTAudio_LoopbackState { |
| if x != nil { |
| return x.LoopbackState |
| } |
| return DUTAudio_LOOPBACK_UNSPECIFIED |
| } |
| |
| func (x *DUTAudio) GetBeamforming() string { |
| if x != nil { |
| return x.Beamforming |
| } |
| return "" |
| } |
| |
| // InitServodRequest represents data to initiate servod daemon on servo-host. |
| type InitServodRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Resource name of device. |
| Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` |
| // ServodOptions options to provide options for servod daemon. |
| Options *ServodOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` |
| // Prepare servo-host without servod service. |
| NoServod bool `protobuf:"varint,3,opt,name=no_servod,json=noServod,proto3" json:"no_servod,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *InitServodRequest) Reset() { |
| *x = InitServodRequest{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[15] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *InitServodRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*InitServodRequest) ProtoMessage() {} |
| |
| func (x *InitServodRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 InitServodRequest.ProtoReflect.Descriptor instead. |
| func (*InitServodRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{15} |
| } |
| |
| func (x *InitServodRequest) GetResource() string { |
| if x != nil { |
| return x.Resource |
| } |
| return "" |
| } |
| |
| func (x *InitServodRequest) GetOptions() *ServodOptions { |
| if x != nil { |
| return x.Options |
| } |
| return nil |
| } |
| |
| func (x *InitServodRequest) GetNoServod() bool { |
| if x != nil { |
| return x.NoServod |
| } |
| return false |
| } |
| |
| // ServodOption represents options to start servod. |
| type ServodOptions struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Board of DUT connected to servod. |
| DutBoard string `protobuf:"bytes,1,opt,name=dut_board,json=dutBoard,proto3" json:"dut_board,omitempty"` |
| // Model of DUT connected to servod. |
| DutModel string `protobuf:"bytes,2,opt,name=dut_model,json=dutModel,proto3" json:"dut_model,omitempty"` |
| // Port assigned to servod. |
| ServodPort int32 `protobuf:"varint,3,opt,name=servod_port,json=servodPort,proto3" json:"servod_port,omitempty"` |
| // Servo board serial. |
| ServoSerial string `protobuf:"bytes,4,opt,name=servo_serial,json=servoSerial,proto3" json:"servo_serial,omitempty"` |
| // Specified dual setup for servod. |
| ServoDual bool `protobuf:"varint,5,opt,name=servo_dual,json=servoDual,proto3" json:"servo_dual,omitempty"` |
| // Specified if need apply CR50 config. |
| UseCr50Config bool `protobuf:"varint,6,opt,name=use_cr50_config,json=useCr50Config,proto3" json:"use_cr50_config,omitempty"` |
| // Use recovery mode when start servod. |
| RecoveryMode bool `protobuf:"varint,7,opt,name=recovery_mode,json=recoveryMode,proto3" json:"recovery_mode,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ServodOptions) Reset() { |
| *x = ServodOptions{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[16] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ServodOptions) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ServodOptions) ProtoMessage() {} |
| |
| func (x *ServodOptions) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 ServodOptions.ProtoReflect.Descriptor instead. |
| func (*ServodOptions) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{16} |
| } |
| |
| func (x *ServodOptions) GetDutBoard() string { |
| if x != nil { |
| return x.DutBoard |
| } |
| return "" |
| } |
| |
| func (x *ServodOptions) GetDutModel() string { |
| if x != nil { |
| return x.DutModel |
| } |
| return "" |
| } |
| |
| func (x *ServodOptions) GetServodPort() int32 { |
| if x != nil { |
| return x.ServodPort |
| } |
| return 0 |
| } |
| |
| func (x *ServodOptions) GetServoSerial() string { |
| if x != nil { |
| return x.ServoSerial |
| } |
| return "" |
| } |
| |
| func (x *ServodOptions) GetServoDual() bool { |
| if x != nil { |
| return x.ServoDual |
| } |
| return false |
| } |
| |
| func (x *ServodOptions) GetUseCr50Config() bool { |
| if x != nil { |
| return x.UseCr50Config |
| } |
| return false |
| } |
| |
| func (x *ServodOptions) GetRecoveryMode() bool { |
| if x != nil { |
| return x.RecoveryMode |
| } |
| return false |
| } |
| |
| // ServoTopology describes servo devices used to provide servo functionality. |
| type ServoTopology struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Root *ServoTopologyItem `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` |
| Children []*ServoTopologyItem `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ServoTopology) Reset() { |
| *x = ServoTopology{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[17] |
| 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_cros_recovery_tlw_models_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 ServoTopology.ProtoReflect.Descriptor instead. |
| func (*ServoTopology) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{17} |
| } |
| |
| func (x *ServoTopology) GetRoot() *ServoTopologyItem { |
| if x != nil { |
| return x.Root |
| } |
| return nil |
| } |
| |
| func (x *ServoTopology) GetChildren() []*ServoTopologyItem { |
| if x != nil { |
| return x.Children |
| } |
| return nil |
| } |
| |
| // ServoTopologyItem describes details of one servo device. |
| 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,proto3" 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,proto3" json:"sysfs_product,omitempty"` |
| // serial provides the serial number of the device. |
| Serial string `protobuf:"bytes,3,opt,name=serial,proto3" 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,proto3" json:"usb_hub_port,omitempty"` |
| // This is the complete path on the file system for the servo device. |
| SysfsPath string `protobuf:"bytes,5,opt,name=sysfs_path,json=sysfsPath,proto3" json:"sysfs_path,omitempty"` |
| // This is the version of servo device. |
| FwVersion string `protobuf:"bytes,6,opt,name=fw_version,json=fwVersion,proto3" json:"fw_version,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,proto3" json:"vid_pid,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ServoTopologyItem) Reset() { |
| *x = ServoTopologyItem{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[18] |
| 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_cros_recovery_tlw_models_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 ServoTopologyItem.ProtoReflect.Descriptor instead. |
| func (*ServoTopologyItem) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{18} |
| } |
| |
| func (x *ServoTopologyItem) GetType() string { |
| if x != nil { |
| return x.Type |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetSysfsProduct() string { |
| if x != nil { |
| return x.SysfsProduct |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetSerial() string { |
| if x != nil { |
| return x.Serial |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetUsbHubPort() string { |
| if x != nil { |
| return x.UsbHubPort |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetSysfsPath() string { |
| if x != nil { |
| return x.SysfsPath |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetFwVersion() string { |
| if x != nil { |
| return x.FwVersion |
| } |
| return "" |
| } |
| |
| func (x *ServoTopologyItem) GetVidPid() string { |
| if x != nil { |
| return x.VidPid |
| } |
| return "" |
| } |
| |
| // ServoHost holds info about host to manage servod services and verify |
| // connected servo devices. Example: labstation, servo-host container. |
| type ServoHost struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Name is the resource name. |
| Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` |
| State ServoHost_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.ServoHost_State" json:"state,omitempty"` |
| // Serial number of the root servo device. |
| SerialNumber string `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` |
| // Channel of firmware used on servo devices. |
| FirmwareChannel ServoFwChannel `protobuf:"varint,4,opt,name=firmware_channel,json=firmwareChannel,proto3,enum=chromeos.recovery.ServoFwChannel" json:"firmware_channel,omitempty"` |
| // Self representation of servo-setup by servod. |
| // Example: servo_v4_with_servo_micro, servo_v4_with_ccd_cr50. |
| ServodType string `protobuf:"bytes,5,opt,name=servod_type,json=servodType,proto3" json:"servod_type,omitempty"` |
| // State of the USB-key connected to the servo. |
| UsbkeyState HardwareState `protobuf:"varint,6,opt,name=usbkey_state,json=usbkeyState,proto3,enum=chromeos.recovery.HardwareState" json:"usbkey_state,omitempty"` |
| // Port user on the host to run servod daemon. Expected value between 9900 |
| // and 9999. |
| ServodPort int32 `protobuf:"varint,7,opt,name=servod_port,json=servodPort,proto3" json:"servod_port,omitempty"` |
| // Smart USB-hub is present on setup. |
| SmartUsbhubPresent bool `protobuf:"varint,8,opt,name=smart_usbhub_present,json=smartUsbhubPresent,proto3" json:"smart_usbhub_present,omitempty"` |
| // Servo Topology of servo devices. |
| ServoTopology *ServoTopology `protobuf:"bytes,9,opt,name=servo_topology,json=servoTopology,proto3" json:"servo_topology,omitempty"` |
| // Name of the servod container if the servo uses a |
| // servod-container. |
| ContainerName string `protobuf:"bytes,10,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` |
| // UsbDrive contains details of the servo's plugged USB drive. |
| UsbDrive *api.UsbDrive `protobuf:"bytes,11,opt,name=usb_drive,json=usbDrive,proto3" json:"usb_drive,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ServoHost) Reset() { |
| *x = ServoHost{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[19] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ServoHost) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ServoHost) ProtoMessage() {} |
| |
| func (x *ServoHost) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 ServoHost.ProtoReflect.Descriptor instead. |
| func (*ServoHost) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{19} |
| } |
| |
| func (x *ServoHost) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *ServoHost) GetState() ServoHost_State { |
| if x != nil { |
| return x.State |
| } |
| return ServoHost_STATE_UNSPECIFIED |
| } |
| |
| func (x *ServoHost) GetSerialNumber() string { |
| if x != nil { |
| return x.SerialNumber |
| } |
| return "" |
| } |
| |
| func (x *ServoHost) GetFirmwareChannel() ServoFwChannel { |
| if x != nil { |
| return x.FirmwareChannel |
| } |
| return ServoFwChannel_FW_UNSPECIFIED |
| } |
| |
| func (x *ServoHost) GetServodType() string { |
| if x != nil { |
| return x.ServodType |
| } |
| return "" |
| } |
| |
| func (x *ServoHost) GetUsbkeyState() HardwareState { |
| if x != nil { |
| return x.UsbkeyState |
| } |
| return HardwareState_HARDWARE_UNSPECIFIED |
| } |
| |
| func (x *ServoHost) GetServodPort() int32 { |
| if x != nil { |
| return x.ServodPort |
| } |
| return 0 |
| } |
| |
| func (x *ServoHost) GetSmartUsbhubPresent() bool { |
| if x != nil { |
| return x.SmartUsbhubPresent |
| } |
| return false |
| } |
| |
| func (x *ServoHost) GetServoTopology() *ServoTopology { |
| if x != nil { |
| return x.ServoTopology |
| } |
| return nil |
| } |
| |
| func (x *ServoHost) GetContainerName() string { |
| if x != nil { |
| return x.ContainerName |
| } |
| return "" |
| } |
| |
| func (x *ServoHost) GetUsbDrive() *api.UsbDrive { |
| if x != nil { |
| return x.UsbDrive |
| } |
| return nil |
| } |
| |
| // ProvisionedInfo holds info about provisioned info for the DUT. |
| type ProvisionedInfo struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // CrosVersion tells which ChromeOS version is on the DUT. |
| // Example: board-release/R90-13816.47.0 |
| CrosVersion string `protobuf:"bytes,1,opt,name=cros_version,json=crosVersion,proto3" json:"cros_version,omitempty"` |
| // JobRepoUrl provide path to download client code to the DUT. |
| // Example: http://{cache_server}:8082/download/{gs_path} |
| JobRepoUrl string `protobuf:"bytes,2,opt,name=job_repo_url,json=jobRepoUrl,proto3" json:"job_repo_url,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ProvisionedInfo) Reset() { |
| *x = ProvisionedInfo{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[20] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ProvisionedInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ProvisionedInfo) ProtoMessage() {} |
| |
| func (x *ProvisionedInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_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 ProvisionedInfo.ProtoReflect.Descriptor instead. |
| func (*ProvisionedInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{20} |
| } |
| |
| func (x *ProvisionedInfo) GetCrosVersion() string { |
| if x != nil { |
| return x.CrosVersion |
| } |
| return "" |
| } |
| |
| func (x *ProvisionedInfo) GetJobRepoUrl() string { |
| if x != nil { |
| return x.JobRepoUrl |
| } |
| return "" |
| } |
| |
| // Storage holds info about internal storage of the DUT. |
| type Storage struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // State of the component. |
| State HardwareState `protobuf:"varint,1,opt,name=state,proto3,enum=chromeos.recovery.HardwareState" json:"state,omitempty"` |
| // Type of storage used on device. |
| Type api.StorageType `protobuf:"varint,2,opt,name=type,proto3,enum=chromiumos.test.lab.api.StorageType" json:"type,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Storage) Reset() { |
| *x = Storage{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[21] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Storage) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Storage) ProtoMessage() {} |
| |
| func (x *Storage) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[21] |
| 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 Storage.ProtoReflect.Descriptor instead. |
| func (*Storage) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{21} |
| } |
| |
| func (x *Storage) GetState() HardwareState { |
| if x != nil { |
| return x.State |
| } |
| return HardwareState_HARDWARE_UNSPECIFIED |
| } |
| |
| func (x *Storage) GetType() api.StorageType { |
| if x != nil { |
| return x.Type |
| } |
| return api.StorageType(0) |
| } |
| |
| // Chameleon holds info about chameleon device. |
| type Chameleon struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Name is the resource name. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // State of the device. |
| State Chameleon_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.Chameleon_State" json:"state,omitempty"` |
| // RPMOutlet of the Chameleon. |
| RPMOutlet *RPMOutlet `protobuf:"bytes,3,opt,name=RPMOutlet,proto3" json:"RPMOutlet,omitempty"` |
| // State of the AudioBoxJackPlugger |
| Audioboxjackpluggerstate Chameleon_AudioBoxJackPluggerState `protobuf:"varint,4,opt,name=audioboxjackpluggerstate,proto3,enum=chromeos.recovery.Chameleon_AudioBoxJackPluggerState" json:"audioboxjackpluggerstate,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Chameleon) Reset() { |
| *x = Chameleon{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[22] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Chameleon) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Chameleon) ProtoMessage() {} |
| |
| func (x *Chameleon) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[22] |
| 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 Chameleon.ProtoReflect.Descriptor instead. |
| func (*Chameleon) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{22} |
| } |
| |
| func (x *Chameleon) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *Chameleon) GetState() Chameleon_State { |
| if x != nil { |
| return x.State |
| } |
| return Chameleon_STATE_UNSPECIFIED |
| } |
| |
| func (x *Chameleon) GetRPMOutlet() *RPMOutlet { |
| if x != nil { |
| return x.RPMOutlet |
| } |
| return nil |
| } |
| |
| func (x *Chameleon) GetAudioboxjackpluggerstate() Chameleon_AudioBoxJackPluggerState { |
| if x != nil { |
| return x.Audioboxjackpluggerstate |
| } |
| return Chameleon_AUDIOBOX_JACKPLUGGER_UNSPECIFIED |
| } |
| |
| // BesBoard holds info about bes board device. |
| type BesBoard struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| SerialPort string `protobuf:"bytes,1,opt,name=serial_port,json=serialPort,proto3" json:"serial_port,omitempty"` |
| BtAddress string `protobuf:"bytes,2,opt,name=bt_address,json=btAddress,proto3" json:"bt_address,omitempty"` |
| // State of the device. |
| State BesBoard_State `protobuf:"varint,3,opt,name=state,proto3,enum=chromeos.recovery.BesBoard_State" json:"state,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BesBoard) Reset() { |
| *x = BesBoard{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[23] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BesBoard) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BesBoard) ProtoMessage() {} |
| |
| func (x *BesBoard) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[23] |
| 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 BesBoard.ProtoReflect.Descriptor instead. |
| func (*BesBoard) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{23} |
| } |
| |
| func (x *BesBoard) GetSerialPort() string { |
| if x != nil { |
| return x.SerialPort |
| } |
| return "" |
| } |
| |
| func (x *BesBoard) GetBtAddress() string { |
| if x != nil { |
| return x.BtAddress |
| } |
| return "" |
| } |
| |
| func (x *BesBoard) GetState() BesBoard_State { |
| if x != nil { |
| return x.State |
| } |
| return BesBoard_STATE_UNSPECIFIED |
| } |
| |
| // BluetoothPeer models a Bluetooth peer device and its state as used by |
| // recovery. |
| type BluetoothPeer struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Name is the resource name. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // State of the device. |
| State BluetoothPeer_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.BluetoothPeer_State" json:"state,omitempty"` |
| // RPM of the device |
| RpmOutlet *RPMOutlet `protobuf:"bytes,3,opt,name=rpm_outlet,json=rpmOutlet,proto3" json:"rpm_outlet,omitempty"` |
| BesBoards []*BesBoard `protobuf:"bytes,4,rep,name=bes_boards,json=besBoards,proto3" json:"bes_boards,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BluetoothPeer) Reset() { |
| *x = BluetoothPeer{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[24] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BluetoothPeer) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BluetoothPeer) ProtoMessage() {} |
| |
| func (x *BluetoothPeer) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[24] |
| 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 BluetoothPeer.ProtoReflect.Descriptor instead. |
| func (*BluetoothPeer) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{24} |
| } |
| |
| func (x *BluetoothPeer) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *BluetoothPeer) GetState() BluetoothPeer_State { |
| if x != nil { |
| return x.State |
| } |
| return BluetoothPeer_STATE_UNSPECIFIED |
| } |
| |
| func (x *BluetoothPeer) GetRpmOutlet() *RPMOutlet { |
| if x != nil { |
| return x.RpmOutlet |
| } |
| return nil |
| } |
| |
| func (x *BluetoothPeer) GetBesBoards() []*BesBoard { |
| if x != nil { |
| return x.BesBoards |
| } |
| return nil |
| } |
| |
| // Wifi holds info about internal wifi of the DUT. |
| type Wifi struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // State of the component. |
| State HardwareState `protobuf:"varint,1,opt,name=state,proto3,enum=chromeos.recovery.HardwareState" json:"state,omitempty"` |
| // Name of wifi chip used on the device. |
| ChipName string `protobuf:"bytes,2,opt,name=chip_name,json=chipName,proto3" json:"chip_name,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Wifi) Reset() { |
| *x = Wifi{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[25] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Wifi) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Wifi) ProtoMessage() {} |
| |
| func (x *Wifi) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[25] |
| 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 Wifi.ProtoReflect.Descriptor instead. |
| func (*Wifi) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{25} |
| } |
| |
| func (x *Wifi) GetState() HardwareState { |
| if x != nil { |
| return x.State |
| } |
| return HardwareState_HARDWARE_UNSPECIFIED |
| } |
| |
| func (x *Wifi) GetChipName() string { |
| if x != nil { |
| return x.ChipName |
| } |
| return "" |
| } |
| |
| // Bluetooth holds info about internal bluetooth of the DUT. |
| type Bluetooth struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // State of the component. |
| State HardwareState `protobuf:"varint,1,opt,name=state,proto3,enum=chromeos.recovery.HardwareState" json:"state,omitempty"` |
| // The hardware expected present based on hardware feature. |
| Expected bool `protobuf:"varint,2,opt,name=expected,proto3" json:"expected,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Bluetooth) Reset() { |
| *x = Bluetooth{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[26] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Bluetooth) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Bluetooth) ProtoMessage() {} |
| |
| func (x *Bluetooth) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[26] |
| 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 Bluetooth.ProtoReflect.Descriptor instead. |
| func (*Bluetooth) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{26} |
| } |
| |
| func (x *Bluetooth) GetState() HardwareState { |
| if x != nil { |
| return x.State |
| } |
| return HardwareState_HARDWARE_UNSPECIFIED |
| } |
| |
| func (x *Bluetooth) GetExpected() bool { |
| if x != nil { |
| return x.Expected |
| } |
| return false |
| } |
| |
| // Cellular holds info about the cellular of the DUT. |
| type Cellular struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // State of the modem. |
| ModemState HardwareState `protobuf:"varint,1,opt,name=modem_state,json=modemState,proto3,enum=chromeos.recovery.HardwareState" json:"modem_state,omitempty"` |
| // Device carrier. |
| Carrier string `protobuf:"bytes,2,opt,name=carrier,proto3" json:"carrier,omitempty"` |
| // Model variant. |
| ModelVariant string `protobuf:"bytes,3,opt,name=model_variant,json=modelVariant,proto3" json:"model_variant,omitempty"` |
| // Modem-specific label info. |
| ModemInfo *Cellular_ModemInfo `protobuf:"bytes,4,opt,name=modem_info,json=modemInfo,proto3" json:"modem_info,omitempty"` |
| // Information on all SIMs available on the DUT. |
| SimInfos []*Cellular_SIMInfo `protobuf:"bytes,5,rep,name=sim_infos,json=simInfos,proto3" json:"sim_infos,omitempty"` |
| // Information on all carrier dependencies that can be satisfied by this DUT. |
| SupportedCarriers []string `protobuf:"bytes,6,rep,name=supported_carriers,json=supportedCarriers,proto3" json:"supported_carriers,omitempty"` |
| // State of the starfish connected to the device. |
| StarfishState Cellular_StarfishState `protobuf:"varint,7,opt,name=starfish_state,json=starfishState,proto3,enum=chromeos.recovery.Cellular_StarfishState" json:"starfish_state,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Cellular) Reset() { |
| *x = Cellular{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[27] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Cellular) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Cellular) ProtoMessage() {} |
| |
| func (x *Cellular) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[27] |
| 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 Cellular.ProtoReflect.Descriptor instead. |
| func (*Cellular) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{27} |
| } |
| |
| func (x *Cellular) GetModemState() HardwareState { |
| if x != nil { |
| return x.ModemState |
| } |
| return HardwareState_HARDWARE_UNSPECIFIED |
| } |
| |
| func (x *Cellular) GetCarrier() string { |
| if x != nil { |
| return x.Carrier |
| } |
| return "" |
| } |
| |
| func (x *Cellular) GetModelVariant() string { |
| if x != nil { |
| return x.ModelVariant |
| } |
| return "" |
| } |
| |
| func (x *Cellular) GetModemInfo() *Cellular_ModemInfo { |
| if x != nil { |
| return x.ModemInfo |
| } |
| return nil |
| } |
| |
| func (x *Cellular) GetSimInfos() []*Cellular_SIMInfo { |
| if x != nil { |
| return x.SimInfos |
| } |
| return nil |
| } |
| |
| func (x *Cellular) GetSupportedCarriers() []string { |
| if x != nil { |
| return x.SupportedCarriers |
| } |
| return nil |
| } |
| |
| func (x *Cellular) GetStarfishState() Cellular_StarfishState { |
| if x != nil { |
| return x.StarfishState |
| } |
| return Cellular_STARFISH_STATE_UNSPECIFIED |
| } |
| |
| // Battery holds info about battery of the DUT. |
| type Battery struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // State of the component. |
| State HardwareState `protobuf:"varint,1,opt,name=state,proto3,enum=chromeos.recovery.HardwareState" json:"state,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Battery) Reset() { |
| *x = Battery{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[28] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Battery) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Battery) ProtoMessage() {} |
| |
| func (x *Battery) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[28] |
| 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 Battery.ProtoReflect.Descriptor instead. |
| func (*Battery) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{28} |
| } |
| |
| func (x *Battery) GetState() HardwareState { |
| if x != nil { |
| return x.State |
| } |
| return HardwareState_HARDWARE_UNSPECIFIED |
| } |
| |
| // HumanMotionRobot holds info about human motion robot of the DUT |
| type HumanMotionRobot struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Hostname of HMR-Pi |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // State of the device. |
| State HumanMotionRobot_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.HumanMotionRobot_State" json:"state,omitempty"` |
| // Hostname of Gateway host (touchhost) Pi |
| Touchhost string `protobuf:"bytes,3,opt,name=touchhost,proto3" json:"touchhost,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *HumanMotionRobot) Reset() { |
| *x = HumanMotionRobot{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[29] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *HumanMotionRobot) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*HumanMotionRobot) ProtoMessage() {} |
| |
| func (x *HumanMotionRobot) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[29] |
| 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 HumanMotionRobot.ProtoReflect.Descriptor instead. |
| func (*HumanMotionRobot) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{29} |
| } |
| |
| func (x *HumanMotionRobot) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *HumanMotionRobot) GetState() HumanMotionRobot_State { |
| if x != nil { |
| return x.State |
| } |
| return HumanMotionRobot_STATE_UNSPECIFIED |
| } |
| |
| func (x *HumanMotionRobot) GetTouchhost() string { |
| if x != nil { |
| return x.Touchhost |
| } |
| return "" |
| } |
| |
| // Dolos holds info about a Dolos device of the DUT. |
| type Dolos struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Serial used to identify device over USB |
| SerialCable string `protobuf:"bytes,1,opt,name=serial_cable,json=serialCable,proto3" json:"serial_cable,omitempty"` |
| // Serial of the cable_cable |
| SerialUsb string `protobuf:"bytes,2,opt,name=serial_usb,json=serialUsb,proto3" json:"serial_usb,omitempty"` |
| // Hardware revision |
| HwMajorRevision Dolos_DolosHWMajorRevision `protobuf:"varint,3,opt,name=hw_major_revision,json=hwMajorRevision,proto3,enum=chromeos.recovery.Dolos_DolosHWMajorRevision" json:"hw_major_revision,omitempty"` |
| // Dolos firmware version |
| FwVersion string `protobuf:"bytes,4,opt,name=fw_version,json=fwVersion,proto3" json:"fw_version,omitempty"` |
| // Hostname of the host machine the dolos connected to via USB cable. |
| Hostname string `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"` |
| // State of the device. |
| State Dolos_State `protobuf:"varint,6,opt,name=state,proto3,enum=chromeos.recovery.Dolos_State" json:"state,omitempty"` |
| // RPMOutlet of the Dolos setup. |
| RpmOutlet *RPMOutlet `protobuf:"bytes,7,opt,name=rpm_outlet,json=rpmOutlet,proto3" json:"rpm_outlet,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Dolos) Reset() { |
| *x = Dolos{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[30] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Dolos) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Dolos) ProtoMessage() {} |
| |
| func (x *Dolos) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[30] |
| 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 Dolos.ProtoReflect.Descriptor instead. |
| func (*Dolos) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{30} |
| } |
| |
| func (x *Dolos) GetSerialCable() string { |
| if x != nil { |
| return x.SerialCable |
| } |
| return "" |
| } |
| |
| func (x *Dolos) GetSerialUsb() string { |
| if x != nil { |
| return x.SerialUsb |
| } |
| return "" |
| } |
| |
| func (x *Dolos) GetHwMajorRevision() Dolos_DolosHWMajorRevision { |
| if x != nil { |
| return x.HwMajorRevision |
| } |
| return Dolos_DOLOS_UNSPECIFIED |
| } |
| |
| func (x *Dolos) GetFwVersion() string { |
| if x != nil { |
| return x.FwVersion |
| } |
| return "" |
| } |
| |
| func (x *Dolos) GetHostname() string { |
| if x != nil { |
| return x.Hostname |
| } |
| return "" |
| } |
| |
| func (x *Dolos) GetState() Dolos_State { |
| if x != nil { |
| return x.State |
| } |
| return Dolos_STATE_UNSPECIFIED |
| } |
| |
| func (x *Dolos) GetRpmOutlet() *RPMOutlet { |
| if x != nil { |
| return x.RpmOutlet |
| } |
| return nil |
| } |
| |
| // AudioLatencyToolkit holds info about Teensy audio latency toolkit on the DUT |
| type AudioLatencyToolkit struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Teensy Version |
| Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // default: "4.1" |
| // State of the device. |
| State AudioLatencyToolkit_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.AudioLatencyToolkit_State" json:"state,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AudioLatencyToolkit) Reset() { |
| *x = AudioLatencyToolkit{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[31] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AudioLatencyToolkit) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AudioLatencyToolkit) ProtoMessage() {} |
| |
| func (x *AudioLatencyToolkit) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[31] |
| 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 AudioLatencyToolkit.ProtoReflect.Descriptor instead. |
| func (*AudioLatencyToolkit) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{31} |
| } |
| |
| func (x *AudioLatencyToolkit) GetVersion() string { |
| if x != nil { |
| return x.Version |
| } |
| return "" |
| } |
| |
| func (x *AudioLatencyToolkit) GetState() AudioLatencyToolkit_State { |
| if x != nil { |
| return x.State |
| } |
| return AudioLatencyToolkit_STATE_UNSPECIFIED |
| } |
| |
| // FirmwareInfo hold info to describe FW information. |
| type FirmwareInfo struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Target names for EC and AP. In majority cases they are the same. |
| // Example: `target1` will generate names |
| // |
| // ec: target1/ec/bin and target1/npcx_monitor.bin |
| // ap: image-target1.bin |
| EcTarget string `protobuf:"bytes,1,opt,name=ec_target,json=ecTarget,proto3" json:"ec_target,omitempty"` |
| ApTarget string `protobuf:"bytes,2,opt,name=ap_target,json=apTarget,proto3" json:"ap_target,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *FirmwareInfo) Reset() { |
| *x = FirmwareInfo{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[32] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *FirmwareInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*FirmwareInfo) ProtoMessage() {} |
| |
| func (x *FirmwareInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[32] |
| 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 FirmwareInfo.ProtoReflect.Descriptor instead. |
| func (*FirmwareInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{32} |
| } |
| |
| func (x *FirmwareInfo) GetEcTarget() string { |
| if x != nil { |
| return x.EcTarget |
| } |
| return "" |
| } |
| |
| func (x *FirmwareInfo) GetApTarget() string { |
| if x != nil { |
| return x.ApTarget |
| } |
| return "" |
| } |
| |
| // Fingerprint holds info about the fingerprint hw on the dut. |
| type Fingerprint struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Fingerprint Board |
| Board string `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"` |
| // Fingerprint MCU |
| Mcu string `protobuf:"bytes,2,opt,name=mcu,proto3" json:"mcu,omitempty"` |
| // Fingerprint Sensor |
| Sensor string `protobuf:"bytes,3,opt,name=sensor,proto3" json:"sensor,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Fingerprint) Reset() { |
| *x = Fingerprint{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[33] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Fingerprint) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Fingerprint) ProtoMessage() {} |
| |
| func (x *Fingerprint) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[33] |
| 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 Fingerprint.ProtoReflect.Descriptor instead. |
| func (*Fingerprint) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{33} |
| } |
| |
| func (x *Fingerprint) GetBoard() string { |
| if x != nil { |
| return x.Board |
| } |
| return "" |
| } |
| |
| func (x *Fingerprint) GetMcu() string { |
| if x != nil { |
| return x.Mcu |
| } |
| return "" |
| } |
| |
| func (x *Fingerprint) GetSensor() string { |
| if x != nil { |
| return x.Sensor |
| } |
| return "" |
| } |
| |
| // AMTManager holds info about AMT management on the DUT. |
| type AMTManager struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Hostname for the AMT management port. |
| Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` |
| State AMTManager_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.AMTManager_State" json:"state,omitempty"` |
| // Connect to AMT on port 16993 with TLS enabled. |
| UseTls bool `protobuf:"varint,3,opt,name=use_tls,json=useTls,proto3" json:"use_tls,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AMTManager) Reset() { |
| *x = AMTManager{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[34] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AMTManager) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AMTManager) ProtoMessage() {} |
| |
| func (x *AMTManager) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[34] |
| 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 AMTManager.ProtoReflect.Descriptor instead. |
| func (*AMTManager) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{34} |
| } |
| |
| func (x *AMTManager) GetHostname() string { |
| if x != nil { |
| return x.Hostname |
| } |
| return "" |
| } |
| |
| func (x *AMTManager) GetState() AMTManager_State { |
| if x != nil { |
| return x.State |
| } |
| return AMTManager_STATE_UNSPECIFIED |
| } |
| |
| func (x *AMTManager) GetUseTls() bool { |
| if x != nil { |
| return x.UseTls |
| } |
| return false |
| } |
| |
| // Camera holds info about camera of the DUT |
| type Camera struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // State of the component. |
| State HardwareState `protobuf:"varint,1,opt,name=state,proto3,enum=chromeos.recovery.HardwareState" json:"state,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Camera) Reset() { |
| *x = Camera{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[35] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Camera) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Camera) ProtoMessage() {} |
| |
| func (x *Camera) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[35] |
| 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 Camera.ProtoReflect.Descriptor instead. |
| func (*Camera) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{35} |
| } |
| |
| func (x *Camera) GetState() HardwareState { |
| if x != nil { |
| return x.State |
| } |
| return HardwareState_HARDWARE_UNSPECIFIED |
| } |
| |
| // ChromeOS specific DUT details |
| // NEXT TAG: 41 |
| type ChromeOS struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Is OS based on Android. |
| // If not then based on Chrome. |
| IsAndroidBased bool `protobuf:"varint,1,opt,name=is_android_based,json=isAndroidBased,proto3" json:"is_android_based,omitempty"` |
| // Defines the operating system restriction for DUT. |
| // Use DUTOS_ANDROID_ONLY to permit only Android. |
| // Use DUTOS_ANY if any operating system is allowed. |
| OsRestriction ChromeOS_OSRestruction `protobuf:"varint,37,opt,name=os_restriction,json=osRestriction,proto3,enum=chromeos.recovery.ChromeOS_OSRestruction" json:"os_restriction,omitempty"` |
| // Board name of the DUT. |
| Board string `protobuf:"bytes,2,opt,name=board,proto3" json:"board,omitempty"` |
| // Model name of the DUT. |
| Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` |
| // Hardware identifier. |
| Hwid string `protobuf:"bytes,4,opt,name=hwid,proto3" json:"hwid,omitempty"` |
| // Hardware phase. |
| Phase string `protobuf:"bytes,5,opt,name=phase,proto3" json:"phase,omitempty"` |
| // Serial number of the DUT. |
| SerialNumber string `protobuf:"bytes,6,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` |
| // FirmwareInfo describes DUT firmware data. |
| FirmwareInfo *FirmwareInfo `protobuf:"bytes,32,opt,name=firmware_info,json=firmwareInfo,proto3" json:"firmware_info,omitempty"` |
| // PowerSupplyType describes the DUT's power supply type. |
| PowerSupplyType ChromeOS_PowerSupplyType `protobuf:"varint,7,opt,name=power_supply_type,json=powerSupplyType,proto3,enum=chromeos.recovery.ChromeOS_PowerSupplyType" json:"power_supply_type,omitempty"` |
| // Cr50 firmware phase used on the DUT. |
| Cr50Phase ChromeOS_Cr50Phase `protobuf:"varint,8,opt,name=cr50_phase,json=cr50Phase,proto3,enum=chromeos.recovery.ChromeOS_Cr50Phase" json:"cr50_phase,omitempty"` |
| // Key env for RW Cr50 firmware version. |
| Cr50KeyEnv ChromeOS_Cr50KeyEnv `protobuf:"varint,9,opt,name=cr50_key_env,json=cr50KeyEnv,proto3,enum=chromeos.recovery.ChromeOS_Cr50KeyEnv" json:"cr50_key_env,omitempty"` |
| // Audio info. |
| Audio *DUTAudio `protobuf:"bytes,10,opt,name=audio,proto3" json:"audio,omitempty"` |
| // Stock-keeping unit of the DUT. |
| DeviceSku string `protobuf:"bytes,11,opt,name=device_sku,json=deviceSku,proto3" json:"device_sku,omitempty"` |
| // Firmware ID (for android desktop only) |
| Frid string `protobuf:"bytes,41,opt,name=frid,proto3" json:"frid,omitempty"` |
| // DLM SKU ID of the DUT |
| DlmSkuId string `protobuf:"bytes,31,opt,name=dlm_sku_id,json=dlmSkuId,proto3" json:"dlm_sku_id,omitempty"` |
| // Physical parts of DUT. |
| // Internal storage info. |
| Storage *Storage `protobuf:"bytes,12,opt,name=storage,proto3" json:"storage,omitempty"` |
| // Battery info. |
| Battery *Battery `protobuf:"bytes,13,opt,name=battery,proto3" json:"battery,omitempty"` |
| // Wifi info. |
| Wifi *Wifi `protobuf:"bytes,14,opt,name=wifi,proto3" json:"wifi,omitempty"` |
| // Bluetooth info. |
| Bluetooth *Bluetooth `protobuf:"bytes,15,opt,name=bluetooth,proto3" json:"bluetooth,omitempty"` |
| // Peripheral devices. |
| // Servo setup of the DUT setup. |
| Servo *ServoHost `protobuf:"bytes,16,opt,name=servo,proto3" json:"servo,omitempty"` |
| // Chameleon device of the DUT setup. |
| Chameleon *Chameleon `protobuf:"bytes,17,opt,name=chameleon,proto3" json:"chameleon,omitempty"` |
| // BluetoothPeer info of DUT setup. |
| BluetoothPeers []*BluetoothPeer `protobuf:"bytes,18,rep,name=bluetooth_peers,json=bluetoothPeers,proto3" json:"bluetooth_peers,omitempty"` |
| // Array of Wifi Router peripheral devices. |
| WifiRouters []*WifiRouterHost `protobuf:"bytes,19,rep,name=wifi_routers,json=wifiRouters,proto3" json:"wifi_routers,omitempty"` |
| // Peripheral Wifi state of testbed |
| PeripheralWifiState ChromeOS_PeripheralWifiState `protobuf:"varint,20,opt,name=peripheral_wifi_state,json=peripheralWifiState,proto3,enum=chromeos.recovery.ChromeOS_PeripheralWifiState" json:"peripheral_wifi_state,omitempty"` |
| // WifiRouterFeatures that are supported by all wifi routers in the testbed. |
| // |
| // 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 []api.WifiRouterFeature `protobuf:"varint,27,rep,packed,name=wifi_router_features,json=wifiRouterFeatures,proto3,enum=chromiumos.test.lab.api.WifiRouterFeature" json:"wifi_router_features,omitempty"` |
| // RPMOutlet of the DUT setup. |
| RpmOutlet *RPMOutlet `protobuf:"bytes,21,opt,name=rpm_outlet,json=rpmOutlet,proto3" json:"rpm_outlet,omitempty"` |
| // Map of key value pairs from RO_VPD. |
| RoVpdMap map[string]string `protobuf:"bytes,22,rep,name=ro_vpd_map,json=roVpdMap,proto3" json:"ro_vpd_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| // CBI contents on the DUT |
| Cbi *api.Cbi `protobuf:"bytes,23,opt,name=cbi,proto3" json:"cbi,omitempty"` |
| // Cellular info. |
| Cellular *Cellular `protobuf:"bytes,24,opt,name=cellular,proto3" json:"cellular,omitempty"` |
| // Capability to support Chromebook X features |
| Cbx bool `protobuf:"varint,25,opt,name=cbx,proto3" json:"cbx,omitempty"` |
| // Human Motion Robot info. |
| HumanMotionRobot *HumanMotionRobot `protobuf:"bytes,26,opt,name=human_motion_robot,json=humanMotionRobot,proto3" json:"human_motion_robot,omitempty"` |
| // Testbed Capability info |
| TestbedCapability *TestbedCapability `protobuf:"bytes,28,opt,name=testbed_capability,json=testbedCapability,proto3" json:"testbed_capability,omitempty"` |
| // Audio Latency Toolkit info. |
| AudioLatencyToolkit *AudioLatencyToolkit `protobuf:"bytes,29,opt,name=audio_latency_toolkit,json=audioLatencyToolkit,proto3" json:"audio_latency_toolkit,omitempty"` |
| // Dolos device info. |
| Dolos *Dolos `protobuf:"bytes,30,opt,name=dolos,proto3" json:"dolos,omitempty"` |
| GpuId string `protobuf:"bytes,33,opt,name=gpu_id,json=gpuId,proto3" json:"gpu_id,omitempty"` |
| // AMT management info. |
| AmtManager *AMTManager `protobuf:"bytes,34,opt,name=amt_manager,json=amtManager,proto3" json:"amt_manager,omitempty"` |
| // Camera info |
| Camera *Camera `protobuf:"bytes,35,opt,name=camera,proto3" json:"camera,omitempty"` |
| // Fingerprint |
| Fingerprint *Fingerprint `protobuf:"bytes,36,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` |
| // PASIT |
| Pasit *Pasit `protobuf:"bytes,38,opt,name=pasit,proto3" json:"pasit,omitempty"` |
| GscChip ChromeOS_GscChip `protobuf:"varint,39,opt,name=gsc_chip,json=gscChip,proto3,enum=chromeos.recovery.ChromeOS_GscChip" json:"gsc_chip,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ChromeOS) Reset() { |
| *x = ChromeOS{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[36] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ChromeOS) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ChromeOS) ProtoMessage() {} |
| |
| func (x *ChromeOS) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[36] |
| 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 ChromeOS.ProtoReflect.Descriptor instead. |
| func (*ChromeOS) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{36} |
| } |
| |
| func (x *ChromeOS) GetIsAndroidBased() bool { |
| if x != nil { |
| return x.IsAndroidBased |
| } |
| return false |
| } |
| |
| func (x *ChromeOS) GetOsRestriction() ChromeOS_OSRestruction { |
| if x != nil { |
| return x.OsRestriction |
| } |
| return ChromeOS_OSR_ANY |
| } |
| |
| func (x *ChromeOS) GetBoard() string { |
| if x != nil { |
| return x.Board |
| } |
| return "" |
| } |
| |
| func (x *ChromeOS) GetModel() string { |
| if x != nil { |
| return x.Model |
| } |
| return "" |
| } |
| |
| func (x *ChromeOS) GetHwid() string { |
| if x != nil { |
| return x.Hwid |
| } |
| return "" |
| } |
| |
| func (x *ChromeOS) GetPhase() string { |
| if x != nil { |
| return x.Phase |
| } |
| return "" |
| } |
| |
| func (x *ChromeOS) GetSerialNumber() string { |
| if x != nil { |
| return x.SerialNumber |
| } |
| return "" |
| } |
| |
| func (x *ChromeOS) GetFirmwareInfo() *FirmwareInfo { |
| if x != nil { |
| return x.FirmwareInfo |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetPowerSupplyType() ChromeOS_PowerSupplyType { |
| if x != nil { |
| return x.PowerSupplyType |
| } |
| return ChromeOS_POWER_SUPPLY_UNSPECIFIED |
| } |
| |
| func (x *ChromeOS) GetCr50Phase() ChromeOS_Cr50Phase { |
| if x != nil { |
| return x.Cr50Phase |
| } |
| return ChromeOS_CR50_PHASE_UNSPECIFIED |
| } |
| |
| func (x *ChromeOS) GetCr50KeyEnv() ChromeOS_Cr50KeyEnv { |
| if x != nil { |
| return x.Cr50KeyEnv |
| } |
| return ChromeOS_CR50_KEYENV_UNSPECIFIED |
| } |
| |
| func (x *ChromeOS) GetAudio() *DUTAudio { |
| if x != nil { |
| return x.Audio |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetDeviceSku() string { |
| if x != nil { |
| return x.DeviceSku |
| } |
| return "" |
| } |
| |
| func (x *ChromeOS) GetFrid() string { |
| if x != nil { |
| return x.Frid |
| } |
| return "" |
| } |
| |
| func (x *ChromeOS) GetDlmSkuId() string { |
| if x != nil { |
| return x.DlmSkuId |
| } |
| return "" |
| } |
| |
| func (x *ChromeOS) GetStorage() *Storage { |
| if x != nil { |
| return x.Storage |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetBattery() *Battery { |
| if x != nil { |
| return x.Battery |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetWifi() *Wifi { |
| if x != nil { |
| return x.Wifi |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetBluetooth() *Bluetooth { |
| if x != nil { |
| return x.Bluetooth |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetServo() *ServoHost { |
| if x != nil { |
| return x.Servo |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetChameleon() *Chameleon { |
| if x != nil { |
| return x.Chameleon |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetBluetoothPeers() []*BluetoothPeer { |
| if x != nil { |
| return x.BluetoothPeers |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetWifiRouters() []*WifiRouterHost { |
| if x != nil { |
| return x.WifiRouters |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetPeripheralWifiState() ChromeOS_PeripheralWifiState { |
| if x != nil { |
| return x.PeripheralWifiState |
| } |
| return ChromeOS_PERIPHERAL_WIFI_STATE_UNSPECIFIED |
| } |
| |
| func (x *ChromeOS) GetWifiRouterFeatures() []api.WifiRouterFeature { |
| if x != nil { |
| return x.WifiRouterFeatures |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetRpmOutlet() *RPMOutlet { |
| if x != nil { |
| return x.RpmOutlet |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetRoVpdMap() map[string]string { |
| if x != nil { |
| return x.RoVpdMap |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetCbi() *api.Cbi { |
| if x != nil { |
| return x.Cbi |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetCellular() *Cellular { |
| if x != nil { |
| return x.Cellular |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetCbx() bool { |
| if x != nil { |
| return x.Cbx |
| } |
| return false |
| } |
| |
| func (x *ChromeOS) GetHumanMotionRobot() *HumanMotionRobot { |
| if x != nil { |
| return x.HumanMotionRobot |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetTestbedCapability() *TestbedCapability { |
| if x != nil { |
| return x.TestbedCapability |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetAudioLatencyToolkit() *AudioLatencyToolkit { |
| if x != nil { |
| return x.AudioLatencyToolkit |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetDolos() *Dolos { |
| if x != nil { |
| return x.Dolos |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetGpuId() string { |
| if x != nil { |
| return x.GpuId |
| } |
| return "" |
| } |
| |
| func (x *ChromeOS) GetAmtManager() *AMTManager { |
| if x != nil { |
| return x.AmtManager |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetCamera() *Camera { |
| if x != nil { |
| return x.Camera |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetFingerprint() *Fingerprint { |
| if x != nil { |
| return x.Fingerprint |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetPasit() *Pasit { |
| if x != nil { |
| return x.Pasit |
| } |
| return nil |
| } |
| |
| func (x *ChromeOS) GetGscChip() ChromeOS_GscChip { |
| if x != nil { |
| return x.GscChip |
| } |
| return ChromeOS_GSC_CHIP_UNKNOWN |
| } |
| |
| // TestbedCapability specifies whether the testbed can execute certain tests. |
| // It is used as test dependency - as the specific testbed required to run certain e2e tests. |
| type TestbedCapability struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Testbed with specific setup and capable to run 3.5mm Audio jack detection tests on DUT. |
| Audiojack bool `protobuf:"varint,2,opt,name=audiojack,proto3" json:"audiojack,omitempty"` |
| // Testbed with specific setup and capable to run USB audio peripherals tests on DUT. |
| Usbaudio bool `protobuf:"varint,3,opt,name=usbaudio,proto3" json:"usbaudio,omitempty"` |
| // Testbed with specific setup and capable to run USB printer tests on DUT. |
| Usbprinting bool `protobuf:"varint,4,opt,name=usbprinting,proto3" json:"usbprinting,omitempty"` |
| // Testbed with specific setup and capable to run HDMI peripherals tests on DUT. |
| Hdmiaudio bool `protobuf:"varint,5,opt,name=hdmiaudio,proto3" json:"hdmiaudio,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *TestbedCapability) Reset() { |
| *x = TestbedCapability{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[37] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *TestbedCapability) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*TestbedCapability) ProtoMessage() {} |
| |
| func (x *TestbedCapability) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[37] |
| 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 TestbedCapability.ProtoReflect.Descriptor instead. |
| func (*TestbedCapability) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{37} |
| } |
| |
| func (x *TestbedCapability) GetAudiojack() bool { |
| if x != nil { |
| return x.Audiojack |
| } |
| return false |
| } |
| |
| func (x *TestbedCapability) GetUsbaudio() bool { |
| if x != nil { |
| return x.Usbaudio |
| } |
| return false |
| } |
| |
| func (x *TestbedCapability) GetUsbprinting() bool { |
| if x != nil { |
| return x.Usbprinting |
| } |
| return false |
| } |
| |
| func (x *TestbedCapability) GetHdmiaudio() bool { |
| if x != nil { |
| return x.Hdmiaudio |
| } |
| return false |
| } |
| |
| // Android specific DUT details |
| type Android struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Board name of the DUT. |
| Board string `protobuf:"bytes,2,opt,name=board,proto3" json:"board,omitempty"` |
| // Model name of the DUT. |
| Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` |
| // Serial number of the DUT. |
| SerialNumber string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` |
| // Hostname to which the Android DUT is attached to. |
| AssociatedHostname string `protobuf:"bytes,5,opt,name=associated_hostname,json=associatedHostname,proto3" json:"associated_hostname,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Android) Reset() { |
| *x = Android{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[38] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Android) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Android) ProtoMessage() {} |
| |
| func (x *Android) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[38] |
| 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 Android.ProtoReflect.Descriptor instead. |
| func (*Android) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{38} |
| } |
| |
| func (x *Android) GetBoard() string { |
| if x != nil { |
| return x.Board |
| } |
| return "" |
| } |
| |
| func (x *Android) GetModel() string { |
| if x != nil { |
| return x.Model |
| } |
| return "" |
| } |
| |
| func (x *Android) GetSerialNumber() string { |
| if x != nil { |
| return x.SerialNumber |
| } |
| return "" |
| } |
| |
| func (x *Android) GetAssociatedHostname() string { |
| if x != nil { |
| return x.AssociatedHostname |
| } |
| return "" |
| } |
| |
| // DevBoard specific DUT details. |
| type DevBoard struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Board name of the DUT. |
| Board string `protobuf:"bytes,2,opt,name=board,proto3" json:"board,omitempty"` |
| // Model name of the DUT. |
| Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` |
| // Serial number of the DUT. |
| SerialNumber string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` |
| // Peripheral devices. |
| // Servo setup of the DUT setup. |
| Servo *ServoHost `protobuf:"bytes,5,opt,name=servo,proto3" json:"servo,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *DevBoard) Reset() { |
| *x = DevBoard{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[39] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *DevBoard) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*DevBoard) ProtoMessage() {} |
| |
| func (x *DevBoard) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[39] |
| 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 DevBoard.ProtoReflect.Descriptor instead. |
| func (*DevBoard) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{39} |
| } |
| |
| func (x *DevBoard) GetBoard() string { |
| if x != nil { |
| return x.Board |
| } |
| return "" |
| } |
| |
| func (x *DevBoard) GetModel() string { |
| if x != nil { |
| return x.Model |
| } |
| return "" |
| } |
| |
| func (x *DevBoard) GetSerialNumber() string { |
| if x != nil { |
| return x.SerialNumber |
| } |
| return "" |
| } |
| |
| func (x *DevBoard) GetServo() *ServoHost { |
| if x != nil { |
| return x.Servo |
| } |
| return nil |
| } |
| |
| // CopyRequest represents data to perform copy data from/to resource. |
| type CopyRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Resource name |
| Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` |
| // Path to source file or directory. |
| PathSource string `protobuf:"bytes,2,opt,name=path_source,json=pathSource,proto3" json:"path_source,omitempty"` |
| // Path to destination file or directory. |
| PathDestination string `protobuf:"bytes,3,opt,name=path_destination,json=pathDestination,proto3" json:"path_destination,omitempty"` |
| // Timeout for copy operation |
| Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CopyRequest) Reset() { |
| *x = CopyRequest{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[40] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CopyRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CopyRequest) ProtoMessage() {} |
| |
| func (x *CopyRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[40] |
| 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 CopyRequest.ProtoReflect.Descriptor instead. |
| func (*CopyRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{40} |
| } |
| |
| func (x *CopyRequest) GetResource() string { |
| if x != nil { |
| return x.Resource |
| } |
| return "" |
| } |
| |
| func (x *CopyRequest) GetPathSource() string { |
| if x != nil { |
| return x.PathSource |
| } |
| return "" |
| } |
| |
| func (x *CopyRequest) GetPathDestination() string { |
| if x != nil { |
| return x.PathDestination |
| } |
| return "" |
| } |
| |
| func (x *CopyRequest) GetTimeout() *durationpb.Duration { |
| if x != nil { |
| return x.Timeout |
| } |
| return nil |
| } |
| |
| // CallServodRequest represents data to run command on servod. |
| type CallServodRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` |
| Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` |
| Args []*xmlrpc.Value `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` |
| Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CallServodRequest) Reset() { |
| *x = CallServodRequest{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[41] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CallServodRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CallServodRequest) ProtoMessage() {} |
| |
| func (x *CallServodRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[41] |
| 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 CallServodRequest.ProtoReflect.Descriptor instead. |
| func (*CallServodRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{41} |
| } |
| |
| func (x *CallServodRequest) GetResource() string { |
| if x != nil { |
| return x.Resource |
| } |
| return "" |
| } |
| |
| func (x *CallServodRequest) GetMethod() string { |
| if x != nil { |
| return x.Method |
| } |
| return "" |
| } |
| |
| func (x *CallServodRequest) GetArgs() []*xmlrpc.Value { |
| if x != nil { |
| return x.Args |
| } |
| return nil |
| } |
| |
| func (x *CallServodRequest) GetTimeout() *durationpb.Duration { |
| if x != nil { |
| return x.Timeout |
| } |
| return nil |
| } |
| |
| // CallServodResponse represents result data from running command on servod. |
| type CallServodResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Value *xmlrpc.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` |
| Fault bool `protobuf:"varint,2,opt,name=fault,proto3" json:"fault,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CallServodResponse) Reset() { |
| *x = CallServodResponse{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[42] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CallServodResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CallServodResponse) ProtoMessage() {} |
| |
| func (x *CallServodResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[42] |
| 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 CallServodResponse.ProtoReflect.Descriptor instead. |
| func (*CallServodResponse) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{42} |
| } |
| |
| func (x *CallServodResponse) GetValue() *xmlrpc.Value { |
| if x != nil { |
| return x.Value |
| } |
| return nil |
| } |
| |
| func (x *CallServodResponse) GetFault() bool { |
| if x != nil { |
| return x.Fault |
| } |
| return false |
| } |
| |
| // This proto define common version info we want to record from a device. |
| // Next Tag: 5 |
| type VersionInfo struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Os string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"` |
| RoFirmware string `protobuf:"bytes,2,opt,name=ro_firmware,json=roFirmware,proto3" json:"ro_firmware,omitempty"` |
| RwFirmware string `protobuf:"bytes,3,opt,name=rw_firmware,json=rwFirmware,proto3" json:"rw_firmware,omitempty"` |
| OsType VersionInfo_OsType `protobuf:"varint,4,opt,name=os_type,json=osType,proto3,enum=chromeos.recovery.VersionInfo_OsType" json:"os_type,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *VersionInfo) Reset() { |
| *x = VersionInfo{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[43] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *VersionInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*VersionInfo) ProtoMessage() {} |
| |
| func (x *VersionInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[43] |
| 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 VersionInfo.ProtoReflect.Descriptor instead. |
| func (*VersionInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{43} |
| } |
| |
| func (x *VersionInfo) GetOs() string { |
| if x != nil { |
| return x.Os |
| } |
| return "" |
| } |
| |
| func (x *VersionInfo) GetRoFirmware() string { |
| if x != nil { |
| return x.RoFirmware |
| } |
| return "" |
| } |
| |
| func (x *VersionInfo) GetRwFirmware() string { |
| if x != nil { |
| return x.RwFirmware |
| } |
| return "" |
| } |
| |
| func (x *VersionInfo) GetOsType() VersionInfo_OsType { |
| if x != nil { |
| return x.OsType |
| } |
| return VersionInfo_UNKNOWN |
| } |
| |
| // PASIT is a connected set of peripheral components used in interop testing. |
| // The components connected are controlled via an external host. Pasit |
| // describes the devices in the testbed and their connection topology. |
| type Pasit struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // The name of the host that controls the devices (e.g. switches) |
| Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` |
| // The components/devices in the PASIT testbed (e.g. docks, switches, cameras, |
| // monitors, etc) |
| Devices []*Pasit_Device `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` |
| // The connections between devices/components in the testbed. |
| Connections []*Pasit_Connection `protobuf:"bytes,3,rep,name=connections,proto3" json:"connections,omitempty"` |
| State Pasit_State `protobuf:"varint,4,opt,name=state,proto3,enum=chromeos.recovery.Pasit_State" json:"state,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Pasit) Reset() { |
| *x = Pasit{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[44] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Pasit) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Pasit) ProtoMessage() {} |
| |
| func (x *Pasit) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[44] |
| 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 Pasit.ProtoReflect.Descriptor instead. |
| func (*Pasit) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{44} |
| } |
| |
| func (x *Pasit) GetHostname() string { |
| if x != nil { |
| return x.Hostname |
| } |
| return "" |
| } |
| |
| func (x *Pasit) GetDevices() []*Pasit_Device { |
| if x != nil { |
| return x.Devices |
| } |
| return nil |
| } |
| |
| func (x *Pasit) GetConnections() []*Pasit_Connection { |
| if x != nil { |
| return x.Connections |
| } |
| return nil |
| } |
| |
| func (x *Pasit) GetState() Pasit_State { |
| if x != nil { |
| return x.State |
| } |
| return Pasit_STATE_UNSPECIFIED |
| } |
| |
| // Chameleond holds data related to the state of chameleond on the btpeer. |
| type BluetoothPeerScopeState_Chameleond struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // The commit of chameleond at which the bundle installed on the btpeer was created. |
| InstalledCommit string `protobuf:"bytes,1,opt,name=installed_commit,json=installedCommit,proto3" json:"installed_commit,omitempty"` |
| // The BluetoothPeerChameleondConfig as retrieved from the global config |
| // JSON file stored on GCS. Includes information regarding available |
| // chameleond bundle releases for all btpeers. |
| ReleaseConfig *api.BluetoothPeerChameleondConfig `protobuf:"bytes,2,opt,name=release_config,json=releaseConfig,proto3" json:"release_config,omitempty"` |
| // The config of the chameleond bundle from the release_config that has been |
| // identified as the expected bundle for this specific btpeer. |
| ExpectedBundleConfig *api.BluetoothPeerChameleondConfig_ChameleondBundle `protobuf:"bytes,3,opt,name=expected_bundle_config,json=expectedBundleConfig,proto3" json:"expected_bundle_config,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BluetoothPeerScopeState_Chameleond) Reset() { |
| *x = BluetoothPeerScopeState_Chameleond{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[45] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BluetoothPeerScopeState_Chameleond) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BluetoothPeerScopeState_Chameleond) ProtoMessage() {} |
| |
| func (x *BluetoothPeerScopeState_Chameleond) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[45] |
| 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 BluetoothPeerScopeState_Chameleond.ProtoReflect.Descriptor instead. |
| func (*BluetoothPeerScopeState_Chameleond) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{13, 0} |
| } |
| |
| func (x *BluetoothPeerScopeState_Chameleond) GetInstalledCommit() string { |
| if x != nil { |
| return x.InstalledCommit |
| } |
| return "" |
| } |
| |
| func (x *BluetoothPeerScopeState_Chameleond) GetReleaseConfig() *api.BluetoothPeerChameleondConfig { |
| if x != nil { |
| return x.ReleaseConfig |
| } |
| return nil |
| } |
| |
| func (x *BluetoothPeerScopeState_Chameleond) GetExpectedBundleConfig() *api.BluetoothPeerChameleondConfig_ChameleondBundle { |
| if x != nil { |
| return x.ExpectedBundleConfig |
| } |
| return nil |
| } |
| |
| // RaspiosCrosBtpeerImage holds data related to the state of a ChromeOS |
| // Raspberry Pi OS image on the btpeer. |
| type BluetoothPeerScopeState_RaspiosCrosBtpeerImage struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // The UUID of the ChromeOS Raspberry Pi OS image installed on the btpeer. |
| InstalledImageUuid string `protobuf:"bytes,1,opt,name=installed_image_uuid,json=installedImageUuid,proto3" json:"installed_image_uuid,omitempty"` |
| // The RaspiosCrosBtpeerImageConfig as retrieved from the global config JSON |
| // file stored on GCS. Includes information regarding available image |
| // releases for all btpeers. |
| ReleaseConfig *api.RaspiosCrosBtpeerImageConfig `protobuf:"bytes,2,opt,name=release_config,json=releaseConfig,proto3" json:"release_config,omitempty"` |
| // The config of the image from the release_config that has been identified |
| // as the expected image for this specific btpeer. |
| ExpectedImageConfig *api.RaspiosCrosBtpeerImageConfig_OSImage `protobuf:"bytes,3,opt,name=expected_image_config,json=expectedImageConfig,proto3" json:"expected_image_config,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) Reset() { |
| *x = BluetoothPeerScopeState_RaspiosCrosBtpeerImage{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[46] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) ProtoMessage() {} |
| |
| func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[46] |
| 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 BluetoothPeerScopeState_RaspiosCrosBtpeerImage.ProtoReflect.Descriptor instead. |
| func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{13, 1} |
| } |
| |
| func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetInstalledImageUuid() string { |
| if x != nil { |
| return x.InstalledImageUuid |
| } |
| return "" |
| } |
| |
| func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetReleaseConfig() *api.RaspiosCrosBtpeerImageConfig { |
| if x != nil { |
| return x.ReleaseConfig |
| } |
| return nil |
| } |
| |
| func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetExpectedImageConfig() *api.RaspiosCrosBtpeerImageConfig_OSImage { |
| if x != nil { |
| return x.ExpectedImageConfig |
| } |
| return nil |
| } |
| |
| type Cellular_ModemInfo struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Type Cellular_ModemType `protobuf:"varint,1,opt,name=type,proto3,enum=chromeos.recovery.Cellular_ModemType" json:"type,omitempty"` |
| // Equipment Identifier |
| Imei string `protobuf:"bytes,2,opt,name=imei,proto3" json:"imei,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Cellular_ModemInfo) Reset() { |
| *x = Cellular_ModemInfo{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[47] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Cellular_ModemInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Cellular_ModemInfo) ProtoMessage() {} |
| |
| func (x *Cellular_ModemInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[47] |
| 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 Cellular_ModemInfo.ProtoReflect.Descriptor instead. |
| func (*Cellular_ModemInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{27, 0} |
| } |
| |
| func (x *Cellular_ModemInfo) GetType() Cellular_ModemType { |
| if x != nil { |
| return x.Type |
| } |
| return Cellular_MODEM_TYPE_UNSPECIFIED |
| } |
| |
| func (x *Cellular_ModemInfo) GetImei() string { |
| if x != nil { |
| return x.Imei |
| } |
| return "" |
| } |
| |
| // Information on the profiles available on the SIM. |
| type Cellular_SIMProfileInfo struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // The unique profile ICCID. |
| Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"` |
| // The associated PUK code. |
| SimPin string `protobuf:"bytes,2,opt,name=sim_pin,json=simPin,proto3" json:"sim_pin,omitempty"` |
| // The associated PUK code. |
| SimPuk string `protobuf:"bytes,3,opt,name=sim_puk,json=simPuk,proto3" json:"sim_puk,omitempty"` |
| // The associated network provider. |
| CarrierName Cellular_NetworkProvider `protobuf:"varint,4,opt,name=carrier_name,json=carrierName,proto3,enum=chromeos.recovery.Cellular_NetworkProvider" json:"carrier_name,omitempty"` |
| // The phone number associated with the SIM. |
| OwnNumber string `protobuf:"bytes,5,opt,name=own_number,json=ownNumber,proto3" json:"own_number,omitempty"` |
| // The state of the cellular network connection. |
| State Cellular_SIMProfileInfo_State `protobuf:"varint,6,opt,name=state,proto3,enum=chromeos.recovery.Cellular_SIMProfileInfo_State" json:"state,omitempty"` |
| // The ICCID detected during repair. |
| DetectedIccid string `protobuf:"bytes,7,opt,name=detected_iccid,json=detectedIccid,proto3" json:"detected_iccid,omitempty"` |
| // The OwnNumber detected during repair. |
| DetectedOwnNumber string `protobuf:"bytes,8,opt,name=detected_own_number,json=detectedOwnNumber,proto3" json:"detected_own_number,omitempty"` |
| // Features supported by the profile. |
| Features []Cellular_SIMProfileInfo_Feature `protobuf:"varint,9,rep,packed,name=features,proto3,enum=chromeos.recovery.Cellular_SIMProfileInfo_Feature" json:"features,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Cellular_SIMProfileInfo) Reset() { |
| *x = Cellular_SIMProfileInfo{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[48] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Cellular_SIMProfileInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Cellular_SIMProfileInfo) ProtoMessage() {} |
| |
| func (x *Cellular_SIMProfileInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[48] |
| 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 Cellular_SIMProfileInfo.ProtoReflect.Descriptor instead. |
| func (*Cellular_SIMProfileInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{27, 1} |
| } |
| |
| func (x *Cellular_SIMProfileInfo) GetIccid() string { |
| if x != nil { |
| return x.Iccid |
| } |
| return "" |
| } |
| |
| func (x *Cellular_SIMProfileInfo) GetSimPin() string { |
| if x != nil { |
| return x.SimPin |
| } |
| return "" |
| } |
| |
| func (x *Cellular_SIMProfileInfo) GetSimPuk() string { |
| if x != nil { |
| return x.SimPuk |
| } |
| return "" |
| } |
| |
| func (x *Cellular_SIMProfileInfo) GetCarrierName() Cellular_NetworkProvider { |
| if x != nil { |
| return x.CarrierName |
| } |
| return Cellular_NETWORK_UNSPECIFIED |
| } |
| |
| func (x *Cellular_SIMProfileInfo) GetOwnNumber() string { |
| if x != nil { |
| return x.OwnNumber |
| } |
| return "" |
| } |
| |
| func (x *Cellular_SIMProfileInfo) GetState() Cellular_SIMProfileInfo_State { |
| if x != nil { |
| return x.State |
| } |
| return Cellular_SIMProfileInfo_UNSPECIFIED |
| } |
| |
| func (x *Cellular_SIMProfileInfo) GetDetectedIccid() string { |
| if x != nil { |
| return x.DetectedIccid |
| } |
| return "" |
| } |
| |
| func (x *Cellular_SIMProfileInfo) GetDetectedOwnNumber() string { |
| if x != nil { |
| return x.DetectedOwnNumber |
| } |
| return "" |
| } |
| |
| func (x *Cellular_SIMProfileInfo) GetFeatures() []Cellular_SIMProfileInfo_Feature { |
| if x != nil { |
| return x.Features |
| } |
| return nil |
| } |
| |
| // Information on a single SIM card in a slot. |
| type Cellular_SIMInfo struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Which slot on the device the SIM card occupies. |
| SlotId int32 `protobuf:"varint,1,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"` |
| Type Cellular_SIMType `protobuf:"varint,2,opt,name=type,proto3,enum=chromeos.recovery.Cellular_SIMType" json:"type,omitempty"` |
| // The unique SIM EID. |
| Eid string `protobuf:"bytes,3,opt,name=eid,proto3" json:"eid,omitempty"` |
| // True if the SIM is a test-eSIM (not prod). |
| TestEsim bool `protobuf:"varint,4,opt,name=test_esim,json=testEsim,proto3" json:"test_esim,omitempty"` |
| // The available profiles on the SIM card. |
| ProfileInfos []*Cellular_SIMProfileInfo `protobuf:"bytes,5,rep,name=profile_infos,json=profileInfos,proto3" json:"profile_infos,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Cellular_SIMInfo) Reset() { |
| *x = Cellular_SIMInfo{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[49] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Cellular_SIMInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Cellular_SIMInfo) ProtoMessage() {} |
| |
| func (x *Cellular_SIMInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[49] |
| 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 Cellular_SIMInfo.ProtoReflect.Descriptor instead. |
| func (*Cellular_SIMInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{27, 2} |
| } |
| |
| func (x *Cellular_SIMInfo) GetSlotId() int32 { |
| if x != nil { |
| return x.SlotId |
| } |
| return 0 |
| } |
| |
| func (x *Cellular_SIMInfo) GetType() Cellular_SIMType { |
| if x != nil { |
| return x.Type |
| } |
| return Cellular_SIM_UNSPECIFIED |
| } |
| |
| func (x *Cellular_SIMInfo) GetEid() string { |
| if x != nil { |
| return x.Eid |
| } |
| return "" |
| } |
| |
| func (x *Cellular_SIMInfo) GetTestEsim() bool { |
| if x != nil { |
| return x.TestEsim |
| } |
| return false |
| } |
| |
| func (x *Cellular_SIMInfo) GetProfileInfos() []*Cellular_SIMProfileInfo { |
| if x != nil { |
| return x.ProfileInfos |
| } |
| return nil |
| } |
| |
| // A single connection between two components in the topology. |
| type Pasit_Connection struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // If the parent device has multiple connection ports/slots, |
| // this is the name or id of the port. |
| ParentPort string `protobuf:"bytes,1,opt,name=parent_port,json=parentPort,proto3" json:"parent_port,omitempty"` |
| // The ID of the parent component; |
| ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` |
| // The ID of the child component; |
| ChildId string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` |
| // The speed of the connection. |
| Speed float32 `protobuf:"fixed32,4,opt,name=speed,proto3" json:"speed,omitempty"` |
| // The physical port type/technology, e.g. "USBA", "USBC", "HDMI". |
| Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Pasit_Connection) Reset() { |
| *x = Pasit_Connection{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[51] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Pasit_Connection) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Pasit_Connection) ProtoMessage() {} |
| |
| func (x *Pasit_Connection) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[51] |
| 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 Pasit_Connection.ProtoReflect.Descriptor instead. |
| func (*Pasit_Connection) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{44, 0} |
| } |
| |
| func (x *Pasit_Connection) GetParentPort() string { |
| if x != nil { |
| return x.ParentPort |
| } |
| return "" |
| } |
| |
| func (x *Pasit_Connection) GetParentId() string { |
| if x != nil { |
| return x.ParentId |
| } |
| return "" |
| } |
| |
| func (x *Pasit_Connection) GetChildId() string { |
| if x != nil { |
| return x.ChildId |
| } |
| return "" |
| } |
| |
| func (x *Pasit_Connection) GetSpeed() float32 { |
| if x != nil { |
| return x.Speed |
| } |
| return 0 |
| } |
| |
| func (x *Pasit_Connection) GetType() string { |
| if x != nil { |
| return x.Type |
| } |
| return "" |
| } |
| |
| // A single device/component in the testbed. |
| type Pasit_Device struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // The unique ID of the device. This is not unique across all devices, |
| // in the lab but is unique within a testbed. |
| Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| // The the make/model of the device. |
| Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` |
| // The type of device represented. |
| Type Pasit_Device_Type `protobuf:"varint,3,opt,name=type,proto3,enum=chromeos.recovery.Pasit_Device_Type" json:"type,omitempty"` |
| // Additional power supply information for devices that provide |
| // power to the DUT. |
| PowerSupply *Pasit_Device_PowerSupply `protobuf:"bytes,4,opt,name=power_supply,json=powerSupply,proto3" json:"power_supply,omitempty"` |
| // Optional RPM if one exists |
| Rpm *RPMOutlet `protobuf:"bytes,5,opt,name=rpm,proto3" json:"rpm,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Pasit_Device) Reset() { |
| *x = Pasit_Device{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[52] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Pasit_Device) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Pasit_Device) ProtoMessage() {} |
| |
| func (x *Pasit_Device) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[52] |
| 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 Pasit_Device.ProtoReflect.Descriptor instead. |
| func (*Pasit_Device) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{44, 1} |
| } |
| |
| func (x *Pasit_Device) GetId() string { |
| if x != nil { |
| return x.Id |
| } |
| return "" |
| } |
| |
| func (x *Pasit_Device) GetModel() string { |
| if x != nil { |
| return x.Model |
| } |
| return "" |
| } |
| |
| func (x *Pasit_Device) GetType() Pasit_Device_Type { |
| if x != nil { |
| return x.Type |
| } |
| return Pasit_Device_UNKNOWN |
| } |
| |
| func (x *Pasit_Device) GetPowerSupply() *Pasit_Device_PowerSupply { |
| if x != nil { |
| return x.PowerSupply |
| } |
| return nil |
| } |
| |
| func (x *Pasit_Device) GetRpm() *RPMOutlet { |
| if x != nil { |
| return x.Rpm |
| } |
| return nil |
| } |
| |
| // Information on the power capabilities of the device. |
| type Pasit_Device_PowerSupply struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Current float32 `protobuf:"fixed32,1,opt,name=current,proto3" json:"current,omitempty"` |
| Voltage float32 `protobuf:"fixed32,2,opt,name=voltage,proto3" json:"voltage,omitempty"` |
| Power float32 `protobuf:"fixed32,3,opt,name=power,proto3" json:"power,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Pasit_Device_PowerSupply) Reset() { |
| *x = Pasit_Device_PowerSupply{} |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[53] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Pasit_Device_PowerSupply) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Pasit_Device_PowerSupply) ProtoMessage() {} |
| |
| func (x *Pasit_Device_PowerSupply) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes[53] |
| 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 Pasit_Device_PowerSupply.ProtoReflect.Descriptor instead. |
| func (*Pasit_Device_PowerSupply) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP(), []int{44, 1, 0} |
| } |
| |
| func (x *Pasit_Device_PowerSupply) GetCurrent() float32 { |
| if x != nil { |
| return x.Current |
| } |
| return 0 |
| } |
| |
| func (x *Pasit_Device_PowerSupply) GetVoltage() float32 { |
| if x != nil { |
| return x.Voltage |
| } |
| return 0 |
| } |
| |
| func (x *Pasit_Device_PowerSupply) GetPower() float32 { |
| if x != nil { |
| return x.Power |
| } |
| return 0 |
| } |
| |
| var File_go_chromium_org_infra_cros_recovery_tlw_models_proto protoreflect.FileDescriptor |
| |
| const file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDesc = "" + |
| "\n" + |
| "4go.chromium.org/infra/cros/recovery/tlw/models.proto\x12\x11chromeos.recovery\x1a\x1egoogle/protobuf/duration.proto\x1aVgo.chromium.org/chromiumos/config/proto/chromiumos/config/api/test/xmlrpc/xmlrpc.proto\x1aTgo.chromium.org/chromiumos/config/proto/chromiumos/test/lab/api/bluetooth_peer.proto\x1aIgo.chromium.org/chromiumos/config/proto/chromiumos/test/lab/api/cbi.proto\x1aMgo.chromium.org/chromiumos/config/proto/chromiumos/test/lab/api/storage.proto\x1aOgo.chromium.org/chromiumos/config/proto/chromiumos/test/lab/api/usb_drive.proto\x1aQgo.chromium.org/chromiumos/config/proto/chromiumos/test/lab/api/wifi_router.proto\"\xd3\x01\n" + |
| "\n" + |
| "RunRequest\x12\x1a\n" + |
| "\bresource\x18\x01 \x01(\tR\bresource\x12\x18\n" + |
| "\acommand\x18\x02 \x01(\tR\acommand\x12\x12\n" + |
| "\x04args\x18\x03 \x03(\tR\x04args\x123\n" + |
| "\atimeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\atimeout\x12#\n" + |
| "\rin_background\x18\x05 \x01(\bR\finBackground\x12!\n" + |
| "\fssh_username\x18\x06 \x01(\tR\vsshUsername\"q\n" + |
| "\tRunResult\x12\x18\n" + |
| "\acommand\x18\x01 \x01(\tR\acommand\x12\x1a\n" + |
| "\bExitCode\x18\x02 \x01(\x05R\bExitCode\x12\x16\n" + |
| "\x06stdout\x18\x03 \x01(\tR\x06stdout\x12\x16\n" + |
| "\x06stderr\x18\x04 \x01(\tR\x06stderr\"\x81\x01\n" + |
| "\x10ProvisionRequest\x12\x1a\n" + |
| "\bresource\x18\x01 \x01(\tR\bresource\x12*\n" + |
| "\x11system_image_path\x18\x02 \x01(\tR\x0fsystemImagePath\x12%\n" + |
| "\x0eprevent_reboot\x18\x03 \x01(\bR\rpreventReboot\"\x8c\x01\n" + |
| "\x18CallBluetoothPeerRequest\x12\x1a\n" + |
| "\bresource\x18\x01 \x01(\tR\bresource\x12\x16\n" + |
| "\x06method\x18\x02 \x01(\tR\x06method\x12<\n" + |
| "\x04args\x18\x03 \x03(\v2(.chromiumos.config.api.test.xmlrpc.ValueR\x04args\"q\n" + |
| "\x19CallBluetoothPeerResponse\x12>\n" + |
| "\x05value\x18\x01 \x01(\v2(.chromiumos.config.api.test.xmlrpc.ValueR\x05value\x12\x14\n" + |
| "\x05fault\x18\x02 \x01(\bR\x05fault\"\xbe\x01\n" + |
| "\x15CallTouchHostdRequest\x12\x1a\n" + |
| "\bresource\x18\x01 \x01(\tR\bresource\x12\x16\n" + |
| "\x06method\x18\x02 \x01(\tR\x06method\x12<\n" + |
| "\x04args\x18\x03 \x03(\v2(.chromiumos.config.api.test.xmlrpc.ValueR\x04args\x123\n" + |
| "\atimeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\atimeout\"n\n" + |
| "\x16CallTouchHostdResponse\x12>\n" + |
| "\x05value\x18\x01 \x01(\v2(.chromiumos.config.api.test.xmlrpc.ValueR\x05value\x12\x14\n" + |
| "\x05fault\x18\x02 \x01(\bR\x05fault\"\xa8\x02\n" + |
| "\x13RunRPMActionRequest\x12\x1a\n" + |
| "\bhostname\x18\x01 \x01(\tR\bhostname\x12!\n" + |
| "\frpm_hostname\x18\x02 \x01(\tR\vrpmHostname\x12\x1d\n" + |
| "\n" + |
| "rpm_outlet\x18\x03 \x01(\tR\trpmOutlet\x12E\n" + |
| "\x06action\x18\x04 \x01(\x0e2-.chromeos.recovery.RunRPMActionRequest.ActionR\x06action\x125\n" + |
| "\brpm_type\x18\x05 \x01(\x0e2\x1a.chromeos.recovery.RPMTypeR\arpmType\"5\n" + |
| "\x06Action\x12\x0f\n" + |
| "\vUNSPECIFIED\x10\x00\x12\x06\n" + |
| "\x02ON\x10\x01\x12\a\n" + |
| "\x03OFF\x10\x02\x12\t\n" + |
| "\x05CYCLE\x10\x03\"\xf6\x01\n" + |
| "\tRPMOutlet\x12\x1a\n" + |
| "\bhostname\x18\x01 \x01(\tR\bhostname\x12\x16\n" + |
| "\x06outlet\x18\x02 \x01(\tR\x06outlet\x128\n" + |
| "\x05state\x18\x03 \x01(\x0e2\".chromeos.recovery.RPMOutlet.StateR\x05state\x12.\n" + |
| "\x04type\x18\x04 \x01(\x0e2\x1a.chromeos.recovery.RPMTypeR\x04type\"K\n" + |
| "\x05State\x12\x0f\n" + |
| "\vUNSPECIFIED\x10\x00\x12\x12\n" + |
| "\x0eMISSING_CONFIG\x10\x01\x12\x10\n" + |
| "\fWRONG_CONFIG\x10\x02\x12\v\n" + |
| "\aWORKING\x10\x03\"\x9a\x03\n" + |
| "\x0eWifiRouterHost\x12\x12\n" + |
| "\x04name\x18\x01 \x01(\tR\x04name\x12=\n" + |
| "\x05state\x18\x02 \x01(\x0e2'.chromeos.recovery.WifiRouterHost.StateR\x05state\x12\x14\n" + |
| "\x05model\x18\x03 \x01(\tR\x05model\x12\x18\n" + |
| "\x05board\x18\x04 \x01(\tB\x02\x18\x01R\x05board\x12:\n" + |
| "\tRPMOutlet\x18\x05 \x01(\v2\x1c.chromeos.recovery.RPMOutletR\tRPMOutlet\x12F\n" + |
| "\bfeatures\x18\x06 \x03(\x0e2*.chromiumos.test.lab.api.WifiRouterFeatureR\bfeatures\x12N\n" + |
| "\vdevice_type\x18\a \x01(\x0e2-.chromiumos.test.lab.api.WifiRouterDeviceTypeR\n" + |
| "deviceType\"1\n" + |
| "\x05State\x12\x0f\n" + |
| "\vUNSPECIFIED\x10\x00\x12\v\n" + |
| "\aWORKING\x10\x01\x12\n" + |
| "\n" + |
| "\x06BROKEN\x10\x02\"=\n" + |
| "\x1cAsusWrtRouterControllerState\x12\x1d\n" + |
| "\n" + |
| "asus_model\x18\x01 \x01(\tR\tasusModel\"\xfe\x01\n" + |
| "\x1cOpenWrtRouterControllerState\x12^\n" + |
| "\x11device_build_info\x18\x01 \x01(\v22.chromiumos.test.lab.api.CrosOpenWrtImageBuildInfoR\x0fdeviceBuildInfo\x12N\n" + |
| "\x06config\x18\x02 \x01(\v26.chromiumos.test.lab.api.OpenWrtWifiRouterDeviceConfigR\x06config\x12.\n" + |
| "\x13expected_image_uuid\x18\x03 \x01(\tR\x11expectedImageUuid\"\x85\x01\n" + |
| "\x1bUbuntuRouterControllerState\x12.\n" + |
| "\x13system_product_name\x18\x01 \x01(\tR\x11systemProductName\x126\n" + |
| "\x17network_controller_name\x18\x02 \x01(\tR\x15networkControllerName\"\xde\x06\n" + |
| "\x17BluetoothPeerScopeState\x128\n" + |
| "\x06btpeer\x18\x01 \x01(\v2 .chromeos.recovery.BluetoothPeerR\x06btpeer\x12U\n" + |
| "\n" + |
| "chameleond\x18\x02 \x01(\v25.chromeos.recovery.BluetoothPeerScopeState.ChameleondR\n" + |
| "chameleond\x12|\n" + |
| "\x19raspios_cros_btpeer_image\x18\x03 \x01(\v2A.chromeos.recovery.BluetoothPeerScopeState.RaspiosCrosBtpeerImageR\x16raspiosCrosBtpeerImage\x1a\x95\x02\n" + |
| "\n" + |
| "Chameleond\x12)\n" + |
| "\x10installed_commit\x18\x01 \x01(\tR\x0finstalledCommit\x12]\n" + |
| "\x0erelease_config\x18\x02 \x01(\v26.chromiumos.test.lab.api.BluetoothPeerChameleondConfigR\rreleaseConfig\x12}\n" + |
| "\x16expected_bundle_config\x18\x03 \x01(\v2G.chromiumos.test.lab.api.BluetoothPeerChameleondConfig.ChameleondBundleR\x14expectedBundleConfig\x1a\x9b\x02\n" + |
| "\x16RaspiosCrosBtpeerImage\x120\n" + |
| "\x14installed_image_uuid\x18\x01 \x01(\tR\x12installedImageUuid\x12\\\n" + |
| "\x0erelease_config\x18\x02 \x01(\v25.chromiumos.test.lab.api.RaspiosCrosBtpeerImageConfigR\rreleaseConfig\x12q\n" + |
| "\x15expected_image_config\x18\x03 \x01(\v2=.chromiumos.test.lab.api.RaspiosCrosBtpeerImageConfig.OSImageR\x13expectedImageConfig\"\x8f\x02\n" + |
| "\bDUTAudio\x12\x15\n" + |
| "\x06in_box\x18\x01 \x01(\bR\x05inBox\x12\x14\n" + |
| "\x05atrus\x18\x02 \x01(\bR\x05atrus\x12!\n" + |
| "\fstatic_cable\x18\x03 \x01(\bR\vstaticCable\x12P\n" + |
| "\x0eloopback_state\x18\x04 \x01(\x0e2).chromeos.recovery.DUTAudio.LoopbackStateR\rloopbackState\x12 \n" + |
| "\vbeamforming\x18\x05 \x01(\tR\vbeamforming\"?\n" + |
| "\rLoopbackState\x12\x18\n" + |
| "\x14LOOPBACK_UNSPECIFIED\x10\x00\x12\x14\n" + |
| "\x10LOOPBACK_WORKING\x10\x01\"\x88\x01\n" + |
| "\x11InitServodRequest\x12\x1a\n" + |
| "\bresource\x18\x01 \x01(\tR\bresource\x12:\n" + |
| "\aoptions\x18\x02 \x01(\v2 .chromeos.recovery.ServodOptionsR\aoptions\x12\x1b\n" + |
| "\tno_servod\x18\x03 \x01(\bR\bnoServod\"\xf9\x01\n" + |
| "\rServodOptions\x12\x1b\n" + |
| "\tdut_board\x18\x01 \x01(\tR\bdutBoard\x12\x1b\n" + |
| "\tdut_model\x18\x02 \x01(\tR\bdutModel\x12\x1f\n" + |
| "\vservod_port\x18\x03 \x01(\x05R\n" + |
| "servodPort\x12!\n" + |
| "\fservo_serial\x18\x04 \x01(\tR\vservoSerial\x12\x1d\n" + |
| "\n" + |
| "servo_dual\x18\x05 \x01(\bR\tservoDual\x12&\n" + |
| "\x0fuse_cr50_config\x18\x06 \x01(\bR\ruseCr50Config\x12#\n" + |
| "\rrecovery_mode\x18\a \x01(\bR\frecoveryMode\"\x8b\x01\n" + |
| "\rServoTopology\x128\n" + |
| "\x04root\x18\x01 \x01(\v2$.chromeos.recovery.ServoTopologyItemR\x04root\x12@\n" + |
| "\bchildren\x18\x02 \x03(\v2$.chromeos.recovery.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" + |
| "sysfs_path\x18\x05 \x01(\tR\tsysfsPath\x12\x1d\n" + |
| "\n" + |
| "fw_version\x18\x06 \x01(\tR\tfwVersion\x12\x17\n" + |
| "\avid_pid\x18\a \x01(\tR\x06vidPid\"\x95\t\n" + |
| "\tServoHost\x12\x12\n" + |
| "\x04Name\x18\x01 \x01(\tR\x04Name\x128\n" + |
| "\x05state\x18\x02 \x01(\x0e2\".chromeos.recovery.ServoHost.StateR\x05state\x12#\n" + |
| "\rserial_number\x18\x03 \x01(\tR\fserialNumber\x12L\n" + |
| "\x10firmware_channel\x18\x04 \x01(\x0e2!.chromeos.recovery.ServoFwChannelR\x0ffirmwareChannel\x12\x1f\n" + |
| "\vservod_type\x18\x05 \x01(\tR\n" + |
| "servodType\x12C\n" + |
| "\fusbkey_state\x18\x06 \x01(\x0e2 .chromeos.recovery.HardwareStateR\vusbkeyState\x12\x1f\n" + |
| "\vservod_port\x18\a \x01(\x05R\n" + |
| "servodPort\x120\n" + |
| "\x14smart_usbhub_present\x18\b \x01(\bR\x12smartUsbhubPresent\x12G\n" + |
| "\x0eservo_topology\x18\t \x01(\v2 .chromeos.recovery.ServoTopologyR\rservoTopology\x12%\n" + |
| "\x0econtainer_name\x18\n" + |
| " \x01(\tR\rcontainerName\x12>\n" + |
| "\tusb_drive\x18\v \x01(\v2!.chromiumos.test.lab.api.UsbDriveR\busbDrive\"\xdd\x04\n" + |
| "\x05State\x12\x15\n" + |
| "\x11STATE_UNSPECIFIED\x10\x00\x12\v\n" + |
| "\aWORKING\x10\x01\x12\x12\n" + |
| "\x0eMISSING_CONFIG\x10\x02\x12\x10\n" + |
| "\fWRONG_CONFIG\x10\x03\x12\x11\n" + |
| "\rNOT_CONNECTED\x10\x04\x12\n" + |
| "\n" + |
| "\x06NO_SSH\x10\x05\x12\n" + |
| "\n" + |
| "\x06BROKEN\x10\x06\x12\x14\n" + |
| "\x10NEED_REPLACEMENT\x10\a\x12\x18\n" + |
| "\x14CR50_CONSOLE_MISSING\x10\b\x12\x15\n" + |
| "\x11CCD_TESTLAB_ISSUE\x10\t\x12\x10\n" + |
| "\fSERVOD_ISSUE\x10\n" + |
| "\x12\x13\n" + |
| "\x0fLID_OPEN_FAILED\x10\v\x12\x14\n" + |
| "\x10BAD_RIBBON_CABLE\x10\f\x12\r\n" + |
| "\tEC_BROKEN\x10\r\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\x1e\n" + |
| "\x1aDEBUG_HEADER_SERVO_MISSING\x10\x1b\"V\n" + |
| "\x0fProvisionedInfo\x12!\n" + |
| "\fcros_version\x18\x01 \x01(\tR\vcrosVersion\x12 \n" + |
| "\fjob_repo_url\x18\x02 \x01(\tR\n" + |
| "jobRepoUrl\"{\n" + |
| "\aStorage\x126\n" + |
| "\x05state\x18\x01 \x01(\x0e2 .chromeos.recovery.HardwareStateR\x05state\x128\n" + |
| "\x04type\x18\x02 \x01(\x0e2$.chromiumos.test.lab.api.StorageTypeR\x04type\"\x84\x04\n" + |
| "\tChameleon\x12\x12\n" + |
| "\x04name\x18\x01 \x01(\tR\x04name\x128\n" + |
| "\x05state\x18\x02 \x01(\x0e2\".chromeos.recovery.Chameleon.StateR\x05state\x12:\n" + |
| "\tRPMOutlet\x18\x03 \x01(\v2\x1c.chromeos.recovery.RPMOutletR\tRPMOutlet\x12q\n" + |
| "\x18audioboxjackpluggerstate\x18\x04 \x01(\x0e25.chromeos.recovery.Chameleon.AudioBoxJackPluggerStateR\x18audioboxjackpluggerstate\"K\n" + |
| "\x05State\x12\x15\n" + |
| "\x11STATE_UNSPECIFIED\x10\x00\x12\v\n" + |
| "\aWORKING\x10\x01\x12\n" + |
| "\n" + |
| "\x06BROKEN\x10\x02\x12\x12\n" + |
| "\x0eNOT_APPLICABLE\x10\x03\"\xac\x01\n" + |
| "\x18AudioBoxJackPluggerState\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\"\xbc\x01\n" + |
| "\bBesBoard\x12\x1f\n" + |
| "\vserial_port\x18\x01 \x01(\tR\n" + |
| "serialPort\x12\x1d\n" + |
| "\n" + |
| "bt_address\x18\x02 \x01(\tR\tbtAddress\x127\n" + |
| "\x05state\x18\x03 \x01(\x0e2!.chromeos.recovery.BesBoard.StateR\x05state\"7\n" + |
| "\x05State\x12\x15\n" + |
| "\x11STATE_UNSPECIFIED\x10\x00\x12\v\n" + |
| "\aWORKING\x10\x01\x12\n" + |
| "\n" + |
| "\x06BROKEN\x10\x02\"\x93\x02\n" + |
| "\rBluetoothPeer\x12\x12\n" + |
| "\x04name\x18\x01 \x01(\tR\x04name\x12<\n" + |
| "\x05state\x18\x02 \x01(\x0e2&.chromeos.recovery.BluetoothPeer.StateR\x05state\x12;\n" + |
| "\n" + |
| "rpm_outlet\x18\x03 \x01(\v2\x1c.chromeos.recovery.RPMOutletR\trpmOutlet\x12:\n" + |
| "\n" + |
| "bes_boards\x18\x04 \x03(\v2\x1b.chromeos.recovery.BesBoardR\tbesBoards\"7\n" + |
| "\x05State\x12\x15\n" + |
| "\x11STATE_UNSPECIFIED\x10\x00\x12\v\n" + |
| "\aWORKING\x10\x01\x12\n" + |
| "\n" + |
| "\x06BROKEN\x10\x02\"[\n" + |
| "\x04Wifi\x126\n" + |
| "\x05state\x18\x01 \x01(\x0e2 .chromeos.recovery.HardwareStateR\x05state\x12\x1b\n" + |
| "\tchip_name\x18\x02 \x01(\tR\bchipName\"_\n" + |
| "\tBluetooth\x126\n" + |
| "\x05state\x18\x01 \x01(\x0e2 .chromeos.recovery.HardwareStateR\x05state\x12\x1a\n" + |
| "\bexpected\x18\x02 \x01(\bR\bexpected\"\xa8\x12\n" + |
| "\bCellular\x12A\n" + |
| "\vmodem_state\x18\x01 \x01(\x0e2 .chromeos.recovery.HardwareStateR\n" + |
| "modemState\x12\x18\n" + |
| "\acarrier\x18\x02 \x01(\tR\acarrier\x12#\n" + |
| "\rmodel_variant\x18\x03 \x01(\tR\fmodelVariant\x12D\n" + |
| "\n" + |
| "modem_info\x18\x04 \x01(\v2%.chromeos.recovery.Cellular.ModemInfoR\tmodemInfo\x12@\n" + |
| "\tsim_infos\x18\x05 \x03(\v2#.chromeos.recovery.Cellular.SIMInfoR\bsimInfos\x12-\n" + |
| "\x12supported_carriers\x18\x06 \x03(\tR\x11supportedCarriers\x12P\n" + |
| "\x0estarfish_state\x18\a \x01(\x0e2).chromeos.recovery.Cellular.StarfishStateR\rstarfishState\x1aZ\n" + |
| "\tModemInfo\x129\n" + |
| "\x04type\x18\x01 \x01(\x0e2%.chromeos.recovery.Cellular.ModemTypeR\x04type\x12\x12\n" + |
| "\x04imei\x18\x02 \x01(\tR\x04imei\x1a\xe6\x04\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\x12N\n" + |
| "\fcarrier_name\x18\x04 \x01(\x0e2+.chromeos.recovery.Cellular.NetworkProviderR\vcarrierName\x12\x1d\n" + |
| "\n" + |
| "own_number\x18\x05 \x01(\tR\townNumber\x12F\n" + |
| "\x05state\x18\x06 \x01(\x0e20.chromeos.recovery.Cellular.SIMProfileInfo.StateR\x05state\x12%\n" + |
| "\x0edetected_iccid\x18\a \x01(\tR\rdetectedIccid\x12.\n" + |
| "\x13detected_own_number\x18\b \x01(\tR\x11detectedOwnNumber\x12N\n" + |
| "\bfeatures\x18\t \x03(\x0e22.chromeos.recovery.Cellular.SIMProfileInfo.FeatureR\bfeatures\"_\n" + |
| "\x05State\x12\x0f\n" + |
| "\vUNSPECIFIED\x10\x00\x12\n" + |
| "\n" + |
| "\x06BROKEN\x10\x01\x12\n" + |
| "\n" + |
| "\x06LOCKED\x10\x02\x12\x0e\n" + |
| "\n" + |
| "NO_NETWORK\x10\x03\x12\v\n" + |
| "\aWORKING\x10\x04\x12\x10\n" + |
| "\fWRONG_CONFIG\x10\x05\"M\n" + |
| "\aFeature\x12\x17\n" + |
| "\x13FEATURE_UNSPECIFIED\x10\x00\x12\x18\n" + |
| "\x14FEATURE_LIVE_NETWORK\x10\x01\x12\x0f\n" + |
| "\vFEATURE_SMS\x10\x02\x1a\xdb\x01\n" + |
| "\aSIMInfo\x12\x17\n" + |
| "\aslot_id\x18\x01 \x01(\x05R\x06slotId\x127\n" + |
| "\x04type\x18\x02 \x01(\x0e2#.chromeos.recovery.Cellular.SIMTypeR\x04type\x12\x10\n" + |
| "\x03eid\x18\x03 \x01(\tR\x03eid\x12\x1b\n" + |
| "\ttest_esim\x18\x04 \x01(\bR\btestEsim\x12O\n" + |
| "\rprofile_infos\x18\x05 \x03(\v2*.chromeos.recovery.Cellular.SIMProfileInfoR\fprofileInfos\"\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\"\xc7\x03\n" + |
| "\x0fNetworkProvider\x12\x17\n" + |
| "\x13NETWORK_UNSPECIFIED\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\"A\n" + |
| "\aSIMType\x12\x13\n" + |
| "\x0fSIM_UNSPECIFIED\x10\x00\x12\x10\n" + |
| "\fSIM_PHYSICAL\x10\x01\x12\x0f\n" + |
| "\vSIM_DIGITAL\x10\x02\"\x89\x01\n" + |
| "\rStarfishState\x12\x1e\n" + |
| "\x1aSTARFISH_STATE_UNSPECIFIED\x10\x00\x12\x1a\n" + |
| "\x16STARFISH_STATE_WORKING\x10\x01\x12\x19\n" + |
| "\x15STARFISH_STATE_BROKEN\x10\x02\x12!\n" + |
| "\x1dSTARFISH_STATE_NOT_APPLICABLE\x10\x03\"A\n" + |
| "\aBattery\x126\n" + |
| "\x05state\x18\x01 \x01(\x0e2 .chromeos.recovery.HardwareStateR\x05state\"\xd2\x01\n" + |
| "\x10HumanMotionRobot\x12\x12\n" + |
| "\x04name\x18\x01 \x01(\tR\x04name\x12?\n" + |
| "\x05state\x18\x02 \x01(\x0e2).chromeos.recovery.HumanMotionRobot.StateR\x05state\x12\x1c\n" + |
| "\ttouchhost\x18\x03 \x01(\tR\ttouchhost\"K\n" + |
| "\x05State\x12\x15\n" + |
| "\x11STATE_UNSPECIFIED\x10\x00\x12\v\n" + |
| "\aWORKING\x10\x01\x12\n" + |
| "\n" + |
| "\x06BROKEN\x10\x02\x12\x12\n" + |
| "\x0eNOT_APPLICABLE\x10\x03\"\xdf\x05\n" + |
| "\x05Dolos\x12!\n" + |
| "\fserial_cable\x18\x01 \x01(\tR\vserialCable\x12\x1d\n" + |
| "\n" + |
| "serial_usb\x18\x02 \x01(\tR\tserialUsb\x12Y\n" + |
| "\x11hw_major_revision\x18\x03 \x01(\x0e2-.chromeos.recovery.Dolos.DolosHWMajorRevisionR\x0fhwMajorRevision\x12\x1d\n" + |
| "\n" + |
| "fw_version\x18\x04 \x01(\tR\tfwVersion\x12\x1a\n" + |
| "\bhostname\x18\x05 \x01(\tR\bhostname\x124\n" + |
| "\x05state\x18\x06 \x01(\x0e2\x1e.chromeos.recovery.Dolos.StateR\x05state\x12;\n" + |
| "\n" + |
| "rpm_outlet\x18\a \x01(\v2\x1c.chromeos.recovery.RPMOutletR\trpmOutlet\";\n" + |
| "\x14DolosHWMajorRevision\x12\x15\n" + |
| "\x11DOLOS_UNSPECIFIED\x10\x00\x12\f\n" + |
| "\bDOLOS_V1\x10\x01\"\xcd\x02\n" + |
| "\x05State\x12\x15\n" + |
| "\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n" + |
| "\aWORKING\x10\x01\x1a\x02\b\x01\x12\x0e\n" + |
| "\x06BROKEN\x10\x02\x1a\x02\b\x01\x12\x16\n" + |
| "\x0eNOT_APPLICABLE\x10\x03\x1a\x02\b\x01\x12\x11\n" + |
| "\rDOLOS_UNKNOWN\x10\x04\x12\x1b\n" + |
| "\x17DOLOS_NO_POWER_SUPPLIED\x10\x05\x12\x1d\n" + |
| "\x19DOLOS_OUTPUT_POWER_FAILED\x10\x06\x12\x1b\n" + |
| "\x17DOLOS_BMS_STATE_INVALID\x10\a\x12!\n" + |
| "\x1dDOLOS_SMBUS_COMM_NOT_DETECTED\x10\b\x12\x18\n" + |
| "\x14DOLOS_EEPROM_FAILURE\x10\t\x12\f\n" + |
| "\bDOLOS_OK\x10\n" + |
| "\x12\x1a\n" + |
| "\x16DOLOS_NO_COMMUNICATION\x10\v\x12\x15\n" + |
| "\x11DOLOS_NOT_PRESENT\x10\f\x12\n" + |
| "\n" + |
| "\x06NO_SSH\x10\r\"\xc0\x01\n" + |
| "\x13AudioLatencyToolkit\x12\x18\n" + |
| "\aversion\x18\x01 \x01(\tR\aversion\x12B\n" + |
| "\x05state\x18\x02 \x01(\x0e2,.chromeos.recovery.AudioLatencyToolkit.StateR\x05state\"K\n" + |
| "\x05State\x12\x15\n" + |
| "\x11STATE_UNSPECIFIED\x10\x00\x12\v\n" + |
| "\aWORKING\x10\x01\x12\n" + |
| "\n" + |
| "\x06BROKEN\x10\x02\x12\x12\n" + |
| "\x0eNOT_APPLICABLE\x10\x03\"H\n" + |
| "\fFirmwareInfo\x12\x1b\n" + |
| "\tec_target\x18\x01 \x01(\tR\becTarget\x12\x1b\n" + |
| "\tap_target\x18\x02 \x01(\tR\bapTarget\"M\n" + |
| "\vFingerprint\x12\x14\n" + |
| "\x05board\x18\x01 \x01(\tR\x05board\x12\x10\n" + |
| "\x03mcu\x18\x02 \x01(\tR\x03mcu\x12\x16\n" + |
| "\x06sensor\x18\x03 \x01(\tR\x06sensor\"\xc9\x01\n" + |
| "\n" + |
| "AMTManager\x12\x1a\n" + |
| "\bhostname\x18\x01 \x01(\tR\bhostname\x129\n" + |
| "\x05state\x18\x02 \x01(\x0e2#.chromeos.recovery.AMTManager.StateR\x05state\x12\x17\n" + |
| "\ause_tls\x18\x03 \x01(\bR\x06useTls\"K\n" + |
| "\x05State\x12\x15\n" + |
| "\x11STATE_UNSPECIFIED\x10\x00\x12\v\n" + |
| "\aWORKING\x10\x01\x12\n" + |
| "\n" + |
| "\x06BROKEN\x10\x02\x12\x12\n" + |
| "\x0eNOT_APPLICABLE\x10\x03\"@\n" + |
| "\x06Camera\x126\n" + |
| "\x05state\x18\x01 \x01(\x0e2 .chromeos.recovery.HardwareStateR\x05state\"\xbd\x16\n" + |
| "\bChromeOS\x12(\n" + |
| "\x10is_android_based\x18\x01 \x01(\bR\x0eisAndroidBased\x12P\n" + |
| "\x0eos_restriction\x18% \x01(\x0e2).chromeos.recovery.ChromeOS.OSRestructionR\rosRestriction\x12\x14\n" + |
| "\x05board\x18\x02 \x01(\tR\x05board\x12\x14\n" + |
| "\x05model\x18\x03 \x01(\tR\x05model\x12\x12\n" + |
| "\x04hwid\x18\x04 \x01(\tR\x04hwid\x12\x14\n" + |
| "\x05phase\x18\x05 \x01(\tR\x05phase\x12#\n" + |
| "\rserial_number\x18\x06 \x01(\tR\fserialNumber\x12D\n" + |
| "\rfirmware_info\x18 \x01(\v2\x1f.chromeos.recovery.FirmwareInfoR\ffirmwareInfo\x12W\n" + |
| "\x11power_supply_type\x18\a \x01(\x0e2+.chromeos.recovery.ChromeOS.PowerSupplyTypeR\x0fpowerSupplyType\x12D\n" + |
| "\n" + |
| "cr50_phase\x18\b \x01(\x0e2%.chromeos.recovery.ChromeOS.Cr50PhaseR\tcr50Phase\x12H\n" + |
| "\fcr50_key_env\x18\t \x01(\x0e2&.chromeos.recovery.ChromeOS.Cr50KeyEnvR\n" + |
| "cr50KeyEnv\x121\n" + |
| "\x05audio\x18\n" + |
| " \x01(\v2\x1b.chromeos.recovery.DUTAudioR\x05audio\x12\x1d\n" + |
| "\n" + |
| "device_sku\x18\v \x01(\tR\tdeviceSku\x12\x12\n" + |
| "\x04frid\x18) \x01(\tR\x04frid\x12\x1c\n" + |
| "\n" + |
| "dlm_sku_id\x18\x1f \x01(\tR\bdlmSkuId\x124\n" + |
| "\astorage\x18\f \x01(\v2\x1a.chromeos.recovery.StorageR\astorage\x124\n" + |
| "\abattery\x18\r \x01(\v2\x1a.chromeos.recovery.BatteryR\abattery\x12+\n" + |
| "\x04wifi\x18\x0e \x01(\v2\x17.chromeos.recovery.WifiR\x04wifi\x12:\n" + |
| "\tbluetooth\x18\x0f \x01(\v2\x1c.chromeos.recovery.BluetoothR\tbluetooth\x122\n" + |
| "\x05servo\x18\x10 \x01(\v2\x1c.chromeos.recovery.ServoHostR\x05servo\x12:\n" + |
| "\tchameleon\x18\x11 \x01(\v2\x1c.chromeos.recovery.ChameleonR\tchameleon\x12I\n" + |
| "\x0fbluetooth_peers\x18\x12 \x03(\v2 .chromeos.recovery.BluetoothPeerR\x0ebluetoothPeers\x12D\n" + |
| "\fwifi_routers\x18\x13 \x03(\v2!.chromeos.recovery.WifiRouterHostR\vwifiRouters\x12c\n" + |
| "\x15peripheral_wifi_state\x18\x14 \x01(\x0e2/.chromeos.recovery.ChromeOS.PeripheralWifiStateR\x13peripheralWifiState\x12\\\n" + |
| "\x14wifi_router_features\x18\x1b \x03(\x0e2*.chromiumos.test.lab.api.WifiRouterFeatureR\x12wifiRouterFeatures\x12;\n" + |
| "\n" + |
| "rpm_outlet\x18\x15 \x01(\v2\x1c.chromeos.recovery.RPMOutletR\trpmOutlet\x12G\n" + |
| "\n" + |
| "ro_vpd_map\x18\x16 \x03(\v2).chromeos.recovery.ChromeOS.RoVpdMapEntryR\broVpdMap\x12.\n" + |
| "\x03cbi\x18\x17 \x01(\v2\x1c.chromiumos.test.lab.api.CbiR\x03cbi\x127\n" + |
| "\bcellular\x18\x18 \x01(\v2\x1b.chromeos.recovery.CellularR\bcellular\x12\x10\n" + |
| "\x03cbx\x18\x19 \x01(\bR\x03cbx\x12Q\n" + |
| "\x12human_motion_robot\x18\x1a \x01(\v2#.chromeos.recovery.HumanMotionRobotR\x10humanMotionRobot\x12S\n" + |
| "\x12testbed_capability\x18\x1c \x01(\v2$.chromeos.recovery.TestbedCapabilityR\x11testbedCapability\x12Z\n" + |
| "\x15audio_latency_toolkit\x18\x1d \x01(\v2&.chromeos.recovery.AudioLatencyToolkitR\x13audioLatencyToolkit\x12.\n" + |
| "\x05dolos\x18\x1e \x01(\v2\x18.chromeos.recovery.DolosR\x05dolos\x12\x15\n" + |
| "\x06gpu_id\x18! \x01(\tR\x05gpuId\x12>\n" + |
| "\vamt_manager\x18\" \x01(\v2\x1d.chromeos.recovery.AMTManagerR\n" + |
| "amtManager\x121\n" + |
| "\x06camera\x18# \x01(\v2\x19.chromeos.recovery.CameraR\x06camera\x12@\n" + |
| "\vfingerprint\x18$ \x01(\v2\x1e.chromeos.recovery.FingerprintR\vfingerprint\x12.\n" + |
| "\x05pasit\x18& \x01(\v2\x18.chromeos.recovery.PasitR\x05pasit\x12>\n" + |
| "\bgsc_chip\x18' \x01(\x0e2#.chromeos.recovery.ChromeOS.GscChipR\agscChip\x1a;\n" + |
| "\rRoVpdMapEntry\x12\x10\n" + |
| "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"I\n" + |
| "\rOSRestruction\x12\v\n" + |
| "\aOSR_ANY\x10\x00\x12\x15\n" + |
| "\x11OSR_CHROMEOS_ONLY\x10\x01\x12\x14\n" + |
| "\x10OSR_ANDROID_ONLY\x10\x02\"I\n" + |
| "\x0fPowerSupplyType\x12\x1c\n" + |
| "\x18POWER_SUPPLY_UNSPECIFIED\x10\x00\x12\v\n" + |
| "\aAC_ONLY\x10\x01\x12\v\n" + |
| "\aBATTERY\x10\x02\"R\n" + |
| "\tCr50Phase\x12\x1a\n" + |
| "\x16CR50_PHASE_UNSPECIFIED\x10\x00\x12\x12\n" + |
| "\x0eCR50_PHASE_PVT\x10\x01\x12\x15\n" + |
| "\x11CR50_PHASE_PREPVT\x10\x02\"T\n" + |
| "\n" + |
| "Cr50KeyEnv\x12\x1b\n" + |
| "\x17CR50_KEYENV_UNSPECIFIED\x10\x00\x12\x14\n" + |
| "\x10CR50_KEYENV_PROD\x10\x01\x12\x13\n" + |
| "\x0fCR50_KEYENV_DEV\x10\x02\"\xab\x01\n" + |
| "\x13PeripheralWifiState\x12%\n" + |
| "!PERIPHERAL_WIFI_STATE_UNSPECIFIED\x10\x00\x12!\n" + |
| "\x1dPERIPHERAL_WIFI_STATE_WORKING\x10\x02\x12 \n" + |
| "\x1cPERIPHERAL_WIFI_STATE_BROKEN\x10\x03\x12(\n" + |
| "$PERIPHERAL_WIFI_STATE_NOT_APPLICABLE\x10\x04\"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\"\x93\x01\n" + |
| "\x11TestbedCapability\x12\x1c\n" + |
| "\taudiojack\x18\x02 \x01(\bR\taudiojack\x12\x1a\n" + |
| "\busbaudio\x18\x03 \x01(\bR\busbaudio\x12 \n" + |
| "\vusbprinting\x18\x04 \x01(\bR\vusbprinting\x12\x1c\n" + |
| "\thdmiaudio\x18\x05 \x01(\bR\thdmiaudioJ\x04\b\x01\x10\x02\"\x91\x01\n" + |
| "\aAndroid\x12\x14\n" + |
| "\x05board\x18\x02 \x01(\tR\x05board\x12\x14\n" + |
| "\x05model\x18\x03 \x01(\tR\x05model\x12#\n" + |
| "\rserial_number\x18\x04 \x01(\tR\fserialNumber\x12/\n" + |
| "\x13associated_hostname\x18\x05 \x01(\tR\x12associatedHostnameJ\x04\b\x01\x10\x02\"\x95\x01\n" + |
| "\bDevBoard\x12\x14\n" + |
| "\x05board\x18\x02 \x01(\tR\x05board\x12\x14\n" + |
| "\x05model\x18\x03 \x01(\tR\x05model\x12#\n" + |
| "\rserial_number\x18\x04 \x01(\tR\fserialNumber\x122\n" + |
| "\x05servo\x18\x05 \x01(\v2\x1c.chromeos.recovery.ServoHostR\x05servoJ\x04\b\x01\x10\x02\"\xaa\x01\n" + |
| "\vCopyRequest\x12\x1a\n" + |
| "\bresource\x18\x01 \x01(\tR\bresource\x12\x1f\n" + |
| "\vpath_source\x18\x02 \x01(\tR\n" + |
| "pathSource\x12)\n" + |
| "\x10path_destination\x18\x03 \x01(\tR\x0fpathDestination\x123\n" + |
| "\atimeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\atimeout\"\xba\x01\n" + |
| "\x11CallServodRequest\x12\x1a\n" + |
| "\bresource\x18\x01 \x01(\tR\bresource\x12\x16\n" + |
| "\x06method\x18\x02 \x01(\tR\x06method\x12<\n" + |
| "\x04args\x18\x03 \x03(\v2(.chromiumos.config.api.test.xmlrpc.ValueR\x04args\x123\n" + |
| "\atimeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\atimeout\"j\n" + |
| "\x12CallServodResponse\x12>\n" + |
| "\x05value\x18\x01 \x01(\v2(.chromiumos.config.api.test.xmlrpc.ValueR\x05value\x12\x14\n" + |
| "\x05fault\x18\x02 \x01(\bR\x05fault\"\xd1\x01\n" + |
| "\vVersionInfo\x12\x0e\n" + |
| "\x02os\x18\x01 \x01(\tR\x02os\x12\x1f\n" + |
| "\vro_firmware\x18\x02 \x01(\tR\n" + |
| "roFirmware\x12\x1f\n" + |
| "\vrw_firmware\x18\x03 \x01(\tR\n" + |
| "rwFirmware\x12>\n" + |
| "\aos_type\x18\x04 \x01(\x0e2%.chromeos.recovery.VersionInfo.OsTypeR\x06osType\"0\n" + |
| "\x06OsType\x12\v\n" + |
| "\aUNKNOWN\x10\x00\x12\f\n" + |
| "\bCHROMEOS\x10\x01\x12\v\n" + |
| "\aANDROID\x10\x02\"\xb4\a\n" + |
| "\x05Pasit\x12\x1a\n" + |
| "\bhostname\x18\x01 \x01(\tR\bhostname\x129\n" + |
| "\adevices\x18\x02 \x03(\v2\x1f.chromeos.recovery.Pasit.DeviceR\adevices\x12E\n" + |
| "\vconnections\x18\x03 \x03(\v2#.chromeos.recovery.Pasit.ConnectionR\vconnections\x124\n" + |
| "\x05state\x18\x04 \x01(\x0e2\x1e.chromeos.recovery.Pasit.StateR\x05state\x1a\x8f\x01\n" + |
| "\n" + |
| "Connection\x12\x1f\n" + |
| "\vparent_port\x18\x01 \x01(\tR\n" + |
| "parentPort\x12\x1b\n" + |
| "\tparent_id\x18\x02 \x01(\tR\bparentId\x12\x19\n" + |
| "\bchild_id\x18\x03 \x01(\tR\achildId\x12\x14\n" + |
| "\x05speed\x18\x04 \x01(\x02R\x05speed\x12\x12\n" + |
| "\x04type\x18\x05 \x01(\tR\x04type\x1a\xff\x03\n" + |
| "\x06Device\x12\x0e\n" + |
| "\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" + |
| "\x05model\x18\x02 \x01(\tR\x05model\x128\n" + |
| "\x04type\x18\x03 \x01(\x0e2$.chromeos.recovery.Pasit.Device.TypeR\x04type\x12N\n" + |
| "\fpower_supply\x18\x04 \x01(\v2+.chromeos.recovery.Pasit.Device.PowerSupplyR\vpowerSupply\x12.\n" + |
| "\x03rpm\x18\x05 \x01(\v2\x1c.chromeos.recovery.RPMOutletR\x03rpm\x1aW\n" + |
| "\vPowerSupply\x12\x18\n" + |
| "\acurrent\x18\x01 \x01(\x02R\acurrent\x12\x18\n" + |
| "\avoltage\x18\x02 \x01(\x02R\avoltage\x12\x14\n" + |
| "\x05power\x18\x03 \x01(\x02R\x05power\"\xbb\x01\n" + |
| "\x04Type\x12\v\n" + |
| "\aUNKNOWN\x10\x00\x12\a\n" + |
| "\x03DUT\x10\x01\x12\x12\n" + |
| "\x0eSWITCH_FIXTURE\x10\x02\x12\x13\n" + |
| "\x0fDOCKING_STATION\x10\x03\x12\v\n" + |
| "\aMONITOR\x10\x04\x12\n" + |
| "\n" + |
| "\x06CAMERA\x10\x05\x12\v\n" + |
| "\aSTORAGE\x10\x06\x12\a\n" + |
| "\x03HID\x10\a\x12\v\n" + |
| "\aNETWORK\x10\b\x12\r\n" + |
| "\tHEADPHONE\x10\t\x12\v\n" + |
| "\aSPEAKER\x10\n" + |
| "\x12\f\n" + |
| "\bIP_POWER\x10\v\x12\x0e\n" + |
| "\n" + |
| "USB_TESTER\x10\f\"C\n" + |
| "\x05State\x12\x15\n" + |
| "\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n" + |
| "\rSTATE_WORKING\x10\x01\x12\x10\n" + |
| "\fSTATE_BROKEN\x10\x02*7\n" + |
| "\aRPMType\x12\v\n" + |
| "\aUNKNOWN\x10\x00\x12\n" + |
| "\n" + |
| "\x06SENTRY\x10\x01\x12\n" + |
| "\n" + |
| "\x06IP9850\x10\x02\x12\a\n" + |
| "\x03CPI\x10\x03*\x91\x01\n" + |
| "\rHardwareState\x12\x18\n" + |
| "\x14HARDWARE_UNSPECIFIED\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*N\n" + |
| "\x0eServoFwChannel\x12\x12\n" + |
| "\x0eFW_UNSPECIFIED\x10\x00\x12\n" + |
| "\n" + |
| "\x06STABLE\x10\x01\x12\b\n" + |
| "\x04PREV\x10\x02\x12\a\n" + |
| "\x03DEV\x10\x03\x12\t\n" + |
| "\x05ALPHA\x10\x04*\xb6\x01\n" + |
| "\rRepairRequest\x12\x1a\n" + |
| "\x16REPAIR_REQUEST_UNKNOWN\x10\x00\x12\x1c\n" + |
| "\x18REPAIR_REQUEST_PROVISION\x10\x01\x12$\n" + |
| " REPAIR_REQUEST_REIMAGE_BY_USBKEY\x10\x02\x12&\n" + |
| "\"REPAIR_REQUEST_UPDATE_USBKEY_IMAGE\x10\x03\x12\x1d\n" + |
| "\x19REPAIR_REQUEST_REFLASH_FW\x10\x04*\xad\x01\n" + |
| "\fDUTSetupType\x12\x0f\n" + |
| "\vUNSPECIFIED\x10\x00\x12\x0e\n" + |
| "\n" + |
| "LABSTATION\x10\x01\x12\r\n" + |
| "\tJETSTREAM\x10\x02\x12\b\n" + |
| "\x04CROS\x10\x03\x12\x10\n" + |
| "\fCROS_BROWSER\x10\x04\x12\v\n" + |
| "\aANDROID\x10\x05\x12\a\n" + |
| "\x03IOS\x10\x06\x12\n" + |
| "\n" + |
| "\x06CROSVM\x10\a\x12\r\n" + |
| "\tDEV_BOARD\x10\b\x12\x0e\n" + |
| "\n" + |
| "CLANK_ONLY\x10\t\x12\x10\n" + |
| "\fCROS_ANDROID\x10\n" + |
| "B-Z+go.chromium.org/infra/cros/recovery/tlw;tlwb\x06proto3" |
| |
| var ( |
| file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescOnce sync.Once |
| file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescData []byte |
| ) |
| |
| func file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescGZIP() []byte { |
| file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescOnce.Do(func() { |
| file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDesc), len(file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDesc))) |
| }) |
| return file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDescData |
| } |
| |
| var file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes = make([]protoimpl.EnumInfo, 34) |
| var file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes = make([]protoimpl.MessageInfo, 54) |
| var file_go_chromium_org_infra_cros_recovery_tlw_models_proto_goTypes = []any{ |
| (RPMType)(0), // 0: chromeos.recovery.RPMType |
| (HardwareState)(0), // 1: chromeos.recovery.HardwareState |
| (ServoFwChannel)(0), // 2: chromeos.recovery.ServoFwChannel |
| (RepairRequest)(0), // 3: chromeos.recovery.RepairRequest |
| (DUTSetupType)(0), // 4: chromeos.recovery.DUTSetupType |
| (RunRPMActionRequest_Action)(0), // 5: chromeos.recovery.RunRPMActionRequest.Action |
| (RPMOutlet_State)(0), // 6: chromeos.recovery.RPMOutlet.State |
| (WifiRouterHost_State)(0), // 7: chromeos.recovery.WifiRouterHost.State |
| (DUTAudio_LoopbackState)(0), // 8: chromeos.recovery.DUTAudio.LoopbackState |
| (ServoHost_State)(0), // 9: chromeos.recovery.ServoHost.State |
| (Chameleon_State)(0), // 10: chromeos.recovery.Chameleon.State |
| (Chameleon_AudioBoxJackPluggerState)(0), // 11: chromeos.recovery.Chameleon.AudioBoxJackPluggerState |
| (BesBoard_State)(0), // 12: chromeos.recovery.BesBoard.State |
| (BluetoothPeer_State)(0), // 13: chromeos.recovery.BluetoothPeer.State |
| (Cellular_ModemType)(0), // 14: chromeos.recovery.Cellular.ModemType |
| (Cellular_NetworkProvider)(0), // 15: chromeos.recovery.Cellular.NetworkProvider |
| (Cellular_SIMType)(0), // 16: chromeos.recovery.Cellular.SIMType |
| (Cellular_StarfishState)(0), // 17: chromeos.recovery.Cellular.StarfishState |
| (Cellular_SIMProfileInfo_State)(0), // 18: chromeos.recovery.Cellular.SIMProfileInfo.State |
| (Cellular_SIMProfileInfo_Feature)(0), // 19: chromeos.recovery.Cellular.SIMProfileInfo.Feature |
| (HumanMotionRobot_State)(0), // 20: chromeos.recovery.HumanMotionRobot.State |
| (Dolos_DolosHWMajorRevision)(0), // 21: chromeos.recovery.Dolos.DolosHWMajorRevision |
| (Dolos_State)(0), // 22: chromeos.recovery.Dolos.State |
| (AudioLatencyToolkit_State)(0), // 23: chromeos.recovery.AudioLatencyToolkit.State |
| (AMTManager_State)(0), // 24: chromeos.recovery.AMTManager.State |
| (ChromeOS_OSRestruction)(0), // 25: chromeos.recovery.ChromeOS.OSRestruction |
| (ChromeOS_PowerSupplyType)(0), // 26: chromeos.recovery.ChromeOS.PowerSupplyType |
| (ChromeOS_Cr50Phase)(0), // 27: chromeos.recovery.ChromeOS.Cr50Phase |
| (ChromeOS_Cr50KeyEnv)(0), // 28: chromeos.recovery.ChromeOS.Cr50KeyEnv |
| (ChromeOS_PeripheralWifiState)(0), // 29: chromeos.recovery.ChromeOS.PeripheralWifiState |
| (ChromeOS_GscChip)(0), // 30: chromeos.recovery.ChromeOS.GscChip |
| (VersionInfo_OsType)(0), // 31: chromeos.recovery.VersionInfo.OsType |
| (Pasit_State)(0), // 32: chromeos.recovery.Pasit.State |
| (Pasit_Device_Type)(0), // 33: chromeos.recovery.Pasit.Device.Type |
| (*RunRequest)(nil), // 34: chromeos.recovery.RunRequest |
| (*RunResult)(nil), // 35: chromeos.recovery.RunResult |
| (*ProvisionRequest)(nil), // 36: chromeos.recovery.ProvisionRequest |
| (*CallBluetoothPeerRequest)(nil), // 37: chromeos.recovery.CallBluetoothPeerRequest |
| (*CallBluetoothPeerResponse)(nil), // 38: chromeos.recovery.CallBluetoothPeerResponse |
| (*CallTouchHostdRequest)(nil), // 39: chromeos.recovery.CallTouchHostdRequest |
| (*CallTouchHostdResponse)(nil), // 40: chromeos.recovery.CallTouchHostdResponse |
| (*RunRPMActionRequest)(nil), // 41: chromeos.recovery.RunRPMActionRequest |
| (*RPMOutlet)(nil), // 42: chromeos.recovery.RPMOutlet |
| (*WifiRouterHost)(nil), // 43: chromeos.recovery.WifiRouterHost |
| (*AsusWrtRouterControllerState)(nil), // 44: chromeos.recovery.AsusWrtRouterControllerState |
| (*OpenWrtRouterControllerState)(nil), // 45: chromeos.recovery.OpenWrtRouterControllerState |
| (*UbuntuRouterControllerState)(nil), // 46: chromeos.recovery.UbuntuRouterControllerState |
| (*BluetoothPeerScopeState)(nil), // 47: chromeos.recovery.BluetoothPeerScopeState |
| (*DUTAudio)(nil), // 48: chromeos.recovery.DUTAudio |
| (*InitServodRequest)(nil), // 49: chromeos.recovery.InitServodRequest |
| (*ServodOptions)(nil), // 50: chromeos.recovery.ServodOptions |
| (*ServoTopology)(nil), // 51: chromeos.recovery.ServoTopology |
| (*ServoTopologyItem)(nil), // 52: chromeos.recovery.ServoTopologyItem |
| (*ServoHost)(nil), // 53: chromeos.recovery.ServoHost |
| (*ProvisionedInfo)(nil), // 54: chromeos.recovery.ProvisionedInfo |
| (*Storage)(nil), // 55: chromeos.recovery.Storage |
| (*Chameleon)(nil), // 56: chromeos.recovery.Chameleon |
| (*BesBoard)(nil), // 57: chromeos.recovery.BesBoard |
| (*BluetoothPeer)(nil), // 58: chromeos.recovery.BluetoothPeer |
| (*Wifi)(nil), // 59: chromeos.recovery.Wifi |
| (*Bluetooth)(nil), // 60: chromeos.recovery.Bluetooth |
| (*Cellular)(nil), // 61: chromeos.recovery.Cellular |
| (*Battery)(nil), // 62: chromeos.recovery.Battery |
| (*HumanMotionRobot)(nil), // 63: chromeos.recovery.HumanMotionRobot |
| (*Dolos)(nil), // 64: chromeos.recovery.Dolos |
| (*AudioLatencyToolkit)(nil), // 65: chromeos.recovery.AudioLatencyToolkit |
| (*FirmwareInfo)(nil), // 66: chromeos.recovery.FirmwareInfo |
| (*Fingerprint)(nil), // 67: chromeos.recovery.Fingerprint |
| (*AMTManager)(nil), // 68: chromeos.recovery.AMTManager |
| (*Camera)(nil), // 69: chromeos.recovery.Camera |
| (*ChromeOS)(nil), // 70: chromeos.recovery.ChromeOS |
| (*TestbedCapability)(nil), // 71: chromeos.recovery.TestbedCapability |
| (*Android)(nil), // 72: chromeos.recovery.Android |
| (*DevBoard)(nil), // 73: chromeos.recovery.DevBoard |
| (*CopyRequest)(nil), // 74: chromeos.recovery.CopyRequest |
| (*CallServodRequest)(nil), // 75: chromeos.recovery.CallServodRequest |
| (*CallServodResponse)(nil), // 76: chromeos.recovery.CallServodResponse |
| (*VersionInfo)(nil), // 77: chromeos.recovery.VersionInfo |
| (*Pasit)(nil), // 78: chromeos.recovery.Pasit |
| (*BluetoothPeerScopeState_Chameleond)(nil), // 79: chromeos.recovery.BluetoothPeerScopeState.Chameleond |
| (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage)(nil), // 80: chromeos.recovery.BluetoothPeerScopeState.RaspiosCrosBtpeerImage |
| (*Cellular_ModemInfo)(nil), // 81: chromeos.recovery.Cellular.ModemInfo |
| (*Cellular_SIMProfileInfo)(nil), // 82: chromeos.recovery.Cellular.SIMProfileInfo |
| (*Cellular_SIMInfo)(nil), // 83: chromeos.recovery.Cellular.SIMInfo |
| nil, // 84: chromeos.recovery.ChromeOS.RoVpdMapEntry |
| (*Pasit_Connection)(nil), // 85: chromeos.recovery.Pasit.Connection |
| (*Pasit_Device)(nil), // 86: chromeos.recovery.Pasit.Device |
| (*Pasit_Device_PowerSupply)(nil), // 87: chromeos.recovery.Pasit.Device.PowerSupply |
| (*durationpb.Duration)(nil), // 88: google.protobuf.Duration |
| (*xmlrpc.Value)(nil), // 89: chromiumos.config.api.test.xmlrpc.Value |
| (api.WifiRouterFeature)(0), // 90: chromiumos.test.lab.api.WifiRouterFeature |
| (api.WifiRouterDeviceType)(0), // 91: chromiumos.test.lab.api.WifiRouterDeviceType |
| (*api.CrosOpenWrtImageBuildInfo)(nil), // 92: chromiumos.test.lab.api.CrosOpenWrtImageBuildInfo |
| (*api.OpenWrtWifiRouterDeviceConfig)(nil), // 93: chromiumos.test.lab.api.OpenWrtWifiRouterDeviceConfig |
| (*api.UsbDrive)(nil), // 94: chromiumos.test.lab.api.UsbDrive |
| (api.StorageType)(0), // 95: chromiumos.test.lab.api.StorageType |
| (*api.Cbi)(nil), // 96: chromiumos.test.lab.api.Cbi |
| (*api.BluetoothPeerChameleondConfig)(nil), // 97: chromiumos.test.lab.api.BluetoothPeerChameleondConfig |
| (*api.BluetoothPeerChameleondConfig_ChameleondBundle)(nil), // 98: chromiumos.test.lab.api.BluetoothPeerChameleondConfig.ChameleondBundle |
| (*api.RaspiosCrosBtpeerImageConfig)(nil), // 99: chromiumos.test.lab.api.RaspiosCrosBtpeerImageConfig |
| (*api.RaspiosCrosBtpeerImageConfig_OSImage)(nil), // 100: chromiumos.test.lab.api.RaspiosCrosBtpeerImageConfig.OSImage |
| } |
| var file_go_chromium_org_infra_cros_recovery_tlw_models_proto_depIdxs = []int32{ |
| 88, // 0: chromeos.recovery.RunRequest.timeout:type_name -> google.protobuf.Duration |
| 89, // 1: chromeos.recovery.CallBluetoothPeerRequest.args:type_name -> chromiumos.config.api.test.xmlrpc.Value |
| 89, // 2: chromeos.recovery.CallBluetoothPeerResponse.value:type_name -> chromiumos.config.api.test.xmlrpc.Value |
| 89, // 3: chromeos.recovery.CallTouchHostdRequest.args:type_name -> chromiumos.config.api.test.xmlrpc.Value |
| 88, // 4: chromeos.recovery.CallTouchHostdRequest.timeout:type_name -> google.protobuf.Duration |
| 89, // 5: chromeos.recovery.CallTouchHostdResponse.value:type_name -> chromiumos.config.api.test.xmlrpc.Value |
| 5, // 6: chromeos.recovery.RunRPMActionRequest.action:type_name -> chromeos.recovery.RunRPMActionRequest.Action |
| 0, // 7: chromeos.recovery.RunRPMActionRequest.rpm_type:type_name -> chromeos.recovery.RPMType |
| 6, // 8: chromeos.recovery.RPMOutlet.state:type_name -> chromeos.recovery.RPMOutlet.State |
| 0, // 9: chromeos.recovery.RPMOutlet.type:type_name -> chromeos.recovery.RPMType |
| 7, // 10: chromeos.recovery.WifiRouterHost.state:type_name -> chromeos.recovery.WifiRouterHost.State |
| 42, // 11: chromeos.recovery.WifiRouterHost.RPMOutlet:type_name -> chromeos.recovery.RPMOutlet |
| 90, // 12: chromeos.recovery.WifiRouterHost.features:type_name -> chromiumos.test.lab.api.WifiRouterFeature |
| 91, // 13: chromeos.recovery.WifiRouterHost.device_type:type_name -> chromiumos.test.lab.api.WifiRouterDeviceType |
| 92, // 14: chromeos.recovery.OpenWrtRouterControllerState.device_build_info:type_name -> chromiumos.test.lab.api.CrosOpenWrtImageBuildInfo |
| 93, // 15: chromeos.recovery.OpenWrtRouterControllerState.config:type_name -> chromiumos.test.lab.api.OpenWrtWifiRouterDeviceConfig |
| 58, // 16: chromeos.recovery.BluetoothPeerScopeState.btpeer:type_name -> chromeos.recovery.BluetoothPeer |
| 79, // 17: chromeos.recovery.BluetoothPeerScopeState.chameleond:type_name -> chromeos.recovery.BluetoothPeerScopeState.Chameleond |
| 80, // 18: chromeos.recovery.BluetoothPeerScopeState.raspios_cros_btpeer_image:type_name -> chromeos.recovery.BluetoothPeerScopeState.RaspiosCrosBtpeerImage |
| 8, // 19: chromeos.recovery.DUTAudio.loopback_state:type_name -> chromeos.recovery.DUTAudio.LoopbackState |
| 50, // 20: chromeos.recovery.InitServodRequest.options:type_name -> chromeos.recovery.ServodOptions |
| 52, // 21: chromeos.recovery.ServoTopology.root:type_name -> chromeos.recovery.ServoTopologyItem |
| 52, // 22: chromeos.recovery.ServoTopology.children:type_name -> chromeos.recovery.ServoTopologyItem |
| 9, // 23: chromeos.recovery.ServoHost.state:type_name -> chromeos.recovery.ServoHost.State |
| 2, // 24: chromeos.recovery.ServoHost.firmware_channel:type_name -> chromeos.recovery.ServoFwChannel |
| 1, // 25: chromeos.recovery.ServoHost.usbkey_state:type_name -> chromeos.recovery.HardwareState |
| 51, // 26: chromeos.recovery.ServoHost.servo_topology:type_name -> chromeos.recovery.ServoTopology |
| 94, // 27: chromeos.recovery.ServoHost.usb_drive:type_name -> chromiumos.test.lab.api.UsbDrive |
| 1, // 28: chromeos.recovery.Storage.state:type_name -> chromeos.recovery.HardwareState |
| 95, // 29: chromeos.recovery.Storage.type:type_name -> chromiumos.test.lab.api.StorageType |
| 10, // 30: chromeos.recovery.Chameleon.state:type_name -> chromeos.recovery.Chameleon.State |
| 42, // 31: chromeos.recovery.Chameleon.RPMOutlet:type_name -> chromeos.recovery.RPMOutlet |
| 11, // 32: chromeos.recovery.Chameleon.audioboxjackpluggerstate:type_name -> chromeos.recovery.Chameleon.AudioBoxJackPluggerState |
| 12, // 33: chromeos.recovery.BesBoard.state:type_name -> chromeos.recovery.BesBoard.State |
| 13, // 34: chromeos.recovery.BluetoothPeer.state:type_name -> chromeos.recovery.BluetoothPeer.State |
| 42, // 35: chromeos.recovery.BluetoothPeer.rpm_outlet:type_name -> chromeos.recovery.RPMOutlet |
| 57, // 36: chromeos.recovery.BluetoothPeer.bes_boards:type_name -> chromeos.recovery.BesBoard |
| 1, // 37: chromeos.recovery.Wifi.state:type_name -> chromeos.recovery.HardwareState |
| 1, // 38: chromeos.recovery.Bluetooth.state:type_name -> chromeos.recovery.HardwareState |
| 1, // 39: chromeos.recovery.Cellular.modem_state:type_name -> chromeos.recovery.HardwareState |
| 81, // 40: chromeos.recovery.Cellular.modem_info:type_name -> chromeos.recovery.Cellular.ModemInfo |
| 83, // 41: chromeos.recovery.Cellular.sim_infos:type_name -> chromeos.recovery.Cellular.SIMInfo |
| 17, // 42: chromeos.recovery.Cellular.starfish_state:type_name -> chromeos.recovery.Cellular.StarfishState |
| 1, // 43: chromeos.recovery.Battery.state:type_name -> chromeos.recovery.HardwareState |
| 20, // 44: chromeos.recovery.HumanMotionRobot.state:type_name -> chromeos.recovery.HumanMotionRobot.State |
| 21, // 45: chromeos.recovery.Dolos.hw_major_revision:type_name -> chromeos.recovery.Dolos.DolosHWMajorRevision |
| 22, // 46: chromeos.recovery.Dolos.state:type_name -> chromeos.recovery.Dolos.State |
| 42, // 47: chromeos.recovery.Dolos.rpm_outlet:type_name -> chromeos.recovery.RPMOutlet |
| 23, // 48: chromeos.recovery.AudioLatencyToolkit.state:type_name -> chromeos.recovery.AudioLatencyToolkit.State |
| 24, // 49: chromeos.recovery.AMTManager.state:type_name -> chromeos.recovery.AMTManager.State |
| 1, // 50: chromeos.recovery.Camera.state:type_name -> chromeos.recovery.HardwareState |
| 25, // 51: chromeos.recovery.ChromeOS.os_restriction:type_name -> chromeos.recovery.ChromeOS.OSRestruction |
| 66, // 52: chromeos.recovery.ChromeOS.firmware_info:type_name -> chromeos.recovery.FirmwareInfo |
| 26, // 53: chromeos.recovery.ChromeOS.power_supply_type:type_name -> chromeos.recovery.ChromeOS.PowerSupplyType |
| 27, // 54: chromeos.recovery.ChromeOS.cr50_phase:type_name -> chromeos.recovery.ChromeOS.Cr50Phase |
| 28, // 55: chromeos.recovery.ChromeOS.cr50_key_env:type_name -> chromeos.recovery.ChromeOS.Cr50KeyEnv |
| 48, // 56: chromeos.recovery.ChromeOS.audio:type_name -> chromeos.recovery.DUTAudio |
| 55, // 57: chromeos.recovery.ChromeOS.storage:type_name -> chromeos.recovery.Storage |
| 62, // 58: chromeos.recovery.ChromeOS.battery:type_name -> chromeos.recovery.Battery |
| 59, // 59: chromeos.recovery.ChromeOS.wifi:type_name -> chromeos.recovery.Wifi |
| 60, // 60: chromeos.recovery.ChromeOS.bluetooth:type_name -> chromeos.recovery.Bluetooth |
| 53, // 61: chromeos.recovery.ChromeOS.servo:type_name -> chromeos.recovery.ServoHost |
| 56, // 62: chromeos.recovery.ChromeOS.chameleon:type_name -> chromeos.recovery.Chameleon |
| 58, // 63: chromeos.recovery.ChromeOS.bluetooth_peers:type_name -> chromeos.recovery.BluetoothPeer |
| 43, // 64: chromeos.recovery.ChromeOS.wifi_routers:type_name -> chromeos.recovery.WifiRouterHost |
| 29, // 65: chromeos.recovery.ChromeOS.peripheral_wifi_state:type_name -> chromeos.recovery.ChromeOS.PeripheralWifiState |
| 90, // 66: chromeos.recovery.ChromeOS.wifi_router_features:type_name -> chromiumos.test.lab.api.WifiRouterFeature |
| 42, // 67: chromeos.recovery.ChromeOS.rpm_outlet:type_name -> chromeos.recovery.RPMOutlet |
| 84, // 68: chromeos.recovery.ChromeOS.ro_vpd_map:type_name -> chromeos.recovery.ChromeOS.RoVpdMapEntry |
| 96, // 69: chromeos.recovery.ChromeOS.cbi:type_name -> chromiumos.test.lab.api.Cbi |
| 61, // 70: chromeos.recovery.ChromeOS.cellular:type_name -> chromeos.recovery.Cellular |
| 63, // 71: chromeos.recovery.ChromeOS.human_motion_robot:type_name -> chromeos.recovery.HumanMotionRobot |
| 71, // 72: chromeos.recovery.ChromeOS.testbed_capability:type_name -> chromeos.recovery.TestbedCapability |
| 65, // 73: chromeos.recovery.ChromeOS.audio_latency_toolkit:type_name -> chromeos.recovery.AudioLatencyToolkit |
| 64, // 74: chromeos.recovery.ChromeOS.dolos:type_name -> chromeos.recovery.Dolos |
| 68, // 75: chromeos.recovery.ChromeOS.amt_manager:type_name -> chromeos.recovery.AMTManager |
| 69, // 76: chromeos.recovery.ChromeOS.camera:type_name -> chromeos.recovery.Camera |
| 67, // 77: chromeos.recovery.ChromeOS.fingerprint:type_name -> chromeos.recovery.Fingerprint |
| 78, // 78: chromeos.recovery.ChromeOS.pasit:type_name -> chromeos.recovery.Pasit |
| 30, // 79: chromeos.recovery.ChromeOS.gsc_chip:type_name -> chromeos.recovery.ChromeOS.GscChip |
| 53, // 80: chromeos.recovery.DevBoard.servo:type_name -> chromeos.recovery.ServoHost |
| 88, // 81: chromeos.recovery.CopyRequest.timeout:type_name -> google.protobuf.Duration |
| 89, // 82: chromeos.recovery.CallServodRequest.args:type_name -> chromiumos.config.api.test.xmlrpc.Value |
| 88, // 83: chromeos.recovery.CallServodRequest.timeout:type_name -> google.protobuf.Duration |
| 89, // 84: chromeos.recovery.CallServodResponse.value:type_name -> chromiumos.config.api.test.xmlrpc.Value |
| 31, // 85: chromeos.recovery.VersionInfo.os_type:type_name -> chromeos.recovery.VersionInfo.OsType |
| 86, // 86: chromeos.recovery.Pasit.devices:type_name -> chromeos.recovery.Pasit.Device |
| 85, // 87: chromeos.recovery.Pasit.connections:type_name -> chromeos.recovery.Pasit.Connection |
| 32, // 88: chromeos.recovery.Pasit.state:type_name -> chromeos.recovery.Pasit.State |
| 97, // 89: chromeos.recovery.BluetoothPeerScopeState.Chameleond.release_config:type_name -> chromiumos.test.lab.api.BluetoothPeerChameleondConfig |
| 98, // 90: chromeos.recovery.BluetoothPeerScopeState.Chameleond.expected_bundle_config:type_name -> chromiumos.test.lab.api.BluetoothPeerChameleondConfig.ChameleondBundle |
| 99, // 91: chromeos.recovery.BluetoothPeerScopeState.RaspiosCrosBtpeerImage.release_config:type_name -> chromiumos.test.lab.api.RaspiosCrosBtpeerImageConfig |
| 100, // 92: chromeos.recovery.BluetoothPeerScopeState.RaspiosCrosBtpeerImage.expected_image_config:type_name -> chromiumos.test.lab.api.RaspiosCrosBtpeerImageConfig.OSImage |
| 14, // 93: chromeos.recovery.Cellular.ModemInfo.type:type_name -> chromeos.recovery.Cellular.ModemType |
| 15, // 94: chromeos.recovery.Cellular.SIMProfileInfo.carrier_name:type_name -> chromeos.recovery.Cellular.NetworkProvider |
| 18, // 95: chromeos.recovery.Cellular.SIMProfileInfo.state:type_name -> chromeos.recovery.Cellular.SIMProfileInfo.State |
| 19, // 96: chromeos.recovery.Cellular.SIMProfileInfo.features:type_name -> chromeos.recovery.Cellular.SIMProfileInfo.Feature |
| 16, // 97: chromeos.recovery.Cellular.SIMInfo.type:type_name -> chromeos.recovery.Cellular.SIMType |
| 82, // 98: chromeos.recovery.Cellular.SIMInfo.profile_infos:type_name -> chromeos.recovery.Cellular.SIMProfileInfo |
| 33, // 99: chromeos.recovery.Pasit.Device.type:type_name -> chromeos.recovery.Pasit.Device.Type |
| 87, // 100: chromeos.recovery.Pasit.Device.power_supply:type_name -> chromeos.recovery.Pasit.Device.PowerSupply |
| 42, // 101: chromeos.recovery.Pasit.Device.rpm:type_name -> chromeos.recovery.RPMOutlet |
| 102, // [102:102] is the sub-list for method output_type |
| 102, // [102:102] is the sub-list for method input_type |
| 102, // [102:102] is the sub-list for extension type_name |
| 102, // [102:102] is the sub-list for extension extendee |
| 0, // [0:102] is the sub-list for field type_name |
| } |
| |
| func init() { file_go_chromium_org_infra_cros_recovery_tlw_models_proto_init() } |
| func file_go_chromium_org_infra_cros_recovery_tlw_models_proto_init() { |
| if File_go_chromium_org_infra_cros_recovery_tlw_models_proto != nil { |
| return |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: unsafe.Slice(unsafe.StringData(file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDesc), len(file_go_chromium_org_infra_cros_recovery_tlw_models_proto_rawDesc)), |
| NumEnums: 34, |
| NumMessages: 54, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_go_chromium_org_infra_cros_recovery_tlw_models_proto_goTypes, |
| DependencyIndexes: file_go_chromium_org_infra_cros_recovery_tlw_models_proto_depIdxs, |
| EnumInfos: file_go_chromium_org_infra_cros_recovery_tlw_models_proto_enumTypes, |
| MessageInfos: file_go_chromium_org_infra_cros_recovery_tlw_models_proto_msgTypes, |
| }.Build() |
| File_go_chromium_org_infra_cros_recovery_tlw_models_proto = out.File |
| file_go_chromium_org_infra_cros_recovery_tlw_models_proto_goTypes = nil |
| file_go_chromium_org_infra_cros_recovery_tlw_models_proto_depIdxs = nil |
| } |