# @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, ) 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 CGameNotifications_Variable(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... key: typing___Text = ... value: typing___Text = ... def __init__(self, *, key : typing___Optional[typing___Text] = None, value : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ... type___CGameNotifications_Variable = CGameNotifications_Variable class CGameNotifications_LocalizedText(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... token: typing___Text = ... rendered_text: typing___Text = ... @property def variables(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CGameNotifications_Variable]: ... def __init__(self, *, token : typing___Optional[typing___Text] = None, variables : typing___Optional[typing___Iterable[type___CGameNotifications_Variable]] = None, rendered_text : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"rendered_text",b"rendered_text",u"token",b"token"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"rendered_text",b"rendered_text",u"token",b"token",u"variables",b"variables"]) -> None: ... type___CGameNotifications_LocalizedText = CGameNotifications_LocalizedText class CGameNotifications_UserStatus(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... steamid: builtin___int = ... state: typing___Text = ... @property def title(self) -> type___CGameNotifications_LocalizedText: ... @property def message(self) -> type___CGameNotifications_LocalizedText: ... def __init__(self, *, steamid : typing___Optional[builtin___int] = None, state : typing___Optional[typing___Text] = None, title : typing___Optional[type___CGameNotifications_LocalizedText] = None, message : typing___Optional[type___CGameNotifications_LocalizedText] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"message",b"message",u"state",b"state",u"steamid",b"steamid",u"title",b"title"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"message",b"message",u"state",b"state",u"steamid",b"steamid",u"title",b"title"]) -> None: ... type___CGameNotifications_UserStatus = CGameNotifications_UserStatus class CGameNotifications_CreateSession_Request(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... appid: builtin___int = ... context: builtin___int = ... steamid: builtin___int = ... @property def title(self) -> type___CGameNotifications_LocalizedText: ... @property def users(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CGameNotifications_UserStatus]: ... def __init__(self, *, appid : typing___Optional[builtin___int] = None, context : typing___Optional[builtin___int] = None, title : typing___Optional[type___CGameNotifications_LocalizedText] = None, users : typing___Optional[typing___Iterable[type___CGameNotifications_UserStatus]] = None, steamid : typing___Optional[builtin___int] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"context",b"context",u"steamid",b"steamid",u"title",b"title"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"context",b"context",u"steamid",b"steamid",u"title",b"title",u"users",b"users"]) -> None: ... type___CGameNotifications_CreateSession_Request = CGameNotifications_CreateSession_Request class CGameNotifications_CreateSession_Response(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... sessionid: builtin___int = ... def __init__(self, *, sessionid : typing___Optional[builtin___int] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"sessionid",b"sessionid"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"sessionid",b"sessionid"]) -> None: ... type___CGameNotifications_CreateSession_Response = CGameNotifications_CreateSession_Response class CGameNotifications_DeleteSession_Request(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... sessionid: builtin___int = ... appid: builtin___int = ... steamid: builtin___int = ... def __init__(self, *, sessionid : typing___Optional[builtin___int] = None, appid : typing___Optional[builtin___int] = None, steamid : typing___Optional[builtin___int] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"sessionid",b"sessionid",u"steamid",b"steamid"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"sessionid",b"sessionid",u"steamid",b"steamid"]) -> None: ... type___CGameNotifications_DeleteSession_Request = CGameNotifications_DeleteSession_Request class CGameNotifications_DeleteSession_Response(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... def __init__(self, ) -> None: ... type___CGameNotifications_DeleteSession_Response = CGameNotifications_DeleteSession_Response class CGameNotifications_UpdateSession_Request(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... sessionid: builtin___int = ... appid: builtin___int = ... steamid: builtin___int = ... @property def title(self) -> type___CGameNotifications_LocalizedText: ... @property def users(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CGameNotifications_UserStatus]: ... def __init__(self, *, sessionid : typing___Optional[builtin___int] = None, appid : typing___Optional[builtin___int] = None, title : typing___Optional[type___CGameNotifications_LocalizedText] = None, users : typing___Optional[typing___Iterable[type___CGameNotifications_UserStatus]] = None, steamid : typing___Optional[builtin___int] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"sessionid",b"sessionid",u"steamid",b"steamid",u"title",b"title"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"sessionid",b"sessionid",u"steamid",b"steamid",u"title",b"title",u"users",b"users"]) -> None: ... type___CGameNotifications_UpdateSession_Request = CGameNotifications_UpdateSession_Request class CGameNotifications_UpdateSession_Response(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... def __init__(self, ) -> None: ... type___CGameNotifications_UpdateSession_Response = CGameNotifications_UpdateSession_Response class CGameNotifications_EnumerateSessions_Request(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... appid: builtin___int = ... include_all_user_messages: builtin___bool = ... include_auth_user_message: builtin___bool = ... language: typing___Text = ... def __init__(self, *, appid : typing___Optional[builtin___int] = None, include_all_user_messages : typing___Optional[builtin___bool] = None, include_auth_user_message : typing___Optional[builtin___bool] = None, language : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"include_all_user_messages",b"include_all_user_messages",u"include_auth_user_message",b"include_auth_user_message",u"language",b"language"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"include_all_user_messages",b"include_all_user_messages",u"include_auth_user_message",b"include_auth_user_message",u"language",b"language"]) -> None: ... type___CGameNotifications_EnumerateSessions_Request = CGameNotifications_EnumerateSessions_Request class CGameNotifications_Session(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... sessionid: builtin___int = ... appid: builtin___int = ... context: builtin___int = ... time_created: builtin___int = ... time_updated: builtin___int = ... @property def title(self) -> type___CGameNotifications_LocalizedText: ... @property def user_status(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CGameNotifications_UserStatus]: ... def __init__(self, *, sessionid : typing___Optional[builtin___int] = None, appid : typing___Optional[builtin___int] = None, context : typing___Optional[builtin___int] = None, title : typing___Optional[type___CGameNotifications_LocalizedText] = None, time_created : typing___Optional[builtin___int] = None, time_updated : typing___Optional[builtin___int] = None, user_status : typing___Optional[typing___Iterable[type___CGameNotifications_UserStatus]] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"context",b"context",u"sessionid",b"sessionid",u"time_created",b"time_created",u"time_updated",b"time_updated",u"title",b"title"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"context",b"context",u"sessionid",b"sessionid",u"time_created",b"time_created",u"time_updated",b"time_updated",u"title",b"title",u"user_status",b"user_status"]) -> None: ... type___CGameNotifications_Session = CGameNotifications_Session class CGameNotifications_EnumerateSessions_Response(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... @property def sessions(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CGameNotifications_Session]: ... def __init__(self, *, sessions : typing___Optional[typing___Iterable[type___CGameNotifications_Session]] = None, ) -> None: ... def ClearField(self, field_name: typing_extensions___Literal[u"sessions",b"sessions"]) -> None: ... type___CGameNotifications_EnumerateSessions_Response = CGameNotifications_EnumerateSessions_Response class CGameNotifications_GetSessionDetails_Request(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... class RequestedSession(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... sessionid: builtin___int = ... include_auth_user_message: builtin___bool = ... def __init__(self, *, sessionid : typing___Optional[builtin___int] = None, include_auth_user_message : typing___Optional[builtin___bool] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"include_auth_user_message",b"include_auth_user_message",u"sessionid",b"sessionid"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"include_auth_user_message",b"include_auth_user_message",u"sessionid",b"sessionid"]) -> None: ... type___RequestedSession = RequestedSession appid: builtin___int = ... language: typing___Text = ... @property def sessions(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CGameNotifications_GetSessionDetails_Request.RequestedSession]: ... def __init__(self, *, sessions : typing___Optional[typing___Iterable[type___CGameNotifications_GetSessionDetails_Request.RequestedSession]] = None, appid : typing___Optional[builtin___int] = None, language : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"language",b"language"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"language",b"language",u"sessions",b"sessions"]) -> None: ... type___CGameNotifications_GetSessionDetails_Request = CGameNotifications_GetSessionDetails_Request class CGameNotifications_GetSessionDetails_Response(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... @property def sessions(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CGameNotifications_Session]: ... def __init__(self, *, sessions : typing___Optional[typing___Iterable[type___CGameNotifications_Session]] = None, ) -> None: ... def ClearField(self, field_name: typing_extensions___Literal[u"sessions",b"sessions"]) -> None: ... type___CGameNotifications_GetSessionDetails_Response = CGameNotifications_GetSessionDetails_Response class GameNotificationSettings(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... appid: builtin___int = ... allow_notifications: builtin___bool = ... def __init__(self, *, appid : typing___Optional[builtin___int] = None, allow_notifications : typing___Optional[builtin___bool] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"allow_notifications",b"allow_notifications",u"appid",b"appid"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"allow_notifications",b"allow_notifications",u"appid",b"appid"]) -> None: ... type___GameNotificationSettings = GameNotificationSettings class CGameNotifications_UpdateNotificationSettings_Request(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... @property def game_notification_settings(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___GameNotificationSettings]: ... def __init__(self, *, game_notification_settings : typing___Optional[typing___Iterable[type___GameNotificationSettings]] = None, ) -> None: ... def ClearField(self, field_name: typing_extensions___Literal[u"game_notification_settings",b"game_notification_settings"]) -> None: ... type___CGameNotifications_UpdateNotificationSettings_Request = CGameNotifications_UpdateNotificationSettings_Request class CGameNotifications_UpdateNotificationSettings_Response(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... def __init__(self, ) -> None: ... type___CGameNotifications_UpdateNotificationSettings_Response = CGameNotifications_UpdateNotificationSettings_Response class CGameNotifications_OnNotificationsRequested_Notification(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... steamid: builtin___int = ... appid: builtin___int = ... def __init__(self, *, steamid : typing___Optional[builtin___int] = None, appid : typing___Optional[builtin___int] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"steamid",b"steamid"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"steamid",b"steamid"]) -> None: ... type___CGameNotifications_OnNotificationsRequested_Notification = CGameNotifications_OnNotificationsRequested_Notification class CGameNotifications_OnUserStatusChanged_Notification(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... steamid: builtin___int = ... sessionid: builtin___int = ... appid: builtin___int = ... removed: builtin___bool = ... @property def status(self) -> type___CGameNotifications_UserStatus: ... def __init__(self, *, steamid : typing___Optional[builtin___int] = None, sessionid : typing___Optional[builtin___int] = None, appid : typing___Optional[builtin___int] = None, status : typing___Optional[type___CGameNotifications_UserStatus] = None, removed : typing___Optional[builtin___bool] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"removed",b"removed",u"sessionid",b"sessionid",u"status",b"status",u"steamid",b"steamid"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"removed",b"removed",u"sessionid",b"sessionid",u"status",b"status",u"steamid",b"steamid"]) -> None: ... type___CGameNotifications_OnUserStatusChanged_Notification = CGameNotifications_OnUserStatusChanged_Notification class GameNotifications(google___protobuf___service___Service, metaclass=abc___ABCMeta): @abc___abstractmethod def UserCreateSession(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_CreateSession_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_CreateSession_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_CreateSession_Response]: ... @abc___abstractmethod def UserDeleteSession(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_DeleteSession_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_DeleteSession_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_DeleteSession_Response]: ... @abc___abstractmethod def UserUpdateSession(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_UpdateSession_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_UpdateSession_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_UpdateSession_Response]: ... @abc___abstractmethod def EnumerateSessions(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_EnumerateSessions_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_EnumerateSessions_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_EnumerateSessions_Response]: ... @abc___abstractmethod def GetSessionDetails(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_GetSessionDetails_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_GetSessionDetails_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_GetSessionDetails_Response]: ... @abc___abstractmethod def UpdateNotificationSettings(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_UpdateNotificationSettings_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_UpdateNotificationSettings_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_UpdateNotificationSettings_Response]: ... class GameNotifications_Stub(GameNotifications): def __init__(self, rpc_channel: google___protobuf___service___RpcChannel) -> None: ... def UserCreateSession(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_CreateSession_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_CreateSession_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_CreateSession_Response]: ... def UserDeleteSession(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_DeleteSession_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_DeleteSession_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_DeleteSession_Response]: ... def UserUpdateSession(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_UpdateSession_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_UpdateSession_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_UpdateSession_Response]: ... def EnumerateSessions(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_EnumerateSessions_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_EnumerateSessions_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_EnumerateSessions_Response]: ... def GetSessionDetails(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_GetSessionDetails_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_GetSessionDetails_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_GetSessionDetails_Response]: ... def UpdateNotificationSettings(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_UpdateNotificationSettings_Request, done: typing___Optional[typing___Callable[[type___CGameNotifications_UpdateNotificationSettings_Response], None]], ) -> concurrent___futures___Future[type___CGameNotifications_UpdateNotificationSettings_Response]: ... class GameNotificationsClient(google___protobuf___service___Service, metaclass=abc___ABCMeta): @abc___abstractmethod def OnNotificationsRequested(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_OnNotificationsRequested_Notification, done: typing___Optional[typing___Callable[[steammessages_unified_base_pb2___NoResponse], None]], ) -> concurrent___futures___Future[steammessages_unified_base_pb2___NoResponse]: ... @abc___abstractmethod def OnUserStatusChanged(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_OnUserStatusChanged_Notification, done: typing___Optional[typing___Callable[[steammessages_unified_base_pb2___NoResponse], None]], ) -> concurrent___futures___Future[steammessages_unified_base_pb2___NoResponse]: ... class GameNotificationsClient_Stub(GameNotificationsClient): def __init__(self, rpc_channel: google___protobuf___service___RpcChannel) -> None: ... def OnNotificationsRequested(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_OnNotificationsRequested_Notification, done: typing___Optional[typing___Callable[[steammessages_unified_base_pb2___NoResponse], None]], ) -> concurrent___futures___Future[steammessages_unified_base_pb2___NoResponse]: ... def OnUserStatusChanged(self, rpc_controller: google___protobuf___service___RpcController, request: type___CGameNotifications_OnUserStatusChanged_Notification, done: typing___Optional[typing___Callable[[steammessages_unified_base_pb2___NoResponse], None]], ) -> concurrent___futures___Future[steammessages_unified_base_pb2___NoResponse]: ...