"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
from builtins import (
    bytes,
    int,
)

from google.protobuf.descriptor import (
    Descriptor,
    FileDescriptor,
)

from google.protobuf.internal.containers import (
    RepeatedCompositeFieldContainer,
)

from google.protobuf.message import (
    Message,
)

from typing import (
    Iterable,
    Optional,
)

from typing_extensions import (
    Literal,
)


DESCRIPTOR: FileDescriptor

class LongMsgDeleteReq(Message):
    DESCRIPTOR: Descriptor
    MSGRESID_FIELD_NUMBER: int
    MSGTYPE_FIELD_NUMBER: int
    msgResid: bytes
    msgType: int
    def __init__(self,
        *,
        msgResid: bytes = ...,
        msgType: int = ...,
        ) -> None: ...
    def ClearField(self, field_name: Literal["msgResid",b"msgResid","msgType",b"msgType"]) -> None: ...

class LongMsgDeleteRsp(Message):
    DESCRIPTOR: Descriptor
    RESULT_FIELD_NUMBER: int
    MSGRESID_FIELD_NUMBER: int
    result: int
    msgResid: bytes
    def __init__(self,
        *,
        result: int = ...,
        msgResid: bytes = ...,
        ) -> None: ...
    def ClearField(self, field_name: Literal["msgResid",b"msgResid","result",b"result"]) -> None: ...

class LongMsgDownReq(Message):
    DESCRIPTOR: Descriptor
    SRCUIN_FIELD_NUMBER: int
    MSGRESID_FIELD_NUMBER: int
    MSGTYPE_FIELD_NUMBER: int
    NEEDCACHE_FIELD_NUMBER: int
    srcUin: int
    msgResid: bytes
    msgType: int
    needCache: int
    def __init__(self,
        *,
        srcUin: int = ...,
        msgResid: bytes = ...,
        msgType: int = ...,
        needCache: int = ...,
        ) -> None: ...
    def ClearField(self, field_name: Literal["msgResid",b"msgResid","msgType",b"msgType","needCache",b"needCache","srcUin",b"srcUin"]) -> None: ...

class LongMsgDownRsp(Message):
    DESCRIPTOR: Descriptor
    RESULT_FIELD_NUMBER: int
    MSGRESID_FIELD_NUMBER: int
    MSGCONTENT_FIELD_NUMBER: int
    result: int
    msgResid: bytes
    msgContent: bytes
    def __init__(self,
        *,
        result: int = ...,
        msgResid: bytes = ...,
        msgContent: bytes = ...,
        ) -> None: ...
    def ClearField(self, field_name: Literal["msgContent",b"msgContent","msgResid",b"msgResid","result",b"result"]) -> None: ...

class LongMsgUpReq(Message):
    DESCRIPTOR: Descriptor
    MSGTYPE_FIELD_NUMBER: int
    DSTUIN_FIELD_NUMBER: int
    MSGID_FIELD_NUMBER: int
    MSGCONTENT_FIELD_NUMBER: int
    STORETYPE_FIELD_NUMBER: int
    MSGUKEY_FIELD_NUMBER: int
    NEEDCACHE_FIELD_NUMBER: int
    msgType: int
    dstUin: int
    msgId: int
    msgContent: bytes
    storeType: int
    msgUkey: bytes
    needCache: int
    def __init__(self,
        *,
        msgType: int = ...,
        dstUin: int = ...,
        msgId: int = ...,
        msgContent: bytes = ...,
        storeType: int = ...,
        msgUkey: bytes = ...,
        needCache: int = ...,
        ) -> None: ...
    def ClearField(self, field_name: Literal["dstUin",b"dstUin","msgContent",b"msgContent","msgId",b"msgId","msgType",b"msgType","msgUkey",b"msgUkey","needCache",b"needCache","storeType",b"storeType"]) -> None: ...

class LongMsgUpRsp(Message):
    DESCRIPTOR: Descriptor
    RESULT_FIELD_NUMBER: int
    MSGID_FIELD_NUMBER: int
    MSGRESID_FIELD_NUMBER: int
    result: int
    msgId: int
    msgResid: bytes
    def __init__(self,
        *,
        result: int = ...,
        msgId: int = ...,
        msgResid: bytes = ...,
        ) -> None: ...
    def ClearField(self, field_name: Literal["msgId",b"msgId","msgResid",b"msgResid","result",b"result"]) -> None: ...

class LongReqBody(Message):
    DESCRIPTOR: Descriptor
    SUBCMD_FIELD_NUMBER: int
    TERMTYPE_FIELD_NUMBER: int
    PLATFORMTYPE_FIELD_NUMBER: int
    MSGUPREQ_FIELD_NUMBER: int
    MSGDOWNREQ_FIELD_NUMBER: int
    MSGDELREQ_FIELD_NUMBER: int
    AGENTTYPE_FIELD_NUMBER: int
    subcmd: int
    termType: int
    platformType: int
    @property
    def msgUpReq(self) -> RepeatedCompositeFieldContainer[LongMsgUpReq]: ...
    @property
    def msgDownReq(self) -> RepeatedCompositeFieldContainer[LongMsgDownReq]: ...
    @property
    def msgDelReq(self) -> RepeatedCompositeFieldContainer[LongMsgDeleteReq]: ...
    agentType: int
    def __init__(self,
        *,
        subcmd: int = ...,
        termType: int = ...,
        platformType: int = ...,
        msgUpReq: Optional[Iterable[LongMsgUpReq]] = ...,
        msgDownReq: Optional[Iterable[LongMsgDownReq]] = ...,
        msgDelReq: Optional[Iterable[LongMsgDeleteReq]] = ...,
        agentType: int = ...,
        ) -> None: ...
    def ClearField(self, field_name: Literal["agentType",b"agentType","msgDelReq",b"msgDelReq","msgDownReq",b"msgDownReq","msgUpReq",b"msgUpReq","platformType",b"platformType","subcmd",b"subcmd","termType",b"termType"]) -> None: ...

class LongRspBody(Message):
    DESCRIPTOR: Descriptor
    SUBCMD_FIELD_NUMBER: int
    MSGUPRSP_FIELD_NUMBER: int
    MSGDOWNRSP_FIELD_NUMBER: int
    MSGDELRSP_FIELD_NUMBER: int
    subcmd: int
    @property
    def msgUpRsp(self) -> RepeatedCompositeFieldContainer[LongMsgUpRsp]: ...
    @property
    def msgDownRsp(self) -> RepeatedCompositeFieldContainer[LongMsgDownRsp]: ...
    @property
    def msgDelRsp(self) -> RepeatedCompositeFieldContainer[LongMsgDeleteRsp]: ...
    def __init__(self,
        *,
        subcmd: int = ...,
        msgUpRsp: Optional[Iterable[LongMsgUpRsp]] = ...,
        msgDownRsp: Optional[Iterable[LongMsgDownRsp]] = ...,
        msgDelRsp: Optional[Iterable[LongMsgDeleteRsp]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: Literal["msgDelRsp",b"msgDelRsp","msgDownRsp",b"msgDownRsp","msgUpRsp",b"msgUpRsp","subcmd",b"subcmd"]) -> None: ...
