"""
@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,
    FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)

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.DeviceInfoMessage_pb2 import (
    DeviceInfoMessage as pyatv___mrp___protobuf___DeviceInfoMessage_pb2___DeviceInfoMessage,
)

from typing import (
    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 Origin(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    TypeValue = typing___NewType('TypeValue', builtin___int)
    type___TypeValue = TypeValue
    Type: _Type
    class _Type(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[Origin.TypeValue]):
        DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
        Unknown = typing___cast(Origin.TypeValue, 0)
        Local = typing___cast(Origin.TypeValue, 1)
        Custom = typing___cast(Origin.TypeValue, 2)
    Unknown = typing___cast(Origin.TypeValue, 0)
    Local = typing___cast(Origin.TypeValue, 1)
    Custom = typing___cast(Origin.TypeValue, 2)

    type: type___Origin.TypeValue = ...
    displayName: typing___Text = ...
    identifier: builtin___int = ...

    @property
    def deviceInfo(self) -> pyatv___mrp___protobuf___DeviceInfoMessage_pb2___DeviceInfoMessage: ...

    def __init__(self,
        *,
        type : typing___Optional[type___Origin.TypeValue] = None,
        displayName : typing___Optional[typing___Text] = None,
        identifier : typing___Optional[builtin___int] = None,
        deviceInfo : typing___Optional[pyatv___mrp___protobuf___DeviceInfoMessage_pb2___DeviceInfoMessage] = None,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions___Literal[u"deviceInfo",b"deviceInfo",u"displayName",b"displayName",u"identifier",b"identifier",u"type",b"type"]) -> builtin___bool: ...
    def ClearField(self, field_name: typing_extensions___Literal[u"deviceInfo",b"deviceInfo",u"displayName",b"displayName",u"identifier",b"identifier",u"type",b"type"]) -> None: ...
type___Origin = Origin
