blob: 5e52a08988b788a765e581d3bbff51920a37c854 [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.
98 Ec *Topology `protobuf:"bytes,22,opt,name=ec,proto3" json:"ec,omitempty"`
Andrew Lambbc029d32020-02-24 12:42:50 -070099 XXX_NoUnkeyedLiteral struct{} `json:"-"`
100 XXX_unrecognized []byte `json:"-"`
101 XXX_sizecache int32 `json:"-"`
102}
103
104func (m *HardwareTopology) Reset() { *m = HardwareTopology{} }
105func (m *HardwareTopology) String() string { return proto.CompactTextString(m) }
106func (*HardwareTopology) ProtoMessage() {}
107func (*HardwareTopology) Descriptor() ([]byte, []int) {
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700108 return fileDescriptor_9e326e49764ac0fb, []int{0}
Andrew Lambbc029d32020-02-24 12:42:50 -0700109}
110
111func (m *HardwareTopology) XXX_Unmarshal(b []byte) error {
112 return xxx_messageInfo_HardwareTopology.Unmarshal(m, b)
113}
114func (m *HardwareTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
115 return xxx_messageInfo_HardwareTopology.Marshal(b, m, deterministic)
116}
117func (m *HardwareTopology) XXX_Merge(src proto.Message) {
118 xxx_messageInfo_HardwareTopology.Merge(m, src)
119}
120func (m *HardwareTopology) XXX_Size() int {
121 return xxx_messageInfo_HardwareTopology.Size(m)
122}
123func (m *HardwareTopology) XXX_DiscardUnknown() {
124 xxx_messageInfo_HardwareTopology.DiscardUnknown(m)
125}
126
127var xxx_messageInfo_HardwareTopology proto.InternalMessageInfo
128
129func (m *HardwareTopology) GetScreen() *Topology {
130 if m != nil {
131 return m.Screen
132 }
133 return nil
134}
135
136func (m *HardwareTopology) GetFormFactor() *Topology {
137 if m != nil {
138 return m.FormFactor
139 }
140 return nil
141}
142
143func (m *HardwareTopology) GetAudio() *Topology {
144 if m != nil {
145 return m.Audio
146 }
147 return nil
148}
149
150func (m *HardwareTopology) GetStylus() *Topology {
151 if m != nil {
152 return m.Stylus
153 }
154 return nil
155}
156
157func (m *HardwareTopology) GetKeyboard() *Topology {
158 if m != nil {
159 return m.Keyboard
160 }
161 return nil
162}
163
164func (m *HardwareTopology) GetThermal() *Topology {
165 if m != nil {
166 return m.Thermal
167 }
168 return nil
169}
170
171func (m *HardwareTopology) GetCamera() *Topology {
172 if m != nil {
173 return m.Camera
174 }
175 return nil
176}
177
178func (m *HardwareTopology) GetAccelerometerGyroscopeMagnetometer() *Topology {
179 if m != nil {
180 return m.AccelerometerGyroscopeMagnetometer
181 }
182 return nil
183}
184
185func (m *HardwareTopology) GetFingerprint() *Topology {
186 if m != nil {
187 return m.Fingerprint
188 }
189 return nil
190}
191
192func (m *HardwareTopology) GetProximitySensor() *Topology {
193 if m != nil {
194 return m.ProximitySensor
195 }
196 return nil
197}
198
199func (m *HardwareTopology) GetDaughterBoard() *Topology {
200 if m != nil {
201 return m.DaughterBoard
202 }
203 return nil
204}
205
206func (m *HardwareTopology) GetNonVolatileStorage() *Topology {
207 if m != nil {
208 return m.NonVolatileStorage
209 }
210 return nil
211}
212
213func (m *HardwareTopology) GetRam() *Topology {
214 if m != nil {
215 return m.Ram
216 }
217 return nil
218}
219
220func (m *HardwareTopology) GetWifi() *Topology {
221 if m != nil {
222 return m.Wifi
223 }
224 return nil
225}
226
227func (m *HardwareTopology) GetLteBoard() *Topology {
228 if m != nil {
229 return m.LteBoard
230 }
231 return nil
232}
233
234func (m *HardwareTopology) GetSdReader() *Topology {
235 if m != nil {
236 return m.SdReader
237 }
238 return nil
239}
240
Jett Rink937839f2020-03-26 12:09:49 -0600241func (m *HardwareTopology) GetMotherboardUsb() *Topology {
242 if m != nil {
243 return m.MotherboardUsb
244 }
245 return nil
246}
247
C Shapiroa681fad2020-04-15 17:05:03 -0500248func (m *HardwareTopology) GetBluetooth() *Topology {
249 if m != nil {
250 return m.Bluetooth
251 }
252 return nil
253}
254
Josie Nordrum206be1b2020-06-04 12:20:16 -0600255func (m *HardwareTopology) GetBarreljack() *Topology {
256 if m != nil {
257 return m.Barreljack
258 }
259 return nil
260}
261
Andrew Lambf723e842020-06-19 10:12:19 -0600262func (m *HardwareTopology) GetPowerButton() *Topology {
263 if m != nil {
264 return m.PowerButton
265 }
266 return nil
267}
268
Andrew Lamb26e72022020-06-19 12:14:32 -0600269func (m *HardwareTopology) GetVolumeButton() *Topology {
270 if m != nil {
271 return m.VolumeButton
272 }
273 return nil
274}
275
Greg Edelston57d9df12020-08-28 13:47:46 -0600276func (m *HardwareTopology) GetEc() *Topology {
277 if m != nil {
278 return m.Ec
279 }
280 return nil
281}
282
Andrew Lambbc029d32020-02-24 12:42:50 -0700283func init() {
284 proto.RegisterType((*HardwareTopology)(nil), "chromiumos.config.api.HardwareTopology")
285}
286
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700287func init() {
288 proto.RegisterFile("chromiumos/config/api/hardware_topology.proto", fileDescriptor_9e326e49764ac0fb)
289}
Andrew Lambbc029d32020-02-24 12:42:50 -0700290
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700291var fileDescriptor_9e326e49764ac0fb = []byte{
Greg Edelston57d9df12020-08-28 13:47:46 -0600292 // 533 bytes of a gzipped FileDescriptorProto
293 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4d, 0x6f, 0xd3, 0x40,
294 0x10, 0x86, 0xd5, 0xb4, 0x4d, 0x9b, 0xc9, 0x27, 0x4b, 0x8b, 0x56, 0x5c, 0x40, 0x55, 0x0f, 0x15,
295 0x12, 0x8e, 0xa0, 0x42, 0x08, 0x51, 0x04, 0x44, 0xa8, 0x54, 0x48, 0x1c, 0x68, 0x81, 0x03, 0x17,
296 0x6b, 0x6d, 0x4f, 0x9c, 0xa5, 0xb6, 0xc7, 0x8c, 0xd7, 0x0d, 0xf9, 0x5f, 0xfc, 0x40, 0xe4, 0xb5,
297 0xf3, 0x51, 0xb5, 0x87, 0xbd, 0xda, 0xef, 0xf3, 0xec, 0x8c, 0x66, 0x34, 0xf0, 0x3c, 0x9c, 0x31,
298 0xa5, 0xba, 0x4c, 0xa9, 0x18, 0x87, 0x94, 0x4d, 0x75, 0x3c, 0x56, 0xb9, 0x1e, 0xcf, 0x14, 0x47,
299 0x73, 0xc5, 0xe8, 0x1b, 0xca, 0x29, 0xa1, 0x78, 0xe1, 0xe5, 0x4c,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c9, 0x88, 0x2f,
311 0x30, 0xca, 0x99, 0xfe, 0xea, 0x54, 0x9b, 0x85, 0x5f, 0x60, 0x56, 0x10, 0x4b, 0x70, 0xf3, 0x0c,
312 0x57, 0xe0, 0x95, 0xe5, 0xc4, 0x39, 0x0c, 0x22, 0x55, 0xc6, 0xb3, 0xaa, 0xf9, 0x7a, 0x70, 0x5d,
313 0x37, 0x53, 0x7f, 0x89, 0x4d, 0xec, 0xf4, 0xbe, 0xc1, 0x41, 0x46, 0x99, 0x7f, 0x43, 0x89, 0x32,
314 0x3a, 0x41, 0xbf, 0x30, 0xc4, 0x2a, 0x46, 0xd9, 0x73, 0xb3, 0x89, 0x8c, 0xb2, 0x9f, 0x0d, 0x7b,
315 0x55, 0xa3, 0xe2, 0x05, 0x6c, 0xb3, 0x4a, 0x65, 0xdf, 0xcd, 0x50, 0x65, 0xc5, 0x29, 0xec, 0xcc,
316 0xf5, 0x54, 0xcb, 0x81, 0x1b, 0x63, 0xc3, 0xe2, 0x0c, 0x3a, 0x89, 0xc1, 0xa6, 0xfb, 0xa1, 0xe3,
317 0xda, 0x26, 0x06, 0xeb, 0xc6, 0xcf, 0xa0, 0x53, 0x44, 0x3e, 0xa3, 0x8a, 0x90, 0xe5, 0xc8, 0x91,
318 0x2e, 0xa2, 0x4b, 0x0b, 0x88, 0x0b, 0x18, 0xa6, 0x54, 0xad, 0xb1, 0x7d, 0xdd, 0x2f, 0x8b, 0x40,
319 0x3e, 0x70, 0x73, 0x0c, 0x36, 0xb8, 0x1f, 0x45, 0x20, 0xde, 0x41, 0x27, 0x48, 0x4a, 0x34, 0x44,
320 0x66, 0x26, 0x85, 0x9b, 0x63, 0x4d, 0x88, 0xf7, 0x00, 0x81, 0x62, 0xc6, 0xe4, 0xb7, 0x0a, 0xaf,
321 0xe5, 0x43, 0xc7, 0x5b, 0xb3, 0x46, 0xc4, 0x04, 0x7a, 0x39, 0xcd, 0xab, 0x2d, 0x2a, 0x8d, 0xa1,
322 0x4c, 0x1e, 0x38, 0x2e, 0xb6, 0x85, 0x26, 0x96, 0x11, 0x9f, 0xa0, 0x7f, 0x43, 0x49, 0x99, 0xe2,
323 0x52, 0x72, 0xe8, 0x26, 0xe9, 0xd5, 0x54, 0x63, 0x19, 0x43, 0x0b, 0x43, 0xf9, 0xc8, 0x0d, 0x6d,
324 0x61, 0x38, 0x79, 0xf6, 0xeb, 0x24, 0xa6, 0x55, 0xd0, 0x23, 0x8e, 0xc7, 0x77, 0xcf, 0x7d, 0x4c,
325 0xd5, 0xc5, 0x0f, 0xda, 0xf6, 0xd2, 0x9f, 0xfe, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x63, 0xd9,
326 0x1f, 0x57, 0x06, 0x00, 0x00,
Andrew Lambbc029d32020-02-24 12:42:50 -0700327}