# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: ibc/core/connection/v1/query.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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from ibc.core.client.v1 import (
    client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2,
)
from ibc.core.connection.v1 import (
    connection_pb2 as ibc_dot_core_dot_connection_dot_v1_dot_connection__pb2,
)

from cosmpy.protos.cosmos.base.query.v1beta1 import (
    pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2,
)
from cosmpy.protos.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2

DESCRIPTOR = _descriptor.FileDescriptor(
    name="ibc/core/connection/v1/query.proto",
    package="ibc.core.connection.v1",
    syntax="proto3",
    serialized_options=b"Z;github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types",
    create_key=_descriptor._internal_create_key,
    serialized_pb=b'\n"ibc/core/connection/v1/query.proto\x12\x16ibc.core.connection.v1\x1a\x14gogoproto/gogo.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/connection/v1/connection.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto"/\n\x16QueryConnectionRequest\x12\x15\n\rconnection_id\x18\x01 \x01(\t"\x9b\x01\n\x17QueryConnectionResponse\x12\x39\n\nconnection\x18\x01 \x01(\x0b\x32%.ibc.core.connection.v1.ConnectionEnd\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00"U\n\x17QueryConnectionsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest"\xcc\x01\n\x18QueryConnectionsResponse\x12\x41\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32,.ibc.core.connection.v1.IdentifiedConnection\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00"2\n\x1dQueryClientConnectionsRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t"\x81\x01\n\x1eQueryClientConnectionsResponse\x12\x18\n\x10\x63onnection_paths\x18\x01 \x03(\t\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00"T\n!QueryConnectionClientStateRequest\x12/\n\rconnection_id\x18\x01 \x01(\tB\x18\xf2\xde\x1f\x14yaml:"connection_id""\xb7\x01\n"QueryConnectionClientStateResponse\x12J\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientState\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00"\x89\x01\n$QueryConnectionConsensusStateRequest\x12/\n\rconnection_id\x18\x01 \x01(\tB\x18\xf2\xde\x1f\x14yaml:"connection_id"\x12\x17\n\x0frevision_number\x18\x02 \x01(\x04\x12\x17\n\x0frevision_height\x18\x03 \x01(\x04"\xb0\x01\n%QueryConnectionConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x32\xa9\x08\n\x05Query\x12\xaf\x01\n\nConnection\x12..ibc.core.connection.v1.QueryConnectionRequest\x1a/.ibc.core.connection.v1.QueryConnectionResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/connection/v1beta1/connections/{connection_id}\x12\xa2\x01\n\x0b\x43onnections\x12/.ibc.core.connection.v1.QueryConnectionsRequest\x1a\x30.ibc.core.connection.v1.QueryConnectionsResponse"0\x82\xd3\xe4\x93\x02*\x12(/ibc/core/connection/v1beta1/connections\x12\xc7\x01\n\x11\x43lientConnections\x12\x35.ibc.core.connection.v1.QueryClientConnectionsRequest\x1a\x36.ibc.core.connection.v1.QueryClientConnectionsResponse"C\x82\xd3\xe4\x93\x02=\x12;/ibc/core/connection/v1beta1/client_connections/{client_id}\x12\xdd\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse"M\x82\xd3\xe4\x93\x02G\x12\x45/ibc/core/connection/v1beta1/connections/{connection_id}/client_state\x12\x9e\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/core/connection/v1beta1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}B=Z;github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/typesb\x06proto3',
    dependencies=[
        gogoproto_dot_gogo__pb2.DESCRIPTOR,
        cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2.DESCRIPTOR,
        ibc_dot_core_dot_client_dot_v1_dot_client__pb2.DESCRIPTOR,
        ibc_dot_core_dot_connection_dot_v1_dot_connection__pb2.DESCRIPTOR,
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_any__pb2.DESCRIPTOR,
    ],
)


_QUERYCONNECTIONREQUEST = _descriptor.Descriptor(
    name="QueryConnectionRequest",
    full_name="ibc.core.connection.v1.QueryConnectionRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="connection_id",
            full_name="ibc.core.connection.v1.QueryConnectionRequest.connection_id",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=259,
    serialized_end=306,
)


