pythonhacktoberfeststeamauthenticationauthenticatorsteam-authenticatorsteam-clientsteam-guard-codessteam-websteamworksvalvewebapi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
253 lines
13 KiB
253 lines
13 KiB
# @generated by generate_proto_mypy_stubs.py. Do not edit!
|
|
import sys
|
|
from abc import (
|
|
ABCMeta as abc___ABCMeta,
|
|
abstractmethod as abc___abstractmethod,
|
|
)
|
|
|
|
from concurrent.futures import (
|
|
Future as concurrent___futures___Future,
|
|
)
|
|
|
|
from google.protobuf.descriptor import (
|
|
Descriptor as google___protobuf___descriptor___Descriptor,
|
|
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
|
)
|
|
|
|
from google.protobuf.internal.containers import (
|
|
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
|
|
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
|
|
)
|
|
|
|
from google.protobuf.message import (
|
|
Message as google___protobuf___message___Message,
|
|
)
|
|
|
|
from google.protobuf.service import (
|
|
RpcChannel as google___protobuf___service___RpcChannel,
|
|
RpcController as google___protobuf___service___RpcController,
|
|
Service as google___protobuf___service___Service,
|
|
)
|
|
|
|
from steammessages_unified_base_pb2 import (
|
|
NoResponse as steammessages_unified_base_pb2___NoResponse,
|
|
)
|
|
|
|
from typing import (
|
|
Callable as typing___Callable,
|
|
Iterable as typing___Iterable,
|
|
Optional as typing___Optional,
|
|
Text as typing___Text,
|
|
)
|
|
|
|
from typing_extensions import (
|
|
Literal as typing_extensions___Literal,
|
|
)
|
|
|
|
|
|
builtin___bool = bool
|
|
builtin___bytes = bytes
|
|
builtin___float = float
|
|
builtin___int = int
|
|
|
|
|
|
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
|
|
|
class CVideo_ClientGetVideoURL_Request(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
video_id: builtin___int = ...
|
|
client_cellid: builtin___int = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
video_id : typing___Optional[builtin___int] = None,
|
|
client_cellid : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"client_cellid",b"client_cellid",u"video_id",b"video_id"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"client_cellid",b"client_cellid",u"video_id",b"video_id"]) -> None: ...
|
|
type___CVideo_ClientGetVideoURL_Request = CVideo_ClientGetVideoURL_Request
|
|
|
|
class CVideo_ClientGetVideoURL_Response(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
video_id: builtin___int = ...
|
|
video_url: typing___Text = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
video_id : typing___Optional[builtin___int] = None,
|
|
video_url : typing___Optional[typing___Text] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"video_id",b"video_id",u"video_url",b"video_url"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"video_id",b"video_id",u"video_url",b"video_url"]) -> None: ...
|
|
type___CVideo_ClientGetVideoURL_Response = CVideo_ClientGetVideoURL_Response
|
|
|
|
class VideoBookmark(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
app_id: builtin___int = ...
|
|
playback_position_in_seconds: builtin___int = ...
|
|
video_track_id: builtin___int = ...
|
|
audio_track_id: builtin___int = ...
|
|
timedtext_track_id: builtin___int = ...
|
|
last_modified: builtin___int = ...
|
|
hide_from_watch_history: builtin___bool = ...
|
|
hide_from_library: builtin___bool = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
app_id : typing___Optional[builtin___int] = None,
|
|
playback_position_in_seconds : typing___Optional[builtin___int] = None,
|
|
video_track_id : typing___Optional[builtin___int] = None,
|
|
audio_track_id : typing___Optional[builtin___int] = None,
|
|
timedtext_track_id : typing___Optional[builtin___int] = None,
|
|
last_modified : typing___Optional[builtin___int] = None,
|
|
hide_from_watch_history : typing___Optional[builtin___bool] = None,
|
|
hide_from_library : typing___Optional[builtin___bool] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"app_id",b"app_id",u"audio_track_id",b"audio_track_id",u"hide_from_library",b"hide_from_library",u"hide_from_watch_history",b"hide_from_watch_history",u"last_modified",b"last_modified",u"playback_position_in_seconds",b"playback_position_in_seconds",u"timedtext_track_id",b"timedtext_track_id",u"video_track_id",b"video_track_id"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"app_id",b"app_id",u"audio_track_id",b"audio_track_id",u"hide_from_library",b"hide_from_library",u"hide_from_watch_history",b"hide_from_watch_history",u"last_modified",b"last_modified",u"playback_position_in_seconds",b"playback_position_in_seconds",u"timedtext_track_id",b"timedtext_track_id",u"video_track_id",b"video_track_id"]) -> None: ...
|
|
type___VideoBookmark = VideoBookmark
|
|
|
|
class CVideo_SetVideoBookmark_Notification(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
|
|
@property
|
|
def bookmarks(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___VideoBookmark]: ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
bookmarks : typing___Optional[typing___Iterable[type___VideoBookmark]] = None,
|
|
) -> None: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"bookmarks",b"bookmarks"]) -> None: ...
|
|
type___CVideo_SetVideoBookmark_Notification = CVideo_SetVideoBookmark_Notification
|
|
|
|
class CVideo_GetVideoBookmarks_Request(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
appids: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
|
|
updated_since: builtin___int = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
appids : typing___Optional[typing___Iterable[builtin___int]] = None,
|
|
updated_since : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"updated_since",b"updated_since"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"appids",b"appids",u"updated_since",b"updated_since"]) -> None: ...
|
|
type___CVideo_GetVideoBookmarks_Request = CVideo_GetVideoBookmarks_Request
|
|
|
|
class CVideo_GetVideoBookmarks_Response(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
|
|
@property
|
|
def bookmarks(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___VideoBookmark]: ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
bookmarks : typing___Optional[typing___Iterable[type___VideoBookmark]] = None,
|
|
) -> None: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"bookmarks",b"bookmarks"]) -> None: ...
|
|
type___CVideo_GetVideoBookmarks_Response = CVideo_GetVideoBookmarks_Response
|
|
|
|
class CVideo_UnlockedH264_Notification(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
encryption_key: builtin___bytes = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
encryption_key : typing___Optional[builtin___bytes] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"encryption_key",b"encryption_key"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"encryption_key",b"encryption_key"]) -> None: ...
|
|
type___CVideo_UnlockedH264_Notification = CVideo_UnlockedH264_Notification
|
|
|
|
class CFovasVideo_ClientGetOPFSettings_Request(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
app_id: builtin___int = ...
|
|
client_cellid: builtin___int = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
app_id : typing___Optional[builtin___int] = None,
|
|
client_cellid : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"app_id",b"app_id",u"client_cellid",b"client_cellid"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"app_id",b"app_id",u"client_cellid",b"client_cellid"]) -> None: ...
|
|
type___CFovasVideo_ClientGetOPFSettings_Request = CFovasVideo_ClientGetOPFSettings_Request
|
|
|
|
class CFovasVideo_ClientGetOPFSettings_Response(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
app_id: builtin___int = ...
|
|
opf_settings: typing___Text = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
app_id : typing___Optional[builtin___int] = None,
|
|
opf_settings : typing___Optional[typing___Text] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"app_id",b"app_id",u"opf_settings",b"opf_settings"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"app_id",b"app_id",u"opf_settings",b"opf_settings"]) -> None: ...
|
|
type___CFovasVideo_ClientGetOPFSettings_Response = CFovasVideo_ClientGetOPFSettings_Response
|
|
|
|
class Video(google___protobuf___service___Service, metaclass=abc___ABCMeta):
|
|
@abc___abstractmethod
|
|
def ClientGetVideoURL(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CVideo_ClientGetVideoURL_Request,
|
|
done: typing___Optional[typing___Callable[[type___CVideo_ClientGetVideoURL_Response], None]],
|
|
) -> concurrent___futures___Future[type___CVideo_ClientGetVideoURL_Response]: ...
|
|
@abc___abstractmethod
|
|
def SetVideoBookmark(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CVideo_SetVideoBookmark_Notification,
|
|
done: typing___Optional[typing___Callable[[steammessages_unified_base_pb2___NoResponse], None]],
|
|
) -> concurrent___futures___Future[steammessages_unified_base_pb2___NoResponse]: ...
|
|
@abc___abstractmethod
|
|
def GetVideoBookmarks(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CVideo_GetVideoBookmarks_Request,
|
|
done: typing___Optional[typing___Callable[[type___CVideo_GetVideoBookmarks_Response], None]],
|
|
) -> concurrent___futures___Future[type___CVideo_GetVideoBookmarks_Response]: ...
|
|
class Video_Stub(Video):
|
|
def __init__(self, rpc_channel: google___protobuf___service___RpcChannel) -> None: ...
|
|
def ClientGetVideoURL(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CVideo_ClientGetVideoURL_Request,
|
|
done: typing___Optional[typing___Callable[[type___CVideo_ClientGetVideoURL_Response], None]],
|
|
) -> concurrent___futures___Future[type___CVideo_ClientGetVideoURL_Response]: ...
|
|
def SetVideoBookmark(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CVideo_SetVideoBookmark_Notification,
|
|
done: typing___Optional[typing___Callable[[steammessages_unified_base_pb2___NoResponse], None]],
|
|
) -> concurrent___futures___Future[steammessages_unified_base_pb2___NoResponse]: ...
|
|
def GetVideoBookmarks(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CVideo_GetVideoBookmarks_Request,
|
|
done: typing___Optional[typing___Callable[[type___CVideo_GetVideoBookmarks_Response], None]],
|
|
) -> concurrent___futures___Future[type___CVideo_GetVideoBookmarks_Response]: ...
|
|
class VideoClient(google___protobuf___service___Service, metaclass=abc___ABCMeta):
|
|
@abc___abstractmethod
|
|
def NotifyUnlockedH264(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CVideo_UnlockedH264_Notification,
|
|
done: typing___Optional[typing___Callable[[steammessages_unified_base_pb2___NoResponse], None]],
|
|
) -> concurrent___futures___Future[steammessages_unified_base_pb2___NoResponse]: ...
|
|
class VideoClient_Stub(VideoClient):
|
|
def __init__(self, rpc_channel: google___protobuf___service___RpcChannel) -> None: ...
|
|
def NotifyUnlockedH264(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CVideo_UnlockedH264_Notification,
|
|
done: typing___Optional[typing___Callable[[steammessages_unified_base_pb2___NoResponse], None]],
|
|
) -> concurrent___futures___Future[steammessages_unified_base_pb2___NoResponse]: ...
|
|
class FovasVideo(google___protobuf___service___Service, metaclass=abc___ABCMeta):
|
|
@abc___abstractmethod
|
|
def ClientGetOPFSettings(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CFovasVideo_ClientGetOPFSettings_Request,
|
|
done: typing___Optional[typing___Callable[[type___CFovasVideo_ClientGetOPFSettings_Response], None]],
|
|
) -> concurrent___futures___Future[type___CFovasVideo_ClientGetOPFSettings_Response]: ...
|
|
class FovasVideo_Stub(FovasVideo):
|
|
def __init__(self, rpc_channel: google___protobuf___service___RpcChannel) -> None: ...
|
|
def ClientGetOPFSettings(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CFovasVideo_ClientGetOPFSettings_Request,
|
|
done: typing___Optional[typing___Callable[[type___CFovasVideo_ClientGetOPFSettings_Response], None]],
|
|
) -> concurrent___futures___Future[type___CFovasVideo_ClientGetOPFSettings_Response]: ...
|