blob: 77cfd425fd1e8b1e27596376f31d7e47a548c4ac [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test_platform/phosphorus/runtest.proto
package phosphorus
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
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
// RunTestRequest defines the input of `phosphorus runtest`.
type RunTestRequest struct {
Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// A test may use more than one DUT at once.
DutHostnames []string `protobuf:"bytes,2,rep,name=dut_hostnames,json=dutHostnames,proto3" json:"dut_hostnames,omitempty"`
// Types that are valid to be assigned to Test:
// *RunTestRequest_Autotest_
Test isRunTestRequest_Test `protobuf_oneof:"test"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RunTestRequest) Reset() { *m = RunTestRequest{} }
func (m *RunTestRequest) String() string { return proto.CompactTextString(m) }
func (*RunTestRequest) ProtoMessage() {}
func (*RunTestRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_c8a06e1d821d63d9, []int{0}
}
func (m *RunTestRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RunTestRequest.Unmarshal(m, b)
}
func (m *RunTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RunTestRequest.Marshal(b, m, deterministic)
}
func (m *RunTestRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RunTestRequest.Merge(m, src)
}
func (m *RunTestRequest) XXX_Size() int {
return xxx_messageInfo_RunTestRequest.Size(m)
}
func (m *RunTestRequest) XXX_DiscardUnknown() {
xxx_messageInfo_RunTestRequest.DiscardUnknown(m)
}
var xxx_messageInfo_RunTestRequest proto.InternalMessageInfo
func (m *RunTestRequest) GetConfig() *Config {
if m != nil {
return m.Config
}
return nil
}
func (m *RunTestRequest) GetDutHostnames() []string {
if m != nil {
return m.DutHostnames
}
return nil
}
type isRunTestRequest_Test interface {
isRunTestRequest_Test()
}
type RunTestRequest_Autotest_ struct {
Autotest *RunTestRequest_Autotest `protobuf:"bytes,3,opt,name=autotest,proto3,oneof"`
}
func (*RunTestRequest_Autotest_) isRunTestRequest_Test() {}
func (m *RunTestRequest) GetTest() isRunTestRequest_Test {
if m != nil {
return m.Test
}
return nil
}
func (m *RunTestRequest) GetAutotest() *RunTestRequest_Autotest {
if x, ok := m.GetTest().(*RunTestRequest_Autotest_); ok {
return x.Autotest
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*RunTestRequest) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*RunTestRequest_Autotest_)(nil),
}
}
// Autotest describes the DUT-agnostic parameters of an autotest test run.
type RunTestRequest_Autotest struct {
// Test name as given in the control file.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Args to pass into the test run (meaning depends on the test).
TestArgs string `protobuf:"bytes,2,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`
// Name to be used to display this test's output artifacts, e.g. logs,
// results etc. By default display_name is the same as name.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// True for client-side tests, false for server-side tests.
IsClientTest bool `protobuf:"varint,4,opt,name=is_client_test,json=isClientTest,proto3" json:"is_client_test,omitempty"`
// Key:value pairs added to the autoserv command.
Keyvals map[string]string `protobuf:"bytes,5,rep,name=keyvals,proto3" json:"keyvals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RunTestRequest_Autotest) Reset() { *m = RunTestRequest_Autotest{} }
func (m *RunTestRequest_Autotest) String() string { return proto.CompactTextString(m) }
func (*RunTestRequest_Autotest) ProtoMessage() {}
func (*RunTestRequest_Autotest) Descriptor() ([]byte, []int) {
return fileDescriptor_c8a06e1d821d63d9, []int{0, 0}
}
func (m *RunTestRequest_Autotest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RunTestRequest_Autotest.Unmarshal(m, b)
}
func (m *RunTestRequest_Autotest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RunTestRequest_Autotest.Marshal(b, m, deterministic)
}
func (m *RunTestRequest_Autotest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RunTestRequest_Autotest.Merge(m, src)
}
func (m *RunTestRequest_Autotest) XXX_Size() int {
return xxx_messageInfo_RunTestRequest_Autotest.Size(m)
}
func (m *RunTestRequest_Autotest) XXX_DiscardUnknown() {
xxx_messageInfo_RunTestRequest_Autotest.DiscardUnknown(m)
}
var xxx_messageInfo_RunTestRequest_Autotest proto.InternalMessageInfo
func (m *RunTestRequest_Autotest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *RunTestRequest_Autotest) GetTestArgs() string {
if m != nil {
return m.TestArgs
}
return ""
}
func (m *RunTestRequest_Autotest) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func (m *RunTestRequest_Autotest) GetIsClientTest() bool {
if m != nil {
return m.IsClientTest
}
return false
}
func (m *RunTestRequest_Autotest) GetKeyvals() map[string]string {
if m != nil {
return m.Keyvals
}
return nil
}
func init() {
proto.RegisterType((*RunTestRequest)(nil), "test_platform.phosphorus.RunTestRequest")
proto.RegisterType((*RunTestRequest_Autotest)(nil), "test_platform.phosphorus.RunTestRequest.Autotest")
proto.RegisterMapType((map[string]string)(nil), "test_platform.phosphorus.RunTestRequest.Autotest.KeyvalsEntry")
}
func init() {
proto.RegisterFile("test_platform/phosphorus/runtest.proto", fileDescriptor_c8a06e1d821d63d9)
}
var fileDescriptor_c8a06e1d821d63d9 = []byte{
// 378 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xcd, 0x8a, 0xdb, 0x30,
0x18, 0xac, 0xe3, 0x24, 0x75, 0x14, 0x37, 0x14, 0xd1, 0x83, 0x49, 0x2f, 0xee, 0x2f, 0x3e, 0xc9,
0x34, 0xbd, 0x84, 0x1c, 0x0a, 0x49, 0x5a, 0x08, 0x14, 0x5a, 0x10, 0x7b, 0x58, 0xf6, 0x62, 0xb4,
0x8e, 0x62, 0x9b, 0xd8, 0x92, 0x57, 0x3f, 0x01, 0xbf, 0xca, 0xbe, 0xdf, 0xbe, 0xc7, 0x22, 0xc5,
0xde, 0xdd, 0x1c, 0x7c, 0xd8, 0x9b, 0x34, 0x33, 0xdf, 0xcc, 0x7c, 0xf0, 0x81, 0xef, 0x8a, 0x4a,
0x95, 0xd4, 0x25, 0x51, 0x07, 0x2e, 0xaa, 0xb8, 0xce, 0xb9, 0xac, 0x73, 0x2e, 0xb4, 0x8c, 0x85,
0x66, 0x86, 0x43, 0xb5, 0xe0, 0x8a, 0xc3, 0xe0, 0x42, 0x87, 0x9e, 0x75, 0xf3, 0x6f, 0xbd, 0x0e,
0x29, 0xaf, 0x2a, 0xce, 0xce, 0x06, 0x9f, 0x1f, 0x5c, 0x30, 0xc3, 0x9a, 0x5d, 0x51, 0xa9, 0x30,
0xbd, 0xd3, 0x54, 0x2a, 0xb8, 0x04, 0xe3, 0x94, 0xb3, 0x43, 0x91, 0x05, 0x4e, 0xe8, 0x44, 0xd3,
0x45, 0x88, 0xfa, 0x42, 0xd0, 0xd6, 0xea, 0x70, 0xab, 0x87, 0x5f, 0xc0, 0xbb, 0xbd, 0x56, 0x49,
0xce, 0xa5, 0x62, 0xa4, 0xa2, 0x32, 0x18, 0x84, 0x6e, 0x34, 0xc1, 0xfe, 0x5e, 0xab, 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