blob: 2af51cf4f490510eb270e2a03c1ef3a930c40bbc [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: chromiumos/test/dut/device_stability.proto
package dut
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
api "go.chromium.org/chromiumos/config/go/test/api"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Stability status of a DUT.
type DeviceStability_Stability int32
const (
DeviceStability_STABILITY_UNKNOWN DeviceStability_Stability = 0
DeviceStability_STABLE DeviceStability_Stability = 1
DeviceStability_UNSTABLE DeviceStability_Stability = 2
)
var DeviceStability_Stability_name = map[int32]string{
0: "STABILITY_UNKNOWN",
1: "STABLE",
2: "UNSTABLE",
}
var DeviceStability_Stability_value = map[string]int32{
"STABILITY_UNKNOWN": 0,
"STABLE": 1,
"UNSTABLE": 2,
}
func (x DeviceStability_Stability) String() string {
return proto.EnumName(DeviceStability_Stability_name, int32(x))
}
func (DeviceStability_Stability) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b7d5c11d7a1c4a4f, []int{0, 0}
}
// DeviceStability describes the stability of a groups of DUTs.
//
// Stability can be used for decisions such as test planning. Stability is a
// temporary characteristic of a DUT; for example, due to a known hardware issue
// on a device.
type DeviceStability struct {
// DUTs included in the stability description.
// All criteria must be met (AND logic is applied).
DutCriteria []*api.DutCriterion `protobuf:"bytes,1,rep,name=dut_criteria,json=dutCriteria,proto3" json:"dut_criteria,omitempty"`
Stability DeviceStability_Stability `protobuf:"varint,2,opt,name=stability,proto3,enum=chromiumos.test.dut.DeviceStability_Stability" json:"stability,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeviceStability) Reset() { *m = DeviceStability{} }
func (m *DeviceStability) String() string { return proto.CompactTextString(m) }
func (*DeviceStability) ProtoMessage() {}
func (*DeviceStability) Descriptor() ([]byte, []int) {
return fileDescriptor_b7d5c11d7a1c4a4f, []int{0}
}
func (m *DeviceStability) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeviceStability.Unmarshal(m, b)
}
func (m *DeviceStability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeviceStability.Marshal(b, m, deterministic)
}
func (m *DeviceStability) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeviceStability.Merge(m, src)
}
func (m *DeviceStability) XXX_Size() int {
return xxx_messageInfo_DeviceStability.Size(m)
}
func (m *DeviceStability) XXX_DiscardUnknown() {
xxx_messageInfo_DeviceStability.DiscardUnknown(m)
}
var xxx_messageInfo_DeviceStability proto.InternalMessageInfo
func (m *DeviceStability) GetDutCriteria() []*api.DutCriterion {
if m != nil {
return m.DutCriteria
}
return nil
}
func (m *DeviceStability) GetStability() DeviceStability_Stability {
if m != nil {
return m.Stability
}
return DeviceStability_STABILITY_UNKNOWN
}
type DeviceStabilityList struct {
Values []*DeviceStability `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeviceStabilityList) Reset() { *m = DeviceStabilityList{} }
func (m *DeviceStabilityList) String() string { return proto.CompactTextString(m) }
func (*DeviceStabilityList) ProtoMessage() {}
func (*DeviceStabilityList) Descriptor() ([]byte, []int) {
return fileDescriptor_b7d5c11d7a1c4a4f, []int{1}
}
func (m *DeviceStabilityList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeviceStabilityList.Unmarshal(m, b)
}
func (m *DeviceStabilityList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeviceStabilityList.Marshal(b, m, deterministic)
}
func (m *DeviceStabilityList) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeviceStabilityList.Merge(m, src)
}
func (m *DeviceStabilityList) XXX_Size() int {
return xxx_messageInfo_DeviceStabilityList.Size(m)
}
func (m *DeviceStabilityList) XXX_DiscardUnknown() {
xxx_messageInfo_DeviceStabilityList.DiscardUnknown(m)
}
var xxx_messageInfo_DeviceStabilityList proto.InternalMessageInfo
func (m *DeviceStabilityList) GetValues() []*DeviceStability {
if m != nil {
return m.Values
}
return nil
}
func init() {
proto.RegisterEnum("chromiumos.test.dut.DeviceStability_Stability", DeviceStability_Stability_name, DeviceStability_Stability_value)
proto.RegisterType((*DeviceStability)(nil), "chromiumos.test.dut.DeviceStability")
proto.RegisterType((*DeviceStabilityList)(nil), "chromiumos.test.dut.DeviceStabilityList")
}
func init() {
proto.RegisterFile("chromiumos/test/dut/device_stability.proto", fileDescriptor_b7d5c11d7a1c4a4f)
}
var fileDescriptor_b7d5c11d7a1c4a4f = []byte{
// 288 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x51, 0x4b, 0xfb, 0x30,
0x14, 0xc5, 0xff, 0xdd, 0x1f, 0x8a, 0xcb, 0x86, 0xce, 0x0c, 0x61, 0xf8, 0x34, 0x8b, 0xe0, 0x10,
0x4c, 0x60, 0xbe, 0xee, 0xc5, 0x59, 0x1f, 0x86, 0xa5, 0x42, 0xbb, 0x21, 0xfa, 0x52, 0xd2, 0x36,
0xd6, 0x0b, 0xdb, 0x52, 0xd2, 0x9b, 0x81, 0x9f, 0xd7, 0x2f, 0x22, 0xdd, 0x6a, 0x2b, 0xc5, 0x07,
0xdf, 0x72, 0xc3, 0x39, 0xbf, 0x73, 0x72, 0x43, 0xae, 0x93, 0x77, 0xad, 0x36, 0x60, 0x36, 0xaa,
0xe0, 0x28, 0x0b, 0xe4, 0xa9, 0x41, 0x9e, 0xca, 0x1d, 0x24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