How to use the pyatv.mrp.protobuf.ProtocolMessage_pb2.DESCRIPTOR function in pyatv

To help you get started, we’ve selected a few pyatv examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github postlund / pyatv / pyatv / mrp / protobuf / KeyboardMessage_pb2.py View on Github external
_sym_db = _symbol_database.Default()


from pyatv.mrp.protobuf import ProtocolMessage_pb2 as pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2
from pyatv.mrp.protobuf import TextEditingAttributesMessage_pb2 as pyatv_dot_mrp_dot_protobuf_dot_TextEditingAttributesMessage__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='pyatv/mrp/protobuf/KeyboardMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n(pyatv/mrp/protobuf/KeyboardMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\x1a\x35pyatv/mrp/protobuf/TextEditingAttributesMessage.proto\"m\n\x0fKeyboardMessage\x12\r\n\x05state\x18\x01 \x01(\x05\x12*\n\nattributes\x18\x03 \x01(\x0b\x32\x16.TextEditingAttributes\x12\x1f\n\x17\x65ncryptedTextCyphertext\x18\x04 \x01(\x0c:;\n\x0fkeyboardMessage\x12\x10.ProtocolMessage\x18\x1c \x01(\x0b\x32\x10.KeyboardMessage')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,pyatv_dot_mrp_dot_protobuf_dot_TextEditingAttributesMessage__pb2.DESCRIPTOR,])


KEYBOARDMESSAGE_FIELD_NUMBER = 28
keyboardMessage = _descriptor.FieldDescriptor(
  name='keyboardMessage', full_name='keyboardMessage', index=0,
  number=28, 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)


_KEYBOARDMESSAGE = _descriptor.Descriptor(
  name='KeyboardMessage',
  full_name='KeyboardMessage',
  filename=None,
github postlund / pyatv / pyatv / mrp / protobuf / GetKeyboardSessionMessage_pb2.py View on Github external
# @@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/GetKeyboardSessionMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n2pyatv/mrp/protobuf/GetKeyboardSessionMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\"\x1b\n\x19GetKeyboardSessionMessage:3\n\x19getKeyboardSessionMessage\x12\x10.ProtocolMessage\x18\x1d \x01(\t')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,])


GETKEYBOARDSESSIONMESSAGE_FIELD_NUMBER = 29
getKeyboardSessionMessage = _descriptor.FieldDescriptor(
  name='getKeyboardSessionMessage', full_name='getKeyboardSessionMessage', index=0,
  number=29, type=9, cpp_type=9, label=1,
  has_default_value=False, default_value=_b("").decode('utf-8'),
  message_type=None, enum_type=None, containing_type=None,
  is_extension=True, extension_scope=None,
  serialized_options=None, file=DESCRIPTOR)


_GETKEYBOARDSESSIONMESSAGE = _descriptor.Descriptor(
  name='GetKeyboardSessionMessage',
  full_name='GetKeyboardSessionMessage',
  filename=None,
github postlund / pyatv / pyatv / mrp / protobuf / SendHIDEventMessage_pb2.py View on Github external
# @@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/SendHIDEventMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n,pyatv/mrp/protobuf/SendHIDEventMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\"+\n\x13SendHIDEventMessage\x12\x14\n\x0chidEventData\x18\x01 \x01(\x0c:C\n\x13sendHIDEventMessage\x12\x10.ProtocolMessage\x18\r \x01(\x0b\x32\x14.SendHIDEventMessage')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,])


SENDHIDEVENTMESSAGE_FIELD_NUMBER = 13
sendHIDEventMessage = _descriptor.FieldDescriptor(
  name='sendHIDEventMessage', full_name='sendHIDEventMessage', index=0,
  number=13, 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)


_SENDHIDEVENTMESSAGE = _descriptor.Descriptor(
  name='SendHIDEventMessage',
  full_name='SendHIDEventMessage',
  filename=None,
github postlund / pyatv / pyatv / mrp / protobuf / RegisterVoiceInputDeviceMessage_pb2.py View on Github external
_sym_db = _symbol_database.Default()


from pyatv.mrp.protobuf import ProtocolMessage_pb2 as pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2
from pyatv.mrp.protobuf import VoiceInputDeviceDescriptorMessage_pb2 as pyatv_dot_mrp_dot_protobuf_dot_VoiceInputDeviceDescriptorMessage__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='pyatv/mrp/protobuf/RegisterVoiceInputDeviceMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n8pyatv/mrp/protobuf/RegisterVoiceInputDeviceMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\x1a:pyatv/mrp/protobuf/VoiceInputDeviceDescriptorMessage.proto\"X\n\x1fRegisterVoiceInputDeviceMessage\x12\x35\n\x10\x64\x65viceDescriptor\x18\x01 \x01(\x0b\x32\x1b.VoiceInputDeviceDescriptor:[\n\x1fregisterVoiceInputDeviceMessage\x12\x10.ProtocolMessage\x18! \x01(\x0b\x32 .RegisterVoiceInputDeviceMessage')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,pyatv_dot_mrp_dot_protobuf_dot_VoiceInputDeviceDescriptorMessage__pb2.DESCRIPTOR,])


