| // Copyright 2020 The ChromiumOS Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.27.1 |
| // protoc v3.17.1 |
| // source: chromiumos/config/api/partner.proto |
| |
| package api |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // Defines contributing partners participating in the design, execution, |
| // and support of chromiumos projects. |
| type Partner struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Globally unique partner identifier. |
| Id *PartnerId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| // Descriptive name (for humans) of the partner. |
| Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| // Email alias used for coordinating project execution. |
| EmailGroup string `protobuf:"bytes,3,opt,name=email_group,json=emailGroup,proto3" json:"email_group,omitempty"` |
| // Optional config for touch vendors. |
| TouchVendor *Partner_TouchVendor `protobuf:"bytes,4,opt,name=touch_vendor,json=touchVendor,proto3" json:"touch_vendor,omitempty"` |
| // Optional config for display panel vendors. |
| DisplayPanelVendor *Partner_DisplayPanelVendor `protobuf:"bytes,5,opt,name=display_panel_vendor,json=displayPanelVendor,proto3" json:"display_panel_vendor,omitempty"` |
| // Optional config for battery vendors. |
| BatteryVendor *Partner_BatteryVendor `protobuf:"bytes,6,opt,name=battery_vendor,json=batteryVendor,proto3" json:"battery_vendor,omitempty"` |
| } |
| |
| func (x *Partner) Reset() { |
| *x = Partner{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromiumos_config_api_partner_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Partner) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Partner) ProtoMessage() {} |
| |
| func (x *Partner) ProtoReflect() protoreflect.Message { |
| mi := &file_chromiumos_config_api_partner_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Partner.ProtoReflect.Descriptor instead. |
| func (*Partner) Descriptor() ([]byte, []int) { |
| return file_chromiumos_config_api_partner_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Partner) GetId() *PartnerId { |
| if x != nil { |
| return x.Id |
| } |
| return nil |
| } |
| |
| func (x *Partner) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *Partner) GetEmailGroup() string { |
| if x != nil { |
| return x.EmailGroup |
| } |
| return "" |
| } |
| |
| func (x *Partner) GetTouchVendor() *Partner_TouchVendor { |
| if x != nil { |
| return x.TouchVendor |
| } |
| return nil |
| } |
| |
| func (x *Partner) GetDisplayPanelVendor() *Partner_DisplayPanelVendor { |
| if x != nil { |
| return x.DisplayPanelVendor |
| } |
| return nil |
| } |
| |
| func (x *Partner) GetBatteryVendor() *Partner_BatteryVendor { |
| if x != nil { |
| return x.BatteryVendor |
| } |
| return nil |
| } |
| |
| // Defines partner config unique to touch manufacturers. |
| type Partner_TouchVendor struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // 4-digit hex vendor id assigned |
| VendorId string `protobuf:"bytes,4,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"` |
| // This formatting (via python format) will be applied to the symlinks |
| // that will be present in /lib/firmware |
| // E.g. |
| // "{vendor_name}_{product_id}.bin" |
| // "{vendor_name}_{vendor_id}_{product_id}_{fw_version}.bin" |
| // "{vendor_name}_{product_series}_{product_id}.hex" |
| SymlinkFileFormat string `protobuf:"bytes,5,opt,name=symlink_file_format,json=symlinkFileFormat,proto3" json:"symlink_file_format,omitempty"` |
| // Same formatting as symlink_file_format, except this controls |
| // the actual destination file that will be written to |
| // /opt/google/touch/firmware, which the symlink references. |
| DestinationFileFormat string `protobuf:"bytes,6,opt,name=destination_file_format,json=destinationFileFormat,proto3" json:"destination_file_format,omitempty"` |
| } |
| |
| func (x *Partner_TouchVendor) Reset() { |
| *x = Partner_TouchVendor{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromiumos_config_api_partner_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Partner_TouchVendor) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Partner_TouchVendor) ProtoMessage() {} |
| |
| func (x *Partner_TouchVendor) ProtoReflect() protoreflect.Message { |
| mi := &file_chromiumos_config_api_partner_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Partner_TouchVendor.ProtoReflect.Descriptor instead. |
| func (*Partner_TouchVendor) Descriptor() ([]byte, []int) { |
| return file_chromiumos_config_api_partner_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| func (x *Partner_TouchVendor) GetVendorId() string { |
| if x != nil { |
| return x.VendorId |
| } |
| return "" |
| } |
| |
| func (x *Partner_TouchVendor) GetSymlinkFileFormat() string { |
| if x != nil { |
| return x.SymlinkFileFormat |
| } |
| return "" |
| } |
| |
| func (x *Partner_TouchVendor) GetDestinationFileFormat() string { |
| if x != nil { |
| return x.DestinationFileFormat |
| } |
| return "" |
| } |
| |
| // Defines partner config unique to display panel manufacturers. |
| type Partner_DisplayPanelVendor struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Vendor code assigned (generally 3 char [A-Z]) |
| VendorCode string `protobuf:"bytes,1,opt,name=vendor_code,json=vendorCode,proto3" json:"vendor_code,omitempty"` |
| } |
| |
| func (x *Partner_DisplayPanelVendor) Reset() { |
| *x = Partner_DisplayPanelVendor{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromiumos_config_api_partner_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Partner_DisplayPanelVendor) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Partner_DisplayPanelVendor) ProtoMessage() {} |
| |
| func (x *Partner_DisplayPanelVendor) ProtoReflect() protoreflect.Message { |
| mi := &file_chromiumos_config_api_partner_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Partner_DisplayPanelVendor.ProtoReflect.Descriptor instead. |
| func (*Partner_DisplayPanelVendor) Descriptor() ([]byte, []int) { |
| return file_chromiumos_config_api_partner_proto_rawDescGZIP(), []int{0, 1} |
| } |
| |
| func (x *Partner_DisplayPanelVendor) GetVendorCode() string { |
| if x != nil { |
| return x.VendorCode |
| } |
| return "" |
| } |
| |
| // Defines partner config unique to battery manufacturers. |
| type Partner_BatteryVendor struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Vendor name assigned (generally 16 char) |
| VendorName string `protobuf:"bytes,4,opt,name=vendor_name,json=vendorName,proto3" json:"vendor_name,omitempty"` |
| } |
| |
| func (x *Partner_BatteryVendor) Reset() { |
| *x = Partner_BatteryVendor{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromiumos_config_api_partner_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Partner_BatteryVendor) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Partner_BatteryVendor) ProtoMessage() {} |
| |
| func (x *Partner_BatteryVendor) ProtoReflect() protoreflect.Message { |
| mi := &file_chromiumos_config_api_partner_proto_msgTypes[3] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Partner_BatteryVendor.ProtoReflect.Descriptor instead. |
| func (*Partner_BatteryVendor) Descriptor() ([]byte, []int) { |
| return file_chromiumos_config_api_partner_proto_rawDescGZIP(), []int{0, 2} |
| } |
| |
| func (x *Partner_BatteryVendor) GetVendorName() string { |
| if x != nil { |
| return x.VendorName |
| } |
| return "" |
| } |
| |
| var File_chromiumos_config_api_partner_proto protoreflect.FileDescriptor |
| |
| var file_chromiumos_config_api_partner_proto_rawDesc = []byte{ |
| 0x0a, 0x23, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e, |
| 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, |
| 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x26, 0x63, 0x68, |
| 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, |
| 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x2e, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf7, 0x04, 0x0a, 0x07, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, |
| 0x12, 0x30, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x52, 0x02, |
| 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, |
| 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6d, 0x61, |
| 0x69, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x4d, 0x0a, 0x0c, 0x74, 0x6f, 0x75, 0x63, 0x68, |
| 0x5f, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, |
| 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e, 0x54, 0x6f, |
| 0x75, 0x63, 0x68, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x52, 0x0b, 0x74, 0x6f, 0x75, 0x63, 0x68, |
| 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x12, 0x63, 0x0a, 0x14, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, |
| 0x79, 0x5f, 0x70, 0x61, 0x6e, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x18, 0x05, |
| 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, |
| 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x72, |
| 0x74, 0x6e, 0x65, 0x72, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x50, 0x61, 0x6e, 0x65, |
| 0x6c, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x52, 0x12, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, |
| 0x50, 0x61, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x12, 0x53, 0x0a, 0x0e, 0x62, |
| 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x5f, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x18, 0x06, 0x20, |
| 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, |
| 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x72, 0x74, |
| 0x6e, 0x65, 0x72, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x56, 0x65, 0x6e, 0x64, 0x6f, |
| 0x72, 0x52, 0x0d, 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, |
| 0x1a, 0x92, 0x01, 0x0a, 0x0b, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, |
| 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, |
| 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, |
| 0x13, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x66, 0x6f, |
| 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x79, 0x6d, 0x6c, |
| 0x69, 0x6e, 0x6b, 0x46, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x36, 0x0a, |
| 0x17, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6c, |
| 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, |
| 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x46, |
| 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x1a, 0x35, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, |
| 0x50, 0x61, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x76, |
| 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 0x52, 0x0a, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x1a, 0x30, 0x0a, 0x0d, |
| 0x42, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x12, 0x1f, 0x0a, |
| 0x0b, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, |
| 0x28, 0x09, 0x52, 0x0a, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x2a, |
| 0x5a, 0x28, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, |
| 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 0x6f, 0x33, |
| } |
| |
| var ( |
| file_chromiumos_config_api_partner_proto_rawDescOnce sync.Once |
| file_chromiumos_config_api_partner_proto_rawDescData = file_chromiumos_config_api_partner_proto_rawDesc |
| ) |
| |
| func file_chromiumos_config_api_partner_proto_rawDescGZIP() []byte { |
| file_chromiumos_config_api_partner_proto_rawDescOnce.Do(func() { |
| file_chromiumos_config_api_partner_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_api_partner_proto_rawDescData) |
| }) |
| return file_chromiumos_config_api_partner_proto_rawDescData |
| } |
| |
| var file_chromiumos_config_api_partner_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| var file_chromiumos_config_api_partner_proto_goTypes = []interface{}{ |
| (*Partner)(nil), // 0: chromiumos.config.api.Partner |
| (*Partner_TouchVendor)(nil), // 1: chromiumos.config.api.Partner.TouchVendor |
| (*Partner_DisplayPanelVendor)(nil), // 2: chromiumos.config.api.Partner.DisplayPanelVendor |
| (*Partner_BatteryVendor)(nil), // 3: chromiumos.config.api.Partner.BatteryVendor |
| (*PartnerId)(nil), // 4: chromiumos.config.api.PartnerId |
| } |
| var file_chromiumos_config_api_partner_proto_depIdxs = []int32{ |
| 4, // 0: chromiumos.config.api.Partner.id:type_name -> chromiumos.config.api.PartnerId |
| 1, // 1: chromiumos.config.api.Partner.touch_vendor:type_name -> chromiumos.config.api.Partner.TouchVendor |
| 2, // 2: chromiumos.config.api.Partner.display_panel_vendor:type_name -> chromiumos.config.api.Partner.DisplayPanelVendor |
| 3, // 3: chromiumos.config.api.Partner.battery_vendor:type_name -> chromiumos.config.api.Partner.BatteryVendor |
| 4, // [4:4] is the sub-list for method output_type |
| 4, // [4:4] is the sub-list for method input_type |
| 4, // [4:4] is the sub-list for extension type_name |
| 4, // [4:4] is the sub-list for extension extendee |
| 0, // [0:4] is the sub-list for field type_name |
| } |
| |
| func init() { file_chromiumos_config_api_partner_proto_init() } |
| func file_chromiumos_config_api_partner_proto_init() { |
| if File_chromiumos_config_api_partner_proto != nil { |
| return |
| } |
| file_chromiumos_config_api_partner_id_proto_init() |
| if !protoimpl.UnsafeEnabled { |
| file_chromiumos_config_api_partner_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Partner); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromiumos_config_api_partner_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Partner_TouchVendor); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromiumos_config_api_partner_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Partner_DisplayPanelVendor); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromiumos_config_api_partner_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Partner_BatteryVendor); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_chromiumos_config_api_partner_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 4, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_chromiumos_config_api_partner_proto_goTypes, |
| DependencyIndexes: file_chromiumos_config_api_partner_proto_depIdxs, |
| MessageInfos: file_chromiumos_config_api_partner_proto_msgTypes, |
| }.Build() |
| File_chromiumos_config_api_partner_proto = out.File |
| file_chromiumos_config_api_partner_proto_rawDesc = nil |
| file_chromiumos_config_api_partner_proto_goTypes = nil |
| file_chromiumos_config_api_partner_proto_depIdxs = nil |
| } |