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: ...