# @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,
    Union as typing___Union,
)

from typing_extensions import (
    Literal as typing_extensions___Literal,
)


builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
if sys.version_info < (3,):
    builtin___buffer = buffer
    builtin___unicode = unicode


class SubmitSignedTransactionResponse(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    engine_result = ... # type: typing___Text
    engine_result_code = ... # type: builtin___int
    engine_result_message = ... # type: typing___Text
    transaction_blob = ... # type: typing___Text

    def __init__(self,
        *,
        engine_result : typing___Optional[typing___Text] = None,
        engine_result_code : typing___Optional[builtin___int] = None,
        engine_result_message : typing___Optional[typing___Text] = None,
        transaction_blob : typing___Optional[typing___Text] = None,
        ) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> SubmitSignedTransactionResponse: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> SubmitSignedTransactionResponse: ...
    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"engine_result",u"engine_result_code",u"engine_result_message",u"transaction_blob"]) -> None: ...
    else:
        def ClearField(self, field_name: typing_extensions___Literal[u"engine_result",b"engine_result",u"engine_result_code",b"engine_result_code",u"engine_result_message",b"engine_result_message",u"transaction_blob",b"transaction_blob"]) -> None: ...
