blob: 8dd8a08fa35c4a5e98712ec95f59ec6ab0709c89 [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.
104 Tpm *Topology `protobuf:"bytes,24,opt,name=tpm,proto3" json:"tpm,omitempty"`
Andrew Lambbc029d32020-02-24 12:42:50 -0700105 XXX_NoUnkeyedLiteral struct{} `json:"-"`
106 XXX_unrecognized []byte `json:"-"`
107 XXX_sizecache int32 `json:"-"`
108}
109
110func (m *HardwareTopology) Reset() { *m = HardwareTopology{} }
111func (m *HardwareTopology) String() string { return proto.CompactTextString(m) }
112func (*HardwareTopology) ProtoMessage() {}
113func (*HardwareTopology) Descriptor() ([]byte, []int) {
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700114 return fileDescriptor_9e326e49764ac0fb, []int{0}
Andrew Lambbc029d32020-02-24 12:42:50 -0700115}
116
117func (m *HardwareTopology) XXX_Unmarshal(b []byte) error {
118 return xxx_messageInfo_HardwareTopology.Unmarshal(m, b)
119}
120func (m *HardwareTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
121 return xxx_messageInfo_HardwareTopology.Marshal(b, m, deterministic)
122}
123func (m *HardwareTopology) XXX_Merge(src proto.Message) {
124 xxx_messageInfo_HardwareTopology.Merge(m, src)
125}
126func (m *HardwareTopology) XXX_Size() int {
127 return xxx_messageInfo_HardwareTopology.Size(m)
128}
129func (m *HardwareTopology) XXX_DiscardUnknown() {
130 xxx_messageInfo_HardwareTopology.DiscardUnknown(m)
131}
132
133var xxx_messageInfo_HardwareTopology proto.InternalMessageInfo
134
135func (m *HardwareTopology) GetScreen() *Topology {
136 if m != nil {
137 return m.Screen
138 }
139 return nil
140}
141
142func (m *HardwareTopology) GetFormFactor() *Topology {
143 if m != nil {
144 return m.FormFactor
145 }
146 return nil
147}
148
149func (m *HardwareTopology) GetAudio() *Topology {
150 if m != nil {
151 return m.Audio
152 }
153 return nil
154}
155
156func (m *HardwareTopology) GetStylus() *Topology {
157 if m != nil {
158 return m.Stylus
159 }
160 return nil
161}
162
163func (m *HardwareTopology) GetKeyboard() *Topology {
164 if m != nil {
165 return m.Keyboard
166 }
167 return nil
168}
169
170func (m *HardwareTopology) GetThermal() *Topology {
171 if m != nil {
172 return m.Thermal
173 }
174 return nil
175}
176
177func (m *HardwareTopology) GetCamera() *Topology {
178 if m != nil {
179 return m.Camera
180 }
181 return nil
182}
183
184func (m *HardwareTopology) GetAccelerometerGyroscopeMagnetometer() *Topology {
185 if m != nil {
186 return m.AccelerometerGyroscopeMagnetometer
187 }
188 return nil
189}
190
191func (m *HardwareTopology) GetFingerprint() *Topology {
192 if m != nil {
193 return m.Fingerprint
194 }
195 return nil
196}
197
198func (m *HardwareTopology) GetProximitySensor() *Topology {
199 if m != nil {
200 return m.ProximitySensor
201 }
202 return nil
203}
204
205func (m *HardwareTopology) GetDaughterBoard() *Topology {
206 if m != nil {
207 return m.DaughterBoard
208 }
209 return nil
210}
211
212func (m *HardwareTopology) GetNonVolatileStorage() *Topology {
213 if m != nil {
214 return m.NonVolatileStorage
215 }
216 return nil
217}
218
219func (m *HardwareTopology) GetRam() *Topology {
220 if m != nil {
221 return m.Ram
222 }
223 return nil
224}
225
226func (m *HardwareTopology) GetWifi() *Topology {
227 if m != nil {
228 return m.Wifi
229 }
230 return nil
231}
232
233func (m *HardwareTopology) GetLteBoard() *Topology {
234 if m != nil {
235 return m.LteBoard
236 }
237 return nil
238}
239
240func (m *HardwareTopology) GetSdReader() *Topology {
241 if m != nil {
242 return m.SdReader
243 }
244 return nil
245}
246
Jett Rink937839f2020-03-26 12:09:49 -0600247func (m *HardwareTopology) GetMotherboardUsb() *Topology {
248 if m != nil {
249 return m.MotherboardUsb
250 }
251 return nil
252}
253
C Shapiroa681fad2020-04-15 17:05:03 -0500254func (m *HardwareTopology) GetBluetooth() *Topology {
255 if m != nil {
256 return m.Bluetooth
257 }
258 return nil
259}
260
Josie Nordrum206be1b2020-06-04 12:20:16 -0600261func (m *HardwareTopology) GetBarreljack() *Topology {
262 if m != nil {
263 return m.Barreljack
264 }
265 return nil
266}
267
Andrew Lambf723e842020-06-19 10:12:19 -0600268func (m *HardwareTopology) GetPowerButton() *Topology {
269 if m != nil {
270 return m.PowerButton
271 }
272 return nil
273}
274
Andrew Lamb26e72022020-06-19 12:14:32 -0600275func (m *HardwareTopology) GetVolumeButton() *Topology {
276 if m != nil {
277 return m.VolumeButton
278 }
279 return nil
280}
281
Greg Edelston57d9df12020-08-28 13:47:46 -0600282func (m *HardwareTopology) GetEc() *Topology {
283 if m != nil {
284 return m.Ec
285 }
286 return nil
287}
288
Zhuohao Lee8d9f1fb2021-02-01 21:35:07 +0800289func (m *HardwareTopology) GetTouch() *Topology {
290 if m != nil {
291 return m.Touch
292 }
293 return nil
294}
295
Kevin Sheltona1788ee2021-02-18 22:13:13 +0000296func (m *HardwareTopology) GetTpm() *Topology {
297 if m != nil {
298 return m.Tpm
299 }
300 return nil
301}
302
Andrew Lambbc029d32020-02-24 12:42:50 -0700303func init() {
304 proto.RegisterType((*HardwareTopology)(nil), "chromiumos.config.api.HardwareTopology")
305}
306
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700307func init() {
308 proto.RegisterFile("chromiumos/config/api/hardware_topology.proto", fileDescriptor_9e326e49764ac0fb)
309}
Andrew Lambbc029d32020-02-24 12:42:50 -0700310
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700311var fileDescriptor_9e326e49764ac0fb = []byte{
Kevin Sheltona1788ee2021-02-18 22:13:13 +0000312 // 555 bytes of a gzipped FileDescriptorProto
313 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0x4d, 0x6f, 0xd4, 0x30,
314 0x10, 0x86, 0xd5, 0xef, 0xee, 0xec, 0xf6, 0x03, 0xd3, 0x82, 0xc5, 0x05, 0x54, 0xf5, 0x50, 0x21,
315 0x91, 0x15, 0x54, 0x08, 0x21, 0x8a, 0x80, 0x15, 0x2a, 0x15, 0x12, 0x07, 0x5a, 0xe0, 0xc0, 0x25,
316 0x72, 0x9c, 0xd9, 0xc4, 0x34, 0xce, 0x84, 0x89, 0xd3, 0xb2, 0x7f, 0x86, 0xdf, 0x8a, 0xe2, 0x64,
317 0xfb, 0x21, 0x7a, 0xf0, 0x35, 0x79, 0x9f, 0xc7, 0x63, 0xf9, 0x95, 0x0d, 0xcf, 0x74, 0xce, 0x64,
318 0x4d, 0x63, 0xa9, 0x1e, 0x6b, 0x2a, 0xa7, 0x26, 0x1b, 0xab, 0xca, 0x8c, 0x73, 0xc5, 0xe9, 0xa5,
319 0x62, 0x8c, 0x1d, 0x55, 0x54, 0x50, 0x36, 0x8b, 0x2a, 0x26, 0x47, 0x62, 0xf7, 0x3a, 0x1e, 0x75,
320 0xf1, 0x48, 0x55, 0xe6, 0xd1, 0xfe, 0xdd, 0x96, 0xdb, 0xf0, 0xde, 0xdf, 0x11, 0x6c, 0x9f, 0xf4,
321 0xe2, 0x6f, 0xfd, 0x2f, 0xf1, 0x0a, 0x56, 0x6b, 0xcd, 0x88, 0xa5, 0x5c, 0x78, 0xb2, 0x70, 0x30,
322 0x7c, 0xf1, 0x38, 0xba, 0x73, 0x89, 0x68, 0x0e, 0x9c, 0xf6, 0x71, 0xf1, 0x1e, 0x86, 0x53, 0x62,
323 0x1b, 0x4f, 0x95, 0x76, 0xc4, 0x72, 0x31, 0x8c, 0x86, 0x96, 0x39, 0xf6, 0x88, 0x78, 0x09, 0x2b,
324 0xaa, 0x49, 0x0d, 0xc9, 0xa5, 0x30, 0xb6, 0x4b, 0xfb, 0x89, 0xdd, 0xac, 0x68, 0x6a, 0xb9, 0x1c,
325 0x3a, 0xb1, 0x8f, 0x8b, 0x37, 0xb0, 0x7e, 0x8e, 0xb3, 0x84, 0x14, 0xa7, 0x72, 0x25, 0x0c, 0xbd,
326 0x02, 0xc4, 0x6b, 0x58, 0x73, 0x39, 0xb2, 0x55, 0x85, 0x5c, 0x0d, 0x63, 0xe7, 0xf9, 0x76, 0x60,
327 0xad, 0x2c, 0xb2, 0x92, 0x6b, 0x81, 0x03, 0x77, 0x71, 0xf1, 0x1b, 0xf6, 0x95, 0xd6, 0x58, 0x20,
328 0x93, 0x45, 0x87, 0x1c, 0x67, 0x33, 0xa6, 0x5a, 0x53, 0x85, 0xb1, 0x55, 0x59, 0x89, 0xae, 0xfb,
329 0x2c, 0xd7, 0xc3, 0xb4, 0x7b, 0xb7, 0x64, 0x9f, 0xe6, 0xae, 0x2f, 0x37, 0x54, 0xe2, 0x03, 0x0c,
330 0xa7, 0xa6, 0xcc, 0x90, 0x2b, 0x36, 0xa5, 0x93, 0x83, 0x30, 0xf3, 0x4d, 0x46, 0x7c, 0x86, 0xed,
331 0x8a, 0xe9, 0x8f, 0xb1, 0xc6, 0xcd, 0xe2, 0x1a, 0xcb, 0x9a, 0x58, 0x42, 0x98, 0x67, 0xeb, 0x0a,
332 0x3c, 0xf3, 0x9c, 0x38, 0x86, 0xcd, 0x54, 0x35, 0x59, 0xde, 0x6e, 0xbe, 0x3b, 0xb8, 0x61, 0x98,
333 0x69, 0x63, 0x8e, 0x4d, 0xfc, 0xe9, 0x7d, 0x85, 0x9d, 0x92, 0xca, 0xf8, 0x82, 0x0a, 0xe5, 0x4c,
334 0x81, 0x71, 0xed, 0x88, 0x55, 0x86, 0x72, 0x14, 0x66, 0x13, 0x25, 0x95, 0x3f, 0x7a, 0xf6, 0xac,
335 0x43, 0xc5, 0x73, 0x58, 0x62, 0x65, 0xe5, 0x46, 0x98, 0xa1, 0xcd, 0x8a, 0x43, 0x58, 0xbe, 0x34,
336 0x53, 0x23, 0x37, 0xc3, 0x18, 0x1f, 0x16, 0x47, 0x30, 0x28, 0x1c, 0xf6, 0xbb, 0xdf, 0x0a, 0xac,
337 0x6d, 0xe1, 0xb0, 0xdb, 0xf8, 0x11, 0x0c, 0xea, 0x34, 0x66, 0x54, 0x29, 0xb2, 0xdc, 0x0e, 0xa4,
338 0xeb, 0xf4, 0xd4, 0x03, 0xe2, 0x04, 0xb6, 0x2c, 0xb5, 0x35, 0xf6, 0xab, 0xc7, 0x4d, 0x9d, 0xc8,
339 0x7b, 0x61, 0x8e, 0xcd, 0x1b, 0xdc, 0xf7, 0x3a, 0x11, 0x6f, 0x61, 0x90, 0x14, 0x0d, 0x3a, 0x22,
340 0x97, 0x4b, 0x11, 0xe6, 0xb8, 0x26, 0xc4, 0x3b, 0x80, 0x44, 0x31, 0x63, 0xf1, 0x4b, 0xe9, 0x73,
341 0x79, 0x3f, 0xf0, 0xae, 0xb9, 0x46, 0xc4, 0x04, 0x46, 0x15, 0x5d, 0xb6, 0x2d, 0x6a, 0x9c, 0xa3,
342 0x52, 0xee, 0x04, 0x16, 0xdb, 0x43, 0x13, 0xcf, 0x88, 0x8f, 0xb0, 0x71, 0x41, 0x45, 0x63, 0x71,
343 0x2e, 0xd9, 0x0d, 0x93, 0x8c, 0x3a, 0xaa, 0xb7, 0x8c, 0x61, 0x11, 0xb5, 0x7c, 0x10, 0x86, 0x2e,
344 0xa2, 0x6e, 0xaf, 0x49, 0x47, 0x8d, 0xce, 0xe5, 0xc3, 0xc0, 0x6b, 0xd2, 0xa7, 0xdb, 0x7e, 0xba,
345 0xca, 0x4a, 0x19, 0xd8, 0x4f, 0x57, 0xd9, 0xc9, 0xd3, 0x9f, 0x07, 0x19, 0x5d, 0x25, 0x23, 0xe2,
346 0x6c, 0xfc, 0xff, 0xc3, 0x92, 0x51, 0xfb, 0xb6, 0x24, 0xab, 0xfe, 0x4d, 0x39, 0xfc, 0x17, 0x00,
347 0x00, 0xff, 0xff, 0x39, 0xe1, 0x10, 0xe6, 0xc1, 0x06, 0x00, 0x00,
Andrew Lambbc029d32020-02-24 12:42:50 -0700348}