_QUERYCONNECTIONRESPONSE = _descriptor.Descriptor(
    name="QueryConnectionResponse",
    full_name="ibc.core.connection.v1.QueryConnectionResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="connection",
            full_name="ibc.core.connection.v1.QueryConnectionResponse.connection",
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="proof",
            full_name="ibc.core.connection.v1.QueryConnectionResponse.proof",
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="proof_height",
            full_name="ibc.core.connection.v1.QueryConnectionResponse.proof_height",
            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=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=309,
    serialized_end=464,
)


_QUERYCONNECTIONSREQUEST = _descriptor.Descriptor(
    name="QueryConnectionsRequest",
    full_name="ibc.core.connection.v1.QueryConnectionsRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="pagination",
            full_name="ibc.core.connection.v1.QueryConnectionsRequest.pagination",
            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=None,
            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=466,
    serialized_end=551,
)


_QUERYCONNECTIONSRESPONSE = _descriptor.Descriptor(
    name="QueryConnectionsResponse",
    full_name="ibc.core.connection.v1.QueryConnectionsResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="connections",
            full_name="ibc.core.connection.v1.QueryConnectionsResponse.connections",
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="pagination",
            full_name="ibc.core.connection.v1.QueryConnectionsResponse.pagination",
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="height",
            full_name="ibc.core.connection.v1.QueryConnectionsResponse.height",
            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=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=554,
    serialized_end=758,
)


_QUERYCLIENTCONNECTIONSREQUEST = _descriptor.Descriptor(
    name="QueryClientConnectionsRequest",
    full_name="ibc.core.connection.v1.QueryClientConnectionsRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="client_id",
            full_name="ibc.core.connection.v1.QueryClientConnectionsRequest.client_id",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=760,
    serialized_end=810,
)


_QUERYCLIENTCONNECTIONSRESPONSE = _descriptor.Descriptor(
    name="QueryClientConnectionsResponse",
    full_name="ibc.core.connection.v1.QueryClientConnectionsResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="connection_paths",
            full_name="ibc.core.connection.v1.QueryClientConnectionsResponse.connection_paths",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="proof",
            full_name="ibc.core.connection.v1.QueryClientConnectionsResponse.proof",
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="proof_height",
            full_name="ibc.core.connection.v1.QueryClientConnectionsResponse.proof_height",
            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=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=813,
    serialized_end=942,
)


_QUERYCONNECTIONCLIENTSTATEREQUEST = _descriptor.Descriptor(
    name="QueryConnectionClientStateRequest",
    full_name="ibc.core.connection.v1.QueryConnectionClientStateRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="connection_id",
            full_name="ibc.core.connection.v1.QueryConnectionClientStateRequest.connection_id",
            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\024yaml:"connection_id"',
            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=944,
    serialized_end=1028,
)


_QUERYCONNECTIONCLIENTSTATERESPONSE = _descriptor.Descriptor(
    name="QueryConnectionClientStateResponse",
    full_name="ibc.core.connection.v1.QueryConnectionClientStateResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="identified_client_state",
            full_name="ibc.core.connection.v1.QueryConnectionClientStateResponse.identified_client_state",
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="proof",
            full_name="ibc.core.connection.v1.QueryConnectionClientStateResponse.proof",
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="proof_height",
            full_name="ibc.core.connection.v1.QueryConnectionClientStateResponse.proof_height",
            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=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1031,
    serialized_end=1214,
)


_QUERYCONNECTIONCONSENSUSSTATEREQUEST = _descriptor.Descriptor(
    name="QueryConnectionConsensusStateRequest",
    full_name="ibc.core.connection.v1.QueryConnectionConsensusStateRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="connection_id",
            full_name="ibc.core.connection.v1.QueryConnectionConsensusStateRequest.connection_id",
            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\024yaml:"connection_id"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="revision_number",
            full_name="ibc.core.connection.v1.QueryConnectionConsensusStateRequest.revision_number",
            index=1,
            number=2,
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="revision_height",
            full_name="ibc.core.connection.v1.QueryConnectionConsensusStateRequest.revision_height",
            index=2,
            number=3,
            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=None,
            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=1217,
    serialized_end=1354,
)


