| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: testplans/board_priorities.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 |
| |
| // Configures how different groups of DUTs are chosen during test planning. |
| // Often different test plans can satisfy a test requirement, these priorities |
| // are used to choose a plan. Usually based off factors such as DUT |
| // availability. |
| type BoardPriority struct { |
| // Key to identify a group of DUTs. Must align with keys used as |
| // HwTest.skylab_board, see that field for more detailed definition of this |
| // field. |
| SkylabBoard string `protobuf:"bytes,1,opt,name=skylab_board,json=skylabBoard,proto3" json:"skylab_board,omitempty"` |
| // Relative preference for a board. A board with a lower priority will be |
| // chosen over a board with a higher priority. Priorities may be negative. |
| // If a board does not have a BoardPriority, it is implicitly 0. |
| Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BoardPriority) Reset() { *m = BoardPriority{} } |
| func (m *BoardPriority) String() string { return proto.CompactTextString(m) } |
| func (*BoardPriority) ProtoMessage() {} |
| func (*BoardPriority) Descriptor() ([]byte, []int) { |
| return fileDescriptor_2dc39663516a5d31, []int{0} |
| } |
| |
| func (m *BoardPriority) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BoardPriority.Unmarshal(m, b) |
| } |
| func (m *BoardPriority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BoardPriority.Marshal(b, m, deterministic) |
| } |
| func (m *BoardPriority) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BoardPriority.Merge(m, src) |
| } |
| func (m *BoardPriority) XXX_Size() int { |
| return xxx_messageInfo_BoardPriority.Size(m) |
| } |
| func (m *BoardPriority) XXX_DiscardUnknown() { |
| xxx_messageInfo_BoardPriority.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BoardPriority proto.InternalMessageInfo |
| |
| func (m *BoardPriority) GetSkylabBoard() string { |
| if m != nil { |
| return m.SkylabBoard |
| } |
| return "" |
| } |
| |
| func (m *BoardPriority) GetPriority() int32 { |
| if m != nil { |
| return m.Priority |
| } |
| return 0 |
| } |
| |
| type BoardPriorityList struct { |
| BoardPriorities []*BoardPriority `protobuf:"bytes,1,rep,name=board_priorities,json=boardPriorities,proto3" json:"board_priorities,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BoardPriorityList) Reset() { *m = BoardPriorityList{} } |
| func (m *BoardPriorityList) String() string { return proto.CompactTextString(m) } |
| func (*BoardPriorityList) ProtoMessage() {} |
| func (*BoardPriorityList) Descriptor() ([]byte, []int) { |
| return fileDescriptor_2dc39663516a5d31, []int{1} |
| } |
| |
| func (m *BoardPriorityList) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BoardPriorityList.Unmarshal(m, b) |
| } |
| func (m *BoardPriorityList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BoardPriorityList.Marshal(b, m, deterministic) |
| } |
| func (m *BoardPriorityList) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BoardPriorityList.Merge(m, src) |
| } |
| func (m *BoardPriorityList) XXX_Size() int { |
| return xxx_messageInfo_BoardPriorityList.Size(m) |
| } |
| func (m *BoardPriorityList) XXX_DiscardUnknown() { |
| xxx_messageInfo_BoardPriorityList.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BoardPriorityList proto.InternalMessageInfo |
| |
| func (m *BoardPriorityList) GetBoardPriorities() []*BoardPriority { |
| if m != nil { |
| return m.BoardPriorities |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*BoardPriority)(nil), "testplans.BoardPriority") |
| proto.RegisterType((*BoardPriorityList)(nil), "testplans.BoardPriorityList") |
| } |
| |
| func init() { proto.RegisterFile("testplans/board_priorities.proto", fileDescriptor_2dc39663516a5d31) } |
| |
| var fileDescriptor_2dc39663516a5d31 = []byte{ |
| // 197 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x28, 0x49, 0x2d, 0x2e, |
| 0x29, 0xc8, 0x49, 0xcc, 0x2b, 0xd6, 0x4f, 0xca, 0x4f, 0x2c, 0x4a, 0x89, 0x2f, 0x28, 0xca, 0xcc, |
| 0x2f, 0xca, 0x2c, 0xc9, 0x4c, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x84, 0xab, |
| 0x50, 0xf2, 0xe3, 0xe2, 0x75, 0x02, 0x29, 0x0a, 0x80, 0xa8, 0xa9, 0x14, 0x52, 0xe4, 0xe2, 0x29, |
| 0xce, 0xae, 0xcc, 0x49, 0x4c, 0x8a, 0x07, 0x6b, 0x96, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0xe2, |
| 0x86, 0x88, 0x81, 0x95, 0x0a, 0x49, 0x71, 0x71, 0x40, 0x8d, 0xac, 0x94, 0x60, 0x52, 0x60, 0xd4, |
| 0x60, 0x0d, 0x82, 0xf3, 0x95, 0x22, 0xb8, 0x04, 0x51, 0xcc, 0xf3, 0xc9, 0x2c, 0x2e, 0x11, 0x72, |
| 0xe6, 0x12, 0x40, 0x77, 0x89, 0x04, 0xa3, 0x02, 0xb3, 0x06, 0xb7, 0x91, 0x84, 0x1e, 0xdc, 0x29, |
| 0x7a, 0x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