# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cosmos/capability/v1beta1/capability.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 cosmpy.protos.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2

DESCRIPTOR = _descriptor.FileDescriptor(
    name="cosmos/capability/v1beta1/capability.proto",
    package="cosmos.capability.v1beta1",
    syntax="proto3",
    serialized_options=b"Z/github.com/cosmos/cosmos-sdk/x/capability/types",
    create_key=_descriptor._internal_create_key,
    serialized_pb=b'\n*cosmos/capability/v1beta1/capability.proto\x12\x19\x63osmos.capability.v1beta1\x1a\x14gogoproto/gogo.proto"3\n\nCapability\x12\x1f\n\x05index\x18\x01 \x01(\x04\x42\x10\xf2\xde\x1f\x0cyaml:"index":\x04\x98\xa0\x1f\x00"S\n\x05Owner\x12!\n\x06module\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"module"\x12\x1d\n\x04name\x18\x02 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:"name":\x08\x98\xa0\x1f\x00\x88\xa0\x1f\x00"J\n\x10\x43\x61pabilityOwners\x12\x36\n\x06owners\x18\x01 \x03(\x0b\x32 .cosmos.capability.v1beta1.OwnerB\x04\xc8\xde\x1f\x00\x42\x31Z/github.com/cosmos/cosmos-sdk/x/capability/typesb\x06proto3',
    dependencies=[
        gogoproto_dot_gogo__pb2.DESCRIPTOR,
    ],
)


_CAPABILITY = _descriptor.Descriptor(
    name="Capability",
    full_name="cosmos.capability.v1beta1.Capability",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="index",
            full_name="cosmos.capability.v1beta1.Capability.index",
            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\014yaml:"index"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\230\240\037\000",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=95,
    serialized_end=146,
)


_OWNER = _descriptor.Descriptor(
    name="Owner",
    full_name="cosmos.capability.v1beta1.Owner",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="module",
            full_name="cosmos.capability.v1beta1.Owner.module",
            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'\362\336\037\ryaml:"module"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="name",
            full_name="cosmos.capability.v1beta1.Owner.name",
            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'\362\336\037\013yaml:"name"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\230\240\037\000\210\240\037\000",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=148,
    serialized_end=231,
)


_CAPABILITYOWNERS = _descriptor.Descriptor(
    name="CapabilityOwners",
    full_name="cosmos.capability.v1beta1.CapabilityOwners",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="owners",
            full_name="cosmos.capability.v1beta1.CapabilityOwners.owners",
            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",
            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=233,
    serialized_end=307,
)

_CAPABILITYOWNERS.fields_by_name["owners"].message_type = _OWNER
DESCRIPTOR.message_types_by_name["Capability"] = _CAPABILITY
DESCRIPTOR.message_types_by_name["Owner"] = _OWNER
DESCRIPTOR.message_types_by_name["CapabilityOwners"] = _CAPABILITYOWNERS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Capability = _reflection.GeneratedProtocolMessageType(
    "Capability",
    (_message.Message,),
    {
        "DESCRIPTOR": _CAPABILITY,
        "__module__": "cosmos.capability.v1beta1.capability_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.capability.v1beta1.Capability)
    },
)
_sym_db.RegisterMessage(Capability)

Owner = _reflection.GeneratedProtocolMessageType(
    "Owner",
    (_message.Message,),
    {
        "DESCRIPTOR": _OWNER,
        "__module__": "cosmos.capability.v1beta1.capability_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.capability.v1beta1.Owner)
    },
)
_sym_db.RegisterMessage(Owner)

CapabilityOwners = _reflection.GeneratedProtocolMessageType(
    "CapabilityOwners",
    (_message.Message,),
    {
        "DESCRIPTOR": _CAPABILITYOWNERS,
        "__module__": "cosmos.capability.v1beta1.capability_pb2"
        # @@protoc_insertion_point(class_scope:cosmos.capability.v1beta1.CapabilityOwners)
    },
)
_sym_db.RegisterMessage(CapabilityOwners)


DESCRIPTOR._options = None
_CAPABILITY.fields_by_name["index"]._options = None
_CAPABILITY._options = None
_OWNER.fields_by_name["module"]._options = None
_OWNER.fields_by_name["name"]._options = None
_OWNER._options = None
_CAPABILITYOWNERS.fields_by_name["owners"]._options = None
# @@protoc_insertion_point(module_scope)
