| // 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" |
| 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 |
| |
| // A list of test groups. |
| type TestGroups struct { |
| Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *TestGroups) Reset() { *m = TestGroups{} } |
| func (m *TestGroups) String() string { return proto.CompactTextString(m) } |
| func (*TestGroups) ProtoMessage() {} |
| func (*TestGroups) Descriptor() ([]byte, []int) { |
| return fileDescriptor_9aed450ade7161bc, []int{0} |
| } |
| |
| func (m *TestGroups) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_TestGroups.Unmarshal(m, b) |
| } |
| func (m *TestGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_TestGroups.Marshal(b, m, deterministic) |
| } |
| func (m *TestGroups) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_TestGroups.Merge(m, src) |
| } |
| func (m *TestGroups) XXX_Size() int { |
| return xxx_messageInfo_TestGroups.Size(m) |
| } |
| func (m *TestGroups) XXX_DiscardUnknown() { |
| xxx_messageInfo_TestGroups.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_TestGroups proto.InternalMessageInfo |
| |
| func (m *TestGroups) GetName() []string { |
| if m != nil { |
| return m.Name |
| } |
| return nil |
| } |
| |
| // 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"` |
| // Types that are valid to be assigned to CqTestWhen: |
| // *TestRestriction_CqOnlyTestGroup |
| // *TestRestriction_CqAlsoTestGroup |
| // *TestRestriction_CqOneofTestGroups |
| CqTestWhen isTestRestriction_CqTestWhen `protobuf_oneof:"CqTestWhen"` |
| 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{1} |
| } |
| |
| 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 |
| } |
| |
| type isTestRestriction_CqTestWhen interface { |
| isTestRestriction_CqTestWhen() |
| } |
| |
| type TestRestriction_CqOnlyTestGroup struct { |
| CqOnlyTestGroup string `protobuf:"bytes,7,opt,name=cq_only_test_group,json=cqOnlyTestGroup,proto3,oneof"` |
| } |
| |
| type TestRestriction_CqAlsoTestGroup struct { |
| CqAlsoTestGroup string `protobuf:"bytes,8,opt,name=cq_also_test_group,json=cqAlsoTestGroup,proto3,oneof"` |
| } |
| |
| type TestRestriction_CqOneofTestGroups struct { |
| CqOneofTestGroups *TestGroups `protobuf:"bytes,9,opt,name=cq_oneof_test_groups,json=cqOneofTestGroups,proto3,oneof"` |
| } |
| |
| func (*TestRestriction_CqOnlyTestGroup) isTestRestriction_CqTestWhen() {} |
| |
| func (*TestRestriction_CqAlsoTestGroup) isTestRestriction_CqTestWhen() {} |
| |
| func (*TestRestriction_CqOneofTestGroups) isTestRestriction_CqTestWhen() {} |
| |
| func (m *TestRestriction) GetCqTestWhen() isTestRestriction_CqTestWhen { |
| if m != nil { |
| return m.CqTestWhen |
| } |
| return nil |
| } |
| |
| func (m *TestRestriction) GetCqOnlyTestGroup() string { |
| if x, ok := m.GetCqTestWhen().(*TestRestriction_CqOnlyTestGroup); ok { |
| return x.CqOnlyTestGroup |
| } |
| return "" |
| } |
| |
| func (m *TestRestriction) GetCqAlsoTestGroup() string { |
| if x, ok := m.GetCqTestWhen().(*TestRestriction_CqAlsoTestGroup); ok { |
| return x.CqAlsoTestGroup |
| } |
| return "" |
| } |
| |
| func (m *TestRestriction) GetCqOneofTestGroups() *TestGroups { |
| if x, ok := m.GetCqTestWhen().(*TestRestriction_CqOneofTestGroups); ok { |
| return x.CqOneofTestGroups |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*TestRestriction) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*TestRestriction_CqOnlyTestGroup)(nil), |
| (*TestRestriction_CqAlsoTestGroup)(nil), |
| (*TestRestriction_CqOneofTestGroups)(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{2} |
| } |
| |
| 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{3} |
| } |
| |
| 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((*TestGroups)(nil), "testplans.TestGroups") |
| 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{ |
| // 440 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xc1, 0x6e, 0xd3, 0x40, |
| 0x10, 0x86, 0xeb, 0xd4, 0x6d, 0x9d, 0x4d, 0x45, 0x5c, 0x03, 0x91, 0x5b, 0x71, 0xb0, 0x22, 0x24, |
| 0x7c, 0xc1, 0x96, 0x12, 0x71, 0xe0, 0x48, 0x2b, 0x20, 0xca, 0x01, 0x90, 0x89, 0x40, 0xe2, 0x62, |
| 0xb9, 0x66, 0xec, 0x58, 0x5a, 0xef, 0x24, 0x3b, 0x1b, 0xaa, 0xf2, 0x3a, 0xbc, 0x16, 0x0f, 0x83, |
| 0xbc, 0x76, 0x6d, 0xa7, 0x28, 0x37, 0xcf, 0x3f, 0xdf, 0xec, 0x3f, 0x33, 0x1e, 0xf6, 0x4a, 0x01, |
| 0xa9, 0x0d, 0x4f, 0x04, 0x85, 0x84, 0x3b, 0x99, 0x42, 0xac, 0x24, 0x40, 0x5c, 0xa9, 0x71, 0x8a, |
| 0x22, 0x2b, 0xf2, 0x60, 0x23, 0x51, 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