# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cosmos/gov/v1beta1/gov.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
from google.protobuf.internal import enum_type_wrapper

# @@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 duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2

from cosmpy.protos.cosmos.base.v1beta1 import (
    coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2,
)
from cosmpy.protos.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2
from cosmpy.protos.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2

DESCRIPTOR = _descriptor.FileDescriptor(
    name="cosmos/gov/v1beta1/gov.proto",
    package="cosmos.gov.v1beta1",
    syntax="proto3",
    serialized_options=b"Z(github.com/cosmos/cosmos-sdk/x/gov/types\330\341\036\000\200\342\036\000\310\341\036\000",
    create_key=_descriptor._internal_create_key,
    serialized_pb=b'\n\x1c\x63osmos/gov/v1beta1/gov.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto"C\n\x0cTextProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t:\x0f\xd2\xb4-\x07\x43ontent\xe8\xa0\x1f\x01"\xb0\x01\n\x07\x44\x65posit\x12+\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x16\xf2\xde\x1f\x12yaml:"proposal_id"\x12\x11\n\tdepositor\x18\x02 \x01(\t\x12[\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xfc\x05\n\x08Proposal\x12(\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x13\xea\xde\x1f\x02id\xf2\xde\x1f\tyaml:"id"\x12\x32\n\x07\x63ontent\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x0b\xca\xb4-\x07\x43ontent\x12N\n\x06status\x18\x03 \x01(\x0e\x32".cosmos.gov.v1beta1.ProposalStatusB\x1a\xf2\xde\x1f\x16yaml:"proposal_status"\x12^\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:"final_tally_result"\x12O\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x1e\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:"submit_time"\x12Y\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB#\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xf2\xde\x1f\x17yaml:"deposit_end_time"\x12z\n\rtotal_deposit\x18\x07 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBH\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xf2\xde\x1f\x14yaml:"total_deposit"\x12[\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB$\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xf2\xde\x1f\x18yaml:"voting_start_time"\x12W\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB"\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:"voting_end_time":\x04\xe8\xa0\x1f\x01"\xaa\x02\n\x0bTallyResult\x12;\n\x03yes\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12?\n\x07\x61\x62stain\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12:\n\x02no\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12[\n\x0cno_with_veto\x18\x04 \x01(\tBE\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:"no_with_veto":\x04\xe8\xa0\x1f\x01"|\n\x04Vote\x12+\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x16\xf2\xde\x1f\x12yaml:"proposal_id"\x12\r\n\x05voter\x18\x02 \x01(\t\x12.\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOption:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x00"\x9f\x02\n\rDepositParams\x12\x8f\x01\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB_\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xf2\xde\x1f\x12yaml:"min_deposit"\xea\xde\x1f\x15min_deposit,omitempty\x12|\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationBE\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xea\xde\x1f\x1cmax_deposit_period,omitempty\xf2\xde\x1f\x19yaml:"max_deposit_period""}\n\x0cVotingParams\x12m\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB;\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xea\xde\x1f\x17voting_period,omitempty\xf2\xde\x1f\x14yaml:"voting_period""\xb8\x02\n\x0bTallyParams\x12R\n\x06quorum\x18\x01 \x01(\x0c\x42\x42\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xea\xde\x1f\x10quorum,omitempty\x12X\n\tthreshold\x18\x02 \x01(\x0c\x42\x45\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xea\xde\x1f\x13threshold,omitempty\x12{\n\x0eveto_threshold\x18\x03 \x01(\x0c\x42\x63\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xea\xde\x1f\x18veto_threshold,omitempty\xf2\xde\x1f\x15yaml:"veto_threshold"*\xe6\x01\n\nVoteOption\x12,\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bOptionEmpty\x12"\n\x0fVOTE_OPTION_YES\x10\x01\x1a\r\x8a\x9d \tOptionYes\x12*\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x1a\x11\x8a\x9d \rOptionAbstain\x12 \n\x0eVOTE_OPTION_NO\x10\x03\x1a\x0c\x8a\x9d \x08OptionNo\x12\x32\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x14\x8a\x9d \x10OptionNoWithVeto\x1a\x04\x88\xa3\x1e\x00*\xcc\x02\n\x0eProposalStatus\x12.\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x1a\r\x8a\x9d \tStatusNil\x12;\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x1a\x17\x8a\x9d \x13StatusDepositPeriod\x12\x39\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x1a\x16\x8a\x9d \x12StatusVotingPeriod\x12,\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x1a\x10\x8a\x9d \x0cStatusPassed\x12\x30\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x1a\x12\x8a\x9d \x0eStatusRejected\x12,\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x1a\x10\x8a\x9d \x0cStatusFailed\x1a\x04\x88\xa3\x1e\x00\x42\x36Z(github.com/cosmos/cosmos-sdk/x/gov/types\xd8\xe1\x1e\x00\x80\xe2\x1e\x00\xc8\xe1\x1e\x00\x62\x06proto3',
    dependencies=[
        cosmos_dot_base_dot_v1beta1_dot_coin__pb2.DESCRIPTOR,
        gogoproto_dot_gogo__pb2.DESCRIPTOR,
        cosmos__proto_dot_cosmos__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_any__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,
    ],
)

