blob: 1fdf0f80dd92ae98149110acd63b71bf1d6f6a2c [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.
Kevin Sheltona1788ee2021-02-18 22:13:13 +0000101 Touch *Topology `protobuf:"bytes,23,opt,name=touch,proto3" json:"touch,omitempty"`
102 // Specify the tpm topology.
103 // See ./hardware_topology.md#tpm for more information.
Toni Barzicf802a702021-05-18 19:40:23 -0700104 Tpm *Topology `protobuf:"bytes,24,opt,name=tpm,proto3" json:"tpm,omitempty"`
105 // Specify the microphone mute switch topology.
106 // See ./hardware_topology.md#microphone_mute_switch for more information.
107 MicrophoneMuteSwitch *Topology `protobuf:"bytes,25,opt,name=microphone_mute_switch,json=microphoneMuteSwitch,proto3" json:"microphone_mute_switch,omitempty"`
Andrew Lambbc029d32020-02-24 12:42:50 -0700108 XXX_NoUnkeyedLiteral struct{} `json:"-"`
109 XXX_unrecognized []byte `json:"-"`
110 XXX_sizecache int32 `json:"-"`
111}
112
113func (m *HardwareTopology) Reset() { *m = HardwareTopology{} }
114func (m *HardwareTopology) String() string { return proto.CompactTextString(m) }
115func (*HardwareTopology) ProtoMessage() {}
116func (*HardwareTopology) Descriptor() ([]byte, []int) {
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700117 return fileDescriptor_9e326e49764ac0fb, []int{0}
Andrew Lambbc029d32020-02-24 12:42:50 -0700118}
119
120func (m *HardwareTopology) XXX_Unmarshal(b []byte) error {
121 return xxx_messageInfo_HardwareTopology.Unmarshal(m, b)
122}
123func (m *HardwareTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
124 return xxx_messageInfo_HardwareTopology.Marshal(b, m, deterministic)
125}
126func (m *HardwareTopology) XXX_Merge(src proto.Message) {
127 xxx_messageInfo_HardwareTopology.Merge(m, src)
128}
129func (m *HardwareTopology) XXX_Size() int {
130 return xxx_messageInfo_HardwareTopology.Size(m)
131}
132func (m *HardwareTopology) XXX_DiscardUnknown() {
133 xxx_messageInfo_HardwareTopology.DiscardUnknown(m)
134}
135
136var xxx_messageInfo_HardwareTopology proto.InternalMessageInfo
137
138func (m *HardwareTopology) GetScreen() *Topology {
139 if m != nil {
140 return m.Screen
141 }
142 return nil
143}
144
145func (m *HardwareTopology) GetFormFactor() *Topology {
146 if m != nil {
147 return m.FormFactor
148 }
149 return nil
150}
151
152func (m *HardwareTopology) GetAudio() *Topology {
153 if m != nil {
154 return m.Audio
155 }
156 return nil
157}
158
159func (m *HardwareTopology) GetStylus() *Topology {
160 if m != nil {
161 return m.Stylus
162 }
163 return nil
164}
165
166func (m *HardwareTopology) GetKeyboard() *Topology {
167 if m != nil {
168 return m.Keyboard
169 }
170 return nil
171}
172
173func (m *HardwareTopology) GetThermal() *Topology {
174 if m != nil {
175 return m.Thermal
176 }
177 return nil
178}
179
180func (m *HardwareTopology) GetCamera() *Topology {
181 if m != nil {
182 return m.Camera
183 }
184 return nil
185}
186
187func (m *HardwareTopology) GetAccelerometerGyroscopeMagnetometer() *Topology {
188 if m != nil {
189 return m.AccelerometerGyroscopeMagnetometer
190 }
191 return nil
192}
193
194func (m *HardwareTopology) GetFingerprint() *Topology {
195 if m != nil {
196 return m.Fingerprint
197 }
198 return nil
199}
200
201func (m *HardwareTopology) GetProximitySensor() *Topology {
202 if m != nil {
203 return m.ProximitySensor
204 }
205 return nil
206}
207
208func (m *HardwareTopology) GetDaughterBoard() *Topology {
209 if m != nil {
210 return m.DaughterBoard
211 }
212 return nil
213}
214
215func (m *HardwareTopology) GetNonVolatileStorage() *Topology {
216 if m != nil {
217 return m.NonVolatileStorage
218 }
219 return nil
220}
221
222func (m *HardwareTopology) GetRam() *Topology {
223 if m != nil {
224 return m.Ram
225 }
226 return nil
227}
228
229func (m *HardwareTopology) GetWifi() *Topology {
230 if m != nil {
231 return m.Wifi
232 }
233 return nil
234}
235
236func (m *HardwareTopology) GetLteBoard() *Topology {
237 if m != nil {
238 return m.LteBoard
239 }
240 return nil
241}
242
243func (m *HardwareTopology) GetSdReader() *Topology {
244 if m != nil {
245 return m.SdReader
246 }
247 return nil
248}
249
Jett Rink937839f2020-03-26 12:09:49 -0600250func (m *HardwareTopology) GetMotherboardUsb() *Topology {
251 if m != nil {
252 return m.MotherboardUsb
253 }
254 return nil
255}
256
C Shapiroa681fad2020-04-15 17:05:03 -0500257func (m *HardwareTopology) GetBluetooth() *Topology {
258 if m != nil {
259 return m.Bluetooth
260 }
261 return nil
262}
263
Josie Nordrum206be1b2020-06-04 12:20:16 -0600264func (m *HardwareTopology) GetBarreljack() *Topology {
265 if m != nil {
266 return m.Barreljack
267 }
268 return nil
269}
270
Andrew Lambf723e842020-06-19 10:12:19 -0600271func (m *HardwareTopology) GetPowerButton() *Topology {
272 if m != nil {
273 return m.PowerButton
274 }
275 return nil
276}
277
Andrew Lamb26e72022020-06-19 12:14:32 -0600278func (m *HardwareTopology) GetVolumeButton() *Topology {
279 if m != nil {
280 return m.VolumeButton
281 }
282 return nil
283}
284
Greg Edelston57d9df12020-08-28 13:47:46 -0600285func (m *HardwareTopology) GetEc() *Topology {
286 if m != nil {
287 return m.Ec
288 }
289 return nil
290}
291
Zhuohao Lee8d9f1fb2021-02-01 21:35:07 +0800292func (m *HardwareTopology) GetTouch() *Topology {
293 if m != nil {
294 return m.Touch
295 }
296 return nil
297}
298
Kevin Sheltona1788ee2021-02-18 22:13:13 +0000299func (m *HardwareTopology) GetTpm() *Topology {
300 if m != nil {
301 return m.Tpm
302 }
303 return nil
304}
305
Toni Barzicf802a702021-05-18 19:40:23 -0700306func (m *HardwareTopology) GetMicrophoneMuteSwitch() *Topology {
307 if m != nil {
308 return m.MicrophoneMuteSwitch
309 }
310 return nil
311}
312
Andrew Lambbc029d32020-02-24 12:42:50 -0700313func init() {
314 proto.RegisterType((*HardwareTopology)(nil), "chromiumos.config.api.HardwareTopology")
315}
316
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700317func init() {
318 proto.RegisterFile("chromiumos/config/api/hardware_topology.proto", fileDescriptor_9e326e49764ac0fb)
319}
Andrew Lambbc029d32020-02-24 12:42:50 -0700320
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700321var fileDescriptor_9e326e49764ac0fb = []byte{
Toni Barzicf802a702021-05-18 19:40:23 -0700322 // 585 bytes of a gzipped FileDescriptorProto
323 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xcf, 0x6f, 0xd3, 0x30,
324 0x14, 0xc7, 0xb5, 0xdf, 0xeb, 0x6b, 0xf7, 0x03, 0xb3, 0x0d, 0xc3, 0x05, 0x34, 0xed, 0x30, 0x21,
325 0xd1, 0x0a, 0x26, 0x84, 0x10, 0x43, 0x40, 0x85, 0xc6, 0x84, 0xb4, 0x03, 0x1b, 0xe3, 0xc0, 0x25,
326 0x72, 0x9d, 0xd7, 0xc4, 0x2c, 0xce, 0x0b, 0x2f, 0xce, 0x4a, 0xff, 0x70, 0xee, 0x28, 0x4e, 0xba,
327 0x6e, 0x62, 0x07, 0x5f, 0x93, 0xef, 0xe7, 0xe3, 0x67, 0xf9, 0x2b, 0x1b, 0x5e, 0xe8, 0x94, 0xc9,
328 0x9a, 0xca, 0x52, 0x39, 0xd0, 0x94, 0x8f, 0x4d, 0x32, 0x50, 0x85, 0x19, 0xa4, 0x8a, 0xe3, 0x89,
329 0x62, 0x8c, 0x1c, 0x15, 0x94, 0x51, 0x32, 0xed, 0x17, 0x4c, 0x8e, 0xc4, 0xee, 0x3c, 0xde, 0x6f,
330 0xe2, 0x7d, 0x55, 0x98, 0x27, 0x07, 0xf7, 0x5b, 0xee, 0xc2, 0xfb, 0x7f, 0x7b, 0xb0, 0x7d, 0xda,
331 0x8a, 0xbf, 0xb7, 0xbf, 0xc4, 0x1b, 0x58, 0x2d, 0x35, 0x23, 0xe6, 0x72, 0xe1, 0xd9, 0xc2, 0x61,
332 0xf7, 0xd5, 0xd3, 0xfe, 0xbd, 0x4b, 0xf4, 0x67, 0xc0, 0x79, 0x1b, 0x17, 0x1f, 0xa1, 0x3b, 0x26,
333 0xb6, 0xd1, 0x58, 0x69, 0x47, 0x2c, 0x17, 0xc3, 0x68, 0xa8, 0x99, 0x13, 0x8f, 0x88, 0xd7, 0xb0,
334 0xa2, 0xaa, 0xd8, 0x90, 0x5c, 0x0a, 0x63, 0x9b, 0xb4, 0x9f, 0xd8, 0x4d, 0xb3, 0xaa, 0x94, 0xcb,
335 0xa1, 0x13, 0xfb, 0xb8, 0x78, 0x07, 0xeb, 0x57, 0x38, 0x1d, 0x91, 0xe2, 0x58, 0xae, 0x84, 0xa1,
336 0x37, 0x80, 0x78, 0x0b, 0x6b, 0x2e, 0x45, 0xb6, 0x2a, 0x93, 0xab, 0x61, 0xec, 0x2c, 0x5f, 0x0f,
337 0xac, 0x95, 0x45, 0x56, 0x72, 0x2d, 0x70, 0xe0, 0x26, 0x2e, 0x7e, 0xc3, 0x81, 0xd2, 0x1a, 0x33,
338 0x64, 0xb2, 0xe8, 0x90, 0xa3, 0x64, 0xca, 0x54, 0x6a, 0x2a, 0x30, 0xb2, 0x2a, 0xc9, 0xd1, 0x35,
339 0x9f, 0xe5, 0x7a, 0x98, 0x76, 0xff, 0x8e, 0xec, 0xcb, 0xcc, 0x75, 0x76, 0x4b, 0x25, 0x3e, 0x41,
340 0x77, 0x6c, 0xf2, 0x04, 0xb9, 0x60, 0x93, 0x3b, 0xd9, 0x09, 0x33, 0xdf, 0x66, 0xc4, 0x57, 0xd8,
341 0x2e, 0x98, 0xfe, 0x18, 0x6b, 0xdc, 0x34, 0x2a, 0x31, 0x2f, 0x89, 0x25, 0x84, 0x79, 0xb6, 0x6e,
342 0xc0, 0x0b, 0xcf, 0x89, 0x13, 0xd8, 0x8c, 0x55, 0x95, 0xa4, 0xf5, 0xe6, 0x9b, 0x83, 0xeb, 0x86,
343 0x99, 0x36, 0x66, 0xd8, 0xd0, 0x9f, 0xde, 0x37, 0xd8, 0xc9, 0x29, 0x8f, 0xae, 0x29, 0x53, 0xce,
344 0x64, 0x18, 0x95, 0x8e, 0x58, 0x25, 0x28, 0x7b, 0x61, 0x36, 0x91, 0x53, 0xfe, 0xa3, 0x65, 0x2f,
345 0x1a, 0x54, 0xbc, 0x84, 0x25, 0x56, 0x56, 0x6e, 0x84, 0x19, 0xea, 0xac, 0x38, 0x82, 0xe5, 0x89,
346 0x19, 0x1b, 0xb9, 0x19, 0xc6, 0xf8, 0xb0, 0x38, 0x86, 0x4e, 0xe6, 0xb0, 0xdd, 0xfd, 0x56, 0x60,
347 0x6d, 0x33, 0x87, 0xcd, 0xc6, 0x8f, 0xa1, 0x53, 0xc6, 0x11, 0xa3, 0x8a, 0x91, 0xe5, 0x76, 0x20,
348 0x5d, 0xc6, 0xe7, 0x1e, 0x10, 0xa7, 0xb0, 0x65, 0xa9, 0xae, 0xb1, 0x5f, 0x3d, 0xaa, 0xca, 0x91,
349 0x7c, 0x10, 0xe6, 0xd8, 0xbc, 0xc5, 0x5d, 0x96, 0x23, 0xf1, 0x1e, 0x3a, 0xa3, 0xac, 0x42, 0x47,
350 0xe4, 0x52, 0x29, 0xc2, 0x1c, 0x73, 0x42, 0x7c, 0x00, 0x18, 0x29, 0x66, 0xcc, 0x7e, 0x29, 0x7d,
351 0x25, 0x1f, 0x06, 0xde, 0x35, 0x73, 0x44, 0x0c, 0xa1, 0x57, 0xd0, 0xa4, 0x6e, 0x51, 0xe5, 0x1c,
352 0xe5, 0x72, 0x27, 0xb0, 0xd8, 0x1e, 0x1a, 0x7a, 0x46, 0x7c, 0x86, 0x8d, 0x6b, 0xca, 0x2a, 0x8b,
353 0x33, 0xc9, 0x6e, 0x98, 0xa4, 0xd7, 0x50, 0xad, 0x65, 0x00, 0x8b, 0xa8, 0xe5, 0x5e, 0x18, 0xba,
354 0x88, 0xba, 0xbe, 0x26, 0x1d, 0x55, 0x3a, 0x95, 0x8f, 0x02, 0xaf, 0x49, 0x9f, 0xae, 0xfb, 0xe9,
355 0x0a, 0x2b, 0x65, 0x60, 0x3f, 0x5d, 0x61, 0xc5, 0x25, 0xec, 0x59, 0xa3, 0x99, 0x8a, 0x94, 0x72,
356 0x8c, 0x6c, 0xe5, 0x30, 0x2a, 0x27, 0xc6, 0xe9, 0x54, 0x3e, 0x0e, 0xb3, 0xec, 0xcc, 0xf1, 0xb3,
357 0xca, 0xe1, 0x85, 0x87, 0x87, 0xcf, 0x7f, 0x1e, 0x26, 0x74, 0x83, 0xf6, 0x89, 0x93, 0xc1, 0xff,
358 0xef, 0x55, 0x42, 0xf5, 0x93, 0x35, 0x5a, 0xf5, 0x4f, 0xd5, 0xd1, 0xbf, 0x00, 0x00, 0x00, 0xff,
359 0xff, 0xf4, 0xdd, 0x72, 0x26, 0x18, 0x07, 0x00, 0x00,
Andrew Lambbc029d32020-02-24 12:42:50 -0700360}