proto: go.chromium.org/chromiumos/infra/proto/go/test Index | Files

package test_condition

import "go.chromium.org/chromiumos/infra/proto/go/test"

Index

Package Files

device_condition.pb.go lab_condition.pb.go test_condition.pb.go

Variables

var TestCase_Framework_name = map[int32]string{
    0:  "FRAMEWORK_UNSPECIFIED",
    1:  "FRAMEWORK_TAST",
}
var TestCase_Framework_value = map[string]int32{
    "FRAMEWORK_UNSPECIFIED": 0,
    "FRAMEWORK_TAST":        1,
}
var Tribool_name = map[int32]string{
    0:  "UNSPECIFIED",
    1:  "TRUE",
    2:  "FALSE",
}
var Tribool_value = map[string]int32{
    "UNSPECIFIED": 0,
    "TRUE":        1,
    "FALSE":       2,
}

type BrandIdCondition Uses

type BrandIdCondition struct {
    // If not empty, value and device.ConfigId.value must have same value.
    Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    // If not empty, the value of device.ConfigId.value must not be contained
    // in this field.
    NoValues             []string `protobuf:"bytes,2,rep,name=no_values,json=noValues,proto3" json:"no_values,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents the condition of device.BrandId message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*BrandIdCondition) Descriptor Uses

func (*BrandIdCondition) Descriptor() ([]byte, []int)

func (*BrandIdCondition) GetNoValues Uses

func (m *BrandIdCondition) GetNoValues() []string

func (*BrandIdCondition) GetValue Uses

func (m *BrandIdCondition) GetValue() string

func (*BrandIdCondition) ProtoMessage Uses

func (*BrandIdCondition) ProtoMessage()

func (*BrandIdCondition) Reset Uses

func (m *BrandIdCondition) Reset()

func (*BrandIdCondition) String Uses

func (m *BrandIdCondition) String() string

func (*BrandIdCondition) XXX_DiscardUnknown Uses

func (m *BrandIdCondition) XXX_DiscardUnknown()

func (*BrandIdCondition) XXX_Marshal Uses

func (m *BrandIdCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BrandIdCondition) XXX_Merge Uses

func (m *BrandIdCondition) XXX_Merge(src proto.Message)

func (*BrandIdCondition) XXX_Size Uses

func (m *BrandIdCondition) XXX_Size() int

func (*BrandIdCondition) XXX_Unmarshal Uses

func (m *BrandIdCondition) XXX_Unmarshal(b []byte) error

type ConfigIdCondition Uses

type ConfigIdCondition struct {
    // Condition of device.PlatformId. This condition needs to be satisfied by
    // device.ConfigId.platform_id.
    PlatformId *PlatformIdCondition `protobuf:"bytes,1,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"`
    // Condition of device.ModelId. This condition needs to be satisfied by
    // device.ConfigId.model_id.
    ModelId *ModelIdCondition `protobuf:"bytes,2,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
    // Condition of device.VariantId. This condition needs to be satisfied by
    // device.ConfigId.variant_id.
    VariantId *VariantIdCondition `protobuf:"bytes,3,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
    // Condition of device.BrandId. This condition needs to be satisfied by
    // device.ConfigId.brand_id.
    BrandId              *BrandIdCondition `protobuf:"bytes,4,opt,name=brand_id,json=brandId,proto3" json:"brand_id,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Represents the condition of device.ConfigId message. If all conditions for each field are satisfied, this message is considered as satisfied. chromeos/infra/config has similar feature, i.e. disabling tests by DUT models. The big difference is; this configuration is provided from tests, and specifically it is branched. chromeos/infra/config is not branched. The majar use case of chromeos/infra/config is to disable whole tests on a specific types DUT due to, e.g., lab/infra issues. Example use case of this condition is; if there is a known issue in a third_party drive only on some specific board, but it is expected that the fix of the issue would take time. This condition can be used to disable the test for such a case. On the other hand, chromeos/infra/config is expected to be used for disabling tests on a specific board, regardless of versions, because of temporaly infra/lab issue, for example.

func (*ConfigIdCondition) Descriptor Uses

func (*ConfigIdCondition) Descriptor() ([]byte, []int)

func (*ConfigIdCondition) GetBrandId Uses

func (m *ConfigIdCondition) GetBrandId() *BrandIdCondition

func (*ConfigIdCondition) GetModelId Uses

func (m *ConfigIdCondition) GetModelId() *ModelIdCondition

func (*ConfigIdCondition) GetPlatformId Uses

func (m *ConfigIdCondition) GetPlatformId() *PlatformIdCondition

func (*ConfigIdCondition) GetVariantId Uses

func (m *ConfigIdCondition) GetVariantId() *VariantIdCondition

func (*ConfigIdCondition) ProtoMessage Uses

func (*ConfigIdCondition) ProtoMessage()

func (*ConfigIdCondition) Reset Uses

func (m *ConfigIdCondition) Reset()

func (*ConfigIdCondition) String Uses

func (m *ConfigIdCondition) String() string

func (*ConfigIdCondition) XXX_DiscardUnknown Uses

func (m *ConfigIdCondition) XXX_DiscardUnknown()

func (*ConfigIdCondition) XXX_Marshal Uses

func (m *ConfigIdCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigIdCondition) XXX_Merge Uses

func (m *ConfigIdCondition) XXX_Merge(src proto.Message)

func (*ConfigIdCondition) XXX_Size Uses

func (m *ConfigIdCondition) XXX_Size() int

func (*ConfigIdCondition) XXX_Unmarshal Uses

func (m *ConfigIdCondition) XXX_Unmarshal(b []byte) error

type DeviceConfigCondition Uses

type DeviceConfigCondition struct {
    // Condition of device.ConfigId. This condition needs to be satisfied by
    // device.Config.id.
    Id  *ConfigIdCondition `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // If this is not FORM_FACTOR_UNSPECIFIED, form_factor and
    // device.Config.form_factor must have same value.
    FormFactor device.Config_FormFactor `protobuf:"varint,2,opt,name=form_factor,json=formFactor,proto3,enum=device.Config_FormFactor" json:"form_factor,omitempty"`
    // If not empty, the value of device.Config.form_factor must not be
    // contained in this field.
    NoFormFactors []device.Config_FormFactor `protobuf:"varint,3,rep,packed,name=no_form_factors,json=noFormFactors,proto3,enum=device.Config_FormFactor" json:"no_form_factors,omitempty"`
    // If not empty, gpu_family and device.Config.gpu_family must have same
    // value.
    GpuFamily string `protobuf:"bytes,4,opt,name=gpu_family,json=gpuFamily,proto3" json:"gpu_family,omitempty"`
    // If not empty, the value of device.Config.gpu_family must not be
    // contained in this field.
    NoGpuFamilies []string `protobuf:"bytes,5,rep,name=no_gpu_families,json=noGpuFamilies,proto3" json:"no_gpu_families,omitempty"`
    // If this is not GRAPHICS_UNSPECIFIED, graphics and device.Config.graphics
    // must have same value.
    Graphics device.Config_Graphics `protobuf:"varint,6,opt,name=graphics,proto3,enum=device.Config_Graphics" json:"graphics,omitempty"`
    // If not empty, the value of device.Config.graphics must not be contained
    // in this field.
    NoGraphics []device.Config_Graphics `protobuf:"varint,7,rep,packed,name=no_graphics,json=noGraphics,proto3,enum=device.Config_Graphics" json:"no_graphics,omitempty"`
    // If not empty, all values in this field must be contained in the
    // device.Config.hardware_features list.
    HardwareFeatures []device.Config_HardwareFeature `protobuf:"varint,8,rep,packed,name=hardware_features,json=hardwareFeatures,proto3,enum=device.Config_HardwareFeature" json:"hardware_features,omitempty"`
    // If not emtpy, any value in device.Config.hardware_features must not be
    // contained in this field.
    NoHardwareFeatures []device.Config_HardwareFeature `protobuf:"varint,9,rep,packed,name=no_hardware_features,json=noHardwareFeatures,proto3,enum=device.Config_HardwareFeature" json:"no_hardware_features,omitempty"`
    // If this is not POWER_SUPPLY_UNSPECIFIED, power and device.Config.power
    // must have same value.
    Power device.Config_PowerSupply `protobuf:"varint,10,opt,name=power,proto3,enum=device.Config_PowerSupply" json:"power,omitempty"`
    // If not empty, the value of device.Config.power must not be contained in
    // this field.
    NoPowers []device.Config_PowerSupply `protobuf:"varint,11,rep,packed,name=no_powers,json=noPowers,proto3,enum=device.Config_PowerSupply" json:"no_powers,omitempty"`
    // If this is not STORAGE_UNSPECIFIED, storage and device.Condition.storage
    // must have same value.
    Storage device.Config_Storage `protobuf:"varint,12,opt,name=storage,proto3,enum=device.Config_Storage" json:"storage,omitempty"`
    // If not empty, the value of device.Config.storage must not be contained
    // in this field.
    NoStorages []device.Config_Storage `protobuf:"varint,13,rep,packed,name=no_storages,json=noStorages,proto3,enum=device.Config_Storage" json:"no_storages,omitempty"`
    // If not empty, all values in this field must be contained in the
    // device.Config.video_accelerator_supports.
    VideoAccelerationSupports []device.Config_VideoAcceleration `protobuf:"varint,14,rep,packed,name=video_acceleration_supports,json=videoAccelerationSupports,proto3,enum=device.Config_VideoAcceleration" json:"video_acceleration_supports,omitempty"`
    // If not empty, any value in device.Config.video_acceleration_supports
    // must not be contained in this field.
    NoVideoAccelerationSupports []device.Config_VideoAcceleration `protobuf:"varint,15,rep,packed,name=no_video_acceleration_supports,json=noVideoAccelerationSupports,proto3,enum=device.Config_VideoAcceleration" json:"no_video_acceleration_supports,omitempty"`
    // If this is not SOC_UNSPECIFIED, soc and device.Config.soc must have same
    // value.
    Soc device.Config_SOC `protobuf:"varint,16,opt,name=soc,proto3,enum=device.Config_SOC" json:"soc,omitempty"`
    // If not empty, the value of device.Config.soc must not be contained in
    // this field.
    NoSocs               []device.Config_SOC `protobuf:"varint,17,rep,packed,name=no_socs,json=noSocs,proto3,enum=device.Config_SOC" json:"no_socs,omitempty"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

Represents the condition of device.Config message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*DeviceConfigCondition) Descriptor Uses

func (*DeviceConfigCondition) Descriptor() ([]byte, []int)

func (*DeviceConfigCondition) GetFormFactor Uses

func (m *DeviceConfigCondition) GetFormFactor() device.Config_FormFactor

func (*DeviceConfigCondition) GetGpuFamily Uses

func (m *DeviceConfigCondition) GetGpuFamily() string

func (*DeviceConfigCondition) GetGraphics Uses

func (m *DeviceConfigCondition) GetGraphics() device.Config_Graphics

func (*DeviceConfigCondition) GetHardwareFeatures Uses

func (m *DeviceConfigCondition) GetHardwareFeatures() []device.Config_HardwareFeature

func (*DeviceConfigCondition) GetId Uses

func (m *DeviceConfigCondition) GetId() *ConfigIdCondition

func (*DeviceConfigCondition) GetNoFormFactors Uses

func (m *DeviceConfigCondition) GetNoFormFactors() []device.Config_FormFactor

func (*DeviceConfigCondition) GetNoGpuFamilies Uses

func (m *DeviceConfigCondition) GetNoGpuFamilies() []string

func (*DeviceConfigCondition) GetNoGraphics Uses

func (m *DeviceConfigCondition) GetNoGraphics() []device.Config_Graphics

func (*DeviceConfigCondition) GetNoHardwareFeatures Uses

func (m *DeviceConfigCondition) GetNoHardwareFeatures() []device.Config_HardwareFeature

func (*DeviceConfigCondition) GetNoPowers Uses

func (m *DeviceConfigCondition) GetNoPowers() []device.Config_PowerSupply

func (*DeviceConfigCondition) GetNoSocs Uses

func (m *DeviceConfigCondition) GetNoSocs() []device.Config_SOC

func (*DeviceConfigCondition) GetNoStorages Uses

func (m *DeviceConfigCondition) GetNoStorages() []device.Config_Storage

func (*DeviceConfigCondition) GetNoVideoAccelerationSupports Uses

func (m *DeviceConfigCondition) GetNoVideoAccelerationSupports() []device.Config_VideoAcceleration

func (*DeviceConfigCondition) GetPower Uses

func (m *DeviceConfigCondition) GetPower() device.Config_PowerSupply

func (*DeviceConfigCondition) GetSoc Uses

func (m *DeviceConfigCondition) GetSoc() device.Config_SOC

func (*DeviceConfigCondition) GetStorage Uses

func (m *DeviceConfigCondition) GetStorage() device.Config_Storage

func (*DeviceConfigCondition) GetVideoAccelerationSupports Uses

func (m *DeviceConfigCondition) GetVideoAccelerationSupports() []device.Config_VideoAcceleration

func (*DeviceConfigCondition) ProtoMessage Uses

func (*DeviceConfigCondition) ProtoMessage()

func (*DeviceConfigCondition) Reset Uses

func (m *DeviceConfigCondition) Reset()

func (*DeviceConfigCondition) String Uses

func (m *DeviceConfigCondition) String() string

func (*DeviceConfigCondition) XXX_DiscardUnknown Uses

func (m *DeviceConfigCondition) XXX_DiscardUnknown()

func (*DeviceConfigCondition) XXX_Marshal Uses

func (m *DeviceConfigCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceConfigCondition) XXX_Merge Uses

func (m *DeviceConfigCondition) XXX_Merge(src proto.Message)

func (*DeviceConfigCondition) XXX_Size Uses

func (m *DeviceConfigCondition) XXX_Size() int

func (*DeviceConfigCondition) XXX_Unmarshal Uses

func (m *DeviceConfigCondition) XXX_Unmarshal(b []byte) error

type LabAudioCondition Uses

type LabAudioCondition struct {
    // If this is not UNSPECIFIED, the value of audio_box needs to be matched
    // with the value in lab.Audio.audio_box.
    AudioBox Tribool `protobuf:"varint,1,opt,name=audio_box,json=audioBox,proto3,enum=test_condition.Tribool" json:"audio_box,omitempty"`
    // If this is not UNSPECIFIED, the value of atrus needs to be matched
    // with the value in lab.Audio.atrus.
    Atrus                Tribool  `protobuf:"varint,2,opt,name=atrus,proto3,enum=test_condition.Tribool" json:"atrus,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents the condition of lab.Audio message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*LabAudioCondition) Descriptor Uses

func (*LabAudioCondition) Descriptor() ([]byte, []int)

func (*LabAudioCondition) GetAtrus Uses

func (m *LabAudioCondition) GetAtrus() Tribool

func (*LabAudioCondition) GetAudioBox Uses

func (m *LabAudioCondition) GetAudioBox() Tribool

func (*LabAudioCondition) ProtoMessage Uses

func (*LabAudioCondition) ProtoMessage()

func (*LabAudioCondition) Reset Uses

func (m *LabAudioCondition) Reset()

func (*LabAudioCondition) String Uses

func (m *LabAudioCondition) String() string

func (*LabAudioCondition) XXX_DiscardUnknown Uses

func (m *LabAudioCondition) XXX_DiscardUnknown()

func (*LabAudioCondition) XXX_Marshal Uses

func (m *LabAudioCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabAudioCondition) XXX_Merge Uses

func (m *LabAudioCondition) XXX_Merge(src proto.Message)

func (*LabAudioCondition) XXX_Size Uses

func (m *LabAudioCondition) XXX_Size() int

func (*LabAudioCondition) XXX_Unmarshal Uses

func (m *LabAudioCondition) XXX_Unmarshal(b []byte) error

type LabCameraCondition Uses

type LabCameraCondition struct {
    // If this is not CAMERA_INVALID, camera_type and lab.Camera.camera_type
    // must have same value.
    CameraType lab.CameraType `protobuf:"varint,1,opt,name=camera_type,json=cameraType,proto3,enum=lab.CameraType" json:"camera_type,omitempty"`
    // If not empty, the value of lab.Camera.camera_type must not be contained
    // in this field.
    NoCameraTypes        []lab.CameraType `protobuf:"varint,2,rep,packed,name=no_camera_types,json=noCameraTypes,proto3,enum=lab.CameraType" json:"no_camera_types,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

Represents the condition of lab.Camera message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*LabCameraCondition) Descriptor Uses

func (*LabCameraCondition) Descriptor() ([]byte, []int)

func (*LabCameraCondition) GetCameraType Uses

func (m *LabCameraCondition) GetCameraType() lab.CameraType

func (*LabCameraCondition) GetNoCameraTypes Uses

func (m *LabCameraCondition) GetNoCameraTypes() []lab.CameraType

func (*LabCameraCondition) ProtoMessage Uses

func (*LabCameraCondition) ProtoMessage()

func (*LabCameraCondition) Reset Uses

func (m *LabCameraCondition) Reset()

func (*LabCameraCondition) String Uses

func (m *LabCameraCondition) String() string

func (*LabCameraCondition) XXX_DiscardUnknown Uses

func (m *LabCameraCondition) XXX_DiscardUnknown()

func (*LabCameraCondition) XXX_Marshal Uses

func (m *LabCameraCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabCameraCondition) XXX_Merge Uses

func (m *LabCameraCondition) XXX_Merge(src proto.Message)

func (*LabCameraCondition) XXX_Size Uses

func (m *LabCameraCondition) XXX_Size() int

func (*LabCameraCondition) XXX_Unmarshal Uses

func (m *LabCameraCondition) XXX_Unmarshal(b []byte) error

type LabChameleonCondition Uses

type LabChameleonCondition struct {
    // If this is not CHAMELEON_TYPE_INVALID, chameleon_peripherals and
    // labs.Chameleon.chameleon_peripherals must have same value.
    ChameleonPeripherals []lab.ChameleonType `protobuf:"varint,4,rep,packed,name=chameleon_peripherals,json=chameleonPeripherals,proto3,enum=lab.ChameleonType" json:"chameleon_peripherals,omitempty"`
    // If not empty, the value of lab.Chameleon.chameleon_type must not be
    // contained in this field.
    NoChameleonTypes []lab.ChameleonType `protobuf:"varint,2,rep,packed,name=no_chameleon_types,json=noChameleonTypes,proto3,enum=lab.ChameleonType" json:"no_chameleon_types,omitempty"`
    // If this is not UNSPECIFIED, the value of audio_board needs to be matched
    // with the value in lab.Chameleon.audio_board.
    AudioBoard           Tribool  `protobuf:"varint,3,opt,name=audio_board,json=audioBoard,proto3,enum=test_condition.Tribool" json:"audio_board,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents the condition of lab.Chameleon message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*LabChameleonCondition) Descriptor Uses

func (*LabChameleonCondition) Descriptor() ([]byte, []int)

func (*LabChameleonCondition) GetAudioBoard Uses

func (m *LabChameleonCondition) GetAudioBoard() Tribool

func (*LabChameleonCondition) GetChameleonPeripherals Uses

func (m *LabChameleonCondition) GetChameleonPeripherals() []lab.ChameleonType

func (*LabChameleonCondition) GetNoChameleonTypes Uses

func (m *LabChameleonCondition) GetNoChameleonTypes() []lab.ChameleonType

func (*LabChameleonCondition) ProtoMessage Uses

func (*LabChameleonCondition) ProtoMessage()

func (*LabChameleonCondition) Reset Uses

func (m *LabChameleonCondition) Reset()

func (*LabChameleonCondition) String Uses

func (m *LabChameleonCondition) String() string

func (*LabChameleonCondition) XXX_DiscardUnknown Uses

func (m *LabChameleonCondition) XXX_DiscardUnknown()

func (*LabChameleonCondition) XXX_Marshal Uses

func (m *LabChameleonCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabChameleonCondition) XXX_Merge Uses

func (m *LabChameleonCondition) XXX_Merge(src proto.Message)

func (*LabChameleonCondition) XXX_Size Uses

func (m *LabChameleonCondition) XXX_Size() int

func (*LabChameleonCondition) XXX_Unmarshal Uses

func (m *LabChameleonCondition) XXX_Unmarshal(b []byte) error

type LabPeripheralsCondition Uses

type LabPeripheralsCondition struct {
    // Condition of lab.Chameleon. This condition needs to be satisfied by
    // lab.Peripherals.chameleon.
    Chameleon *LabChameleonCondition `protobuf:"bytes,1,opt,name=chameleon,proto3" json:"chameleon,omitempty"`
    // Condition of lab.Servo. This condition needs to be satisfied by
    // lab.Peripherals.servo.
    Servo *LabServoCondition `protobuf:"bytes,2,opt,name=servo,proto3" json:"servo,omitempty"`
    // Condition of lab.RPM. This condition needs to be satisfied by
    // lab.Peripherals.rpm.
    Rpm *LabRPMCondition `protobuf:"bytes,3,opt,name=rpm,proto3" json:"rpm,omitempty"`
    // Condition of lab.Audio. This condition needs to be satisfied by
    // lab.Peripherals.audio.
    Audio *LabAudioCondition `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"`
    // Condition of lab.Wifi. This condition needs to be satisfied by
    // lab.Peripherals.wifi.
    Wifi *LabWifiCondition `protobuf:"bytes,5,opt,name=wifi,proto3" json:"wifi,omitempty"`
    // Condition of lab.Camera. If not empty, all the condition in this field
    // needs to be satisfied by any of lab.Peripherals.camera.
    Cameras []*LabCameraCondition `protobuf:"bytes,6,rep,name=cameras,proto3" json:"cameras,omitempty"`
    // Condition of lab.Camera. If not empty, any value in lab.Peripherals.camera
    // must not satisfy any condition in this field.
    NoCameras []*LabCameraCondition `protobuf:"bytes,7,rep,name=no_cameras,json=noCameras,proto3" json:"no_cameras,omitempty"`
    // Condition of lab.Touch. This condition needs to be satisfied by
    // lab.Peripherals.touch.
    Touch                *LabTouchCondition `protobuf:"bytes,8,opt,name=touch,proto3" json:"touch,omitempty"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

Represents the condition of lab.Peripherals message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*LabPeripheralsCondition) Descriptor Uses

func (*LabPeripheralsCondition) Descriptor() ([]byte, []int)

func (*LabPeripheralsCondition) GetAudio Uses

func (m *LabPeripheralsCondition) GetAudio() *LabAudioCondition

func (*LabPeripheralsCondition) GetCameras Uses

func (m *LabPeripheralsCondition) GetCameras() []*LabCameraCondition

func (*LabPeripheralsCondition) GetChameleon Uses

func (m *LabPeripheralsCondition) GetChameleon() *LabChameleonCondition

func (*LabPeripheralsCondition) GetNoCameras Uses

func (m *LabPeripheralsCondition) GetNoCameras() []*LabCameraCondition

func (*LabPeripheralsCondition) GetRpm Uses

func (m *LabPeripheralsCondition) GetRpm() *LabRPMCondition

func (*LabPeripheralsCondition) GetServo Uses

func (m *LabPeripheralsCondition) GetServo() *LabServoCondition

func (*LabPeripheralsCondition) GetTouch Uses

func (m *LabPeripheralsCondition) GetTouch() *LabTouchCondition

func (*LabPeripheralsCondition) GetWifi Uses

func (m *LabPeripheralsCondition) GetWifi() *LabWifiCondition

func (*LabPeripheralsCondition) ProtoMessage Uses

func (*LabPeripheralsCondition) ProtoMessage()

func (*LabPeripheralsCondition) Reset Uses

func (m *LabPeripheralsCondition) Reset()

func (*LabPeripheralsCondition) String Uses

func (m *LabPeripheralsCondition) String() string

func (*LabPeripheralsCondition) XXX_DiscardUnknown Uses

func (m *LabPeripheralsCondition) XXX_DiscardUnknown()

func (*LabPeripheralsCondition) XXX_Marshal Uses

func (m *LabPeripheralsCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabPeripheralsCondition) XXX_Merge Uses

func (m *LabPeripheralsCondition) XXX_Merge(src proto.Message)

func (*LabPeripheralsCondition) XXX_Size Uses

func (m *LabPeripheralsCondition) XXX_Size() int

func (*LabPeripheralsCondition) XXX_Unmarshal Uses

func (m *LabPeripheralsCondition) XXX_Unmarshal(b []byte) error

type LabRPMCondition Uses

type LabRPMCondition struct {
    // If not empty, powerunit_name and lab.RPM.powerunit_name must have same
    // value.
    PowerunitName string `protobuf:"bytes,1,opt,name=powerunit_name,json=powerunitName,proto3" json:"powerunit_name,omitempty"`
    // If not empty, the value of lab.RPM.powerunit_name must not be contained
    // in this field.
    NoPowerunitNames []string `protobuf:"bytes,2,rep,name=no_powerunit_names,json=noPowerunitNames,proto3" json:"no_powerunit_names,omitempty"`
    // If not empty, powerunit_outlet and lab.RPM.powerunit_outlet must have
    // same value.
    PowerunitOutlet string `protobuf:"bytes,3,opt,name=powerunit_outlet,json=powerunitOutlet,proto3" json:"powerunit_outlet,omitempty"`
    // If not empty, the value of lab.RPM.powerunit_outlet must not be
    // contained in this field.
    NoPowerunitOutlets   []string `protobuf:"bytes,4,rep,name=no_powerunit_outlets,json=noPowerunitOutlets,proto3" json:"no_powerunit_outlets,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents the condition of lab.RPM message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*LabRPMCondition) Descriptor Uses

func (*LabRPMCondition) Descriptor() ([]byte, []int)

func (*LabRPMCondition) GetNoPowerunitNames Uses

func (m *LabRPMCondition) GetNoPowerunitNames() []string

func (*LabRPMCondition) GetNoPowerunitOutlets Uses

func (m *LabRPMCondition) GetNoPowerunitOutlets() []string

func (*LabRPMCondition) GetPowerunitName Uses

func (m *LabRPMCondition) GetPowerunitName() string

func (*LabRPMCondition) GetPowerunitOutlet Uses

func (m *LabRPMCondition) GetPowerunitOutlet() string

func (*LabRPMCondition) ProtoMessage Uses

func (*LabRPMCondition) ProtoMessage()

func (*LabRPMCondition) Reset Uses

func (m *LabRPMCondition) Reset()

func (*LabRPMCondition) String Uses

func (m *LabRPMCondition) String() string

func (*LabRPMCondition) XXX_DiscardUnknown Uses

func (m *LabRPMCondition) XXX_DiscardUnknown()

func (*LabRPMCondition) XXX_Marshal Uses

func (m *LabRPMCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabRPMCondition) XXX_Merge Uses

func (m *LabRPMCondition) XXX_Merge(src proto.Message)

func (*LabRPMCondition) XXX_Size Uses

func (m *LabRPMCondition) XXX_Size() int

func (*LabRPMCondition) XXX_Unmarshal Uses

func (m *LabRPMCondition) XXX_Unmarshal(b []byte) error

type LabServoCondition Uses

type LabServoCondition struct {
    // If not empty, servo_hostname and lab.Servo.servo_hostname must have
    // same value.
    ServoHostname string `protobuf:"bytes,2,opt,name=servo_hostname,json=servoHostname,proto3" json:"servo_hostname,omitempty"`
    // If not empty, the value of lab.Servo.servo_hostname must not be
    // contained in this field.
    NoServoHostnames []string `protobuf:"bytes,3,rep,name=no_servo_hostnames,json=noServoHostnames,proto3" json:"no_servo_hostnames,omitempty"`
    // If servo_port is not 0, servo_port and lab.Servo.servo_port must have
    // same value.
    ServoPort int32 `protobuf:"varint,4,opt,name=servo_port,json=servoPort,proto3" json:"servo_port,omitempty"`
    // If not empty, the value of lab.Servo.servo_port must not be contained
    // in this field.
    NoServoPorts []int32 `protobuf:"varint,5,rep,packed,name=no_servo_ports,json=noServoPorts,proto3" json:"no_servo_ports,omitempty"`
    // If not empty, servo_serial and lab.Servo.servo_serial must have same
    // value.
    ServoSerial string `protobuf:"bytes,6,opt,name=servo_serial,json=servoSerial,proto3" json:"servo_serial,omitempty"`
    // If not empty, the value of lab.Servo.servo_serial must not be contained
    // in this field.
    NoServoSerials []string `protobuf:"bytes,7,rep,name=no_servo_serials,json=noServoSerials,proto3" json:"no_servo_serials,omitempty"`
    // If not empty, servo_type and lab.Servo.servo_type must have same value.
    ServoType string `protobuf:"bytes,8,opt,name=servo_type,json=servoType,proto3" json:"servo_type,omitempty"`
    // If not empty, the value of lab.Servo.servo_type must not be contained
    // in this field.
    NoServoTypes         []string `protobuf:"bytes,9,rep,name=no_servo_types,json=noServoTypes,proto3" json:"no_servo_types,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents the condition of lab.Servo message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*LabServoCondition) Descriptor Uses

func (*LabServoCondition) Descriptor() ([]byte, []int)

func (*LabServoCondition) GetNoServoHostnames Uses

func (m *LabServoCondition) GetNoServoHostnames() []string

func (*LabServoCondition) GetNoServoPorts Uses

func (m *LabServoCondition) GetNoServoPorts() []int32

func (*LabServoCondition) GetNoServoSerials Uses

func (m *LabServoCondition) GetNoServoSerials() []string

func (*LabServoCondition) GetNoServoTypes Uses

func (m *LabServoCondition) GetNoServoTypes() []string

func (*LabServoCondition) GetServoHostname Uses

func (m *LabServoCondition) GetServoHostname() string

func (*LabServoCondition) GetServoPort Uses

func (m *LabServoCondition) GetServoPort() int32

func (*LabServoCondition) GetServoSerial Uses

func (m *LabServoCondition) GetServoSerial() string

func (*LabServoCondition) GetServoType Uses

func (m *LabServoCondition) GetServoType() string

func (*LabServoCondition) ProtoMessage Uses

func (*LabServoCondition) ProtoMessage()

func (*LabServoCondition) Reset Uses

func (m *LabServoCondition) Reset()

func (*LabServoCondition) String Uses

func (m *LabServoCondition) String() string

func (*LabServoCondition) XXX_DiscardUnknown Uses

func (m *LabServoCondition) XXX_DiscardUnknown()

func (*LabServoCondition) XXX_Marshal Uses

func (m *LabServoCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabServoCondition) XXX_Merge Uses

func (m *LabServoCondition) XXX_Merge(src proto.Message)

func (*LabServoCondition) XXX_Size Uses

func (m *LabServoCondition) XXX_Size() int

func (*LabServoCondition) XXX_Unmarshal Uses

func (m *LabServoCondition) XXX_Unmarshal(b []byte) error

type LabTouchCondition Uses

type LabTouchCondition struct {
    // If this is not UNSPECIFIED, the value of mino needs to be matched
    // with the value in lab.Touch.mino.
    Mino                 Tribool  `protobuf:"varint,1,opt,name=mino,proto3,enum=test_condition.Tribool" json:"mino,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents the condition of lab.Touch message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*LabTouchCondition) Descriptor Uses

func (*LabTouchCondition) Descriptor() ([]byte, []int)

func (*LabTouchCondition) GetMino Uses

func (m *LabTouchCondition) GetMino() Tribool

func (*LabTouchCondition) ProtoMessage Uses

func (*LabTouchCondition) ProtoMessage()

func (*LabTouchCondition) Reset Uses

func (m *LabTouchCondition) Reset()

func (*LabTouchCondition) String Uses

func (m *LabTouchCondition) String() string

func (*LabTouchCondition) XXX_DiscardUnknown Uses

func (m *LabTouchCondition) XXX_DiscardUnknown()

func (*LabTouchCondition) XXX_Marshal Uses

func (m *LabTouchCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabTouchCondition) XXX_Merge Uses

func (m *LabTouchCondition) XXX_Merge(src proto.Message)

func (*LabTouchCondition) XXX_Size Uses

func (m *LabTouchCondition) XXX_Size() int

func (*LabTouchCondition) XXX_Unmarshal Uses

func (m *LabTouchCondition) XXX_Unmarshal(b []byte) error

type LabWifiCondition Uses

type LabWifiCondition struct {
    // If this is not UNSPECIFIED, the value of wificell needs to be matched
    // with the value in lab.Wifi.wificell.
    Wificell Tribool `protobuf:"varint,1,opt,name=wificell,proto3,enum=test_condition.Tribool" json:"wificell,omitempty"`
    // If this is not CONN_UNKNOWN, antenna_conn and lab.Wifi.antenna_conn must
    // have same value.
    AntennaConn lab.Wifi_AntennaConnection `protobuf:"varint,2,opt,name=antenna_conn,json=antennaConn,proto3,enum=lab.Wifi_AntennaConnection" json:"antenna_conn,omitempty"`
    // If not empty, the value of lab.Wifi.antenna_conn must not be contained
    // in this field.
    NoAntennaConns       []lab.Wifi_AntennaConnection `protobuf:"varint,3,rep,packed,name=no_antenna_conns,json=noAntennaConns,proto3,enum=lab.Wifi_AntennaConnection" json:"no_antenna_conns,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
    XXX_unrecognized     []byte                       `json:"-"`
    XXX_sizecache        int32                        `json:"-"`
}

Represents the condition of lab.Wifi message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*LabWifiCondition) Descriptor Uses

func (*LabWifiCondition) Descriptor() ([]byte, []int)

func (*LabWifiCondition) GetAntennaConn Uses

func (m *LabWifiCondition) GetAntennaConn() lab.Wifi_AntennaConnection

func (*LabWifiCondition) GetNoAntennaConns Uses

func (m *LabWifiCondition) GetNoAntennaConns() []lab.Wifi_AntennaConnection

func (*LabWifiCondition) GetWificell Uses

func (m *LabWifiCondition) GetWificell() Tribool

func (*LabWifiCondition) ProtoMessage Uses

func (*LabWifiCondition) ProtoMessage()

func (*LabWifiCondition) Reset Uses

func (m *LabWifiCondition) Reset()

func (*LabWifiCondition) String Uses

func (m *LabWifiCondition) String() string

func (*LabWifiCondition) XXX_DiscardUnknown Uses

func (m *LabWifiCondition) XXX_DiscardUnknown()

func (*LabWifiCondition) XXX_Marshal Uses

func (m *LabWifiCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabWifiCondition) XXX_Merge Uses

func (m *LabWifiCondition) XXX_Merge(src proto.Message)

func (*LabWifiCondition) XXX_Size Uses

func (m *LabWifiCondition) XXX_Size() int

func (*LabWifiCondition) XXX_Unmarshal Uses

func (m *LabWifiCondition) XXX_Unmarshal(b []byte) error

type ModelIdCondition Uses

type ModelIdCondition struct {
    // If not empty, value and device.ConfigId.value must have same value.
    Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    // If not empty, the value of device.ConfigId.value must not be contained
    // in this field.
    NoValues             []string `protobuf:"bytes,2,rep,name=no_values,json=noValues,proto3" json:"no_values,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents the condition of device.ModelId message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*ModelIdCondition) Descriptor Uses

func (*ModelIdCondition) Descriptor() ([]byte, []int)

func (*ModelIdCondition) GetNoValues Uses

func (m *ModelIdCondition) GetNoValues() []string

func (*ModelIdCondition) GetValue Uses

func (m *ModelIdCondition) GetValue() string

func (*ModelIdCondition) ProtoMessage Uses

func (*ModelIdCondition) ProtoMessage()

func (*ModelIdCondition) Reset Uses

func (m *ModelIdCondition) Reset()

func (*ModelIdCondition) String Uses

func (m *ModelIdCondition) String() string

func (*ModelIdCondition) XXX_DiscardUnknown Uses

func (m *ModelIdCondition) XXX_DiscardUnknown()

func (*ModelIdCondition) XXX_Marshal Uses

func (m *ModelIdCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelIdCondition) XXX_Merge Uses

func (m *ModelIdCondition) XXX_Merge(src proto.Message)

func (*ModelIdCondition) XXX_Size Uses

func (m *ModelIdCondition) XXX_Size() int

func (*ModelIdCondition) XXX_Unmarshal Uses

func (m *ModelIdCondition) XXX_Unmarshal(b []byte) error

type PlatformIdCondition Uses

type PlatformIdCondition struct {
    // If not empty, value and device.ConfigId.value must have same value.
    Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    // If not empty, the value of device.ConfigId.value must not be contained
    // in this field.
    NoValues             []string `protobuf:"bytes,2,rep,name=no_values,json=noValues,proto3" json:"no_values,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents the condition of device.PlatformId message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*PlatformIdCondition) Descriptor Uses

func (*PlatformIdCondition) Descriptor() ([]byte, []int)

func (*PlatformIdCondition) GetNoValues Uses

func (m *PlatformIdCondition) GetNoValues() []string

func (*PlatformIdCondition) GetValue Uses

func (m *PlatformIdCondition) GetValue() string

func (*PlatformIdCondition) ProtoMessage Uses

func (*PlatformIdCondition) ProtoMessage()

func (*PlatformIdCondition) Reset Uses

func (m *PlatformIdCondition) Reset()

func (*PlatformIdCondition) String Uses

func (m *PlatformIdCondition) String() string

func (*PlatformIdCondition) XXX_DiscardUnknown Uses

func (m *PlatformIdCondition) XXX_DiscardUnknown()

func (*PlatformIdCondition) XXX_Marshal Uses

func (m *PlatformIdCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlatformIdCondition) XXX_Merge Uses

func (m *PlatformIdCondition) XXX_Merge(src proto.Message)

func (*PlatformIdCondition) XXX_Size Uses

func (m *PlatformIdCondition) XXX_Size() int

func (*PlatformIdCondition) XXX_Unmarshal Uses

func (m *PlatformIdCondition) XXX_Unmarshal(b []byte) error

type TestCase Uses

type TestCase struct {
    // Test framework where this test case comes from.
    Framework TestCase_Framework `protobuf:"varint,1,opt,name=framework,proto3,enum=test_condition.TestCase_Framework" json:"framework,omitempty"`
    // Required. The name of this test case. E.g. "ui.ChromeLogin".
    Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    // Describes the dependencies which needs to be satisfied to run this test.
    Condition            *TestCondition `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `json:"-"`
}

TestCase contains information about a test case.

func (*TestCase) Descriptor Uses

func (*TestCase) Descriptor() ([]byte, []int)

func (*TestCase) GetCondition Uses

func (m *TestCase) GetCondition() *TestCondition

func (*TestCase) GetFramework Uses

func (m *TestCase) GetFramework() TestCase_Framework

func (*TestCase) GetName Uses

func (m *TestCase) GetName() string

func (*TestCase) ProtoMessage Uses

func (*TestCase) ProtoMessage()

func (*TestCase) Reset Uses

func (m *TestCase) Reset()

func (*TestCase) String Uses

func (m *TestCase) String() string

func (*TestCase) XXX_DiscardUnknown Uses

func (m *TestCase) XXX_DiscardUnknown()

func (*TestCase) XXX_Marshal Uses

func (m *TestCase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestCase) XXX_Merge Uses

func (m *TestCase) XXX_Merge(src proto.Message)

func (*TestCase) XXX_Size Uses

func (m *TestCase) XXX_Size() int

func (*TestCase) XXX_Unmarshal Uses

func (m *TestCase) XXX_Unmarshal(b []byte) error

type TestCaseSet Uses

type TestCaseSet struct {
    TestCases            []*TestCase `protobuf:"bytes,1,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

TestCaseSet contains all information about the target test.

func (*TestCaseSet) Descriptor Uses

func (*TestCaseSet) Descriptor() ([]byte, []int)

func (*TestCaseSet) GetTestCases Uses

func (m *TestCaseSet) GetTestCases() []*TestCase

func (*TestCaseSet) ProtoMessage Uses

func (*TestCaseSet) ProtoMessage()

func (*TestCaseSet) Reset Uses

func (m *TestCaseSet) Reset()

func (*TestCaseSet) String Uses

func (m *TestCaseSet) String() string

func (*TestCaseSet) XXX_DiscardUnknown Uses

func (m *TestCaseSet) XXX_DiscardUnknown()

func (*TestCaseSet) XXX_Marshal Uses

func (m *TestCaseSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestCaseSet) XXX_Merge Uses

func (m *TestCaseSet) XXX_Merge(src proto.Message)

func (*TestCaseSet) XXX_Size Uses

func (m *TestCaseSet) XXX_Size() int

func (*TestCaseSet) XXX_Unmarshal Uses

func (m *TestCaseSet) XXX_Unmarshal(b []byte) error

type TestCase_Framework Uses

type TestCase_Framework int32
const (
    TestCase_FRAMEWORK_UNSPECIFIED TestCase_Framework = 0
    TestCase_FRAMEWORK_TAST        TestCase_Framework = 1
)

func (TestCase_Framework) EnumDescriptor Uses

func (TestCase_Framework) EnumDescriptor() ([]byte, []int)

func (TestCase_Framework) String Uses

func (x TestCase_Framework) String() string

type TestCondition Uses

type TestCondition struct {
    // If an entry in the disjunct_components is satisfied, this condition is
    // considered as satisfied. In other words, TestCondition is the "OR" of all
    // disjunct_components.
    // If there is no entry in disjunct_components, this TestCondition is always
    // considered as satisfied.
    DisjuctComponents    []*TestConditionComponent `protobuf:"bytes,1,rep,name=disjuct_components,json=disjuctComponents,proto3" json:"disjuct_components,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
    XXX_unrecognized     []byte                    `json:"-"`
    XXX_sizecache        int32                     `json:"-"`
}

Describes the condition which needs to be satisfied to run a test case. The condition is formed in a "Disjunctive normal form".

func (*TestCondition) Descriptor Uses

func (*TestCondition) Descriptor() ([]byte, []int)

func (*TestCondition) GetDisjuctComponents Uses

func (m *TestCondition) GetDisjuctComponents() []*TestConditionComponent

func (*TestCondition) ProtoMessage Uses

func (*TestCondition) ProtoMessage()

func (*TestCondition) Reset Uses

func (m *TestCondition) Reset()

func (*TestCondition) String Uses

func (m *TestCondition) String() string

func (*TestCondition) XXX_DiscardUnknown Uses

func (m *TestCondition) XXX_DiscardUnknown()

func (*TestCondition) XXX_Marshal Uses

func (m *TestCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestCondition) XXX_Merge Uses

func (m *TestCondition) XXX_Merge(src proto.Message)

func (*TestCondition) XXX_Size Uses

func (m *TestCondition) XXX_Size() int

func (*TestCondition) XXX_Unmarshal Uses

func (m *TestCondition) XXX_Unmarshal(b []byte) error

type TestConditionComponent Uses

type TestConditionComponent struct {
    // Represents the condition about device/config.proto.
    DeviceConfig *DeviceConfigCondition `protobuf:"bytes,1,opt,name=device_config,json=deviceConfig,proto3" json:"device_config,omitempty"`
    // Represents the condition about lab/peripherals.proto.
    LabPeripherals       *LabPeripheralsCondition `protobuf:"bytes,2,opt,name=lab_peripherals,json=labPeripherals,proto3" json:"lab_peripherals,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
    XXX_unrecognized     []byte                   `json:"-"`
    XXX_sizecache        int32                    `json:"-"`
}

Describes one "disjunct component" of the TestCondition, which is the "AND" of all its fields.

func (*TestConditionComponent) Descriptor Uses

func (*TestConditionComponent) Descriptor() ([]byte, []int)

func (*TestConditionComponent) GetDeviceConfig Uses

func (m *TestConditionComponent) GetDeviceConfig() *DeviceConfigCondition

func (*TestConditionComponent) GetLabPeripherals Uses

func (m *TestConditionComponent) GetLabPeripherals() *LabPeripheralsCondition

func (*TestConditionComponent) ProtoMessage Uses

func (*TestConditionComponent) ProtoMessage()

func (*TestConditionComponent) Reset Uses

func (m *TestConditionComponent) Reset()

func (*TestConditionComponent) String Uses

func (m *TestConditionComponent) String() string

func (*TestConditionComponent) XXX_DiscardUnknown Uses

func (m *TestConditionComponent) XXX_DiscardUnknown()

func (*TestConditionComponent) XXX_Marshal Uses

func (m *TestConditionComponent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestConditionComponent) XXX_Merge Uses

func (m *TestConditionComponent) XXX_Merge(src proto.Message)

func (*TestConditionComponent) XXX_Size Uses

func (m *TestConditionComponent) XXX_Size() int

func (*TestConditionComponent) XXX_Unmarshal Uses

func (m *TestConditionComponent) XXX_Unmarshal(b []byte) error

type Tribool Uses

type Tribool int32

Represents boolean and "missing" value. If UNSPECIFIED, this matches with any bool value. If TRUE or FALSE, these matches true and false respectively.

const (
    Tribool_UNSPECIFIED Tribool = 0
    Tribool_TRUE        Tribool = 1
    Tribool_FALSE       Tribool = 2
)

func (Tribool) EnumDescriptor Uses

func (Tribool) EnumDescriptor() ([]byte, []int)

func (Tribool) String Uses

func (x Tribool) String() string

type VariantIdCondition Uses

type VariantIdCondition struct {
    // If not empty, value and device.ConfigId.value must have same value.
    Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    // If not empty, the value of device.ConfigId.value must not be contained
    // in this field.
    NoValues             []string `protobuf:"bytes,2,rep,name=no_values,json=noValues,proto3" json:"no_values,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents the condition of device.VariantId message. If all conditions for each field are satisfied, this message is considered as satisfied.

func (*VariantIdCondition) Descriptor Uses

func (*VariantIdCondition) Descriptor() ([]byte, []int)

func (*VariantIdCondition) GetNoValues Uses

func (m *VariantIdCondition) GetNoValues() []string

func (*VariantIdCondition) GetValue Uses

func (m *VariantIdCondition) GetValue() string

func (*VariantIdCondition) ProtoMessage Uses

func (*VariantIdCondition) ProtoMessage()

func (*VariantIdCondition) Reset Uses

func (m *VariantIdCondition) Reset()

func (*VariantIdCondition) String Uses

func (m *VariantIdCondition) String() string

func (*VariantIdCondition) XXX_DiscardUnknown Uses

func (m *VariantIdCondition) XXX_DiscardUnknown()

func (*VariantIdCondition) XXX_Marshal Uses

func (m *VariantIdCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VariantIdCondition) XXX_Merge Uses

func (m *VariantIdCondition) XXX_Merge(src proto.Message)

func (*VariantIdCondition) XXX_Size Uses

func (m *VariantIdCondition) XXX_Size() int

func (*VariantIdCondition) XXX_Unmarshal Uses

func (m *VariantIdCondition) XXX_Unmarshal(b []byte) error

Package test_condition imports 5 packages (graph). Updated 2020-01-25. Refresh now. Tools for package owners.