"""
@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 waArmadilloBackupCommon import WAArmadilloBackupCommon_pb2 as _WAArmadilloBackupCommon_pb2
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 BackupMessage(_message.Message):
    DESCRIPTOR: _descriptor.Descriptor

    ENCRYPTEDTRANSPORTMESSAGE_FIELD_NUMBER: _builtins.int
    ENCRYPTEDTRANSPORTEVENT_FIELD_NUMBER: _builtins.int
    ENCRYPTEDTRANSPORTLOCALLYTRANSFORMEDMESSAGE_FIELD_NUMBER: _builtins.int
    MITRANSPORTADMINMESSAGE_FIELD_NUMBER: _builtins.int
    METADATA_FIELD_NUMBER: _builtins.int
    encryptedTransportMessage: _builtins.bytes
    @_builtins.property
    def encryptedTransportEvent(self) -> _WAArmadilloBackupCommon_pb2.Subprotocol: ...
    @_builtins.property
    def encryptedTransportLocallyTransformedMessage(self) -> _WAArmadilloBackupCommon_pb2.Subprotocol: ...
    @_builtins.property
    def miTransportAdminMessage(self) -> _WAArmadilloBackupCommon_pb2.Subprotocol: ...
    @_builtins.property
    def metadata(self) -> _WAArmadilloBackupCommon_pb2.Metadata: ...
    def __init__(
        self,
        *,
        encryptedTransportMessage: _builtins.bytes | None = ...,
        encryptedTransportEvent: _WAArmadilloBackupCommon_pb2.Subprotocol | None = ...,
        encryptedTransportLocallyTransformedMessage: _WAArmadilloBackupCommon_pb2.Subprotocol | None = ...,
        miTransportAdminMessage: _WAArmadilloBackupCommon_pb2.Subprotocol | None = ...,
        metadata: _WAArmadilloBackupCommon_pb2.Metadata | None = ...,
    ) -> None: ...
    _HasFieldArgType: _TypeAlias = _typing.Literal["encryptedTransportEvent", b"encryptedTransportEvent", "encryptedTransportLocallyTransformedMessage", b"encryptedTransportLocallyTransformedMessage", "encryptedTransportMessage", b"encryptedTransportMessage", "metadata", b"metadata", "miTransportAdminMessage", b"miTransportAdminMessage", "payload", b"payload"]  # noqa: Y015
    def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
    _ClearFieldArgType: _TypeAlias = _typing.Literal["encryptedTransportEvent", b"encryptedTransportEvent", "encryptedTransportLocallyTransformedMessage", b"encryptedTransportLocallyTransformedMessage", "encryptedTransportMessage", b"encryptedTransportMessage", "metadata", b"metadata", "miTransportAdminMessage", b"miTransportAdminMessage", "payload", b"payload"]  # noqa: Y015
    def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
    _WhichOneofReturnType_payload: _TypeAlias = _typing.Literal["encryptedTransportMessage", "encryptedTransportEvent", "encryptedTransportLocallyTransformedMessage", "miTransportAdminMessage"]  # noqa: Y015
    _WhichOneofArgType_payload: _TypeAlias = _typing.Literal["payload", b"payload"]  # noqa: Y015
    def WhichOneof(self, oneof_group: _WhichOneofArgType_payload) -> _WhichOneofReturnType_payload | None: ...

Global___BackupMessage: _TypeAlias = BackupMessage  # noqa: Y015
