@@ -6,19 +6,44 @@ import builtins
66import collections .abc
77import google .protobuf .descriptor
88import google .protobuf .internal .containers
9+ import google .protobuf .internal .enum_type_wrapper
910import google .protobuf .internal .extension_dict
1011import google .protobuf .message
1112import pyatv .protocols .mrp .protobuf .Common_pb2
1213import pyatv .protocols .mrp .protobuf .ProtocolMessage_pb2
1314import sys
15+ import typing
1416
15- if sys .version_info >= (3 , 8 ):
17+ if sys .version_info >= (3 , 10 ):
1618 import typing as typing_extensions
1719else :
1820 import typing_extensions
1921
2022DESCRIPTOR : google .protobuf .descriptor .FileDescriptor
2123
24+ @typing_extensions .final
25+ class PreferredEncoding (google .protobuf .message .Message ):
26+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
27+
28+ class _Enum :
29+ ValueType = typing .NewType ("ValueType" , builtins .int )
30+ V : typing_extensions .TypeAlias = ValueType
31+
32+ class _EnumEnumTypeWrapper (google .protobuf .internal .enum_type_wrapper ._EnumTypeWrapper [PreferredEncoding ._Enum .ValueType ], builtins .type ): # noqa: F821
33+ DESCRIPTOR : google .protobuf .descriptor .EnumDescriptor
34+ Default : PreferredEncoding ._Enum .ValueType # 0
35+ JSON : PreferredEncoding ._Enum .ValueType # 1
36+
37+ class Enum (_Enum , metaclass = _EnumEnumTypeWrapper ): ...
38+ Default : PreferredEncoding .Enum .ValueType # 0
39+ JSON : PreferredEncoding .Enum .ValueType # 1
40+
41+ def __init__ (
42+ self ,
43+ ) -> None : ...
44+
45+ global___PreferredEncoding = PreferredEncoding
46+
2247@typing_extensions .final
2348class DeviceInfoMessage (google .protobuf .message .Message ):
2449 DESCRIPTOR : google .protobuf .descriptor .Descriptor
@@ -69,6 +94,10 @@ class DeviceInfoMessage(google.protobuf.message.Message):
6994 PARENTGROUPCONTAINSDISCOVERABLEGROUPLEADER_FIELD_NUMBER : builtins .int
7095 GROUPCONTAINSDISCOVERABLEGROUPLEADER_FIELD_NUMBER : builtins .int
7196 LASTKNOWNCLUSTERTYPE_FIELD_NUMBER : builtins .int
97+ SUPPORTSOUTPUTCONTEXTSYNC_FIELD_NUMBER : builtins .int
98+ COMPUTERNAME_FIELD_NUMBER : builtins .int
99+ CONFIGUREDCLUSTERSIZE_FIELD_NUMBER : builtins .int
100+ PREFERREDENCODING_FIELD_NUMBER : builtins .int
72101 uniqueIdentifier : builtins .str
73102 """Example: B8D8678C-9DA9-4D29-9338-5D6B827B8063"""
74103 name : builtins .str
@@ -128,6 +157,11 @@ class DeviceInfoMessage(google.protobuf.message.Message):
128157 parentGroupContainsDiscoverableGroupLeader : builtins .int
129158 groupContainsDiscoverableGroupLeader : builtins .int
130159 lastKnownClusterType : builtins .int
160+ supportsOutputContextSync : builtins .bool
161+ """repeated ... allClusteredDevices = 48;"""
162+ computerName : builtins .str
163+ configuredClusterSize : builtins .int
164+ preferredEncoding : global___PreferredEncoding .Enum .ValueType
131165 def __init__ (
132166 self ,
133167 * ,
@@ -177,9 +211,13 @@ class DeviceInfoMessage(google.protobuf.message.Message):
177211 parentGroupContainsDiscoverableGroupLeader : builtins .int | None = ...,
178212 groupContainsDiscoverableGroupLeader : builtins .int | None = ...,
179213 lastKnownClusterType : builtins .int | None = ...,
214+ supportsOutputContextSync : builtins .bool | None = ...,
215+ computerName : builtins .str | None = ...,
216+ configuredClusterSize : builtins .int | None = ...,
217+ preferredEncoding : global___PreferredEncoding .Enum .ValueType | None = ...,
180218 ) -> None : ...
181- def HasField (self , field_name : typing_extensions .Literal ["airPlayGroupID" , b"airPlayGroupID" , "allowsPairing" , b"allowsPairing" , "applicationBundleIdentifier" , b"applicationBundleIdentifier" , "applicationBundleVersion" , b"applicationBundleVersion" , "bluetoothAddress" , b"bluetoothAddress" , "clusterID" , b"clusterID" , "clusterLeaderID" , b"clusterLeaderID" , "clusterType" , b"clusterType" , "connected" , b"connected" , "deviceClass" , b"deviceClass" , "deviceUID" , b"deviceUID" , "groupContainsDiscoverableGroupLeader" , b"groupContainsDiscoverableGroupLeader" , "groupName" , b"groupName" , "groupUID" , b"groupUID" , "isAirplayActive" , b"isAirplayActive" , "isClusterAware" , b"isClusterAware" , "isGroupLeader" , b"isGroupLeader" , "isProxyGroupPlayer" , b"isProxyGroupPlayer" , "lastKnownClusterType" , b"lastKnownClusterType" , "lastSupportedMessageType" , b"lastSupportedMessageType" , "linkAgent" , b"linkAgent" , "localizedModelName" , b"localizedModelName" , "logicalDeviceCount" , b"logicalDeviceCount" , "managedConfigDeviceID" , b"managedConfigDeviceID" , "modelID" , b"modelID" , "name" , b"name" , "parentGroupContainsDiscoverableGroupLeader" , b"parentGroupContainsDiscoverableGroupLeader" , "protocolVersion" , b"protocolVersion" , "routingContextID" , b"routingContextID" , "senderDefaultGroupUID" , b"senderDefaultGroupUID" , "sharedQueueVersion" , b"sharedQueueVersion" , "supportsACL" , b"supportsACL" , "supportsExtendedMotion" , b"supportsExtendedMotion" , "supportsMultiplayer" , b"supportsMultiplayer" , "supportsSharedQueue" , b"supportsSharedQueue" , "supportsSystemPairing" , b"supportsSystemPairing" , "systemBooksApplication" , b"systemBooksApplication" , "systemBuildVersion" , b"systemBuildVersion" , "systemMediaApplication" , b"systemMediaApplication" , "systemPodcastApplication" , b"systemPodcastApplication" , "tightSyncUID" , b"tightSyncUID" , "tightlySyncedGroup" , b"tightlySyncedGroup" , "uniqueIdentifier" , b"uniqueIdentifier" ]) -> builtins .bool : ...
182- def ClearField (self , field_name : typing_extensions .Literal ["airPlayGroupID" , b"airPlayGroupID" , "airplayReceivers" , b"airplayReceivers" , "allowsPairing" , b"allowsPairing" , "applicationBundleIdentifier" , b"applicationBundleIdentifier" , "applicationBundleVersion" , b"applicationBundleVersion" , "bluetoothAddress" , b"bluetoothAddress" , "clusterID" , b"clusterID" , "clusterLeaderID" , b"clusterLeaderID" , "clusterType" , b"clusterType" , "clusteredDevices" , b"clusteredDevices" , "connected" , b"connected" , "deviceClass" , b"deviceClass" , "deviceUID" , b"deviceUID" , "groupContainsDiscoverableGroupLeader" , b"groupContainsDiscoverableGroupLeader" , "groupName" , b"groupName" , "groupUID" , b"groupUID" , "groupedDevices" , b"groupedDevices" , "isAirplayActive" , b"isAirplayActive" , "isClusterAware" , b"isClusterAware" , "isGroupLeader" , b"isGroupLeader" , "isProxyGroupPlayer" , b"isProxyGroupPlayer" , "lastKnownClusterType" , b"lastKnownClusterType" , "lastSupportedMessageType" , b"lastSupportedMessageType" , "linkAgent" , b"linkAgent" , "localizedModelName" , b"localizedModelName" , "logicalDeviceCount" , b"logicalDeviceCount" , "managedConfigDeviceID" , b"managedConfigDeviceID" , "modelID" , b"modelID" , "name" , b"name" , "parentGroupContainsDiscoverableGroupLeader" , b"parentGroupContainsDiscoverableGroupLeader" , "protocolVersion" , b"protocolVersion" , "routingContextID" , b"routingContextID" , "senderDefaultGroupUID" , b"senderDefaultGroupUID" , "sharedQueueVersion" , b"sharedQueueVersion" , "supportsACL" , b"supportsACL" , "supportsExtendedMotion" , b"supportsExtendedMotion" , "supportsMultiplayer" , b"supportsMultiplayer" , "supportsSharedQueue" , b"supportsSharedQueue" , "supportsSystemPairing" , b"supportsSystemPairing" , "systemBooksApplication" , b"systemBooksApplication" , "systemBuildVersion" , b"systemBuildVersion" , "systemMediaApplication" , b"systemMediaApplication" , "systemPodcastApplication" , b"systemPodcastApplication" , "tightSyncUID" , b"tightSyncUID" , "tightlySyncedGroup" , b"tightlySyncedGroup" , "uniqueIdentifier" , b"uniqueIdentifier" ]) -> None : ...
219+ def HasField (self , field_name : typing_extensions .Literal ["airPlayGroupID" , b"airPlayGroupID" , "allowsPairing" , b"allowsPairing" , "applicationBundleIdentifier" , b"applicationBundleIdentifier" , "applicationBundleVersion" , b"applicationBundleVersion" , "bluetoothAddress" , b"bluetoothAddress" , "clusterID" , b"clusterID" , "clusterLeaderID" , b"clusterLeaderID" , "clusterType" , b"clusterType" , "computerName" , b"computerName" , "configuredClusterSize" , b"configuredClusterSize" , "connected" , b"connected" , "deviceClass" , b"deviceClass" , "deviceUID" , b"deviceUID" , "groupContainsDiscoverableGroupLeader" , b"groupContainsDiscoverableGroupLeader" , "groupName" , b"groupName" , "groupUID" , b"groupUID" , "isAirplayActive" , b"isAirplayActive" , "isClusterAware" , b"isClusterAware" , "isGroupLeader" , b"isGroupLeader" , "isProxyGroupPlayer" , b"isProxyGroupPlayer" , "lastKnownClusterType" , b"lastKnownClusterType" , "lastSupportedMessageType" , b"lastSupportedMessageType" , "linkAgent" , b"linkAgent" , "localizedModelName" , b"localizedModelName" , "logicalDeviceCount" , b"logicalDeviceCount" , "managedConfigDeviceID" , b"managedConfigDeviceID" , "modelID" , b"modelID" , "name" , b"name" , "parentGroupContainsDiscoverableGroupLeader" , b"parentGroupContainsDiscoverableGroupLeader" , "preferredEncoding" , b"preferredEncoding" , "protocolVersion" , b"protocolVersion" , "routingContextID" , b"routingContextID" , "senderDefaultGroupUID" , b"senderDefaultGroupUID" , "sharedQueueVersion" , b"sharedQueueVersion" , "supportsACL" , b"supportsACL" , "supportsExtendedMotion" , b"supportsExtendedMotion" , "supportsMultiplayer" , b"supportsMultiplayer" , "supportsOutputContextSync" , b"supportsOutputContextSync" , "supportsSharedQueue" , b"supportsSharedQueue" , "supportsSystemPairing" , b"supportsSystemPairing" , "systemBooksApplication" , b"systemBooksApplication" , "systemBuildVersion" , b"systemBuildVersion" , "systemMediaApplication" , b"systemMediaApplication" , "systemPodcastApplication" , b"systemPodcastApplication" , "tightSyncUID" , b"tightSyncUID" , "tightlySyncedGroup" , b"tightlySyncedGroup" , "uniqueIdentifier" , b"uniqueIdentifier" ]) -> builtins .bool : ...
220+ def ClearField (self , field_name : typing_extensions .Literal ["airPlayGroupID" , b"airPlayGroupID" , "airplayReceivers" , b"airplayReceivers" , "allowsPairing" , b"allowsPairing" , "applicationBundleIdentifier" , b"applicationBundleIdentifier" , "applicationBundleVersion" , b"applicationBundleVersion" , "bluetoothAddress" , b"bluetoothAddress" , "clusterID" , b"clusterID" , "clusterLeaderID" , b"clusterLeaderID" , "clusterType" , b"clusterType" , "clusteredDevices" , b"clusteredDevices" , "computerName" , b"computerName" , "configuredClusterSize" , b"configuredClusterSize" , "connected" , b"connected" , "deviceClass" , b"deviceClass" , "deviceUID" , b"deviceUID" , "groupContainsDiscoverableGroupLeader" , b"groupContainsDiscoverableGroupLeader" , "groupName" , b"groupName" , "groupUID" , b"groupUID" , "groupedDevices" , b"groupedDevices" , "isAirplayActive" , b"isAirplayActive" , "isClusterAware" , b"isClusterAware" , "isGroupLeader" , b"isGroupLeader" , "isProxyGroupPlayer" , b"isProxyGroupPlayer" , "lastKnownClusterType" , b"lastKnownClusterType" , "lastSupportedMessageType" , b"lastSupportedMessageType" , "linkAgent" , b"linkAgent" , "localizedModelName" , b"localizedModelName" , "logicalDeviceCount" , b"logicalDeviceCount" , "managedConfigDeviceID" , b"managedConfigDeviceID" , "modelID" , b"modelID" , "name" , b"name" , "parentGroupContainsDiscoverableGroupLeader" , b"parentGroupContainsDiscoverableGroupLeader" , "preferredEncoding" , b"preferredEncoding" , "protocolVersion" , b"protocolVersion" , "routingContextID" , b"routingContextID" , "senderDefaultGroupUID" , b"senderDefaultGroupUID" , "sharedQueueVersion" , b"sharedQueueVersion" , "supportsACL" , b"supportsACL" , "supportsExtendedMotion" , b"supportsExtendedMotion" , "supportsMultiplayer" , b"supportsMultiplayer" , "supportsOutputContextSync" , b"supportsOutputContextSync" , "supportsSharedQueue" , b"supportsSharedQueue" , "supportsSystemPairing" , b"supportsSystemPairing" , "systemBooksApplication" , b"systemBooksApplication" , "systemBuildVersion" , b"systemBuildVersion" , "systemMediaApplication" , b"systemMediaApplication" , "systemPodcastApplication" , b"systemPodcastApplication" , "tightSyncUID" , b"tightSyncUID" , "tightlySyncedGroup" , b"tightlySyncedGroup" , "uniqueIdentifier" , b"uniqueIdentifier" ]) -> None : ...
183221
184222global___DeviceInfoMessage = DeviceInfoMessage
185223
0 commit comments