_VOTEOPTION = _descriptor.EnumDescriptor(
    name="VoteOption",
    full_name="cosmos.gov.v1beta1.VoteOption",
    filename=None,
    file=DESCRIPTOR,
    create_key=_descriptor._internal_create_key,
    values=[
        _descriptor.EnumValueDescriptor(
            name="VOTE_OPTION_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=b"\212\235 \013OptionEmpty",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.EnumValueDescriptor(
            name="VOTE_OPTION_YES",
            index=1,
            number=1,
            serialized_options=b"\212\235 \tOptionYes",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.EnumValueDescriptor(
            name="VOTE_OPTION_ABSTAIN",
            index=2,
            number=2,
            serialized_options=b"\212\235 \rOptionAbstain",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.EnumValueDescriptor(
            name="VOTE_OPTION_NO",
            index=3,
            number=3,
            serialized_options=b"\212\235 \010OptionNo",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.EnumValueDescriptor(
            name="VOTE_OPTION_NO_WITH_VETO",
            index=4,
            number=4,
            serialized_options=b"\212\235 \020OptionNoWithVeto",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    containing_type=None,
    serialized_options=b"\210\243\036\000",
    serialized_start=2400,
    serialized_end=2630,
)
_sym_db.RegisterEnumDescriptor(_VOTEOPTION)

VoteOption = enum_type_wrapper.EnumTypeWrapper(_VOTEOPTION)
_PROPOSALSTATUS = _descriptor.EnumDescriptor(
    name="ProposalStatus",
    full_name="cosmos.gov.v1beta1.ProposalStatus",
    filename=None,
    file=DESCRIPTOR,
    create_key=_descriptor._internal_create_key,
    values=[
        _descriptor.EnumValueDescriptor(
            name="PROPOSAL_STATUS_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=b"\212\235 \tStatusNil",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.EnumValueDescriptor(
            name="PROPOSAL_STATUS_DEPOSIT_PERIOD",
            index=1,
            number=1,
            serialized_options=b"\212\235 \023StatusDepositPeriod",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.EnumValueDescriptor(
            name="PROPOSAL_STATUS_VOTING_PERIOD",
            index=2,
            number=2,
            serialized_options=b"\212\235 \022StatusVotingPeriod",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.EnumValueDescriptor(
            name="PROPOSAL_STATUS_PASSED",
            index=3,
            number=3,
            serialized_options=b"\212\235 \014StatusPassed",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.EnumValueDescriptor(
            name="PROPOSAL_STATUS_REJECTED",
            index=4,
            number=4,
            serialized_options=b"\212\235 \016StatusRejected",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.EnumValueDescriptor(
            name="PROPOSAL_STATUS_FAILED",
            index=5,
            number=5,
            serialized_options=b"\212\235 \014StatusFailed",
            type=None,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    containing_type=None,
    serialized_options=b"\210\243\036\000",
    serialized_start=2633,
    serialized_end=2965,
)
_sym_db.RegisterEnumDescriptor(_PROPOSALSTATUS)

ProposalStatus = enum_type_wrapper.EnumTypeWrapper(_PROPOSALSTATUS)
VOTE_OPTION_UNSPECIFIED = 0
VOTE_OPTION_YES = 1
VOTE_OPTION_ABSTAIN = 2
VOTE_OPTION_NO = 3
VOTE_OPTION_NO_WITH_VETO = 4
PROPOSAL_STATUS_UNSPECIFIED = 0
PROPOSAL_STATUS_DEPOSIT_PERIOD = 1
PROPOSAL_STATUS_VOTING_PERIOD = 2
PROPOSAL_STATUS_PASSED = 3
PROPOSAL_STATUS_REJECTED = 4
PROPOSAL_STATUS_FAILED = 5


_TEXTPROPOSAL = _descriptor.Descriptor(
    name="TextProposal",
    full_name="cosmos.gov.v1beta1.TextProposal",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="title",
            full_name="cosmos.gov.v1beta1.TextProposal.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.gov.v1beta1.TextProposal.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"\322\264-\007Content\350\240\037\001",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=225,
    serialized_end=292,
)


_DEPOSIT = _descriptor.Descriptor(
    name="Deposit",
    full_name="cosmos.gov.v1beta1.Deposit",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="proposal_id",
            full_name="cosmos.gov.v1beta1.Deposit.proposal_id",
            index=0,
            number=1,
            type=4,
            cpp_type=4,
            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=b'\362\336\037\022yaml:"proposal_id"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="depositor",
            full_name="cosmos.gov.v1beta1.Deposit.depositor",
            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="amount",
            full_name="cosmos.gov.v1beta1.Deposit.amount",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins",
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\210\240\037\000\350\240\037\000",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=295,
    serialized_end=471,
)


_PROPOSAL = _descriptor.Descriptor(
    name="Proposal",
    full_name="cosmos.gov.v1beta1.Proposal",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="proposal_id",
            full_name="cosmos.gov.v1beta1.Proposal.proposal_id",
            index=0,
            number=1,
            type=4,
            cpp_type=4,
            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=b'\352\336\037\002id\362\336\037\tyaml:"id"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="content",
            full_name="cosmos.gov.v1beta1.Proposal.content",
            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"\312\264-\007Content",
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="status",
            full_name="cosmos.gov.v1beta1.Proposal.status",
            index=2,
            number=3,
            type=14,
            cpp_type=8,
            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=b'\362\336\037\026yaml:"proposal_status"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="final_tally_result",
            full_name="cosmos.gov.v1beta1.Proposal.final_tally_result",
            index=3,
            number=4,
            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\362\336\037\031yaml:"final_tally_result"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="submit_time",
            full_name="cosmos.gov.v1beta1.Proposal.submit_time",
            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'\220\337\037\001\310\336\037\000\362\336\037\022yaml:"submit_time"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="deposit_end_time",
            full_name="cosmos.gov.v1beta1.Proposal.deposit_end_time",
            index=5,
            number=6,
            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\362\336\037\027yaml:"deposit_end_time"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="total_deposit",
            full_name="cosmos.gov.v1beta1.Proposal.total_deposit",
            index=6,
            number=7,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\362\336\037\024yaml:"total_deposit"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="voting_start_time",
            full_name="cosmos.gov.v1beta1.Proposal.voting_start_time",
            index=7,
            number=8,
            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\362\336\037\030yaml:"voting_start_time"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="voting_end_time",
            full_name="cosmos.gov.v1beta1.Proposal.voting_end_time",
            index=8,
            number=9,
            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\362\336\037\026yaml:"voting_end_time"',
            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=474,
    serialized_end=1238,
)


_TALLYRESULT = _descriptor.Descriptor(
    name="TallyResult",
    full_name="cosmos.gov.v1beta1.TallyResult",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="yes",
            full_name="cosmos.gov.v1beta1.TallyResult.yes",
            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=b"\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000",
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="abstain",
            full_name="cosmos.gov.v1beta1.TallyResult.abstain",
            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=b"\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000",
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="no",
            full_name="cosmos.gov.v1beta1.TallyResult.no",
            index=2,
            number=3,
            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=b"\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000",
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="no_with_veto",
            full_name="cosmos.gov.v1beta1.TallyResult.no_with_veto",
            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=b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000\362\336\037\023yaml:"no_with_veto"',
            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=1241,
    serialized_end=1539,
)


_VOTE = _descriptor.Descriptor(
    name="Vote",
    full_name="cosmos.gov.v1beta1.Vote",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="proposal_id",
            full_name="cosmos.gov.v1beta1.Vote.proposal_id",
            index=0,
            number=1,
            type=4,
            cpp_type=4,
            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=b'\362\336\037\022yaml:"proposal_id"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="voter",
            full_name="cosmos.gov.v1beta1.Vote.voter",
            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="option",
            full_name="cosmos.gov.v1beta1.Vote.option",
            index=2,
            number=3,
            type=14,
            cpp_type=8,
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\230\240\037\000\350\240\037\000",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1541,
    serialized_end=1665,
)


_DEPOSITPARAMS = _descriptor.Descriptor(
    name="DepositParams",
    full_name="cosmos.gov.v1beta1.DepositParams",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="min_deposit",
            full_name="cosmos.gov.v1beta1.DepositParams.min_deposit",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\362\336\037\022yaml:"min_deposit"\352\336\037\025min_deposit,omitempty',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="max_deposit_period",
            full_name="cosmos.gov.v1beta1.DepositParams.max_deposit_period",
            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'\310\336\037\000\230\337\037\001\352\336\037\034max_deposit_period,omitempty\362\336\037\031yaml:"max_deposit_period"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1668,
    serialized_end=1955,
)


_VOTINGPARAMS = _descriptor.Descriptor(
    name="VotingParams",
    full_name="cosmos.gov.v1beta1.VotingParams",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="voting_period",
            full_name="cosmos.gov.v1beta1.VotingParams.voting_period",
            index=0,
            number=1,
            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\230\337\037\001\352\336\037\027voting_period,omitempty\362\336\037\024yaml:"voting_period"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1957,
    serialized_end=2082,
)


_TALLYPARAMS = _descriptor.Descriptor(
    name="TallyParams",
    full_name="cosmos.gov.v1beta1.TallyParams",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="quorum",
            full_name="cosmos.gov.v1beta1.TallyParams.quorum",
            index=0,
            number=1,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=b"",
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b"\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\352\336\037\020quorum,omitempty",
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="threshold",
            full_name="cosmos.gov.v1beta1.TallyParams.threshold",
            index=1,
            number=2,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=b"",
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b"\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\352\336\037\023threshold,omitempty",
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="veto_threshold",
            full_name="cosmos.gov.v1beta1.TallyParams.veto_threshold",
            index=2,
            number=3,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=b"",
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\352\336\037\030veto_threshold,omitempty\362\336\037\025yaml:"veto_threshold"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2085,
    serialized_end=2397,
)

_DEPOSIT.fields_by_name[
    "amount"
].message_type = cosmos_dot_base_dot_v1beta1_dot_coin__pb2._COIN
_PROPOSAL.fields_by_name["content"].message_type = google_dot_protobuf_dot_any__pb2._ANY
_PROPOSAL.fields_by_name["status"].enum_type = _PROPOSALSTATUS
_PROPOSAL.fields_by_name["final_tally_result"].message_type = _TALLYRESULT
_PROPOSAL.fields_by_name[
    "submit_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_PROPOSAL.fields_by_name[
    "deposit_end_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_PROPOSAL.fields_by_name[
    "total_deposit"
].message_type = cosmos_dot_base_dot_v1beta1_dot_coin__pb2._COIN
_PROPOSAL.fields_by_name[
    "voting_start_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_PROPOSAL.fields_by_name[
    "voting_end_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_VOTE.fields_by_name["option"].enum_type = _VOTEOPTION
_DEPOSITPARAMS.fields_by_name[
    "min_deposit"
].message_type = cosmos_dot_base_dot_v1beta1_dot_coin__pb2._COIN
_DEPOSITPARAMS.fields_by_name[
    "max_deposit_period"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_VOTINGPARAMS.fields_by_name[
    "voting_period"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
DESCRIPTOR.message_types_by_name["TextProposal"] = _TEXTPROPOSAL
DESCRIPTOR.message_types_by_name["Deposit"] = _DEPOSIT
DESCRIPTOR.message_types_by_name["Proposal"] = _PROPOSAL
DESCRIPTOR.message_types_by_name["TallyResult"] = _TALLYRESULT
DESCRIPTOR.message_types_by_name["Vote"] = _VOTE
DESCRIPTOR.message_types_by_name["DepositParams"] = _DEPOSITPARAMS
DESCRIPTOR.message_types_by_name["VotingParams"] = _VOTINGPARAMS
DESCRIPTOR.message_types_by_name["TallyParams"] = _TALLYPARAMS
DESCRIPTOR.enum_types_by_name["VoteOption"] = _VOTEOPTION
DESCRIPTOR.enum_types_by_name["ProposalStatus"] = _PROPOSALSTATUS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

TextProposal = _reflection.GeneratedProtocolMessageType(
    "TextProposal",
    (_message.Message,),
    {
        "DESCRIPTOR": _TEXTPROPOSAL,
        "__module__": "cosmos.gov.v1beta1.gov_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.gov.v1beta1.TextProposal)
    },
)
_sym_db.RegisterMessage(TextProposal)

Deposit = _reflection.GeneratedProtocolMessageType(
    "Deposit",
    (_message.Message,),
    {
        "DESCRIPTOR": _DEPOSIT,
        "__module__": "cosmos.gov.v1beta1.gov_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.gov.v1beta1.Deposit)
    },
)
_sym_db.RegisterMessage(Deposit)

Proposal = _reflection.GeneratedProtocolMessageType(
    "Proposal",
    (_message.Message,),
    {
        "DESCRIPTOR": _PROPOSAL,
        "__module__": "cosmos.gov.v1beta1.gov_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.gov.v1beta1.Proposal)
    },
)
_sym_db.RegisterMessage(Proposal)

TallyResult = _reflection.GeneratedProtocolMessageType(
    "TallyResult",
    (_message.Message,),
    {
        "DESCRIPTOR": _TALLYRESULT,
        "__module__": "cosmos.gov.v1beta1.gov_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.gov.v1beta1.TallyResult)
    },
)
_sym_db.RegisterMessage(TallyResult)

Vote = _reflection.GeneratedProtocolMessageType(
    "Vote",
    (_message.Message,),
    {
        "DESCRIPTOR": _VOTE,
        "__module__": "cosmos.gov.v1beta1.gov_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.gov.v1beta1.Vote)
    },
)
_sym_db.RegisterMessage(Vote)

DepositParams = _reflection.GeneratedProtocolMessageType(
    "DepositParams",
    (_message.Message,),
    {
        "DESCRIPTOR": _DEPOSITPARAMS,
        "__module__": "cosmos.gov.v1beta1.gov_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.gov.v1beta1.DepositParams)
    },
)
_sym_db.RegisterMessage(DepositParams)

VotingParams = _reflection.GeneratedProtocolMessageType(
    "VotingParams",
    (_message.Message,),
    {
        "DESCRIPTOR": _VOTINGPARAMS,
        "__module__": "cosmos.gov.v1beta1.gov_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.gov.v1beta1.VotingParams)
    },
)
_sym_db.RegisterMessage(VotingParams)

TallyParams = _reflection.GeneratedProtocolMessageType(
    "TallyParams",
    (_message.Message,),
    {
        "DESCRIPTOR": _TALLYPARAMS,
        "__module__": "cosmos.gov.v1beta1.gov_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.gov.v1beta1.TallyParams)
    },
)
_sym_db.RegisterMessage(TallyParams)


DESCRIPTOR._options = None
_VOTEOPTION._options = None
_VOTEOPTION.values_by_name["VOTE_OPTION_UNSPECIFIED"]._options = None
_VOTEOPTION.values_by_name["VOTE_OPTION_YES"]._options = None
_VOTEOPTION.values_by_name["VOTE_OPTION_ABSTAIN"]._options = None
_VOTEOPTION.values_by_name["VOTE_OPTION_NO"]._options = None
_VOTEOPTION.values_by_name["VOTE_OPTION_NO_WITH_VETO"]._options = None
_PROPOSALSTATUS._options = None
_PROPOSALSTATUS.values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._options = None
_PROPOSALSTATUS.values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._options = None
_PROPOSALSTATUS.values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._options = None
_PROPOSALSTATUS.values_by_name["PROPOSAL_STATUS_PASSED"]._options = None
_PROPOSALSTATUS.values_by_name["PROPOSAL_STATUS_REJECTED"]._options = None
_PROPOSALSTATUS.values_by_name["PROPOSAL_STATUS_FAILED"]._options = None
_TEXTPROPOSAL._options = None
_DEPOSIT.fields_by_name["proposal_id"]._options = None
_DEPOSIT.fields_by_name["amount"]._options = None
_DEPOSIT._options = None
_PROPOSAL.fields_by_name["proposal_id"]._options = None
_PROPOSAL.fields_by_name["content"]._options = None
_PROPOSAL.fields_by_name["status"]._options = None
_PROPOSAL.fields_by_name["final_tally_result"]._options = None
_PROPOSAL.fields_by_name["submit_time"]._options = None
_PROPOSAL.fields_by_name["deposit_end_time"]._options = None
_PROPOSAL.fields_by_name["total_deposit"]._options = None
_PROPOSAL.fields_by_name["voting_start_time"]._options = None
_PROPOSAL.fields_by_name["voting_end_time"]._options = None
_PROPOSAL._options = None
_TALLYRESULT.fields_by_name["yes"]._options = None
_TALLYRESULT.fields_by_name["abstain"]._options = None
_TALLYRESULT.fields_by_name["no"]._options = None
_TALLYRESULT.fields_by_name["no_with_veto"]._options = None
_TALLYRESULT._options = None
_VOTE.fields_by_name["proposal_id"]._options = None
_VOTE._options = None
_DEPOSITPARAMS.fields_by_name["min_deposit"]._options = None
_DEPOSITPARAMS.fields_by_name["max_deposit_period"]._options = None
_VOTINGPARAMS.fields_by_name["voting_period"]._options = None
_TALLYPARAMS.fields_by_name["quorum"]._options = None
_TALLYPARAMS.fields_by_name["threshold"]._options = None
_TALLYPARAMS.fields_by_name["veto_threshold"]._options = None
# @@protoc_insertion_point(module_scope)
