Documentation ¶
Overview ¶
Package ufspb contains the fleet service API.
Index ¶
- Variables
- type Audio
- type Cable
- type CableType
- type Camera
- type CameraType
- type Camerabox
- func (*Camerabox) Descriptor() ([]byte, []int)deprecated
- func (x *Camerabox) GetFacing() Camerabox_Facing
- func (x *Camerabox) GetLight() Camerabox_Light
- func (*Camerabox) ProtoMessage()
- func (x *Camerabox) ProtoReflect() protoreflect.Message
- func (x *Camerabox) Reset()
- func (x *Camerabox) String() string
- type Camerabox_Facing
- func (Camerabox_Facing) Descriptor() protoreflect.EnumDescriptor
- func (x Camerabox_Facing) Enum() *Camerabox_Facing
- func (Camerabox_Facing) EnumDescriptor() ([]byte, []int)deprecated
- func (x Camerabox_Facing) Number() protoreflect.EnumNumber
- func (x Camerabox_Facing) String() string
- func (Camerabox_Facing) Type() protoreflect.EnumType
- type Camerabox_Light
- func (Camerabox_Light) Descriptor() protoreflect.EnumDescriptor
- func (x Camerabox_Light) Enum() *Camerabox_Light
- func (Camerabox_Light) EnumDescriptor() ([]byte, []int)deprecated
- func (x Camerabox_Light) Number() protoreflect.EnumNumber
- func (x Camerabox_Light) String() string
- func (Camerabox_Light) Type() protoreflect.EnumType
- type Chameleon
- func (*Chameleon) Descriptor() ([]byte, []int)deprecated
- func (x *Chameleon) GetAudioBoard() bool
- func (x *Chameleon) GetChameleonPeripherals() []ChameleonType
- func (*Chameleon) ProtoMessage()
- func (x *Chameleon) ProtoReflect() protoreflect.Message
- func (x *Chameleon) Reset()
- func (x *Chameleon) String() string
- type ChameleonType
- func (ChameleonType) Descriptor() protoreflect.EnumDescriptor
- func (x ChameleonType) Enum() *ChameleonType
- func (ChameleonType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChameleonType) Number() protoreflect.EnumNumber
- func (x ChameleonType) String() string
- func (ChameleonType) Type() protoreflect.EnumType
- type ChromeOSDevice
- func (*ChromeOSDevice) Descriptor() ([]byte, []int)deprecated
- func (m *ChromeOSDevice) GetDevice() isChromeOSDevice_Device
- func (x *ChromeOSDevice) GetDeviceConfigId() *device.ConfigId
- func (x *ChromeOSDevice) GetDut() *DeviceUnderTest
- func (x *ChromeOSDevice) GetId() *ChromeOSDeviceID
- func (x *ChromeOSDevice) GetLabstation() *Labstation
- func (x *ChromeOSDevice) GetManufacturingId() *manufacturing.ConfigID
- func (x *ChromeOSDevice) GetSerialNumber() string
- func (*ChromeOSDevice) ProtoMessage()
- func (x *ChromeOSDevice) ProtoReflect() protoreflect.Message
- func (x *ChromeOSDevice) Reset()
- func (x *ChromeOSDevice) String() string
- type ChromeOSDeviceID
- type ChromeOSDevice_Dut
- type ChromeOSDevice_Labstation
- type DeviceUnderTest
- func (*DeviceUnderTest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceUnderTest) GetCriticalPools() []DeviceUnderTest_DUTPool
- func (x *DeviceUnderTest) GetHostname() string
- func (x *DeviceUnderTest) GetLicenses() []*License
- func (x *DeviceUnderTest) GetPeripherals() *Peripherals
- func (x *DeviceUnderTest) GetPools() []string
- func (*DeviceUnderTest) ProtoMessage()
- func (x *DeviceUnderTest) ProtoReflect() protoreflect.Message
- func (x *DeviceUnderTest) Reset()
- func (x *DeviceUnderTest) String() string
- type DeviceUnderTest_DUTPool
- func (DeviceUnderTest_DUTPool) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceUnderTest_DUTPool) Enum() *DeviceUnderTest_DUTPool
- func (DeviceUnderTest_DUTPool) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceUnderTest_DUTPool) Number() protoreflect.EnumNumber
- func (x DeviceUnderTest_DUTPool) String() string
- func (DeviceUnderTest_DUTPool) Type() protoreflect.EnumType
- type DutState
- func (*DutState) Descriptor() ([]byte, []int)deprecated
- func (x *DutState) GetAudioLoopbackDongle() PeripheralState
- func (x *DutState) GetBatteryState() HardwareState
- func (x *DutState) GetBluetoothState() HardwareState
- func (x *DutState) GetChameleon() PeripheralState
- func (x *DutState) GetCr50KeyEnv() DutState_CR50KeyEnv
- func (x *DutState) GetCr50Phase() DutState_CR50Phase
- func (x *DutState) GetHostname() string
- func (x *DutState) GetId() *ChromeOSDeviceID
- func (x *DutState) GetRpmState() PeripheralState
- func (x *DutState) GetServo() PeripheralState
- func (x *DutState) GetServoUsbState() HardwareState
- func (x *DutState) GetStorageState() HardwareState
- func (x *DutState) GetUpdateTime() *timestamppb.Timestamp
- func (x *DutState) GetWifiState() HardwareState
- func (x *DutState) GetWorkingBluetoothBtpeer() int32
- func (*DutState) ProtoMessage()
- func (x *DutState) ProtoReflect() protoreflect.Message
- func (x *DutState) Reset()
- func (x *DutState) String() string
- type DutState_CR50KeyEnv
- func (DutState_CR50KeyEnv) Descriptor() protoreflect.EnumDescriptor
- func (x DutState_CR50KeyEnv) Enum() *DutState_CR50KeyEnv
- func (DutState_CR50KeyEnv) EnumDescriptor() ([]byte, []int)deprecated
- func (x DutState_CR50KeyEnv) Number() protoreflect.EnumNumber
- func (x DutState_CR50KeyEnv) String() string
- func (DutState_CR50KeyEnv) Type() protoreflect.EnumType
- type DutState_CR50Phase
- func (DutState_CR50Phase) Descriptor() protoreflect.EnumDescriptor
- func (x DutState_CR50Phase) Enum() *DutState_CR50Phase
- func (DutState_CR50Phase) EnumDescriptor() ([]byte, []int)deprecated
- func (x DutState_CR50Phase) Number() protoreflect.EnumNumber
- func (x DutState_CR50Phase) String() string
- func (DutState_CR50Phase) Type() protoreflect.EnumType
- type HardwareState
- func (HardwareState) Descriptor() protoreflect.EnumDescriptor
- func (x HardwareState) Enum() *HardwareState
- func (HardwareState) EnumDescriptor() ([]byte, []int)deprecated
- func (x HardwareState) Number() protoreflect.EnumNumber
- func (x HardwareState) String() string
- func (HardwareState) Type() protoreflect.EnumType
- type Labstation
- func (*Labstation) Descriptor() ([]byte, []int)deprecated
- func (x *Labstation) GetHostname() string
- func (x *Labstation) GetPools() []string
- func (x *Labstation) GetRpm() *OSRPM
- func (x *Labstation) GetServos() []*Servo
- func (*Labstation) ProtoMessage()
- func (x *Labstation) ProtoReflect() protoreflect.Message
- func (x *Labstation) Reset()
- func (x *Labstation) String() string
- type License
- type LicenseType
- func (LicenseType) Descriptor() protoreflect.EnumDescriptor
- func (x LicenseType) Enum() *LicenseType
- func (LicenseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LicenseType) Number() protoreflect.EnumNumber
- func (x LicenseType) String() string
- func (LicenseType) Type() protoreflect.EnumType
- type OSRPM
- type PeripheralState
- func (PeripheralState) Descriptor() protoreflect.EnumDescriptor
- func (x PeripheralState) Enum() *PeripheralState
- func (PeripheralState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PeripheralState) Number() protoreflect.EnumNumber
- func (x PeripheralState) String() string
- func (PeripheralState) Type() protoreflect.EnumType
- type Peripherals
- func (*Peripherals) Descriptor() ([]byte, []int)deprecated
- func (x *Peripherals) GetAudio() *Audio
- func (x *Peripherals) GetCable() []*Cable
- func (x *Peripherals) GetCamerabox() bool
- func (x *Peripherals) GetCameraboxInfo() *Camerabox
- func (x *Peripherals) GetCarrier() string
- func (x *Peripherals) GetChameleon() *Chameleon
- func (x *Peripherals) GetChaos() bool
- func (x *Peripherals) GetConnectedCamera() []*Camera
- func (x *Peripherals) GetRpm() *OSRPM
- func (x *Peripherals) GetServo() *Servo
- func (x *Peripherals) GetSmartUsbhub() bool
- func (x *Peripherals) GetTouch() *Touch
- func (x *Peripherals) GetWifi() *Wifi
- func (*Peripherals) ProtoMessage()
- func (x *Peripherals) ProtoReflect() protoreflect.Message
- func (x *Peripherals) Reset()
- func (x *Peripherals) String() string
- type Servo
- func (*Servo) Descriptor() ([]byte, []int)deprecated
- func (x *Servo) GetServoFwChannel() ServoFwChannel
- func (x *Servo) GetServoHostname() string
- func (x *Servo) GetServoPort() int32
- func (x *Servo) GetServoSerial() string
- func (x *Servo) GetServoSetup() ServoSetupType
- func (x *Servo) GetServoTopology() *ServoTopology
- func (x *Servo) GetServoType() string
- func (*Servo) ProtoMessage()
- func (x *Servo) ProtoReflect() protoreflect.Message
- func (x *Servo) Reset()
- func (x *Servo) String() string
- type ServoFwChannel
- func (ServoFwChannel) Descriptor() protoreflect.EnumDescriptor
- func (x ServoFwChannel) Enum() *ServoFwChannel
- func (ServoFwChannel) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServoFwChannel) Number() protoreflect.EnumNumber
- func (x ServoFwChannel) String() string
- func (ServoFwChannel) Type() protoreflect.EnumType
- type ServoSetupType
- func (ServoSetupType) Descriptor() protoreflect.EnumDescriptor
- func (x ServoSetupType) Enum() *ServoSetupType
- func (ServoSetupType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServoSetupType) Number() protoreflect.EnumNumber
- func (x ServoSetupType) String() string
- func (ServoSetupType) Type() protoreflect.EnumType
- type ServoTopology
- func (*ServoTopology) Descriptor() ([]byte, []int)deprecated
- func (x *ServoTopology) GetChildren() []*ServoTopologyItem
- func (x *ServoTopology) GetMain() *ServoTopologyItem
- func (*ServoTopology) ProtoMessage()
- func (x *ServoTopology) ProtoReflect() protoreflect.Message
- func (x *ServoTopology) Reset()
- func (x *ServoTopology) String() string
- type ServoTopologyItem
- func (*ServoTopologyItem) Descriptor() ([]byte, []int)deprecated
- func (x *ServoTopologyItem) GetSerial() string
- func (x *ServoTopologyItem) GetSysfsProduct() string
- func (x *ServoTopologyItem) GetType() string
- func (x *ServoTopologyItem) GetUsbHubPort() string
- func (*ServoTopologyItem) ProtoMessage()
- func (x *ServoTopologyItem) ProtoReflect() protoreflect.Message
- func (x *ServoTopologyItem) Reset()
- func (x *ServoTopologyItem) String() string
- type Touch
- type Wifi
- func (*Wifi) Descriptor() ([]byte, []int)deprecated
- func (x *Wifi) GetAntennaConn() Wifi_AntennaConnection
- func (x *Wifi) GetRouter() Wifi_Router
- func (x *Wifi) GetWificell() bool
- func (*Wifi) ProtoMessage()
- func (x *Wifi) ProtoReflect() protoreflect.Message
- func (x *Wifi) Reset()
- func (x *Wifi) String() string
- type Wifi_AntennaConnection
- func (Wifi_AntennaConnection) Descriptor() protoreflect.EnumDescriptor
- func (x Wifi_AntennaConnection) Enum() *Wifi_AntennaConnection
- func (Wifi_AntennaConnection) EnumDescriptor() ([]byte, []int)deprecated
- func (x Wifi_AntennaConnection) Number() protoreflect.EnumNumber
- func (x Wifi_AntennaConnection) String() string
- func (Wifi_AntennaConnection) Type() protoreflect.EnumType
- type Wifi_Router
- func (Wifi_Router) Descriptor() protoreflect.EnumDescriptor
- func (x Wifi_Router) Enum() *Wifi_Router
- func (Wifi_Router) EnumDescriptor() ([]byte, []int)deprecated
- func (x Wifi_Router) Number() protoreflect.EnumNumber
- func (x Wifi_Router) String() string
- func (Wifi_Router) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( ChameleonType_name = map[int32]string{ 0: "CHAMELEON_TYPE_INVALID", 2: "CHAMELEON_TYPE_DP", 3: "CHAMELEON_TYPE_DP_HDMI", 4: "CHAMELEON_TYPE_VGA", 5: "CHAMELEON_TYPE_HDMI", } ChameleonType_value = map[string]int32{ "CHAMELEON_TYPE_INVALID": 0, "CHAMELEON_TYPE_DP": 2, "CHAMELEON_TYPE_DP_HDMI": 3, "CHAMELEON_TYPE_VGA": 4, "CHAMELEON_TYPE_HDMI": 5, } )
Enum value maps for ChameleonType.
var ( DeviceUnderTest_DUTPool_name = map[int32]string{ 0: "DUT_POOL_INVALID", 1: "DUT_POOL_CQ", 2: "DUT_POOL_BVT", 3: "DUT_POOL_SUITES", 4: "DUT_POOL_CTS", 5: "DUT_POOL_CTS_PERBUILD", 6: "DUT_POOL_CONTINUOUS", 7: "DUT_POOL_ARC_PRESUBMIT", 8: "DUT_POOL_QUOTA", } DeviceUnderTest_DUTPool_value = map[string]int32{ "DUT_POOL_INVALID": 0, "DUT_POOL_CQ": 1, "DUT_POOL_BVT": 2, "DUT_POOL_SUITES": 3, "DUT_POOL_CTS": 4, "DUT_POOL_CTS_PERBUILD": 5, "DUT_POOL_CONTINUOUS": 6, "DUT_POOL_ARC_PRESUBMIT": 7, "DUT_POOL_QUOTA": 8, } )
Enum value maps for DeviceUnderTest_DUTPool.
var ( PeripheralState_name = map[int32]string{ 0: "UNKNOWN", 1: "WORKING", 5: "MISSING_CONFIG", 4: "WRONG_CONFIG", 2: "NOT_CONNECTED", 6: "NO_SSH", 3: "BROKEN", 7: "NEED_REPLACEMENT", 13: "CR50_CONSOLE_MISSING", 8: "CCD_TESTLAB_ISSUE", 9: "SERVOD_ISSUE", 10: "LID_OPEN_FAILED", 11: "BAD_RIBBON_CABLE", 12: "EC_BROKEN", 14: "DUT_NOT_CONNECTED", 15: "TOPOLOGY_ISSUE", 16: "SBU_LOW_VOLTAGE", 17: "CR50_NOT_ENUMERATED", 18: "SERVO_SERIAL_MISMATCH", 19: "SERVOD_PROXY_ISSUE", 20: "SERVO_HOST_ISSUE", 21: "SERVO_UPDATER_ISSUE", } PeripheralState_value = map[string]int32{ "UNKNOWN": 0, "WORKING": 1, "MISSING_CONFIG": 5, "WRONG_CONFIG": 4, "NOT_CONNECTED": 2, "NO_SSH": 6, "BROKEN": 3, "NEED_REPLACEMENT": 7, "CR50_CONSOLE_MISSING": 13, "CCD_TESTLAB_ISSUE": 8, "SERVOD_ISSUE": 9, "LID_OPEN_FAILED": 10, "BAD_RIBBON_CABLE": 11, "EC_BROKEN": 12, "DUT_NOT_CONNECTED": 14, "TOPOLOGY_ISSUE": 15, "SBU_LOW_VOLTAGE": 16, "CR50_NOT_ENUMERATED": 17, "SERVO_SERIAL_MISMATCH": 18, "SERVOD_PROXY_ISSUE": 19, "SERVO_HOST_ISSUE": 20, "SERVO_UPDATER_ISSUE": 21, } )
Enum value maps for PeripheralState.
var ( HardwareState_name = map[int32]string{ 0: "HARDWARE_UNKNOWN", 1: "HARDWARE_NORMAL", 2: "HARDWARE_ACCEPTABLE", 3: "HARDWARE_NEED_REPLACEMENT", 4: "HARDWARE_NOT_DETECTED", } HardwareState_value = map[string]int32{ "HARDWARE_UNKNOWN": 0, "HARDWARE_NORMAL": 1, "HARDWARE_ACCEPTABLE": 2, "HARDWARE_NEED_REPLACEMENT": 3, "HARDWARE_NOT_DETECTED": 4, } )
Enum value maps for HardwareState.
var ( DutState_CR50Phase_name = map[int32]string{ 0: "CR50_PHASE_INVALID", 1: "CR50_PHASE_PREPVT", 2: "CR50_PHASE_PVT", } DutState_CR50Phase_value = map[string]int32{ "CR50_PHASE_INVALID": 0, "CR50_PHASE_PREPVT": 1, "CR50_PHASE_PVT": 2, } )
Enum value maps for DutState_CR50Phase.
var ( DutState_CR50KeyEnv_name = map[int32]string{ 0: "CR50_KEYENV_INVALID", 1: "CR50_KEYENV_PROD", 2: "CR50_KEYENV_DEV", } DutState_CR50KeyEnv_value = map[string]int32{ "CR50_KEYENV_INVALID": 0, "CR50_KEYENV_PROD": 1, "CR50_KEYENV_DEV": 2, } )
Enum value maps for DutState_CR50KeyEnv.
var ( LicenseType_name = map[int32]string{ 0: "LICENSE_TYPE_UNSPECIFIED", 1: "LICENSE_TYPE_WINDOWS_10_PRO", 2: "LICENSE_TYPE_MS_OFFICE_STANDARD", } LicenseType_value = map[string]int32{ "LICENSE_TYPE_UNSPECIFIED": 0, "LICENSE_TYPE_WINDOWS_10_PRO": 1, "LICENSE_TYPE_MS_OFFICE_STANDARD": 2, } )
Enum value maps for LicenseType.
var ( CameraType_name = map[int32]string{ 0: "CAMERA_INVALID", 1: "CAMERA_HUDDLY", 2: "CAMERA_PTZPRO2", } CameraType_value = map[string]int32{ "CAMERA_INVALID": 0, "CAMERA_HUDDLY": 1, "CAMERA_PTZPRO2": 2, } )
Enum value maps for CameraType.
var ( CableType_name = map[int32]string{ 0: "CABLE_INVALID", 1: "CABLE_AUDIOJACK", 2: "CABLE_USBAUDIO", 3: "CABLE_USBPRINTING", 4: "CABLE_HDMIAUDIO", } CableType_value = map[string]int32{ "CABLE_INVALID": 0, "CABLE_AUDIOJACK": 1, "CABLE_USBAUDIO": 2, "CABLE_USBPRINTING": 3, "CABLE_HDMIAUDIO": 4, } )
Enum value maps for CableType.
var ( Wifi_AntennaConnection_name = map[int32]string{ 0: "CONN_UNKNOWN", 1: "CONN_CONDUCTIVE", 2: "CONN_OTA", } Wifi_AntennaConnection_value = map[string]int32{ "CONN_UNKNOWN": 0, "CONN_CONDUCTIVE": 1, "CONN_OTA": 2, } )
Enum value maps for Wifi_AntennaConnection.
var ( Wifi_Router_name = map[int32]string{ 0: "ROUTER_UNSPECIFIED", 1: "ROUTER_802_11AX", } Wifi_Router_value = map[string]int32{ "ROUTER_UNSPECIFIED": 0, "ROUTER_802_11AX": 1, } )
Enum value maps for Wifi_Router.
var ( Camerabox_Facing_name = map[int32]string{ 0: "FACING_UNKNOWN", 1: "FACING_BACK", 2: "FACING_FRONT", } Camerabox_Facing_value = map[string]int32{ "FACING_UNKNOWN": 0, "FACING_BACK": 1, "FACING_FRONT": 2, } )
Enum value maps for Camerabox_Facing.
var ( Camerabox_Light_name = map[int32]string{ 0: "LIGHT_UNKNOWN", 1: "LIGHT_LED", 2: "LIGHT_NOLED", } Camerabox_Light_value = map[string]int32{ "LIGHT_UNKNOWN": 0, "LIGHT_LED": 1, "LIGHT_NOLED": 2, } )
Enum value maps for Camerabox_Light.
var ( ServoSetupType_name = map[int32]string{ 0: "SERVO_SETUP_REGULAR", 1: "SERVO_SETUP_DUAL_V4", 2: "SERVO_SETUP_INVALID", } ServoSetupType_value = map[string]int32{ "SERVO_SETUP_REGULAR": 0, "SERVO_SETUP_DUAL_V4": 1, "SERVO_SETUP_INVALID": 2, } )
Enum value maps for ServoSetupType.
var ( ServoFwChannel_name = map[int32]string{ 0: "SERVO_FW_STABLE", 1: "SERVO_FW_PREV", 2: "SERVO_FW_DEV", 3: "SERVO_FW_ALPHA", } ServoFwChannel_value = map[string]int32{ "SERVO_FW_STABLE": 0, "SERVO_FW_PREV": 1, "SERVO_FW_DEV": 2, "SERVO_FW_ALPHA": 3, } )
Enum value maps for ServoFwChannel.
var File_infra_unifiedfleet_api_v1_models_chromeos_lab_chameleon_proto protoreflect.FileDescriptor
var File_infra_unifiedfleet_api_v1_models_chromeos_lab_chromeos_device_id_proto protoreflect.FileDescriptor
var File_infra_unifiedfleet_api_v1_models_chromeos_lab_device_proto protoreflect.FileDescriptor
var File_infra_unifiedfleet_api_v1_models_chromeos_lab_dut_state_proto protoreflect.FileDescriptor
var File_infra_unifiedfleet_api_v1_models_chromeos_lab_license_proto protoreflect.FileDescriptor
var File_infra_unifiedfleet_api_v1_models_chromeos_lab_peripherals_proto protoreflect.FileDescriptor
var File_infra_unifiedfleet_api_v1_models_chromeos_lab_servo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Audio ¶
type Audio struct { // Indicate if the DUT is housed in an audio box to record / replay audio // for audio testing. AudioBox bool `protobuf:"varint,1,opt,name=audio_box,json=audioBox,proto3" json:"audio_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 AudioCable bool `protobuf:"varint,3,opt,name=audio_cable,json=audioCable,proto3" json:"audio_cable,omitempty"` // contains filtered or unexported fields }
Next Tag: 4
func (*Audio) Descriptor
deprecated
func (*Audio) GetAudioBox ¶
func (*Audio) GetAudioCable ¶
func (*Audio) ProtoMessage ¶
func (*Audio) ProtoMessage()
func (*Audio) ProtoReflect ¶
func (x *Audio) ProtoReflect() protoreflect.Message
type Cable ¶
type Cable struct { Type CableType `protobuf:"varint,1,opt,name=type,proto3,enum=unifiedfleet.api.v1.models.chromeos.lab.CableType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Cable) Descriptor
deprecated
func (*Cable) ProtoMessage ¶
func (*Cable) ProtoMessage()
func (*Cable) ProtoReflect ¶
func (x *Cable) ProtoReflect() protoreflect.Message
type CableType ¶
type CableType int32
func (CableType) Descriptor ¶
func (CableType) Descriptor() protoreflect.EnumDescriptor
func (CableType) EnumDescriptor
deprecated
func (CableType) Number ¶
func (x CableType) Number() protoreflect.EnumNumber
func (CableType) Type ¶
func (CableType) Type() protoreflect.EnumType
type Camera ¶
type Camera struct { CameraType CameraType `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
Next Tag: 2
func (*Camera) Descriptor
deprecated
func (*Camera) GetCameraType ¶
func (x *Camera) GetCameraType() CameraType
func (*Camera) ProtoMessage ¶
func (*Camera) ProtoMessage()
func (*Camera) ProtoReflect ¶
func (x *Camera) ProtoReflect() protoreflect.Message
type CameraType ¶
type CameraType int32
Next Tag: 3
const ( CameraType_CAMERA_INVALID CameraType = 0 // camera Huddly GO CameraType_CAMERA_HUDDLY CameraType = 1 // camera Logitech PTZ Pro 2 CameraType_CAMERA_PTZPRO2 CameraType = 2 )
func (CameraType) Descriptor ¶
func (CameraType) Descriptor() protoreflect.EnumDescriptor
func (CameraType) Enum ¶
func (x CameraType) Enum() *CameraType
func (CameraType) EnumDescriptor
deprecated
func (CameraType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CameraType.Descriptor instead.
func (CameraType) Number ¶
func (x CameraType) Number() protoreflect.EnumNumber
func (CameraType) String ¶
func (x CameraType) String() string
func (CameraType) Type ¶
func (CameraType) Type() protoreflect.EnumType
type Camerabox ¶
type Camerabox struct { Facing Camerabox_Facing `` /* 128-byte string literal not displayed */ Light Camerabox_Light `protobuf:"varint,2,opt,name=light,proto3,enum=unifiedfleet.api.v1.models.chromeos.lab.Camerabox_Light" json:"light,omitempty"` // contains filtered or unexported fields }
Next Tag: 3
func (*Camerabox) Descriptor
deprecated
func (*Camerabox) GetFacing ¶
func (x *Camerabox) GetFacing() Camerabox_Facing
func (*Camerabox) GetLight ¶
func (x *Camerabox) GetLight() Camerabox_Light
func (*Camerabox) ProtoMessage ¶
func (*Camerabox) ProtoMessage()
func (*Camerabox) ProtoReflect ¶
func (x *Camerabox) ProtoReflect() protoreflect.Message
type Camerabox_Facing ¶
type Camerabox_Facing int32
Facing of DUT's camera to be tested whose FOV should cover chart tablet's screen. Next Tag: 3
const ( Camerabox_FACING_UNKNOWN Camerabox_Facing = 0 // DUT's back camera is facing to chart tablet. Camerabox_FACING_BACK Camerabox_Facing = 1 // DUT's front camera is facing to chart tablet. Camerabox_FACING_FRONT Camerabox_Facing = 2 )
func (Camerabox_Facing) Descriptor ¶
func (Camerabox_Facing) Descriptor() protoreflect.EnumDescriptor
func (Camerabox_Facing) Enum ¶
func (x Camerabox_Facing) Enum() *Camerabox_Facing
func (Camerabox_Facing) EnumDescriptor
deprecated
func (Camerabox_Facing) EnumDescriptor() ([]byte, []int)
Deprecated: Use Camerabox_Facing.Descriptor instead.
func (Camerabox_Facing) Number ¶
func (x Camerabox_Facing) Number() protoreflect.EnumNumber
func (Camerabox_Facing) String ¶
func (x Camerabox_Facing) String() string
func (Camerabox_Facing) Type ¶
func (Camerabox_Facing) Type() protoreflect.EnumType
type Camerabox_Light ¶
type Camerabox_Light int32
Light provision of camerabox, if LED is present or not. Next Tag: 3
const ( Camerabox_LIGHT_UNKNOWN Camerabox_Light = 0 // Camerabox has LED light provisioned. Camerabox_LIGHT_LED Camerabox_Light = 1 // Camerabox do not have LED light provision. Camerabox_LIGHT_NOLED Camerabox_Light = 2 )
func (Camerabox_Light) Descriptor ¶
func (Camerabox_Light) Descriptor() protoreflect.EnumDescriptor
func (Camerabox_Light) Enum ¶
func (x Camerabox_Light) Enum() *Camerabox_Light
func (Camerabox_Light) EnumDescriptor
deprecated
func (Camerabox_Light) EnumDescriptor() ([]byte, []int)
Deprecated: Use Camerabox_Light.Descriptor instead.
func (Camerabox_Light) Number ¶
func (x Camerabox_Light) Number() protoreflect.EnumNumber
func (Camerabox_Light) String ¶
func (x Camerabox_Light) String() string
func (Camerabox_Light) Type ¶
func (Camerabox_Light) Type() protoreflect.EnumType
type Chameleon ¶
type Chameleon struct { ChameleonPeripherals []ChameleonType `` /* 188-byte string literal not displayed */ // Indicate if there's audio_board in the chameleon. AudioBoard bool `protobuf:"varint,2,opt,name=audio_board,json=audioBoard,proto3" json:"audio_board,omitempty"` // contains filtered or unexported fields }
NEXT TAG: 4
func (*Chameleon) Descriptor
deprecated
func (*Chameleon) GetAudioBoard ¶
func (*Chameleon) GetChameleonPeripherals ¶
func (x *Chameleon) GetChameleonPeripherals() []ChameleonType
func (*Chameleon) ProtoMessage ¶
func (*Chameleon) ProtoMessage()
func (*Chameleon) ProtoReflect ¶
func (x *Chameleon) ProtoReflect() protoreflect.Message
type ChameleonType ¶
type ChameleonType int32
const ( ChameleonType_CHAMELEON_TYPE_INVALID ChameleonType = 0 ChameleonType_CHAMELEON_TYPE_DP ChameleonType = 2 ChameleonType_CHAMELEON_TYPE_DP_HDMI ChameleonType = 3 ChameleonType_CHAMELEON_TYPE_VGA ChameleonType = 4 ChameleonType_CHAMELEON_TYPE_HDMI ChameleonType = 5 )
func (ChameleonType) Descriptor ¶
func (ChameleonType) Descriptor() protoreflect.EnumDescriptor
func (ChameleonType) Enum ¶
func (x ChameleonType) Enum() *ChameleonType
func (ChameleonType) EnumDescriptor
deprecated
func (ChameleonType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChameleonType.Descriptor instead.
func (ChameleonType) Number ¶
func (x ChameleonType) Number() protoreflect.EnumNumber
func (ChameleonType) String ¶
func (x ChameleonType) String() string
func (ChameleonType) Type ¶
func (ChameleonType) Type() protoreflect.EnumType
type ChromeOSDevice ¶
type ChromeOSDevice struct { // A unique ID for chromeos device, a randomly generated uuid or AssetTag. Id *ChromeOSDeviceID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` ManufacturingId *manufacturing.ConfigID `protobuf:"bytes,3,opt,name=manufacturing_id,json=manufacturingId,proto3" json:"manufacturing_id,omitempty"` // Device config identifiers. // These values will be extracted from DUT and joinable to device config. DeviceConfigId *device.ConfigId `protobuf:"bytes,4,opt,name=device_config_id,json=deviceConfigId,proto3" json:"device_config_id,omitempty"` // Types that are assignable to Device: // *ChromeOSDevice_Dut // *ChromeOSDevice_Labstation Device isChromeOSDevice_Device `protobuf_oneof:"device"` // contains filtered or unexported fields }
Next Tag: 7
func (*ChromeOSDevice) Descriptor
deprecated
func (*ChromeOSDevice) Descriptor() ([]byte, []int)
Deprecated: Use ChromeOSDevice.ProtoReflect.Descriptor instead.
func (*ChromeOSDevice) GetDevice ¶
func (m *ChromeOSDevice) GetDevice() isChromeOSDevice_Device
func (*ChromeOSDevice) GetDeviceConfigId ¶
func (x *ChromeOSDevice) GetDeviceConfigId() *device.ConfigId
func (*ChromeOSDevice) GetDut ¶
func (x *ChromeOSDevice) GetDut() *DeviceUnderTest
func (*ChromeOSDevice) GetId ¶
func (x *ChromeOSDevice) GetId() *ChromeOSDeviceID
func (*ChromeOSDevice) GetLabstation ¶
func (x *ChromeOSDevice) GetLabstation() *Labstation
func (*ChromeOSDevice) GetManufacturingId ¶
func (x *ChromeOSDevice) GetManufacturingId() *manufacturing.ConfigID
func (*ChromeOSDevice) GetSerialNumber ¶
func (x *ChromeOSDevice) GetSerialNumber() string
func (*ChromeOSDevice) ProtoMessage ¶
func (*ChromeOSDevice) ProtoMessage()
func (*ChromeOSDevice) ProtoReflect ¶
func (x *ChromeOSDevice) ProtoReflect() protoreflect.Message
func (*ChromeOSDevice) Reset ¶
func (x *ChromeOSDevice) Reset()
func (*ChromeOSDevice) String ¶
func (x *ChromeOSDevice) String() string
type ChromeOSDeviceID ¶
type ChromeOSDeviceID struct { // A unique ID for chromeos device, a randomly generated uuid or AssetTag. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ChromeOSDeviceID) Descriptor
deprecated
func (*ChromeOSDeviceID) Descriptor() ([]byte, []int)
Deprecated: Use ChromeOSDeviceID.ProtoReflect.Descriptor instead.
func (*ChromeOSDeviceID) GetValue ¶
func (x *ChromeOSDeviceID) GetValue() string
func (*ChromeOSDeviceID) ProtoMessage ¶
func (*ChromeOSDeviceID) ProtoMessage()
func (*ChromeOSDeviceID) ProtoReflect ¶
func (x *ChromeOSDeviceID) ProtoReflect() protoreflect.Message
func (*ChromeOSDeviceID) Reset ¶
func (x *ChromeOSDeviceID) Reset()
func (*ChromeOSDeviceID) String ¶
func (x *ChromeOSDeviceID) String() string
type ChromeOSDevice_Dut ¶
type ChromeOSDevice_Dut struct {
Dut *DeviceUnderTest `protobuf:"bytes,5,opt,name=dut,proto3,oneof"`
}
type ChromeOSDevice_Labstation ¶
type ChromeOSDevice_Labstation struct {
Labstation *Labstation `protobuf:"bytes,6,opt,name=labstation,proto3,oneof"`
}
type DeviceUnderTest ¶
type DeviceUnderTest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Peripherals *Peripherals `protobuf:"bytes,2,opt,name=peripherals,proto3" json:"peripherals,omitempty"` CriticalPools []DeviceUnderTest_DUTPool `` /* 177-byte string literal not displayed */ Pools []string `protobuf:"bytes,4,rep,name=pools,proto3" json:"pools,omitempty"` Licenses []*License `protobuf:"bytes,5,rep,name=licenses,proto3" json:"licenses,omitempty"` // contains filtered or unexported fields }
Next Tag: 5
func (*DeviceUnderTest) Descriptor
deprecated
func (*DeviceUnderTest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceUnderTest.ProtoReflect.Descriptor instead.
func (*DeviceUnderTest) GetCriticalPools ¶
func (x *DeviceUnderTest) GetCriticalPools() []DeviceUnderTest_DUTPool
func (*DeviceUnderTest) GetHostname ¶
func (x *DeviceUnderTest) GetHostname() string
func (*DeviceUnderTest) GetLicenses ¶
func (x *DeviceUnderTest) GetLicenses() []*License
func (*DeviceUnderTest) GetPeripherals ¶
func (x *DeviceUnderTest) GetPeripherals() *Peripherals
func (*DeviceUnderTest) GetPools ¶
func (x *DeviceUnderTest) GetPools() []string
func (*DeviceUnderTest) ProtoMessage ¶
func (*DeviceUnderTest) ProtoMessage()
func (*DeviceUnderTest) ProtoReflect ¶
func (x *DeviceUnderTest) ProtoReflect() protoreflect.Message
func (*DeviceUnderTest) Reset ¶
func (x *DeviceUnderTest) Reset()
func (*DeviceUnderTest) String ¶
func (x *DeviceUnderTest) String() string
type DeviceUnderTest_DUTPool ¶
type DeviceUnderTest_DUTPool int32
critical_pools are pool labels that the builders are dependent on, and that the cros-infra team is responsible for managing explicitly. All other pool labels used for adhoc labeling of DUTs go into self_serve_pools. TO BE DELETED
const ( DeviceUnderTest_DUT_POOL_INVALID DeviceUnderTest_DUTPool = 0 DeviceUnderTest_DUT_POOL_CQ DeviceUnderTest_DUTPool = 1 DeviceUnderTest_DUT_POOL_BVT DeviceUnderTest_DUTPool = 2 DeviceUnderTest_DUT_POOL_SUITES DeviceUnderTest_DUTPool = 3 DeviceUnderTest_DUT_POOL_CTS DeviceUnderTest_DUTPool = 4 DeviceUnderTest_DUT_POOL_CTS_PERBUILD DeviceUnderTest_DUTPool = 5 DeviceUnderTest_DUT_POOL_CONTINUOUS DeviceUnderTest_DUTPool = 6 DeviceUnderTest_DUT_POOL_ARC_PRESUBMIT DeviceUnderTest_DUTPool = 7 DeviceUnderTest_DUT_POOL_QUOTA DeviceUnderTest_DUTPool = 8 )
func (DeviceUnderTest_DUTPool) Descriptor ¶
func (DeviceUnderTest_DUTPool) Descriptor() protoreflect.EnumDescriptor
func (DeviceUnderTest_DUTPool) Enum ¶
func (x DeviceUnderTest_DUTPool) Enum() *DeviceUnderTest_DUTPool
func (DeviceUnderTest_DUTPool) EnumDescriptor
deprecated
func (DeviceUnderTest_DUTPool) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceUnderTest_DUTPool.Descriptor instead.
func (DeviceUnderTest_DUTPool) Number ¶
func (x DeviceUnderTest_DUTPool) Number() protoreflect.EnumNumber
func (DeviceUnderTest_DUTPool) String ¶
func (x DeviceUnderTest_DUTPool) String() string
func (DeviceUnderTest_DUTPool) Type ¶
func (DeviceUnderTest_DUTPool) Type() protoreflect.EnumType
type DutState ¶
type DutState struct { Id *ChromeOSDeviceID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Servo PeripheralState `protobuf:"varint,2,opt,name=servo,proto3,enum=unifiedfleet.api.v1.models.chromeos.lab.PeripheralState" json:"servo,omitempty"` Chameleon PeripheralState `` /* 133-byte string literal not displayed */ AudioLoopbackDongle PeripheralState `` /* 182-byte string literal not displayed */ // Indicate how many working bluetooth btpeer for a device. WorkingBluetoothBtpeer int32 `` /* 130-byte string literal not displayed */ Cr50Phase DutState_CR50Phase `` /* 153-byte string literal not displayed */ // Detected based on the cr50 RW version that the DUT is running on. Cr50KeyEnv DutState_CR50KeyEnv `` /* 159-byte string literal not displayed */ // Detected during running admin_audit task. StorageState HardwareState `` /* 157-byte string literal not displayed */ ServoUsbState HardwareState `` /* 162-byte string literal not displayed */ BatteryState HardwareState `` /* 158-byte string literal not displayed */ WifiState HardwareState `` /* 149-byte string literal not displayed */ BluetoothState HardwareState `` /* 164-byte string literal not displayed */ RpmState PeripheralState `` /* 148-byte string literal not displayed */ // Record the last update timestamp of this MachineLSE (In UTC timezone) UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Record the hostname at that time for further analysis. Hostname string `protobuf:"bytes,11,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
Next Tag: 16
func (*DutState) Descriptor
deprecated
func (*DutState) GetAudioLoopbackDongle ¶
func (x *DutState) GetAudioLoopbackDongle() PeripheralState
func (*DutState) GetBatteryState ¶
func (x *DutState) GetBatteryState() HardwareState
func (*DutState) GetBluetoothState ¶
func (x *DutState) GetBluetoothState() HardwareState
func (*DutState) GetChameleon ¶
func (x *DutState) GetChameleon() PeripheralState
func (*DutState) GetCr50KeyEnv ¶
func (x *DutState) GetCr50KeyEnv() DutState_CR50KeyEnv
func (*DutState) GetCr50Phase ¶
func (x *DutState) GetCr50Phase() DutState_CR50Phase
func (*DutState) GetHostname ¶
func (*DutState) GetId ¶
func (x *DutState) GetId() *ChromeOSDeviceID
func (*DutState) GetRpmState ¶
func (x *DutState) GetRpmState() PeripheralState
func (*DutState) GetServo ¶
func (x *DutState) GetServo() PeripheralState
func (*DutState) GetServoUsbState ¶
func (x *DutState) GetServoUsbState() HardwareState
func (*DutState) GetStorageState ¶
func (x *DutState) GetStorageState() HardwareState
func (*DutState) GetUpdateTime ¶
func (x *DutState) GetUpdateTime() *timestamppb.Timestamp
func (*DutState) GetWifiState ¶
func (x *DutState) GetWifiState() HardwareState
func (*DutState) GetWorkingBluetoothBtpeer ¶
func (*DutState) ProtoMessage ¶
func (*DutState) ProtoMessage()
func (*DutState) ProtoReflect ¶
func (x *DutState) ProtoReflect() protoreflect.Message
type DutState_CR50KeyEnv ¶
type DutState_CR50KeyEnv int32
key env for cr50 RW version. Next Tag: 3
const ( DutState_CR50_KEYENV_INVALID DutState_CR50KeyEnv = 0 DutState_CR50_KEYENV_PROD DutState_CR50KeyEnv = 1 DutState_CR50_KEYENV_DEV DutState_CR50KeyEnv = 2 )
func (DutState_CR50KeyEnv) Descriptor ¶
func (DutState_CR50KeyEnv) Descriptor() protoreflect.EnumDescriptor
func (DutState_CR50KeyEnv) Enum ¶
func (x DutState_CR50KeyEnv) Enum() *DutState_CR50KeyEnv
func (DutState_CR50KeyEnv) EnumDescriptor
deprecated
func (DutState_CR50KeyEnv) EnumDescriptor() ([]byte, []int)
Deprecated: Use DutState_CR50KeyEnv.Descriptor instead.
func (DutState_CR50KeyEnv) Number ¶
func (x DutState_CR50KeyEnv) Number() protoreflect.EnumNumber
func (DutState_CR50KeyEnv) String ¶
func (x DutState_CR50KeyEnv) String() string
func (DutState_CR50KeyEnv) Type ¶
func (DutState_CR50KeyEnv) Type() protoreflect.EnumType
type DutState_CR50Phase ¶
type DutState_CR50Phase int32
CR50-related configs by definition shouldn't be a state config, but a build config. However, we don't have a way to source it from any external configuration system, and it's changed frequently enough to handle cr50 tests, which makes it basically impossible for manual updatings: See crbug.com/1057145 for the troubles it causes.
So we temporarily set it in state config so that repair job can update it. For further changes of it, please see tracking bug crbug.com/1057719.
phases for cr50 module. Next Tag: 3
const ( DutState_CR50_PHASE_INVALID DutState_CR50Phase = 0 DutState_CR50_PHASE_PREPVT DutState_CR50Phase = 1 DutState_CR50_PHASE_PVT DutState_CR50Phase = 2 )
func (DutState_CR50Phase) Descriptor ¶
func (DutState_CR50Phase) Descriptor() protoreflect.EnumDescriptor
func (DutState_CR50Phase) Enum ¶
func (x DutState_CR50Phase) Enum() *DutState_CR50Phase
func (DutState_CR50Phase) EnumDescriptor
deprecated
func (DutState_CR50Phase) EnumDescriptor() ([]byte, []int)
Deprecated: Use DutState_CR50Phase.Descriptor instead.
func (DutState_CR50Phase) Number ¶
func (x DutState_CR50Phase) Number() protoreflect.EnumNumber
func (DutState_CR50Phase) String ¶
func (x DutState_CR50Phase) String() string
func (DutState_CR50Phase) Type ¶
func (DutState_CR50Phase) Type() protoreflect.EnumType
type HardwareState ¶
type HardwareState int32
The states are using for DUT storage and USB-drive on servo. Next Tag: 5
const ( // keep for all unknown state by default. HardwareState_HARDWARE_UNKNOWN HardwareState = 0 // Hardware is in good shape and pass all verifiers. HardwareState_HARDWARE_NORMAL HardwareState = 1 // Hardware is still good but some not critical verifiers did not pass or provided border values. // (used for DUT storage when usage reached 98%) HardwareState_HARDWARE_ACCEPTABLE HardwareState = 2 // Hardware is broken or bad (did not pass verifiers). HardwareState_HARDWARE_NEED_REPLACEMENT HardwareState = 3 // Hardware is not detected to run verifiers. // (used for USB-drive when it expected but not detected on the device) HardwareState_HARDWARE_NOT_DETECTED HardwareState = 4 )
func (HardwareState) Descriptor ¶
func (HardwareState) Descriptor() protoreflect.EnumDescriptor
func (HardwareState) Enum ¶
func (x HardwareState) Enum() *HardwareState
func (HardwareState) EnumDescriptor
deprecated
func (HardwareState) EnumDescriptor() ([]byte, []int)
Deprecated: Use HardwareState.Descriptor instead.
func (HardwareState) Number ¶
func (x HardwareState) Number() protoreflect.EnumNumber
func (HardwareState) String ¶
func (x HardwareState) String() string
func (HardwareState) Type ¶
func (HardwareState) Type() protoreflect.EnumType
type Labstation ¶
type Labstation struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Servos []*Servo `protobuf:"bytes,2,rep,name=servos,proto3" json:"servos,omitempty"` Rpm *OSRPM `protobuf:"bytes,3,opt,name=rpm,proto3" json:"rpm,omitempty"` Pools []string `protobuf:"bytes,4,rep,name=pools,proto3" json:"pools,omitempty"` // contains filtered or unexported fields }
Next Tag: 5
func (*Labstation) Descriptor
deprecated
func (*Labstation) Descriptor() ([]byte, []int)
Deprecated: Use Labstation.ProtoReflect.Descriptor instead.
func (*Labstation) GetHostname ¶
func (x *Labstation) GetHostname() string
func (*Labstation) GetPools ¶
func (x *Labstation) GetPools() []string
func (*Labstation) GetRpm ¶
func (x *Labstation) GetRpm() *OSRPM
func (*Labstation) GetServos ¶
func (x *Labstation) GetServos() []*Servo
func (*Labstation) ProtoMessage ¶
func (*Labstation) ProtoMessage()
func (*Labstation) ProtoReflect ¶
func (x *Labstation) ProtoReflect() protoreflect.Message
func (*Labstation) Reset ¶
func (x *Labstation) Reset()
func (*Labstation) String ¶
func (x *Labstation) String() string
type License ¶
type License struct { Type LicenseType `protobuf:"varint,1,opt,name=type,proto3,enum=unifiedfleet.api.v1.models.chromeos.lab.LicenseType" json:"type,omitempty"` // An optional string to uniquely identify the license that was assigned, // for tracking purposes. Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` // contains filtered or unexported fields }
Represents a Software License assigned to a device. Next Tag: 3
func (*License) Descriptor
deprecated
func (*License) GetIdentifier ¶
func (*License) GetType ¶
func (x *License) GetType() LicenseType
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
func (*License) ProtoReflect ¶
func (x *License) ProtoReflect() protoreflect.Message
type LicenseType ¶
type LicenseType int32
Next Tag: 3
const ( LicenseType_LICENSE_TYPE_UNSPECIFIED LicenseType = 0 // Microsoft Windows 10 Professional Desktop Operating System. // Contact the Chrome OS Parallels team for license specifics. LicenseType_LICENSE_TYPE_WINDOWS_10_PRO LicenseType = 1 // Microsoft Office Standard. // Contact the Chrome OS Parallels team for license specifics. LicenseType_LICENSE_TYPE_MS_OFFICE_STANDARD LicenseType = 2 )
func (LicenseType) Descriptor ¶
func (LicenseType) Descriptor() protoreflect.EnumDescriptor
func (LicenseType) Enum ¶
func (x LicenseType) Enum() *LicenseType
func (LicenseType) EnumDescriptor
deprecated
func (LicenseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LicenseType.Descriptor instead.
func (LicenseType) Number ¶
func (x LicenseType) Number() protoreflect.EnumNumber
func (LicenseType) String ¶
func (x LicenseType) String() string
func (LicenseType) Type ¶
func (LicenseType) Type() protoreflect.EnumType
type OSRPM ¶
type OSRPM struct { PowerunitName string `protobuf:"bytes,1,opt,name=powerunit_name,json=powerunitName,proto3" json:"powerunit_name,omitempty"` PowerunitOutlet string `protobuf:"bytes,2,opt,name=powerunit_outlet,json=powerunitOutlet,proto3" json:"powerunit_outlet,omitempty"` // contains filtered or unexported fields }
Remote power management info. Next Tag: 3
func (*OSRPM) Descriptor
deprecated
func (*OSRPM) GetPowerunitName ¶
func (*OSRPM) GetPowerunitOutlet ¶
func (*OSRPM) ProtoMessage ¶
func (*OSRPM) ProtoMessage()
func (*OSRPM) ProtoReflect ¶
func (x *OSRPM) ProtoReflect() protoreflect.Message
type PeripheralState ¶
type PeripheralState int32
Next Tag: 22
const ( // Please keep for all unknown states. PeripheralState_UNKNOWN PeripheralState = 0 // Device and software on it is working as expected. PeripheralState_WORKING PeripheralState = 1 // Configuration for device is not provided. PeripheralState_MISSING_CONFIG PeripheralState = 5 // Configuration contains incorrect information. PeripheralState_WRONG_CONFIG PeripheralState = 4 // Device is not connected/plugged. PeripheralState_NOT_CONNECTED PeripheralState = 2 // Device is not reachable over ssh. PeripheralState_NO_SSH PeripheralState = 6 // Device is broken or not working as expected. the state used if no specified state for the issue. PeripheralState_BROKEN PeripheralState = 3 // Device cannot be repaired or required manual attention to fix/replace it. PeripheralState_NEED_REPLACEMENT PeripheralState = 7 // Servo specific states. // cr50 console missing or unresponsive. PeripheralState_CR50_CONSOLE_MISSING PeripheralState = 13 // Servod daemon cannot start on servo-host because cr50 testlab not enabled. PeripheralState_CCD_TESTLAB_ISSUE PeripheralState = 8 // Servod daemon cannot start on servo-host. PeripheralState_SERVOD_ISSUE PeripheralState = 9 // device lid is not open. PeripheralState_LID_OPEN_FAILED PeripheralState = 10 // the ribbon cable between servo and DUT is broken or not connected. PeripheralState_BAD_RIBBON_CABLE PeripheralState = 11 // the EC on the DUT has issue. PeripheralState_EC_BROKEN PeripheralState = 12 // Servo is not connected to the DUT. PeripheralState_DUT_NOT_CONNECTED PeripheralState = 14 // Some component in servo-topology missed or not detected. PeripheralState_TOPOLOGY_ISSUE PeripheralState = 15 // SBU voltage issues effect CR50 detection. PeripheralState_SBU_LOW_VOLTAGE PeripheralState = 16 // CR50 SBU voltage detected but device was not enumerated. PeripheralState_CR50_NOT_ENUMERATED PeripheralState = 17 // Servo serial mismatch, when servo not detected and another serial detected on previous used port. PeripheralState_SERVO_SERIAL_MISMATCH PeripheralState = 18 // Issue to connect to servod by XMLRPC proxy. PeripheralState_SERVOD_PROXY_ISSUE PeripheralState = 19 // Issue related to servo-host. Timeout to start servod or issue with detecting devices. PeripheralState_SERVO_HOST_ISSUE PeripheralState = 20 // Issue related to servo_updater. PeripheralState_SERVO_UPDATER_ISSUE PeripheralState = 21 )
func (PeripheralState) Descriptor ¶
func (PeripheralState) Descriptor() protoreflect.EnumDescriptor
func (PeripheralState) Enum ¶
func (x PeripheralState) Enum() *PeripheralState
func (PeripheralState) EnumDescriptor
deprecated
func (PeripheralState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PeripheralState.Descriptor instead.
func (PeripheralState) Number ¶
func (x PeripheralState) Number() protoreflect.EnumNumber
func (PeripheralState) String ¶
func (x PeripheralState) String() string
func (PeripheralState) Type ¶
func (PeripheralState) Type() protoreflect.EnumType
type Peripherals ¶
type Peripherals struct { Servo *Servo `protobuf:"bytes,1,opt,name=servo,proto3" json:"servo,omitempty"` Chameleon *Chameleon `protobuf:"bytes,2,opt,name=chameleon,proto3" json:"chameleon,omitempty"` Rpm *OSRPM `protobuf:"bytes,3,opt,name=rpm,proto3" json:"rpm,omitempty"` // refer to cameras that connected to the device. ConnectedCamera []*Camera `protobuf:"bytes,4,rep,name=connected_camera,json=connectedCamera,proto3" json:"connected_camera,omitempty"` Audio *Audio `protobuf:"bytes,5,opt,name=audio,proto3" json:"audio,omitempty"` Wifi *Wifi `protobuf:"bytes,6,opt,name=wifi,proto3" json:"wifi,omitempty"` Touch *Touch `protobuf:"bytes,7,opt,name=touch,proto3" json:"touch,omitempty"` // e.g: "att", "verizon",.. It's a manual label set by lab, varies dut by dut. Carrier string `protobuf:"bytes,8,opt,name=carrier,proto3" json:"carrier,omitempty"` // Indicate if the device is setup in a steady and controllable camera box environment for camera test automation. // http://go/cros-camera-box Camerabox bool `protobuf:"varint,9,opt,name=camerabox,proto3" json:"camerabox,omitempty"` // Indicate if the device is setup in a chaos environment. It's a special settings for running wifi interop tests. Chaos bool `protobuf:"varint,10,opt,name=chaos,proto3" json:"chaos,omitempty"` // Indicate the cables that connect audio, printer to the device in ACS lab. Cable []*Cable `protobuf:"bytes,11,rep,name=cable,proto3" json:"cable,omitempty"` // Incompatible upgraded type from bool camerabox=9. CameraboxInfo *Camerabox `protobuf:"bytes,12,opt,name=camerabox_info,json=cameraboxInfo,proto3" json:"camerabox_info,omitempty"` // Indicate if device is connected to a smart usb hub, detected in AdminRepair task. SmartUsbhub bool `protobuf:"varint,13,opt,name=smart_usbhub,json=smartUsbhub,proto3" json:"smart_usbhub,omitempty"` // contains filtered or unexported fields }
Peripherals of device. Next Tag: 15
func (*Peripherals) Descriptor
deprecated
func (*Peripherals) Descriptor() ([]byte, []int)
Deprecated: Use Peripherals.ProtoReflect.Descriptor instead.
func (*Peripherals) GetAudio ¶
func (x *Peripherals) GetAudio() *Audio
func (*Peripherals) GetCable ¶
func (x *Peripherals) GetCable() []*Cable
func (*Peripherals) GetCamerabox ¶
func (x *Peripherals) GetCamerabox() bool
func (*Peripherals) GetCameraboxInfo ¶
func (x *Peripherals) GetCameraboxInfo() *Camerabox
func (*Peripherals) GetCarrier ¶
func (x *Peripherals) GetCarrier() string
func (*Peripherals) GetChameleon ¶
func (x *Peripherals) GetChameleon() *Chameleon
func (*Peripherals) GetChaos ¶
func (x *Peripherals) GetChaos() bool
func (*Peripherals) GetConnectedCamera ¶
func (x *Peripherals) GetConnectedCamera() []*Camera
func (*Peripherals) GetRpm ¶
func (x *Peripherals) GetRpm() *OSRPM
func (*Peripherals) GetServo ¶
func (x *Peripherals) GetServo() *Servo
func (*Peripherals) GetSmartUsbhub ¶
func (x *Peripherals) GetSmartUsbhub() bool
func (*Peripherals) GetTouch ¶
func (x *Peripherals) GetTouch() *Touch
func (*Peripherals) GetWifi ¶
func (x *Peripherals) GetWifi() *Wifi
func (*Peripherals) ProtoMessage ¶
func (*Peripherals) ProtoMessage()
func (*Peripherals) ProtoReflect ¶
func (x *Peripherals) ProtoReflect() protoreflect.Message
func (*Peripherals) Reset ¶
func (x *Peripherals) Reset()
func (*Peripherals) String ¶
func (x *Peripherals) String() string
type Servo ¶
type Servo struct { // Servo-specific configs ServoHostname string `protobuf:"bytes,2,opt,name=servo_hostname,json=servoHostname,proto3" json:"servo_hostname,omitempty"` ServoPort int32 `protobuf:"varint,3,opt,name=servo_port,json=servoPort,proto3" json:"servo_port,omitempty"` ServoSerial string `protobuf:"bytes,4,opt,name=servo_serial,json=servoSerial,proto3" json:"servo_serial,omitempty"` // Based on https://docs.google.com/document/d/1TPp7yp-uwFUh5xOnBLI4jPYtYD7IcdyQ1dgqFqtcJEU/edit?ts=5d8eafb7#heading=h.csdfk1i6g0l // servo_type will contain different setup of servos. So string is recommended than enum. ServoType string `protobuf:"bytes,5,opt,name=servo_type,json=servoType,proto3" json:"servo_type,omitempty"` ServoSetup ServoSetupType `` /* 152-byte string literal not displayed */ // Based on http://go/fleet-servo-topology ServoTopology *ServoTopology `protobuf:"bytes,8,opt,name=servo_topology,json=servoTopology,proto3" json:"servo_topology,omitempty"` ServoFwChannel ServoFwChannel `` /* 166-byte string literal not displayed */ // contains filtered or unexported fields }
NEXT TAG: 10
func (*Servo) Descriptor
deprecated
func (*Servo) GetServoFwChannel ¶
func (x *Servo) GetServoFwChannel() ServoFwChannel
func (*Servo) GetServoHostname ¶
func (*Servo) GetServoPort ¶
func (*Servo) GetServoSerial ¶
func (*Servo) GetServoSetup ¶
func (x *Servo) GetServoSetup() ServoSetupType
func (*Servo) GetServoTopology ¶
func (x *Servo) GetServoTopology() *ServoTopology
func (*Servo) GetServoType ¶
func (*Servo) ProtoMessage ¶
func (*Servo) ProtoMessage()
func (*Servo) ProtoReflect ¶
func (x *Servo) ProtoReflect() protoreflect.Message
type ServoFwChannel ¶
type ServoFwChannel int32
Servo Firmware Channel describes the firmware expected to have on servos. Next Tag : 4
const ( // Servo firmware from Stable channel. ServoFwChannel_SERVO_FW_STABLE ServoFwChannel = 0 // The previous Servo firmware from Stable channel. ServoFwChannel_SERVO_FW_PREV ServoFwChannel = 1 // Servo firmware from Dev channel. ServoFwChannel_SERVO_FW_DEV ServoFwChannel = 2 // Servo firmware from Alpha channel. ServoFwChannel_SERVO_FW_ALPHA ServoFwChannel = 3 )
func (ServoFwChannel) Descriptor ¶
func (ServoFwChannel) Descriptor() protoreflect.EnumDescriptor
func (ServoFwChannel) Enum ¶
func (x ServoFwChannel) Enum() *ServoFwChannel
func (ServoFwChannel) EnumDescriptor
deprecated
func (ServoFwChannel) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServoFwChannel.Descriptor instead.
func (ServoFwChannel) Number ¶
func (x ServoFwChannel) Number() protoreflect.EnumNumber
func (ServoFwChannel) String ¶
func (x ServoFwChannel) String() string
func (ServoFwChannel) Type ¶
func (ServoFwChannel) Type() protoreflect.EnumType
type ServoSetupType ¶
type ServoSetupType int32
Servo Setup Type describes the capabilities of servos. Next Tag : 3
const ( ServoSetupType_SERVO_SETUP_REGULAR ServoSetupType = 0 ServoSetupType_SERVO_SETUP_DUAL_V4 ServoSetupType = 1 // SERVO_SETUP_INVALID explicitly marks errors in servo setup. ServoSetupType_SERVO_SETUP_INVALID ServoSetupType = 2 )
func (ServoSetupType) Descriptor ¶
func (ServoSetupType) Descriptor() protoreflect.EnumDescriptor
func (ServoSetupType) Enum ¶
func (x ServoSetupType) Enum() *ServoSetupType
func (ServoSetupType) EnumDescriptor
deprecated
func (ServoSetupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServoSetupType.Descriptor instead.
func (ServoSetupType) Number ¶
func (x ServoSetupType) Number() protoreflect.EnumNumber
func (ServoSetupType) String ¶
func (x ServoSetupType) String() string
func (ServoSetupType) Type ¶
func (ServoSetupType) Type() protoreflect.EnumType
type ServoTopology ¶
type ServoTopology struct { Main *ServoTopologyItem `protobuf:"bytes,1,opt,name=main,proto3" json:"main,omitempty"` Children []*ServoTopologyItem `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
Servo Topology describe connected servo devices on DUT set-up to provide Servo functionality. Next Tag : 3
func (*ServoTopology) Descriptor
deprecated
func (*ServoTopology) Descriptor() ([]byte, []int)
Deprecated: Use ServoTopology.ProtoReflect.Descriptor instead.
func (*ServoTopology) GetChildren ¶
func (x *ServoTopology) GetChildren() []*ServoTopologyItem
func (*ServoTopology) GetMain ¶
func (x *ServoTopology) GetMain() *ServoTopologyItem
func (*ServoTopology) ProtoMessage ¶
func (*ServoTopology) ProtoMessage()
func (*ServoTopology) ProtoReflect ¶
func (x *ServoTopology) ProtoReflect() protoreflect.Message
func (*ServoTopology) Reset ¶
func (x *ServoTopology) Reset()
func (*ServoTopology) String ¶
func (x *ServoTopology) String() string
type ServoTopologyItem ¶
type ServoTopologyItem struct { // 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 providess 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 providess the serilal number of the device. Serial string `protobuf:"bytes,3,opt,name=serial,proto3" json:"serial,omitempty"` // usb_hub_port providess 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"` // contains filtered or unexported fields }
Servo Topology Item describe details of one servo device on DUT set-up. Next Tag : 5
func (*ServoTopologyItem) Descriptor
deprecated
func (*ServoTopologyItem) Descriptor() ([]byte, []int)
Deprecated: Use ServoTopologyItem.ProtoReflect.Descriptor instead.
func (*ServoTopologyItem) GetSerial ¶
func (x *ServoTopologyItem) GetSerial() string
func (*ServoTopologyItem) GetSysfsProduct ¶
func (x *ServoTopologyItem) GetSysfsProduct() string
func (*ServoTopologyItem) GetType ¶
func (x *ServoTopologyItem) GetType() string
func (*ServoTopologyItem) GetUsbHubPort ¶
func (x *ServoTopologyItem) GetUsbHubPort() string
func (*ServoTopologyItem) ProtoMessage ¶
func (*ServoTopologyItem) ProtoMessage()
func (*ServoTopologyItem) ProtoReflect ¶
func (x *ServoTopologyItem) ProtoReflect() protoreflect.Message
func (*ServoTopologyItem) Reset ¶
func (x *ServoTopologyItem) Reset()
func (*ServoTopologyItem) String ¶
func (x *ServoTopologyItem) String() string
type Touch ¶
type Touch struct { // Has touch monitor mimo. Mimo bool `protobuf:"varint,1,opt,name=mimo,proto3" json:"mimo,omitempty"` // contains filtered or unexported fields }
Next Tag: 2
func (*Touch) Descriptor
deprecated
func (*Touch) ProtoMessage ¶
func (*Touch) ProtoMessage()
func (*Touch) ProtoReflect ¶
func (x *Touch) ProtoReflect() protoreflect.Message
type Wifi ¶
type Wifi struct { // Indicate if the device is inside a hermetic wifi cell. Wificell bool `protobuf:"varint,1,opt,name=wificell,proto3" json:"wificell,omitempty"` AntennaConn Wifi_AntennaConnection `` /* 163-byte string literal not displayed */ // Indicate if the device is in a pre-setup environment with 802.11ax routers. // crbug.com/1044786 Router Wifi_Router `protobuf:"varint,3,opt,name=router,proto3,enum=unifiedfleet.api.v1.models.chromeos.lab.Wifi_Router" json:"router,omitempty"` // contains filtered or unexported fields }
Next Tag: 4
func (*Wifi) Descriptor
deprecated
func (*Wifi) GetAntennaConn ¶
func (x *Wifi) GetAntennaConn() Wifi_AntennaConnection
func (*Wifi) GetRouter ¶
func (x *Wifi) GetRouter() Wifi_Router
func (*Wifi) GetWificell ¶
func (*Wifi) ProtoMessage ¶
func (*Wifi) ProtoMessage()
func (*Wifi) ProtoReflect ¶
func (x *Wifi) ProtoReflect() protoreflect.Message
type Wifi_AntennaConnection ¶
type Wifi_AntennaConnection int32
DUT's WiFi antenna's connection. Next Tag: 3
const ( Wifi_CONN_UNKNOWN Wifi_AntennaConnection = 0 // WIFI antenna is connected conductively. Wifi_CONN_CONDUCTIVE Wifi_AntennaConnection = 1 // WIFI antenna is connected over-the-air. Wifi_CONN_OTA Wifi_AntennaConnection = 2 )
func (Wifi_AntennaConnection) Descriptor ¶
func (Wifi_AntennaConnection) Descriptor() protoreflect.EnumDescriptor
func (Wifi_AntennaConnection) Enum ¶
func (x Wifi_AntennaConnection) Enum() *Wifi_AntennaConnection
func (Wifi_AntennaConnection) EnumDescriptor
deprecated
func (Wifi_AntennaConnection) EnumDescriptor() ([]byte, []int)
Deprecated: Use Wifi_AntennaConnection.Descriptor instead.
func (Wifi_AntennaConnection) Number ¶
func (x Wifi_AntennaConnection) Number() protoreflect.EnumNumber
func (Wifi_AntennaConnection) String ¶
func (x Wifi_AntennaConnection) String() string
func (Wifi_AntennaConnection) Type ¶
func (Wifi_AntennaConnection) Type() protoreflect.EnumType
type Wifi_Router ¶
type Wifi_Router int32
const ( Wifi_ROUTER_UNSPECIFIED Wifi_Router = 0 Wifi_ROUTER_802_11AX Wifi_Router = 1 )
func (Wifi_Router) Descriptor ¶
func (Wifi_Router) Descriptor() protoreflect.EnumDescriptor
func (Wifi_Router) Enum ¶
func (x Wifi_Router) Enum() *Wifi_Router
func (Wifi_Router) EnumDescriptor
deprecated
func (Wifi_Router) EnumDescriptor() ([]byte, []int)
Deprecated: Use Wifi_Router.Descriptor instead.
func (Wifi_Router) Number ¶
func (x Wifi_Router) Number() protoreflect.EnumNumber
func (Wifi_Router) String ¶
func (x Wifi_Router) String() string
func (Wifi_Router) Type ¶
func (Wifi_Router) Type() protoreflect.EnumType