# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: arg_services/cbr/v1beta/retrieval.proto
# Protobuf Python Version: 5.29.3
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    5,
    29,
    3,
    '',
    'arg_services/cbr/v1beta/retrieval.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from arg_services.cbr.v1beta import model_pb2 as arg__services_dot_cbr_dot_v1beta_dot_model__pb2
from arg_services.nlp.v1 import nlp_pb2 as arg__services_dot_nlp_dot_v1_dot_nlp__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'arg_services/cbr/v1beta/retrieval.proto\x12\x17\x61rg_services.cbr.v1beta\x1a#arg_services/cbr/v1beta/model.proto\x1a\x1d\x61rg_services/nlp/v1/nlp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x95\x07\n\x0fRetrieveRequest\x12P\n\x0f\x63\x61sebase_filter\x18\x01 \x01(\x0b\x32\'.arg_services.cbr.v1beta.CasebaseFilterR\x0e\x63\x61sebaseFilter\x12I\n\x05\x63\x61ses\x18\x02 \x03(\x0b\x32\x33.arg_services.cbr.v1beta.RetrieveRequest.CasesEntryR\x05\x63\x61ses\x12O\n\x07queries\x18\x03 \x03(\x0b\x32\x35.arg_services.cbr.v1beta.RetrieveRequest.QueriesEntryR\x07queries\x12=\n\nnlp_config\x18\x05 \x01(\x0b\x32\x1e.arg_services.nlp.v1.NlpConfigR\tnlpConfig\x12\x14\n\x05limit\x18\x06 \x01(\x05R\x05limit\x12-\n\x12semantic_retrieval\x18\x07 \x01(\x08R\x11semanticRetrieval\x12\x31\n\x14structural_retrieval\x18\x08 \x01(\x08R\x13structuralRetrieval\x12V\n\x11mapping_algorithm\x18\t \x01(\x0e\x32).arg_services.cbr.v1beta.MappingAlgorithmR\x10mappingAlgorithm\x12:\n\x19mapping_algorithm_variant\x18\n \x01(\x05R\x17mappingAlgorithmVariant\x12P\n\x0fscheme_handling\x18\x0b \x01(\x0e\x32\'.arg_services.cbr.v1beta.SchemeHandlingR\x0eschemeHandling\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtras\x1a\x61\n\nCasesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12=\n\x05value\x18\x02 \x01(\x0b\x32\'.arg_services.cbr.v1beta.AnnotatedGraphR\x05value:\x02\x38\x01\x1a\x63\n\x0cQueriesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12=\n\x05value\x18\x02 \x01(\x0b\x32\'.arg_services.cbr.v1beta.AnnotatedGraphR\x05value:\x02\x38\x01\"\x96\x02\n\x10RetrieveResponse\x12\x66\n\x0fquery_responses\x18\x01 \x03(\x0b\x32=.arg_services.cbr.v1beta.RetrieveResponse.QueryResponsesEntryR\x0equeryResponses\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtras\x1ai\n\x13QueryResponsesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12<\n\x05value\x18\x02 \x01(\x0b\x32&.arg_services.cbr.v1beta.QueryResponseR\x05value:\x02\x38\x01\"\x93\x02\n\rQueryResponse\x12Q\n\x10semantic_ranking\x18\x01 \x03(\x0b\x32&.arg_services.cbr.v1beta.RetrievedCaseR\x0fsemanticRanking\x12U\n\x12structural_ranking\x18\x02 \x03(\x0b\x32&.arg_services.cbr.v1beta.RetrievedCaseR\x11structuralRanking\x12X\n\x12structural_mapping\x18\x03 \x03(\x0b\x32).arg_services.cbr.v1beta.RetrievedMappingR\x11structuralMapping\"~\n\rRetrievedCase\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\nsimilarity\x18\x02 \x01(\x01R\nsimilarity\x12=\n\x05graph\x18\x03 \x01(\x0b\x32\'.arg_services.cbr.v1beta.AnnotatedGraphR\x05graph\"\xbc\x01\n\x10RetrievedMapping\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12K\n\rnode_mappings\x18\x02 \x03(\x0b\x32&.arg_services.cbr.v1beta.MappedElementR\x0cnodeMappings\x12K\n\redge_mappings\x18\x03 \x03(\x0b\x32&.arg_services.cbr.v1beta.MappedElementR\x0c\x65\x64geMappings\"c\n\rMappedElement\x12\x19\n\x08query_id\x18\x01 \x01(\tR\x07queryId\x12\x17\n\x07\x63\x61se_id\x18\x02 \x01(\tR\x06\x63\x61seId\x12\x1e\n\nsimilarity\x18\x03 \x01(\x01R\nsimilarity\"\x89\x04\n\x13SimilaritiesRequest\x12=\n\x05\x63\x61ses\x18\x02 \x03(\x0b\x32\'.arg_services.cbr.v1beta.AnnotatedGraphR\x05\x63\x61ses\x12=\n\x05query\x18\x03 \x01(\x0b\x32\'.arg_services.cbr.v1beta.AnnotatedGraphR\x05query\x12=\n\nnlp_config\x18\x05 \x01(\x0b\x32\x1e.arg_services.nlp.v1.NlpConfigR\tnlpConfig\x12\x1e\n\nstructural\x18\x07 \x01(\x08R\nstructural\x12V\n\x11mapping_algorithm\x18\t \x01(\x0e\x32).arg_services.cbr.v1beta.MappingAlgorithmR\x10mappingAlgorithm\x12:\n\x19mapping_algorithm_variant\x18\n \x01(\x05R\x17mappingAlgorithmVariant\x12P\n\x0fscheme_handling\x18\x0b \x01(\x0e\x32\'.arg_services.cbr.v1beta.SchemeHandlingR\x0eschemeHandling\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtras\"\x98\x01\n\x14SimilaritiesResponse\x12O\n\x0csimilarities\x18\x01 \x03(\x0b\x32+.arg_services.cbr.v1beta.SimilarityResponseR\x0csimilarities\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtras\"y\n\x12SimilarityResponse\x12\x1e\n\nsimilarity\x18\x01 \x01(\x01R\nsimilarity\x12\x43\n\x07mapping\x18\x03 \x01(\x0b\x32).arg_services.cbr.v1beta.RetrievedMappingR\x07mapping*\xe5\x01\n\x10MappingAlgorithm\x12!\n\x1dMAPPING_ALGORITHM_UNSPECIFIED\x10\x00\x12!\n\x1dMAPPING_ALGORITHM_BRUTE_FORCE\x10\x01\x12\x1b\n\x17MAPPING_ALGORITHM_ASTAR\x10\x02\x12\x1c\n\x18MAPPING_ALGORITHM_GREEDY\x10\x03\x12\x19\n\x15MAPPING_ALGORITHM_VF2\x10\x04\x12\x1a\n\x16MAPPING_ALGORITHM_LSAP\x10\x05\x12\x19\n\x15MAPPING_ALGORITHM_DFS\x10\x06*\x86\x01\n\x0eSchemeHandling\x12\x1f\n\x1bSCHEME_HANDLING_UNSPECIFIED\x10\x00\x12\x1a\n\x16SCHEME_HANDLING_BINARY\x10\x01\x12\x1c\n\x18SCHEME_HANDLING_TAXONOMY\x10\x02\x12\x19\n\x15SCHEME_HANDLING_EXACT\x10\x03\x32\x9f\x02\n\x10RetrievalService\x12|\n\x08Retrieve\x12(.arg_services.cbr.v1beta.RetrieveRequest\x1a).arg_services.cbr.v1beta.RetrieveResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/cbr/v1/retrieve:\x01*\x12\x8c\x01\n\x0cSimilarities\x12,.arg_services.cbr.v1beta.SimilaritiesRequest\x1a-.arg_services.cbr.v1beta.SimilaritiesResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/cbr/v1/similarities:\x01*B\xa7\x01\n\x1b\x63om.arg_services.cbr.v1betaB\x0eRetrievalProtoP\x01\xa2\x02\x03\x41\x43X\xaa\x02\x16\x41rgServices.Cbr.V1beta\xca\x02\x16\x41rgServices\\Cbr\\V1beta\xe2\x02\"ArgServices\\Cbr\\V1beta\\GPBMetadata\xea\x02\x18\x41rgServices::Cbr::V1betab\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'arg_services.cbr.v1beta.retrieval_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\033com.arg_services.cbr.v1betaB\016RetrievalProtoP\001\242\002\003ACX\252\002\026ArgServices.Cbr.V1beta\312\002\026ArgServices\\Cbr\\V1beta\342\002\"ArgServices\\Cbr\\V1beta\\GPBMetadata\352\002\030ArgServices::Cbr::V1beta'
  _globals['_RETRIEVEREQUEST_CASESENTRY']._loaded_options = None
  _globals['_RETRIEVEREQUEST_CASESENTRY']._serialized_options = b'8\001'
  _globals['_RETRIEVEREQUEST_QUERIESENTRY']._loaded_options = None
  _globals['_RETRIEVEREQUEST_QUERIESENTRY']._serialized_options = b'8\001'
  _globals['_RETRIEVERESPONSE_QUERYRESPONSESENTRY']._loaded_options = None
  _globals['_RETRIEVERESPONSE_QUERYRESPONSESENTRY']._serialized_options = b'8\001'
  _globals['_RETRIEVALSERVICE'].methods_by_name['Retrieve']._loaded_options = None
  _globals['_RETRIEVALSERVICE'].methods_by_name['Retrieve']._serialized_options = b'\202\323\344\223\002\025\"\020/cbr/v1/retrieve:\001*'
  _globals['_RETRIEVALSERVICE'].methods_by_name['Similarities']._loaded_options = None
  _globals['_RETRIEVALSERVICE'].methods_by_name['Similarities']._serialized_options = b'\202\323\344\223\002\031\"\024/cbr/v1/similarities:\001*'
  _globals['_MAPPINGALGORITHM']._serialized_start=2898
  _globals['_MAPPINGALGORITHM']._serialized_end=3127
  _globals['_SCHEMEHANDLING']._serialized_start=3130
  _globals['_SCHEMEHANDLING']._serialized_end=3264
  _globals['_RETRIEVEREQUEST']._serialized_start=197
  _globals['_RETRIEVEREQUEST']._serialized_end=1114
  _globals['_RETRIEVEREQUEST_CASESENTRY']._serialized_start=916
  _globals['_RETRIEVEREQUEST_CASESENTRY']._serialized_end=1013
  _globals['_RETRIEVEREQUEST_QUERIESENTRY']._serialized_start=1015
  _globals['_RETRIEVEREQUEST_QUERIESENTRY']._serialized_end=1114
  _globals['_RETRIEVERESPONSE']._serialized_start=1117
  _globals['_RETRIEVERESPONSE']._serialized_end=1395
  _globals['_RETRIEVERESPONSE_QUERYRESPONSESENTRY']._serialized_start=1290
  _globals['_RETRIEVERESPONSE_QUERYRESPONSESENTRY']._serialized_end=1395
  _globals['_QUERYRESPONSE']._serialized_start=1398
  _globals['_QUERYRESPONSE']._serialized_end=1673
  _globals['_RETRIEVEDCASE']._serialized_start=1675
  _globals['_RETRIEVEDCASE']._serialized_end=1801
  _globals['_RETRIEVEDMAPPING']._serialized_start=1804
  _globals['_RETRIEVEDMAPPING']._serialized_end=1992
  _globals['_MAPPEDELEMENT']._serialized_start=1994
  _globals['_MAPPEDELEMENT']._serialized_end=2093
  _globals['_SIMILARITIESREQUEST']._serialized_start=2096
  _globals['_SIMILARITIESREQUEST']._serialized_end=2617
  _globals['_SIMILARITIESRESPONSE']._serialized_start=2620
  _globals['_SIMILARITIESRESPONSE']._serialized_end=2772
  _globals['_SIMILARITYRESPONSE']._serialized_start=2774
  _globals['_SIMILARITYRESPONSE']._serialized_end=2895
  _globals['_RETRIEVALSERVICE']._serialized_start=3267
  _globals['_RETRIEVALSERVICE']._serialized_end=3554
# @@protoc_insertion_point(module_scope)