_QUERYCONNECTIONCONSENSUSSTATERESPONSE = _descriptor.Descriptor(
    name="QueryConnectionConsensusStateResponse",
    full_name="ibc.core.connection.v1.QueryConnectionConsensusStateResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="consensus_state",
            full_name="ibc.core.connection.v1.QueryConnectionConsensusStateResponse.consensus_state",
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="client_id",
            full_name="ibc.core.connection.v1.QueryConnectionConsensusStateResponse.client_id",
            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="proof",
            full_name="ibc.core.connection.v1.QueryConnectionConsensusStateResponse.proof",
            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=None,
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="proof_height",
            full_name="ibc.core.connection.v1.QueryConnectionConsensusStateResponse.proof_height",
            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",
            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=1357,
    serialized_end=1533,
)

_QUERYCONNECTIONRESPONSE.fields_by_name[
    "connection"
].message_type = ibc_dot_core_dot_connection_dot_v1_dot_connection__pb2._CONNECTIONEND
_QUERYCONNECTIONRESPONSE.fields_by_name[
    "proof_height"
].message_type = ibc_dot_core_dot_client_dot_v1_dot_client__pb2._HEIGHT
_QUERYCONNECTIONSREQUEST.fields_by_name[
    "pagination"
].message_type = cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2._PAGEREQUEST
_QUERYCONNECTIONSRESPONSE.fields_by_name[
    "connections"
].message_type = (
    ibc_dot_core_dot_connection_dot_v1_dot_connection__pb2._IDENTIFIEDCONNECTION
)
_QUERYCONNECTIONSRESPONSE.fields_by_name[
    "pagination"
].message_type = cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2._PAGERESPONSE
_QUERYCONNECTIONSRESPONSE.fields_by_name[
    "height"
].message_type = ibc_dot_core_dot_client_dot_v1_dot_client__pb2._HEIGHT
_QUERYCLIENTCONNECTIONSRESPONSE.fields_by_name[
    "proof_height"
].message_type = ibc_dot_core_dot_client_dot_v1_dot_client__pb2._HEIGHT
_QUERYCONNECTIONCLIENTSTATERESPONSE.fields_by_name[
    "identified_client_state"
].message_type = ibc_dot_core_dot_client_dot_v1_dot_client__pb2._IDENTIFIEDCLIENTSTATE
_QUERYCONNECTIONCLIENTSTATERESPONSE.fields_by_name[
    "proof_height"
].message_type = ibc_dot_core_dot_client_dot_v1_dot_client__pb2._HEIGHT
_QUERYCONNECTIONCONSENSUSSTATERESPONSE.fields_by_name[
    "consensus_state"
].message_type = google_dot_protobuf_dot_any__pb2._ANY
_QUERYCONNECTIONCONSENSUSSTATERESPONSE.fields_by_name[
    "proof_height"
].message_type = ibc_dot_core_dot_client_dot_v1_dot_client__pb2._HEIGHT
DESCRIPTOR.message_types_by_name["QueryConnectionRequest"] = _QUERYCONNECTIONREQUEST
DESCRIPTOR.message_types_by_name["QueryConnectionResponse"] = _QUERYCONNECTIONRESPONSE
DESCRIPTOR.message_types_by_name["QueryConnectionsRequest"] = _QUERYCONNECTIONSREQUEST
DESCRIPTOR.message_types_by_name["QueryConnectionsResponse"] = _QUERYCONNECTIONSRESPONSE
DESCRIPTOR.message_types_by_name[
    "QueryClientConnectionsRequest"
] = _QUERYCLIENTCONNECTIONSREQUEST
DESCRIPTOR.message_types_by_name[
    "QueryClientConnectionsResponse"
] = _QUERYCLIENTCONNECTIONSRESPONSE
DESCRIPTOR.message_types_by_name[
    "QueryConnectionClientStateRequest"
] = _QUERYCONNECTIONCLIENTSTATEREQUEST
DESCRIPTOR.message_types_by_name[
    "QueryConnectionClientStateResponse"
] = _QUERYCONNECTIONCLIENTSTATERESPONSE
DESCRIPTOR.message_types_by_name[
    "QueryConnectionConsensusStateRequest"
] = _QUERYCONNECTIONCONSENSUSSTATEREQUEST
DESCRIPTOR.message_types_by_name[
    "QueryConnectionConsensusStateResponse"
] = _QUERYCONNECTIONCONSENSUSSTATERESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

