"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
Since: cosmos-sdk 0.46"""
import builtins
import cosmos.upgrade.v1beta1.upgrade_pb2
import google.protobuf.descriptor
import google.protobuf.message
import sys

if sys.version_info >= (3, 8):
    import typing as typing_extensions
else:
    import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing_extensions.final
class MsgSoftwareUpgrade(google.protobuf.message.Message):
    """MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type.

    Since: cosmos-sdk 0.46
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    AUTHORITY_FIELD_NUMBER: builtins.int
    PLAN_FIELD_NUMBER: builtins.int
    authority: builtins.str
    """authority is the address that controls the module (defaults to x/gov unless overwritten)."""
    @property
    def plan(self) -> cosmos.upgrade.v1beta1.upgrade_pb2.Plan:
        """plan is the upgrade plan."""
    def __init__(
        self,
        *,
        authority: builtins.str = ...,
        plan: cosmos.upgrade.v1beta1.upgrade_pb2.Plan | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["plan", b"plan"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority", "plan", b"plan"]) -> None: ...

global___MsgSoftwareUpgrade = MsgSoftwareUpgrade

@typing_extensions.final
class MsgSoftwareUpgradeResponse(google.protobuf.message.Message):
    """MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type.

    Since: cosmos-sdk 0.46
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    def __init__(
        self,
    ) -> None: ...

global___MsgSoftwareUpgradeResponse = MsgSoftwareUpgradeResponse

@typing_extensions.final
class MsgCancelUpgrade(google.protobuf.message.Message):
    """MsgCancelUpgrade is the Msg/CancelUpgrade request type.

    Since: cosmos-sdk 0.46
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    AUTHORITY_FIELD_NUMBER: builtins.int
    authority: builtins.str
    """authority is the address that controls the module (defaults to x/gov unless overwritten)."""
    def __init__(
        self,
        *,
        authority: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority"]) -> None: ...

global___MsgCancelUpgrade = MsgCancelUpgrade

@typing_extensions.final
class MsgCancelUpgradeResponse(google.protobuf.message.Message):
    """MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type.

    Since: cosmos-sdk 0.46
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    def __init__(
        self,
    ) -> None: ...

global___MsgCancelUpgradeResponse = MsgCancelUpgradeResponse
