| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: build/build_config.proto |
| |
| package build_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 single ChromeOS Config payload. |
| // |
| // The generated ChromeOS Config JSON uses "-", which is not valid in a proto |
| // field name. Use json_name, so the JSON can be parsed directly into / out of |
| // this proto. |
| type ChromeOSConfig struct { |
| Identity *ChromeOSConfig_Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` |
| Arc *ChromeOSConfig_Arc `protobuf:"bytes,2,opt,name=arc,proto3" json:"arc,omitempty"` |
| Firmware *ChromeOSConfig_Firmware `protobuf:"bytes,3,opt,name=firmware,proto3" json:"firmware,omitempty"` |
| FirmwareSigning *ChromeOSConfig_FirmwareSigning `protobuf:"bytes,4,opt,name=firmware_signing,json=firmware-signing,proto3" json:"firmware_signing,omitempty"` |
| // Unique name for the given model. |
| Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` |
| // Brand code of the model (also called RLZ code). |
| BrandCode string `protobuf:"bytes,6,opt,name=brand_code,json=brand-code,proto3" json:"brand_code,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ChromeOSConfig) Reset() { *m = ChromeOSConfig{} } |
| func (m *ChromeOSConfig) String() string { return proto.CompactTextString(m) } |
| func (*ChromeOSConfig) ProtoMessage() {} |
| func (*ChromeOSConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_966966d4820ace27, []int{0} |
| } |
| |
| func (m *ChromeOSConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ChromeOSConfig.Unmarshal(m, b) |
| } |
| func (m *ChromeOSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ChromeOSConfig.Marshal(b, m, deterministic) |
| } |
| func (m *ChromeOSConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ChromeOSConfig.Merge(m, src) |
| } |
| func (m *ChromeOSConfig) XXX_Size() int { |
| return xxx_messageInfo_ChromeOSConfig.Size(m) |
| } |
| func (m *ChromeOSConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_ChromeOSConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ChromeOSConfig proto.InternalMessageInfo |
| |
| func (m *ChromeOSConfig) GetIdentity() *ChromeOSConfig_Identity { |
| if m != nil { |
| return m.Identity |
| } |
| return nil |
| } |
| |
| func (m *ChromeOSConfig) GetArc() *ChromeOSConfig_Arc { |
| if m != nil { |
| return m.Arc |
| } |
| return nil |
| } |
| |
| func (m *ChromeOSConfig) GetFirmware() *ChromeOSConfig_Firmware { |
| if m != nil { |
| return m.Firmware |
| } |
| return nil |
| } |
| |
| func (m *ChromeOSConfig) GetFirmwareSigning() *ChromeOSConfig_FirmwareSigning { |
| if m != nil { |
| return m.FirmwareSigning |
| } |
| return nil |
| } |
| |
| func (m *ChromeOSConfig) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig) GetBrandCode() string { |
| if m != nil { |
| return m.BrandCode |
| } |
| return "" |
| } |
| |
| type ChromeOSConfig_Arc struct { |
| BuildProperties *ChromeOSConfig_Arc_BuildProperties `protobuf:"bytes,1,opt,name=build_properties,json=build-properties,proto3" json:"build_properties,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ChromeOSConfig_Arc) Reset() { *m = ChromeOSConfig_Arc{} } |
| func (m *ChromeOSConfig_Arc) String() string { return proto.CompactTextString(m) } |
| func (*ChromeOSConfig_Arc) ProtoMessage() {} |
| func (*ChromeOSConfig_Arc) Descriptor() ([]byte, []int) { |
| return fileDescriptor_966966d4820ace27, []int{0, 0} |
| } |
| |
| func (m *ChromeOSConfig_Arc) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ChromeOSConfig_Arc.Unmarshal(m, b) |
| } |
| func (m *ChromeOSConfig_Arc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ChromeOSConfig_Arc.Marshal(b, m, deterministic) |
| } |
| func (m *ChromeOSConfig_Arc) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ChromeOSConfig_Arc.Merge(m, src) |
| } |
| func (m *ChromeOSConfig_Arc) XXX_Size() int { |
| return xxx_messageInfo_ChromeOSConfig_Arc.Size(m) |
| } |
| func (m *ChromeOSConfig_Arc) XXX_DiscardUnknown() { |
| xxx_messageInfo_ChromeOSConfig_Arc.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ChromeOSConfig_Arc proto.InternalMessageInfo |
| |
| func (m *ChromeOSConfig_Arc) GetBuildProperties() *ChromeOSConfig_Arc_BuildProperties { |
| if m != nil { |
| return m.BuildProperties |
| } |
| return nil |
| } |
| |
| type ChromeOSConfig_Arc_BuildProperties struct { |
| // Device name to report in ‘ro.product.device’. This is often |
| // ‘{product}_cheets’ but it can be something else if desired. |
| Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` |
| // The first Android API level that this model shipped with. |
| FirstApiLevel string `protobuf:"bytes,2,opt,name=first_api_level,json=first-api-level,proto3" json:"first_api_level,omitempty"` |
| // Name of this model as it is called in the market, reported in |
| // ‘ro.product.model’. This often starts with ‘{oem}’. |
| MarketingName string `protobuf:"bytes,3,opt,name=marketing_name,json=marketing-name,proto3" json:"marketing_name,omitempty"` |
| // Tag to use to track metrics for this model. The tag can be shared |
| // across many devices if desired, but this will result in larger |
| // granularity for metrics reporting. Ideally the metrics system should |
| // support collation of metrics with different tags into groups, but if |
| // this is not supported, this tag can be used to achieve the same end. |
| // This is reported in ‘ro.product.metrics.tag’. |
| MetricsTag string `protobuf:"bytes,4,opt,name=metrics_tag,json=metrics-tag,proto3" json:"metrics_tag,omitempty"` |
| // Original Equipment Manufacturer for this model. This generally means |
| // the OEM name printed on the device. |
| Oem string `protobuf:"bytes,5,opt,name=oem,proto3" json:"oem,omitempty"` |
| PaiRegions string `protobuf:"bytes,6,opt,name=pai_regions,json=pai-regions,proto3" json:"pai_regions,omitempty"` |
| // Product name to report in ‘ro.product.name’. This may be the device |
| // name, or it can be something else, to allow several devices to be |
| // grouped into one product. |
| Product string `protobuf:"bytes,7,opt,name=product,proto3" json:"product,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ChromeOSConfig_Arc_BuildProperties) Reset() { *m = ChromeOSConfig_Arc_BuildProperties{} } |
| func (m *ChromeOSConfig_Arc_BuildProperties) String() string { return proto.CompactTextString(m) } |
| func (*ChromeOSConfig_Arc_BuildProperties) ProtoMessage() {} |
| func (*ChromeOSConfig_Arc_BuildProperties) Descriptor() ([]byte, []int) { |
| return fileDescriptor_966966d4820ace27, []int{0, 0, 0} |
| } |
| |
| func (m *ChromeOSConfig_Arc_BuildProperties) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ChromeOSConfig_Arc_BuildProperties.Unmarshal(m, b) |
| } |
| func (m *ChromeOSConfig_Arc_BuildProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ChromeOSConfig_Arc_BuildProperties.Marshal(b, m, deterministic) |
| } |
| func (m *ChromeOSConfig_Arc_BuildProperties) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ChromeOSConfig_Arc_BuildProperties.Merge(m, src) |
| } |
| func (m *ChromeOSConfig_Arc_BuildProperties) XXX_Size() int { |
| return xxx_messageInfo_ChromeOSConfig_Arc_BuildProperties.Size(m) |
| } |
| func (m *ChromeOSConfig_Arc_BuildProperties) XXX_DiscardUnknown() { |
| xxx_messageInfo_ChromeOSConfig_Arc_BuildProperties.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ChromeOSConfig_Arc_BuildProperties proto.InternalMessageInfo |
| |
| func (m *ChromeOSConfig_Arc_BuildProperties) GetDevice() string { |
| if m != nil { |
| return m.Device |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Arc_BuildProperties) GetFirstApiLevel() string { |
| if m != nil { |
| return m.FirstApiLevel |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Arc_BuildProperties) GetMarketingName() string { |
| if m != nil { |
| return m.MarketingName |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Arc_BuildProperties) GetMetricsTag() string { |
| if m != nil { |
| return m.MetricsTag |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Arc_BuildProperties) GetOem() string { |
| if m != nil { |
| return m.Oem |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Arc_BuildProperties) GetPaiRegions() string { |
| if m != nil { |
| return m.PaiRegions |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Arc_BuildProperties) GetProduct() string { |
| if m != nil { |
| return m.Product |
| } |
| return "" |
| } |
| |
| type ChromeOSConfig_Firmware struct { |
| // BCS overlay path used to determine BCS file path for binary firmware |
| // downloads. |
| BcsOverlay string `protobuf:"bytes,1,opt,name=bcs_overlay,json=bcs-overlay,proto3" json:"bcs_overlay,omitempty"` |
| // The name of the firmware build. Typically the device name, but can differ |
| // when a device may have two or more different firmware builds. |
| BuildName string `protobuf:"bytes,2,opt,name=build_name,json=build-name,proto3" json:"build_name,omitempty"` |
| BuildTargets *ChromeOSConfig_Firmware_BuildTargets `protobuf:"bytes,3,opt,name=build_targets,json=build-targets,proto3" json:"build_targets,omitempty"` |
| // Name of the file located in BCS under the respective bcs-overlay. |
| EcRoImage string `protobuf:"bytes,4,opt,name=ec_ro_image,json=ec-ro-image,proto3" json:"ec_ro_image,omitempty"` |
| // Name of the file located in BCS under the respective bcs-overlay. |
| MainRoImage string `protobuf:"bytes,5,opt,name=main_ro_image,json=main-ro-image,proto3" json:"main_ro_image,omitempty"` |
| // Name of the file located in BCS under the respective bcs-overlay. |
| MainRwImage string `protobuf:"bytes,6,opt,name=main_rw_image,json=main-rw-image,proto3" json:"main_rw_image,omitempty"` |
| // This is a human-recognizable name used to refer to the firmware. It will |
| // be used when generating the shellball via firmware packer. Mainly, this |
| // is only for compatibility testing with device tree (since DT allowed |
| // firmwares to be named). |
| Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` |
| // If present this indicates that this model has no firmware at present. |
| // This means that it will be omitted from the firmware updater |
| // (chromeos-firmware- ebuild) and it will not be included in the signer |
| // instructions file sent to the signer. This option is often useful when a |
| // model is first added, since it may not have firmware at that point. |
| NoFirmware bool `protobuf:"varint,8,opt,name=no_firmware,json=no-firmware,proto3" json:"no_firmware,omitempty"` |
| // Name of the file located in BCS under the respective bcs-overlay. |
| PdRoImage string `protobuf:"bytes,9,opt,name=pd_ro_image,json=pd-ro-image,proto3" json:"pd_ro_image,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ChromeOSConfig_Firmware) Reset() { *m = ChromeOSConfig_Firmware{} } |
| func (m *ChromeOSConfig_Firmware) String() string { return proto.CompactTextString(m) } |
| func (*ChromeOSConfig_Firmware) ProtoMessage() {} |
| func (*ChromeOSConfig_Firmware) Descriptor() ([]byte, []int) { |
| return fileDescriptor_966966d4820ace27, []int{0, 1} |
| } |
| |
| func (m *ChromeOSConfig_Firmware) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ChromeOSConfig_Firmware.Unmarshal(m, b) |
| } |
| func (m *ChromeOSConfig_Firmware) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ChromeOSConfig_Firmware.Marshal(b, m, deterministic) |
| } |
| func (m *ChromeOSConfig_Firmware) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ChromeOSConfig_Firmware.Merge(m, src) |
| } |
| func (m *ChromeOSConfig_Firmware) XXX_Size() int { |
| return xxx_messageInfo_ChromeOSConfig_Firmware.Size(m) |
| } |
| func (m *ChromeOSConfig_Firmware) XXX_DiscardUnknown() { |
| xxx_messageInfo_ChromeOSConfig_Firmware.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ChromeOSConfig_Firmware proto.InternalMessageInfo |
| |
| func (m *ChromeOSConfig_Firmware) GetBcsOverlay() string { |
| if m != nil { |
| return m.BcsOverlay |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware) GetBuildName() string { |
| if m != nil { |
| return m.BuildName |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware) GetBuildTargets() *ChromeOSConfig_Firmware_BuildTargets { |
| if m != nil { |
| return m.BuildTargets |
| } |
| return nil |
| } |
| |
| func (m *ChromeOSConfig_Firmware) GetEcRoImage() string { |
| if m != nil { |
| return m.EcRoImage |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware) GetMainRoImage() string { |
| if m != nil { |
| return m.MainRoImage |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware) GetMainRwImage() string { |
| if m != nil { |
| return m.MainRwImage |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware) GetNoFirmware() bool { |
| if m != nil { |
| return m.NoFirmware |
| } |
| return false |
| } |
| |
| func (m *ChromeOSConfig_Firmware) GetPdRoImage() string { |
| if m != nil { |
| return m.PdRoImage |
| } |
| return "" |
| } |
| |
| type ChromeOSConfig_Firmware_BuildTargets struct { |
| // Build target of the base EC firmware for a detachable device, that will |
| // be considered dirty when building/testing |
| Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` |
| // Build target that will be considered dirty when building/testing |
| // locally. |
| Coreboot string `protobuf:"bytes,2,opt,name=coreboot,proto3" json:"coreboot,omitempty"` |
| // Build target that will be considered dirty when building/testing |
| // locally. |
| Cr50 string `protobuf:"bytes,3,opt,name=cr50,proto3" json:"cr50,omitempty"` |
| // Build target that will be considered dirty when building/testing |
| // locally. |
| Depthcharge string `protobuf:"bytes,4,opt,name=depthcharge,proto3" json:"depthcharge,omitempty"` |
| // Build target that will be considered dirty when building/testing |
| // locally. |
| Ec string `protobuf:"bytes,5,opt,name=ec,proto3" json:"ec,omitempty"` |
| // Extra EC build targets to build within chromeos-ec. |
| EcExtras []string `protobuf:"bytes,6,rep,name=ec_extras,json=ecExtras,proto3" json:"ec_extras,omitempty"` |
| // Build target that will be considered dirty when building/testing |
| // locally. |
| Ish string `protobuf:"bytes,7,opt,name=ish,proto3" json:"ish,omitempty"` |
| // Build target that will be considered dirty when building/testing |
| // locally. |
| Libpayload string `protobuf:"bytes,8,opt,name=libpayload,proto3" json:"libpayload,omitempty"` |
| // Build target that will be considered dirty when building/testing |
| // locally. |
| UBoot string `protobuf:"bytes,9,opt,name=u_boot,json=u-boot,proto3" json:"u_boot,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) Reset() { *m = ChromeOSConfig_Firmware_BuildTargets{} } |
| func (m *ChromeOSConfig_Firmware_BuildTargets) String() string { return proto.CompactTextString(m) } |
| func (*ChromeOSConfig_Firmware_BuildTargets) ProtoMessage() {} |
| func (*ChromeOSConfig_Firmware_BuildTargets) Descriptor() ([]byte, []int) { |
| return fileDescriptor_966966d4820ace27, []int{0, 1, 0} |
| } |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ChromeOSConfig_Firmware_BuildTargets.Unmarshal(m, b) |
| } |
| func (m *ChromeOSConfig_Firmware_BuildTargets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ChromeOSConfig_Firmware_BuildTargets.Marshal(b, m, deterministic) |
| } |
| func (m *ChromeOSConfig_Firmware_BuildTargets) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ChromeOSConfig_Firmware_BuildTargets.Merge(m, src) |
| } |
| func (m *ChromeOSConfig_Firmware_BuildTargets) XXX_Size() int { |
| return xxx_messageInfo_ChromeOSConfig_Firmware_BuildTargets.Size(m) |
| } |
| func (m *ChromeOSConfig_Firmware_BuildTargets) XXX_DiscardUnknown() { |
| xxx_messageInfo_ChromeOSConfig_Firmware_BuildTargets.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ChromeOSConfig_Firmware_BuildTargets proto.InternalMessageInfo |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) GetBase() string { |
| if m != nil { |
| return m.Base |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) GetCoreboot() string { |
| if m != nil { |
| return m.Coreboot |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) GetCr50() string { |
| if m != nil { |
| return m.Cr50 |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) GetDepthcharge() string { |
| if m != nil { |
| return m.Depthcharge |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) GetEc() string { |
| if m != nil { |
| return m.Ec |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) GetEcExtras() []string { |
| if m != nil { |
| return m.EcExtras |
| } |
| return nil |
| } |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) GetIsh() string { |
| if m != nil { |
| return m.Ish |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) GetLibpayload() string { |
| if m != nil { |
| return m.Libpayload |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Firmware_BuildTargets) GetUBoot() string { |
| if m != nil { |
| return m.UBoot |
| } |
| return "" |
| } |
| |
| type ChromeOSConfig_FirmwareSigning struct { |
| // Key ID from the signer key set that is used to sign the given firmware |
| // image. |
| KeyId string `protobuf:"bytes,1,opt,name=key_id,json=key-id,proto3" json:"key_id,omitempty"` |
| // Indicates that this model cannot be decoded by the mapping table. |
| // Instead the model is stored in the VPD (Vital Product Data) region in |
| // the customization_id property. This allows us to determine the model to |
| // use in the factory during the finalization stage. Note that if the VPD |
| // is wiped then the model will be lost. This may mean that the device |
| // will revert back to a generic model, or may not work. It is not |
| // possible in general to test whether the model in the VPD is correct at |
| // run-time. We simply assume that it is. The advantage of using this |
| // property is that no hardware changes are needed to change one model |
| // into another. For example we can create 20 different whitelabel boards, |
| // all with the same hardware, just by changing the customization_id that |
| // is written into SPI flash. |
| SigIdInCustomizationId bool `protobuf:"varint,2,opt,name=sig_id_in_customization_id,json=sig-id-in-customization-id,proto3" json:"sig_id_in_customization_id,omitempty"` |
| // ID used to generate keys/keyblocks in the firmware signing output. This |
| // is also the value provided to mosys platform signature for the |
| // updater4.sh script. |
| SignatureId string `protobuf:"bytes,3,opt,name=signature_id,json=signature-id,proto3" json:"signature_id,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ChromeOSConfig_FirmwareSigning) Reset() { *m = ChromeOSConfig_FirmwareSigning{} } |
| func (m *ChromeOSConfig_FirmwareSigning) String() string { return proto.CompactTextString(m) } |
| func (*ChromeOSConfig_FirmwareSigning) ProtoMessage() {} |
| func (*ChromeOSConfig_FirmwareSigning) Descriptor() ([]byte, []int) { |
| return fileDescriptor_966966d4820ace27, []int{0, 2} |
| } |
| |
| func (m *ChromeOSConfig_FirmwareSigning) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ChromeOSConfig_FirmwareSigning.Unmarshal(m, b) |
| } |
| func (m *ChromeOSConfig_FirmwareSigning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ChromeOSConfig_FirmwareSigning.Marshal(b, m, deterministic) |
| } |
| func (m *ChromeOSConfig_FirmwareSigning) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ChromeOSConfig_FirmwareSigning.Merge(m, src) |
| } |
| func (m *ChromeOSConfig_FirmwareSigning) XXX_Size() int { |
| return xxx_messageInfo_ChromeOSConfig_FirmwareSigning.Size(m) |
| } |
| func (m *ChromeOSConfig_FirmwareSigning) XXX_DiscardUnknown() { |
| xxx_messageInfo_ChromeOSConfig_FirmwareSigning.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ChromeOSConfig_FirmwareSigning proto.InternalMessageInfo |
| |
| func (m *ChromeOSConfig_FirmwareSigning) GetKeyId() string { |
| if m != nil { |
| return m.KeyId |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_FirmwareSigning) GetSigIdInCustomizationId() bool { |
| if m != nil { |
| return m.SigIdInCustomizationId |
| } |
| return false |
| } |
| |
| func (m *ChromeOSConfig_FirmwareSigning) GetSignatureId() string { |
| if m != nil { |
| return m.SignatureId |
| } |
| return "" |
| } |
| |
| // Defines attributes that are used by cros_config to detect the identity of |
| // the platform and which corresponding config should be used. |
| type ChromeOSConfig_Identity struct { |
| // ‘customization_id’ value set in the VPD for non-unibuild Zergs and |
| // Whitelabels. Deprecated for use in new products since 2017/07/26. |
| CustomizationId string `protobuf:"bytes,1,opt,name=customization_id,json=customization-id,proto3" json:"customization_id,omitempty"` |
| // Defines the name that is reported by ‘mosys platform name’ This is |
| // typically the reference design name with the first letter capitalized. |
| PlatformName string `protobuf:"bytes,2,opt,name=platform_name,json=platform-name,proto3" json:"platform_name,omitempty"` |
| // SKU/Board strapping pins configured during board manufacturing. Minimum |
| // value: -0x1. Maximum value: 0x7fffffff. |
| SkuId int64 `protobuf:"varint,3,opt,name=sku_id,json=sku-id,proto3" json:"sku_id,omitempty"` |
| // [x86] Firmware name built into the firmware and reflected back out in the |
| // SMBIOS tables. |
| SmbiosNameMatch string `protobuf:"bytes,4,opt,name=smbios_name_match,json=smbios-name-match,proto3" json:"smbios_name_match,omitempty"` |
| // [ARM] String pattern (partial) that is matched against the contents of |
| // /proc/device-tree/compatible on ARM devices. |
| DeviceTreeCompatibleMatch string `protobuf:"bytes,5,opt,name=device_tree_compatible_match,json=device-tree-compatible-match,proto3" json:"device_tree_compatible_match,omitempty"` |
| // ‘whitelabel_tag’ value set in the VPD, to add Whitelabel branding over an |
| // unbranded base model. |
| WhitelabelTag string `protobuf:"bytes,6,opt,name=whitelabel_tag,json=whitelabel-tag,proto3" json:"whitelabel_tag,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ChromeOSConfig_Identity) Reset() { *m = ChromeOSConfig_Identity{} } |
| func (m *ChromeOSConfig_Identity) String() string { return proto.CompactTextString(m) } |
| func (*ChromeOSConfig_Identity) ProtoMessage() {} |
| func (*ChromeOSConfig_Identity) Descriptor() ([]byte, []int) { |
| return fileDescriptor_966966d4820ace27, []int{0, 3} |
| } |
| |
| func (m *ChromeOSConfig_Identity) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ChromeOSConfig_Identity.Unmarshal(m, b) |
| } |
| func (m *ChromeOSConfig_Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ChromeOSConfig_Identity.Marshal(b, m, deterministic) |
| } |
| func (m *ChromeOSConfig_Identity) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ChromeOSConfig_Identity.Merge(m, src) |
| } |
| func (m *ChromeOSConfig_Identity) XXX_Size() int { |
| return xxx_messageInfo_ChromeOSConfig_Identity.Size(m) |
| } |
| func (m *ChromeOSConfig_Identity) XXX_DiscardUnknown() { |
| xxx_messageInfo_ChromeOSConfig_Identity.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ChromeOSConfig_Identity proto.InternalMessageInfo |
| |
| func (m *ChromeOSConfig_Identity) GetCustomizationId() string { |
| if m != nil { |
| return m.CustomizationId |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Identity) GetPlatformName() string { |
| if m != nil { |
| return m.PlatformName |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Identity) GetSkuId() int64 { |
| if m != nil { |
| return m.SkuId |
| } |
| return 0 |
| } |
| |
| func (m *ChromeOSConfig_Identity) GetSmbiosNameMatch() string { |
| if m != nil { |
| return m.SmbiosNameMatch |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Identity) GetDeviceTreeCompatibleMatch() string { |
| if m != nil { |
| return m.DeviceTreeCompatibleMatch |
| } |
| return "" |
| } |
| |
| func (m *ChromeOSConfig_Identity) GetWhitelabelTag() string { |
| if m != nil { |
| return m.WhitelabelTag |
| } |
| return "" |
| } |
| |
| // All ChromeOS Config payloads for a given build. |
| type ChromeOSConfigs struct { |
| Configs []*ChromeOSConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ChromeOSConfigs) Reset() { *m = ChromeOSConfigs{} } |
| func (m *ChromeOSConfigs) String() string { return proto.CompactTextString(m) } |
| func (*ChromeOSConfigs) ProtoMessage() {} |
| func (*ChromeOSConfigs) Descriptor() ([]byte, []int) { |
| return fileDescriptor_966966d4820ace27, []int{1} |
| } |
| |
| func (m *ChromeOSConfigs) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ChromeOSConfigs.Unmarshal(m, b) |
| } |
| func (m *ChromeOSConfigs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ChromeOSConfigs.Marshal(b, m, deterministic) |
| } |
| func (m *ChromeOSConfigs) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ChromeOSConfigs.Merge(m, src) |
| } |
| func (m *ChromeOSConfigs) XXX_Size() int { |
| return xxx_messageInfo_ChromeOSConfigs.Size(m) |
| } |
| func (m *ChromeOSConfigs) XXX_DiscardUnknown() { |
| xxx_messageInfo_ChromeOSConfigs.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ChromeOSConfigs proto.InternalMessageInfo |
| |
| func (m *ChromeOSConfigs) GetConfigs() []*ChromeOSConfig { |
| if m != nil { |
| return m.Configs |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*ChromeOSConfig)(nil), "build_config.ChromeOSConfig") |
| proto.RegisterType((*ChromeOSConfig_Arc)(nil), "build_config.ChromeOSConfig.Arc") |
| proto.RegisterType((*ChromeOSConfig_Arc_BuildProperties)(nil), "build_config.ChromeOSConfig.Arc.BuildProperties") |
| proto.RegisterType((*ChromeOSConfig_Firmware)(nil), "build_config.ChromeOSConfig.Firmware") |
| proto.RegisterType((*ChromeOSConfig_Firmware_BuildTargets)(nil), "build_config.ChromeOSConfig.Firmware.BuildTargets") |
| proto.RegisterType((*ChromeOSConfig_FirmwareSigning)(nil), "build_config.ChromeOSConfig.FirmwareSigning") |
| proto.RegisterType((*ChromeOSConfig_Identity)(nil), "build_config.ChromeOSConfig.Identity") |
| proto.RegisterType((*ChromeOSConfigs)(nil), "build_config.ChromeOSConfigs") |
| } |
| |
| func init() { proto.RegisterFile("build/build_config.proto", fileDescriptor_966966d4820ace27) } |
| |
| var fileDescriptor_966966d4820ace27 = []byte{ |
| // 832 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 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