blob: bc6ec06effef6cf4f8f66564e6ad2bb9ba7dd71b [file] [log] [blame]
Andrew Lambbc029d32020-02-24 12:42:50 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -07002// source: chromiumos/config/api/hardware_topology.proto
Andrew Lambbc029d32020-02-24 12:42:50 -07003
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
23// Contains hardware related system features that are tracked by Google to
24// differentiate distinct hardware build configurations. Generally these
25// hardware-related system features are not easily probe-able at run time.
26//
27// This SHOULD NOT be used to track second sourced components that are drop in
28// replacements.
29//
30// Note the types here are Topology values instead of enums. The individual
31// Design repos should check that any CL landing has acceptable Topology values.
32// Most values are effectively stringly typed enums.
33type HardwareTopology struct {
34 // Specify hardware screen topology hardware.
35 // See ./hardware_topology.md#screen for more information.
36 Screen *Topology `protobuf:"bytes,1,opt,name=screen,proto3" json:"screen,omitempty"`
37 // Specify functional form factor type of hardware.
38 // See ./hardware_topology.md#form-factor for more information.
39 FormFactor *Topology `protobuf:"bytes,2,opt,name=form_factor,json=formFactor,proto3" json:"form_factor,omitempty"`
40 // Specify the audio codec topology.
41 // See ./hardware_topology.md#audio for more information
42 Audio *Topology `protobuf:"bytes,3,opt,name=audio,proto3" json:"audio,omitempty"`
43 // Specify the stylus topology.
44 // See ./hardware_topology.md#stylus for more information.
45 Stylus *Topology `protobuf:"bytes,4,opt,name=stylus,proto3" json:"stylus,omitempty"`
46 // Specify the internal keyboard topology.
47 // See ./hardware_topology.md#keyboard for more information.
48 Keyboard *Topology `protobuf:"bytes,5,opt,name=keyboard,proto3" json:"keyboard,omitempty"`
49 // Specify which thermal topology.
50 // See ./hardware_topology.md#thermal for more information.
51 Thermal *Topology `protobuf:"bytes,6,opt,name=thermal,proto3" json:"thermal,omitempty"`
52 // Specify the camera topology.
53 // See ./hardware_topology.md#camera for more information.
54 Camera *Topology `protobuf:"bytes,7,opt,name=camera,proto3" json:"camera,omitempty"`
55 // Specify the accelerometer/gyroscope/magetometer topology.
56 // See ./hardware_topology.md#sensor for more information.
57 AccelerometerGyroscopeMagnetometer *Topology `protobuf:"bytes,8,opt,name=accelerometer_gyroscope_magnetometer,json=accelerometerGyroscopeMagnetometer,proto3" json:"accelerometer_gyroscope_magnetometer,omitempty"`
58 // Specify the fingerprint sensor topology.
59 // See ./hardware_topology.md#fingerprint-sensor for more information.
60 Fingerprint *Topology `protobuf:"bytes,9,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
61 // Specify the proximity sensor topology.
62 // See ./hardware_topology.md#sensor for more information.
63 ProximitySensor *Topology `protobuf:"bytes,10,opt,name=proximity_sensor,json=proximitySensor,proto3" json:"proximity_sensor,omitempty"`
Tatsuhisa Yamaguchi3fe0d4e2020-03-26 00:53:01 +090064 // Specify the daughter board topology.
Andrew Lambbc029d32020-02-24 12:42:50 -070065 // See ./hardware_topology.md#daughter-board for more information.
66 DaughterBoard *Topology `protobuf:"bytes,11,opt,name=daughter_board,json=daughterBoard,proto3" json:"daughter_board,omitempty"`
67 // Specify the non-volatile storage topology.
68 // See ./hardware_topology.md#non_volatile-storage for more information.
69 NonVolatileStorage *Topology `protobuf:"bytes,12,opt,name=non_volatile_storage,json=nonVolatileStorage,proto3" json:"non_volatile_storage,omitempty"`
Furquan Shaikhc0de79b2020-10-14 21:13:56 -070070 // Deprecated
Andrew Lambbc029d32020-02-24 12:42:50 -070071 Ram *Topology `protobuf:"bytes,13,opt,name=ram,proto3" json:"ram,omitempty"`
72 // Specify the wifi topology.
73 // See ./hardware_topology.md#wifi for more information.
74 Wifi *Topology `protobuf:"bytes,14,opt,name=wifi,proto3" json:"wifi,omitempty"`
75 // Specify the LTE sub-board topology.
76 // See ./hardware_topology.md#lte-board for more information.
77 LteBoard *Topology `protobuf:"bytes,15,opt,name=lte_board,json=lteBoard,proto3" json:"lte_board,omitempty"`
78 // Specify the SD card reader topology.
79 // See ./hardware_topology.md#sd-reader for more information.
Jett Rink937839f2020-03-26 12:09:49 -060080 SdReader *Topology `protobuf:"bytes,16,opt,name=sd_reader,json=sdReader,proto3" json:"sd_reader,omitempty"`
81 // Specify the motherboard USB topology
82 // See ./hardware_topology.md#motherboard-usb for more information.
C Shapiroa681fad2020-04-15 17:05:03 -050083 MotherboardUsb *Topology `protobuf:"bytes,17,opt,name=motherboard_usb,json=motherboardUsb,proto3" json:"motherboard_usb,omitempty"`
84 // Specify the bluetooth topology
85 // See ./hardware_topology.md#bluetooth for more information.
Josie Nordrum206be1b2020-06-04 12:20:16 -060086 Bluetooth *Topology `protobuf:"bytes,18,opt,name=bluetooth,proto3" json:"bluetooth,omitempty"`
87 // Specify the barreljack topology
88 // See ./hardware_topology.md#barreljack for more information.
Andrew Lambf723e842020-06-19 10:12:19 -060089 Barreljack *Topology `protobuf:"bytes,19,opt,name=barreljack,proto3" json:"barreljack,omitempty"`
90 // Specify the power button topology.
Andrew Lamb26e72022020-06-19 12:14:32 -060091 // See ./hardware_topology.md#power-button for more information.
92 PowerButton *Topology `protobuf:"bytes,20,opt,name=power_button,json=powerButton,proto3" json:"power_button,omitempty"`
93 // Specify the volume button topology.
94 // See ./hardware_topology.md#volume-button for more information.
Greg Edelston57d9df12020-08-28 13:47:46 -060095 VolumeButton *Topology `protobuf:"bytes,21,opt,name=volume_button,json=volumeButton,proto3" json:"volume_button,omitempty"`
96 // Specify the EC topology.
97 // See ./hardware_topology.md#ec for more information.
Zhuohao Lee8d9f1fb2021-02-01 21:35:07 +080098 Ec *Topology `protobuf:"bytes,22,opt,name=ec,proto3" json:"ec,omitempty"`
99 // Specify the touch topology.
100 // See ./hardware_topology.md#touch for more information.
101 Touch *Topology `protobuf:"bytes,23,opt,name=touch,proto3" json:"touch,omitempty"`
Andrew Lambbc029d32020-02-24 12:42:50 -0700102 XXX_NoUnkeyedLiteral struct{} `json:"-"`
103 XXX_unrecognized []byte `json:"-"`
104 XXX_sizecache int32 `json:"-"`
105}
106
107func (m *HardwareTopology) Reset() { *m = HardwareTopology{} }
108func (m *HardwareTopology) String() string { return proto.CompactTextString(m) }
109func (*HardwareTopology) ProtoMessage() {}
110func (*HardwareTopology) Descriptor() ([]byte, []int) {
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700111 return fileDescriptor_9e326e49764ac0fb, []int{0}
Andrew Lambbc029d32020-02-24 12:42:50 -0700112}
113
114func (m *HardwareTopology) XXX_Unmarshal(b []byte) error {
115 return xxx_messageInfo_HardwareTopology.Unmarshal(m, b)
116}
117func (m *HardwareTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
118 return xxx_messageInfo_HardwareTopology.Marshal(b, m, deterministic)
119}
120func (m *HardwareTopology) XXX_Merge(src proto.Message) {
121 xxx_messageInfo_HardwareTopology.Merge(m, src)
122}
123func (m *HardwareTopology) XXX_Size() int {
124 return xxx_messageInfo_HardwareTopology.Size(m)
125}
126func (m *HardwareTopology) XXX_DiscardUnknown() {
127 xxx_messageInfo_HardwareTopology.DiscardUnknown(m)
128}
129
130var xxx_messageInfo_HardwareTopology proto.InternalMessageInfo
131
132func (m *HardwareTopology) GetScreen() *Topology {
133 if m != nil {
134 return m.Screen
135 }
136 return nil
137}
138
139func (m *HardwareTopology) GetFormFactor() *Topology {
140 if m != nil {
141 return m.FormFactor
142 }
143 return nil
144}
145
146func (m *HardwareTopology) GetAudio() *Topology {
147 if m != nil {
148 return m.Audio
149 }
150 return nil
151}
152
153func (m *HardwareTopology) GetStylus() *Topology {
154 if m != nil {
155 return m.Stylus
156 }
157 return nil
158}
159
160func (m *HardwareTopology) GetKeyboard() *Topology {
161 if m != nil {
162 return m.Keyboard
163 }
164 return nil
165}
166
167func (m *HardwareTopology) GetThermal() *Topology {
168 if m != nil {
169 return m.Thermal
170 }
171 return nil
172}
173
174func (m *HardwareTopology) GetCamera() *Topology {
175 if m != nil {
176 return m.Camera
177 }
178 return nil
179}
180
181func (m *HardwareTopology) GetAccelerometerGyroscopeMagnetometer() *Topology {
182 if m != nil {
183 return m.AccelerometerGyroscopeMagnetometer
184 }
185 return nil
186}
187
188func (m *HardwareTopology) GetFingerprint() *Topology {
189 if m != nil {
190 return m.Fingerprint
191 }
192 return nil
193}
194
195func (m *HardwareTopology) GetProximitySensor() *Topology {
196 if m != nil {
197 return m.ProximitySensor
198 }
199 return nil
200}
201
202func (m *HardwareTopology) GetDaughterBoard() *Topology {
203 if m != nil {
204 return m.DaughterBoard
205 }
206 return nil
207}
208
209func (m *HardwareTopology) GetNonVolatileStorage() *Topology {
210 if m != nil {
211 return m.NonVolatileStorage
212 }
213 return nil
214}
215
216func (m *HardwareTopology) GetRam() *Topology {
217 if m != nil {
218 return m.Ram
219 }
220 return nil
221}
222
223func (m *HardwareTopology) GetWifi() *Topology {
224 if m != nil {
225 return m.Wifi
226 }
227 return nil
228}
229
230func (m *HardwareTopology) GetLteBoard() *Topology {
231 if m != nil {
232 return m.LteBoard
233 }
234 return nil
235}
236
237func (m *HardwareTopology) GetSdReader() *Topology {
238 if m != nil {
239 return m.SdReader
240 }
241 return nil
242}
243
Jett Rink937839f2020-03-26 12:09:49 -0600244func (m *HardwareTopology) GetMotherboardUsb() *Topology {
245 if m != nil {
246 return m.MotherboardUsb
247 }
248 return nil
249}
250
C Shapiroa681fad2020-04-15 17:05:03 -0500251func (m *HardwareTopology) GetBluetooth() *Topology {
252 if m != nil {
253 return m.Bluetooth
254 }
255 return nil
256}
257
Josie Nordrum206be1b2020-06-04 12:20:16 -0600258func (m *HardwareTopology) GetBarreljack() *Topology {
259 if m != nil {
260 return m.Barreljack
261 }
262 return nil
263}
264
Andrew Lambf723e842020-06-19 10:12:19 -0600265func (m *HardwareTopology) GetPowerButton() *Topology {
266 if m != nil {
267 return m.PowerButton
268 }
269 return nil
270}
271
Andrew Lamb26e72022020-06-19 12:14:32 -0600272func (m *HardwareTopology) GetVolumeButton() *Topology {
273 if m != nil {
274 return m.VolumeButton
275 }
276 return nil
277}
278
Greg Edelston57d9df12020-08-28 13:47:46 -0600279func (m *HardwareTopology) GetEc() *Topology {
280 if m != nil {
281 return m.Ec
282 }
283 return nil
284}
285
Zhuohao Lee8d9f1fb2021-02-01 21:35:07 +0800286func (m *HardwareTopology) GetTouch() *Topology {
287 if m != nil {
288 return m.Touch
289 }
290 return nil
291}
292
Andrew Lambbc029d32020-02-24 12:42:50 -0700293func init() {
294 proto.RegisterType((*HardwareTopology)(nil), "chromiumos.config.api.HardwareTopology")
295}
296
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700297func init() {
298 proto.RegisterFile("chromiumos/config/api/hardware_topology.proto", fileDescriptor_9e326e49764ac0fb)
299}
Andrew Lambbc029d32020-02-24 12:42:50 -0700300
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700301var fileDescriptor_9e326e49764ac0fb = []byte{
Zhuohao Lee8d9f1fb2021-02-01 21:35:07 +0800302 // 545 bytes of a gzipped FileDescriptorProto
303 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0x4b, 0x6f, 0xd4, 0x30,
304 0x10, 0xc7, 0xd5, 0x77, 0x77, 0xb6, 0x8f, 0xc5, 0xb4, 0x60, 0x71, 0x01, 0x55, 0x3d, 0x54, 0x48,
305 0x64, 0x05, 0x15, 0x42, 0x88, 0x22, 0x60, 0x85, 0x4a, 0x85, 0xc4, 0x81, 0x16, 0x38, 0x70, 0x89,
306 0x1c, 0x67, 0x36, 0x31, 0x4d, 0x32, 0x61, 0xe2, 0x74, 0xd9, 0xcf, 0xcc, 0x97, 0x40, 0x71, 0xb2,
307 0x8f, 0x8a, 0x1e, 0x7c, 0x4d, 0xfe, 0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 0xab, 0xd1, 0x12,
330 0xd9, 0x54, 0x0a, 0x3f, 0xc7, 0x82, 0x10, 0xef, 0x00, 0x22, 0xc5, 0x8c, 0xd9, 0x2f, 0xa5, 0xaf,
331 0xe5, 0x7d, 0xcf, 0x59, 0xb3, 0x40, 0xc4, 0x08, 0x76, 0x4a, 0x9a, 0x34, 0x5d, 0x54, 0x5b, 0x4b,
332 0x85, 0x3c, 0xf0, 0x6c, 0x6c, 0x07, 0x8d, 0x1c, 0x23, 0x3e, 0xc2, 0xee, 0x0d, 0x65, 0x75, 0x8e,
333 0x33, 0xc9, 0xa1, 0x9f, 0x64, 0xa7, 0xa5, 0x3a, 0xcb, 0x10, 0x56, 0x51, 0xcb, 0x07, 0x7e, 0xe8,
334 0x2a, 0xea, 0x66, 0x4c, 0x5a, 0xaa, 0x75, 0x2a, 0x1f, 0x7a, 0x8e, 0x49, 0x97, 0x1e, 0x3d, 0xfd,
335 0x79, 0x92, 0xd0, 0x3c, 0x1b, 0x10, 0x27, 0xc3, 0xff, 0xb7, 0x44, 0x42, 0xcd, 0xa2, 0x88, 0x36,
336 0xdd, 0x82, 0x38, 0xfd, 0x17, 0x00, 0x00, 0xff, 0xff, 0xec, 0xb3, 0x1d, 0x18, 0x8e, 0x06, 0x00,
337 0x00,
Andrew Lambbc029d32020-02-24 12:42:50 -0700338}