| // Copyright 2020 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/payload/flat_config.proto |
| |
| package payload |
| |
| import ( |
| api "go.chromium.org/chromiumos/config/go/api" |
| software "go.chromium.org/chromiumos/config/go/api/software" |
| 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) |
| ) |
| |
| // Provides a configuration that has been completely flattened with all ids |
| // already resolved. |
| // This is specifically targeted at supporting easier analysis from declarative |
| // languages that query over the configs. It reduces join operations and also |
| // simplifies queries greatly. |
| type FlatConfig struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Program *api.Program `protobuf:"bytes,1,opt,name=program,proto3" json:"program,omitempty"` |
| HwDesign *api.Design `protobuf:"bytes,3,opt,name=hw_design,json=hwDesign,proto3" json:"hw_design,omitempty"` |
| Odm *api.Partner `protobuf:"bytes,4,opt,name=odm,proto3" json:"odm,omitempty"` |
| HwDesignConfig *api.Design_Config `protobuf:"bytes,5,opt,name=hw_design_config,json=hwDesignConfig,proto3" json:"hw_design_config,omitempty"` |
| HwComponents []*api.Component `protobuf:"bytes,11,rep,name=hw_components,json=hwComponents,proto3" json:"hw_components,omitempty"` |
| DeviceBrand *api.DeviceBrand `protobuf:"bytes,6,opt,name=device_brand,json=deviceBrand,proto3" json:"device_brand,omitempty"` |
| Oem *api.Partner `protobuf:"bytes,7,opt,name=oem,proto3" json:"oem,omitempty"` |
| SwConfig *software.SoftwareConfig `protobuf:"bytes,9,opt,name=sw_config,json=swConfig,proto3" json:"sw_config,omitempty"` |
| BrandSwConfig *software.BrandConfig `protobuf:"bytes,10,opt,name=brand_sw_config,json=brandSwConfig,proto3" json:"brand_sw_config,omitempty"` |
| } |
| |
| func (x *FlatConfig) Reset() { |
| *x = FlatConfig{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromiumos_config_payload_flat_config_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *FlatConfig) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*FlatConfig) ProtoMessage() {} |
| |
| func (x *FlatConfig) ProtoReflect() protoreflect.Message { |
| mi := &file_chromiumos_config_payload_flat_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 FlatConfig.ProtoReflect.Descriptor instead. |
| func (*FlatConfig) Descriptor() ([]byte, []int) { |
| return file_chromiumos_config_payload_flat_config_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *FlatConfig) GetProgram() *api.Program { |
| if x != nil { |
| return x.Program |
| } |
| return nil |
| } |
| |
| func (x *FlatConfig) GetHwDesign() *api.Design { |
| if x != nil { |
| return x.HwDesign |
| } |
| return nil |
| } |
| |
| func (x *FlatConfig) GetOdm() *api.Partner { |
| if x != nil { |
| return x.Odm |
| } |
| return nil |
| } |
| |
| func (x *FlatConfig) GetHwDesignConfig() *api.Design_Config { |
| if x != nil { |
| return x.HwDesignConfig |
| } |
| return nil |
| } |
| |
| func (x *FlatConfig) GetHwComponents() []*api.Component { |
| if x != nil { |
| return x.HwComponents |
| } |
| return nil |
| } |
| |
| func (x *FlatConfig) GetDeviceBrand() *api.DeviceBrand { |
| if x != nil { |
| return x.DeviceBrand |
| } |
| return nil |
| } |
| |
| func (x *FlatConfig) GetOem() *api.Partner { |
| if x != nil { |
| return x.Oem |
| } |
| return nil |
| } |
| |
| func (x *FlatConfig) GetSwConfig() *software.SoftwareConfig { |
| if x != nil { |
| return x.SwConfig |
| } |
| return nil |
| } |
| |
| func (x *FlatConfig) GetBrandSwConfig() *software.BrandConfig { |
| if x != nil { |
| return x.BrandSwConfig |
| } |
| return nil |
| } |
| |
| // A list of FlatConfigs for ease of serialization into a file. |
| type FlatConfigList struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Values []*FlatConfig `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` |
| } |
| |
| func (x *FlatConfigList) Reset() { |
| *x = FlatConfigList{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromiumos_config_payload_flat_config_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *FlatConfigList) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*FlatConfigList) ProtoMessage() {} |
| |
| func (x *FlatConfigList) ProtoReflect() protoreflect.Message { |
| mi := &file_chromiumos_config_payload_flat_config_proto_msgTypes[1] |
| 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 FlatConfigList.ProtoReflect.Descriptor instead. |
| func (*FlatConfigList) Descriptor() ([]byte, []int) { |
| return file_chromiumos_config_payload_flat_config_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *FlatConfigList) GetValues() []*FlatConfig { |
| if x != nil { |
| return x.Values |
| } |
| return nil |
| } |
| |
| var File_chromiumos_config_payload_flat_config_proto protoreflect.FileDescriptor |
| |
| var file_chromiumos_config_payload_flat_config_proto_rawDesc = []byte{ |
| 0x0a, 0x2b, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x2f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x66, 0x6c, 0x61, 0x74, |
| 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0x25, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, |
| 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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, 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, 0x1a, 0x31, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, |
| 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, |
| 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x5f, 0x63, 0x6f, |
| 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, |
| 0x69, 0x2f, 0x73, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x73, 0x6f, 0x66, 0x74, 0x77, |
| 0x61, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 0x22, 0xf2, 0x04, 0x0a, 0x0a, 0x46, 0x6c, 0x61, 0x74, 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, 0x03, 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, 0x04, 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, 0x05, 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, 0x0d, 0x68, 0x77, 0x5f, 0x63, 0x6f, |
| 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 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, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, |
| 0x52, 0x0c, 0x68, 0x77, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x45, |
| 0x0a, 0x0c, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x06, |
| 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, 0x07, 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, 0x4b, 0x0a, 0x09, 0x73, 0x77, 0x5f, 0x63, 0x6f, |
| 0x6e, 0x66, 0x69, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x68, 0x72, |
| 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, |
| 0x70, 0x69, 0x2e, 0x73, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x53, 0x6f, 0x66, 0x74, |
| 0x77, 0x61, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x73, 0x77, 0x43, 0x6f, |
| 0x6e, 0x66, 0x69, 0x67, 0x12, 0x53, 0x0a, 0x0f, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x5f, 0x73, 0x77, |
| 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, |
| 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x42, |
| 0x72, 0x61, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x62, 0x72, 0x61, 0x6e, |
| 0x64, 0x53, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, |
| 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0x4f, 0x0a, 0x0e, 0x46, 0x6c, 0x61, 0x74, 0x43, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, |
| 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, |
| 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x61, 0x79, 0x6c, |
| 0x6f, 0x61, 0x64, 0x2e, 0x46, 0x6c, 0x61, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, |
| 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x2e, 0x5a, 0x2c, 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, 0x70, |
| 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_chromiumos_config_payload_flat_config_proto_rawDescOnce sync.Once |
| file_chromiumos_config_payload_flat_config_proto_rawDescData = file_chromiumos_config_payload_flat_config_proto_rawDesc |
| ) |
| |
| func file_chromiumos_config_payload_flat_config_proto_rawDescGZIP() []byte { |
| file_chromiumos_config_payload_flat_config_proto_rawDescOnce.Do(func() { |
| file_chromiumos_config_payload_flat_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_payload_flat_config_proto_rawDescData) |
| }) |
| return file_chromiumos_config_payload_flat_config_proto_rawDescData |
| } |
| |
| var file_chromiumos_config_payload_flat_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| var file_chromiumos_config_payload_flat_config_proto_goTypes = []interface{}{ |
| (*FlatConfig)(nil), // 0: chromiumos.config.payload.FlatConfig |
| (*FlatConfigList)(nil), // 1: chromiumos.config.payload.FlatConfigList |
| (*api.Program)(nil), // 2: chromiumos.config.api.Program |
| (*api.Design)(nil), // 3: chromiumos.config.api.Design |
| (*api.Partner)(nil), // 4: chromiumos.config.api.Partner |
| (*api.Design_Config)(nil), // 5: chromiumos.config.api.Design.Config |
| (*api.Component)(nil), // 6: chromiumos.config.api.Component |
| (*api.DeviceBrand)(nil), // 7: chromiumos.config.api.DeviceBrand |
| (*software.SoftwareConfig)(nil), // 8: chromiumos.config.api.software.SoftwareConfig |
| (*software.BrandConfig)(nil), // 9: chromiumos.config.api.software.BrandConfig |
| } |
| var file_chromiumos_config_payload_flat_config_proto_depIdxs = []int32{ |
| 2, // 0: chromiumos.config.payload.FlatConfig.program:type_name -> chromiumos.config.api.Program |
| 3, // 1: chromiumos.config.payload.FlatConfig.hw_design:type_name -> chromiumos.config.api.Design |
| 4, // 2: chromiumos.config.payload.FlatConfig.odm:type_name -> chromiumos.config.api.Partner |
| 5, // 3: chromiumos.config.payload.FlatConfig.hw_design_config:type_name -> chromiumos.config.api.Design.Config |
| 6, // 4: chromiumos.config.payload.FlatConfig.hw_components:type_name -> chromiumos.config.api.Component |
| 7, // 5: chromiumos.config.payload.FlatConfig.device_brand:type_name -> chromiumos.config.api.DeviceBrand |
| 4, // 6: chromiumos.config.payload.FlatConfig.oem:type_name -> chromiumos.config.api.Partner |
| 8, // 7: chromiumos.config.payload.FlatConfig.sw_config:type_name -> chromiumos.config.api.software.SoftwareConfig |
| 9, // 8: chromiumos.config.payload.FlatConfig.brand_sw_config:type_name -> chromiumos.config.api.software.BrandConfig |
| 0, // 9: chromiumos.config.payload.FlatConfigList.values:type_name -> chromiumos.config.payload.FlatConfig |
| 10, // [10:10] is the sub-list for method output_type |
| 10, // [10:10] is the sub-list for method input_type |
| 10, // [10:10] is the sub-list for extension type_name |
| 10, // [10:10] is the sub-list for extension extendee |
| 0, // [0:10] is the sub-list for field type_name |
| } |
| |
| func init() { file_chromiumos_config_payload_flat_config_proto_init() } |
| func file_chromiumos_config_payload_flat_config_proto_init() { |
| if File_chromiumos_config_payload_flat_config_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_chromiumos_config_payload_flat_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*FlatConfig); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromiumos_config_payload_flat_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*FlatConfigList); 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_payload_flat_config_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 2, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_chromiumos_config_payload_flat_config_proto_goTypes, |
| DependencyIndexes: file_chromiumos_config_payload_flat_config_proto_depIdxs, |
| MessageInfos: file_chromiumos_config_payload_flat_config_proto_msgTypes, |
| }.Build() |
| File_chromiumos_config_payload_flat_config_proto = out.File |
| file_chromiumos_config_payload_flat_config_proto_rawDesc = nil |
| file_chromiumos_config_payload_flat_config_proto_goTypes = nil |
| file_chromiumos_config_payload_flat_config_proto_depIdxs = nil |
| } |