How to use the pyatv.mrp.protobuf.ProtocolMessage_pb2 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 / SetStateMessage_pb2.py View on Github external
_SETSTATEMESSAGE.fields_by_name['playerPath'].message_type = pyatv_dot_mrp_dot_protobuf_dot_PlayerPath__pb2._PLAYERPATH
_SETSTATEMESSAGE.fields_by_name['request'].message_type = pyatv_dot_mrp_dot_protobuf_dot_PlaybackQueueRequestMessage__pb2._PLAYBACKQUEUEREQUESTMESSAGE
_SETSTATEMESSAGE_PLAYBACKSTATE.containing_type = _SETSTATEMESSAGE
DESCRIPTOR.message_types_by_name['SetStateMessage'] = _SETSTATEMESSAGE
DESCRIPTOR.extensions_by_name['setStateMessage'] = setStateMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

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

setStateMessage.message_type = _SETSTATEMESSAGE
pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(setStateMessage)
github postlund / pyatv / pyatv / mrp / protobuf / SetConnectionStateMessage_pb2.py View on Github external
_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)
github postlund / pyatv / pyatv / mrp / protobuf / VolumeControlAvailabilityMessage_pb2.py View on Github external
serialized_end=197,
)

DESCRIPTOR.message_types_by_name['VolumeControlAvailabilityMessage'] = _VOLUMECONTROLAVAILABILITYMESSAGE
DESCRIPTOR.extensions_by_name['volumeControlAvailabilityMessage'] = volumeControlAvailabilityMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

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

volumeControlAvailabilityMessage.message_type = _VOLUMECONTROLAVAILABILITYMESSAGE
pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(volumeControlAvailabilityMessage)
github postlund / pyatv / pyatv / mrp / protobuf / GetKeyboardSessionMessage_pb2.py View on Github external
serialized_start=96,
  serialized_end=123,
)

DESCRIPTOR.message_types_by_name['GetKeyboardSessionMessage'] = _GETKEYBOARDSESSIONMESSAGE
DESCRIPTOR.extensions_by_name['getKeyboardSessionMessage'] = getKeyboardSessionMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

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

pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(getKeyboardSessionMessage)
github postlund / pyatv / pyatv / mrp / protobuf / DeviceInfoMessage_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/DeviceInfoMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n*pyatv/mrp/protobuf/DeviceInfoMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\"\xd9\x06\n\x11\x44\x65viceInfoMessage\x12\x18\n\x10uniqueIdentifier\x18\x01 \x02(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x1a\n\x12localizedModelName\x18\x03 \x01(\t\x12\x1a\n\x12systemBuildVersion\x18\x04 \x02(\t\x12#\n\x1b\x61pplicationBundleIdentifier\x18\x05 \x02(\t\x12 \n\x18\x61pplicationBundleVersion\x18\x06 \x01(\t\x12\x17\n\x0fprotocolVersion\x18\x07 \x02(\x05\x12 \n\x18lastSupportedMessageType\x18\x08 \x01(\r\x12\x1d\n\x15supportsSystemPairing\x18\t \x01(\x08\x12\x15\n\rallowsPairing\x18\n \x01(\x08\x12\x11\n\tconnected\x18\x0b \x01(\x08\x12\x1e\n\x16systemMediaApplication\x18\x0c \x01(\t\x12\x13\n\x0bsupportsACL\x18\r \x01(\x08\x12\x1b\n\x13supportsSharedQueue\x18\x0e \x01(\x08\x12\x1e\n\x16supportsExtendedMotion\x18\x0f \x01(\x08\x12\x18\n\x10\x62luetoothAddress\x18\x10 \x01(\x0c\x12\x1a\n\x12sharedQueueVersion\x18\x11 \x01(\r\x12\x11\n\tdeviceUID\x18\x13 \x01(\t\x12\x1d\n\x15managedConfigDeviceID\x18\x14 \x01(\t\x12\x13\n\x0b\x64\x65viceClass\x18\x15 \x01(\x05\x12\x1a\n\x12logicalDeviceCount\x18\x16 \x01(\r\x12\x1a\n\x12tightlySyncedGroup\x18\x17 \x01(\x08\x12\x1a\n\x12isProxyGroupPlayer\x18\x18 \x01(\x08\x12\x14\n\x0ctightSyncUID\x18\x19 \x01(\t\x12\x10\n\x08groupUID\x18\x1a \x01(\t\x12\x11\n\tgroupName\x18\x1b \x01(\t\x12\x15\n\risGroupLeader\x18\x1d \x01(\x08\x12\x17\n\x0fisAirplayActive\x18\x1e \x01(\x08\x12 \n\x18systemPodcastApplication\x18\x1f \x01(\t\x12\x1c\n\x14\x65nderDefaultGroupUID\x18  \x01(\t\x12\x18\n\x10\x61irplayReceivers\x18! \x03(\t\x12\x11\n\tlinkAgent\x18\" \x01(\t:?\n\x11\x64\x65viceInfoMessage\x12\x10.ProtocolMessage\x18\x14 \x01(\x0b\x32\x12.DeviceInfoMessage')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,])


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


_DEVICEINFOMESSAGE = _descriptor.Descriptor(
  name='DeviceInfoMessage',
  full_name='DeviceInfoMessage',
  filename=None,
github postlund / pyatv / pyatv / mrp / protobuf / SetHiliteModeMessage_pb2.py View on Github external
serialized_end=133,
)

DESCRIPTOR.message_types_by_name['SetHiliteModeMessage'] = _SETHILITEMODEMESSAGE
DESCRIPTOR.extensions_by_name['setHiliteModeMessage'] = setHiliteModeMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

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

setHiliteModeMessage.message_type = _SETHILITEMODEMESSAGE
pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(setHiliteModeMessage)
github postlund / pyatv / pyatv / mrp / protobuf / RegisterVoiceInputDeviceResponseMessage_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/RegisterVoiceInputDeviceResponseMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  serialized_pb=_b('\n@pyatv/mrp/protobuf/RegisterVoiceInputDeviceResponseMessage.proto\x1a(pyatv/mrp/protobuf/ProtocolMessage.proto\"N\n\'RegisterVoiceInputDeviceResponseMessage\x12\x10\n\x08\x64\x65viceID\x18\x01 \x01(\x05\x12\x11\n\terrorCode\x18\x02 \x01(\x05:k\n\'registerVoiceInputDeviceResponseMessage\x12\x10.ProtocolMessage\x18\" \x01(\x0b\x32(.RegisterVoiceInputDeviceResponseMessage')
  ,
  dependencies=[pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,])


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


_REGISTERVOICEINPUTDEVICERESPONSEMESSAGE = _descriptor.Descriptor(
  name='RegisterVoiceInputDeviceResponseMessage',
  full_name='RegisterVoiceInputDeviceResponseMessage',
  filename=None,