| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: chromiumos/config/api/software/software_config.proto |
| |
| package software |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| api "go.chromium.org/chromiumos/config/go/api" |
| chromeos_config "go.chromium.org/chromiumos/config/go/api/software/chromeos_config" |
| public_replication "go.chromium.org/chromiumos/config/go/public_replication" |
| 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 all of the hardware-design-specific configuration that can be |
| // updated via new software builds/releases. |
| // |
| // During manufacturing, the SoftwareConfigId will be set for a given device, |
| // which will subsequently determine what SoftwareConfig shall be selected from |
| // the current software-build installed on the device. |
| // |
| // SoftwareConfig payloads can be shared across different |
| // hardware-design-configs, if the software payloads are the same. |
| // |
| // NEXT ID: 17 |
| type SoftwareConfig struct { |
| // Configures fields of AudioConfig that are made public. |
| PublicReplication *public_replication.PublicReplication `protobuf:"bytes,12,opt,name=public_replication,json=publicReplication,proto3" json:"public_replication,omitempty"` |
| // Defines the hardware design config this software config supports. |
| DesignConfigId *api.DesignConfigId `protobuf:"bytes,7,opt,name=design_config_id,json=designConfigId,proto3" json:"design_config_id,omitempty"` |
| IdScanConfig *chromeos_config.IdentityScanConfig_DesignConfigId `protobuf:"bytes,8,opt,name=id_scan_config,json=idScanConfig,proto3" json:"id_scan_config,omitempty"` |
| // Defines firmware version pinning details (for non-development workflows). |
| Firmware *FirmwareConfig `protobuf:"bytes,3,opt,name=firmware,proto3" json:"firmware,omitempty"` |
| // TODO(shapiroc): Remove once configs are migrated to firmware_build_targets |
| // This establishes consistent naming so the difference between build targets, |
| // build version pinning, and build metadata is clear (versus Config catch |
| // all naming). |
| FirmwareBuildConfig *FirmwareBuildConfig `protobuf:"bytes,9,opt,name=firmware_build_config,json=firmwareBuildConfig,proto3" json:"firmware_build_config,omitempty"` |
| FirmwareBuildTargets *Firmware_BuildTargets `protobuf:"bytes,16,opt,name=firmware_build_targets,json=firmwareBuildTargets,proto3" json:"firmware_build_targets,omitempty"` |
| SystemBuildTarget *SystemImage_BuildTarget `protobuf:"bytes,13,opt,name=system_build_target,json=systemBuildTarget,proto3" json:"system_build_target,omitempty"` |
| FactoryBuildTarget *Factory_BuildTarget `protobuf:"bytes,14,opt,name=factory_build_target,json=factoryBuildTarget,proto3" json:"factory_build_target,omitempty"` |
| BluetoothConfig *BluetoothConfig `protobuf:"bytes,4,opt,name=bluetooth_config,json=bluetoothConfig,proto3" json:"bluetooth_config,omitempty"` |
| PowerConfig *PowerConfig `protobuf:"bytes,5,opt,name=power_config,json=powerConfig,proto3" json:"power_config,omitempty"` |
| AudioConfigs []*AudioConfig `protobuf:"bytes,10,rep,name=audio_configs,json=audioConfigs,proto3" json:"audio_configs,omitempty"` |
| WifiConfig *WifiConfig `protobuf:"bytes,11,opt,name=wifi_config,json=wifiConfig,proto3" json:"wifi_config,omitempty"` |
| CameraConfig *CameraConfig `protobuf:"bytes,15,opt,name=camera_config,json=cameraConfig,proto3" json:"camera_config,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SoftwareConfig) Reset() { *m = SoftwareConfig{} } |
| func (m *SoftwareConfig) String() string { return proto.CompactTextString(m) } |
| func (*SoftwareConfig) ProtoMessage() {} |
| func (*SoftwareConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a5bdb966d9171747, []int{0} |
| } |
| |
| func (m *SoftwareConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SoftwareConfig.Unmarshal(m, b) |
| } |
| func (m *SoftwareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SoftwareConfig.Marshal(b, m, deterministic) |
| } |
| func (m *SoftwareConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SoftwareConfig.Merge(m, src) |
| } |
| func (m *SoftwareConfig) XXX_Size() int { |
| return xxx_messageInfo_SoftwareConfig.Size(m) |
| } |
| func (m *SoftwareConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_SoftwareConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SoftwareConfig proto.InternalMessageInfo |
| |
| func (m *SoftwareConfig) GetPublicReplication() *public_replication.PublicReplication { |
| if m != nil { |
| return m.PublicReplication |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetDesignConfigId() *api.DesignConfigId { |
| if m != nil { |
| return m.DesignConfigId |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetIdScanConfig() *chromeos_config.IdentityScanConfig_DesignConfigId { |
| if m != nil { |
| return m.IdScanConfig |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetFirmware() *FirmwareConfig { |
| if m != nil { |
| return m.Firmware |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetFirmwareBuildConfig() *FirmwareBuildConfig { |
| if m != nil { |
| return m.FirmwareBuildConfig |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetFirmwareBuildTargets() *Firmware_BuildTargets { |
| if m != nil { |
| return m.FirmwareBuildTargets |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetSystemBuildTarget() *SystemImage_BuildTarget { |
| if m != nil { |
| return m.SystemBuildTarget |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetFactoryBuildTarget() *Factory_BuildTarget { |
| if m != nil { |
| return m.FactoryBuildTarget |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetBluetoothConfig() *BluetoothConfig { |
| if m != nil { |
| return m.BluetoothConfig |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetPowerConfig() *PowerConfig { |
| if m != nil { |
| return m.PowerConfig |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetAudioConfigs() []*AudioConfig { |
| if m != nil { |
| return m.AudioConfigs |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetWifiConfig() *WifiConfig { |
| if m != nil { |
| return m.WifiConfig |
| } |
| return nil |
| } |
| |
| func (m *SoftwareConfig) GetCameraConfig() *CameraConfig { |
| if m != nil { |
| return m.CameraConfig |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*SoftwareConfig)(nil), "chromiumos.config.api.software.SoftwareConfig") |
| } |
| |
| func init() { |
| proto.RegisterFile("chromiumos/config/api/software/software_config.proto", fileDescriptor_a5bdb966d9171747) |
| } |
| |
| var fileDescriptor_a5bdb966d9171747 = []byte{ |
| // 597 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdf, 0x6b, 0xdb, 0x30, |
| 0x10, 0xc7, 0x69, 0x93, 0xb5, 0xa9, 0xf2, 0xa3, 0xae, 0xda, 0x0d, 0x93, 0x87, 0x51, 0x06, 0x83, |
| 0xb1, 0x15, 0x79, 0x6d, 0x56, 0xf6, 0xb4, 0x87, 0xa5, 0x63, 0x90, 0x0c, 0xb6, 0xd4, 0x19, 0x0c, |
| 0xfa, 0x12, 0x14, 0x5b, 0x76, 0x8f, 0xc5, 0x91, 0xb1, 0x15, 0x42, 0xfe, 0xdf, 0xfd, 0x21, 0x23, |
| 0xb2, 0x12, 0x5b, 0x76, 0x3a, 0x65, 0x6f, 0xd6, 0xe9, 0xbe, 0x9f, 0xef, 0xd9, 0xbe, 0x3b, 0xf4, |
| 0xc1, 0x7b, 0x4c, 0x78, 0x04, 0x8b, 0x88, 0xa7, 0x8e, 0xc7, 0xe7, 0x01, 0x84, 0x0e, 0x8d, 0xc1, |
| 0x49, 0x79, 0x20, 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