Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
Prathmesh Prabhu | 72f8a00 | 2020-04-10 09:57:53 -0700 | [diff] [blame] | 2 | // source: chromiumos/config/api/hardware_topology.proto |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 3 | |
| 4 | package api |
| 5 | |
| 6 | import ( |
| 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. |
| 13 | var _ = proto.Marshal |
| 14 | var _ = fmt.Errorf |
| 15 | var _ = 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. |
| 21 | const _ = 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. |
| 33 | type 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 Yamaguchi | 3fe0d4e | 2020-03-26 00:53:01 +0900 | [diff] [blame] | 64 | // Specify the daughter board topology. |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 65 | // 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 Rink | 937839f | 2020-03-26 12:09:49 -0600 | [diff] [blame] | 81 | 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 Shapiro | a681fad | 2020-04-15 17:05:03 -0500 | [diff] [blame] | 84 | 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 Nordrum | 206be1b | 2020-06-04 12:20:16 -0600 | [diff] [blame^] | 87 | 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. |
| 90 | Barreljack *Topology `protobuf:"bytes,19,opt,name=barreljack,proto3" json:"barreljack,omitempty"` |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 91 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 92 | XXX_unrecognized []byte `json:"-"` |
| 93 | XXX_sizecache int32 `json:"-"` |
| 94 | } |
| 95 | |
| 96 | func (m *HardwareTopology) Reset() { *m = HardwareTopology{} } |
| 97 | func (m *HardwareTopology) String() string { return proto.CompactTextString(m) } |
| 98 | func (*HardwareTopology) ProtoMessage() {} |
| 99 | func (*HardwareTopology) Descriptor() ([]byte, []int) { |
Prathmesh Prabhu | 72f8a00 | 2020-04-10 09:57:53 -0700 | [diff] [blame] | 100 | return fileDescriptor_9e326e49764ac0fb, []int{0} |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 101 | } |
| 102 | |
| 103 | func (m *HardwareTopology) XXX_Unmarshal(b []byte) error { |
| 104 | return xxx_messageInfo_HardwareTopology.Unmarshal(m, b) |
| 105 | } |
| 106 | func (m *HardwareTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 107 | return xxx_messageInfo_HardwareTopology.Marshal(b, m, deterministic) |
| 108 | } |
| 109 | func (m *HardwareTopology) XXX_Merge(src proto.Message) { |
| 110 | xxx_messageInfo_HardwareTopology.Merge(m, src) |
| 111 | } |
| 112 | func (m *HardwareTopology) XXX_Size() int { |
| 113 | return xxx_messageInfo_HardwareTopology.Size(m) |
| 114 | } |
| 115 | func (m *HardwareTopology) XXX_DiscardUnknown() { |
| 116 | xxx_messageInfo_HardwareTopology.DiscardUnknown(m) |
| 117 | } |
| 118 | |
| 119 | var xxx_messageInfo_HardwareTopology proto.InternalMessageInfo |
| 120 | |
| 121 | func (m *HardwareTopology) GetScreen() *Topology { |
| 122 | if m != nil { |
| 123 | return m.Screen |
| 124 | } |
| 125 | return nil |
| 126 | } |
| 127 | |
| 128 | func (m *HardwareTopology) GetFormFactor() *Topology { |
| 129 | if m != nil { |
| 130 | return m.FormFactor |
| 131 | } |
| 132 | return nil |
| 133 | } |
| 134 | |
| 135 | func (m *HardwareTopology) GetAudio() *Topology { |
| 136 | if m != nil { |
| 137 | return m.Audio |
| 138 | } |
| 139 | return nil |
| 140 | } |
| 141 | |
| 142 | func (m *HardwareTopology) GetStylus() *Topology { |
| 143 | if m != nil { |
| 144 | return m.Stylus |
| 145 | } |
| 146 | return nil |
| 147 | } |
| 148 | |
| 149 | func (m *HardwareTopology) GetKeyboard() *Topology { |
| 150 | if m != nil { |
| 151 | return m.Keyboard |
| 152 | } |
| 153 | return nil |
| 154 | } |
| 155 | |
| 156 | func (m *HardwareTopology) GetThermal() *Topology { |
| 157 | if m != nil { |
| 158 | return m.Thermal |
| 159 | } |
| 160 | return nil |
| 161 | } |
| 162 | |
| 163 | func (m *HardwareTopology) GetCamera() *Topology { |
| 164 | if m != nil { |
| 165 | return m.Camera |
| 166 | } |
| 167 | return nil |
| 168 | } |
| 169 | |
| 170 | func (m *HardwareTopology) GetAccelerometerGyroscopeMagnetometer() *Topology { |
| 171 | if m != nil { |
| 172 | return m.AccelerometerGyroscopeMagnetometer |
| 173 | } |
| 174 | return nil |
| 175 | } |
| 176 | |
| 177 | func (m *HardwareTopology) GetFingerprint() *Topology { |
| 178 | if m != nil { |
| 179 | return m.Fingerprint |
| 180 | } |
| 181 | return nil |
| 182 | } |
| 183 | |
| 184 | func (m *HardwareTopology) GetProximitySensor() *Topology { |
| 185 | if m != nil { |
| 186 | return m.ProximitySensor |
| 187 | } |
| 188 | return nil |
| 189 | } |
| 190 | |
| 191 | func (m *HardwareTopology) GetDaughterBoard() *Topology { |
| 192 | if m != nil { |
| 193 | return m.DaughterBoard |
| 194 | } |
| 195 | return nil |
| 196 | } |
| 197 | |
| 198 | func (m *HardwareTopology) GetNonVolatileStorage() *Topology { |
| 199 | if m != nil { |
| 200 | return m.NonVolatileStorage |
| 201 | } |
| 202 | return nil |
| 203 | } |
| 204 | |
| 205 | func (m *HardwareTopology) GetRam() *Topology { |
| 206 | if m != nil { |
| 207 | return m.Ram |
| 208 | } |
| 209 | return nil |
| 210 | } |
| 211 | |
| 212 | func (m *HardwareTopology) GetWifi() *Topology { |
| 213 | if m != nil { |
| 214 | return m.Wifi |
| 215 | } |
| 216 | return nil |
| 217 | } |
| 218 | |
| 219 | func (m *HardwareTopology) GetLteBoard() *Topology { |
| 220 | if m != nil { |
| 221 | return m.LteBoard |
| 222 | } |
| 223 | return nil |
| 224 | } |
| 225 | |
| 226 | func (m *HardwareTopology) GetSdReader() *Topology { |
| 227 | if m != nil { |
| 228 | return m.SdReader |
| 229 | } |
| 230 | return nil |
| 231 | } |
| 232 | |
Jett Rink | 937839f | 2020-03-26 12:09:49 -0600 | [diff] [blame] | 233 | func (m *HardwareTopology) GetMotherboardUsb() *Topology { |
| 234 | if m != nil { |
| 235 | return m.MotherboardUsb |
| 236 | } |
| 237 | return nil |
| 238 | } |
| 239 | |
C Shapiro | a681fad | 2020-04-15 17:05:03 -0500 | [diff] [blame] | 240 | func (m *HardwareTopology) GetBluetooth() *Topology { |
| 241 | if m != nil { |
| 242 | return m.Bluetooth |
| 243 | } |
| 244 | return nil |
| 245 | } |
| 246 | |
Josie Nordrum | 206be1b | 2020-06-04 12:20:16 -0600 | [diff] [blame^] | 247 | func (m *HardwareTopology) GetBarreljack() *Topology { |
| 248 | if m != nil { |
| 249 | return m.Barreljack |
| 250 | } |
| 251 | return nil |
| 252 | } |
| 253 | |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 254 | func init() { |
| 255 | proto.RegisterType((*HardwareTopology)(nil), "chromiumos.config.api.HardwareTopology") |
| 256 | } |
| 257 | |
Prathmesh Prabhu | 72f8a00 | 2020-04-10 09:57:53 -0700 | [diff] [blame] | 258 | func init() { |
| 259 | proto.RegisterFile("chromiumos/config/api/hardware_topology.proto", fileDescriptor_9e326e49764ac0fb) |
| 260 | } |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 261 | |
Prathmesh Prabhu | 72f8a00 | 2020-04-10 09:57:53 -0700 | [diff] [blame] | 262 | var fileDescriptor_9e326e49764ac0fb = []byte{ |
Josie Nordrum | 206be1b | 2020-06-04 12:20:16 -0600 | [diff] [blame^] | 263 | // 487 bytes of a gzipped FileDescriptorProto |
| 264 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4d, 0x6f, 0xd4, 0x30, |
| 265 | 0x10, 0x86, 0x55, 0xfa, 0xb9, 0xb3, 0x74, 0x77, 0x31, 0x20, 0x59, 0x5c, 0x40, 0x55, 0x0f, 0x15, |
| 266 | 0x12, 0x59, 0x41, 0x85, 0x10, 0xa2, 0x08, 0xe8, 0xa1, 0x54, 0x48, 0x1c, 0x68, 0x81, 0x03, 0x97, |
| 267 | 0xc8, 0x49, 0x66, 0xb3, 0xa6, 0xb6, 0x27, 0x8c, 0x1d, 0xca, 0xfe, 0x74, 0x6e, 0x28, 0xc9, 0x7e, |
| 268 | 0x55, 0xf4, 0xe0, 0x6b, 0xf2, 0x3e, 0x8f, 0x67, 0x64, 0xeb, 0x85, 0x67, 0xf9, 0x94, 0xc9, 0xea, |
| 269 | 0xda, 0x92, 0x1f, 0xe7, 0xe4, 0x26, 0xba, 0x1c, 0xab, 0x4a, 0x8f, 0xa7, 0x8a, 0x8b, 0x6b, 0xc5, |
| 270 | 0x98, 0x06, 0xaa, 0xc8, 0x50, 0x39, 0x4b, 0x2a, 0xa6, 0x40, 0xe2, 0xe1, 0x2a, 0x9e, 0x74, 0xf1, |
| 271 | 0x44, 0x55, 0xfa, 0xd1, 0xe1, 0xed, 0x96, 0x9b, 0xf0, 0xc1, 0xdf, 0x1e, 0x8c, 0xce, 0xe7, 0xe2, |
| 272 | 0xaf, 0xf3, 0x5f, 0xe2, 0x15, 0xec, 0xf8, 0x9c, 0x11, 0x9d, 0xdc, 0x78, 0xb2, 0x71, 0xd4, 0x7f, |
| 273 | 0xf1, 0x38, 0xb9, 0xf5, 0x88, 0x64, 0x01, 0x5c, 0xcc, 0xe3, 0xe2, 0x3d, 0xf4, 0x27, 0xc4, 0x36, |
| 274 | 0x9d, 0xa8, 0x3c, 0x10, 0xcb, 0x3b, 0x71, 0x34, 0x34, 0xcc, 0x59, 0x8b, 0x88, 0x97, 0xb0, 0xad, |
| 275 | 0xea, 0x42, 0x93, 0xdc, 0x8c, 0x63, 0xbb, 0x74, 0x3b, 0x71, 0x98, 0x99, 0xda, 0xcb, 0xad, 0xd8, |
| 276 | 0x89, 0xdb, 0xb8, 0x78, 0x03, 0x7b, 0x57, 0x38, 0xcb, 0x48, 0x71, 0x21, 0xb7, 0xe3, 0xd0, 0x25, |
| 277 | 0x20, 0x5e, 0xc3, 0x6e, 0x98, 0x22, 0x5b, 0x65, 0xe4, 0x4e, 0x1c, 0xbb, 0xc8, 0x37, 0x03, 0xe7, |
| 278 | 0xca, 0x22, 0x2b, 0xb9, 0x1b, 0x39, 0x70, 0x17, 0x17, 0xbf, 0xe0, 0x50, 0xe5, 0x39, 0x1a, 0x64, |
| 279 | 0xb2, 0x18, 0x90, 0xd3, 0x72, 0xc6, 0xe4, 0x73, 0xaa, 0x30, 0xb5, 0xaa, 0x74, 0x18, 0xba, 0xcf, |
| 280 | 0x72, 0x2f, 0x4e, 0x7b, 0x70, 0x43, 0xf6, 0x71, 0xe1, 0xfa, 0xbc, 0xa6, 0x12, 0x1f, 0xa0, 0x3f, |
| 281 | 0xd1, 0xae, 0x44, 0xae, 0x58, 0xbb, 0x20, 0x7b, 0x71, 0xe6, 0x75, 0x46, 0x7c, 0x82, 0x51, 0xc5, |
| 282 | 0xf4, 0x47, 0x5b, 0x1d, 0x66, 0xa9, 0x47, 0xe7, 0x89, 0x25, 0xc4, 0x79, 0x86, 0x4b, 0xf0, 0xb2, |
| 283 | 0xe5, 0xc4, 0x19, 0x0c, 0x0a, 0x55, 0x97, 0xd3, 0x66, 0xf9, 0xee, 0xe2, 0xfa, 0x71, 0xa6, 0xfd, |
| 284 | 0x05, 0x76, 0xda, 0xde, 0xde, 0x17, 0x78, 0xe0, 0xc8, 0xa5, 0xbf, 0xc9, 0xa8, 0xa0, 0x0d, 0xa6, |
| 285 | 0x3e, 0x10, 0xab, 0x12, 0xe5, 0xdd, 0x38, 0x9b, 0x70, 0xe4, 0xbe, 0xcf, 0xd9, 0xcb, 0x0e, 0x15, |
| 286 | 0xcf, 0x61, 0x93, 0x95, 0x95, 0xfb, 0x71, 0x86, 0x26, 0x2b, 0x8e, 0x61, 0xeb, 0x5a, 0x4f, 0xb4, |
| 287 | 0x1c, 0xc4, 0x31, 0x6d, 0x58, 0x9c, 0x40, 0xcf, 0x04, 0x9c, 0x6f, 0x3f, 0x8c, 0x7c, 0xb6, 0x26, |
| 288 | 0x60, 0xb7, 0xf8, 0x09, 0xf4, 0x7c, 0x91, 0x32, 0xaa, 0x02, 0x59, 0x8e, 0x22, 0x69, 0x5f, 0x5c, |
| 289 | 0xb4, 0x80, 0x38, 0x87, 0xa1, 0xa5, 0xe6, 0x19, 0xb7, 0xa7, 0xa7, 0xb5, 0xcf, 0xe4, 0xbd, 0x38, |
| 290 | 0xc7, 0x60, 0x8d, 0xfb, 0xe6, 0x33, 0xf1, 0x16, 0x7a, 0x99, 0xa9, 0x31, 0x10, 0x85, 0xa9, 0x14, |
| 291 | 0x71, 0x8e, 0x15, 0x21, 0xde, 0x01, 0x64, 0x8a, 0x19, 0xcd, 0x4f, 0x95, 0x5f, 0xc9, 0xfb, 0x91, |
| 292 | 0x5d, 0xb3, 0x42, 0x4e, 0x9f, 0xfe, 0x38, 0x2a, 0x69, 0x09, 0x24, 0xc4, 0xe5, 0xf8, 0xff, 0xce, |
| 293 | 0x2c, 0xa9, 0xa9, 0xcd, 0x6c, 0xa7, 0xad, 0xcb, 0xe3, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc4, |
| 294 | 0xe2, 0xb0, 0x4c, 0x9c, 0x05, 0x00, 0x00, |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 295 | } |