blob: c73f24097ab32f167d3177372a1c01cfd1fa4cc6 [file] [log] [blame]
Andrew Lambbc029d32020-02-24 12:42:50 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: api/hardware_topology.proto
3
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.
84 MotherboardUsb *Topology `protobuf:"bytes,17,opt,name=motherboard_usb,json=motherboardUsb,proto3" json:"motherboard_usb,omitempty"`
Andrew Lambbc029d32020-02-24 12:42:50 -070085 XXX_NoUnkeyedLiteral struct{} `json:"-"`
86 XXX_unrecognized []byte `json:"-"`
87 XXX_sizecache int32 `json:"-"`
88}
89
90func (m *HardwareTopology) Reset() { *m = HardwareTopology{} }
91func (m *HardwareTopology) String() string { return proto.CompactTextString(m) }
92func (*HardwareTopology) ProtoMessage() {}
93func (*HardwareTopology) Descriptor() ([]byte, []int) {
94 return fileDescriptor_9b3edb686c39425b, []int{0}
95}
96
97func (m *HardwareTopology) XXX_Unmarshal(b []byte) error {
98 return xxx_messageInfo_HardwareTopology.Unmarshal(m, b)
99}
100func (m *HardwareTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
101 return xxx_messageInfo_HardwareTopology.Marshal(b, m, deterministic)
102}
103func (m *HardwareTopology) XXX_Merge(src proto.Message) {
104 xxx_messageInfo_HardwareTopology.Merge(m, src)
105}
106func (m *HardwareTopology) XXX_Size() int {
107 return xxx_messageInfo_HardwareTopology.Size(m)
108}
109func (m *HardwareTopology) XXX_DiscardUnknown() {
110 xxx_messageInfo_HardwareTopology.DiscardUnknown(m)
111}
112
113var xxx_messageInfo_HardwareTopology proto.InternalMessageInfo
114
115func (m *HardwareTopology) GetScreen() *Topology {
116 if m != nil {
117 return m.Screen
118 }
119 return nil
120}
121
122func (m *HardwareTopology) GetFormFactor() *Topology {
123 if m != nil {
124 return m.FormFactor
125 }
126 return nil
127}
128
129func (m *HardwareTopology) GetAudio() *Topology {
130 if m != nil {
131 return m.Audio
132 }
133 return nil
134}
135
136func (m *HardwareTopology) GetStylus() *Topology {
137 if m != nil {
138 return m.Stylus
139 }
140 return nil
141}
142
143func (m *HardwareTopology) GetKeyboard() *Topology {
144 if m != nil {
145 return m.Keyboard
146 }
147 return nil
148}
149
150func (m *HardwareTopology) GetThermal() *Topology {
151 if m != nil {
152 return m.Thermal
153 }
154 return nil
155}
156
157func (m *HardwareTopology) GetCamera() *Topology {
158 if m != nil {
159 return m.Camera
160 }
161 return nil
162}
163
164func (m *HardwareTopology) GetAccelerometerGyroscopeMagnetometer() *Topology {
165 if m != nil {
166 return m.AccelerometerGyroscopeMagnetometer
167 }
168 return nil
169}
170
171func (m *HardwareTopology) GetFingerprint() *Topology {
172 if m != nil {
173 return m.Fingerprint
174 }
175 return nil
176}
177
178func (m *HardwareTopology) GetProximitySensor() *Topology {
179 if m != nil {
180 return m.ProximitySensor
181 }
182 return nil
183}
184
185func (m *HardwareTopology) GetDaughterBoard() *Topology {
186 if m != nil {
187 return m.DaughterBoard
188 }
189 return nil
190}
191
192func (m *HardwareTopology) GetNonVolatileStorage() *Topology {
193 if m != nil {
194 return m.NonVolatileStorage
195 }
196 return nil
197}
198
199func (m *HardwareTopology) GetRam() *Topology {
200 if m != nil {
201 return m.Ram
202 }
203 return nil
204}
205
206func (m *HardwareTopology) GetWifi() *Topology {
207 if m != nil {
208 return m.Wifi
209 }
210 return nil
211}
212
213func (m *HardwareTopology) GetLteBoard() *Topology {
214 if m != nil {
215 return m.LteBoard
216 }
217 return nil
218}
219
220func (m *HardwareTopology) GetSdReader() *Topology {
221 if m != nil {
222 return m.SdReader
223 }
224 return nil
225}
226
Jett Rink937839f2020-03-26 12:09:49 -0600227func (m *HardwareTopology) GetMotherboardUsb() *Topology {
228 if m != nil {
229 return m.MotherboardUsb
230 }
231 return nil
232}
233
Andrew Lambbc029d32020-02-24 12:42:50 -0700234func init() {
235 proto.RegisterType((*HardwareTopology)(nil), "chromiumos.config.api.HardwareTopology")
236}
237
238func init() { proto.RegisterFile("api/hardware_topology.proto", fileDescriptor_9b3edb686c39425b) }
239
240var fileDescriptor_9b3edb686c39425b = []byte{
Jett Rink937839f2020-03-26 12:09:49 -0600241 // 454 bytes of a gzipped FileDescriptorProto
242 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcf, 0x6f, 0xd3, 0x4c,
243 0x10, 0x40, 0xd5, 0xaf, 0x6d, 0x9a, 0x4c, 0xbe, 0x26, 0x61, 0x05, 0xd2, 0x0a, 0x0e, 0xa0, 0x8a,
244 0x43, 0xc5, 0xc1, 0x11, 0x54, 0x08, 0x21, 0x7a, 0x80, 0x1e, 0x4a, 0x85, 0xc4, 0x81, 0x16, 0x38,
245 0x70, 0xb1, 0x36, 0xf6, 0x78, 0xb3, 0xc2, 0xbb, 0x63, 0x66, 0xd7, 0x14, 0xff, 0xe9, 0xdc, 0x90,
246 0x7f, 0x24, 0xa4, 0x12, 0x87, 0xbd, 0xda, 0xef, 0x3d, 0xcf, 0x68, 0x57, 0x86, 0x47, 0xaa, 0x32,
247 0xcb, 0xb5, 0xe2, 0xfc, 0x56, 0x31, 0xa6, 0x81, 0x2a, 0x2a, 0x49, 0x37, 0x49, 0xc5, 0x14, 0x48,
248 0x3c, 0xc8, 0xd6, 0x4c, 0xd6, 0xd4, 0x96, 0x7c, 0x92, 0x91, 0x2b, 0x8c, 0x4e, 0x54, 0x65, 0x1e,
249 0x8a, 0xd6, 0xb9, 0x8b, 0x9e, 0xfc, 0x1e, 0xc3, 0xe2, 0x6a, 0xc8, 0x7c, 0x1e, 0x5e, 0x89, 0x57,
250 0x30, 0xf2, 0x19, 0x23, 0x3a, 0xb9, 0xf7, 0x64, 0xef, 0x74, 0xfa, 0xe2, 0x71, 0xf2, 0xcf, 0x60,
251 0xb2, 0x11, 0xae, 0x07, 0x5c, 0xbc, 0x85, 0x69, 0x41, 0x6c, 0xd3, 0x42, 0x65, 0x81, 0x58, 0xfe,
252 0x17, 0x67, 0x43, 0xeb, 0x5c, 0x76, 0x8a, 0x78, 0x09, 0x87, 0xaa, 0xce, 0x0d, 0xc9, 0xfd, 0x38,
253 0xb7, 0xa7, 0xbb, 0x89, 0x43, 0x53, 0xd6, 0x5e, 0x1e, 0xc4, 0x4e, 0xdc, 0xe1, 0xe2, 0x0d, 0x8c,
254 0xbf, 0x63, 0xb3, 0x22, 0xc5, 0xb9, 0x3c, 0x8c, 0x53, 0xb7, 0x82, 0x78, 0x0d, 0x47, 0x61, 0x8d,
255 0x6c, 0x55, 0x29, 0x47, 0x71, 0xee, 0x86, 0x6f, 0x07, 0xce, 0x94, 0x45, 0x56, 0xf2, 0x28, 0x72,
256 0xe0, 0x1e, 0x17, 0x3f, 0xe0, 0xa9, 0xca, 0x32, 0x2c, 0x91, 0xc9, 0x62, 0x40, 0x4e, 0x75, 0xc3,
257 0xe4, 0x33, 0xaa, 0x30, 0xb5, 0x4a, 0x3b, 0x0c, 0xfd, 0x63, 0x39, 0x8e, 0xcb, 0x9e, 0xdc, 0x89,
258 0xbd, 0xdf, 0xb4, 0x3e, 0xee, 0xa4, 0xc4, 0x3b, 0x98, 0x16, 0xc6, 0x69, 0xe4, 0x8a, 0x8d, 0x0b,
259 0x72, 0x12, 0x57, 0xde, 0x75, 0xc4, 0x07, 0x58, 0x54, 0x4c, 0xbf, 0x8c, 0x35, 0xa1, 0x49, 0x3d,
260 0x3a, 0x4f, 0x2c, 0x21, 0xae, 0x33, 0xdf, 0x8a, 0x37, 0x9d, 0x27, 0x2e, 0x61, 0x96, 0xab, 0x5a,
261 0xaf, 0xdb, 0xe5, 0xfb, 0x83, 0x9b, 0xc6, 0x95, 0x8e, 0x37, 0xda, 0x45, 0x77, 0x7a, 0x9f, 0xe0,
262 0xbe, 0x23, 0x97, 0xfe, 0xa4, 0x52, 0x05, 0x53, 0x62, 0xea, 0x03, 0xb1, 0xd2, 0x28, 0xff, 0x8f,
263 0xab, 0x09, 0x47, 0xee, 0xeb, 0xe0, 0xde, 0xf4, 0xaa, 0x78, 0x0e, 0xfb, 0xac, 0xac, 0x3c, 0x8e,
264 0x2b, 0xb4, 0xac, 0x38, 0x83, 0x83, 0x5b, 0x53, 0x18, 0x39, 0x8b, 0x73, 0x3a, 0x58, 0x9c, 0xc3,
265 0xa4, 0x0c, 0x38, 0x6c, 0x3f, 0x8f, 0xbc, 0xb6, 0x65, 0xc0, 0x7e, 0xf1, 0x73, 0x98, 0xf8, 0x3c,
266 0x65, 0x54, 0x39, 0xb2, 0x5c, 0x44, 0xda, 0x3e, 0xbf, 0xee, 0x04, 0x71, 0x05, 0x73, 0x4b, 0xed,
267 0x35, 0xee, 0xbe, 0x9e, 0xd6, 0x7e, 0x25, 0xef, 0xc5, 0x35, 0x66, 0x3b, 0xde, 0x17, 0xbf, 0xba,
268 0x78, 0xf6, 0xed, 0x54, 0xd3, 0x56, 0x4a, 0x88, 0xf5, 0xf2, 0x6f, 0x61, 0xd9, 0x17, 0x96, 0x9a,
269 0x96, 0xaa, 0x32, 0xab, 0x51, 0xf7, 0xbb, 0x3a, 0xfb, 0x13, 0x00, 0x00, 0xff, 0xff, 0xe4, 0x22,
270 0xe1, 0x0d, 0xf8, 0x04, 0x00, 0x00,
Andrew Lambbc029d32020-02-24 12:42:50 -0700271}