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. |
| 87 | Bluetooth *Topology `protobuf:"bytes,18,opt,name=bluetooth,proto3" json:"bluetooth,omitempty"` |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 88 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 89 | XXX_unrecognized []byte `json:"-"` |
| 90 | XXX_sizecache int32 `json:"-"` |
| 91 | } |
| 92 | |
| 93 | func (m *HardwareTopology) Reset() { *m = HardwareTopology{} } |
| 94 | func (m *HardwareTopology) String() string { return proto.CompactTextString(m) } |
| 95 | func (*HardwareTopology) ProtoMessage() {} |
| 96 | func (*HardwareTopology) Descriptor() ([]byte, []int) { |
Prathmesh Prabhu | 72f8a00 | 2020-04-10 09:57:53 -0700 | [diff] [blame] | 97 | return fileDescriptor_9e326e49764ac0fb, []int{0} |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 98 | } |
| 99 | |
| 100 | func (m *HardwareTopology) XXX_Unmarshal(b []byte) error { |
| 101 | return xxx_messageInfo_HardwareTopology.Unmarshal(m, b) |
| 102 | } |
| 103 | func (m *HardwareTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 104 | return xxx_messageInfo_HardwareTopology.Marshal(b, m, deterministic) |
| 105 | } |
| 106 | func (m *HardwareTopology) XXX_Merge(src proto.Message) { |
| 107 | xxx_messageInfo_HardwareTopology.Merge(m, src) |
| 108 | } |
| 109 | func (m *HardwareTopology) XXX_Size() int { |
| 110 | return xxx_messageInfo_HardwareTopology.Size(m) |
| 111 | } |
| 112 | func (m *HardwareTopology) XXX_DiscardUnknown() { |
| 113 | xxx_messageInfo_HardwareTopology.DiscardUnknown(m) |
| 114 | } |
| 115 | |
| 116 | var xxx_messageInfo_HardwareTopology proto.InternalMessageInfo |
| 117 | |
| 118 | func (m *HardwareTopology) GetScreen() *Topology { |
| 119 | if m != nil { |
| 120 | return m.Screen |
| 121 | } |
| 122 | return nil |
| 123 | } |
| 124 | |
| 125 | func (m *HardwareTopology) GetFormFactor() *Topology { |
| 126 | if m != nil { |
| 127 | return m.FormFactor |
| 128 | } |
| 129 | return nil |
| 130 | } |
| 131 | |
| 132 | func (m *HardwareTopology) GetAudio() *Topology { |
| 133 | if m != nil { |
| 134 | return m.Audio |
| 135 | } |
| 136 | return nil |
| 137 | } |
| 138 | |
| 139 | func (m *HardwareTopology) GetStylus() *Topology { |
| 140 | if m != nil { |
| 141 | return m.Stylus |
| 142 | } |
| 143 | return nil |
| 144 | } |
| 145 | |
| 146 | func (m *HardwareTopology) GetKeyboard() *Topology { |
| 147 | if m != nil { |
| 148 | return m.Keyboard |
| 149 | } |
| 150 | return nil |
| 151 | } |
| 152 | |
| 153 | func (m *HardwareTopology) GetThermal() *Topology { |
| 154 | if m != nil { |
| 155 | return m.Thermal |
| 156 | } |
| 157 | return nil |
| 158 | } |
| 159 | |
| 160 | func (m *HardwareTopology) GetCamera() *Topology { |
| 161 | if m != nil { |
| 162 | return m.Camera |
| 163 | } |
| 164 | return nil |
| 165 | } |
| 166 | |
| 167 | func (m *HardwareTopology) GetAccelerometerGyroscopeMagnetometer() *Topology { |
| 168 | if m != nil { |
| 169 | return m.AccelerometerGyroscopeMagnetometer |
| 170 | } |
| 171 | return nil |
| 172 | } |
| 173 | |
| 174 | func (m *HardwareTopology) GetFingerprint() *Topology { |
| 175 | if m != nil { |
| 176 | return m.Fingerprint |
| 177 | } |
| 178 | return nil |
| 179 | } |
| 180 | |
| 181 | func (m *HardwareTopology) GetProximitySensor() *Topology { |
| 182 | if m != nil { |
| 183 | return m.ProximitySensor |
| 184 | } |
| 185 | return nil |
| 186 | } |
| 187 | |
| 188 | func (m *HardwareTopology) GetDaughterBoard() *Topology { |
| 189 | if m != nil { |
| 190 | return m.DaughterBoard |
| 191 | } |
| 192 | return nil |
| 193 | } |
| 194 | |
| 195 | func (m *HardwareTopology) GetNonVolatileStorage() *Topology { |
| 196 | if m != nil { |
| 197 | return m.NonVolatileStorage |
| 198 | } |
| 199 | return nil |
| 200 | } |
| 201 | |
| 202 | func (m *HardwareTopology) GetRam() *Topology { |
| 203 | if m != nil { |
| 204 | return m.Ram |
| 205 | } |
| 206 | return nil |
| 207 | } |
| 208 | |
| 209 | func (m *HardwareTopology) GetWifi() *Topology { |
| 210 | if m != nil { |
| 211 | return m.Wifi |
| 212 | } |
| 213 | return nil |
| 214 | } |
| 215 | |
| 216 | func (m *HardwareTopology) GetLteBoard() *Topology { |
| 217 | if m != nil { |
| 218 | return m.LteBoard |
| 219 | } |
| 220 | return nil |
| 221 | } |
| 222 | |
| 223 | func (m *HardwareTopology) GetSdReader() *Topology { |
| 224 | if m != nil { |
| 225 | return m.SdReader |
| 226 | } |
| 227 | return nil |
| 228 | } |
| 229 | |
Jett Rink | 937839f | 2020-03-26 12:09:49 -0600 | [diff] [blame] | 230 | func (m *HardwareTopology) GetMotherboardUsb() *Topology { |
| 231 | if m != nil { |
| 232 | return m.MotherboardUsb |
| 233 | } |
| 234 | return nil |
| 235 | } |
| 236 | |
C Shapiro | a681fad | 2020-04-15 17:05:03 -0500 | [diff] [blame^] | 237 | func (m *HardwareTopology) GetBluetooth() *Topology { |
| 238 | if m != nil { |
| 239 | return m.Bluetooth |
| 240 | } |
| 241 | return nil |
| 242 | } |
| 243 | |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 244 | func init() { |
| 245 | proto.RegisterType((*HardwareTopology)(nil), "chromiumos.config.api.HardwareTopology") |
| 246 | } |
| 247 | |
Prathmesh Prabhu | 72f8a00 | 2020-04-10 09:57:53 -0700 | [diff] [blame] | 248 | func init() { |
| 249 | proto.RegisterFile("chromiumos/config/api/hardware_topology.proto", fileDescriptor_9e326e49764ac0fb) |
| 250 | } |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 251 | |
Prathmesh Prabhu | 72f8a00 | 2020-04-10 09:57:53 -0700 | [diff] [blame] | 252 | var fileDescriptor_9e326e49764ac0fb = []byte{ |
C Shapiro | a681fad | 2020-04-15 17:05:03 -0500 | [diff] [blame^] | 253 | // 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, 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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 Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 284 | } |