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.
345 lines
20 KiB
345 lines
20 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,
|
|
)
|
|
|
|
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 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 CContentBuilder_InitDepotBuild_Request(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
appid: builtin___int = ...
|
|
depotid: builtin___int = ...
|
|
workshop_itemid: builtin___int = ...
|
|
for_local_cs: builtin___bool = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
appid : typing___Optional[builtin___int] = None,
|
|
depotid : typing___Optional[builtin___int] = None,
|
|
workshop_itemid : typing___Optional[builtin___int] = None,
|
|
for_local_cs : typing___Optional[builtin___bool] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"depotid",b"depotid",u"for_local_cs",b"for_local_cs",u"workshop_itemid",b"workshop_itemid"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"depotid",b"depotid",u"for_local_cs",b"for_local_cs",u"workshop_itemid",b"workshop_itemid"]) -> None: ...
|
|
type___CContentBuilder_InitDepotBuild_Request = CContentBuilder_InitDepotBuild_Request
|
|
|
|
class CContentBuilder_InitDepotBuild_Response(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
baseline_manifestid: builtin___int = ...
|
|
chunk_size: builtin___int = ...
|
|
aes_key: builtin___bytes = ...
|
|
rsa_key: builtin___bytes = ...
|
|
url_host: typing___Text = ...
|
|
offset_detection_enabled: builtin___bool = ...
|
|
offset_detection_min_clean_chunk: builtin___int = ...
|
|
offset_detection_blast_radius_pre: builtin___int = ...
|
|
offset_detection_blast_radius_post: builtin___int = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
baseline_manifestid : typing___Optional[builtin___int] = None,
|
|
chunk_size : typing___Optional[builtin___int] = None,
|
|
aes_key : typing___Optional[builtin___bytes] = None,
|
|
rsa_key : typing___Optional[builtin___bytes] = None,
|
|
url_host : typing___Optional[typing___Text] = None,
|
|
offset_detection_enabled : typing___Optional[builtin___bool] = None,
|
|
offset_detection_min_clean_chunk : typing___Optional[builtin___int] = None,
|
|
offset_detection_blast_radius_pre : typing___Optional[builtin___int] = None,
|
|
offset_detection_blast_radius_post : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"aes_key",b"aes_key",u"baseline_manifestid",b"baseline_manifestid",u"chunk_size",b"chunk_size",u"offset_detection_blast_radius_post",b"offset_detection_blast_radius_post",u"offset_detection_blast_radius_pre",b"offset_detection_blast_radius_pre",u"offset_detection_enabled",b"offset_detection_enabled",u"offset_detection_min_clean_chunk",b"offset_detection_min_clean_chunk",u"rsa_key",b"rsa_key",u"url_host",b"url_host"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"aes_key",b"aes_key",u"baseline_manifestid",b"baseline_manifestid",u"chunk_size",b"chunk_size",u"offset_detection_blast_radius_post",b"offset_detection_blast_radius_post",u"offset_detection_blast_radius_pre",b"offset_detection_blast_radius_pre",u"offset_detection_enabled",b"offset_detection_enabled",u"offset_detection_min_clean_chunk",b"offset_detection_min_clean_chunk",u"rsa_key",b"rsa_key",u"url_host",b"url_host"]) -> None: ...
|
|
type___CContentBuilder_InitDepotBuild_Response = CContentBuilder_InitDepotBuild_Response
|
|
|
|
class CContentBuilder_StartDepotUpload_Request(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
appid: builtin___int = ...
|
|
depotid: builtin___int = ...
|
|
workshop_itemid: builtin___int = ...
|
|
for_local_cs: builtin___bool = ...
|
|
baseline_manifestid: builtin___int = ...
|
|
manifest_size: builtin___int = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
appid : typing___Optional[builtin___int] = None,
|
|
depotid : typing___Optional[builtin___int] = None,
|
|
workshop_itemid : typing___Optional[builtin___int] = None,
|
|
for_local_cs : typing___Optional[builtin___bool] = None,
|
|
baseline_manifestid : typing___Optional[builtin___int] = None,
|
|
manifest_size : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"baseline_manifestid",b"baseline_manifestid",u"depotid",b"depotid",u"for_local_cs",b"for_local_cs",u"manifest_size",b"manifest_size",u"workshop_itemid",b"workshop_itemid"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"baseline_manifestid",b"baseline_manifestid",u"depotid",b"depotid",u"for_local_cs",b"for_local_cs",u"manifest_size",b"manifest_size",u"workshop_itemid",b"workshop_itemid"]) -> None: ...
|
|
type___CContentBuilder_StartDepotUpload_Request = CContentBuilder_StartDepotUpload_Request
|
|
|
|
class CContentBuilder_StartDepotUpload_Response(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
depot_build_handle: builtin___int = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
depot_build_handle : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"depot_build_handle",b"depot_build_handle"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"depot_build_handle",b"depot_build_handle"]) -> None: ...
|
|
type___CContentBuilder_StartDepotUpload_Response = CContentBuilder_StartDepotUpload_Response
|
|
|
|
class CContentBuilder_GetMissingDepotChunks_Request(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
appid: builtin___int = ...
|
|
depot_build_handle: builtin___int = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
appid : typing___Optional[builtin___int] = None,
|
|
depot_build_handle : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"depot_build_handle",b"depot_build_handle"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"depot_build_handle",b"depot_build_handle"]) -> None: ...
|
|
type___CContentBuilder_GetMissingDepotChunks_Request = CContentBuilder_GetMissingDepotChunks_Request
|
|
|
|
class CContentBuilder_GetMissingDepotChunks_Response(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
class Chunks(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
sha: builtin___bytes = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
sha : typing___Optional[builtin___bytes] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"sha",b"sha"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"sha",b"sha"]) -> None: ...
|
|
type___Chunks = Chunks
|
|
|
|
total_missing_chunks: builtin___int = ...
|
|
total_missing_bytes: builtin___int = ...
|
|
|
|
@property
|
|
def missing_chunks(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CContentBuilder_GetMissingDepotChunks_Response.Chunks]: ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
missing_chunks : typing___Optional[typing___Iterable[type___CContentBuilder_GetMissingDepotChunks_Response.Chunks]] = None,
|
|
total_missing_chunks : typing___Optional[builtin___int] = None,
|
|
total_missing_bytes : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"total_missing_bytes",b"total_missing_bytes",u"total_missing_chunks",b"total_missing_chunks"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"missing_chunks",b"missing_chunks",u"total_missing_bytes",b"total_missing_bytes",u"total_missing_chunks",b"total_missing_chunks"]) -> None: ...
|
|
type___CContentBuilder_GetMissingDepotChunks_Response = CContentBuilder_GetMissingDepotChunks_Response
|
|
|
|
class CContentBuilder_FinishDepotUpload_Request(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
appid: builtin___int = ...
|
|
depot_build_handle: builtin___int = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
appid : typing___Optional[builtin___int] = None,
|
|
depot_build_handle : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"depot_build_handle",b"depot_build_handle"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"depot_build_handle",b"depot_build_handle"]) -> None: ...
|
|
type___CContentBuilder_FinishDepotUpload_Request = CContentBuilder_FinishDepotUpload_Request
|
|
|
|
class CContentBuilder_FinishDepotUpload_Response(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
manifestid: builtin___int = ...
|
|
prev_reused: builtin___bool = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
manifestid : typing___Optional[builtin___int] = None,
|
|
prev_reused : typing___Optional[builtin___bool] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"manifestid",b"manifestid",u"prev_reused",b"prev_reused"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"manifestid",b"manifestid",u"prev_reused",b"prev_reused"]) -> None: ...
|
|
type___CContentBuilder_FinishDepotUpload_Response = CContentBuilder_FinishDepotUpload_Response
|
|
|
|
class CContentBuilder_CommitAppBuild_Request(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
class Depots(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
depotid: builtin___int = ...
|
|
manifestid: builtin___int = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
depotid : typing___Optional[builtin___int] = None,
|
|
manifestid : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"depotid",b"depotid",u"manifestid",b"manifestid"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"depotid",b"depotid",u"manifestid",b"manifestid"]) -> None: ...
|
|
type___Depots = Depots
|
|
|
|
appid: builtin___int = ...
|
|
build_notes: typing___Text = ...
|
|
live_branch: typing___Text = ...
|
|
|
|
@property
|
|
def depot_manifests(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CContentBuilder_CommitAppBuild_Request.Depots]: ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
appid : typing___Optional[builtin___int] = None,
|
|
depot_manifests : typing___Optional[typing___Iterable[type___CContentBuilder_CommitAppBuild_Request.Depots]] = None,
|
|
build_notes : typing___Optional[typing___Text] = None,
|
|
live_branch : typing___Optional[typing___Text] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"build_notes",b"build_notes",u"live_branch",b"live_branch"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"build_notes",b"build_notes",u"depot_manifests",b"depot_manifests",u"live_branch",b"live_branch"]) -> None: ...
|
|
type___CContentBuilder_CommitAppBuild_Request = CContentBuilder_CommitAppBuild_Request
|
|
|
|
class CContentBuilder_CommitAppBuild_Response(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
buildid: builtin___int = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
buildid : typing___Optional[builtin___int] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"buildid",b"buildid"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"buildid",b"buildid"]) -> None: ...
|
|
type___CContentBuilder_CommitAppBuild_Response = CContentBuilder_CommitAppBuild_Response
|
|
|
|
class CContentBuilder_SignInstallScript_Request(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
appid: builtin___int = ...
|
|
depotid: builtin___int = ...
|
|
install_script: typing___Text = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
appid : typing___Optional[builtin___int] = None,
|
|
depotid : typing___Optional[builtin___int] = None,
|
|
install_script : typing___Optional[typing___Text] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"depotid",b"depotid",u"install_script",b"install_script"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"depotid",b"depotid",u"install_script",b"install_script"]) -> None: ...
|
|
type___CContentBuilder_SignInstallScript_Request = CContentBuilder_SignInstallScript_Request
|
|
|
|
class CContentBuilder_SignInstallScript_Response(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
signed_install_script: typing___Text = ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
signed_install_script : typing___Optional[typing___Text] = None,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing_extensions___Literal[u"signed_install_script",b"signed_install_script"]) -> builtin___bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"signed_install_script",b"signed_install_script"]) -> None: ...
|
|
type___CContentBuilder_SignInstallScript_Response = CContentBuilder_SignInstallScript_Response
|
|
|
|
class ContentBuilder(google___protobuf___service___Service, metaclass=abc___ABCMeta):
|
|
@abc___abstractmethod
|
|
def InitDepotBuild(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_InitDepotBuild_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_InitDepotBuild_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_InitDepotBuild_Response]: ...
|
|
@abc___abstractmethod
|
|
def StartDepotUpload(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_StartDepotUpload_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_StartDepotUpload_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_StartDepotUpload_Response]: ...
|
|
@abc___abstractmethod
|
|
def GetMissingDepotChunks(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_GetMissingDepotChunks_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_GetMissingDepotChunks_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_GetMissingDepotChunks_Response]: ...
|
|
@abc___abstractmethod
|
|
def FinishDepotUpload(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_FinishDepotUpload_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_FinishDepotUpload_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_FinishDepotUpload_Response]: ...
|
|
@abc___abstractmethod
|
|
def CommitAppBuild(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_CommitAppBuild_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_CommitAppBuild_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_CommitAppBuild_Response]: ...
|
|
@abc___abstractmethod
|
|
def SignInstallScript(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_SignInstallScript_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_SignInstallScript_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_SignInstallScript_Response]: ...
|
|
class ContentBuilder_Stub(ContentBuilder):
|
|
def __init__(self, rpc_channel: google___protobuf___service___RpcChannel) -> None: ...
|
|
def InitDepotBuild(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_InitDepotBuild_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_InitDepotBuild_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_InitDepotBuild_Response]: ...
|
|
def StartDepotUpload(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_StartDepotUpload_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_StartDepotUpload_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_StartDepotUpload_Response]: ...
|
|
def GetMissingDepotChunks(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_GetMissingDepotChunks_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_GetMissingDepotChunks_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_GetMissingDepotChunks_Response]: ...
|
|
def FinishDepotUpload(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_FinishDepotUpload_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_FinishDepotUpload_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_FinishDepotUpload_Response]: ...
|
|
def CommitAppBuild(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_CommitAppBuild_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_CommitAppBuild_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_CommitAppBuild_Response]: ...
|
|
def SignInstallScript(self,
|
|
rpc_controller: google___protobuf___service___RpcController,
|
|
request: type___CContentBuilder_SignInstallScript_Request,
|
|
done: typing___Optional[typing___Callable[[type___CContentBuilder_SignInstallScript_Response], None]],
|
|
) -> concurrent___futures___Future[type___CContentBuilder_SignInstallScript_Response]: ...
|