| // 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. |
| // DEPRECATED: being replaced in favor of cq_only_test_builders. |
| OnlyTestBuildTargets []*chromiumos.BuildTarget `protobuf:"bytes,4,rep,name=only_test_build_targets,json=onlyTestBuildTargets,proto3" json:"only_test_build_targets,omitempty"` |
| // A subset of CQ builders for which testing should be performed. |
| // If this is nonempty, hw/vm tests will *only* be done for the provided |
| // list of build targets. |
| CqOnlyTestBuilders []*TestRestriction_OnlyTestBuilder `protobuf:"bytes,6,rep,name=cq_only_test_builders,json=cqOnlyTestBuilders,proto3" json:"cq_only_test_builders,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 |
| } |
| |
| func (m *TestRestriction) GetCqOnlyTestBuilders() []*TestRestriction_OnlyTestBuilder { |
| if m != nil { |
| return m.CqOnlyTestBuilders |
| } |
| return nil |
| } |
| |
| type TestRestriction_OnlyTestBuilder struct { |
| BuilderName string `protobuf:"bytes,1,opt,name=builder_name,json=builderName,proto3" json:"builder_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *TestRestriction_OnlyTestBuilder) Reset() { *m = TestRestriction_OnlyTestBuilder{} } |
| func (m *TestRestriction_OnlyTestBuilder) String() string { return proto.CompactTextString(m) } |
| func (*TestRestriction_OnlyTestBuilder) ProtoMessage() {} |
| func (*TestRestriction_OnlyTestBuilder) Descriptor() ([]byte, []int) { |
| return fileDescriptor_9aed450ade7161bc, []int{0, 0} |
| } |
| |
| func (m *TestRestriction_OnlyTestBuilder) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_TestRestriction_OnlyTestBuilder.Unmarshal(m, b) |
| } |
| func (m *TestRestriction_OnlyTestBuilder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_TestRestriction_OnlyTestBuilder.Marshal(b, m, deterministic) |
| } |
| func (m *TestRestriction_OnlyTestBuilder) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_TestRestriction_OnlyTestBuilder.Merge(m, src) |
| } |
| func (m *TestRestriction_OnlyTestBuilder) XXX_Size() int { |
| return xxx_messageInfo_TestRestriction_OnlyTestBuilder.Size(m) |
| } |
| func (m *TestRestriction_OnlyTestBuilder) XXX_DiscardUnknown() { |
| xxx_messageInfo_TestRestriction_OnlyTestBuilder.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_TestRestriction_OnlyTestBuilder proto.InternalMessageInfo |
| |
| func (m *TestRestriction_OnlyTestBuilder) GetBuilderName() string { |
| if m != nil { |
| return m.BuilderName |
| } |
| return "" |
| } |
| |
| // 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((*TestRestriction_OnlyTestBuilder)(nil), "testplans.TestRestriction.OnlyTestBuilder") |
| 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{ |
| // 421 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0x6f, 0xd3, 0x30, |
| 0x14, 0xc7, 0x95, 0x6e, 0x4c, 0x9b, 0x3b, 0xd1, 0x12, 0xa0, 0xed, 0x22, 0x0e, 0xa3, 0x42, 0xa2, |
| 0xe2, 0x90, 0x48, 0x2b, 0x1c, 0xb8, 0x0e, 0x81, 0x10, 0x87, 0x82, 0x4c, 0xc4, 0x01, 0x09, 0x59, |
| 0x6e, 0xf6, 0x92, 0x59, 0x8a, 0xed, 0xce, 0xcf, 0xa5, 0x82, 0x7f, 0x87, 0x3f, 0x14, 0x14, 0x27, |
| 0x24, 0x6e, 0xa6, 0x1e, 0xfd, 0x7d, 0x9f, 0xf7, 0x7d, 0x7e, 0x3f, 0xc8, 0x4b, 0x0b, 0x68, 0x37, |
| 0x25, 0x57, 0x98, 0xa0, 0xde, 0x9a, 0x0c, 0x98, 0x35, 0x00, 0xac, 0x52, 0x59, 0xa6, 0x55, 0x2e, |
| 0x8a, 0x78, 0x63, 0xb4, 0xd5, 0xe1, 0x59, 0x0b, 0x46, 0xd3, 0xec, 0xd6, 0x68, 0x29, 0xb6, 0x52, |
| 0x63, 0x92, 0x69, 0x29, 0xb5, 0xaa, 0x99, 0x68, 0xd2, 0x99, 0xf9, 0xfa, 0xfc, 0xef, 0x80, 0x8c, |
| 0x52, 0x40, 0x4b, 0x01, 0xad, 0x11, 0x99, 0x15, 0x5a, 0x85, 0x0b, 0x32, 0xbe, 0x11, 0xc8, 0xd7, |
| 0x25, 0xb0, 0xdb, 0x9d, 0xab, 0x87, 0xb3, 0xe0, 0x32, 0x58, 0x9c, 0xd2, 0x87, 0x8d, 0xfe, 0x71, |
| 0x57, 0xe5, 0xa0, 0x4f, 0xfe, 0x94, 0x0d, 0x79,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