blob: 2a515fabe338cbe698be7633497a0a32998c9a98 [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.
87 Bluetooth *Topology `protobuf:"bytes,18,opt,name=bluetooth,proto3" json:"bluetooth,omitempty"`
Andrew Lambbc029d32020-02-24 12:42:50 -070088 XXX_NoUnkeyedLiteral struct{} `json:"-"`
89 XXX_unrecognized []byte `json:"-"`
90 XXX_sizecache int32 `json:"-"`
91}
92
93func (m *HardwareTopology) Reset() { *m = HardwareTopology{} }
94func (m *HardwareTopology) String() string { return proto.CompactTextString(m) }
95func (*HardwareTopology) ProtoMessage() {}
96func (*HardwareTopology) Descriptor() ([]byte, []int) {
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -070097 return fileDescriptor_9e326e49764ac0fb, []int{0}
Andrew Lambbc029d32020-02-24 12:42:50 -070098}
99
100func (m *HardwareTopology) XXX_Unmarshal(b []byte) error {
101 return xxx_messageInfo_HardwareTopology.Unmarshal(m, b)
102}
103func (m *HardwareTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
104 return xxx_messageInfo_HardwareTopology.Marshal(b, m, deterministic)
105}
106func (m *HardwareTopology) XXX_Merge(src proto.Message) {
107 xxx_messageInfo_HardwareTopology.Merge(m, src)
108}
109func (m *HardwareTopology) XXX_Size() int {
110 return xxx_messageInfo_HardwareTopology.Size(m)
111}
112func (m *HardwareTopology) XXX_DiscardUnknown() {
113 xxx_messageInfo_HardwareTopology.DiscardUnknown(m)
114}
115
116var xxx_messageInfo_HardwareTopology proto.InternalMessageInfo
117
118func (m *HardwareTopology) GetScreen() *Topology {
119 if m != nil {
120 return m.Screen
121 }
122 return nil
123}
124
125func (m *HardwareTopology) GetFormFactor() *Topology {
126 if m != nil {
127 return m.FormFactor
128 }
129 return nil
130}
131
132func (m *HardwareTopology) GetAudio() *Topology {
133 if m != nil {
134 return m.Audio
135 }
136 return nil
137}
138
139func (m *HardwareTopology) GetStylus() *Topology {
140 if m != nil {
141 return m.Stylus
142 }
143 return nil
144}
145
146func (m *HardwareTopology) GetKeyboard() *Topology {
147 if m != nil {
148 return m.Keyboard
149 }
150 return nil
151}
152
153func (m *HardwareTopology) GetThermal() *Topology {
154 if m != nil {
155 return m.Thermal
156 }
157 return nil
158}
159
160func (m *HardwareTopology) GetCamera() *Topology {
161 if m != nil {
162 return m.Camera
163 }
164 return nil
165}
166
167func (m *HardwareTopology) GetAccelerometerGyroscopeMagnetometer() *Topology {
168 if m != nil {
169 return m.AccelerometerGyroscopeMagnetometer
170 }
171 return nil
172}
173
174func (m *HardwareTopology) GetFingerprint() *Topology {
175 if m != nil {
176 return m.Fingerprint
177 }
178 return nil
179}
180
181func (m *HardwareTopology) GetProximitySensor() *Topology {
182 if m != nil {
183 return m.ProximitySensor
184 }
185 return nil
186}
187
188func (m *HardwareTopology) GetDaughterBoard() *Topology {
189 if m != nil {
190 return m.DaughterBoard
191 }
192 return nil
193}
194
195func (m *HardwareTopology) GetNonVolatileStorage() *Topology {
196 if m != nil {
197 return m.NonVolatileStorage
198 }
199 return nil
200}
201
202func (m *HardwareTopology) GetRam() *Topology {
203 if m != nil {
204 return m.Ram
205 }
206 return nil
207}
208
209func (m *HardwareTopology) GetWifi() *Topology {
210 if m != nil {
211 return m.Wifi
212 }
213 return nil
214}
215
216func (m *HardwareTopology) GetLteBoard() *Topology {
217 if m != nil {
218 return m.LteBoard
219 }
220 return nil
221}
222
223func (m *HardwareTopology) GetSdReader() *Topology {
224 if m != nil {
225 return m.SdReader
226 }
227 return nil
228}
229
Jett Rink937839f2020-03-26 12:09:49 -0600230func (m *HardwareTopology) GetMotherboardUsb() *Topology {
231 if m != nil {
232 return m.MotherboardUsb
233 }
234 return nil
235}
236
C Shapiroa681fad2020-04-15 17:05:03 -0500237func (m *HardwareTopology) GetBluetooth() *Topology {
238 if m != nil {
239 return m.Bluetooth
240 }
241 return nil
242}
243
Andrew Lambbc029d32020-02-24 12:42:50 -0700244func init() {
245 proto.RegisterType((*HardwareTopology)(nil), "chromiumos.config.api.HardwareTopology")
246}
247
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700248func init() {
249 proto.RegisterFile("chromiumos/config/api/hardware_topology.proto", fileDescriptor_9e326e49764ac0fb)
250}
Andrew Lambbc029d32020-02-24 12:42:50 -0700251
Prathmesh Prabhu72f8a002020-04-10 09:57:53 -0700252var fileDescriptor_9e326e49764ac0fb = []byte{
C Shapiroa681fad2020-04-15 17:05:03 -0500253 // 472 bytes of a gzipped FileDescriptorProto
254 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcf, 0x6b, 0x14, 0x31,
255 0x14, 0x80, 0xa9, 0x6d, 0xb7, 0xdd, 0xb7, 0x76, 0x77, 0x0d, 0x0a, 0xc1, 0x8b, 0x52, 0x7a, 0x28,
256 0x82, 0xb3, 0x68, 0x11, 0x11, 0x2b, 0x68, 0x0f, 0xb5, 0x08, 0x1e, 0x6c, 0xd5, 0x83, 0x97, 0x21,
257 0x3b, 0xf3, 0x36, 0x1b, 0x9c, 0xe4, 0x8d, 0x2f, 0x19, 0xeb, 0xfc, 0x67, 0xfe, 0x79, 0x32, 0x3f,
258 0x76, 0xbb, 0xc5, 0x1e, 0x72, 0x9d, 0xf9, 0xbe, 0x2f, 0x2f, 0x24, 0x04, 0x9e, 0x67, 0x4b, 0x26,
259 0x6b, 0x2a, 0x4b, 0x7e, 0x96, 0x91, 0x5b, 0x18, 0x3d, 0x53, 0xa5, 0x99, 0x2d, 0x15, 0xe7, 0xd7,
260 0x8a, 0x31, 0x0d, 0x54, 0x52, 0x41, 0xba, 0x4e, 0x4a, 0xa6, 0x40, 0xe2, 0xd1, 0x0d, 0x9e, 0x74,
261 0x78, 0xa2, 0x4a, 0xf3, 0xf8, 0xe8, 0xee, 0xca, 0x6d, 0xf9, 0xf0, 0xef, 0x10, 0xa6, 0x17, 0x7d,
262 0xf8, 0x6b, 0xff, 0x4b, 0xbc, 0x86, 0x81, 0xcf, 0x18, 0xd1, 0xc9, 0xad, 0xa7, 0x5b, 0xc7, 0xa3,
263 0x97, 0x4f, 0x92, 0x3b, 0x97, 0x48, 0x56, 0xc2, 0x65, 0x8f, 0x8b, 0xf7, 0x30, 0x5a, 0x10, 0xdb,
264 0x74, 0xa1, 0xb2, 0x40, 0x2c, 0xef, 0xc5, 0xd9, 0xd0, 0x38, 0xe7, 0xad, 0x22, 0x5e, 0xc1, 0xae,
265 0xaa, 0x72, 0x43, 0x72, 0x3b, 0xce, 0xed, 0xe8, 0x76, 0xe2, 0x50, 0x17, 0x95, 0x97, 0x3b, 0xb1,
266 0x13, 0xb7, 0xb8, 0x78, 0x0b, 0xfb, 0x3f, 0xb1, 0x9e, 0x93, 0xe2, 0x5c, 0xee, 0xc6, 0xa9, 0x6b,
267 0x41, 0xbc, 0x81, 0xbd, 0xb0, 0x44, 0xb6, 0xaa, 0x90, 0x83, 0x38, 0x77, 0xc5, 0x37, 0x03, 0x67,
268 0xca, 0x22, 0x2b, 0xb9, 0x17, 0x39, 0x70, 0x87, 0x8b, 0x5f, 0x70, 0xa4, 0xb2, 0x0c, 0x0b, 0x64,
269 0xb2, 0x18, 0x90, 0x53, 0x5d, 0x33, 0xf9, 0x8c, 0x4a, 0x4c, 0xad, 0xd2, 0x0e, 0x43, 0xf7, 0x59,
270 0xee, 0xc7, 0x65, 0x0f, 0x6f, 0xc5, 0x3e, 0xae, 0x5a, 0x9f, 0x37, 0x52, 0xe2, 0x03, 0x8c, 0x16,
271 0xc6, 0x69, 0xe4, 0x92, 0x8d, 0x0b, 0x72, 0x18, 0x57, 0xde, 0x74, 0xc4, 0x27, 0x98, 0x96, 0x4c,
272 0x7f, 0x8c, 0x35, 0xa1, 0x4e, 0x3d, 0x3a, 0x4f, 0x2c, 0x21, 0xae, 0x33, 0x59, 0x8b, 0x57, 0xad,
273 0x27, 0xce, 0x61, 0x9c, 0xab, 0x4a, 0x2f, 0x9b, 0xcd, 0x77, 0x07, 0x37, 0x8a, 0x2b, 0x1d, 0xac,
274 0xb4, 0xb3, 0xf6, 0xf4, 0xbe, 0xc0, 0x43, 0x47, 0x2e, 0xfd, 0x4d, 0x85, 0x0a, 0xa6, 0xc0, 0xd4,
275 0x07, 0x62, 0xa5, 0x51, 0xde, 0x8f, 0xab, 0x09, 0x47, 0xee, 0x7b, 0xef, 0x5e, 0x75, 0xaa, 0x78,
276 0x01, 0xdb, 0xac, 0xac, 0x3c, 0x88, 0x2b, 0x34, 0xac, 0x38, 0x81, 0x9d, 0x6b, 0xb3, 0x30, 0x72,
277 0x1c, 0xe7, 0xb4, 0xb0, 0x38, 0x85, 0x61, 0x11, 0xb0, 0xdf, 0xfd, 0x24, 0xf2, 0xda, 0x16, 0x01,
278 0xbb, 0x8d, 0x9f, 0xc2, 0xd0, 0xe7, 0x29, 0xa3, 0xca, 0x91, 0xe5, 0x34, 0xd2, 0xf6, 0xf9, 0x65,
279 0x2b, 0x88, 0x0b, 0x98, 0x58, 0x6a, 0xae, 0x71, 0xbb, 0x7a, 0x5a, 0xf9, 0xb9, 0x7c, 0x10, 0xd7,
280 0x18, 0x6f, 0x78, 0xdf, 0xfc, 0x5c, 0xbc, 0x83, 0xe1, 0xbc, 0xa8, 0x30, 0x10, 0x85, 0xa5, 0x14,
281 0x71, 0x8d, 0x1b, 0xe3, 0xec, 0xd9, 0x8f, 0x63, 0x4d, 0x6b, 0x3e, 0x21, 0xd6, 0xb3, 0xff, 0x9f,
282 0x3c, 0x4d, 0xcd, 0xab, 0x37, 0x1f, 0xb4, 0xaf, 0xdd, 0xc9, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff,
283 0x92, 0x85, 0x26, 0xf7, 0x5b, 0x05, 0x00, 0x00,
Andrew Lambbc029d32020-02-24 12:42:50 -0700284}