# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: pyatv/mrp/protobuf/SetConnectionStateMessage.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from pyatv.mrp.protobuf import ProtocolMessage_pb2 as pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='pyatv/mrp/protobuf/SetConnectionStateMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n2pyatv/mrp/protobuf/SetConnectionStateMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\"\xa4\x01\n\x19SetConnectionStateMessage\x12\x39\n\x05state\x18\x01 \x01(\x0e\x32*.SetConnectionStateMessage.ConnectionState\"L\n\x0f\x43onnectionState\x12\x08\n\x04None\x10\x00\x12\x0e\n\nConnecting\x10\x01\x12\r\n\tConnected\x10\x02\x12\x10\n\x0c\x44isconnected\x10\x03:O\n\x19setConnectionStateMessage\x12\x10.ProtocolMessage\x18* \x01(\x0b\x32\x1a.SetConnectionStateMessage'
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,])


SETCONNECTIONSTATEMESSAGE_FIELD_NUMBER = 42
setConnectionStateMessage = _descriptor.FieldDescriptor(
  name='setConnectionStateMessage', full_name='setConnectionStateMessage', index=0,
  number=42, type=11, cpp_type=10, label=1,
  has_default_value=False, default_value=None,
  message_type=None, enum_type=None, containing_type=None,
  is_extension=True, extension_scope=None,
  serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key)

_SETCONNECTIONSTATEMESSAGE_CONNECTIONSTATE = _descriptor.EnumDescriptor(
  name='ConnectionState',
  full_name='SetConnectionStateMessage.ConnectionState',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='None', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='Connecting', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='Connected', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='Disconnected', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=185,
  serialized_end=261,
)
_sym_db.RegisterEnumDescriptor(_SETCONNECTIONSTATEMESSAGE_CONNECTIONSTATE)


_SETCONNECTIONSTATEMESSAGE = _descriptor.Descriptor(
  name='SetConnectionStateMessage',
  full_name='SetConnectionStateMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='state', full_name='SetConnectionStateMessage.state', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _SETCONNECTIONSTATEMESSAGE_CONNECTIONSTATE,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=97,
  serialized_end=261,
)

_SETCONNECTIONSTATEMESSAGE.fields_by_name['state'].enum_type = _SETCONNECTIONSTATEMESSAGE_CONNECTIONSTATE
_SETCONNECTIONSTATEMESSAGE_CONNECTIONSTATE.containing_type = _SETCONNECTIONSTATEMESSAGE
DESCRIPTOR.message_types_by_name['SetConnectionStateMessage'] = _SETCONNECTIONSTATEMESSAGE
DESCRIPTOR.extensions_by_name['setConnectionStateMessage'] = setConnectionStateMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

SetConnectionStateMessage = _reflection.GeneratedProtocolMessageType('SetConnectionStateMessage', (_message.Message,), {
  'DESCRIPTOR' : _SETCONNECTIONSTATEMESSAGE,
  '__module__' : 'pyatv.mrp.protobuf.SetConnectionStateMessage_pb2'
  # @@protoc_insertion_point(class_scope:SetConnectionStateMessage)
  })
_sym_db.RegisterMessage(SetConnectionStateMessage)

setConnectionStateMessage.message_type = _SETCONNECTIONSTATEMESSAGE
pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(setConnectionStateMessage)

# @@protoc_insertion_point(module_scope)
