"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import DeployServiceCommon_pb2
import RhoTypes_pb2
import ServiceError_pb2
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import typing
import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

class EventInfoResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    RESULT_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def result(self) -> DeployServiceCommon_pb2.BlockEventInfo: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        result: typing.Optional[DeployServiceCommon_pb2.BlockEventInfo] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","result",b"result"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","result",b"result"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","result"]]: ...
global___EventInfoResponse = EventInfoResponse

class ExploratoryDeployResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    RESULT_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def result(self) -> DeployServiceCommon_pb2.DataWithBlockInfo: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        result: typing.Optional[DeployServiceCommon_pb2.DataWithBlockInfo] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","result",b"result"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","result",b"result"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","result"]]: ...
global___ExploratoryDeployResponse = ExploratoryDeployResponse

class DeployResponse(google.protobuf.message.Message):
    """doDeploy"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    RESULT_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    result: typing.Text
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        result: typing.Text = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","result",b"result"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","result",b"result"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","result"]]: ...
global___DeployResponse = DeployResponse

class BlockResponse(google.protobuf.message.Message):
    """getBlock"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    BLOCKINFO_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def blockInfo(self) -> DeployServiceCommon_pb2.BlockInfo: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        blockInfo: typing.Optional[DeployServiceCommon_pb2.BlockInfo] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["blockInfo",b"blockInfo","error",b"error","message",b"message"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["blockInfo",b"blockInfo","error",b"error","message",b"message"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","blockInfo"]]: ...
global___BlockResponse = BlockResponse

class VisualizeBlocksResponse(google.protobuf.message.Message):
    """visualizeDag"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    CONTENT_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    content: typing.Text
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        content: typing.Text = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["content",b"content","error",b"error","message",b"message"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["content",b"content","error",b"error","message",b"message"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","content"]]: ...
global___VisualizeBlocksResponse = VisualizeBlocksResponse

class MachineVerifyResponse(google.protobuf.message.Message):
    """machineVerifiableDag"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    CONTENT_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    content: typing.Text
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        content: typing.Text = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["content",b"content","error",b"error","message",b"message"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["content",b"content","error",b"error","message",b"message"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","content"]]: ...
global___MachineVerifyResponse = MachineVerifyResponse

class BlockInfoResponse(google.protobuf.message.Message):
    """showMainChain & getBlocks"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    BLOCKINFO_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def blockInfo(self) -> DeployServiceCommon_pb2.LightBlockInfo: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        blockInfo: typing.Optional[DeployServiceCommon_pb2.LightBlockInfo] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["blockInfo",b"blockInfo","error",b"error","message",b"message"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["blockInfo",b"blockInfo","error",b"error","message",b"message"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","blockInfo"]]: ...
global___BlockInfoResponse = BlockInfoResponse

class ListeningNameDataResponse(google.protobuf.message.Message):
    """listenForDataAtName"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    PAYLOAD_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def payload(self) -> global___ListeningNameDataPayload: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        payload: typing.Optional[global___ListeningNameDataPayload] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","payload",b"payload"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","payload",b"payload"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","payload"]]: ...
global___ListeningNameDataResponse = ListeningNameDataResponse

class ListeningNameDataPayload(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    BLOCKINFO_FIELD_NUMBER: builtins.int
    LENGTH_FIELD_NUMBER: builtins.int
    @property
    def blockInfo(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[DeployServiceCommon_pb2.DataWithBlockInfo]: ...
    length: builtins.int
    def __init__(self,
        *,
        blockInfo: typing.Optional[typing.Iterable[DeployServiceCommon_pb2.DataWithBlockInfo]] = ...,
        length: builtins.int = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["blockInfo",b"blockInfo","length",b"length"]) -> None: ...
global___ListeningNameDataPayload = ListeningNameDataPayload

class RhoDataResponse(google.protobuf.message.Message):
    """listenForDataAtPar"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    PAYLOAD_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def payload(self) -> global___RhoDataPayload: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        payload: typing.Optional[global___RhoDataPayload] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","payload",b"payload"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","payload",b"payload"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","payload"]]: ...
global___RhoDataResponse = RhoDataResponse

class RhoDataPayload(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    PAR_FIELD_NUMBER: builtins.int
    BLOCK_FIELD_NUMBER: builtins.int
    @property
    def par(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[RhoTypes_pb2.Par]: ...
    @property
    def block(self) -> DeployServiceCommon_pb2.LightBlockInfo: ...
    def __init__(self,
        *,
        par: typing.Optional[typing.Iterable[RhoTypes_pb2.Par]] = ...,
        block: typing.Optional[DeployServiceCommon_pb2.LightBlockInfo] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["block",b"block"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["block",b"block","par",b"par"]) -> None: ...
global___RhoDataPayload = RhoDataPayload

class ContinuationAtNameResponse(google.protobuf.message.Message):
    """listenForContinuationAtName"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    PAYLOAD_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def payload(self) -> global___ContinuationAtNamePayload: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        payload: typing.Optional[global___ContinuationAtNamePayload] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","payload",b"payload"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","payload",b"payload"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","payload"]]: ...
