# @generated by generate_proto_mypy_stubs.py.  Do not edit!
import sys
from google.protobuf.descriptor import (
    Descriptor as google___protobuf___descriptor___Descriptor,
    EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
)

from google.protobuf.message import (
    Message as google___protobuf___message___Message,
)

from typing import (
    List as typing___List,
    Optional as typing___Optional,
    Text as typing___Text,
    Tuple as typing___Tuple,
    Union as typing___Union,
    cast as typing___cast,
)

from typing_extensions import (
    Literal as typing_extensions___Literal,
)


builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
builtin___str = str
if sys.version_info < (3,):
    builtin___buffer = buffer
    builtin___unicode = unicode


class NowPlayingInfo(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    class RepeatMode(builtin___int):
        DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
        @classmethod
        def Name(cls, number: builtin___int) -> builtin___str: ...
        @classmethod
        def Value(cls, name: builtin___str) -> 'NowPlayingInfo.RepeatMode': ...
        @classmethod
        def keys(cls) -> typing___List[builtin___str]: ...
        @classmethod
        def values(cls) -> typing___List['NowPlayingInfo.RepeatMode']: ...
        @classmethod
        def items(cls) -> typing___List[typing___Tuple[builtin___str, 'NowPlayingInfo.RepeatMode']]: ...
        Unknown = typing___cast('NowPlayingInfo.RepeatMode', 0)
        One = typing___cast('NowPlayingInfo.RepeatMode', 1)
        All = typing___cast('NowPlayingInfo.RepeatMode', 2)
    Unknown = typing___cast('NowPlayingInfo.RepeatMode', 0)
    One = typing___cast('NowPlayingInfo.RepeatMode', 1)
    All = typing___cast('NowPlayingInfo.RepeatMode', 2)

    class ShuffleMode(builtin___int):
        DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
        @classmethod
        def Name(cls, number: builtin___int) -> builtin___str: ...
        @classmethod
        def Value(cls, name: builtin___str) -> 'NowPlayingInfo.ShuffleMode': ...
        @classmethod
        def keys(cls) -> typing___List[builtin___str]: ...
        @classmethod
        def values(cls) -> typing___List['NowPlayingInfo.ShuffleMode']: ...
        @classmethod
        def items(cls) -> typing___List[typing___Tuple[builtin___str, 'NowPlayingInfo.ShuffleMode']]: ...
        Unkown = typing___cast('NowPlayingInfo.ShuffleMode', 0)
        Off = typing___cast('NowPlayingInfo.ShuffleMode', 1)
        Albums = typing___cast('NowPlayingInfo.ShuffleMode', 2)
        Songs = typing___cast('NowPlayingInfo.ShuffleMode', 3)
    Unkown = typing___cast('NowPlayingInfo.ShuffleMode', 0)
    Off = typing___cast('NowPlayingInfo.ShuffleMode', 1)
    Albums = typing___cast('NowPlayingInfo.ShuffleMode', 2)
    Songs = typing___cast('NowPlayingInfo.ShuffleMode', 3)

    album = ... # type: typing___Text
    artist = ... # type: typing___Text
    duration = ... # type: builtin___float
    elapsedTime = ... # type: builtin___float
    playbackRate = ... # type: builtin___float
    repeatMode = ... # type: NowPlayingInfo.RepeatMode
    shuffleMode = ... # type: NowPlayingInfo.ShuffleMode
    timestamp = ... # type: builtin___float
    title = ... # type: typing___Text
    uniqueIdentifier = ... # type: builtin___int
    isExplicitTrack = ... # type: builtin___bool
    isMusicApp = ... # type: builtin___bool
    radioStationIdentifier = ... # type: builtin___int
    radioStationHash = ... # type: typing___Text
    radioStationName = ... # type: typing___Text
    artworkDataDigest = ... # type: builtin___bytes
    isAlwaysLive = ... # type: builtin___bool
    isAdvertisement = ... # type: builtin___bool

    def __init__(self,
        *,
        album : typing___Optional[typing___Text] = None,
        artist : typing___Optional[typing___Text] = None,
        duration : typing___Optional[builtin___float] = None,
        elapsedTime : typing___Optional[builtin___float] = None,
        playbackRate : typing___Optional[builtin___float] = None,
        repeatMode : typing___Optional[NowPlayingInfo.RepeatMode] = None,
        shuffleMode : typing___Optional[NowPlayingInfo.ShuffleMode] = None,
        timestamp : typing___Optional[builtin___float] = None,
        title : typing___Optional[typing___Text] = None,
        uniqueIdentifier : typing___Optional[builtin___int] = None,
        isExplicitTrack : typing___Optional[builtin___bool] = None,
        isMusicApp : typing___Optional[builtin___bool] = None,
        radioStationIdentifier : typing___Optional[builtin___int] = None,
        radioStationHash : typing___Optional[typing___Text] = None,
        radioStationName : typing___Optional[typing___Text] = None,
        artworkDataDigest : typing___Optional[builtin___bytes] = None,
        isAlwaysLive : typing___Optional[builtin___bool] = None,
        isAdvertisement : typing___Optional[builtin___bool] = None,
        ) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> NowPlayingInfo: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> NowPlayingInfo: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def HasField(self, field_name: typing_extensions___Literal[u"album",b"album",u"artist",b"artist",u"artworkDataDigest",b"artworkDataDigest",u"duration",b"duration",u"elapsedTime",b"elapsedTime",u"isAdvertisement",b"isAdvertisement",u"isAlwaysLive",b"isAlwaysLive",u"isExplicitTrack",b"isExplicitTrack",u"isMusicApp",b"isMusicApp",u"playbackRate",b"playbackRate",u"radioStationHash",b"radioStationHash",u"radioStationIdentifier",b"radioStationIdentifier",u"radioStationName",b"radioStationName",u"repeatMode",b"repeatMode",u"shuffleMode",b"shuffleMode",u"timestamp",b"timestamp",u"title",b"title",u"uniqueIdentifier",b"uniqueIdentifier"]) -> builtin___bool: ...
    def ClearField(self, field_name: typing_extensions___Literal[u"album",b"album",u"artist",b"artist",u"artworkDataDigest",b"artworkDataDigest",u"duration",b"duration",u"elapsedTime",b"elapsedTime",u"isAdvertisement",b"isAdvertisement",u"isAlwaysLive",b"isAlwaysLive",u"isExplicitTrack",b"isExplicitTrack",u"isMusicApp",b"isMusicApp",u"playbackRate",b"playbackRate",u"radioStationHash",b"radioStationHash",u"radioStationIdentifier",b"radioStationIdentifier",u"radioStationName",b"radioStationName",u"repeatMode",b"repeatMode",u"shuffleMode",b"shuffleMode",u"timestamp",b"timestamp",u"title",b"title",u"uniqueIdentifier",b"uniqueIdentifier"]) -> None: ...
