"""
@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 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 serverflag(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ERR_FIELD_NUMBER: builtins.int
    MSGID_FIELD_NUMBER: builtins.int
    FLAGNAME_FIELD_NUMBER: builtins.int
    DBLVAL_FIELD_NUMBER: builtins.int
    INTVAL_FIELD_NUMBER: builtins.int
    BOOLVAL_FIELD_NUMBER: builtins.int
    STRINGVAL_FIELD_NUMBER: builtins.int
    @property
    def err(self) -> ft_error_pb2.errstatus: ...
    msgid: builtins.int
    flagname: builtins.str
    dblval: builtins.float
    intval: builtins.int
    boolval: builtins.bool
    stringval: builtins.str
    def __init__(
        self,
        *,
        err: ft_error_pb2.errstatus | None = ...,
        msgid: builtins.int = ...,
        flagname: builtins.str = ...,
        dblval: builtins.float = ...,
        intval: builtins.int = ...,
        boolval: builtins.bool = ...,
        stringval: builtins.str = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["arg", b"arg", "boolval", b"boolval", "dblval", b"dblval", "err", b"err", "intval", b"intval", "stringval", b"stringval"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["arg", b"arg", "boolval", b"boolval", "dblval", b"dblval", "err", b"err", "flagname", b"flagname", "intval", b"intval", "msgid", b"msgid", "stringval", b"stringval"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["arg", b"arg"]) -> typing_extensions.Literal["dblval", "intval", "boolval", "stringval"] | None: ...

global___serverflag = serverflag

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

    ERR_FIELD_NUMBER: builtins.int
    MSGID_FIELD_NUMBER: builtins.int
    FLAGS_FIELD_NUMBER: builtins.int
    @property
    def err(self) -> ft_error_pb2.errstatus: ...
    msgid: builtins.int
    @property
    def flags(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___serverflag]: ...
    def __init__(
        self,
        *,
        err: ft_error_pb2.errstatus | None = ...,
        msgid: builtins.int = ...,
        flags: collections.abc.Iterable[global___serverflag] | 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", "flags", b"flags", "msgid", b"msgid"]) -> None: ...

global___serverflaglist = serverflaglist
