# @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, ) class HeaderProto(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... status = ... # type: int message = ... # type: typing___Text def __init__(self, *, status : typing___Optional[int] = None, message : typing___Optional[typing___Text] = None, ) -> None: ... @classmethod def FromString(cls, s: bytes) -> HeaderProto: ... 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"message",u"status"]) -> None: ... else: def ClearField(self, field_name: typing_extensions___Literal[u"message",b"message",u"status",b"status"]) -> None: ...