"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.internal.extension_dict
import google.protobuf.message
import pyatv.protocols.mrp.protobuf.ProtocolMessage_pb2
import typing
import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...

class ActionType(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    class Enum(_Enum, metaclass=_EnumEnumTypeWrapper):
        pass
    class _Enum:
        V = typing.NewType('V', builtins.int)
    class _EnumEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Enum.V], builtins.type):
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
        Unknown = ActionType.Enum.V(0)
        Insert = ActionType.Enum.V(1)
        Set = ActionType.Enum.V(2)
        Delete = ActionType.Enum.V(3)
        # "Clear" clashes with something, making mypy unhappy
        ClearAction = ActionType.Enum.V(4)

    Unknown = ActionType.Enum.V(0)
    Insert = ActionType.Enum.V(1)
    Set = ActionType.Enum.V(2)
    Delete = ActionType.Enum.V(3)
    # "Clear" clashes with something, making mypy unhappy
    ClearAction = ActionType.Enum.V(4)

    def __init__(self,
        ) -> None: ...
global___ActionType = ActionType

class TextInputMessage(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    TIMESTAMP_FIELD_NUMBER: builtins.int
    TEXT_FIELD_NUMBER: builtins.int
    ACTIONTYPE_FIELD_NUMBER: builtins.int
    timestamp: builtins.float = ...
    text: typing.Text = ...
    actionType: global___ActionType.Enum.V = ...
    def __init__(self,
        *,
        timestamp : typing.Optional[builtins.float] = ...,
        text : typing.Optional[typing.Text] = ...,
        actionType : typing.Optional[global___ActionType.Enum.V] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"actionType",b"actionType",u"text",b"text",u"timestamp",b"timestamp"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"actionType",b"actionType",u"text",b"text",u"timestamp",b"timestamp"]) -> None: ...
global___TextInputMessage = TextInputMessage

textInputMessage: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[pyatv.protocols.mrp.protobuf.ProtocolMessage_pb2.ProtocolMessage, global___TextInputMessage] = ...
