| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: chromiumos/config/api/device_brand.proto |
| |
| package api |
| |
| 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 |
| |
| // Defines device branding characteristics for each unique Chromium OS device |
| // brand. |
| type DeviceBrand struct { |
| // Globally unique device brand identifier. |
| Id *DeviceBrandId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| // Hardware design used for the given brand. |
| DesignId *DesignId `protobuf:"bytes,2,opt,name=design_id,json=designId,proto3" json:"design_id,omitempty"` |
| // OEM for the given device brand. |
| OemId *PartnerId `protobuf:"bytes,3,opt,name=oem_id,json=oemId,proto3" json:"oem_id,omitempty"` |
| // Brand code assigned and set during manufacturing. |
| BrandCode string `protobuf:"bytes,4,opt,name=brand_code,json=brandCode,proto3" json:"brand_code,omitempty"` |
| // Brand marketing name. |
| BrandName string `protobuf:"bytes,5,opt,name=brand_name,json=brandName,proto3" json:"brand_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeviceBrand) Reset() { *m = DeviceBrand{} } |
| func (m *DeviceBrand) String() string { return proto.CompactTextString(m) } |
| func (*DeviceBrand) ProtoMessage() {} |
| func (*DeviceBrand) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7f137b01aaa7111f, []int{0} |
| } |
| |
| func (m *DeviceBrand) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeviceBrand.Unmarshal(m, b) |
| } |
| func (m *DeviceBrand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeviceBrand.Marshal(b, m, deterministic) |
| } |
| func (m *DeviceBrand) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeviceBrand.Merge(m, src) |
| } |
| func (m *DeviceBrand) XXX_Size() int { |
| return xxx_messageInfo_DeviceBrand.Size(m) |
| } |
| func (m *DeviceBrand) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeviceBrand.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeviceBrand proto.InternalMessageInfo |
| |
| func (m *DeviceBrand) GetId() *DeviceBrandId { |
| if m != nil { |
| return m.Id |
| } |
| return nil |
| } |
| |
| func (m *DeviceBrand) GetDesignId() *DesignId { |
| if m != nil { |
| return m.DesignId |
| } |
| return nil |
| } |
| |
| func (m *DeviceBrand) GetOemId() *PartnerId { |
| if m != nil { |
| return m.OemId |
| } |
| return nil |
| } |
| |
| func (m *DeviceBrand) GetBrandCode() string { |
| if m != nil { |
| return m.BrandCode |
| } |
| return "" |
| } |
| |
| func (m *DeviceBrand) GetBrandName() string { |
| if m != nil { |
| return m.BrandName |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*DeviceBrand)(nil), "chromiumos.config.api.DeviceBrand") |
| } |
| |
| func init() { |
| proto.RegisterFile("chromiumos/config/api/device_brand.proto", fileDescriptor_7f137b01aaa7111f) |
| } |
| |
| var fileDescriptor_7f137b01aaa7111f = []byte{ |
| // 254 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4b, 0xc3, 0x40, |
| 0x10, 0x85, 0x49, 0xb4, 0xc5, 0x6c, 0x6f, 0x0b, 0x42, 0x28, 0x88, 0x41, 0x54, 0x82, 0xc2, 0x06, |
| 0x54, 0xf0, 0xe2, 0xa9, 0x7a, 0xc9, 0x45, 0x24, 0x47, 0x2f, 0x65, 0x9b, 0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