blob: 3b5855156c6b22b526dc1f5c44ccda6fb6bafb01 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: prototype/design.proto
package prototype
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 DesignOptions_Fingerprint_Location int32
const (
DesignOptions_Fingerprint_FINGERPRINT_LOCATION_UNKNOWN DesignOptions_Fingerprint_Location = 0
DesignOptions_Fingerprint_POWER_BUTTON_TOP_LEFT DesignOptions_Fingerprint_Location = 1
DesignOptions_Fingerprint_KEYBOARD_TOP_RIGHT DesignOptions_Fingerprint_Location = 2
DesignOptions_Fingerprint_KEYBOARD_BOTTOM_RIGHT DesignOptions_Fingerprint_Location = 3
)
var DesignOptions_Fingerprint_Location_name = map[int32]string{
0: "FINGERPRINT_LOCATION_UNKNOWN",
1: "POWER_BUTTON_TOP_LEFT",
2: "KEYBOARD_TOP_RIGHT",
3: "KEYBOARD_BOTTOM_RIGHT",
}
var DesignOptions_Fingerprint_Location_value = map[string]int32{
"FINGERPRINT_LOCATION_UNKNOWN": 0,
"POWER_BUTTON_TOP_LEFT": 1,
"KEYBOARD_TOP_RIGHT": 2,
"KEYBOARD_BOTTOM_RIGHT": 3,
}
func (x DesignOptions_Fingerprint_Location) String() string {
return proto.EnumName(DesignOptions_Fingerprint_Location_name, int32(x))
}
func (DesignOptions_Fingerprint_Location) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{3, 1, 0}
}
type DesignOptions_Stylus_Category int32
const (
DesignOptions_Stylus_STYLUS_CATEGORY_UNKNOWN DesignOptions_Stylus_Category = 0
DesignOptions_Stylus_INTERNAL DesignOptions_Stylus_Category = 1
DesignOptions_Stylus_EXTERNAL DesignOptions_Stylus_Category = 2
)
var DesignOptions_Stylus_Category_name = map[int32]string{
0: "STYLUS_CATEGORY_UNKNOWN",
1: "INTERNAL",
2: "EXTERNAL",
}
var DesignOptions_Stylus_Category_value = map[string]int32{
"STYLUS_CATEGORY_UNKNOWN": 0,
"INTERNAL": 1,
"EXTERNAL": 2,
}
func (x DesignOptions_Stylus_Category) String() string {
return proto.EnumName(DesignOptions_Stylus_Category_name, int32(x))
}
func (DesignOptions_Stylus_Category) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{3, 2, 0}
}
type Design_FormFactor int32
const (
Design_FORM_FACTOR_UNDEFINED Design_FormFactor = 0
Design_CLAMSHELL Design_FormFactor = 1
Design_CONVERTIBLE Design_FormFactor = 2
Design_DETACHABLE Design_FormFactor = 3
Design_CHROMEBASE Design_FormFactor = 4
Design_CHROMEBOX Design_FormFactor = 5
Design_CHROMEBIT Design_FormFactor = 6
Design_CHROMESLATE Design_FormFactor = 7
)
var Design_FormFactor_name = map[int32]string{
0: "FORM_FACTOR_UNDEFINED",
1: "CLAMSHELL",
2: "CONVERTIBLE",
3: "DETACHABLE",
4: "CHROMEBASE",
5: "CHROMEBOX",
6: "CHROMEBIT",
7: "CHROMESLATE",
}
var Design_FormFactor_value = map[string]int32{
"FORM_FACTOR_UNDEFINED": 0,
"CLAMSHELL": 1,
"CONVERTIBLE": 2,
"DETACHABLE": 3,
"CHROMEBASE": 4,
"CHROMEBOX": 5,
"CHROMEBIT": 6,
"CHROMESLATE": 7,
}
func (x Design_FormFactor) String() string {
return proto.EnumName(Design_FormFactor_name, int32(x))
}
func (Design_FormFactor) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{4, 0}
}
type ProgramId struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ProgramId) Reset() { *m = ProgramId{} }
func (m *ProgramId) String() string { return proto.CompactTextString(m) }
func (*ProgramId) ProtoMessage() {}
func (*ProgramId) Descriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{0}
}
func (m *ProgramId) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProgramId.Unmarshal(m, b)
}
func (m *ProgramId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProgramId.Marshal(b, m, deterministic)
}
func (m *ProgramId) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProgramId.Merge(m, src)
}
func (m *ProgramId) XXX_Size() int {
return xxx_messageInfo_ProgramId.Size(m)
}
func (m *ProgramId) XXX_DiscardUnknown() {
xxx_messageInfo_ProgramId.DiscardUnknown(m)
}
var xxx_messageInfo_ProgramId proto.InternalMessageInfo
func (m *ProgramId) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
type DesignId struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignId) Reset() { *m = DesignId{} }
func (m *DesignId) String() string { return proto.CompactTextString(m) }
func (*DesignId) ProtoMessage() {}
func (*DesignId) Descriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{1}
}
func (m *DesignId) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignId.Unmarshal(m, b)
}
func (m *DesignId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignId.Marshal(b, m, deterministic)
}
func (m *DesignId) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignId.Merge(m, src)
}
func (m *DesignId) XXX_Size() int {
return xxx_messageInfo_DesignId.Size(m)
}
func (m *DesignId) XXX_DiscardUnknown() {
xxx_messageInfo_DesignId.DiscardUnknown(m)
}
var xxx_messageInfo_DesignId proto.InternalMessageInfo
func (m *DesignId) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
type DesignVariantId struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignVariantId) Reset() { *m = DesignVariantId{} }
func (m *DesignVariantId) String() string { return proto.CompactTextString(m) }
func (*DesignVariantId) ProtoMessage() {}
func (*DesignVariantId) Descriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{2}
}
func (m *DesignVariantId) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignVariantId.Unmarshal(m, b)
}
func (m *DesignVariantId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignVariantId.Marshal(b, m, deterministic)
}
func (m *DesignVariantId) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignVariantId.Merge(m, src)
}
func (m *DesignVariantId) XXX_Size() int {
return xxx_messageInfo_DesignVariantId.Size(m)
}
func (m *DesignVariantId) XXX_DiscardUnknown() {
xxx_messageInfo_DesignVariantId.DiscardUnknown(m)
}
var xxx_messageInfo_DesignVariantId proto.InternalMessageInfo
func (m *DesignVariantId) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
type DesignOptions struct {
Fingerprint *DesignOptions_Fingerprint `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
FrontCamera *DesignOptions_Feature `protobuf:"bytes,2,opt,name=front_camera,json=frontCamera,proto3" json:"front_camera,omitempty"`
RearCamera *DesignOptions_Feature `protobuf:"bytes,3,opt,name=rear_camera,json=rearCamera,proto3" json:"rear_camera,omitempty"`
BaseAccelerometer *DesignOptions_Feature `protobuf:"bytes,4,opt,name=base_accelerometer,json=baseAccelerometer,proto3" json:"base_accelerometer,omitempty"`
LidAccelerometer *DesignOptions_Feature `protobuf:"bytes,5,opt,name=lid_accelerometer,json=lidAccelerometer,proto3" json:"lid_accelerometer,omitempty"`
BaseGyroscope *DesignOptions_Feature `protobuf:"bytes,6,opt,name=base_gyroscope,json=baseGyroscope,proto3" json:"base_gyroscope,omitempty"`
LidGyroscope *DesignOptions_Feature `protobuf:"bytes,7,opt,name=lid_gyroscope,json=lidGyroscope,proto3" json:"lid_gyroscope,omitempty"`
BaseMagnetometer *DesignOptions_Feature `protobuf:"bytes,8,opt,name=base_magnetometer,json=baseMagnetometer,proto3" json:"base_magnetometer,omitempty"`
LidMagnetometer *DesignOptions_Feature `protobuf:"bytes,9,opt,name=lid_magnetometer,json=lidMagnetometer,proto3" json:"lid_magnetometer,omitempty"`
BaseLightSensor *DesignOptions_Feature `protobuf:"bytes,10,opt,name=base_light_sensor,json=baseLightSensor,proto3" json:"base_light_sensor,omitempty"`
LidLightSensor *DesignOptions_Feature `protobuf:"bytes,11,opt,name=lid_light_sensor,json=lidLightSensor,proto3" json:"lid_light_sensor,omitempty"`
Touchscreen *DesignOptions_Feature `protobuf:"bytes,12,opt,name=touchscreen,proto3" json:"touchscreen,omitempty"`
Stylus *DesignOptions_Stylus `protobuf:"bytes,13,opt,name=stylus,proto3" json:"stylus,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignOptions) Reset() { *m = DesignOptions{} }
func (m *DesignOptions) String() string { return proto.CompactTextString(m) }
func (*DesignOptions) ProtoMessage() {}
func (*DesignOptions) Descriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{3}
}
func (m *DesignOptions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignOptions.Unmarshal(m, b)
}
func (m *DesignOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignOptions.Marshal(b, m, deterministic)
}
func (m *DesignOptions) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignOptions.Merge(m, src)
}
func (m *DesignOptions) XXX_Size() int {
return xxx_messageInfo_DesignOptions.Size(m)
}
func (m *DesignOptions) XXX_DiscardUnknown() {
xxx_messageInfo_DesignOptions.DiscardUnknown(m)
}
var xxx_messageInfo_DesignOptions proto.InternalMessageInfo
func (m *DesignOptions) GetFingerprint() *DesignOptions_Fingerprint {
if m != nil {
return m.Fingerprint
}
return nil
}
func (m *DesignOptions) GetFrontCamera() *DesignOptions_Feature {
if m != nil {
return m.FrontCamera
}
return nil
}
func (m *DesignOptions) GetRearCamera() *DesignOptions_Feature {
if m != nil {
return m.RearCamera
}
return nil
}
func (m *DesignOptions) GetBaseAccelerometer() *DesignOptions_Feature {
if m != nil {
return m.BaseAccelerometer
}
return nil
}
func (m *DesignOptions) GetLidAccelerometer() *DesignOptions_Feature {
if m != nil {
return m.LidAccelerometer
}
return nil
}
func (m *DesignOptions) GetBaseGyroscope() *DesignOptions_Feature {
if m != nil {
return m.BaseGyroscope
}
return nil
}
func (m *DesignOptions) GetLidGyroscope() *DesignOptions_Feature {
if m != nil {
return m.LidGyroscope
}
return nil
}
func (m *DesignOptions) GetBaseMagnetometer() *DesignOptions_Feature {
if m != nil {
return m.BaseMagnetometer
}
return nil
}
func (m *DesignOptions) GetLidMagnetometer() *DesignOptions_Feature {
if m != nil {
return m.LidMagnetometer
}
return nil
}
func (m *DesignOptions) GetBaseLightSensor() *DesignOptions_Feature {
if m != nil {
return m.BaseLightSensor
}
return nil
}
func (m *DesignOptions) GetLidLightSensor() *DesignOptions_Feature {
if m != nil {
return m.LidLightSensor
}
return nil
}
func (m *DesignOptions) GetTouchscreen() *DesignOptions_Feature {
if m != nil {
return m.Touchscreen
}
return nil
}
func (m *DesignOptions) GetStylus() *DesignOptions_Stylus {
if m != nil {
return m.Stylus
}
return nil
}
// General feature presense proto that can be used
// for any features that don't have specific attributes.
// E.g. See Fingerprint below
type DesignOptions_Feature struct {
Presence Presence_Indicator `protobuf:"varint,1,opt,name=presence,proto3,enum=prototype.Presence_Indicator" json:"presence,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignOptions_Feature) Reset() { *m = DesignOptions_Feature{} }
func (m *DesignOptions_Feature) String() string { return proto.CompactTextString(m) }
func (*DesignOptions_Feature) ProtoMessage() {}
func (*DesignOptions_Feature) Descriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{3, 0}
}
func (m *DesignOptions_Feature) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignOptions_Feature.Unmarshal(m, b)
}
func (m *DesignOptions_Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignOptions_Feature.Marshal(b, m, deterministic)
}
func (m *DesignOptions_Feature) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignOptions_Feature.Merge(m, src)
}
func (m *DesignOptions_Feature) XXX_Size() int {
return xxx_messageInfo_DesignOptions_Feature.Size(m)
}
func (m *DesignOptions_Feature) XXX_DiscardUnknown() {
xxx_messageInfo_DesignOptions_Feature.DiscardUnknown(m)
}
var xxx_messageInfo_DesignOptions_Feature proto.InternalMessageInfo
func (m *DesignOptions_Feature) GetPresence() Presence_Indicator {
if m != nil {
return m.Presence
}
return Presence_PRESENCE_UNKNOWN
}
type DesignOptions_Fingerprint struct {
Presence Presence_Indicator `protobuf:"varint,1,opt,name=presence,proto3,enum=prototype.Presence_Indicator" json:"presence,omitempty"`
Location DesignOptions_Fingerprint_Location `protobuf:"varint,2,opt,name=location,proto3,enum=prototype.DesignOptions_Fingerprint_Location" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignOptions_Fingerprint) Reset() { *m = DesignOptions_Fingerprint{} }
func (m *DesignOptions_Fingerprint) String() string { return proto.CompactTextString(m) }
func (*DesignOptions_Fingerprint) ProtoMessage() {}
func (*DesignOptions_Fingerprint) Descriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{3, 1}
}
func (m *DesignOptions_Fingerprint) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignOptions_Fingerprint.Unmarshal(m, b)
}
func (m *DesignOptions_Fingerprint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignOptions_Fingerprint.Marshal(b, m, deterministic)
}
func (m *DesignOptions_Fingerprint) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignOptions_Fingerprint.Merge(m, src)
}
func (m *DesignOptions_Fingerprint) XXX_Size() int {
return xxx_messageInfo_DesignOptions_Fingerprint.Size(m)
}
func (m *DesignOptions_Fingerprint) XXX_DiscardUnknown() {
xxx_messageInfo_DesignOptions_Fingerprint.DiscardUnknown(m)
}
var xxx_messageInfo_DesignOptions_Fingerprint proto.InternalMessageInfo
func (m *DesignOptions_Fingerprint) GetPresence() Presence_Indicator {
if m != nil {
return m.Presence
}
return Presence_PRESENCE_UNKNOWN
}
func (m *DesignOptions_Fingerprint) GetLocation() DesignOptions_Fingerprint_Location {
if m != nil {
return m.Location
}
return DesignOptions_Fingerprint_FINGERPRINT_LOCATION_UNKNOWN
}
type DesignOptions_Stylus struct {
Presence Presence_Indicator `protobuf:"varint,1,opt,name=presence,proto3,enum=prototype.Presence_Indicator" json:"presence,omitempty"`
Category DesignOptions_Stylus_Category `protobuf:"varint,2,opt,name=category,proto3,enum=prototype.DesignOptions_Stylus_Category" json:"category,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignOptions_Stylus) Reset() { *m = DesignOptions_Stylus{} }
func (m *DesignOptions_Stylus) String() string { return proto.CompactTextString(m) }
func (*DesignOptions_Stylus) ProtoMessage() {}
func (*DesignOptions_Stylus) Descriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{3, 2}
}
func (m *DesignOptions_Stylus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignOptions_Stylus.Unmarshal(m, b)
}
func (m *DesignOptions_Stylus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignOptions_Stylus.Marshal(b, m, deterministic)
}
func (m *DesignOptions_Stylus) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignOptions_Stylus.Merge(m, src)
}
func (m *DesignOptions_Stylus) XXX_Size() int {
return xxx_messageInfo_DesignOptions_Stylus.Size(m)
}
func (m *DesignOptions_Stylus) XXX_DiscardUnknown() {
xxx_messageInfo_DesignOptions_Stylus.DiscardUnknown(m)
}
var xxx_messageInfo_DesignOptions_Stylus proto.InternalMessageInfo
func (m *DesignOptions_Stylus) GetPresence() Presence_Indicator {
if m != nil {
return m.Presence
}
return Presence_PRESENCE_UNKNOWN
}
func (m *DesignOptions_Stylus) GetCategory() DesignOptions_Stylus_Category {
if m != nil {
return m.Category
}
return DesignOptions_Stylus_STYLUS_CATEGORY_UNKNOWN
}
type Design struct {
Id *DesignId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ProgramId *ProgramId `protobuf:"bytes,2,opt,name=program_id,json=programId,proto3" json:"program_id,omitempty"`
OdmId *PartnerId `protobuf:"bytes,3,opt,name=odm_id,json=odmId,proto3" json:"odm_id,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Variants []*Design_Variant `protobuf:"bytes,6,rep,name=variants,proto3" json:"variants,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Design) Reset() { *m = Design{} }
func (m *Design) String() string { return proto.CompactTextString(m) }
func (*Design) ProtoMessage() {}
func (*Design) Descriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{4}
}
func (m *Design) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Design.Unmarshal(m, b)
}
func (m *Design) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Design.Marshal(b, m, deterministic)
}
func (m *Design) XXX_Merge(src proto.Message) {
xxx_messageInfo_Design.Merge(m, src)
}
func (m *Design) XXX_Size() int {
return xxx_messageInfo_Design.Size(m)
}
func (m *Design) XXX_DiscardUnknown() {
xxx_messageInfo_Design.DiscardUnknown(m)
}
var xxx_messageInfo_Design proto.InternalMessageInfo
func (m *Design) GetId() *DesignId {
if m != nil {
return m.Id
}
return nil
}
func (m *Design) GetProgramId() *ProgramId {
if m != nil {
return m.ProgramId
}
return nil
}
func (m *Design) GetOdmId() *PartnerId {
if m != nil {
return m.OdmId
}
return nil
}
func (m *Design) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Design) GetVariants() []*Design_Variant {
if m != nil {
return m.Variants
}
return nil
}
type Design_Variant struct {
Id *DesignVariantId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
FormFactor Design_FormFactor `protobuf:"varint,2,opt,name=form_factor,json=formFactor,proto3,enum=prototype.Design_FormFactor" json:"form_factor,omitempty"`
DesignOptions *DesignOptions `protobuf:"bytes,3,opt,name=design_options,json=designOptions,proto3" json:"design_options,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Design_Variant) Reset() { *m = Design_Variant{} }
func (m *Design_Variant) String() string { return proto.CompactTextString(m) }
func (*Design_Variant) ProtoMessage() {}
func (*Design_Variant) Descriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{4, 0}
}
func (m *Design_Variant) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Design_Variant.Unmarshal(m, b)
}
func (m *Design_Variant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Design_Variant.Marshal(b, m, deterministic)
}
func (m *Design_Variant) XXX_Merge(src proto.Message) {
xxx_messageInfo_Design_Variant.Merge(m, src)
}
func (m *Design_Variant) XXX_Size() int {
return xxx_messageInfo_Design_Variant.Size(m)
}
func (m *Design_Variant) XXX_DiscardUnknown() {
xxx_messageInfo_Design_Variant.DiscardUnknown(m)
}
var xxx_messageInfo_Design_Variant proto.InternalMessageInfo
func (m *Design_Variant) GetId() *DesignVariantId {
if m != nil {
return m.Id
}
return nil
}
func (m *Design_Variant) GetFormFactor() Design_FormFactor {
if m != nil {
return m.FormFactor
}
return Design_FORM_FACTOR_UNDEFINED
}
func (m *Design_Variant) GetDesignOptions() *DesignOptions {
if m != nil {
return m.DesignOptions
}
return nil
}
type DesignList struct {
Value []*Design `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignList) Reset() { *m = DesignList{} }
func (m *DesignList) String() string { return proto.CompactTextString(m) }
func (*DesignList) ProtoMessage() {}
func (*DesignList) Descriptor() ([]byte, []int) {
return fileDescriptor_8c60c33a46259324, []int{5}
}
func (m *DesignList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignList.Unmarshal(m, b)
}
func (m *DesignList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignList.Marshal(b, m, deterministic)
}
func (m *DesignList) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignList.Merge(m, src)
}
func (m *DesignList) XXX_Size() int {
return xxx_messageInfo_DesignList.Size(m)
}
func (m *DesignList) XXX_DiscardUnknown() {
xxx_messageInfo_DesignList.DiscardUnknown(m)
}
var xxx_messageInfo_DesignList proto.InternalMessageInfo
func (m *DesignList) GetValue() []*Design {
if m != nil {
return m.Value
}
return nil
}
func init() {
proto.RegisterEnum("prototype.DesignOptions_Fingerprint_Location", DesignOptions_Fingerprint_Location_name, DesignOptions_Fingerprint_Location_value)
proto.RegisterEnum("prototype.DesignOptions_Stylus_Category", DesignOptions_Stylus_Category_name, DesignOptions_Stylus_Category_value)
proto.RegisterEnum("prototype.Design_FormFactor", Design_FormFactor_name, Design_FormFactor_value)
proto.RegisterType((*ProgramId)(nil), "prototype.ProgramId")
proto.RegisterType((*DesignId)(nil), "prototype.DesignId")
proto.RegisterType((*DesignVariantId)(nil), "prototype.DesignVariantId")
proto.RegisterType((*DesignOptions)(nil), "prototype.DesignOptions")
proto.RegisterType((*DesignOptions_Feature)(nil), "prototype.DesignOptions.Feature")
proto.RegisterType((*DesignOptions_Fingerprint)(nil), "prototype.DesignOptions.Fingerprint")
proto.RegisterType((*DesignOptions_Stylus)(nil), "prototype.DesignOptions.Stylus")
proto.RegisterType((*Design)(nil), "prototype.Design")
proto.RegisterType((*Design_Variant)(nil), "prototype.Design.Variant")
proto.RegisterType((*DesignList)(nil), "prototype.DesignList")
}
func init() { proto.RegisterFile("prototype/design.proto", fileDescriptor_8c60c33a46259324) }
var fileDescriptor_8c60c33a46259324 = []byte{
// 961 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0xd1, 0x6e, 0xa3, 0x46,
0x17, 0xc7, 0xd7, 0x4e, 0xe2, 0xd8, 0x87, 0xd8, 0x21, 0xf3, 0xed, 0xb7, 0xeb, 0x75, 0xb7, 0x6a,
0xea, 0x56, 0xda, 0xa8, 0x55, 0x6d, 0x29, 0x51, 0x54, 0xf5, 0xa2, 0xaa, 0x30, 0xc6, 0x09, 0x0d,
0x86, 0x68, 0x4c, 0x76, 0x37, 0xbd, 0x41, 0x2c, 0x8c, 0x09, 0x12, 0x30, 0xd6, 0x40, 0x56, 0x4a,
0x5f, 0xa2, 0x77, 0x7d, 0x89, 0x5e, 0xf7, 0x35, 0xfa, 0x22, 0x7d, 0x89, 0x8a, 0x61, 0x82, 0x71,
0xad, 0xa8, 0x48, 0x7b, 0xc7, 0x39, 0xfc, 0xff, 0x3f, 0xce, 0x99, 0x81,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