"""
@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 SetConnectionStateMessage(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    class ConnectionState(_ConnectionState, metaclass=_ConnectionStateEnumTypeWrapper):
        pass
    class _ConnectionState:
        V = typing.NewType('V', builtins.int)
    class _ConnectionStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ConnectionState.V], builtins.type):
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
        Connecting = SetConnectionStateMessage.ConnectionState.V(1)
        Connected = SetConnectionStateMessage.ConnectionState.V(2)
        Disconnected = SetConnectionStateMessage.ConnectionState.V(3)

    Connecting = SetConnectionStateMessage.ConnectionState.V(1)
    Connected = SetConnectionStateMessage.ConnectionState.V(2)
    Disconnected = SetConnectionStateMessage.ConnectionState.V(3)

    STATE_FIELD_NUMBER: builtins.int
    state: global___SetConnectionStateMessage.ConnectionState.V = ...
    def __init__(self,
        *,
        state : typing.Optional[global___SetConnectionStateMessage.ConnectionState.V] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"state",b"state"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"state",b"state"]) -> None: ...
global___SetConnectionStateMessage = SetConnectionStateMessage

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