| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: config/api/component.proto |
| |
| package api |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| type Component_Soc_Architecture int32 |
| |
| const ( |
| Component_Soc_ARCHITECTURE_UNDEFINED Component_Soc_Architecture = 0 |
| Component_Soc_X86 Component_Soc_Architecture = 1 |
| Component_Soc_X86_64 Component_Soc_Architecture = 2 |
| Component_Soc_ARM Component_Soc_Architecture = 3 |
| Component_Soc_ARM64 Component_Soc_Architecture = 4 |
| ) |
| |
| var Component_Soc_Architecture_name = map[int32]string{ |
| 0: "ARCHITECTURE_UNDEFINED", |
| 1: "X86", |
| 2: "X86_64", |
| 3: "ARM", |
| 4: "ARM64", |
| } |
| |
| var Component_Soc_Architecture_value = map[string]int32{ |
| "ARCHITECTURE_UNDEFINED": 0, |
| "X86": 1, |
| "X86_64": 2, |
| "ARM": 3, |
| "ARM64": 4, |
| } |
| |
| func (x Component_Soc_Architecture) String() string { |
| return proto.EnumName(Component_Soc_Architecture_name, int32(x)) |
| } |
| |
| func (Component_Soc_Architecture) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0, 0, 0} |
| } |
| |
| type Component_Memory_Type int32 |
| |
| const ( |
| Component_Memory_TYPE_UNDEFINED Component_Memory_Type = 0 |
| Component_Memory_DDR Component_Memory_Type = 1 |
| Component_Memory_DDR2 Component_Memory_Type = 2 |
| Component_Memory_DDR3 Component_Memory_Type = 3 |
| Component_Memory_DDR4 Component_Memory_Type = 4 |
| Component_Memory_LP_DDR3 Component_Memory_Type = 5 |
| Component_Memory_LP_DDR4 Component_Memory_Type = 6 |
| ) |
| |
| var Component_Memory_Type_name = map[int32]string{ |
| 0: "TYPE_UNDEFINED", |
| 1: "DDR", |
| 2: "DDR2", |
| 3: "DDR3", |
| 4: "DDR4", |
| 5: "LP_DDR3", |
| 6: "LP_DDR4", |
| } |
| |
| var Component_Memory_Type_value = map[string]int32{ |
| "TYPE_UNDEFINED": 0, |
| "DDR": 1, |
| "DDR2": 2, |
| "DDR3": 3, |
| "DDR4": 4, |
| "LP_DDR3": 5, |
| "LP_DDR4": 6, |
| } |
| |
| func (x Component_Memory_Type) String() string { |
| return proto.EnumName(Component_Memory_Type_name, int32(x)) |
| } |
| |
| func (Component_Memory_Type) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0, 1, 0} |
| } |
| |
| type Component_Camera_Feature int32 |
| |
| const ( |
| Component_Camera_FEATURE_UNKNOWN Component_Camera_Feature = 0 |
| Component_Camera_ACTIVITY_LED Component_Camera_Feature = 1 |
| ) |
| |
| var Component_Camera_Feature_name = map[int32]string{ |
| 0: "FEATURE_UNKNOWN", |
| 1: "ACTIVITY_LED", |
| } |
| |
| var Component_Camera_Feature_value = map[string]int32{ |
| "FEATURE_UNKNOWN": 0, |
| "ACTIVITY_LED": 1, |
| } |
| |
| func (x Component_Camera_Feature) String() string { |
| return proto.EnumName(Component_Camera_Feature_name, int32(x)) |
| } |
| |
| func (Component_Camera_Feature) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0, 3, 0} |
| } |
| |
| type Component_Camera_ClockType int32 |
| |
| const ( |
| Component_Camera_CLOCK_TYPE_UNDEFINED Component_Camera_ClockType = 0 |
| Component_Camera_MONOTONIC Component_Camera_ClockType = 1 |
| Component_Camera_BOOTTIME Component_Camera_ClockType = 2 |
| ) |
| |
| var Component_Camera_ClockType_name = map[int32]string{ |
| 0: "CLOCK_TYPE_UNDEFINED", |
| 1: "MONOTONIC", |
| 2: "BOOTTIME", |
| } |
| |
| var Component_Camera_ClockType_value = map[string]int32{ |
| "CLOCK_TYPE_UNDEFINED": 0, |
| "MONOTONIC": 1, |
| "BOOTTIME": 2, |
| } |
| |
| func (x Component_Camera_ClockType) String() string { |
| return proto.EnumName(Component_Camera_ClockType_name, int32(x)) |
| } |
| |
| func (Component_Camera_ClockType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0, 3, 1} |
| } |
| |
| type Component struct { |
| // Globally unique component identifier. |
| Id *ComponentId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| // Types that are valid to be assigned to Type: |
| // *Component_Soc_ |
| // *Component_Memory_ |
| // *Component_Bluetooth_ |
| // *Component_Camera_ |
| // *Component_Touchscreen_ |
| Type isComponent_Type `protobuf_oneof:"type"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Component) Reset() { *m = Component{} } |
| func (m *Component) String() string { return proto.CompactTextString(m) } |
| func (*Component) ProtoMessage() {} |
| func (*Component) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0} |
| } |
| |
| func (m *Component) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Component.Unmarshal(m, b) |
| } |
| func (m *Component) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Component.Marshal(b, m, deterministic) |
| } |
| func (m *Component) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Component.Merge(m, src) |
| } |
| func (m *Component) XXX_Size() int { |
| return xxx_messageInfo_Component.Size(m) |
| } |
| func (m *Component) XXX_DiscardUnknown() { |
| xxx_messageInfo_Component.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Component proto.InternalMessageInfo |
| |
| func (m *Component) GetId() *ComponentId { |
| if m != nil { |
| return m.Id |
| } |
| return nil |
| } |
| |
| type isComponent_Type interface { |
| isComponent_Type() |
| } |
| |
| type Component_Soc_ struct { |
| Soc *Component_Soc `protobuf:"bytes,2,opt,name=soc,proto3,oneof"` |
| } |
| |
| type Component_Memory_ struct { |
| Memory *Component_Memory `protobuf:"bytes,3,opt,name=memory,proto3,oneof"` |
| } |
| |
| type Component_Bluetooth_ struct { |
| Bluetooth *Component_Bluetooth `protobuf:"bytes,4,opt,name=bluetooth,proto3,oneof"` |
| } |
| |
| type Component_Camera_ struct { |
| Camera *Component_Camera `protobuf:"bytes,5,opt,name=camera,proto3,oneof"` |
| } |
| |
| type Component_Touchscreen_ struct { |
| Touchscreen *Component_Touchscreen `protobuf:"bytes,6,opt,name=touchscreen,proto3,oneof"` |
| } |
| |
| func (*Component_Soc_) isComponent_Type() {} |
| |
| func (*Component_Memory_) isComponent_Type() {} |
| |
| func (*Component_Bluetooth_) isComponent_Type() {} |
| |
| func (*Component_Camera_) isComponent_Type() {} |
| |
| func (*Component_Touchscreen_) isComponent_Type() {} |
| |
| func (m *Component) GetType() isComponent_Type { |
| if m != nil { |
| return m.Type |
| } |
| return nil |
| } |
| |
| func (m *Component) GetSoc() *Component_Soc { |
| if x, ok := m.GetType().(*Component_Soc_); ok { |
| return x.Soc |
| } |
| return nil |
| } |
| |
| func (m *Component) GetMemory() *Component_Memory { |
| if x, ok := m.GetType().(*Component_Memory_); ok { |
| return x.Memory |
| } |
| return nil |
| } |
| |
| func (m *Component) GetBluetooth() *Component_Bluetooth { |
| if x, ok := m.GetType().(*Component_Bluetooth_); ok { |
| return x.Bluetooth |
| } |
| return nil |
| } |
| |
| func (m *Component) GetCamera() *Component_Camera { |
| if x, ok := m.GetType().(*Component_Camera_); ok { |
| return x.Camera |
| } |
| return nil |
| } |
| |
| func (m *Component) GetTouchscreen() *Component_Touchscreen { |
| if x, ok := m.GetType().(*Component_Touchscreen_); ok { |
| return x.Touchscreen |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*Component) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*Component_Soc_)(nil), |
| (*Component_Memory_)(nil), |
| (*Component_Bluetooth_)(nil), |
| (*Component_Camera_)(nil), |
| (*Component_Touchscreen_)(nil), |
| } |
| } |
| |
| type Component_Soc struct { |
| Family *Component_Soc_Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` |
| // Unique model name returned from cpu_id instruction |
| Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` |
| // Number of cores present on the SoC model |
| Cores int32 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Component_Soc) Reset() { *m = Component_Soc{} } |
| func (m *Component_Soc) String() string { return proto.CompactTextString(m) } |
| func (*Component_Soc) ProtoMessage() {} |
| func (*Component_Soc) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0, 0} |
| } |
| |
| func (m *Component_Soc) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Component_Soc.Unmarshal(m, b) |
| } |
| func (m *Component_Soc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Component_Soc.Marshal(b, m, deterministic) |
| } |
| func (m *Component_Soc) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Component_Soc.Merge(m, src) |
| } |
| func (m *Component_Soc) XXX_Size() int { |
| return xxx_messageInfo_Component_Soc.Size(m) |
| } |
| func (m *Component_Soc) XXX_DiscardUnknown() { |
| xxx_messageInfo_Component_Soc.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Component_Soc proto.InternalMessageInfo |
| |
| func (m *Component_Soc) GetFamily() *Component_Soc_Family { |
| if m != nil { |
| return m.Family |
| } |
| return nil |
| } |
| |
| func (m *Component_Soc) GetModel() string { |
| if m != nil { |
| return m.Model |
| } |
| return "" |
| } |
| |
| func (m *Component_Soc) GetCores() int32 { |
| if m != nil { |
| return m.Cores |
| } |
| return 0 |
| } |
| |
| type Component_Soc_Family struct { |
| Arch Component_Soc_Architecture `protobuf:"varint,1,opt,name=arch,proto3,enum=chromiumos.config.api.Component_Soc_Architecture" json:"arch,omitempty"` |
| // Common name (human friendly) for the family |
| Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Component_Soc_Family) Reset() { *m = Component_Soc_Family{} } |
| func (m *Component_Soc_Family) String() string { return proto.CompactTextString(m) } |
| func (*Component_Soc_Family) ProtoMessage() {} |
| func (*Component_Soc_Family) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0, 0, 0} |
| } |
| |
| func (m *Component_Soc_Family) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Component_Soc_Family.Unmarshal(m, b) |
| } |
| func (m *Component_Soc_Family) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Component_Soc_Family.Marshal(b, m, deterministic) |
| } |
| func (m *Component_Soc_Family) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Component_Soc_Family.Merge(m, src) |
| } |
| func (m *Component_Soc_Family) XXX_Size() int { |
| return xxx_messageInfo_Component_Soc_Family.Size(m) |
| } |
| func (m *Component_Soc_Family) XXX_DiscardUnknown() { |
| xxx_messageInfo_Component_Soc_Family.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Component_Soc_Family proto.InternalMessageInfo |
| |
| func (m *Component_Soc_Family) GetArch() Component_Soc_Architecture { |
| if m != nil { |
| return m.Arch |
| } |
| return Component_Soc_ARCHITECTURE_UNDEFINED |
| } |
| |
| func (m *Component_Soc_Family) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| type Component_Memory struct { |
| Type Component_Memory_Type `protobuf:"varint,1,opt,name=type,proto3,enum=chromiumos.config.api.Component_Memory_Type" json:"type,omitempty"` |
| SpeedMhz int32 `protobuf:"varint,2,opt,name=speed_mhz,json=speedMhz,proto3" json:"speed_mhz,omitempty"` |
| SizeMb int32 `protobuf:"varint,3,opt,name=size_mb,json=sizeMb,proto3" json:"size_mb,omitempty"` |
| PartNumber string `protobuf:"bytes,4,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"` |
| ManufacturerId *PartnerId `protobuf:"bytes,5,opt,name=manufacturer_id,json=manufacturerId,proto3" json:"manufacturer_id,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Component_Memory) Reset() { *m = Component_Memory{} } |
| func (m *Component_Memory) String() string { return proto.CompactTextString(m) } |
| func (*Component_Memory) ProtoMessage() {} |
| func (*Component_Memory) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0, 1} |
| } |
| |
| func (m *Component_Memory) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Component_Memory.Unmarshal(m, b) |
| } |
| func (m *Component_Memory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Component_Memory.Marshal(b, m, deterministic) |
| } |
| func (m *Component_Memory) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Component_Memory.Merge(m, src) |
| } |
| func (m *Component_Memory) XXX_Size() int { |
| return xxx_messageInfo_Component_Memory.Size(m) |
| } |
| func (m *Component_Memory) XXX_DiscardUnknown() { |
| xxx_messageInfo_Component_Memory.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Component_Memory proto.InternalMessageInfo |
| |
| func (m *Component_Memory) GetType() Component_Memory_Type { |
| if m != nil { |
| return m.Type |
| } |
| return Component_Memory_TYPE_UNDEFINED |
| } |
| |
| func (m *Component_Memory) GetSpeedMhz() int32 { |
| if m != nil { |
| return m.SpeedMhz |
| } |
| return 0 |
| } |
| |
| func (m *Component_Memory) GetSizeMb() int32 { |
| if m != nil { |
| return m.SizeMb |
| } |
| return 0 |
| } |
| |
| func (m *Component_Memory) GetPartNumber() string { |
| if m != nil { |
| return m.PartNumber |
| } |
| return "" |
| } |
| |
| func (m *Component_Memory) GetManufacturerId() *PartnerId { |
| if m != nil { |
| return m.ManufacturerId |
| } |
| return nil |
| } |
| |
| type Component_Bluetooth struct { |
| // 4-digit hex |
| VendorId string `protobuf:"bytes,1,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"` |
| // 4-digit hex |
| ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` |
| // 4-digit hex |
| BcdDevice string `protobuf:"bytes,3,opt,name=bcd_device,json=bcdDevice,proto3" json:"bcd_device,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Component_Bluetooth) Reset() { *m = Component_Bluetooth{} } |
| func (m *Component_Bluetooth) String() string { return proto.CompactTextString(m) } |
| func (*Component_Bluetooth) ProtoMessage() {} |
| func (*Component_Bluetooth) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0, 2} |
| } |
| |
| func (m *Component_Bluetooth) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Component_Bluetooth.Unmarshal(m, b) |
| } |
| func (m *Component_Bluetooth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Component_Bluetooth.Marshal(b, m, deterministic) |
| } |
| func (m *Component_Bluetooth) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Component_Bluetooth.Merge(m, src) |
| } |
| func (m *Component_Bluetooth) XXX_Size() int { |
| return xxx_messageInfo_Component_Bluetooth.Size(m) |
| } |
| func (m *Component_Bluetooth) XXX_DiscardUnknown() { |
| xxx_messageInfo_Component_Bluetooth.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Component_Bluetooth proto.InternalMessageInfo |
| |
| func (m *Component_Bluetooth) GetVendorId() string { |
| if m != nil { |
| return m.VendorId |
| } |
| return "" |
| } |
| |
| func (m *Component_Bluetooth) GetProductId() string { |
| if m != nil { |
| return m.ProductId |
| } |
| return "" |
| } |
| |
| func (m *Component_Bluetooth) GetBcdDevice() string { |
| if m != nil { |
| return m.BcdDevice |
| } |
| return "" |
| } |
| |
| type Component_Camera struct { |
| Features []Component_Camera_Feature `protobuf:"varint,1,rep,packed,name=features,proto3,enum=chromiumos.config.api.Component_Camera_Feature" json:"features,omitempty"` |
| ClockType Component_Camera_ClockType `protobuf:"varint,2,opt,name=clock_type,json=clockType,proto3,enum=chromiumos.config.api.Component_Camera_ClockType" json:"clock_type,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Component_Camera) Reset() { *m = Component_Camera{} } |
| func (m *Component_Camera) String() string { return proto.CompactTextString(m) } |
| func (*Component_Camera) ProtoMessage() {} |
| func (*Component_Camera) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0, 3} |
| } |
| |
| func (m *Component_Camera) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Component_Camera.Unmarshal(m, b) |
| } |
| func (m *Component_Camera) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Component_Camera.Marshal(b, m, deterministic) |
| } |
| func (m *Component_Camera) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Component_Camera.Merge(m, src) |
| } |
| func (m *Component_Camera) XXX_Size() int { |
| return xxx_messageInfo_Component_Camera.Size(m) |
| } |
| func (m *Component_Camera) XXX_DiscardUnknown() { |
| xxx_messageInfo_Component_Camera.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Component_Camera proto.InternalMessageInfo |
| |
| func (m *Component_Camera) GetFeatures() []Component_Camera_Feature { |
| if m != nil { |
| return m.Features |
| } |
| return nil |
| } |
| |
| func (m *Component_Camera) GetClockType() Component_Camera_ClockType { |
| if m != nil { |
| return m.ClockType |
| } |
| return Component_Camera_CLOCK_TYPE_UNDEFINED |
| } |
| |
| type Component_Touchscreen struct { |
| // 4-digit hex |
| VendorId string `protobuf:"bytes,1,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"` |
| // 4-digit hex |
| ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` |
| // 4-digit hex |
| FwVersion string `protobuf:"bytes,3,opt,name=fw_version,json=fwVersion,proto3" json:"fw_version,omitempty"` |
| // Relative path to the touch firmware binary |
| // that will be installed when a given |
| // component vendor/product is detected. |
| FwPath string `protobuf:"bytes,4,opt,name=fw_path,json=fwPath,proto3" json:"fw_path,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Component_Touchscreen) Reset() { *m = Component_Touchscreen{} } |
| func (m *Component_Touchscreen) String() string { return proto.CompactTextString(m) } |
| func (*Component_Touchscreen) ProtoMessage() {} |
| func (*Component_Touchscreen) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{0, 4} |
| } |
| |
| func (m *Component_Touchscreen) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Component_Touchscreen.Unmarshal(m, b) |
| } |
| func (m *Component_Touchscreen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Component_Touchscreen.Marshal(b, m, deterministic) |
| } |
| func (m *Component_Touchscreen) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Component_Touchscreen.Merge(m, src) |
| } |
| func (m *Component_Touchscreen) XXX_Size() int { |
| return xxx_messageInfo_Component_Touchscreen.Size(m) |
| } |
| func (m *Component_Touchscreen) XXX_DiscardUnknown() { |
| xxx_messageInfo_Component_Touchscreen.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Component_Touchscreen proto.InternalMessageInfo |
| |
| func (m *Component_Touchscreen) GetVendorId() string { |
| if m != nil { |
| return m.VendorId |
| } |
| return "" |
| } |
| |
| func (m *Component_Touchscreen) GetProductId() string { |
| if m != nil { |
| return m.ProductId |
| } |
| return "" |
| } |
| |
| func (m *Component_Touchscreen) GetFwVersion() string { |
| if m != nil { |
| return m.FwVersion |
| } |
| return "" |
| } |
| |
| func (m *Component_Touchscreen) GetFwPath() string { |
| if m != nil { |
| return m.FwPath |
| } |
| return "" |
| } |
| |
| type ComponentList struct { |
| Value []*Component `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ComponentList) Reset() { *m = ComponentList{} } |
| func (m *ComponentList) String() string { return proto.CompactTextString(m) } |
| func (*ComponentList) ProtoMessage() {} |
| func (*ComponentList) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a14fcfee222958ff, []int{1} |
| } |
| |
| func (m *ComponentList) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ComponentList.Unmarshal(m, b) |
| } |
| func (m *ComponentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ComponentList.Marshal(b, m, deterministic) |
| } |
| func (m *ComponentList) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ComponentList.Merge(m, src) |
| } |
| func (m *ComponentList) XXX_Size() int { |
| return xxx_messageInfo_ComponentList.Size(m) |
| } |
| func (m *ComponentList) XXX_DiscardUnknown() { |
| xxx_messageInfo_ComponentList.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ComponentList proto.InternalMessageInfo |
| |
| func (m *ComponentList) GetValue() []*Component { |
| if m != nil { |
| return m.Value |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterEnum("chromiumos.config.api.Component_Soc_Architecture", Component_Soc_Architecture_name, Component_Soc_Architecture_value) |
| proto.RegisterEnum("chromiumos.config.api.Component_Memory_Type", Component_Memory_Type_name, Component_Memory_Type_value) |
| proto.RegisterEnum("chromiumos.config.api.Component_Camera_Feature", Component_Camera_Feature_name, Component_Camera_Feature_value) |
| proto.RegisterEnum("chromiumos.config.api.Component_Camera_ClockType", Component_Camera_ClockType_name, Component_Camera_ClockType_value) |
| proto.RegisterType((*Component)(nil), "chromiumos.config.api.Component") |
| proto.RegisterType((*Component_Soc)(nil), "chromiumos.config.api.Component.Soc") |
| proto.RegisterType((*Component_Soc_Family)(nil), "chromiumos.config.api.Component.Soc.Family") |
| proto.RegisterType((*Component_Memory)(nil), "chromiumos.config.api.Component.Memory") |
| proto.RegisterType((*Component_Bluetooth)(nil), "chromiumos.config.api.Component.Bluetooth") |
| proto.RegisterType((*Component_Camera)(nil), "chromiumos.config.api.Component.Camera") |
| proto.RegisterType((*Component_Touchscreen)(nil), "chromiumos.config.api.Component.Touchscreen") |
| proto.RegisterType((*ComponentList)(nil), "chromiumos.config.api.ComponentList") |
| } |
| |
| func init() { proto.RegisterFile("config/api/component.proto", fileDescriptor_a14fcfee222958ff) } |
| |
| var fileDescriptor_a14fcfee222958ff = []byte{ |
| // 849 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xef, 0x6e, 0xdb, 0x36, |
| 0x10, 0xc0, 0x2d, 0xd9, 0x56, 0xac, 0x73, 0x9a, 0x0a, 0xb7, 0x6e, 0x33, 0x54, 0x14, 0x0b, 0x8c, |
| 0x01, 0x0b, 0xba, 0x42, 0xde, 0xdc, 0xc0, 0xc8, 0xc7, 0xd9, 0xb2, 0x33, 0x6b, 0x89, 0xff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