619 lines
21 KiB
Go
619 lines
21 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc v3.21.12
|
|
// source: protobufs/device_ui.proto
|
|
|
|
package protobufs
|
|
|
|
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)
|
|
)
|
|
|
|
type Theme int32
|
|
|
|
const (
|
|
// Dark
|
|
Theme_DARK Theme = 0
|
|
// Light
|
|
Theme_LIGHT Theme = 1
|
|
// Red
|
|
Theme_RED Theme = 2
|
|
)
|
|
|
|
// Enum value maps for Theme.
|
|
var (
|
|
Theme_name = map[int32]string{
|
|
0: "DARK",
|
|
1: "LIGHT",
|
|
2: "RED",
|
|
}
|
|
Theme_value = map[string]int32{
|
|
"DARK": 0,
|
|
"LIGHT": 1,
|
|
"RED": 2,
|
|
}
|
|
)
|
|
|
|
func (x Theme) Enum() *Theme {
|
|
p := new(Theme)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Theme) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Theme) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_protobufs_device_ui_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (Theme) Type() protoreflect.EnumType {
|
|
return &file_protobufs_device_ui_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x Theme) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Theme.Descriptor instead.
|
|
func (Theme) EnumDescriptor() ([]byte, []int) {
|
|
return file_protobufs_device_ui_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// Localization
|
|
type Language int32
|
|
|
|
const (
|
|
// English
|
|
Language_ENGLISH Language = 0
|
|
// French
|
|
Language_FRENCH Language = 1
|
|
// German
|
|
Language_GERMAN Language = 2
|
|
// Italian
|
|
Language_ITALIAN Language = 3
|
|
// Portuguese
|
|
Language_PORTUGUESE Language = 4
|
|
// Spanish
|
|
Language_SPANISH Language = 5
|
|
// Swedish
|
|
Language_SWEDISH Language = 6
|
|
// Finnish
|
|
Language_FINNISH Language = 7
|
|
// Polish
|
|
Language_POLISH Language = 8
|
|
// Turkish
|
|
Language_TURKISH Language = 9
|
|
)
|
|
|
|
// Enum value maps for Language.
|
|
var (
|
|
Language_name = map[int32]string{
|
|
0: "ENGLISH",
|
|
1: "FRENCH",
|
|
2: "GERMAN",
|
|
3: "ITALIAN",
|
|
4: "PORTUGUESE",
|
|
5: "SPANISH",
|
|
6: "SWEDISH",
|
|
7: "FINNISH",
|
|
8: "POLISH",
|
|
9: "TURKISH",
|
|
}
|
|
Language_value = map[string]int32{
|
|
"ENGLISH": 0,
|
|
"FRENCH": 1,
|
|
"GERMAN": 2,
|
|
"ITALIAN": 3,
|
|
"PORTUGUESE": 4,
|
|
"SPANISH": 5,
|
|
"SWEDISH": 6,
|
|
"FINNISH": 7,
|
|
"POLISH": 8,
|
|
"TURKISH": 9,
|
|
}
|
|
)
|
|
|
|
func (x Language) Enum() *Language {
|
|
p := new(Language)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Language) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Language) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_protobufs_device_ui_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (Language) Type() protoreflect.EnumType {
|
|
return &file_protobufs_device_ui_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x Language) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Language.Descriptor instead.
|
|
func (Language) EnumDescriptor() ([]byte, []int) {
|
|
return file_protobufs_device_ui_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type DeviceUIConfig struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// TFT display brightness 1..255
|
|
ScreenBrightness uint32 `protobuf:"varint,1,opt,name=screen_brightness,json=screenBrightness,proto3" json:"screen_brightness,omitempty"`
|
|
// Screen timeout 0..900
|
|
ScreenTimeout uint32 `protobuf:"varint,2,opt,name=screen_timeout,json=screenTimeout,proto3" json:"screen_timeout,omitempty"`
|
|
// Screen lock enabled
|
|
ScreenLock bool `protobuf:"varint,3,opt,name=screen_lock,json=screenLock,proto3" json:"screen_lock,omitempty"`
|
|
// Color theme
|
|
Theme Theme `protobuf:"varint,4,opt,name=theme,proto3,enum=meshtastic.Theme" json:"theme,omitempty"`
|
|
// Audible message alert enabled
|
|
AlertEnabled bool `protobuf:"varint,5,opt,name=alert_enabled,json=alertEnabled,proto3" json:"alert_enabled,omitempty"`
|
|
// Localization
|
|
Language Language `protobuf:"varint,6,opt,name=language,proto3,enum=meshtastic.Language" json:"language,omitempty"`
|
|
// Node list filter
|
|
NodeFilter *NodeFilter `protobuf:"bytes,7,opt,name=node_filter,json=nodeFilter,proto3" json:"node_filter,omitempty"`
|
|
// Node list highlightening
|
|
NodeHighlight *NodeHighlight `protobuf:"bytes,8,opt,name=node_highlight,json=nodeHighlight,proto3" json:"node_highlight,omitempty"`
|
|
}
|
|
|
|
func (x *DeviceUIConfig) Reset() {
|
|
*x = DeviceUIConfig{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protobufs_device_ui_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeviceUIConfig) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeviceUIConfig) ProtoMessage() {}
|
|
|
|
func (x *DeviceUIConfig) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protobufs_device_ui_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 DeviceUIConfig.ProtoReflect.Descriptor instead.
|
|
func (*DeviceUIConfig) Descriptor() ([]byte, []int) {
|
|
return file_protobufs_device_ui_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *DeviceUIConfig) GetScreenBrightness() uint32 {
|
|
if x != nil {
|
|
return x.ScreenBrightness
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeviceUIConfig) GetScreenTimeout() uint32 {
|
|
if x != nil {
|
|
return x.ScreenTimeout
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeviceUIConfig) GetScreenLock() bool {
|
|
if x != nil {
|
|
return x.ScreenLock
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeviceUIConfig) GetTheme() Theme {
|
|
if x != nil {
|
|
return x.Theme
|
|
}
|
|
return Theme_DARK
|
|
}
|
|
|
|
func (x *DeviceUIConfig) GetAlertEnabled() bool {
|
|
if x != nil {
|
|
return x.AlertEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeviceUIConfig) GetLanguage() Language {
|
|
if x != nil {
|
|
return x.Language
|
|
}
|
|
return Language_ENGLISH
|
|
}
|
|
|
|
func (x *DeviceUIConfig) GetNodeFilter() *NodeFilter {
|
|
if x != nil {
|
|
return x.NodeFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeviceUIConfig) GetNodeHighlight() *NodeHighlight {
|
|
if x != nil {
|
|
return x.NodeHighlight
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NodeFilter struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Filter unknown nodes
|
|
UnknownSwitch bool `protobuf:"varint,1,opt,name=unknown_switch,json=unknownSwitch,proto3" json:"unknown_switch,omitempty"`
|
|
// Filter offline nodes
|
|
OfflineSwitch bool `protobuf:"varint,2,opt,name=offline_switch,json=offlineSwitch,proto3" json:"offline_switch,omitempty"`
|
|
// Filter nodes w/o public key
|
|
PublicKeySwitch bool `protobuf:"varint,3,opt,name=public_key_switch,json=publicKeySwitch,proto3" json:"public_key_switch,omitempty"`
|
|
// Filter based on hops away
|
|
HopsAway int32 `protobuf:"varint,4,opt,name=hops_away,json=hopsAway,proto3" json:"hops_away,omitempty"`
|
|
// Filter nodes w/o position
|
|
PositionSwitch bool `protobuf:"varint,5,opt,name=position_switch,json=positionSwitch,proto3" json:"position_switch,omitempty"`
|
|
// Filter nodes by matching name string
|
|
NodeName string `protobuf:"bytes,6,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
|
|
}
|
|
|
|
func (x *NodeFilter) Reset() {
|
|
*x = NodeFilter{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protobufs_device_ui_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NodeFilter) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeFilter) ProtoMessage() {}
|
|
|
|
func (x *NodeFilter) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protobufs_device_ui_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 NodeFilter.ProtoReflect.Descriptor instead.
|
|
func (*NodeFilter) Descriptor() ([]byte, []int) {
|
|
return file_protobufs_device_ui_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *NodeFilter) GetUnknownSwitch() bool {
|
|
if x != nil {
|
|
return x.UnknownSwitch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NodeFilter) GetOfflineSwitch() bool {
|
|
if x != nil {
|
|
return x.OfflineSwitch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NodeFilter) GetPublicKeySwitch() bool {
|
|
if x != nil {
|
|
return x.PublicKeySwitch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NodeFilter) GetHopsAway() int32 {
|
|
if x != nil {
|
|
return x.HopsAway
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NodeFilter) GetPositionSwitch() bool {
|
|
if x != nil {
|
|
return x.PositionSwitch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NodeFilter) GetNodeName() string {
|
|
if x != nil {
|
|
return x.NodeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NodeHighlight struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Hightlight nodes w/ active chat
|
|
ChatSwitch bool `protobuf:"varint,1,opt,name=chat_switch,json=chatSwitch,proto3" json:"chat_switch,omitempty"`
|
|
// Highlight nodes w/ position
|
|
PositionSwitch bool `protobuf:"varint,2,opt,name=position_switch,json=positionSwitch,proto3" json:"position_switch,omitempty"`
|
|
// Highlight nodes w/ telemetry data
|
|
TelemetrySwitch bool `protobuf:"varint,3,opt,name=telemetry_switch,json=telemetrySwitch,proto3" json:"telemetry_switch,omitempty"`
|
|
// Highlight nodes w/ iaq data
|
|
IaqSwitch bool `protobuf:"varint,4,opt,name=iaq_switch,json=iaqSwitch,proto3" json:"iaq_switch,omitempty"`
|
|
// Highlight nodes by matching name string
|
|
NodeName string `protobuf:"bytes,5,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
|
|
}
|
|
|
|
func (x *NodeHighlight) Reset() {
|
|
*x = NodeHighlight{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protobufs_device_ui_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NodeHighlight) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeHighlight) ProtoMessage() {}
|
|
|
|
func (x *NodeHighlight) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protobufs_device_ui_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 NodeHighlight.ProtoReflect.Descriptor instead.
|
|
func (*NodeHighlight) Descriptor() ([]byte, []int) {
|
|
return file_protobufs_device_ui_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *NodeHighlight) GetChatSwitch() bool {
|
|
if x != nil {
|
|
return x.ChatSwitch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NodeHighlight) GetPositionSwitch() bool {
|
|
if x != nil {
|
|
return x.PositionSwitch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NodeHighlight) GetTelemetrySwitch() bool {
|
|
if x != nil {
|
|
return x.TelemetrySwitch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NodeHighlight) GetIaqSwitch() bool {
|
|
if x != nil {
|
|
return x.IaqSwitch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NodeHighlight) GetNodeName() string {
|
|
if x != nil {
|
|
return x.NodeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_protobufs_device_ui_proto protoreflect.FileDescriptor
|
|
|
|
var file_protobufs_device_ui_proto_rawDesc = []byte{
|
|
0x0a, 0x19, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x69,
|
|
0x63, 0x65, 0x5f, 0x75, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6d, 0x65, 0x73,
|
|
0x68, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x22, 0x80, 0x03, 0x0a, 0x0e, 0x44, 0x65, 0x76, 0x69,
|
|
0x63, 0x65, 0x55, 0x49, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x63,
|
|
0x72, 0x65, 0x65, 0x6e, 0x5f, 0x62, 0x72, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x42, 0x72, 0x69,
|
|
0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x72, 0x65, 0x65,
|
|
0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x0d, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1f,
|
|
0x0a, 0x0b, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4c, 0x6f, 0x63, 0x6b, 0x12,
|
|
0x27, 0x0a, 0x05, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11,
|
|
0x2e, 0x6d, 0x65, 0x73, 0x68, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x54, 0x68, 0x65, 0x6d,
|
|
0x65, 0x52, 0x05, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x65, 0x72,
|
|
0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x0c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x30, 0x0a,
|
|
0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x14, 0x2e, 0x6d, 0x65, 0x73, 0x68, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x4c, 0x61, 0x6e,
|
|
0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12,
|
|
0x37, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x68, 0x74, 0x61, 0x73, 0x74, 0x69,
|
|
0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x6e, 0x6f,
|
|
0x64, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0e, 0x6e, 0x6f, 0x64, 0x65,
|
|
0x5f, 0x68, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x68, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x4e, 0x6f,
|
|
0x64, 0x65, 0x48, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x52, 0x0d, 0x6e, 0x6f, 0x64,
|
|
0x65, 0x48, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x0a, 0x4e,
|
|
0x6f, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x6e, 0x6b,
|
|
0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x0d, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
|
|
0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x77, 0x69, 0x74,
|
|
0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e,
|
|
0x65, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69,
|
|
0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x53, 0x77, 0x69,
|
|
0x74, 0x63, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x70, 0x73, 0x5f, 0x61, 0x77, 0x61, 0x79,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x68, 0x6f, 0x70, 0x73, 0x41, 0x77, 0x61, 0x79,
|
|
0x12, 0x27, 0x0a, 0x0f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x77, 0x69,
|
|
0x74, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x69, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64,
|
|
0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f,
|
|
0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x0d, 0x4e, 0x6f, 0x64, 0x65, 0x48,
|
|
0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x74,
|
|
0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63,
|
|
0x68, 0x61, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x6f, 0x73,
|
|
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x77, 0x69, 0x74,
|
|
0x63, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x5f,
|
|
0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x74, 0x65,
|
|
0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x69, 0x61, 0x71, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x09, 0x69, 0x61, 0x71, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x1b, 0x0a, 0x09,
|
|
0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x2a, 0x25, 0x0a, 0x05, 0x54, 0x68, 0x65,
|
|
0x6d, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x52, 0x4b, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05,
|
|
0x4c, 0x49, 0x47, 0x48, 0x54, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x45, 0x44, 0x10, 0x02,
|
|
0x2a, 0x8c, 0x01, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x0b, 0x0a,
|
|
0x07, 0x45, 0x4e, 0x47, 0x4c, 0x49, 0x53, 0x48, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x52,
|
|
0x45, 0x4e, 0x43, 0x48, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x47, 0x45, 0x52, 0x4d, 0x41, 0x4e,
|
|
0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x54, 0x41, 0x4c, 0x49, 0x41, 0x4e, 0x10, 0x03, 0x12,
|
|
0x0e, 0x0a, 0x0a, 0x50, 0x4f, 0x52, 0x54, 0x55, 0x47, 0x55, 0x45, 0x53, 0x45, 0x10, 0x04, 0x12,
|
|
0x0b, 0x0a, 0x07, 0x53, 0x50, 0x41, 0x4e, 0x49, 0x53, 0x48, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07,
|
|
0x53, 0x57, 0x45, 0x44, 0x49, 0x53, 0x48, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x49, 0x4e,
|
|
0x4e, 0x49, 0x53, 0x48, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x4f, 0x4c, 0x49, 0x53, 0x48,
|
|
0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x55, 0x52, 0x4b, 0x49, 0x53, 0x48, 0x10, 0x09, 0x42,
|
|
0x8a, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x65, 0x65, 0x6b, 0x73, 0x76, 0x69, 0x6c,
|
|
0x6c, 0x65, 0x2e, 0x6d, 0x65, 0x73, 0x68, 0x42, 0x0e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x55,
|
|
0x49, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x2e, 0x6a, 0x61, 0x6e,
|
|
0x6b, 0x79, 0x2e, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x66, 0x69, 0x6e,
|
|
0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x2d, 0x6d, 0x65, 0x73, 0x68, 0x74, 0x61, 0x73,
|
|
0x74, 0x69, 0x63, 0x2d, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2d, 0x67, 0x6f, 0x2f, 0x6d, 0x65,
|
|
0x73, 0x68, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x73, 0xaa, 0x02, 0x14, 0x4d, 0x65, 0x73, 0x68, 0x74, 0x61, 0x73, 0x74, 0x69, 0x63, 0x2e,
|
|
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x73, 0xba, 0x02, 0x00, 0x62, 0x06, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_protobufs_device_ui_proto_rawDescOnce sync.Once
|
|
file_protobufs_device_ui_proto_rawDescData = file_protobufs_device_ui_proto_rawDesc
|
|
)
|
|
|
|
func file_protobufs_device_ui_proto_rawDescGZIP() []byte {
|
|
file_protobufs_device_ui_proto_rawDescOnce.Do(func() {
|
|
file_protobufs_device_ui_proto_rawDescData = protoimpl.X.CompressGZIP(file_protobufs_device_ui_proto_rawDescData)
|
|
})
|
|
return file_protobufs_device_ui_proto_rawDescData
|
|
}
|
|
|
|
var file_protobufs_device_ui_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_protobufs_device_ui_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
var file_protobufs_device_ui_proto_goTypes = []interface{}{
|
|
(Theme)(0), // 0: meshtastic.Theme
|
|
(Language)(0), // 1: meshtastic.Language
|
|
(*DeviceUIConfig)(nil), // 2: meshtastic.DeviceUIConfig
|
|
(*NodeFilter)(nil), // 3: meshtastic.NodeFilter
|
|
(*NodeHighlight)(nil), // 4: meshtastic.NodeHighlight
|
|
}
|
|
var file_protobufs_device_ui_proto_depIdxs = []int32{
|
|
0, // 0: meshtastic.DeviceUIConfig.theme:type_name -> meshtastic.Theme
|
|
1, // 1: meshtastic.DeviceUIConfig.language:type_name -> meshtastic.Language
|
|
3, // 2: meshtastic.DeviceUIConfig.node_filter:type_name -> meshtastic.NodeFilter
|
|
4, // 3: meshtastic.DeviceUIConfig.node_highlight:type_name -> meshtastic.NodeHighlight
|
|
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_protobufs_device_ui_proto_init() }
|
|
func file_protobufs_device_ui_proto_init() {
|
|
if File_protobufs_device_ui_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_protobufs_device_ui_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeviceUIConfig); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protobufs_device_ui_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NodeFilter); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protobufs_device_ui_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NodeHighlight); 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_protobufs_device_ui_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 3,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_protobufs_device_ui_proto_goTypes,
|
|
DependencyIndexes: file_protobufs_device_ui_proto_depIdxs,
|
|
EnumInfos: file_protobufs_device_ui_proto_enumTypes,
|
|
MessageInfos: file_protobufs_device_ui_proto_msgTypes,
|
|
}.Build()
|
|
File_protobufs_device_ui_proto = out.File
|
|
file_protobufs_device_ui_proto_rawDesc = nil
|
|
file_protobufs_device_ui_proto_goTypes = nil
|
|
file_protobufs_device_ui_proto_depIdxs = nil
|
|
}
|