blob: 62dec92001ac7c5a5285ddb0532f2072cbfd5af5 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/machine-db/api/config/v1/platforms.proto
package config
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 platform to store in the database.
type Platform struct {
// The name of this platform. Must be unique.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A description of this platform.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// The name of the hardware manufacturer of this platform.
Manufacturer string `protobuf:"bytes,3,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Platform) Reset() { *m = Platform{} }
func (m *Platform) String() string { return proto.CompactTextString(m) }
func (*Platform) ProtoMessage() {}
func (*Platform) Descriptor() ([]byte, []int) {
return fileDescriptor_c2715c7520a49a12, []int{0}
}
func (m *Platform) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Platform.Unmarshal(m, b)
}
func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Platform.Marshal(b, m, deterministic)
}
func (m *Platform) XXX_Merge(src proto.Message) {
xxx_messageInfo_Platform.Merge(m, src)
}
func (m *Platform) XXX_Size() int {
return xxx_messageInfo_Platform.Size(m)
}
func (m *Platform) XXX_DiscardUnknown() {
xxx_messageInfo_Platform.DiscardUnknown(m)
}
var xxx_messageInfo_Platform proto.InternalMessageInfo
func (m *Platform) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Platform) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Platform) GetManufacturer() string {
if m != nil {
return m.Manufacturer
}
return ""
}
// A list of platforms.
type Platforms struct {
// A list of platforms.
Platform []*Platform `protobuf:"bytes,1,rep,name=platform,proto3" json:"platform,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Platforms) Reset() { *m = Platforms{} }
func (m *Platforms) String() string { return proto.CompactTextString(m) }
func (*Platforms) ProtoMessage() {}
func (*Platforms) Descriptor() ([]byte, []int) {
return fileDescriptor_c2715c7520a49a12, []int{1}
}
func (m *Platforms) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Platforms.Unmarshal(m, b)
}
func (m *Platforms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Platforms.Marshal(b, m, deterministic)
}
func (m *Platforms) XXX_Merge(src proto.Message) {
xxx_messageInfo_Platforms.Merge(m, src)
}
func (m *Platforms) XXX_Size() int {
return xxx_messageInfo_Platforms.Size(m)
}
func (m *Platforms) XXX_DiscardUnknown() {
xxx_messageInfo_Platforms.DiscardUnknown(m)
}
var xxx_messageInfo_Platforms proto.InternalMessageInfo
func (m *Platforms) GetPlatform() []*Platform {
if m != nil {
return m.Platform
}
return nil
}
func init() {
proto.RegisterType((*Platform)(nil), "config.Platform")
proto.RegisterType((*Platforms)(nil), "config.Platforms")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/machine-db/api/config/v1/platforms.proto", fileDescriptor_c2715c7520a49a12)
}
var fileDescriptor_c2715c7520a49a12 = []byte{
// 185 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8e, 0xb1, 0x0e, 0x82, 0x30,
0x14, 0x45, 0x83, 0x18, 0x02, 0xc5, 0xc1, 0x74, 0xea, 0x48, 0x98, 0x18, 0xb4, 0x8d, 0x3a, 0x39,
0xf8, 0x0f, 0x86, 0x3f, 0x28, 0xa5, 0x40, 0x13, 0xda, 0xd7, 0x94, 0xd6, 0xef, 0x37, 0x29, 0x62,
0x74, 0x7b, 0xb9, 0xe7, 0x24, 0xef, 0xa0, 0xc7, 0x08, 0x54, 0x4c, 0x0e, 0xb4, 0x0a, 0x9a, 0x82,
0x1b, 0xd9, 0x1c, 0x84, 0x62, 0x9a, 0x8b, 0x49, 0x19, 0x79, 0xee, 0x3b, 0xc6, 0xad, 0x62, 0x02,
0xcc, 0xa0, 0x46, 0xf6, 0xba, 0x30, 0x3b, 0x73, 0x3f, 0x80, 0xd3, 0x0b, 0xb5, 0x0e, 0x3c, 0xe0,
0x6c, 0x45, 0x75, 0x8f, 0xf2, 0xe7, 0x07, 0x61, 0x8c, 0xf6, 0x86, 0x6b, 0x49, 0x92, 0x2a, 0x69,
0x8a, 0x36, 0xde, 0xb8, 0x42, 0x65, 0x2f, 0x17, 0xe1, 0x94, 0xf5, 0x0a, 0x0c, 0xd9, 0x45, 0xf4,
0x3b, 0xe1, 0x1a, 0x1d, 0x34, 0x37, 0x61, 0xe0, 0xc2, 0x07, 0x27, 0x1d, 0x49, 0xa3, 0xf2, 0xb7,
0xd5, 0x77, 0x54, 0x6c, 0x5f, 0x16, 0x7c, 0x42, 0xf9, 0x56, 0x43, 0x92, 0x2a, 0x6d, 0xca, 0xeb,
0x91, 0xae, 0x35, 0x74, 0x93, 0xda, 0xaf, 0xd1, 0x65, 0xb1, 0xf7, 0xf6, 0x0e, 0x00, 0x00, 0xff,
0xff, 0x4c, 0x8b, 0x55, 0x3b, 0xf0, 0x00, 0x00, 0x00,
}