blob: cc84efa2f58d631d84c0bafd90ccbbfdca1c12d8 [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.
81 SdReader *Topology `protobuf:"bytes,16,opt,name=sd_reader,json=sdReader,proto3" json:"sd_reader,omitempty"`
82 XXX_NoUnkeyedLiteral struct{} `json:"-"`
83 XXX_unrecognized []byte `json:"-"`
84 XXX_sizecache int32 `json:"-"`
85}
86
87func (m *HardwareTopology) Reset() { *m = HardwareTopology{} }
88func (m *HardwareTopology) String() string { return proto.CompactTextString(m) }
89func (*HardwareTopology) ProtoMessage() {}
90func (*HardwareTopology) Descriptor() ([]byte, []int) {
91 return fileDescriptor_9b3edb686c39425b, []int{0}
92}
93
94func (m *HardwareTopology) XXX_Unmarshal(b []byte) error {
95 return xxx_messageInfo_HardwareTopology.Unmarshal(m, b)
96}
97func (m *HardwareTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
98 return xxx_messageInfo_HardwareTopology.Marshal(b, m, deterministic)
99}
100func (m *HardwareTopology) XXX_Merge(src proto.Message) {
101 xxx_messageInfo_HardwareTopology.Merge(m, src)
102}
103func (m *HardwareTopology) XXX_Size() int {
104 return xxx_messageInfo_HardwareTopology.Size(m)
105}
106func (m *HardwareTopology) XXX_DiscardUnknown() {
107 xxx_messageInfo_HardwareTopology.DiscardUnknown(m)
108}
109
110var xxx_messageInfo_HardwareTopology proto.InternalMessageInfo
111
112func (m *HardwareTopology) GetScreen() *Topology {
113 if m != nil {
114 return m.Screen
115 }
116 return nil
117}
118
119func (m *HardwareTopology) GetFormFactor() *Topology {
120 if m != nil {
121 return m.FormFactor
122 }
123 return nil
124}
125
126func (m *HardwareTopology) GetAudio() *Topology {
127 if m != nil {
128 return m.Audio
129 }
130 return nil
131}
132
133func (m *HardwareTopology) GetStylus() *Topology {
134 if m != nil {
135 return m.Stylus
136 }
137 return nil
138}
139
140func (m *HardwareTopology) GetKeyboard() *Topology {
141 if m != nil {
142 return m.Keyboard
143 }
144 return nil
145}
146
147func (m *HardwareTopology) GetThermal() *Topology {
148 if m != nil {
149 return m.Thermal
150 }
151 return nil
152}
153
154func (m *HardwareTopology) GetCamera() *Topology {
155 if m != nil {
156 return m.Camera
157 }
158 return nil
159}
160
161func (m *HardwareTopology) GetAccelerometerGyroscopeMagnetometer() *Topology {
162 if m != nil {
163 return m.AccelerometerGyroscopeMagnetometer
164 }
165 return nil
166}
167
168func (m *HardwareTopology) GetFingerprint() *Topology {
169 if m != nil {
170 return m.Fingerprint
171 }
172 return nil
173}
174
175func (m *HardwareTopology) GetProximitySensor() *Topology {
176 if m != nil {
177 return m.ProximitySensor
178 }
179 return nil
180}
181
182func (m *HardwareTopology) GetDaughterBoard() *Topology {
183 if m != nil {
184 return m.DaughterBoard
185 }
186 return nil
187}
188
189func (m *HardwareTopology) GetNonVolatileStorage() *Topology {
190 if m != nil {
191 return m.NonVolatileStorage
192 }
193 return nil
194}
195
196func (m *HardwareTopology) GetRam() *Topology {
197 if m != nil {
198 return m.Ram
199 }
200 return nil
201}
202
203func (m *HardwareTopology) GetWifi() *Topology {
204 if m != nil {
205 return m.Wifi
206 }
207 return nil
208}
209
210func (m *HardwareTopology) GetLteBoard() *Topology {
211 if m != nil {
212 return m.LteBoard
213 }
214 return nil
215}
216
217func (m *HardwareTopology) GetSdReader() *Topology {
218 if m != nil {
219 return m.SdReader
220 }
221 return nil
222}
223
224func init() {
225 proto.RegisterType((*HardwareTopology)(nil), "chromiumos.config.api.HardwareTopology")
226}
227
228func init() { proto.RegisterFile("api/hardware_topology.proto", fileDescriptor_9b3edb686c39425b) }
229
230var fileDescriptor_9b3edb686c39425b = []byte{
231 // 433 bytes of a gzipped FileDescriptorProto
232 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd4, 0xcf, 0x6b, 0xd4, 0x40,
233 0x14, 0x07, 0x70, 0x6a, 0xdb, 0xed, 0xee, 0x5b, 0xdb, 0x2e, 0x83, 0x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