您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
51 行
2.0 KiB
51 行
2.0 KiB
# @generated by generate_proto_mypy_stubs.py. Do not edit!
|
|
import sys
|
|
from google.protobuf.descriptor import (
|
|
Descriptor as google___protobuf___descriptor___Descriptor,
|
|
)
|
|
|
|
from google.protobuf.message import (
|
|
Message as google___protobuf___message___Message,
|
|
)
|
|
|
|
from typing import (
|
|
Optional as typing___Optional,
|
|
)
|
|
|
|
from typing_extensions import (
|
|
Literal as typing_extensions___Literal,
|
|
)
|
|
|
|
|
|
builtin___bool = bool
|
|
builtin___bytes = bytes
|
|
builtin___float = float
|
|
builtin___int = int
|
|
|
|
|
|
class EngineConfigurationProto(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
width = ... # type: builtin___int
|
|
height = ... # type: builtin___int
|
|
quality_level = ... # type: builtin___int
|
|
time_scale = ... # type: builtin___float
|
|
target_frame_rate = ... # type: builtin___int
|
|
show_monitor = ... # type: builtin___bool
|
|
|
|
def __init__(self,
|
|
*,
|
|
width : typing___Optional[builtin___int] = None,
|
|
height : typing___Optional[builtin___int] = None,
|
|
quality_level : typing___Optional[builtin___int] = None,
|
|
time_scale : typing___Optional[builtin___float] = None,
|
|
target_frame_rate : typing___Optional[builtin___int] = None,
|
|
show_monitor : typing___Optional[builtin___bool] = None,
|
|
) -> None: ...
|
|
@classmethod
|
|
def FromString(cls, s: builtin___bytes) -> EngineConfigurationProto: ...
|
|
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
|
|
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
|
|
if sys.version_info >= (3,):
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"height",u"quality_level",u"show_monitor",u"target_frame_rate",u"time_scale",u"width"]) -> None: ...
|
|
else:
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"height",b"height",u"quality_level",b"quality_level",u"show_monitor",b"show_monitor",u"target_frame_rate",b"target_frame_rate",u"time_scale",b"time_scale",u"width",b"width"]) -> None: ...
|