blob: 541052a51d27e51c803f2d056474169134946c92 [file] [log] [blame]
Andrew Lambbc029d32020-02-24 12:42:50 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: api/component.proto
3
4package api
5
6import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 math "math"
10)
11
12// Reference imports to suppress errors if they are not otherwise used.
13var _ = proto.Marshal
14var _ = fmt.Errorf
15var _ = math.Inf
16
17// This is a compile-time assertion to ensure that this generated file
18// is compatible with the proto package it is being compiled against.
19// A compilation error at this line likely means your copy of the
20// proto package needs to be updated.
21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
22
23type Component_Soc_Architecture int32
24
25const (
26 Component_Soc_ARCHITECTURE_UNDEFINED Component_Soc_Architecture = 0
27 Component_Soc_X86 Component_Soc_Architecture = 1
28 Component_Soc_X86_64 Component_Soc_Architecture = 2
29 Component_Soc_ARM Component_Soc_Architecture = 3
30 Component_Soc_ARM64 Component_Soc_Architecture = 4
31)
32
33var Component_Soc_Architecture_name = map[int32]string{
34 0: "ARCHITECTURE_UNDEFINED",
35 1: "X86",
36 2: "X86_64",
37 3: "ARM",
38 4: "ARM64",
39}
40
41var Component_Soc_Architecture_value = map[string]int32{
42 "ARCHITECTURE_UNDEFINED": 0,
43 "X86": 1,
44 "X86_64": 2,
45 "ARM": 3,
46 "ARM64": 4,
47}
48
49func (x Component_Soc_Architecture) String() string {
50 return proto.EnumName(Component_Soc_Architecture_name, int32(x))
51}
52
53func (Component_Soc_Architecture) EnumDescriptor() ([]byte, []int) {
54 return fileDescriptor_fa44fe2e157eed43, []int{0, 0, 0}
55}
56
57type Component_Memory_Type int32
58
59const (
60 Component_Memory_TYPE_UNDEFINED Component_Memory_Type = 0
61 Component_Memory_DDR Component_Memory_Type = 1
62 Component_Memory_DDR2 Component_Memory_Type = 2
63 Component_Memory_DDR3 Component_Memory_Type = 3
64 Component_Memory_DDR4 Component_Memory_Type = 4
65 Component_Memory_LP_DDR3 Component_Memory_Type = 5
66 Component_Memory_LP_DDR4 Component_Memory_Type = 6
67)
68
69var Component_Memory_Type_name = map[int32]string{
70 0: "TYPE_UNDEFINED",
71 1: "DDR",
72 2: "DDR2",
73 3: "DDR3",
74 4: "DDR4",
75 5: "LP_DDR3",
76 6: "LP_DDR4",
77}
78
79var Component_Memory_Type_value = map[string]int32{
80 "TYPE_UNDEFINED": 0,
81 "DDR": 1,
82 "DDR2": 2,
83 "DDR3": 3,
84 "DDR4": 4,
85 "LP_DDR3": 5,
86 "LP_DDR4": 6,
87}
88
89func (x Component_Memory_Type) String() string {
90 return proto.EnumName(Component_Memory_Type_name, int32(x))
91}
92
93func (Component_Memory_Type) EnumDescriptor() ([]byte, []int) {
94 return fileDescriptor_fa44fe2e157eed43, []int{0, 1, 0}
95}
96
97type Component_Camera_Feature int32
98
99const (
100 Component_Camera_FEATURE_UNKNOWN Component_Camera_Feature = 0
101 Component_Camera_ACTIVITY_LED Component_Camera_Feature = 1
102)
103
104var Component_Camera_Feature_name = map[int32]string{
105 0: "FEATURE_UNKNOWN",
106 1: "ACTIVITY_LED",
107}
108
109var Component_Camera_Feature_value = map[string]int32{
110 "FEATURE_UNKNOWN": 0,
111 "ACTIVITY_LED": 1,
112}
113
114func (x Component_Camera_Feature) String() string {
115 return proto.EnumName(Component_Camera_Feature_name, int32(x))
116}
117
118func (Component_Camera_Feature) EnumDescriptor() ([]byte, []int) {
119 return fileDescriptor_fa44fe2e157eed43, []int{0, 3, 0}
120}
121
122type Component_Camera_ClockType int32
123
124const (
125 Component_Camera_CLOCK_TYPE_UNDEFINED Component_Camera_ClockType = 0
126 Component_Camera_MONOTONIC Component_Camera_ClockType = 1
127 Component_Camera_BOOTTIME Component_Camera_ClockType = 2
128)
129
130var Component_Camera_ClockType_name = map[int32]string{
131 0: "CLOCK_TYPE_UNDEFINED",
132 1: "MONOTONIC",
133 2: "BOOTTIME",
134}
135
136var Component_Camera_ClockType_value = map[string]int32{
137 "CLOCK_TYPE_UNDEFINED": 0,
138 "MONOTONIC": 1,
139 "BOOTTIME": 2,
140}
141
142func (x Component_Camera_ClockType) String() string {
143 return proto.EnumName(Component_Camera_ClockType_name, int32(x))
144}
145
146func (Component_Camera_ClockType) EnumDescriptor() ([]byte, []int) {
147 return fileDescriptor_fa44fe2e157eed43, []int{0, 3, 1}
148}
149
150type Component_Qualification_Status int32
151
152const (
153 Component_Qualification_STATUS_UNKNOWN Component_Qualification_Status = 0
154 Component_Qualification_REQUESTED Component_Qualification_Status = 1
155 Component_Qualification_TECHNICALLY_QUALIFIED Component_Qualification_Status = 2
156 Component_Qualification_QUALIFIED Component_Qualification_Status = 3
157)
158
159var Component_Qualification_Status_name = map[int32]string{
160 0: "STATUS_UNKNOWN",
161 1: "REQUESTED",
162 2: "TECHNICALLY_QUALIFIED",
163 3: "QUALIFIED",
164}
165
166var Component_Qualification_Status_value = map[string]int32{
167 "STATUS_UNKNOWN": 0,
168 "REQUESTED": 1,
169 "TECHNICALLY_QUALIFIED": 2,
170 "QUALIFIED": 3,
171}
172
173func (x Component_Qualification_Status) String() string {
174 return proto.EnumName(Component_Qualification_Status_name, int32(x))
175}
176
177func (Component_Qualification_Status) EnumDescriptor() ([]byte, []int) {
178 return fileDescriptor_fa44fe2e157eed43, []int{0, 5, 0}
179}
180
181type Component struct {
182 // Globally unique component identifier.
183 Id *ComponentId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
184 // Types that are valid to be assigned to Type:
185 // *Component_Soc_
186 // *Component_Memory_
187 // *Component_Bluetooth_
188 // *Component_Camera_
189 // *Component_Touchscreen_
190 Type isComponent_Type `protobuf_oneof:"type"`
191 XXX_NoUnkeyedLiteral struct{} `json:"-"`
192 XXX_unrecognized []byte `json:"-"`
193 XXX_sizecache int32 `json:"-"`
194}
195
196func (m *Component) Reset() { *m = Component{} }
197func (m *Component) String() string { return proto.CompactTextString(m) }
198func (*Component) ProtoMessage() {}
199func (*Component) Descriptor() ([]byte, []int) {
200 return fileDescriptor_fa44fe2e157eed43, []int{0}
201}
202
203func (m *Component) XXX_Unmarshal(b []byte) error {
204 return xxx_messageInfo_Component.Unmarshal(m, b)
205}
206func (m *Component) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
207 return xxx_messageInfo_Component.Marshal(b, m, deterministic)
208}
209func (m *Component) XXX_Merge(src proto.Message) {
210 xxx_messageInfo_Component.Merge(m, src)
211}
212func (m *Component) XXX_Size() int {
213 return xxx_messageInfo_Component.Size(m)
214}
215func (m *Component) XXX_DiscardUnknown() {
216 xxx_messageInfo_Component.DiscardUnknown(m)
217}
218
219var xxx_messageInfo_Component proto.InternalMessageInfo
220
221func (m *Component) GetId() *ComponentId {
222 if m != nil {
223 return m.Id
224 }
225 return nil
226}
227
228type isComponent_Type interface {
229 isComponent_Type()
230}
231
232type Component_Soc_ struct {
233 Soc *Component_Soc `protobuf:"bytes,2,opt,name=soc,proto3,oneof"`
234}
235
236type Component_Memory_ struct {
237 Memory *Component_Memory `protobuf:"bytes,3,opt,name=memory,proto3,oneof"`
238}
239
240type Component_Bluetooth_ struct {
241 Bluetooth *Component_Bluetooth `protobuf:"bytes,4,opt,name=bluetooth,proto3,oneof"`
242}
243
244type Component_Camera_ struct {
245 Camera *Component_Camera `protobuf:"bytes,5,opt,name=camera,proto3,oneof"`
246}
247
248type Component_Touchscreen_ struct {
249 Touchscreen *Component_Touchscreen `protobuf:"bytes,6,opt,name=touchscreen,proto3,oneof"`
250}
251
252func (*Component_Soc_) isComponent_Type() {}
253
254func (*Component_Memory_) isComponent_Type() {}
255
256func (*Component_Bluetooth_) isComponent_Type() {}
257
258func (*Component_Camera_) isComponent_Type() {}
259
260func (*Component_Touchscreen_) isComponent_Type() {}
261
262func (m *Component) GetType() isComponent_Type {
263 if m != nil {
264 return m.Type
265 }
266 return nil
267}
268
269func (m *Component) GetSoc() *Component_Soc {
270 if x, ok := m.GetType().(*Component_Soc_); ok {
271 return x.Soc
272 }
273 return nil
274}
275
276func (m *Component) GetMemory() *Component_Memory {
277 if x, ok := m.GetType().(*Component_Memory_); ok {
278 return x.Memory
279 }
280 return nil
281}
282
283func (m *Component) GetBluetooth() *Component_Bluetooth {
284 if x, ok := m.GetType().(*Component_Bluetooth_); ok {
285 return x.Bluetooth
286 }
287 return nil
288}
289
290func (m *Component) GetCamera() *Component_Camera {
291 if x, ok := m.GetType().(*Component_Camera_); ok {
292 return x.Camera
293 }
294 return nil
295}
296
297func (m *Component) GetTouchscreen() *Component_Touchscreen {
298 if x, ok := m.GetType().(*Component_Touchscreen_); ok {
299 return x.Touchscreen
300 }
301 return nil
302}
303
304// XXX_OneofWrappers is for the internal use of the proto package.
305func (*Component) XXX_OneofWrappers() []interface{} {
306 return []interface{}{
307 (*Component_Soc_)(nil),
308 (*Component_Memory_)(nil),
309 (*Component_Bluetooth_)(nil),
310 (*Component_Camera_)(nil),
311 (*Component_Touchscreen_)(nil),
312 }
313}
314
315type Component_Soc struct {
316 Family *Component_Soc_Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"`
317 // Unique model name returned from cpu_id instruction
318 Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
319 // Number of cores present on the SoC model
320 Cores int32 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"`
321 XXX_NoUnkeyedLiteral struct{} `json:"-"`
322 XXX_unrecognized []byte `json:"-"`
323 XXX_sizecache int32 `json:"-"`
324}
325
326func (m *Component_Soc) Reset() { *m = Component_Soc{} }
327func (m *Component_Soc) String() string { return proto.CompactTextString(m) }
328func (*Component_Soc) ProtoMessage() {}
329func (*Component_Soc) Descriptor() ([]byte, []int) {
330 return fileDescriptor_fa44fe2e157eed43, []int{0, 0}
331}
332
333func (m *Component_Soc) XXX_Unmarshal(b []byte) error {
334 return xxx_messageInfo_Component_Soc.Unmarshal(m, b)
335}
336func (m *Component_Soc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
337 return xxx_messageInfo_Component_Soc.Marshal(b, m, deterministic)
338}
339func (m *Component_Soc) XXX_Merge(src proto.Message) {
340 xxx_messageInfo_Component_Soc.Merge(m, src)
341}
342func (m *Component_Soc) XXX_Size() int {
343 return xxx_messageInfo_Component_Soc.Size(m)
344}
345func (m *Component_Soc) XXX_DiscardUnknown() {
346 xxx_messageInfo_Component_Soc.DiscardUnknown(m)
347}
348
349var xxx_messageInfo_Component_Soc proto.InternalMessageInfo
350
351func (m *Component_Soc) GetFamily() *Component_Soc_Family {
352 if m != nil {
353 return m.Family
354 }
355 return nil
356}
357
358func (m *Component_Soc) GetModel() string {
359 if m != nil {
360 return m.Model
361 }
362 return ""
363}
364
365func (m *Component_Soc) GetCores() int32 {
366 if m != nil {
367 return m.Cores
368 }
369 return 0
370}
371
372type Component_Soc_Family struct {
373 Arch Component_Soc_Architecture `protobuf:"varint,1,opt,name=arch,proto3,enum=chromiumos.config.api.Component_Soc_Architecture" json:"arch,omitempty"`
374 // Common name (human friendly) for the family
375 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
376 XXX_NoUnkeyedLiteral struct{} `json:"-"`
377 XXX_unrecognized []byte `json:"-"`
378 XXX_sizecache int32 `json:"-"`
379}
380
381func (m *Component_Soc_Family) Reset() { *m = Component_Soc_Family{} }
382func (m *Component_Soc_Family) String() string { return proto.CompactTextString(m) }
383func (*Component_Soc_Family) ProtoMessage() {}
384func (*Component_Soc_Family) Descriptor() ([]byte, []int) {
385 return fileDescriptor_fa44fe2e157eed43, []int{0, 0, 0}
386}
387
388func (m *Component_Soc_Family) XXX_Unmarshal(b []byte) error {
389 return xxx_messageInfo_Component_Soc_Family.Unmarshal(m, b)
390}
391func (m *Component_Soc_Family) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
392 return xxx_messageInfo_Component_Soc_Family.Marshal(b, m, deterministic)
393}
394func (m *Component_Soc_Family) XXX_Merge(src proto.Message) {
395 xxx_messageInfo_Component_Soc_Family.Merge(m, src)
396}
397func (m *Component_Soc_Family) XXX_Size() int {
398 return xxx_messageInfo_Component_Soc_Family.Size(m)
399}
400func (m *Component_Soc_Family) XXX_DiscardUnknown() {
401 xxx_messageInfo_Component_Soc_Family.DiscardUnknown(m)
402}
403
404var xxx_messageInfo_Component_Soc_Family proto.InternalMessageInfo
405
406func (m *Component_Soc_Family) GetArch() Component_Soc_Architecture {
407 if m != nil {
408 return m.Arch
409 }
410 return Component_Soc_ARCHITECTURE_UNDEFINED
411}
412
413func (m *Component_Soc_Family) GetName() string {
414 if m != nil {
415 return m.Name
416 }
417 return ""
418}
419
420type Component_Memory struct {
421 Profile *Component_Memory_Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
422 PartNumber string `protobuf:"bytes,2,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
423 ManufacturerId *PartnerId `protobuf:"bytes,3,opt,name=manufacturer_id,json=manufacturerId,proto3" json:"manufacturer_id,omitempty"`
424 XXX_NoUnkeyedLiteral struct{} `json:"-"`
425 XXX_unrecognized []byte `json:"-"`
426 XXX_sizecache int32 `json:"-"`
427}
428
429func (m *Component_Memory) Reset() { *m = Component_Memory{} }
430func (m *Component_Memory) String() string { return proto.CompactTextString(m) }
431func (*Component_Memory) ProtoMessage() {}
432func (*Component_Memory) Descriptor() ([]byte, []int) {
433 return fileDescriptor_fa44fe2e157eed43, []int{0, 1}
434}
435
436func (m *Component_Memory) XXX_Unmarshal(b []byte) error {
437 return xxx_messageInfo_Component_Memory.Unmarshal(m, b)
438}
439func (m *Component_Memory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
440 return xxx_messageInfo_Component_Memory.Marshal(b, m, deterministic)
441}
442func (m *Component_Memory) XXX_Merge(src proto.Message) {
443 xxx_messageInfo_Component_Memory.Merge(m, src)
444}
445func (m *Component_Memory) XXX_Size() int {
446 return xxx_messageInfo_Component_Memory.Size(m)
447}
448func (m *Component_Memory) XXX_DiscardUnknown() {
449 xxx_messageInfo_Component_Memory.DiscardUnknown(m)
450}
451
452var xxx_messageInfo_Component_Memory proto.InternalMessageInfo
453
454func (m *Component_Memory) GetProfile() *Component_Memory_Profile {
455 if m != nil {
456 return m.Profile
457 }
458 return nil
459}
460
461func (m *Component_Memory) GetPartNumber() string {
462 if m != nil {
463 return m.PartNumber
464 }
465 return ""
466}
467
468func (m *Component_Memory) GetManufacturerId() *PartnerId {
469 if m != nil {
470 return m.ManufacturerId
471 }
472 return nil
473}
474
475type Component_Memory_Profile struct {
476 Type Component_Memory_Type `protobuf:"varint,1,opt,name=type,proto3,enum=chromiumos.config.api.Component_Memory_Type" json:"type,omitempty"`
477 SpeedMhz int32 `protobuf:"varint,2,opt,name=speed_mhz,json=speedMhz,proto3" json:"speed_mhz,omitempty"`
478 SizeMegabytes int32 `protobuf:"varint,3,opt,name=size_megabytes,json=sizeMegabytes,proto3" json:"size_megabytes,omitempty"`
479 XXX_NoUnkeyedLiteral struct{} `json:"-"`
480 XXX_unrecognized []byte `json:"-"`
481 XXX_sizecache int32 `json:"-"`
482}
483
484func (m *Component_Memory_Profile) Reset() { *m = Component_Memory_Profile{} }
485func (m *Component_Memory_Profile) String() string { return proto.CompactTextString(m) }
486func (*Component_Memory_Profile) ProtoMessage() {}
487func (*Component_Memory_Profile) Descriptor() ([]byte, []int) {
488 return fileDescriptor_fa44fe2e157eed43, []int{0, 1, 0}
489}
490
491func (m *Component_Memory_Profile) XXX_Unmarshal(b []byte) error {
492 return xxx_messageInfo_Component_Memory_Profile.Unmarshal(m, b)
493}
494func (m *Component_Memory_Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
495 return xxx_messageInfo_Component_Memory_Profile.Marshal(b, m, deterministic)
496}
497func (m *Component_Memory_Profile) XXX_Merge(src proto.Message) {
498 xxx_messageInfo_Component_Memory_Profile.Merge(m, src)
499}
500func (m *Component_Memory_Profile) XXX_Size() int {
501 return xxx_messageInfo_Component_Memory_Profile.Size(m)
502}
503func (m *Component_Memory_Profile) XXX_DiscardUnknown() {
504 xxx_messageInfo_Component_Memory_Profile.DiscardUnknown(m)
505}
506
507var xxx_messageInfo_Component_Memory_Profile proto.InternalMessageInfo
508
509func (m *Component_Memory_Profile) GetType() Component_Memory_Type {
510 if m != nil {
511 return m.Type
512 }
513 return Component_Memory_TYPE_UNDEFINED
514}
515
516func (m *Component_Memory_Profile) GetSpeedMhz() int32 {
517 if m != nil {
518 return m.SpeedMhz
519 }
520 return 0
521}
522
523func (m *Component_Memory_Profile) GetSizeMegabytes() int32 {
524 if m != nil {
525 return m.SizeMegabytes
526 }
527 return 0
528}
529
530type Component_Bluetooth struct {
531 // 4-digit hex
532 VendorId string `protobuf:"bytes,1,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"`
533 // 4-digit hex
534 ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
535 // 4-digit hex
536 BcdDevice string `protobuf:"bytes,3,opt,name=bcd_device,json=bcdDevice,proto3" json:"bcd_device,omitempty"`
537 XXX_NoUnkeyedLiteral struct{} `json:"-"`
538 XXX_unrecognized []byte `json:"-"`
539 XXX_sizecache int32 `json:"-"`
540}
541
542func (m *Component_Bluetooth) Reset() { *m = Component_Bluetooth{} }
543func (m *Component_Bluetooth) String() string { return proto.CompactTextString(m) }
544func (*Component_Bluetooth) ProtoMessage() {}
545func (*Component_Bluetooth) Descriptor() ([]byte, []int) {
546 return fileDescriptor_fa44fe2e157eed43, []int{0, 2}
547}
548
549func (m *Component_Bluetooth) XXX_Unmarshal(b []byte) error {
550 return xxx_messageInfo_Component_Bluetooth.Unmarshal(m, b)
551}
552func (m *Component_Bluetooth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
553 return xxx_messageInfo_Component_Bluetooth.Marshal(b, m, deterministic)
554}
555func (m *Component_Bluetooth) XXX_Merge(src proto.Message) {
556 xxx_messageInfo_Component_Bluetooth.Merge(m, src)
557}
558func (m *Component_Bluetooth) XXX_Size() int {
559 return xxx_messageInfo_Component_Bluetooth.Size(m)
560}
561func (m *Component_Bluetooth) XXX_DiscardUnknown() {
562 xxx_messageInfo_Component_Bluetooth.DiscardUnknown(m)
563}
564
565var xxx_messageInfo_Component_Bluetooth proto.InternalMessageInfo
566
567func (m *Component_Bluetooth) GetVendorId() string {
568 if m != nil {
569 return m.VendorId
570 }
571 return ""
572}
573
574func (m *Component_Bluetooth) GetProductId() string {
575 if m != nil {
576 return m.ProductId
577 }
578 return ""
579}
580
581func (m *Component_Bluetooth) GetBcdDevice() string {
582 if m != nil {
583 return m.BcdDevice
584 }
585 return ""
586}
587
588type Component_Camera struct {
589 Features []Component_Camera_Feature `protobuf:"varint,1,rep,packed,name=features,proto3,enum=chromiumos.config.api.Component_Camera_Feature" json:"features,omitempty"`
590 ClockType Component_Camera_ClockType `protobuf:"varint,2,opt,name=clock_type,json=clockType,proto3,enum=chromiumos.config.api.Component_Camera_ClockType" json:"clock_type,omitempty"`
591 XXX_NoUnkeyedLiteral struct{} `json:"-"`
592 XXX_unrecognized []byte `json:"-"`
593 XXX_sizecache int32 `json:"-"`
594}
595
596func (m *Component_Camera) Reset() { *m = Component_Camera{} }
597func (m *Component_Camera) String() string { return proto.CompactTextString(m) }
598func (*Component_Camera) ProtoMessage() {}
599func (*Component_Camera) Descriptor() ([]byte, []int) {
600 return fileDescriptor_fa44fe2e157eed43, []int{0, 3}
601}
602
603func (m *Component_Camera) XXX_Unmarshal(b []byte) error {
604 return xxx_messageInfo_Component_Camera.Unmarshal(m, b)
605}
606func (m *Component_Camera) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
607 return xxx_messageInfo_Component_Camera.Marshal(b, m, deterministic)
608}
609func (m *Component_Camera) XXX_Merge(src proto.Message) {
610 xxx_messageInfo_Component_Camera.Merge(m, src)
611}
612func (m *Component_Camera) XXX_Size() int {
613 return xxx_messageInfo_Component_Camera.Size(m)
614}
615func (m *Component_Camera) XXX_DiscardUnknown() {
616 xxx_messageInfo_Component_Camera.DiscardUnknown(m)
617}
618
619var xxx_messageInfo_Component_Camera proto.InternalMessageInfo
620
621func (m *Component_Camera) GetFeatures() []Component_Camera_Feature {
622 if m != nil {
623 return m.Features
624 }
625 return nil
626}
627
628func (m *Component_Camera) GetClockType() Component_Camera_ClockType {
629 if m != nil {
630 return m.ClockType
631 }
632 return Component_Camera_CLOCK_TYPE_UNDEFINED
633}
634
635type Component_Touchscreen struct {
636 // 4-digit hex
637 VendorId string `protobuf:"bytes,1,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"`
638 // 4-digit hex
639 ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
640 // 4-digit hex
641 FwVersion string `protobuf:"bytes,3,opt,name=fw_version,json=fwVersion,proto3" json:"fw_version,omitempty"`
642 // Relative path to the touch firmware binary
643 // that will be installed when a given
644 // component vendor/product is detected.
645 FwPath string `protobuf:"bytes,4,opt,name=fw_path,json=fwPath,proto3" json:"fw_path,omitempty"`
646 XXX_NoUnkeyedLiteral struct{} `json:"-"`
647 XXX_unrecognized []byte `json:"-"`
648 XXX_sizecache int32 `json:"-"`
649}
650
651func (m *Component_Touchscreen) Reset() { *m = Component_Touchscreen{} }
652func (m *Component_Touchscreen) String() string { return proto.CompactTextString(m) }
653func (*Component_Touchscreen) ProtoMessage() {}
654func (*Component_Touchscreen) Descriptor() ([]byte, []int) {
655 return fileDescriptor_fa44fe2e157eed43, []int{0, 4}
656}
657
658func (m *Component_Touchscreen) XXX_Unmarshal(b []byte) error {
659 return xxx_messageInfo_Component_Touchscreen.Unmarshal(m, b)
660}
661func (m *Component_Touchscreen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
662 return xxx_messageInfo_Component_Touchscreen.Marshal(b, m, deterministic)
663}
664func (m *Component_Touchscreen) XXX_Merge(src proto.Message) {
665 xxx_messageInfo_Component_Touchscreen.Merge(m, src)
666}
667func (m *Component_Touchscreen) XXX_Size() int {
668 return xxx_messageInfo_Component_Touchscreen.Size(m)
669}
670func (m *Component_Touchscreen) XXX_DiscardUnknown() {
671 xxx_messageInfo_Component_Touchscreen.DiscardUnknown(m)
672}
673
674var xxx_messageInfo_Component_Touchscreen proto.InternalMessageInfo
675
676func (m *Component_Touchscreen) GetVendorId() string {
677 if m != nil {
678 return m.VendorId
679 }
680 return ""
681}
682
683func (m *Component_Touchscreen) GetProductId() string {
684 if m != nil {
685 return m.ProductId
686 }
687 return ""
688}
689
690func (m *Component_Touchscreen) GetFwVersion() string {
691 if m != nil {
692 return m.FwVersion
693 }
694 return ""
695}
696
697func (m *Component_Touchscreen) GetFwPath() string {
698 if m != nil {
699 return m.FwPath
700 }
701 return ""
702}
703
704// Record of a component level qualification and the corresponding status.
705type Component_Qualification struct {
706 ComponentId *ComponentId `protobuf:"bytes,1,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
707 Status Component_Qualification_Status `protobuf:"varint,2,opt,name=status,proto3,enum=chromiumos.config.api.Component_Qualification_Status" json:"status,omitempty"`
708 XXX_NoUnkeyedLiteral struct{} `json:"-"`
709 XXX_unrecognized []byte `json:"-"`
710 XXX_sizecache int32 `json:"-"`
711}
712
713func (m *Component_Qualification) Reset() { *m = Component_Qualification{} }
714func (m *Component_Qualification) String() string { return proto.CompactTextString(m) }
715func (*Component_Qualification) ProtoMessage() {}
716func (*Component_Qualification) Descriptor() ([]byte, []int) {
717 return fileDescriptor_fa44fe2e157eed43, []int{0, 5}
718}
719
720func (m *Component_Qualification) XXX_Unmarshal(b []byte) error {
721 return xxx_messageInfo_Component_Qualification.Unmarshal(m, b)
722}
723func (m *Component_Qualification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
724 return xxx_messageInfo_Component_Qualification.Marshal(b, m, deterministic)
725}
726func (m *Component_Qualification) XXX_Merge(src proto.Message) {
727 xxx_messageInfo_Component_Qualification.Merge(m, src)
728}
729func (m *Component_Qualification) XXX_Size() int {
730 return xxx_messageInfo_Component_Qualification.Size(m)
731}
732func (m *Component_Qualification) XXX_DiscardUnknown() {
733 xxx_messageInfo_Component_Qualification.DiscardUnknown(m)
734}
735
736var xxx_messageInfo_Component_Qualification proto.InternalMessageInfo
737
738func (m *Component_Qualification) GetComponentId() *ComponentId {
739 if m != nil {
740 return m.ComponentId
741 }
742 return nil
743}
744
745func (m *Component_Qualification) GetStatus() Component_Qualification_Status {
746 if m != nil {
747 return m.Status
748 }
749 return Component_Qualification_STATUS_UNKNOWN
750}
751
752type ComponentList struct {
753 Value []*Component `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
754 XXX_NoUnkeyedLiteral struct{} `json:"-"`
755 XXX_unrecognized []byte `json:"-"`
756 XXX_sizecache int32 `json:"-"`
757}
758
759func (m *ComponentList) Reset() { *m = ComponentList{} }
760func (m *ComponentList) String() string { return proto.CompactTextString(m) }
761func (*ComponentList) ProtoMessage() {}
762func (*ComponentList) Descriptor() ([]byte, []int) {
763 return fileDescriptor_fa44fe2e157eed43, []int{1}
764}
765
766func (m *ComponentList) XXX_Unmarshal(b []byte) error {
767 return xxx_messageInfo_ComponentList.Unmarshal(m, b)
768}
769func (m *ComponentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
770 return xxx_messageInfo_ComponentList.Marshal(b, m, deterministic)
771}
772func (m *ComponentList) XXX_Merge(src proto.Message) {
773 xxx_messageInfo_ComponentList.Merge(m, src)
774}
775func (m *ComponentList) XXX_Size() int {
776 return xxx_messageInfo_ComponentList.Size(m)
777}
778func (m *ComponentList) XXX_DiscardUnknown() {
779 xxx_messageInfo_ComponentList.DiscardUnknown(m)
780}
781
782var xxx_messageInfo_ComponentList proto.InternalMessageInfo
783
784func (m *ComponentList) GetValue() []*Component {
785 if m != nil {
786 return m.Value
787 }
788 return nil
789}
790
791func init() {
792 proto.RegisterEnum("chromiumos.config.api.Component_Soc_Architecture", Component_Soc_Architecture_name, Component_Soc_Architecture_value)
793 proto.RegisterEnum("chromiumos.config.api.Component_Memory_Type", Component_Memory_Type_name, Component_Memory_Type_value)
794 proto.RegisterEnum("chromiumos.config.api.Component_Camera_Feature", Component_Camera_Feature_name, Component_Camera_Feature_value)
795 proto.RegisterEnum("chromiumos.config.api.Component_Camera_ClockType", Component_Camera_ClockType_name, Component_Camera_ClockType_value)
796 proto.RegisterEnum("chromiumos.config.api.Component_Qualification_Status", Component_Qualification_Status_name, Component_Qualification_Status_value)
797 proto.RegisterType((*Component)(nil), "chromiumos.config.api.Component")
798 proto.RegisterType((*Component_Soc)(nil), "chromiumos.config.api.Component.Soc")
799 proto.RegisterType((*Component_Soc_Family)(nil), "chromiumos.config.api.Component.Soc.Family")
800 proto.RegisterType((*Component_Memory)(nil), "chromiumos.config.api.Component.Memory")
801 proto.RegisterType((*Component_Memory_Profile)(nil), "chromiumos.config.api.Component.Memory.Profile")
802 proto.RegisterType((*Component_Bluetooth)(nil), "chromiumos.config.api.Component.Bluetooth")
803 proto.RegisterType((*Component_Camera)(nil), "chromiumos.config.api.Component.Camera")
804 proto.RegisterType((*Component_Touchscreen)(nil), "chromiumos.config.api.Component.Touchscreen")
805 proto.RegisterType((*Component_Qualification)(nil), "chromiumos.config.api.Component.Qualification")
806 proto.RegisterType((*ComponentList)(nil), "chromiumos.config.api.ComponentList")
807}
808
809func init() { proto.RegisterFile("api/component.proto", fileDescriptor_fa44fe2e157eed43) }
810
811var fileDescriptor_fa44fe2e157eed43 = []byte{
812 // 979 bytes of a gzipped FileDescriptorProto
813 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0x5b, 0x6f, 0xe3, 0x44,
814 0x14, 0xc7, 0xe3, 0x5c, 0x9c, 0xfa, 0xa4, 0x17, 0x6b, 0xb6, 0xbb, 0x04, 0x23, 0x44, 0x15, 0x81,
815 0xa8, 0x96, 0x95, 0x03, 0xdd, 0x52, 0xf5, 0x91, 0xd4, 0x71, 0x89, 0x69, 0x6e, 0x9d, 0x38, 0xcb,
816 0x16, 0x1e, 0x2c, 0x67, 0x3c, 0x6e, 0x2c, 0x62, 0x8f, 0xe5, 0x4b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0x59, 0xdb,
828 0xb2, 0x1c, 0x8d, 0x87, 0x67, 0xe5, 0xe4, 0x20, 0x1a, 0x43, 0x23, 0x61, 0x29, 0x99, 0xc7, 0x24,
829 0xa2, 0x34, 0x68, 0x8a, 0x3c, 0xcf, 0xab, 0x27, 0xf3, 0x98, 0x6b, 0xa6, 0x57, 0xc2, 0x9b, 0x29,
830 0x94, 0xbf, 0xca, 0x50, 0x99, 0x30, 0x82, 0x34, 0x10, 0x5d, 0xdb, 0xf7, 0x16, 0x0f, 0x85, 0x3b,
831 0x5f, 0x6d, 0x73, 0xd0, 0xea, 0x25, 0x47, 0x70, 0x81, 0xa2, 0x43, 0xa8, 0xf9, 0xcc, 0xa1, 0x0b,
832 0x6e, 0x96, 0x84, 0xf3, 0x49, 0xa6, 0x12, 0x16, 0xd1, 0x98, 0xbb, 0x50, 0xc3, 0xf9, 0x44, 0x21,
833 0x20, 0xe6, 0x34, 0xd2, 0xa1, 0x6a, 0x47, 0x64, 0xce, 0x17, 0xde, 0x3f, 0xf9, 0x66, 0xab, 0x85,
834 0x3b, 0x11, 0x99, 0x7b, 0x09, 0x25, 0x49, 0x1a, 0x51, 0xcc, 0x71, 0x84, 0xa0, 0x1a, 0xd8, 0x3e,
835 0x2d, 0xd6, 0xe6, 0xe3, 0xd6, 0x04, 0x76, 0x37, 0x23, 0x91, 0x02, 0x2f, 0x3a, 0x58, 0xeb, 0x19,
836 0xa6, 0xae, 0x99, 0x53, 0xac, 0x5b, 0xd3, 0x61, 0x57, 0xbf, 0x34, 0x86, 0x7a, 0x57, 0x2e, 0xa1,
837 0x3a, 0x54, 0xde, 0x9e, 0x9f, 0xc9, 0x02, 0x02, 0x10, 0xdf, 0x9e, 0x9f, 0x59, 0x67, 0xa7, 0x72,
838 0x39, 0x13, 0x3b, 0x78, 0x20, 0x57, 0x90, 0x04, 0xb5, 0x0e, 0x1e, 0x9c, 0x9d, 0xca, 0x55, 0xe5,
839 0xcf, 0x0a, 0x88, 0xf9, 0x45,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0xef, 0x68, 0xe0, 0x30, 0x7e, 0x80, 0x02, 0x3f,
851 0xe5, 0x9d, 0x5c, 0x30, 0x1c, 0xf4, 0x29, 0x40, 0x18, 0x31, 0x27, 0x25, 0xd9, 0xbb, 0x56, 0x78,
852 0x20, 0x15, 0x4a, 0xfe, 0xf3, 0x8c, 0x38, 0x96, 0x43, 0xef, 0x3c, 0x42, 0xf9, 0x46, 0x24, 0x2c,
853 0xcd, 0x88, 0xd3, 0xe5, 0x82, 0xf2, 0x47, 0x19, 0xc4, 0xbc, 0x65, 0xd1, 0x15, 0xec, 0xb8, 0xd4,
854 0xce, 0xce, 0x3b, 0x6e, 0x0a, 0x47, 0x95, 0xe3, 0xfd, 0x2d, 0x6e, 0x46, 0x8e, 0xaa, 0x97, 0x39,
855 0x87, 0x57, 0x09, 0xd0, 0x18, 0x80, 0x2c, 0x18, 0xf9, 0xc5, 0xe2, 0x46, 0x95, 0xb7, 0x6c, 0x93,
856 0x22, 0x9d, 0x96, 0x91, 0xdc, 0x2d, 0x89, 0x2c, 0x87, 0xad, 0xaf, 0xa1, 0x5e, 0x2c, 0x83, 0x9e,
857 0xc1, 0xc1, 0xa5, 0xde, 0x29, 0xba, 0xe1, 0x6a, 0x38, 0xfa, 0x71, 0x28, 0x97, 0x90, 0x0c, 0xbb,
858 0x1d, 0xcd, 0x34, 0xde, 0x18, 0xe6, 0x8d, 0xd5, 0xd7, 0xbb, 0xb2, 0xd0, 0xba, 0x00, 0x69, 0x95,
859 0x09, 0x35, 0xe1, 0x50, 0xeb, 0x8f, 0xb4, 0x2b, 0xeb, 0x3d, 0xaf, 0xf6, 0x40, 0x1a, 0x8c, 0x86,
860 0x23, 0x73, 0x34, 0x34, 0x34, 0x59, 0x40, 0xbb, 0xb0, 0x73, 0x31, 0x1a, 0x99, 0xa6, 0x31, 0xd0,
861 0xe5, 0xb2, 0xf2, 0xab, 0x00, 0x8d, 0x8d, 0xa7, 0xe8, 0xff, 0x5a, 0xe1, 0xde, 0x5b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