blob: 7f7562b4a6b16918ea9709c3fabcfb85e6d6a6e7 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: chromiumos/test/lab/api/dut.proto
package api
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
api "go.chromium.org/chromiumos/config/go/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
// Specification of Device Under Test.
type Dut struct {
Id *Dut_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Types that are valid to be assigned to DutType:
// *Dut_Chromeos
// *Dut_Android_
DutType isDut_DutType `protobuf_oneof:"dut_type"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Dut) Reset() { *m = Dut{} }
func (m *Dut) String() string { return proto.CompactTextString(m) }
func (*Dut) ProtoMessage() {}
func (*Dut) Descriptor() ([]byte, []int) {
return fileDescriptor_675cb56828cc6988, []int{0}
}
func (m *Dut) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Dut.Unmarshal(m, b)
}
func (m *Dut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Dut.Marshal(b, m, deterministic)
}
func (m *Dut) XXX_Merge(src proto.Message) {
xxx_messageInfo_Dut.Merge(m, src)
}
func (m *Dut) XXX_Size() int {
return xxx_messageInfo_Dut.Size(m)
}
func (m *Dut) XXX_DiscardUnknown() {
xxx_messageInfo_Dut.DiscardUnknown(m)
}
var xxx_messageInfo_Dut proto.InternalMessageInfo
func (m *Dut) GetId() *Dut_Id {
if m != nil {
return m.Id
}
return nil
}
type isDut_DutType interface {
isDut_DutType()
}
type Dut_Chromeos struct {
Chromeos *Dut_ChromeOS `protobuf:"bytes,2,opt,name=chromeos,proto3,oneof"`
}
type Dut_Android_ struct {
Android *Dut_Android `protobuf:"bytes,3,opt,name=android,proto3,oneof"`
}
func (*Dut_Chromeos) isDut_DutType() {}
func (*Dut_Android_) isDut_DutType() {}
func (m *Dut) GetDutType() isDut_DutType {
if m != nil {
return m.DutType
}
return nil
}
func (m *Dut) GetChromeos() *Dut_ChromeOS {
if x, ok := m.GetDutType().(*Dut_Chromeos); ok {
return x.Chromeos
}
return nil
}
func (m *Dut) GetAndroid() *Dut_Android {
if x, ok := m.GetDutType().(*Dut_Android_); ok {
return x.Android
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Dut) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Dut_Chromeos)(nil),
(*Dut_Android_)(nil),
}
}
// Unique identifier for the lab device.
type Dut_Id struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Dut_Id) Reset() { *m = Dut_Id{} }
func (m *Dut_Id) String() string { return proto.CompactTextString(m) }
func (*Dut_Id) ProtoMessage() {}
func (*Dut_Id) Descriptor() ([]byte, []int) {
return fileDescriptor_675cb56828cc6988, []int{0, 0}
}
func (m *Dut_Id) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Dut_Id.Unmarshal(m, b)
}
func (m *Dut_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Dut_Id.Marshal(b, m, deterministic)
}
func (m *Dut_Id) XXX_Merge(src proto.Message) {
xxx_messageInfo_Dut_Id.Merge(m, src)
}
func (m *Dut_Id) XXX_Size() int {
return xxx_messageInfo_Dut_Id.Size(m)
}
func (m *Dut_Id) XXX_DiscardUnknown() {
xxx_messageInfo_Dut_Id.DiscardUnknown(m)
}
var xxx_messageInfo_Dut_Id proto.InternalMessageInfo
func (m *Dut_Id) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
// Chrome OS specific DUT details
type Dut_ChromeOS struct {
// Manufacturing hardware design/component details for a given device
MfgConfig *api.MfgConfig `protobuf:"bytes,1,opt,name=mfg_config,json=mfgConfig,proto3" json:"mfg_config,omitempty"`
// Endpoint for ssh service running on the device
Ssh *IpEndpoint `protobuf:"bytes,2,opt,name=ssh,proto3" json:"ssh,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Dut_ChromeOS) Reset() { *m = Dut_ChromeOS{} }
func (m *Dut_ChromeOS) String() string { return proto.CompactTextString(m) }
func (*Dut_ChromeOS) ProtoMessage() {}
func (*Dut_ChromeOS) Descriptor() ([]byte, []int) {
return fileDescriptor_675cb56828cc6988, []int{0, 1}
}
func (m *Dut_ChromeOS) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Dut_ChromeOS.Unmarshal(m, b)
}
func (m *Dut_ChromeOS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Dut_ChromeOS.Marshal(b, m, deterministic)
}
func (m *Dut_ChromeOS) XXX_Merge(src proto.Message) {
xxx_messageInfo_Dut_ChromeOS.Merge(m, src)
}
func (m *Dut_ChromeOS) XXX_Size() int {
return xxx_messageInfo_Dut_ChromeOS.Size(m)
}
func (m *Dut_ChromeOS) XXX_DiscardUnknown() {
xxx_messageInfo_Dut_ChromeOS.DiscardUnknown(m)
}
var xxx_messageInfo_Dut_ChromeOS proto.InternalMessageInfo
func (m *Dut_ChromeOS) GetMfgConfig() *api.MfgConfig {
if m != nil {
return m.MfgConfig
}
return nil
}
func (m *Dut_ChromeOS) GetSsh() *IpEndpoint {
if m != nil {
return m.Ssh
}
return nil
}
// Android specific DUT details
type Dut_Android struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Dut_Android) Reset() { *m = Dut_Android{} }
func (m *Dut_Android) String() string { return proto.CompactTextString(m) }
func (*Dut_Android) ProtoMessage() {}
func (*Dut_Android) Descriptor() ([]byte, []int) {
return fileDescriptor_675cb56828cc6988, []int{0, 2}
}
func (m *Dut_Android) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Dut_Android.Unmarshal(m, b)
}
func (m *Dut_Android) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Dut_Android.Marshal(b, m, deterministic)
}
func (m *Dut_Android) XXX_Merge(src proto.Message) {
xxx_messageInfo_Dut_Android.Merge(m, src)
}
func (m *Dut_Android) XXX_Size() int {
return xxx_messageInfo_Dut_Android.Size(m)
}
func (m *Dut_Android) XXX_DiscardUnknown() {
xxx_messageInfo_Dut_Android.DiscardUnknown(m)
}
var xxx_messageInfo_Dut_Android proto.InternalMessageInfo
// Defines the testing topology for a given device under test
type DutTopology struct {
// Primary device under test in the topology
Dut *Dut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
// Secondary devices used for peer-to-peer testing.
PeerDuts []*Dut `protobuf:"bytes,2,rep,name=peer_duts,json=peerDuts,proto3" json:"peer_duts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DutTopology) Reset() { *m = DutTopology{} }
func (m *DutTopology) String() string { return proto.CompactTextString(m) }
func (*DutTopology) ProtoMessage() {}
func (*DutTopology) Descriptor() ([]byte, []int) {
return fileDescriptor_675cb56828cc6988, []int{1}
}
func (m *DutTopology) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DutTopology.Unmarshal(m, b)
}
func (m *DutTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DutTopology.Marshal(b, m, deterministic)
}
func (m *DutTopology) XXX_Merge(src proto.Message) {
xxx_messageInfo_DutTopology.Merge(m, src)
}
func (m *DutTopology) XXX_Size() int {
return xxx_messageInfo_DutTopology.Size(m)
}
func (m *DutTopology) XXX_DiscardUnknown() {
xxx_messageInfo_DutTopology.DiscardUnknown(m)
}
var xxx_messageInfo_DutTopology proto.InternalMessageInfo
func (m *DutTopology) GetDut() *Dut {
if m != nil {
return m.Dut
}
return nil
}
func (m *DutTopology) GetPeerDuts() []*Dut {
if m != nil {
return m.PeerDuts
}
return nil
}
func init() {
proto.RegisterType((*Dut)(nil), "chromiumos.test.lab.api.Dut")
proto.RegisterType((*Dut_Id)(nil), "chromiumos.test.lab.api.Dut.Id")
proto.RegisterType((*Dut_ChromeOS)(nil), "chromiumos.test.lab.api.Dut.ChromeOS")
proto.RegisterType((*Dut_Android)(nil), "chromiumos.test.lab.api.Dut.Android")
proto.RegisterType((*DutTopology)(nil), "chromiumos.test.lab.api.DutTopology")
}
func init() { proto.RegisterFile("chromiumos/test/lab/api/dut.proto", fileDescriptor_675cb56828cc6988) }
var fileDescriptor_675cb56828cc6988 = []byte{
// 354 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x4b, 0xc3, 0x40,
0x10, 0xc5, 0xdb, 0x04, 0x6d, 0x32, 0xbd, 0x2d, 0x82, 0x25, 0x08, 0xd6, 0xfa, 0x81, 0x5e, 0x36,
0x68, 0xf1, 0xe0, 0x49, 0x6d, 0x23, 0xb4, 0x07, 0x11, 0xa2, 0x27, 0x2f, 0x21, 0xed, 0xa6, 0xe9,
0x42, 0x92, 0x59, 0x92, 0x5d, 0xb1, 0x57, 0xff, 0x67, 0xef, 0x92, 0x4d, 0xfa, 0x21, 0xd2, 0x7a,
0xdb, 0x85, 0xdf, 0x9b, 0xf7, 0xe6, 0x31, 0x70, 0x32, 0x9d, 0xe7, 0x98, 0x72, 0x95, 0x62, 0xe1,
0xca, 0xa8, 0x90, 0x6e, 0x12, 0x4e, 0xdc, 0x50, 0x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