您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
32 行
955 B
32 行
955 B
# @generated by generate_proto_mypy_stubs.py. Do not edit!
|
|
import sys
|
|
from google.protobuf.descriptor import (
|
|
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
|
|
)
|
|
|
|
from google.protobuf.message import (
|
|
Message as google___protobuf___message___Message,
|
|
)
|
|
|
|
from typing import (
|
|
List as typing___List,
|
|
Tuple as typing___Tuple,
|
|
cast as typing___cast,
|
|
)
|
|
|
|
|
|
class CommandProto(int):
|
|
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
|
@classmethod
|
|
def Name(cls, number: int) -> str: ...
|
|
@classmethod
|
|
def Value(cls, name: str) -> CommandProto: ...
|
|
@classmethod
|
|
def keys(cls) -> typing___List[str]: ...
|
|
@classmethod
|
|
def values(cls) -> typing___List[CommandProto]: ...
|
|
@classmethod
|
|
def items(cls) -> typing___List[typing___Tuple[str, CommandProto]]: ...
|
|
STEP = typing___cast(CommandProto, 0)
|
|
RESET = typing___cast(CommandProto, 1)
|
|
QUIT = typing___cast(CommandProto, 2)
|