| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: chromiumos/config/payload/flat_config.proto |
| |
| package payload |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| api "go.chromium.org/chromiumos/config/go/api" |
| software "go.chromium.org/chromiumos/config/go/api/software" |
| 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 |
| |
| // 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 { |
| 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"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *FlatConfig) Reset() { *m = FlatConfig{} } |
| func (m *FlatConfig) String() string { return proto.CompactTextString(m) } |
| func (*FlatConfig) ProtoMessage() {} |
| func (*FlatConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a1d2596eed42df21, []int{0} |
| } |
| |
| func (m *FlatConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_FlatConfig.Unmarshal(m, b) |
| } |
| func (m *FlatConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_FlatConfig.Marshal(b, m, deterministic) |
| } |
| func (m *FlatConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FlatConfig.Merge(m, src) |
| } |
| func (m *FlatConfig) XXX_Size() int { |
| return xxx_messageInfo_FlatConfig.Size(m) |
| } |
| func (m *FlatConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_FlatConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FlatConfig proto.InternalMessageInfo |
| |
| func (m *FlatConfig) GetProgram() *api.Program { |
| if m != nil { |
| return m.Program |
| } |
| return nil |
| } |
| |
| func (m *FlatConfig) GetHwDesign() *api.Design { |
| if m != nil { |
| return m.HwDesign |
| } |
| return nil |
| } |
| |
| func (m *FlatConfig) GetOdm() *api.Partner { |
| if m != nil { |
| return m.Odm |
| } |
| return nil |
| } |
| |
| func (m *FlatConfig) GetHwDesignConfig() *api.Design_Config { |
| if m != nil { |
| return m.HwDesignConfig |
| } |
| return nil |
| } |
| |
| func (m *FlatConfig) GetHwComponents() []*api.Component { |
| if m != nil { |
| return m.HwComponents |
| } |
| return nil |
| } |
| |
| func (m *FlatConfig) GetDeviceBrand() *api.DeviceBrand { |
| if m != nil { |
| return m.DeviceBrand |
| } |
| return nil |
| } |
| |
| func (m *FlatConfig) GetOem() *api.Partner { |
| if m != nil { |
| return m.Oem |
| } |
| return nil |
| } |
| |
| func (m *FlatConfig) GetSwConfig() *software.SoftwareConfig { |
| if m != nil { |
| return m.SwConfig |
| } |
| return nil |
| } |
| |
| func (m *FlatConfig) GetBrandSwConfig() *software.BrandConfig { |
| if m != nil { |
| return m.BrandSwConfig |
| } |
| return nil |
| } |
| |
| // A list of FlatConfigs for ease of serialization into a file. |
| type FlatConfigList struct { |
| Values []*FlatConfig `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *FlatConfigList) Reset() { *m = FlatConfigList{} } |
| func (m *FlatConfigList) String() string { return proto.CompactTextString(m) } |
| func (*FlatConfigList) ProtoMessage() {} |
| func (*FlatConfigList) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a1d2596eed42df21, []int{1} |
| } |
| |
| func (m *FlatConfigList) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_FlatConfigList.Unmarshal(m, b) |
| } |
| func (m *FlatConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_FlatConfigList.Marshal(b, m, deterministic) |
| } |
| func (m *FlatConfigList) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FlatConfigList.Merge(m, src) |
| } |
| func (m *FlatConfigList) XXX_Size() int { |
| return xxx_messageInfo_FlatConfigList.Size(m) |
| } |
| func (m *FlatConfigList) XXX_DiscardUnknown() { |
| xxx_messageInfo_FlatConfigList.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FlatConfigList proto.InternalMessageInfo |
| |
| func (m *FlatConfigList) GetValues() []*FlatConfig { |
| if m != nil { |
| return m.Values |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*FlatConfig)(nil), "chromiumos.config.payload.FlatConfig") |
| proto.RegisterType((*FlatConfigList)(nil), "chromiumos.config.payload.FlatConfigList") |
| } |
| |
| func init() { |
| proto.RegisterFile("chromiumos/config/payload/flat_config.proto", fileDescriptor_a1d2596eed42df21) |
| } |
| |
| var fileDescriptor_a1d2596eed42df21 = []byte{ |
| // 442 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4f, 0x6f, 0xd3, 0x30, |
| 0x18, 0xc6, 0x55, 0x12, 0xba, 0xc4, 0xd9, 0x46, 0xe5, 0x93, 0xa9, 0x04, 0xaa, 0x02, 0x93, 0x2a, |
| 0x0d, 0x39, 0x30, 0x38, 0x20, 0x24, 0x2e, 0x1b, 0xe3, 0x30, 0x10, 0xa0, 0xf4, 0xc6, 0x25, 0x72, |
| 0x13, 0x37, 0x89, 0x94, 0xc4, 0x91, 0x9d, 0x36, 0xe2, 0x6b, 0xf3, 0x09, 0x50, 0xfd, 0x27, 0xa1, |
| 0x6a, 0xd3, 0xee, 0x66, 0x3b, 0xbf, 0xe7, 0x79, 0x5f, 0x3f, 0x7a, 0x1d, 0x70, 0x1d, 0x67, 0x9c, |
| 0x95, 0xf9, 0xba, 0x64, 0x22, 0x88, 0x59, 0xb5, 0xca, 0xd3, 0xa0, 0x26, 0x7f, 0x0a, 0x46, 0x92, |
| 0x60, 0x55, 0x90, 0x26, 0x52, 0x67, 0xb8, 0xe6, 0xac, 0x61, 0xf0, 0x79, 0x0f, 0x63, 0xf3, 0x41, |
| 0xc1, 0xd3, 0xab, 0x7d, 0x1f, 0x52, 0xe7, 0x41, 0xcc, 0xca, 0x9a, 0x55, 0xb4, 0x6a, 0x94, 0xc3, |
| 0xd4, 0x3f, 0x8c, 0x25, 0x54, 0xe4, 0x69, 0xa5, 0x99, 0xf9, 0x10, 0xb3, 0xc9, 0x63, 0x1a, 0x2d, |
| 0x39, 0xa9, 0x12, 0x4d, 0xbe, 0x3a, 0x4c, 0xd6, 0x84, 0x37, 0x15, 0xe5, 0x27, 0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