REGISTERVOICEINPUTDEVICEMESSAGE_FIELD_NUMBER = 33
registerVoiceInputDeviceMessage = _descriptor.FieldDescriptor(
  name='registerVoiceInputDeviceMessage', full_name='registerVoiceInputDeviceMessage', index=0,
  number=33, 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)


_REGISTERVOICEINPUTDEVICEMESSAGE = _descriptor.Descriptor(
  name='RegisterVoiceInputDeviceMessage',
  full_name='RegisterVoiceInputDeviceMessage',
  filename=None,
github postlund / pyatv / pyatv / mrp / protobuf / ClientUpdatesConfigMessage_pb2.py View on Github external
# @@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/ClientUpdatesConfigMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n3pyatv/mrp/protobuf/ClientUpdatesConfigMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\"\x9c\x01\n\x1a\x43lientUpdatesConfigMessage\x12\x16\n\x0e\x61rtworkUpdates\x18\x01 \x01(\x08\x12\x19\n\x11nowPlayingUpdates\x18\x02 \x01(\x08\x12\x15\n\rvolumeUpdates\x18\x03 \x01(\x08\x12\x17\n\x0fkeyboardUpdates\x18\x04 \x01(\x08\x12\x1b\n\x13outputDeviceUpdates\x18\x05 \x01(\x08:Q\n\x1a\x63lientUpdatesConfigMessage\x12\x10.ProtocolMessage\x18\x15 \x01(\x0b\x32\x1b.ClientUpdatesConfigMessage')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,])


CLIENTUPDATESCONFIGMESSAGE_FIELD_NUMBER = 21
clientUpdatesConfigMessage = _descriptor.FieldDescriptor(
  name='clientUpdatesConfigMessage', full_name='clientUpdatesConfigMessage', index=0,
  number=21, 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)


_CLIENTUPDATESCONFIGMESSAGE = _descriptor.Descriptor(
  name='ClientUpdatesConfigMessage',
  full_name='ClientUpdatesConfigMessage',
  filename=None,
github postlund / pyatv / pyatv / mrp / protobuf / VolumeControlAvailabilityMessage_pb2.py View on Github external
# @@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/VolumeControlAvailabilityMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n9pyatv/mrp/protobuf/VolumeControlAvailabilityMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\"^\n VolumeControlAvailabilityMessage\x12\x1e\n\x16volumeControlAvailable\x18\x01 \x01(\x08\x12\x1a\n\x12volumeCapabilities\x18\x02 \x01(\x05:]\n volumeControlAvailabilityMessage\x12\x10.ProtocolMessage\x18\x16 \x01(\x0b\x32!.VolumeControlAvailabilityMessage')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,])


VOLUMECONTROLAVAILABILITYMESSAGE_FIELD_NUMBER = 22
volumeControlAvailabilityMessage = _descriptor.FieldDescriptor(
  name='volumeControlAvailabilityMessage', full_name='volumeControlAvailabilityMessage', index=0,
  number=22, 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)


_VOLUMECONTROLAVAILABILITYMESSAGE = _descriptor.Descriptor(
  name='VolumeControlAvailabilityMessage',
  full_name='VolumeControlAvailabilityMessage',
  filename=None,
github postlund / pyatv / pyatv / mrp / protobuf / TransactionMessage_pb2.py View on Github external
_sym_db = _symbol_database.Default()


from pyatv.mrp.protobuf import TransactionPackets_pb2 as pyatv_dot_mrp_dot_protobuf_dot_TransactionPackets__pb2
from pyatv.mrp.protobuf import ProtocolMessage_pb2 as pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='pyatv/mrp/protobuf/TransactionMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n+pyatv/mrp/protobuf/TransactionMessage.proto\x1a+pyatv/mrp/protobuf/TransactionPackets.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\"H\n\x12TransactionMessage\x12\x0c\n\x04name\x18\x01 \x01(\x04\x12$\n\x07packets\x18\x02 \x01(\x0b\x32\x13.TransactionPackets:A\n\x12transactionMessage\x12\x10.ProtocolMessage\x18& \x01(\x0b\x32\x13.TransactionMessage')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_TransactionPackets__pb2.DESCRIPTOR,pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,])


TRANSACTIONMESSAGE_FIELD_NUMBER = 38
transactionMessage = _descriptor.FieldDescriptor(
  name='transactionMessage', full_name='transactionMessage', index=0,
  number=38, 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)


