blob: 479644a180571bd43492ff0cebd2b3a71ff09515 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: testplans/source_tree_test_config.proto
package testplans
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
chromiumos "go.chromium.org/chromiumos/infra/proto/go/chromiumos"
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
// Testing restrictions to apply to a source tree.
type TestRestriction struct {
// Whether to disable hardware test suites.
DisableHwTests bool `protobuf:"varint,1,opt,name=disable_hw_tests,json=disableHwTests,proto3" json:"disable_hw_tests,omitempty"`
// Whether to disable virtual machine test suites.
DisableVmTests bool `protobuf:"varint,3,opt,name=disable_vm_tests,json=disableVmTests,proto3" json:"disable_vm_tests,omitempty"`
// Whether to disable non-Tast-based test suites.
DisableNonTastTests bool `protobuf:"varint,5,opt,name=disable_non_tast_tests,json=disableNonTastTests,proto3" json:"disable_non_tast_tests,omitempty"`
// A subset of build targets for which testing should be performed.
// If this is nonempty, hw/vm tests will *only* be done for the provided
// list of build targets.
OnlyTestBuildTargets []*chromiumos.BuildTarget `protobuf:"bytes,4,rep,name=only_test_build_targets,json=onlyTestBuildTargets,proto3" json:"only_test_build_targets,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TestRestriction) Reset() { *m = TestRestriction{} }
func (m *TestRestriction) String() string { return proto.CompactTextString(m) }
func (*TestRestriction) ProtoMessage() {}
func (*TestRestriction) Descriptor() ([]byte, []int) {
return fileDescriptor_9aed450ade7161bc, []int{0}
}
func (m *TestRestriction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TestRestriction.Unmarshal(m, b)
}
func (m *TestRestriction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TestRestriction.Marshal(b, m, deterministic)
}
func (m *TestRestriction) XXX_Merge(src proto.Message) {
xxx_messageInfo_TestRestriction.Merge(m, src)
}
func (m *TestRestriction) XXX_Size() int {
return xxx_messageInfo_TestRestriction.Size(m)
}
func (m *TestRestriction) XXX_DiscardUnknown() {
xxx_messageInfo_TestRestriction.DiscardUnknown(m)
}
var xxx_messageInfo_TestRestriction proto.InternalMessageInfo
func (m *TestRestriction) GetDisableHwTests() bool {
if m != nil {
return m.DisableHwTests
}
return false
}
func (m *TestRestriction) GetDisableVmTests() bool {
if m != nil {
return m.DisableVmTests
}
return false
}
func (m *TestRestriction) GetDisableNonTastTests() bool {
if m != nil {
return m.DisableNonTastTests
}
return false
}
func (m *TestRestriction) GetOnlyTestBuildTargets() []*chromiumos.BuildTarget {
if m != nil {
return m.OnlyTestBuildTargets
}
return nil
}
// A set of test restrictions for a source tree.
type SourceTreeTestRestriction struct {
// A file pattern, representing a segment of Chrome OS code.
FilePattern *FilePattern `protobuf:"bytes,3,opt,name=file_pattern,json=filePattern,proto3" json:"file_pattern,omitempty"`
// The test restrictions to apply to the source tree.
TestRestriction *TestRestriction `protobuf:"bytes,2,opt,name=test_restriction,json=testRestriction,proto3" json:"test_restriction,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SourceTreeTestRestriction) Reset() { *m = SourceTreeTestRestriction{} }
func (m *SourceTreeTestRestriction) String() string { return proto.CompactTextString(m) }
func (*SourceTreeTestRestriction) ProtoMessage() {}
func (*SourceTreeTestRestriction) Descriptor() ([]byte, []int) {
return fileDescriptor_9aed450ade7161bc, []int{1}
}
func (m *SourceTreeTestRestriction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SourceTreeTestRestriction.Unmarshal(m, b)
}
func (m *SourceTreeTestRestriction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SourceTreeTestRestriction.Marshal(b, m, deterministic)
}
func (m *SourceTreeTestRestriction) XXX_Merge(src proto.Message) {
xxx_messageInfo_SourceTreeTestRestriction.Merge(m, src)
}
func (m *SourceTreeTestRestriction) XXX_Size() int {
return xxx_messageInfo_SourceTreeTestRestriction.Size(m)
}
func (m *SourceTreeTestRestriction) XXX_DiscardUnknown() {
xxx_messageInfo_SourceTreeTestRestriction.DiscardUnknown(m)
}
var xxx_messageInfo_SourceTreeTestRestriction proto.InternalMessageInfo
func (m *SourceTreeTestRestriction) GetFilePattern() *FilePattern {
if m != nil {
return m.FilePattern
}
return nil
}
func (m *SourceTreeTestRestriction) GetTestRestriction() *TestRestriction {
if m != nil {
return m.TestRestriction
}
return nil
}
// Configures test restrictions for all relevant source trees.
// This is the root message.
type SourceTreeTestCfg struct {
// (Source tree, test restriction) pairs.
SourceTreeTestRestriction []*SourceTreeTestRestriction `protobuf:"bytes,1,rep,name=source_tree_test_restriction,json=sourceTreeTestRestriction,proto3" json:"source_tree_test_restriction,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SourceTreeTestCfg) Reset() { *m = SourceTreeTestCfg{} }
func (m *SourceTreeTestCfg) String() string { return proto.CompactTextString(m) }
func (*SourceTreeTestCfg) ProtoMessage() {}
func (*SourceTreeTestCfg) Descriptor() ([]byte, []int) {
return fileDescriptor_9aed450ade7161bc, []int{2}
}
func (m *SourceTreeTestCfg) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SourceTreeTestCfg.Unmarshal(m, b)
}
func (m *SourceTreeTestCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SourceTreeTestCfg.Marshal(b, m, deterministic)
}
func (m *SourceTreeTestCfg) XXX_Merge(src proto.Message) {
xxx_messageInfo_SourceTreeTestCfg.Merge(m, src)
}
func (m *SourceTreeTestCfg) XXX_Size() int {
return xxx_messageInfo_SourceTreeTestCfg.Size(m)
}
func (m *SourceTreeTestCfg) XXX_DiscardUnknown() {
xxx_messageInfo_SourceTreeTestCfg.DiscardUnknown(m)
}
var xxx_messageInfo_SourceTreeTestCfg proto.InternalMessageInfo
func (m *SourceTreeTestCfg) GetSourceTreeTestRestriction() []*SourceTreeTestRestriction {
if m != nil {
return m.SourceTreeTestRestriction
}
return nil
}
func init() {
proto.RegisterType((*TestRestriction)(nil), "testplans.TestRestriction")
proto.RegisterType((*SourceTreeTestRestriction)(nil), "testplans.SourceTreeTestRestriction")
proto.RegisterType((*SourceTreeTestCfg)(nil), "testplans.SourceTreeTestCfg")
}
func init() {
proto.RegisterFile("testplans/source_tree_test_config.proto", fileDescriptor_9aed450ade7161bc)
}
var fileDescriptor_9aed450ade7161bc = []byte{
// 368 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x4f, 0x4b, 0xf3, 0x40,
0x10, 0xc6, 0x49, 0xdb, 0xf7, 0xa5, 0xef, 0xf6, 0xc5, 0xd6, 0x28, 0xfd, 0x87, 0x87, 0x52, 0x04,
0x7b, 0x4a, 0xa0, 0xc5, 0x83, 0xd7, 0x8a, 0x22, 0x1e, 0x8a, 0xc4, 0xe0, 0xc1, 0x4b, 0x48, 0xd3,
0x4d, 0xba, 0x90, 0xec, 0x94, 0x9d, 0xa9, 0x45, 0xbf, 0x8e, 0xdf, 0xce, 0x4f, 0x21, 0xd9, 0xc4,
0x24, 0xad, 0xf4, 0xb8, 0xcf, 0xfc, 0x66, 0x9e, 0x7d, 0x86, 0x61, 0x57, 0xc4, 0x91, 0x36, 0xb1,
0x2f, 0xd1, 0x46, 0xd8, 0xaa, 0x80, 0x7b, 0xa4, 0x38, 0xf7, 0x52, 0xd5, 0x0b, 0x40, 0x86, 0x22,
0xb2, 0x36, 0x0a, 0x08, 0xcc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