您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
59 行
2.6 KiB
59 行
2.6 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 mlagents.envs.communicator_objects.header_pb2 import (
|
|
HeaderProto as mlagents___envs___communicator_objects___header_pb2___HeaderProto,
|
|
)
|
|
|
|
from mlagents.envs.communicator_objects.unity_input_pb2 import (
|
|
UnityInputProto as mlagents___envs___communicator_objects___unity_input_pb2___UnityInputProto,
|
|
)
|
|
|
|
from mlagents.envs.communicator_objects.unity_output_pb2 import (
|
|
UnityOutputProto as mlagents___envs___communicator_objects___unity_output_pb2___UnityOutputProto,
|
|
)
|
|
|
|
from typing import (
|
|
Optional as typing___Optional,
|
|
)
|
|
|
|
from typing_extensions import (
|
|
Literal as typing_extensions___Literal,
|
|
)
|
|
|
|
|
|
class UnityMessageProto(google___protobuf___message___Message):
|
|
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
|
|
|
@property
|
|
def header(self) -> mlagents___envs___communicator_objects___header_pb2___HeaderProto: ...
|
|
|
|
@property
|
|
def unity_output(self) -> mlagents___envs___communicator_objects___unity_output_pb2___UnityOutputProto: ...
|
|
|
|
@property
|
|
def unity_input(self) -> mlagents___envs___communicator_objects___unity_input_pb2___UnityInputProto: ...
|
|
|
|
def __init__(self,
|
|
*,
|
|
header : typing___Optional[mlagents___envs___communicator_objects___header_pb2___HeaderProto] = None,
|
|
unity_output : typing___Optional[mlagents___envs___communicator_objects___unity_output_pb2___UnityOutputProto] = None,
|
|
unity_input : typing___Optional[mlagents___envs___communicator_objects___unity_input_pb2___UnityInputProto] = None,
|
|
) -> None: ...
|
|
@classmethod
|
|
def FromString(cls, s: bytes) -> UnityMessageProto: ...
|
|
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 HasField(self, field_name: typing_extensions___Literal[u"header",u"unity_input",u"unity_output"]) -> bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"header",u"unity_input",u"unity_output"]) -> None: ...
|
|
else:
|
|
def HasField(self, field_name: typing_extensions___Literal[u"header",b"header",u"unity_input",b"unity_input",u"unity_output",b"unity_output"]) -> bool: ...
|
|
def ClearField(self, field_name: typing_extensions___Literal[u"header",b"header",u"unity_input",b"unity_input",u"unity_output",b"unity_output"]) -> None: ...
|