blob: d4b9465d2c0a5d617d1e2c2f7a4e481417462600 [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"`
70 // Specify the ram topology.
71 // See ./hardware_topology.md#ram for more information.
72 Ram *Topology `protobuf:"bytes,13,opt,name=ram,proto3" json:"ram,omitempty"`
73 // Specify the wifi topology.
74 // See ./hardware_topology.md#wifi for more information.
75 Wifi *Topology `protobuf:"bytes,14,opt,name=wifi,proto3" json:"wifi,omitempty"`
76 // Specify the LTE sub-board topology.
77 // See ./hardware_topology.md#lte-board for more information.
78 LteBoard *Topology `protobuf:"bytes,15,opt,name=lte_board,json=lteBoard,proto3" json:"lte_board,omitempty"`
79 // Specify the SD card reader topology.
80 // See ./hardware_topology.md#sd-reader for more information.
Jett Rink937839f2020-03-26 12:09:49 -060081 SdReader *Topology `protobuf:"bytes,16,opt,name=sd_reader,json=sdReader,proto3" json:"sd_reader,omitempty"`
82 // Specify the motherboard USB topology
83 // See ./hardware_topology.md#motherboard-usb for more information.
C Shapiroa681fad2020-04-15 17:05:03 -050084 MotherboardUsb *Topology `protobuf:"bytes,17,opt,name=motherboard_usb,json=motherboardUsb,proto3" json:"motherboard_usb,omitempty"`
85 // Specify the bluetooth topology
86 // See ./hardware_topology.md#bluetooth for more information.
Josie Nordrum206be1b2020-06-04 12:20:16 -060087 Bluetooth *Topology `protobuf:"bytes,18,opt,name=bluetooth,proto3" json:"bluetooth,omitempty"`
88 // Specify the barreljack topology
89 // See ./hardware_topology.md#barreljack for more information.
Andrew Lambf723e842020-06-19 10:12:19 -060090 Barreljack *Topology `protobuf:"bytes,19,opt,name=barreljack,proto3" json:"barreljack,omitempty"`
91 // Specify the power button topology.
Andrew Lamb26e72022020-06-19 12:14:32 -060092 // See ./hardware_topology.md#power-button for more information.
93 PowerButton *Topology `protobuf:"bytes,20,opt,name=power_button,json=powerButton,proto3" json:"power_button,omitempty"`
94 // Specify the volume button topology.
95 // See ./hardware_topology.md#volume-button for more information.
96 VolumeButton *Topology `protobuf:"bytes,21,opt,name=volume_button,json=volumeButton,proto3" json:"volume_button,omitempty"`
Andrew Lambbc029d32020-02-24 12:42:50 -070097 XXX_NoUnkeyedLiteral struct{} `json:"-"`
98 XXX_unrecognized []byte `json:"-"`
99 XXX_sizecache int32 `json:"-"`
100}
101
102func (m *HardwareTopology) Reset() { *m = HardwareTopology{} }
103func (m *HardwareTopology) String() string { return proto.CompactTextString(m) }
104func (*HardwareTopology) ProtoMessage() {}
105func (*HardwareTopology) Descriptor() ([]byte, []int) {
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700106 return fileDescriptor_9e326e49764ac0fb, []int{0}
Andrew Lambbc029d32020-02-24 12:42:50 -0700107}
108
109func (m *HardwareTopology) XXX_Unmarshal(b []byte) error {
110 return xxx_messageInfo_HardwareTopology.Unmarshal(m, b)
111}
112func (m *HardwareTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
113 return xxx_messageInfo_HardwareTopology.Marshal(b, m, deterministic)
114}
115func (m *HardwareTopology) XXX_Merge(src proto.Message) {
116 xxx_messageInfo_HardwareTopology.Merge(m, src)
117}
118func (m *HardwareTopology) XXX_Size() int {
119 return xxx_messageInfo_HardwareTopology.Size(m)
120}
121func (m *HardwareTopology) XXX_DiscardUnknown() {
122 xxx_messageInfo_HardwareTopology.DiscardUnknown(m)
123}
124
125var xxx_messageInfo_HardwareTopology proto.InternalMessageInfo
126
127func (m *HardwareTopology) GetScreen() *Topology {
128 if m != nil {
129 return m.Screen
130 }
131 return nil
132}
133
134func (m *HardwareTopology) GetFormFactor() *Topology {
135 if m != nil {
136 return m.FormFactor
137 }
138 return nil
139}
140
141func (m *HardwareTopology) GetAudio() *Topology {
142 if m != nil {
143 return m.Audio
144 }
145 return nil
146}
147
148func (m *HardwareTopology) GetStylus() *Topology {
149 if m != nil {
150 return m.Stylus
151 }
152 return nil
153}
154
155func (m *HardwareTopology) GetKeyboard() *Topology {
156 if m != nil {
157 return m.Keyboard
158 }
159 return nil
160}
161
162func (m *HardwareTopology) GetThermal() *Topology {
163 if m != nil {
164 return m.Thermal
165 }
166 return nil
167}
168
169func (m *HardwareTopology) GetCamera() *Topology {
170 if m != nil {
171 return m.Camera
172 }
173 return nil
174}
175
176func (m *HardwareTopology) GetAccelerometerGyroscopeMagnetometer() *Topology {
177 if m != nil {
178 return m.AccelerometerGyroscopeMagnetometer
179 }
180 return nil
181}
182
183func (m *HardwareTopology) GetFingerprint() *Topology {
184 if m != nil {
185 return m.Fingerprint
186 }
187 return nil
188}
189
190func (m *HardwareTopology) GetProximitySensor() *Topology {
191 if m != nil {
192 return m.ProximitySensor
193 }
194 return nil
195}
196
197func (m *HardwareTopology) GetDaughterBoard() *Topology {
198 if m != nil {
199 return m.DaughterBoard
200 }
201 return nil
202}
203
204func (m *HardwareTopology) GetNonVolatileStorage() *Topology {
205 if m != nil {
206 return m.NonVolatileStorage
207 }
208 return nil
209}
210
211func (m *HardwareTopology) GetRam() *Topology {
212 if m != nil {
213 return m.Ram
214 }
215 return nil
216}
217
218func (m *HardwareTopology) GetWifi() *Topology {
219 if m != nil {
220 return m.Wifi
221 }
222 return nil
223}
224
225func (m *HardwareTopology) GetLteBoard() *Topology {
226 if m != nil {
227 return m.LteBoard
228 }
229 return nil
230}
231
232func (m *HardwareTopology) GetSdReader() *Topology {
233 if m != nil {
234 return m.SdReader
235 }
236 return nil
237}
238
Jett Rink937839f2020-03-26 12:09:49 -0600239func (m *HardwareTopology) GetMotherboardUsb() *Topology {
240 if m != nil {
241 return m.MotherboardUsb
242 }
243 return nil
244}
245
C Shapiroa681fad2020-04-15 17:05:03 -0500246func (m *HardwareTopology) GetBluetooth() *Topology {
247 if m != nil {
248 return m.Bluetooth
249 }
250 return nil
251}
252
Josie Nordrum206be1b2020-06-04 12:20:16 -0600253func (m *HardwareTopology) GetBarreljack() *Topology {
254 if m != nil {
255 return m.Barreljack
256 }
257 return nil
258}
259
Andrew Lambf723e842020-06-19 10:12:19 -0600260func (m *HardwareTopology) GetPowerButton() *Topology {
261 if m != nil {
262 return m.PowerButton
263 }
264 return nil
265}
266
Andrew Lamb26e72022020-06-19 12:14:32 -0600267func (m *HardwareTopology) GetVolumeButton() *Topology {
268 if m != nil {
269 return m.VolumeButton
270 }
271 return nil
272}
273
Andrew Lambbc029d32020-02-24 12:42:50 -0700274func init() {
275 proto.RegisterType((*HardwareTopology)(nil), "chromiumos.config.api.HardwareTopology")
276}
277
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700278func init() {
279 proto.RegisterFile("chromiumos/config/api/hardware_topology.proto", fileDescriptor_9e326e49764ac0fb)
280}
Andrew Lambbc029d32020-02-24 12:42:50 -0700281
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700282var fileDescriptor_9e326e49764ac0fb = []byte{
Andrew Lamb26e72022020-06-19 12:14:32 -0600283 // 522 bytes of a gzipped FileDescriptorProto
284 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdf, 0x6b, 0xd4, 0x40,
285 0x10, 0xc7, 0xa9, 0x6d, 0xaf, 0xbd, 0xb9, 0x9f, 0xae, 0x2d, 0x2c, 0xbe, 0x28, 0xa5, 0x0f, 0x45,
286 0x30, 0x87, 0x16, 0x11, 0xb1, 0xa2, 0x1e, 0x52, 0x8b, 0xe0, 0x83, 0xad, 0xfa, 0xe0, 0x4b, 0xd8,
287 0x24, 0x73, 0xb9, 0xb5, 0x49, 0x26, 0xce, 0x6e, 0x7a, 0xde, 0xb3, 0xff, 0xb8, 0x64, 0x73, 0xbf,
288 0x4a, 0xfb, 0xb0, 0xaf, 0xc9, 0xf7, 0xf3, 0xd9, 0x19, 0x66, 0x18, 0x78, 0x1e, 0x4f, 0x99, 0x72,
289 0x5d, 0xe5, 0x64, 0x46, 0x31, 0x15, 0x13, 0x9d, 0x8e, 0x54, 0xa9, 0x47, 0x53, 0xc5, 0xc9, 0x4c,
290 0x31, 0x86, 0x96, 0x4a, 0xca, 0x28, 0x9d, 0x07, 0x25, 0x93, 0x25, 0x71, 0xb8, 0x8e, 0x07, 0x4d,
291 0x3c, 0x50, 0xa5, 0x7e, 0x7c, 0x7c, 0xbf, 0xe5, 0x36, 0x7c, 0xf4, 0xaf, 0x03, 0xc3, 0x8b, 0x85,
292 0xf8, 0xfb, 0xe2, 0x97, 0x78, 0x0d, 0x2d, 0x13, 0x33, 0x62, 0x21, 0xb7, 0x9e, 0x6e, 0x9d, 0x74,
293 0x5e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0xbd, 0x6f, 0x70, 0x50, 0x50, 0x11, 0xde, 0x50, 0xa6, 0xac, 0xce,
305 0x30, 0x34, 0x96, 0x58, 0xa5, 0x28, 0xbb, 0x7e, 0x36, 0x51, 0x50, 0xf1, 0x73, 0xc1, 0x5e, 0x35,
306 0xa8, 0x78, 0x01, 0xdb, 0xac, 0x72, 0xd9, 0xf3, 0x33, 0xd4, 0x59, 0x71, 0x0a, 0x3b, 0x33, 0x3d,
307 0xd1, 0xb2, 0xef, 0xc7, 0xb8, 0xb0, 0x38, 0x83, 0x76, 0x66, 0x71, 0xd1, 0xfd, 0xc0, 0x73, 0x6d,
308 0x33, 0x8b, 0x4d, 0xe3, 0x67, 0xd0, 0x36, 0x49, 0xc8, 0xa8, 0x12, 0x64, 0x39, 0xf4, 0xa4, 0x4d,
309 0x72, 0xe9, 0x00, 0x71, 0x01, 0x83, 0x9c, 0xea, 0x35, 0x76, 0xaf, 0x87, 0x95, 0x89, 0xe4, 0x43,
310 0x3f, 0x47, 0x7f, 0x83, 0xfb, 0x61, 0x22, 0xf1, 0x0e, 0xda, 0x51, 0x56, 0xa1, 0x25, 0xb2, 0x53,
311 0x29, 0xfc, 0x1c, 0x6b, 0x42, 0xbc, 0x07, 0x88, 0x14, 0x33, 0x66, 0xbf, 0x55, 0x7c, 0x2d, 0x1f,
312 0x79, 0xde, 0x9a, 0x35, 0x22, 0xc6, 0xd0, 0x2d, 0x69, 0x56, 0x6f, 0x51, 0x65, 0x2d, 0x15, 0xf2,
313 0xc0, 0x73, 0xb1, 0x1d, 0x34, 0x76, 0x8c, 0xf8, 0x04, 0xbd, 0x1b, 0xca, 0xaa, 0x1c, 0x97, 0x92,
314 0x43, 0x3f, 0x49, 0xb7, 0xa1, 0x1a, 0xcb, 0xf8, 0xd9, 0xaf, 0x93, 0x94, 0x56, 0x48, 0x40, 0x9c,
315 0x8e, 0xee, 0x5e, 0xef, 0x94, 0xea, 0x03, 0x1e, 0xb5, 0xdc, 0xe1, 0x3e, 0xfd, 0x1f, 0x00, 0x00,
316 0xff, 0xff, 0x9f, 0xf7, 0xee, 0x1a, 0x26, 0x06, 0x00, 0x00,
Andrew Lambbc029d32020-02-24 12:42:50 -0700317}