Skip to content

Commit

Permalink
cq: Re-generate protobuf messages
Browse files Browse the repository at this point in the history
Relates to #2529
  • Loading branch information
postlund committed Nov 2, 2024
1 parent ce104f1 commit e330162
Show file tree
Hide file tree
Showing 155 changed files with 2,103 additions and 1,539 deletions.
4 changes: 2 additions & 2 deletions pyatv/protocols/mrp/protobuf/AudioFadeMessage_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 12 additions & 8 deletions pyatv/protocols/mrp/protobuf/AudioFadeMessage_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,35 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""

import builtins
import google.protobuf.descriptor
import google.protobuf.internal.extension_dict
import google.protobuf.message
import pyatv.protocols.mrp.protobuf.PlayerPath_pb2
import pyatv.protocols.mrp.protobuf.ProtocolMessage_pb2
import typing
import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing.final
class AudioFadeMessage(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

PLAYERPATH_FIELD_NUMBER: builtins.int
FADETYPE_FIELD_NUMBER: builtins.int
fadeType: builtins.int
@property
def playerPath(self) -> pyatv.protocols.mrp.protobuf.PlayerPath_pb2.PlayerPath: ...
fadeType: builtins.int
def __init__(self,
def __init__(
self,
*,
playerPath: typing.Optional[pyatv.protocols.mrp.protobuf.PlayerPath_pb2.PlayerPath] = ...,
fadeType: typing.Optional[builtins.int] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["fadeType",b"fadeType","playerPath",b"playerPath"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["fadeType",b"fadeType","playerPath",b"playerPath"]) -> None: ...
playerPath: pyatv.protocols.mrp.protobuf.PlayerPath_pb2.PlayerPath | None = ...,
fadeType: builtins.int | None = ...,
) -> None: ...
def HasField(self, field_name: typing.Literal["fadeType", b"fadeType", "playerPath", b"playerPath"]) -> builtins.bool: ...
def ClearField(self, field_name: typing.Literal["fadeType", b"fadeType", "playerPath", b"playerPath"]) -> None: ...

global___AudioFadeMessage = AudioFadeMessage

AUDIOFADEMESSAGE_FIELD_NUMBER: builtins.int
Expand Down
4 changes: 2 additions & 2 deletions pyatv/protocols/mrp/protobuf/AudioFadeResponseMessage_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions pyatv/protocols/mrp/protobuf/AudioFadeResponseMessage_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,30 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""

import builtins
import google.protobuf.descriptor
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

@typing.final
class AudioFadeResponseMessage(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

FADEDURATION_FIELD_NUMBER: builtins.int
fadeDuration: builtins.int
def __init__(self,
def __init__(
self,
*,
fadeDuration: typing.Optional[builtins.int] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["fadeDuration",b"fadeDuration"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["fadeDuration",b"fadeDuration"]) -> None: ...
fadeDuration: builtins.int | None = ...,
) -> None: ...
def HasField(self, field_name: typing.Literal["fadeDuration", b"fadeDuration"]) -> builtins.bool: ...
def ClearField(self, field_name: typing.Literal["fadeDuration", b"fadeDuration"]) -> None: ...

global___AudioFadeResponseMessage = AudioFadeResponseMessage

AUDIOFADERESPONSEMESSAGE_FIELD_NUMBER: builtins.int
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions pyatv/protocols/mrp/protobuf/AudioFormatSettingsMessage_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,26 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""

import builtins
import google.protobuf.descriptor
import google.protobuf.message
import typing
import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing.final
class AudioFormatSettings(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

FORMATSETTINGSPLISTDATA_FIELD_NUMBER: builtins.int
formatSettingsPlistData: builtins.bytes
def __init__(self,
def __init__(
self,
*,
formatSettingsPlistData: typing.Optional[builtins.bytes] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["formatSettingsPlistData",b"formatSettingsPlistData"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["formatSettingsPlistData",b"formatSettingsPlistData"]) -> None: ...
formatSettingsPlistData: builtins.bytes | None = ...,
) -> None: ...
def HasField(self, field_name: typing.Literal["formatSettingsPlistData", b"formatSettingsPlistData"]) -> builtins.bool: ...
def ClearField(self, field_name: typing.Literal["formatSettingsPlistData", b"formatSettingsPlistData"]) -> None: ...

global___AudioFormatSettings = AudioFormatSettings

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 14 additions & 10 deletions pyatv/protocols/mrp/protobuf/ClientUpdatesConfigMessage_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""

import builtins
import google.protobuf.descriptor
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

@typing.final
class ClientUpdatesConfigMessage(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

ARTWORKUPDATES_FIELD_NUMBER: builtins.int
NOWPLAYINGUPDATES_FIELD_NUMBER: builtins.int
VOLUMEUPDATES_FIELD_NUMBER: builtins.int
Expand All @@ -24,16 +26,18 @@ class ClientUpdatesConfigMessage(google.protobuf.message.Message):
volumeUpdates: builtins.bool
keyboardUpdates: builtins.bool
outputDeviceUpdates: builtins.bool
def __init__(self,
def __init__(
self,
*,
artworkUpdates: typing.Optional[builtins.bool] = ...,
nowPlayingUpdates: typing.Optional[builtins.bool] = ...,
volumeUpdates: typing.Optional[builtins.bool] = ...,
keyboardUpdates: typing.Optional[builtins.bool] = ...,
outputDeviceUpdates: typing.Optional[builtins.bool] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["artworkUpdates",b"artworkUpdates","keyboardUpdates",b"keyboardUpdates","nowPlayingUpdates",b"nowPlayingUpdates","outputDeviceUpdates",b"outputDeviceUpdates","volumeUpdates",b"volumeUpdates"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["artworkUpdates",b"artworkUpdates","keyboardUpdates",b"keyboardUpdates","nowPlayingUpdates",b"nowPlayingUpdates","outputDeviceUpdates",b"outputDeviceUpdates","volumeUpdates",b"volumeUpdates"]) -> None: ...
artworkUpdates: builtins.bool | None = ...,
nowPlayingUpdates: builtins.bool | None = ...,
volumeUpdates: builtins.bool | None = ...,
keyboardUpdates: builtins.bool | None = ...,
outputDeviceUpdates: builtins.bool | None = ...,
) -> None: ...
def HasField(self, field_name: typing.Literal["artworkUpdates", b"artworkUpdates", "keyboardUpdates", b"keyboardUpdates", "nowPlayingUpdates", b"nowPlayingUpdates", "outputDeviceUpdates", b"outputDeviceUpdates", "volumeUpdates", b"volumeUpdates"]) -> builtins.bool: ...
def ClearField(self, field_name: typing.Literal["artworkUpdates", b"artworkUpdates", "keyboardUpdates", b"keyboardUpdates", "nowPlayingUpdates", b"nowPlayingUpdates", "outputDeviceUpdates", b"outputDeviceUpdates", "volumeUpdates", b"volumeUpdates"]) -> None: ...

global___ClientUpdatesConfigMessage = ClientUpdatesConfigMessage

CLIENTUPDATESCONFIGMESSAGE_FIELD_NUMBER: builtins.int
Expand Down
4 changes: 2 additions & 2 deletions pyatv/protocols/mrp/protobuf/CommandInfo_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e330162

Please sign in to comment.