QueryConnectionRequest = _reflection.GeneratedProtocolMessageType(
    "QueryConnectionRequest",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYCONNECTIONREQUEST,
        "__module__": "ibc.core.connection.v1.query_pb2"
        # @@protoc_insertion_point(class_scope:ibc.core.connection.v1.QueryConnectionRequest)
    },
)
_sym_db.RegisterMessage(QueryConnectionRequest)

QueryConnectionResponse = _reflection.GeneratedProtocolMessageType(
    "QueryConnectionResponse",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYCONNECTIONRESPONSE,
        "__module__": "ibc.core.connection.v1.query_pb2"
        # @@protoc_insertion_point(class_scope:ibc.core.connection.v1.QueryConnectionResponse)
    },
)
_sym_db.RegisterMessage(QueryConnectionResponse)

QueryConnectionsRequest = _reflection.GeneratedProtocolMessageType(
    "QueryConnectionsRequest",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYCONNECTIONSREQUEST,
        "__module__": "ibc.core.connection.v1.query_pb2"
        # @@protoc_insertion_point(class_scope:ibc.core.connection.v1.QueryConnectionsRequest)
    },
)
_sym_db.RegisterMessage(QueryConnectionsRequest)

QueryConnectionsResponse = _reflection.GeneratedProtocolMessageType(
    "QueryConnectionsResponse",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYCONNECTIONSRESPONSE,
        "__module__": "ibc.core.connection.v1.query_pb2"
        # @@protoc_insertion_point(class_scope:ibc.core.connection.v1.QueryConnectionsResponse)
    },
)
_sym_db.RegisterMessage(QueryConnectionsResponse)

QueryClientConnectionsRequest = _reflection.GeneratedProtocolMessageType(
    "QueryClientConnectionsRequest",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYCLIENTCONNECTIONSREQUEST,
        "__module__": "ibc.core.connection.v1.query_pb2"
        # @@protoc_insertion_point(class_scope:ibc.core.connection.v1.QueryClientConnectionsRequest)
    },
)
_sym_db.RegisterMessage(QueryClientConnectionsRequest)

QueryClientConnectionsResponse = _reflection.GeneratedProtocolMessageType(
    "QueryClientConnectionsResponse",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYCLIENTCONNECTIONSRESPONSE,
        "__module__": "ibc.core.connection.v1.query_pb2"
        # @@protoc_insertion_point(class_scope:ibc.core.connection.v1.QueryClientConnectionsResponse)
    },
)
_sym_db.RegisterMessage(QueryClientConnectionsResponse)

QueryConnectionClientStateRequest = _reflection.GeneratedProtocolMessageType(
    "QueryConnectionClientStateRequest",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYCONNECTIONCLIENTSTATEREQUEST,
        "__module__": "ibc.core.connection.v1.query_pb2"
        # @@protoc_insertion_point(class_scope:ibc.core.connection.v1.QueryConnectionClientStateRequest)
    },
)
_sym_db.RegisterMessage(QueryConnectionClientStateRequest)

QueryConnectionClientStateResponse = _reflection.GeneratedProtocolMessageType(
    "QueryConnectionClientStateResponse",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYCONNECTIONCLIENTSTATERESPONSE,
        "__module__": "ibc.core.connection.v1.query_pb2"
        # @@protoc_insertion_point(class_scope:ibc.core.connection.v1.QueryConnectionClientStateResponse)
    },
)
_sym_db.RegisterMessage(QueryConnectionClientStateResponse)

QueryConnectionConsensusStateRequest = _reflection.GeneratedProtocolMessageType(
    "QueryConnectionConsensusStateRequest",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYCONNECTIONCONSENSUSSTATEREQUEST,
        "__module__": "ibc.core.connection.v1.query_pb2"
        # @@protoc_insertion_point(class_scope:ibc.core.connection.v1.QueryConnectionConsensusStateRequest)
    },
)
_sym_db.RegisterMessage(QueryConnectionConsensusStateRequest)

