|
| 1 | +""" |
| 2 | +@generated by mypy-protobuf. Do not edit manually! |
| 3 | +isort:skip_file |
| 4 | +Use proto3 as the older protobuf we need for centos doesn't support |
| 5 | +2023 edition. |
| 6 | +""" |
| 7 | +import builtins |
| 8 | +import collections.abc |
| 9 | +import google.protobuf.descriptor |
| 10 | +import google.protobuf.internal.containers |
| 11 | +import google.protobuf.message |
| 12 | +import sys |
| 13 | + |
| 14 | +if sys.version_info >= (3, 8): |
| 15 | + import typing as typing_extensions |
| 16 | +else: |
| 17 | + import typing_extensions |
| 18 | + |
| 19 | +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor |
| 20 | + |
| 21 | +class InfoRequest(google.protobuf.message.Message): |
| 22 | + """--- Info --- |
| 23 | + Provide version numbers and basic information about the samba |
| 24 | + container instance. Mainly for debugging. |
| 25 | + """ |
| 26 | + |
| 27 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 28 | + |
| 29 | + def __init__( |
| 30 | + self, |
| 31 | + ) -> None: ... |
| 32 | + |
| 33 | +global___InfoRequest = InfoRequest |
| 34 | + |
| 35 | +class SambaInfo(google.protobuf.message.Message): |
| 36 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 37 | + |
| 38 | + VERSION_FIELD_NUMBER: builtins.int |
| 39 | + CLUSTERED_FIELD_NUMBER: builtins.int |
| 40 | + version: builtins.str |
| 41 | + clustered: builtins.bool |
| 42 | + def __init__( |
| 43 | + self, |
| 44 | + *, |
| 45 | + version: builtins.str = ..., |
| 46 | + clustered: builtins.bool = ..., |
| 47 | + ) -> None: ... |
| 48 | + def ClearField(self, field_name: typing_extensions.Literal["clustered", b"clustered", "version", b"version"]) -> None: ... |
| 49 | + |
| 50 | +global___SambaInfo = SambaInfo |
| 51 | + |
| 52 | +class SambaContainerInfo(google.protobuf.message.Message): |
| 53 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 54 | + |
| 55 | + SAMBACC_VERSION_FIELD_NUMBER: builtins.int |
| 56 | + CONTAINER_VERSION_FIELD_NUMBER: builtins.int |
| 57 | + sambacc_version: builtins.str |
| 58 | + container_version: builtins.str |
| 59 | + def __init__( |
| 60 | + self, |
| 61 | + *, |
| 62 | + sambacc_version: builtins.str = ..., |
| 63 | + container_version: builtins.str = ..., |
| 64 | + ) -> None: ... |
| 65 | + def ClearField(self, field_name: typing_extensions.Literal["container_version", b"container_version", "sambacc_version", b"sambacc_version"]) -> None: ... |
| 66 | + |
| 67 | +global___SambaContainerInfo = SambaContainerInfo |
| 68 | + |
| 69 | +class GeneralInfo(google.protobuf.message.Message): |
| 70 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 71 | + |
| 72 | + SAMBA_INFO_FIELD_NUMBER: builtins.int |
| 73 | + CONTAINER_INFO_FIELD_NUMBER: builtins.int |
| 74 | + @property |
| 75 | + def samba_info(self) -> global___SambaInfo: ... |
| 76 | + @property |
| 77 | + def container_info(self) -> global___SambaContainerInfo: ... |
| 78 | + def __init__( |
| 79 | + self, |
| 80 | + *, |
| 81 | + samba_info: global___SambaInfo | None = ..., |
| 82 | + container_info: global___SambaContainerInfo | None = ..., |
| 83 | + ) -> None: ... |
| 84 | + def HasField(self, field_name: typing_extensions.Literal["container_info", b"container_info", "samba_info", b"samba_info"]) -> builtins.bool: ... |
| 85 | + def ClearField(self, field_name: typing_extensions.Literal["container_info", b"container_info", "samba_info", b"samba_info"]) -> None: ... |
| 86 | + |
| 87 | +global___GeneralInfo = GeneralInfo |
| 88 | + |
| 89 | +class StatusRequest(google.protobuf.message.Message): |
| 90 | + """--- Status --- |
| 91 | + Fetch status information from the samba instance. Includes basic |
| 92 | + information about connected clients. |
| 93 | + """ |
| 94 | + |
| 95 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 96 | + |
| 97 | + def __init__( |
| 98 | + self, |
| 99 | + ) -> None: ... |
| 100 | + |
| 101 | +global___StatusRequest = StatusRequest |
| 102 | + |
| 103 | +class SessionInfo(google.protobuf.message.Message): |
| 104 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 105 | + |
| 106 | + SESSION_ID_FIELD_NUMBER: builtins.int |
| 107 | + USERNAME_FIELD_NUMBER: builtins.int |
| 108 | + GROUPNAME_FIELD_NUMBER: builtins.int |
| 109 | + REMOTE_MACHINE_FIELD_NUMBER: builtins.int |
| 110 | + HOSTNAME_FIELD_NUMBER: builtins.int |
| 111 | + SESSION_DIALECT_FIELD_NUMBER: builtins.int |
| 112 | + UID_FIELD_NUMBER: builtins.int |
| 113 | + GID_FIELD_NUMBER: builtins.int |
| 114 | + session_id: builtins.str |
| 115 | + username: builtins.str |
| 116 | + groupname: builtins.str |
| 117 | + remote_machine: builtins.str |
| 118 | + hostname: builtins.str |
| 119 | + session_dialect: builtins.str |
| 120 | + uid: builtins.int |
| 121 | + gid: builtins.int |
| 122 | + def __init__( |
| 123 | + self, |
| 124 | + *, |
| 125 | + session_id: builtins.str = ..., |
| 126 | + username: builtins.str = ..., |
| 127 | + groupname: builtins.str = ..., |
| 128 | + remote_machine: builtins.str = ..., |
| 129 | + hostname: builtins.str = ..., |
| 130 | + session_dialect: builtins.str = ..., |
| 131 | + uid: builtins.int = ..., |
| 132 | + gid: builtins.int = ..., |
| 133 | + ) -> None: ... |
| 134 | + def ClearField(self, field_name: typing_extensions.Literal["gid", b"gid", "groupname", b"groupname", "hostname", b"hostname", "remote_machine", b"remote_machine", "session_dialect", b"session_dialect", "session_id", b"session_id", "uid", b"uid", "username", b"username"]) -> None: ... |
| 135 | + |
| 136 | +global___SessionInfo = SessionInfo |
| 137 | + |
| 138 | +class ConnInfo(google.protobuf.message.Message): |
| 139 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 140 | + |
| 141 | + TCON_ID_FIELD_NUMBER: builtins.int |
| 142 | + SESSION_ID_FIELD_NUMBER: builtins.int |
| 143 | + SERVICE_NAME_FIELD_NUMBER: builtins.int |
| 144 | + tcon_id: builtins.str |
| 145 | + session_id: builtins.str |
| 146 | + service_name: builtins.str |
| 147 | + def __init__( |
| 148 | + self, |
| 149 | + *, |
| 150 | + tcon_id: builtins.str = ..., |
| 151 | + session_id: builtins.str = ..., |
| 152 | + service_name: builtins.str = ..., |
| 153 | + ) -> None: ... |
| 154 | + def ClearField(self, field_name: typing_extensions.Literal["service_name", b"service_name", "session_id", b"session_id", "tcon_id", b"tcon_id"]) -> None: ... |
| 155 | + |
| 156 | +global___ConnInfo = ConnInfo |
| 157 | + |
| 158 | +class StatusInfo(google.protobuf.message.Message): |
| 159 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 160 | + |
| 161 | + SERVER_TIMESTAMP_FIELD_NUMBER: builtins.int |
| 162 | + SESSIONS_FIELD_NUMBER: builtins.int |
| 163 | + TREE_CONNECTIONS_FIELD_NUMBER: builtins.int |
| 164 | + server_timestamp: builtins.str |
| 165 | + @property |
| 166 | + def sessions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SessionInfo]: ... |
| 167 | + @property |
| 168 | + def tree_connections(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConnInfo]: ... |
| 169 | + def __init__( |
| 170 | + self, |
| 171 | + *, |
| 172 | + server_timestamp: builtins.str = ..., |
| 173 | + sessions: collections.abc.Iterable[global___SessionInfo] | None = ..., |
| 174 | + tree_connections: collections.abc.Iterable[global___ConnInfo] | None = ..., |
| 175 | + ) -> None: ... |
| 176 | + def ClearField(self, field_name: typing_extensions.Literal["server_timestamp", b"server_timestamp", "sessions", b"sessions", "tree_connections", b"tree_connections"]) -> None: ... |
| 177 | + |
| 178 | +global___StatusInfo = StatusInfo |
| 179 | + |
| 180 | +class CloseShareRequest(google.protobuf.message.Message): |
| 181 | + """--- CloseShare --- |
| 182 | + Close shares to clients. |
| 183 | + """ |
| 184 | + |
| 185 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 186 | + |
| 187 | + SHARE_NAME_FIELD_NUMBER: builtins.int |
| 188 | + DENIED_USERS_FIELD_NUMBER: builtins.int |
| 189 | + share_name: builtins.str |
| 190 | + denied_users: builtins.bool |
| 191 | + def __init__( |
| 192 | + self, |
| 193 | + *, |
| 194 | + share_name: builtins.str = ..., |
| 195 | + denied_users: builtins.bool = ..., |
| 196 | + ) -> None: ... |
| 197 | + def ClearField(self, field_name: typing_extensions.Literal["denied_users", b"denied_users", "share_name", b"share_name"]) -> None: ... |
| 198 | + |
| 199 | +global___CloseShareRequest = CloseShareRequest |
| 200 | + |
| 201 | +class CloseShareInfo(google.protobuf.message.Message): |
| 202 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 203 | + |
| 204 | + def __init__( |
| 205 | + self, |
| 206 | + ) -> None: ... |
| 207 | + |
| 208 | +global___CloseShareInfo = CloseShareInfo |
| 209 | + |
| 210 | +class KillClientRequest(google.protobuf.message.Message): |
| 211 | + """--- KillClientConnection --- |
| 212 | + Forcibly disconnect a client. |
| 213 | + """ |
| 214 | + |
| 215 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 216 | + |
| 217 | + IP_ADDRESS_FIELD_NUMBER: builtins.int |
| 218 | + ip_address: builtins.str |
| 219 | + def __init__( |
| 220 | + self, |
| 221 | + *, |
| 222 | + ip_address: builtins.str = ..., |
| 223 | + ) -> None: ... |
| 224 | + def ClearField(self, field_name: typing_extensions.Literal["ip_address", b"ip_address"]) -> None: ... |
| 225 | + |
| 226 | +global___KillClientRequest = KillClientRequest |
| 227 | + |
| 228 | +class KillClientInfo(google.protobuf.message.Message): |
| 229 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor |
| 230 | + |
| 231 | + def __init__( |
| 232 | + self, |
| 233 | + ) -> None: ... |
| 234 | + |
| 235 | +global___KillClientInfo = KillClientInfo |
0 commit comments