您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
50 行
2.0 KiB
50 行
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,
|
|
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
|
|
|
|
|
|
class DemonstrationMetaProto(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
api_version = ... # type: builtin___int
|
|
demonstration_name = ... # type: typing___Text
|
|
number_steps = ... # type: builtin___int
|
|
number_episodes = ... # type: builtin___int
|
|
mean_reward = ... # type: builtin___float
|
|
|
|
def __init__(self,
|
|
*,
|
|
api_version : typing___Optional[builtin___int] = None,
|
|
demonstration_name : typing___Optional[typing___Text] = None,
|
|
number_steps : typing___Optional[builtin___int] = None,
|
|
number_episodes : typing___Optional[builtin___int] = None,
|
|
mean_reward : typing___Optional[builtin___float] = None,
|
|
) -> None: ...
|
|
@classmethod
|
|
def FromString(cls, s: builtin___bytes) -> DemonstrationMetaProto: ...
|
|
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"api_version",u"demonstration_name",u"mean_reward",u"number_episodes",u"number_steps"]) -> None: ...
|
|
else:
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"api_version",b"api_version",u"demonstration_name",b"demonstration_name",u"mean_reward",b"mean_reward",u"number_episodes",b"number_episodes",u"number_steps",b"number_steps"]) -> None: ...
|