QueryConnectionConsensusStateResponse = _reflection.GeneratedProtocolMessageType(
    "QueryConnectionConsensusStateResponse",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYCONNECTIONCONSENSUSSTATERESPONSE,
        "__module__": "ibc.core.connection.v1.query_pb2"
        # @@protoc_insertion_point(class_scope:ibc.core.connection.v1.QueryConnectionConsensusStateResponse)
    },
)
_sym_db.RegisterMessage(QueryConnectionConsensusStateResponse)


DESCRIPTOR._options = None
_QUERYCONNECTIONRESPONSE.fields_by_name["proof_height"]._options = None
_QUERYCONNECTIONSRESPONSE.fields_by_name["height"]._options = None
_QUERYCLIENTCONNECTIONSRESPONSE.fields_by_name["proof_height"]._options = None
_QUERYCONNECTIONCLIENTSTATEREQUEST.fields_by_name["connection_id"]._options = None
_QUERYCONNECTIONCLIENTSTATERESPONSE.fields_by_name["proof_height"]._options = None
_QUERYCONNECTIONCONSENSUSSTATEREQUEST.fields_by_name["connection_id"]._options = None
_QUERYCONNECTIONCONSENSUSSTATERESPONSE.fields_by_name["proof_height"]._options = None

_QUERY = _descriptor.ServiceDescriptor(
    name="Query",
    full_name="ibc.core.connection.v1.Query",
    file=DESCRIPTOR,
    index=0,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
    serialized_start=1536,
    serialized_end=2601,
    methods=[
        _descriptor.MethodDescriptor(
            name="Connection",
            full_name="ibc.core.connection.v1.Query.Connection",
            index=0,
            containing_service=None,
            input_type=_QUERYCONNECTIONREQUEST,
            output_type=_QUERYCONNECTIONRESPONSE,
            serialized_options=b"\202\323\344\223\002:\0228/ibc/core/connection/v1beta1/connections/{connection_id}",
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.MethodDescriptor(
            name="Connections",
            full_name="ibc.core.connection.v1.Query.Connections",
            index=1,
            containing_service=None,
            input_type=_QUERYCONNECTIONSREQUEST,
            output_type=_QUERYCONNECTIONSRESPONSE,
            serialized_options=b"\202\323\344\223\002*\022(/ibc/core/connection/v1beta1/connections",
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.MethodDescriptor(
            name="ClientConnections",
            full_name="ibc.core.connection.v1.Query.ClientConnections",
            index=2,
            containing_service=None,
            input_type=_QUERYCLIENTCONNECTIONSREQUEST,
            output_type=_QUERYCLIENTCONNECTIONSRESPONSE,
            serialized_options=b"\202\323\344\223\002=\022;/ibc/core/connection/v1beta1/client_connections/{client_id}",
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.MethodDescriptor(
            name="ConnectionClientState",
            full_name="ibc.core.connection.v1.Query.ConnectionClientState",
            index=3,
            containing_service=None,
            input_type=_QUERYCONNECTIONCLIENTSTATEREQUEST,
            output_type=_QUERYCONNECTIONCLIENTSTATERESPONSE,
            serialized_options=b"\202\323\344\223\002G\022E/ibc/core/connection/v1beta1/connections/{connection_id}/client_state",
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.MethodDescriptor(
            name="ConnectionConsensusState",
            full_name="ibc.core.connection.v1.Query.ConnectionConsensusState",
            index=4,
            containing_service=None,
            input_type=_QUERYCONNECTIONCONSENSUSSTATEREQUEST,
            output_type=_QUERYCONNECTIONCONSENSUSSTATERESPONSE,
            serialized_options=b"\202\323\344\223\002~\022|/ibc/core/connection/v1beta1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}",
            create_key=_descriptor._internal_create_key,
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_QUERY)

DESCRIPTOR.services_by_name["Query"] = _QUERY

# @@protoc_insertion_point(module_scope)
