# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cosmos/upgrade/v1beta1/upgrade.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2

from cosmpy.protos.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2

DESCRIPTOR = _descriptor.FileDescriptor(
    name="cosmos/upgrade/v1beta1/upgrade.proto",
    package="cosmos.upgrade.v1beta1",
    syntax="proto3",
    serialized_options=b"Z,github.com/cosmos/cosmos-sdk/x/upgrade/types\330\341\036\000\310\341\036\000",
    create_key=_descriptor._internal_create_key,
    serialized_pb=b'\n$cosmos/upgrade/v1beta1/upgrade.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xc3\x01\n\x04Plan\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\x90\xdf\x1f\x01\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x0c\n\x04info\x18\x04 \x01(\t\x12U\n\x15upgraded_client_state\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:"upgraded_client_state":\x04\xe8\xa0\x1f\x01"u\n\x17SoftwareUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00:\x04\xe8\xa0\x1f\x01"I\n\x1d\x43\x61ncelSoftwareUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t:\x04\xe8\xa0\x1f\x01\x42\x36Z,github.com/cosmos/cosmos-sdk/x/upgrade/types\xd8\xe1\x1e\x00\xc8\xe1\x1e\x00\x62\x06proto3',
    dependencies=[
        google_dot_protobuf_dot_any__pb2.DESCRIPTOR,
        gogoproto_dot_gogo__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
    ],
)


_PLAN = _descriptor.Descriptor(
    name="Plan",
    full_name="cosmos.upgrade.v1beta1.Plan",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="cosmos.upgrade.v1beta1.Plan.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=b"".decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="time",
            full_name="cosmos.upgrade.v1beta1.Plan.time",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b"\220\337\037\001\310\336\037\000",
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="height",
            full_name="cosmos.upgrade.v1beta1.Plan.height",
            index=2,
            number=3,
            type=3,
            cpp_type=2,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="info",
            full_name="cosmos.upgrade.v1beta1.Plan.info",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=b"".decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="upgraded_client_state",
            full_name="cosmos.upgrade.v1beta1.Plan.upgraded_client_state",
            index=4,
            number=5,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b'\362\336\037\034yaml:"upgraded_client_state"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\350\240\037\001",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=147,
    serialized_end=342,
)


_SOFTWAREUPGRADEPROPOSAL = _descriptor.Descriptor(
    name="SoftwareUpgradeProposal",
    full_name="cosmos.upgrade.v1beta1.SoftwareUpgradeProposal",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="title",
            full_name="cosmos.upgrade.v1beta1.SoftwareUpgradeProposal.title",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=b"".decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="description",
            full_name="cosmos.upgrade.v1beta1.SoftwareUpgradeProposal.description",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=b"".decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="plan",
            full_name="cosmos.upgrade.v1beta1.SoftwareUpgradeProposal.plan",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b"\310\336\037\000",
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\350\240\037\001",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=344,
    serialized_end=461,
)


_CANCELSOFTWAREUPGRADEPROPOSAL = _descriptor.Descriptor(
    name="CancelSoftwareUpgradeProposal",
    full_name="cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="title",
            full_name="cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal.title",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=b"".decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="description",
            full_name="cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal.description",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=b"".decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\350\240\037\001",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=463,
    serialized_end=536,
)

_PLAN.fields_by_name[
    "time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_PLAN.fields_by_name[
    "upgraded_client_state"
].message_type = google_dot_protobuf_dot_any__pb2._ANY
_SOFTWAREUPGRADEPROPOSAL.fields_by_name["plan"].message_type = _PLAN
DESCRIPTOR.message_types_by_name["Plan"] = _PLAN
DESCRIPTOR.message_types_by_name["SoftwareUpgradeProposal"] = _SOFTWAREUPGRADEPROPOSAL
DESCRIPTOR.message_types_by_name[
    "CancelSoftwareUpgradeProposal"
] = _CANCELSOFTWAREUPGRADEPROPOSAL
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Plan = _reflection.GeneratedProtocolMessageType(
    "Plan",
    (_message.Message,),
    {
        "DESCRIPTOR": _PLAN,
        "__module__": "cosmos.upgrade.v1beta1.upgrade_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.upgrade.v1beta1.Plan)
    },
)
_sym_db.RegisterMessage(Plan)

SoftwareUpgradeProposal = _reflection.GeneratedProtocolMessageType(
    "SoftwareUpgradeProposal",
    (_message.Message,),
    {
        "DESCRIPTOR": _SOFTWAREUPGRADEPROPOSAL,
        "__module__": "cosmos.upgrade.v1beta1.upgrade_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.upgrade.v1beta1.SoftwareUpgradeProposal)
    },
)
_sym_db.RegisterMessage(SoftwareUpgradeProposal)

CancelSoftwareUpgradeProposal = _reflection.GeneratedProtocolMessageType(
    "CancelSoftwareUpgradeProposal",
    (_message.Message,),
    {
        "DESCRIPTOR": _CANCELSOFTWAREUPGRADEPROPOSAL,
        "__module__": "cosmos.upgrade.v1beta1.upgrade_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal)
    },
)
_sym_db.RegisterMessage(CancelSoftwareUpgradeProposal)


DESCRIPTOR._options = None
_PLAN.fields_by_name["time"]._options = None
_PLAN.fields_by_name["upgraded_client_state"]._options = None
_PLAN._options = None
_SOFTWAREUPGRADEPROPOSAL.fields_by_name["plan"]._options = None
_SOFTWAREUPGRADEPROPOSAL._options = None
_CANCELSOFTWAREUPGRADEPROPOSAL._options = None
# @@protoc_insertion_point(module_scope)
