"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
import builtins as _builtins
import sys
import typing as _typing

if sys.version_info >= (3, 10):
    from typing import TypeAlias as _TypeAlias
else:
    from typing_extensions import TypeAlias as _TypeAlias

DESCRIPTOR: _descriptor.FileDescriptor

@_typing.final
class MediaRetryNotification(_message.Message):
    DESCRIPTOR: _descriptor.Descriptor

    class _ResultType:
        ValueType = _typing.NewType("ValueType", _builtins.int)
        V: _TypeAlias = ValueType  # noqa: Y015

    class _ResultTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[MediaRetryNotification._ResultType.ValueType], _builtins.type):
        DESCRIPTOR: _descriptor.EnumDescriptor
        GENERAL_ERROR: MediaRetryNotification._ResultType.ValueType  # 0
        SUCCESS: MediaRetryNotification._ResultType.ValueType  # 1
        NOT_FOUND: MediaRetryNotification._ResultType.ValueType  # 2
        DECRYPTION_ERROR: MediaRetryNotification._ResultType.ValueType  # 3

    class ResultType(_ResultType, metaclass=_ResultTypeEnumTypeWrapper): ...
    GENERAL_ERROR: MediaRetryNotification.ResultType.ValueType  # 0
    SUCCESS: MediaRetryNotification.ResultType.ValueType  # 1
    NOT_FOUND: MediaRetryNotification.ResultType.ValueType  # 2
    DECRYPTION_ERROR: MediaRetryNotification.ResultType.ValueType  # 3

    STANZAID_FIELD_NUMBER: _builtins.int
    DIRECTPATH_FIELD_NUMBER: _builtins.int
    RESULT_FIELD_NUMBER: _builtins.int
    MESSAGESECRET_FIELD_NUMBER: _builtins.int
    stanzaID: _builtins.str
    directPath: _builtins.str
    result: Global___MediaRetryNotification.ResultType.ValueType
    messageSecret: _builtins.bytes
    def __init__(
        self,
        *,
        stanzaID: _builtins.str | None = ...,
        directPath: _builtins.str | None = ...,
        result: Global___MediaRetryNotification.ResultType.ValueType | None = ...,
        messageSecret: _builtins.bytes | None = ...,
    ) -> None: ...
    _HasFieldArgType: _TypeAlias = _typing.Literal["directPath", b"directPath", "messageSecret", b"messageSecret", "result", b"result", "stanzaID", b"stanzaID"]  # noqa: Y015
    def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
    _ClearFieldArgType: _TypeAlias = _typing.Literal["directPath", b"directPath", "messageSecret", b"messageSecret", "result", b"result", "stanzaID", b"stanzaID"]  # noqa: Y015
    def ClearField(self, field_name: _ClearFieldArgType) -> None: ...

Global___MediaRetryNotification: _TypeAlias = MediaRetryNotification  # noqa: Y015

@_typing.final
class ServerErrorReceipt(_message.Message):
    DESCRIPTOR: _descriptor.Descriptor

    STANZAID_FIELD_NUMBER: _builtins.int
    stanzaID: _builtins.str
    def __init__(
        self,
        *,
        stanzaID: _builtins.str | None = ...,
    ) -> None: ...
    _HasFieldArgType: _TypeAlias = _typing.Literal["stanzaID", b"stanzaID"]  # noqa: Y015
    def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
    _ClearFieldArgType: _TypeAlias = _typing.Literal["stanzaID", b"stanzaID"]  # noqa: Y015
    def ClearField(self, field_name: _ClearFieldArgType) -> None: ...

Global___ServerErrorReceipt: _TypeAlias = ServerErrorReceipt  # noqa: Y015
