"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
    Descriptor as google___protobuf___descriptor___Descriptor,
    EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
    FieldDescriptor as google___protobuf___descriptor___FieldDescriptor,
    FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)

from google.protobuf.internal.containers import (
    RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)

from google.protobuf.internal.enum_type_wrapper import (
    _EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
)

from google.protobuf.message import (
    Message as google___protobuf___message___Message,
)

from pyatv.mrp.protobuf.PlayerPath_pb2 import (
    PlayerPath as pyatv___mrp___protobuf___PlayerPath_pb2___PlayerPath,
)

from typing import (
    Iterable as typing___Iterable,
    NewType as typing___NewType,
    Optional as typing___Optional,
    Text as typing___Text,
    cast as typing___cast,
)

from typing_extensions import (
    Literal as typing_extensions___Literal,
)


builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int


DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...

class SendError(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    EnumValue = typing___NewType('EnumValue', builtin___int)
    type___EnumValue = EnumValue
    Enum: _Enum
    class _Enum(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[SendError.EnumValue]):
        DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
        NoError = typing___cast(SendError.EnumValue, 0)
        ApplicationNotFound = typing___cast(SendError.EnumValue, 1)
        ConnectionFailed = typing___cast(SendError.EnumValue, 2)
        Ignored = typing___cast(SendError.EnumValue, 3)
        CouldNotLaunchApplication = typing___cast(SendError.EnumValue, 4)
        TimedOut = typing___cast(SendError.EnumValue, 5)
        OriginDoesNotExist = typing___cast(SendError.EnumValue, 6)
        InvalidOptions = typing___cast(SendError.EnumValue, 7)
        NoCommandHandlers = typing___cast(SendError.EnumValue, 8)
        ApplicationNotInstalled = typing___cast(SendError.EnumValue, 9)
    NoError = typing___cast(SendError.EnumValue, 0)
    ApplicationNotFound = typing___cast(SendError.EnumValue, 1)
    ConnectionFailed = typing___cast(SendError.EnumValue, 2)
    Ignored = typing___cast(SendError.EnumValue, 3)
    CouldNotLaunchApplication = typing___cast(SendError.EnumValue, 4)
    TimedOut = typing___cast(SendError.EnumValue, 5)
    OriginDoesNotExist = typing___cast(SendError.EnumValue, 6)
    InvalidOptions = typing___cast(SendError.EnumValue, 7)
    NoCommandHandlers = typing___cast(SendError.EnumValue, 8)
    ApplicationNotInstalled = typing___cast(SendError.EnumValue, 9)


    def __init__(self,
        ) -> None: ...
type___SendError = SendError

class HandlerReturnStatus(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    EnumValue = typing___NewType('EnumValue', builtin___int)
    type___EnumValue = EnumValue
    Enum: _Enum
    class _Enum(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[HandlerReturnStatus.EnumValue]):
        DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
        Success = typing___cast(HandlerReturnStatus.EnumValue, 0)
        NoSuchContent = typing___cast(HandlerReturnStatus.EnumValue, 1)
        CommandFailed = typing___cast(HandlerReturnStatus.EnumValue, 2)
        NoActionableNowPlayingItem = typing___cast(HandlerReturnStatus.EnumValue, 10)
        DeviceNotFound = typing___cast(HandlerReturnStatus.EnumValue, 20)
        UIKitLegacy = typing___cast(HandlerReturnStatus.EnumValue, 3)
        SkipAdProhibited = typing___cast(HandlerReturnStatus.EnumValue, 100)
        QueueIsUserCurated = typing___cast(HandlerReturnStatus.EnumValue, 101)
        UserModifiedQueueDisabled = typing___cast(HandlerReturnStatus.EnumValue, 102)
        UserQueueModificationNotSupportedForCurrentItem = typing___cast(HandlerReturnStatus.EnumValue, 103)
        SubscriptionRequiredForSharedQueue = typing___cast(HandlerReturnStatus.EnumValue, 104)
    Success = typing___cast(HandlerReturnStatus.EnumValue, 0)
    NoSuchContent = typing___cast(HandlerReturnStatus.EnumValue, 1)
    CommandFailed = typing___cast(HandlerReturnStatus.EnumValue, 2)
    NoActionableNowPlayingItem = typing___cast(HandlerReturnStatus.EnumValue, 10)
    DeviceNotFound = typing___cast(HandlerReturnStatus.EnumValue, 20)
    UIKitLegacy = typing___cast(HandlerReturnStatus.EnumValue, 3)
    SkipAdProhibited = typing___cast(HandlerReturnStatus.EnumValue, 100)
    QueueIsUserCurated = typing___cast(HandlerReturnStatus.EnumValue, 101)
    UserModifiedQueueDisabled = typing___cast(HandlerReturnStatus.EnumValue, 102)
    UserQueueModificationNotSupportedForCurrentItem = typing___cast(HandlerReturnStatus.EnumValue, 103)
    SubscriptionRequiredForSharedQueue = typing___cast(HandlerReturnStatus.EnumValue, 104)


    def __init__(self,
        ) -> None: ...
type___HandlerReturnStatus = HandlerReturnStatus

class SendCommandResultMessage(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    sendError: type___SendError.EnumValue = ...
    handlerReturnStatus: type___HandlerReturnStatus.EnumValue = ...
    handlerReturnStatusDatas: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___bytes] = ...
    commandID: typing___Text = ...

    @property
    def playerPath(self) -> pyatv___mrp___protobuf___PlayerPath_pb2___PlayerPath: ...

    def __init__(self,
        *,
        sendError : typing___Optional[type___SendError.EnumValue] = None,
        handlerReturnStatus : typing___Optional[type___HandlerReturnStatus.EnumValue] = None,
        handlerReturnStatusDatas : typing___Optional[typing___Iterable[builtin___bytes]] = None,
        commandID : typing___Optional[typing___Text] = None,
        playerPath : typing___Optional[pyatv___mrp___protobuf___PlayerPath_pb2___PlayerPath] = None,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions___Literal[u"commandID",b"commandID",u"handlerReturnStatus",b"handlerReturnStatus",u"playerPath",b"playerPath",u"sendError",b"sendError"]) -> builtin___bool: ...
    def ClearField(self, field_name: typing_extensions___Literal[u"commandID",b"commandID",u"handlerReturnStatus",b"handlerReturnStatus",u"handlerReturnStatusDatas",b"handlerReturnStatusDatas",u"playerPath",b"playerPath",u"sendError",b"sendError"]) -> None: ...
type___SendCommandResultMessage = SendCommandResultMessage

sendCommandResultMessage: google___protobuf___descriptor___FieldDescriptor = ...
