mirror of
https://github.com/meshtastic/python.git
synced 2026-01-01 12:27:59 -05:00
55 lines
1.9 KiB
Python
55 lines
1.9 KiB
Python
"""
|
|
@generated by mypy-protobuf. Do not edit manually!
|
|
isort:skip_file
|
|
"""
|
|
import builtins
|
|
import collections.abc
|
|
import google.protobuf.descriptor
|
|
import google.protobuf.internal.containers
|
|
import google.protobuf.message
|
|
import meshtastic.channel_pb2
|
|
import meshtastic.config_pb2
|
|
import sys
|
|
|
|
if sys.version_info >= (3, 8):
|
|
import typing as typing_extensions
|
|
else:
|
|
import typing_extensions
|
|
|
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
|
|
@typing_extensions.final
|
|
class ChannelSet(google.protobuf.message.Message):
|
|
"""
|
|
This is the most compact possible representation for a set of channels.
|
|
It includes only one PRIMARY channel (which must be first) and
|
|
any SECONDARY channels.
|
|
No DISABLED channels are included.
|
|
This abstraction is used only on the the 'app side' of the world (ie python, javascript and android etc) to show a group of Channels as a (long) URL
|
|
"""
|
|
|
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
|
|
SETTINGS_FIELD_NUMBER: builtins.int
|
|
LORA_CONFIG_FIELD_NUMBER: builtins.int
|
|
@property
|
|
def settings(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[meshtastic.channel_pb2.ChannelSettings]:
|
|
"""
|
|
Channel list with settings
|
|
"""
|
|
@property
|
|
def lora_config(self) -> meshtastic.config_pb2.Config.LoRaConfig:
|
|
"""
|
|
LoRa config
|
|
"""
|
|
def __init__(
|
|
self,
|
|
*,
|
|
settings: collections.abc.Iterable[meshtastic.channel_pb2.ChannelSettings] | None = ...,
|
|
lora_config: meshtastic.config_pb2.Config.LoRaConfig | None = ...,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions.Literal["lora_config", b"lora_config"]) -> builtins.bool: ...
|
|
def ClearField(self, field_name: typing_extensions.Literal["lora_config", b"lora_config", "settings", b"settings"]) -> None: ...
|
|
|
|
global___ChannelSet = ChannelSet
|