| // Copyright 2021 The ChromiumOS Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.27.1 |
| // protoc v3.17.1 |
| // source: chromiumos/config/api/device_config.proto |
| |
| package api |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // Defines all of the hardware configuration known about a given device. |
| type DeviceConfig struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Program *Program `protobuf:"bytes,1,opt,name=program,proto3" json:"program,omitempty"` |
| HwDesign *Design `protobuf:"bytes,2,opt,name=hw_design,json=hwDesign,proto3" json:"hw_design,omitempty"` |
| Odm *Partner `protobuf:"bytes,3,opt,name=odm,proto3" json:"odm,omitempty"` |
| HwDesignConfig *Design_Config `protobuf:"bytes,4,opt,name=hw_design_config,json=hwDesignConfig,proto3" json:"hw_design_config,omitempty"` |
| DeviceBrand *DeviceBrand `protobuf:"bytes,5,opt,name=device_brand,json=deviceBrand,proto3" json:"device_brand,omitempty"` |
| Oem *Partner `protobuf:"bytes,6,opt,name=oem,proto3" json:"oem,omitempty"` |
| MfgConfig *MfgConfig `protobuf:"bytes,7,opt,name=mfg_config,json=mfgConfig,proto3" json:"mfg_config,omitempty"` |
| } |
| |
| func (x *DeviceConfig) Reset() { |
| *x = DeviceConfig{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromiumos_config_api_device_config_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *DeviceConfig) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*DeviceConfig) ProtoMessage() {} |
| |
| func (x *DeviceConfig) ProtoReflect() protoreflect.Message { |
| mi := &file_chromiumos_config_api_device_config_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use DeviceConfig.ProtoReflect.Descriptor instead. |
| func (*DeviceConfig) Descriptor() ([]byte, []int) { |
| return file_chromiumos_config_api_device_config_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *DeviceConfig) GetProgram() *Program { |
| if x != nil { |
| return x.Program |
| } |
| return nil |
| } |
| |
| func (x *DeviceConfig) GetHwDesign() *Design { |
| if x != nil { |
| return x.HwDesign |
| } |
| return nil |
| } |
| |
| func (x *DeviceConfig) GetOdm() *Partner { |
| if x != nil { |
| return x.Odm |
| } |
| return nil |
| } |
| |
| func (x *DeviceConfig) GetHwDesignConfig() *Design_Config { |
| if x != nil { |
| return x.HwDesignConfig |
| } |
| return nil |
| } |
| |
| func (x *DeviceConfig) GetDeviceBrand() *DeviceBrand { |
| if x != nil { |
| return x.DeviceBrand |
| } |
| return nil |
| } |
| |
| func (x *DeviceConfig) GetOem() *Partner { |
| if x != nil { |
| return x.Oem |
| } |
| return nil |
| } |
| |
| func (x *DeviceConfig) GetMfgConfig() *MfgConfig { |
| if x != nil { |
| return x.MfgConfig |
| } |
| return nil |
| } |
| |
| var File_chromiumos_config_api_device_config_proto protoreflect.FileDescriptor |
| |
| var file_chromiumos_config_api_device_config_proto_rawDesc = []byte{ |
| 0x0a, 0x29, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, |
| 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x63, 0x68, 0x72, |
| 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, |
| 0x70, 0x69, 0x1a, 0x22, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, |
| 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, |
| 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, |
| 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x65, |
| 0x76, 0x69, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 0x1a, 0x26, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x66, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, |
| 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, |
| 0x74, 0x6f, 0x22, 0xc0, 0x03, 0x0a, 0x0c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x01, |
| 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, |
| 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x72, 0x6f, |
| 0x67, 0x72, 0x61, 0x6d, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x3a, 0x0a, |
| 0x09, 0x68, 0x77, 0x5f, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 0x32, 0x1d, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, |
| 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x52, |
| 0x08, 0x68, 0x77, 0x44, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x30, 0x0a, 0x03, 0x6f, 0x64, 0x6d, |
| 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, |
| 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, |
| 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x52, 0x03, 0x6f, 0x64, 0x6d, 0x12, 0x4e, 0x0a, 0x10, 0x68, |
| 0x77, 0x5f, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, |
| 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, |
| 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, |
| 0x73, 0x69, 0x67, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x68, 0x77, 0x44, |
| 0x65, 0x73, 0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x45, 0x0a, 0x0c, 0x64, |
| 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, |
| 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, |
| 0x42, 0x72, 0x61, 0x6e, 0x64, 0x52, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x42, 0x72, 0x61, |
| 0x6e, 0x64, 0x12, 0x30, 0x0a, 0x03, 0x6f, 0x65, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 0x1e, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x52, |
| 0x03, 0x6f, 0x65, 0x6d, 0x12, 0x3f, 0x0a, 0x0a, 0x6d, 0x66, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 0x69, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, |
| 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, |
| 0x2e, 0x4d, 0x66, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x6d, 0x66, 0x67, 0x43, |
| 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x2a, 0x5a, 0x28, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, |
| 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, |
| 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_chromiumos_config_api_device_config_proto_rawDescOnce sync.Once |
| file_chromiumos_config_api_device_config_proto_rawDescData = file_chromiumos_config_api_device_config_proto_rawDesc |
| ) |
| |
| func file_chromiumos_config_api_device_config_proto_rawDescGZIP() []byte { |
| file_chromiumos_config_api_device_config_proto_rawDescOnce.Do(func() { |
| file_chromiumos_config_api_device_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_api_device_config_proto_rawDescData) |
| }) |
| return file_chromiumos_config_api_device_config_proto_rawDescData |
| } |
| |
| var file_chromiumos_config_api_device_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| var file_chromiumos_config_api_device_config_proto_goTypes = []interface{}{ |
| (*DeviceConfig)(nil), // 0: chromiumos.config.api.DeviceConfig |
| (*Program)(nil), // 1: chromiumos.config.api.Program |
| (*Design)(nil), // 2: chromiumos.config.api.Design |
| (*Partner)(nil), // 3: chromiumos.config.api.Partner |
| (*Design_Config)(nil), // 4: chromiumos.config.api.Design.Config |
| (*DeviceBrand)(nil), // 5: chromiumos.config.api.DeviceBrand |
| (*MfgConfig)(nil), // 6: chromiumos.config.api.MfgConfig |
| } |
| var file_chromiumos_config_api_device_config_proto_depIdxs = []int32{ |
| 1, // 0: chromiumos.config.api.DeviceConfig.program:type_name -> chromiumos.config.api.Program |
| 2, // 1: chromiumos.config.api.DeviceConfig.hw_design:type_name -> chromiumos.config.api.Design |
| 3, // 2: chromiumos.config.api.DeviceConfig.odm:type_name -> chromiumos.config.api.Partner |
| 4, // 3: chromiumos.config.api.DeviceConfig.hw_design_config:type_name -> chromiumos.config.api.Design.Config |
| 5, // 4: chromiumos.config.api.DeviceConfig.device_brand:type_name -> chromiumos.config.api.DeviceBrand |
| 3, // 5: chromiumos.config.api.DeviceConfig.oem:type_name -> chromiumos.config.api.Partner |
| 6, // 6: chromiumos.config.api.DeviceConfig.mfg_config:type_name -> chromiumos.config.api.MfgConfig |
| 7, // [7:7] is the sub-list for method output_type |
| 7, // [7:7] is the sub-list for method input_type |
| 7, // [7:7] is the sub-list for extension type_name |
| 7, // [7:7] is the sub-list for extension extendee |
| 0, // [0:7] is the sub-list for field type_name |
| } |
| |
| func init() { file_chromiumos_config_api_device_config_proto_init() } |
| func file_chromiumos_config_api_device_config_proto_init() { |
| if File_chromiumos_config_api_device_config_proto != nil { |
| return |
| } |
| file_chromiumos_config_api_design_proto_init() |
| file_chromiumos_config_api_device_brand_proto_init() |
| file_chromiumos_config_api_mfg_config_proto_init() |
| file_chromiumos_config_api_partner_proto_init() |
| file_chromiumos_config_api_program_proto_init() |
| if !protoimpl.UnsafeEnabled { |
| file_chromiumos_config_api_device_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*DeviceConfig); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_chromiumos_config_api_device_config_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 1, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_chromiumos_config_api_device_config_proto_goTypes, |
| DependencyIndexes: file_chromiumos_config_api_device_config_proto_depIdxs, |
| MessageInfos: file_chromiumos_config_api_device_config_proto_msgTypes, |
| }.Build() |
| File_chromiumos_config_api_device_config_proto = out.File |
| file_chromiumos_config_api_device_config_proto_rawDesc = nil |
| file_chromiumos_config_api_device_config_proto_goTypes = nil |
| file_chromiumos_config_api_device_config_proto_depIdxs = nil |
| } |