_TRANSACTIONMESSAGE = _descriptor.Descriptor(
  name='TransactionMessage',
  full_name='TransactionMessage',
  filename=None,
github postlund / pyatv / pyatv / mrp / protobuf / PlaybackQueueRequestMessage_pb2.py View on Github external
_sym_db = _symbol_database.Default()


from pyatv.mrp.protobuf import ProtocolMessage_pb2 as pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2
from pyatv.mrp.protobuf import PlaybackQueueContext_pb2 as pyatv_dot_mrp_dot_protobuf_dot_PlaybackQueueContext__pb2
from pyatv.mrp.protobuf import PlayerPath_pb2 as pyatv_dot_mrp_dot_protobuf_dot_PlayerPath__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='pyatv/mrp/protobuf/PlaybackQueueRequestMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n4pyatv/mrp/protobuf/PlaybackQueueRequestMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\x1a-pyatv/mrp/protobuf/PlaybackQueueContext.proto\x1a#pyatv/mrp/protobuf/PlayerPath.proto\"\xe4\x03\n\x1bPlaybackQueueRequestMessage\x12\x10\n\x08location\x18\x01 \x01(\x05\x12\x0e\n\x06length\x18\x02 \x01(\x05\x12\x17\n\x0fincludeMetadata\x18\x03 \x01(\x08\x12\x14\n\x0c\x61rtworkWidth\x18\x04 \x01(\x01\x12\x15\n\rartworkHeight\x18\x05 \x01(\x01\x12\x15\n\rincludeLyrics\x18\x06 \x01(\x08\x12\x17\n\x0fincludeSections\x18\x07 \x01(\x08\x12\x13\n\x0bincludeInfo\x18\x08 \x01(\x08\x12\x1e\n\x16includeLanguageOptions\x18\t \x01(\x08\x12&\n\x07\x63ontext\x18\n \x01(\x0b\x32\x15.PlaybackQueueContext\x12\x11\n\trequestID\x18\x0b \x01(\t\x12\x1e\n\x16\x63ontentItemIdentifiers\x18\x0c \x03(\t\x12/\n\'returnContentItemAssetsInUserCompletion\x18\r \x01(\x08\x12\x1f\n\nplayerPath\x18\x0e \x01(\x0b\x32\x0b.PlayerPath\x12\x15\n\rcachingPolicy\x18\x0f \x01(\x05\x12\r\n\x05label\x18\x10 \x01(\t\x12%\n\x1disLegacyNowPlayingInfoRequest\x18\x11 \x01(\x08:S\n\x1bplaybackQueueRequestMessage\x12\x10.ProtocolMessage\x18% \x01(\x0b\x32\x1c.PlaybackQueueRequestMessage')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,pyatv_dot_mrp_dot_protobuf_dot_PlaybackQueueContext__pb2.DESCRIPTOR,pyatv_dot_mrp_dot_protobuf_dot_PlayerPath__pb2.DESCRIPTOR,])


PLAYBACKQUEUEREQUESTMESSAGE_FIELD_NUMBER = 37
playbackQueueRequestMessage = _descriptor.FieldDescriptor(
  name='playbackQueueRequestMessage', full_name='playbackQueueRequestMessage', index=0,
  number=37, 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)


_PLAYBACKQUEUEREQUESTMESSAGE = _descriptor.Descriptor(
  name='PlaybackQueueRequestMessage',
  full_name='PlaybackQueueRequestMessage',
  filename=None,
github postlund / pyatv / pyatv / mrp / protobuf / RegisterHIDDeviceMessage_pb2.py View on Github external
_sym_db = _symbol_database.Default()


from pyatv.mrp.protobuf import ProtocolMessage_pb2 as pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2
from pyatv.mrp.protobuf import VirtualTouchDeviceDescriptorMessage_pb2 as pyatv_dot_mrp_dot_protobuf_dot_VirtualTouchDeviceDescriptorMessage__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='pyatv/mrp/protobuf/RegisterHIDDeviceMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n1pyatv/mrp/protobuf/RegisterHIDDeviceMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\x1a
github postlund / pyatv / pyatv / mrp / protobuf / SendCommandResultMessage_pb2.py View on Github external
# @@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/SendCommandResultMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n1pyatv/mrp/protobuf/SendCommandResultMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\"l\n\x18SendCommandResultMessage\x12\x11\n\terrorCode\x18\x01 \x01(\r\x12\x1b\n\x13handlerReturnStatus\x18\x02 \x01(\r\x12 \n\x18handlerReturnStatusDatas\x18\x03 \x03(\x0c:M\n\x18sendCommandResultMessage\x12\x10.ProtocolMessage\x18\x07 \x01(\x0b\x32\x19.SendCommandResultMessage')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,])


SENDCOMMANDRESULTMESSAGE_FIELD_NUMBER = 7
sendCommandResultMessage = _descriptor.FieldDescriptor(
  name='sendCommandResultMessage', full_name='sendCommandResultMessage', index=0,
  number=7, 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)


_SENDCOMMANDRESULTMESSAGE = _descriptor.Descriptor(
  name='SendCommandResultMessage',
  full_name='SendCommandResultMessage',
  filename=None,