global___ContinuationAtNameResponse = ContinuationAtNameResponse

class ContinuationAtNamePayload(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    BLOCKRESULTS_FIELD_NUMBER: builtins.int
    LENGTH_FIELD_NUMBER: builtins.int
    @property
    def blockResults(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[DeployServiceCommon_pb2.ContinuationsWithBlockInfo]: ...
    length: builtins.int
    def __init__(self,
        *,
        blockResults: typing.Optional[typing.Iterable[DeployServiceCommon_pb2.ContinuationsWithBlockInfo]] = ...,
        length: builtins.int = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["blockResults",b"blockResults","length",b"length"]) -> None: ...
global___ContinuationAtNamePayload = ContinuationAtNamePayload

class FindDeployResponse(google.protobuf.message.Message):
    """findDeploy"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    BLOCKINFO_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def blockInfo(self) -> DeployServiceCommon_pb2.LightBlockInfo: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        blockInfo: typing.Optional[DeployServiceCommon_pb2.LightBlockInfo] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["blockInfo",b"blockInfo","error",b"error","message",b"message"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["blockInfo",b"blockInfo","error",b"error","message",b"message"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","blockInfo"]]: ...
global___FindDeployResponse = FindDeployResponse

class PrivateNamePreviewResponse(google.protobuf.message.Message):
    """previewPrivateNames"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    PAYLOAD_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def payload(self) -> global___PrivateNamePreviewPayload: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        payload: typing.Optional[global___PrivateNamePreviewPayload] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","payload",b"payload"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","payload",b"payload"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","payload"]]: ...
global___PrivateNamePreviewResponse = PrivateNamePreviewResponse

class PrivateNamePreviewPayload(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    IDS_FIELD_NUMBER: builtins.int
    @property
    def ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
        """a la GPrivate"""
        pass
    def __init__(self,
        *,
        ids: typing.Optional[typing.Iterable[builtins.bytes]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["ids",b"ids"]) -> None: ...
global___PrivateNamePreviewPayload = PrivateNamePreviewPayload

class LastFinalizedBlockResponse(google.protobuf.message.Message):
    """lastFinalizedBlock"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    BLOCKINFO_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def blockInfo(self) -> DeployServiceCommon_pb2.BlockInfo: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        blockInfo: typing.Optional[DeployServiceCommon_pb2.BlockInfo] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["blockInfo",b"blockInfo","error",b"error","message",b"message"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["blockInfo",b"blockInfo","error",b"error","message",b"message"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","blockInfo"]]: ...
global___LastFinalizedBlockResponse = LastFinalizedBlockResponse

class IsFinalizedResponse(google.protobuf.message.Message):
    """isFinalized"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    ISFINALIZED_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    isFinalized: builtins.bool
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        isFinalized: builtins.bool = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["error",b"error","isFinalized",b"isFinalized","message",b"message"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["error",b"error","isFinalized",b"isFinalized","message",b"message"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","isFinalized"]]: ...
global___IsFinalizedResponse = IsFinalizedResponse

class BondStatusResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    ISBONDED_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    isBonded: builtins.bool
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        isBonded: builtins.bool = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["error",b"error","isBonded",b"isBonded","message",b"message"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["error",b"error","isBonded",b"isBonded","message",b"message"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","isBonded"]]: ...
global___BondStatusResponse = BondStatusResponse

class StatusResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ERROR_FIELD_NUMBER: builtins.int
    STATUS_FIELD_NUMBER: builtins.int
    @property
    def error(self) -> ServiceError_pb2.ServiceError: ...
    @property
    def status(self) -> DeployServiceCommon_pb2.Status: ...
    def __init__(self,
        *,
        error: typing.Optional[ServiceError_pb2.ServiceError] = ...,
        status: typing.Optional[DeployServiceCommon_pb2.Status] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","status",b"status"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["error",b"error","message",b"message","status",b"status"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["message",b"message"]) -> typing.Optional[typing_extensions.Literal["error","status"]]: ...
global___StatusResponse = StatusResponse
