"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import collections.abc
import ft_error_pb2
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import google.protobuf.timestamp_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 session_info(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ERR_FIELD_NUMBER: builtins.int
    SESSIONID_FIELD_NUMBER: builtins.int
    USER_IDENTIFIER_FIELD_NUMBER: builtins.int
    COMMENT_FIELD_NUMBER: builtins.int
    DEVICES_FIELD_NUMBER: builtins.int
    FLAGS_FIELD_NUMBER: builtins.int
    EXPIRY_FIELD_NUMBER: builtins.int
    @property
    def err(self) -> ft_error_pb2.errstatus: ...
    sessionid: builtins.bytes
    user_identifier: builtins.str
    comment: builtins.str
    @property
    def devices(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
    @property
    def flags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
    @property
    def expiry(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    def __init__(
        self,
        *,
        err: ft_error_pb2.errstatus | None = ...,
        sessionid: builtins.bytes = ...,
        user_identifier: builtins.str = ...,
        comment: builtins.str = ...,
        devices: collections.abc.Iterable[builtins.int] | None = ...,
        flags: collections.abc.Iterable[builtins.str] | None = ...,
        expiry: google.protobuf.timestamp_pb2.Timestamp | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["err", b"err", "expiry", b"expiry"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["comment", b"comment", "devices", b"devices", "err", b"err", "expiry", b"expiry", "flags", b"flags", "sessionid", b"sessionid", "user_identifier", b"user_identifier"]) -> None: ...

global___session_info = session_info

@typing_extensions.final
class session_list(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ERR_FIELD_NUMBER: builtins.int
    SESSIONS_FIELD_NUMBER: builtins.int
    @property
    def err(self) -> ft_error_pb2.errstatus: ...
    @property
    def sessions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___session_info]: ...
    def __init__(
        self,
        *,
        err: ft_error_pb2.errstatus | None = ...,
        sessions: collections.abc.Iterable[global___session_info] | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["err", b"err"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["err", b"err", "sessions", b"sessions"]) -> None: ...

global___session_list = session_list
