gitscope
← marzneshin / v0.3.0-alpha11 / app/marznode/marznode_pb2.pyi
https://dev.kronoz.win/r/marzneshin.git
app/marznode/marznode_pb2.pyi · Python
Blame Raw
 1from google.protobuf.internal import containers as _containers
 2from google.protobuf import descriptor as _descriptor
 3from google.protobuf import message as _message
 4from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
 5
 6DESCRIPTOR: _descriptor.FileDescriptor
 7
 8class Empty(_message.Message):
 9    __slots__ = ()
10    def __init__(self) -> None: ...
11
12class Inbound(_message.Message):
13    __slots__ = ("tag", "config")
14    TAG_FIELD_NUMBER: _ClassVar[int]
15    CONFIG_FIELD_NUMBER: _ClassVar[int]
16    tag: str
17    config: str
18    def __init__(self, tag: _Optional[str] = ..., config: _Optional[str] = ...) -> None: ...
19
20class InboundsResponse(_message.Message):
21    __slots__ = ("inbounds",)
22    INBOUNDS_FIELD_NUMBER: _ClassVar[int]
23    inbounds: _containers.RepeatedCompositeFieldContainer[Inbound]
24    def __init__(self, inbounds: _Optional[_Iterable[_Union[Inbound, _Mapping]]] = ...) -> None: ...
25
26class User(_message.Message):
27    __slots__ = ("id", "username", "key")
28    ID_FIELD_NUMBER: _ClassVar[int]
29    USERNAME_FIELD_NUMBER: _ClassVar[int]
30    KEY_FIELD_NUMBER: _ClassVar[int]
31    id: int
32    username: str
33    key: str
34    def __init__(self, id: _Optional[int] = ..., username: _Optional[str] = ..., key: _Optional[str] = ...) -> None: ...
35
36class UserData(_message.Message):
37    __slots__ = ("user", "inbounds")
38    USER_FIELD_NUMBER: _ClassVar[int]
39    INBOUNDS_FIELD_NUMBER: _ClassVar[int]
40    user: User
41    inbounds: _containers.RepeatedCompositeFieldContainer[Inbound]
42    def __init__(self, user: _Optional[_Union[User, _Mapping]] = ..., inbounds: _Optional[_Iterable[_Union[Inbound, _Mapping]]] = ...) -> None: ...
43
44class UsersData(_message.Message):
45    __slots__ = ("users_data",)
46    USERS_DATA_FIELD_NUMBER: _ClassVar[int]
47    users_data: _containers.RepeatedCompositeFieldContainer[UserData]
48    def __init__(self, users_data: _Optional[_Iterable[_Union[UserData, _Mapping]]] = ...) -> None: ...
49
50class UsersStats(_message.Message):
51    __slots__ = ("users_stats",)
52    class UserStats(_message.Message):
53        __slots__ = ("uid", "usage")
54        UID_FIELD_NUMBER: _ClassVar[int]
55        USAGE_FIELD_NUMBER: _ClassVar[int]
56        uid: int
57        usage: int
58        def __init__(self, uid: _Optional[int] = ..., usage: _Optional[int] = ...) -> None: ...
59    USERS_STATS_FIELD_NUMBER: _ClassVar[int]
60    users_stats: _containers.RepeatedCompositeFieldContainer[UsersStats.UserStats]
61    def __init__(self, users_stats: _Optional[_Iterable[_Union[UsersStats.UserStats, _Mapping]]] = ...) -> None: ...
62
63class LogLine(_message.Message):
64    __slots__ = ("line",)
65    LINE_FIELD_NUMBER: _ClassVar[int]
66    line: str
67    def __init__(self, line: _Optional[str] = ...) -> None: ...
68
69class XrayConfig(_message.Message):
70    __slots__ = ("configuration",)
71    CONFIGURATION_FIELD_NUMBER: _ClassVar[int]
72    configuration: str
73    def __init__(self, configuration: _Optional[str] = ...) -> None: ...
74
75class XrayLogsRequest(_message.Message):
76    __slots__ = ("include_buffer",)
77    INCLUDE_BUFFER_FIELD_NUMBER: _ClassVar[int]
78    include_buffer: bool
79    def __init__(self, include_buffer: bool = ...) -> None: ...