| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: chromiumos/config/api/mfg_config.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 |
| |
| // Contains 2 types of information related to an actual |
| // manufacturing production run of hardware. |
| // |
| // 1) Second sourced components used that do not affect system features. |
| // (If it affected system features then it belongs in HardwareTopology) |
| // 2) Data proscribed by Google for the target run that cannot change |
| // for a given piece of hardware. E.g. region code |
| type MfgConfig struct { |
| // Unique id scoped to a Design within a Platform. |
| Id *MfgConfigId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| // Name of 2nd sourced PCB Vendor. |
| PcbVendor string `protobuf:"bytes,2,opt,name=pcb_vendor,json=pcbVendor,proto3" json:"pcb_vendor,omitempty"` |
| // Ram part number. The characteristics are encoded in HardwareTopology. |
| RamPartNumber string `protobuf:"bytes,3,opt,name=ram_part_number,json=ramPartNumber,proto3" json:"ram_part_number,omitempty"` |
| // Defines the market region of the device. |
| // Region determines keyboard layout, language, and timezone. |
| // For valid region codes, see: |
| // https://storage.googleapis.com/chromeos-factory-docs/sdk/regions.html#available-regions |
| Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MfgConfig) Reset() { *m = MfgConfig{} } |
| func (m *MfgConfig) String() string { return proto.CompactTextString(m) } |
| func (*MfgConfig) ProtoMessage() {} |
| func (*MfgConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_92d7e5720cff67fd, []int{0} |
| } |
| |
| func (m *MfgConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MfgConfig.Unmarshal(m, b) |
| } |
| func (m *MfgConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MfgConfig.Marshal(b, m, deterministic) |
| } |
| func (m *MfgConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MfgConfig.Merge(m, src) |
| } |
| func (m *MfgConfig) XXX_Size() int { |
| return xxx_messageInfo_MfgConfig.Size(m) |
| } |
| func (m *MfgConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_MfgConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MfgConfig proto.InternalMessageInfo |
| |
| func (m *MfgConfig) GetId() *MfgConfigId { |
| if m != nil { |
| return m.Id |
| } |
| return nil |
| } |
| |
| func (m *MfgConfig) GetPcbVendor() string { |
| if m != nil { |
| return m.PcbVendor |
| } |
| return "" |
| } |
| |
| func (m *MfgConfig) GetRamPartNumber() string { |
| if m != nil { |
| return m.RamPartNumber |
| } |
| return "" |
| } |
| |
| func (m *MfgConfig) GetRegion() string { |
| if m != nil { |
| return m.Region |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*MfgConfig)(nil), "chromiumos.config.api.MfgConfig") |
| } |
| |
| func init() { |
| proto.RegisterFile("chromiumos/config/api/mfg_config.proto", fileDescriptor_92d7e5720cff67fd) |
| } |
| |
| var fileDescriptor_92d7e5720cff67fd = []byte{ |
| // 219 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x8f, 0xbd, 0x4a, 0x04, 0x31, |
| 0x10, 0xc7, 0xc9, 0x2a, 0x07, 0x1b, 0x11, 0x21, 0xa0, 0x04, 0x41, 0x38, 0xae, 0x38, 0x56, 0x8b, |
| 0x04, 0xce, 0x37, 0xd0, 0xca, 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