您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
39 行
1.2 KiB
39 行
1.2 KiB
# @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,
|
|
)
|
|
|
|
|
|
builtin___int = int
|
|
builtin___str = str
|
|
|
|
|
|
class CommandProto(builtin___int):
|
|
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
|
@classmethod
|
|
def Name(cls, number: builtin___int) -> builtin___str: ...
|
|
@classmethod
|
|
def Value(cls, name: builtin___str) -> 'CommandProto': ...
|
|
@classmethod
|
|
def keys(cls) -> typing___List[builtin___str]: ...
|
|
@classmethod
|
|
def values(cls) -> typing___List['CommandProto']: ...
|
|
@classmethod
|
|
def items(cls) -> typing___List[typing___Tuple[builtin___str, 'CommandProto']]: ...
|
|
STEP = typing___cast('CommandProto', 0)
|
|
RESET = typing___cast('CommandProto', 1)
|
|
QUIT = typing___cast('CommandProto', 2)
|
|
STEP = typing___cast('CommandProto', 0)
|
|
RESET = typing___cast('CommandProto', 1)
|
|
QUIT = typing___cast('CommandProto', 2)
|