# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: liushen/v1/liushen.proto # Protobuf Python Version: 7.35.1 """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, 7, 35, 1, '', 'liushen/v1/liushen.proto' ) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18liushen/v1/liushen.proto\x12\nliushen.v1\"\x16\n\x14GetEngineInfoRequest\"p\n\x15GetEngineInfoResponse\x12\x11\n\tabi_major\x18\x01 \x01(\r\x12\x16\n\x0eparser_version\x18\x02 \x01(\t\x12\x16\n\x0e\x65ngine_version\x18\x03 \x01(\t\x12\x14\n\x0c\x63\x61pabilities\x18\x04 \x03(\t\",\n\x18TransformMarkdownRequest\x12\x10\n\x08markdown\x18\x01 \x01(\t\"3\n\x19TransformMarkdownResponse\x12\x16\n\x0e\x63\x61nonical_json\x18\x01 \x01(\t\".\n\x14RebuildExportRequest\x12\x16\n\x0e\x63\x61nonical_json\x18\x01 \x01(\t\")\n\x15RebuildExportResponse\x12\x10\n\x08markdown\x18\x01 \x01(\t\"E\n\x0bStreamFrame\x12\x17\n\rblock_started\x18\x02 \x01(\tH\x00\x12\x14\n\ntext_delta\x18\x03 \x01(\tH\x00\x42\x07\n\x05\x66rame\"!\n\x0bStreamEvent\x12\x12\n\nevent_json\x18\x01 \x01(\t\"3\n\x12\x43heckBudgetRequest\x12\x0c\n\x04used\x18\x01 \x01(\x03\x12\x0f\n\x07maximum\x18\x02 \x01(\x03\"6\n\x13\x43heckBudgetResponse\x12\x0f\n\x07\x61llowed\x18\x01 \x01(\x08\x12\x0e\n\x06reason\x18\x02 \x01(\t\".\n\x13RerankRecallRequest\x12\x17\n\x0f\x63\x61ndidates_json\x18\x01 \x01(\t\"+\n\x14RerankRecallResponse\x12\x13\n\x0branked_json\x18\x01 \x01(\t\"C\n\x15\x45valuatePolicyRequest\x12\x16\n\x0e\x61utonomy_level\x18\x01 \x01(\x05\x12\x12\n\nrisk_level\x18\x02 \x01(\x05\"*\n\x16\x45valuatePolicyResponse\x12\x10\n\x08\x64\x65\x63ision\x18\x01 \x01(\x05\"!\n\x12ValidateUrlRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\"6\n\x13ValidateUrlResponse\x12\x0f\n\x07\x61llowed\x18\x01 \x01(\x08\x12\x0e\n\x06reason\x18\x02 \x01(\t\"e\n\x1b\x43heckStateTransitionRequest\x12#\n\x04\x66rom\x18\x01 \x01(\x0e\x32\x15.liushen.v1.RunStatus\x12!\n\x02to\x18\x02 \x01(\x0e\x32\x15.liushen.v1.RunStatus\"=\n\x1c\x43heckStateTransitionResponse\x12\r\n\x05valid\x18\x01 \x01(\x08\x12\x0e\n\x06reason\x18\x02 \x01(\t*\xc2\x01\n\tRunStatus\x12\x1a\n\x16RUN_STATUS_UNSPECIFIED\x10\x00\x12\x15\n\x11RUN_STATUS_QUEUED\x10\x01\x12\x16\n\x12RUN_STATUS_RUNNING\x10\x02\x12\x1f\n\x1bRUN_STATUS_WAITING_APPROVAL\x10\x03\x12\x18\n\x14RUN_STATUS_COMPLETED\x10\x04\x12\x15\n\x11RUN_STATUS_FAILED\x10\x05\x12\x18\n\x14RUN_STATUS_CANCELLED\x10\x06\x32\x98\x06\n\rLingtaiEngine\x12T\n\rGetEngineInfo\x12 .liushen.v1.GetEngineInfoRequest\x1a!.liushen.v1.GetEngineInfoResponse\x12`\n\x11TransformMarkdown\x12$.liushen.v1.TransformMarkdownRequest\x1a%.liushen.v1.TransformMarkdownResponse\x12T\n\rRebuildExport\x12 .liushen.v1.RebuildExportRequest\x1a!.liushen.v1.RebuildExportResponse\x12\x42\n\nOpenStream\x12\x17.liushen.v1.StreamFrame\x1a\x17.liushen.v1.StreamEvent(\x01\x30\x01\x12N\n\x0b\x43heckBudget\x12\x1e.liushen.v1.CheckBudgetRequest\x1a\x1f.liushen.v1.CheckBudgetResponse\x12Q\n\x0cRerankRecall\x12\x1f.liushen.v1.RerankRecallRequest\x1a .liushen.v1.RerankRecallResponse\x12W\n\x0e\x45valuatePolicy\x12!.liushen.v1.EvaluatePolicyRequest\x1a\".liushen.v1.EvaluatePolicyResponse\x12N\n\x0bValidateUrl\x12\x1e.liushen.v1.ValidateUrlRequest\x1a\x1f.liushen.v1.ValidateUrlResponse\x12i\n\x14\x43heckStateTransition\x12\'.liushen.v1.CheckStateTransitionRequest\x1a(.liushen.v1.CheckStateTransitionResponseb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'liushen.v1.liushen_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: DESCRIPTOR._loaded_options = None _globals['_RUNSTATUS']._serialized_start=1047 _globals['_RUNSTATUS']._serialized_end=1241 _globals['_GETENGINEINFOREQUEST']._serialized_start=40 _globals['_GETENGINEINFOREQUEST']._serialized_end=62 _globals['_GETENGINEINFORESPONSE']._serialized_start=64 _globals['_GETENGINEINFORESPONSE']._serialized_end=176 _globals['_TRANSFORMMARKDOWNREQUEST']._serialized_start=178 _globals['_TRANSFORMMARKDOWNREQUEST']._serialized_end=222 _globals['_TRANSFORMMARKDOWNRESPONSE']._serialized_start=224 _globals['_TRANSFORMMARKDOWNRESPONSE']._serialized_end=275 _globals['_REBUILDEXPORTREQUEST']._serialized_start=277 _globals['_REBUILDEXPORTREQUEST']._serialized_end=323 _globals['_REBUILDEXPORTRESPONSE']._serialized_start=325 _globals['_REBUILDEXPORTRESPONSE']._serialized_end=366 _globals['_STREAMFRAME']._serialized_start=368 _globals['_STREAMFRAME']._serialized_end=437 _globals['_STREAMEVENT']._serialized_start=439 _globals['_STREAMEVENT']._serialized_end=472 _globals['_CHECKBUDGETREQUEST']._serialized_start=474 _globals['_CHECKBUDGETREQUEST']._serialized_end=525 _globals['_CHECKBUDGETRESPONSE']._serialized_start=527 _globals['_CHECKBUDGETRESPONSE']._serialized_end=581 _globals['_RERANKRECALLREQUEST']._serialized_start=583 _globals['_RERANKRECALLREQUEST']._serialized_end=629 _globals['_RERANKRECALLRESPONSE']._serialized_start=631 _globals['_RERANKRECALLRESPONSE']._serialized_end=674 _globals['_EVALUATEPOLICYREQUEST']._serialized_start=676 _globals['_EVALUATEPOLICYREQUEST']._serialized_end=743 _globals['_EVALUATEPOLICYRESPONSE']._serialized_start=745 _globals['_EVALUATEPOLICYRESPONSE']._serialized_end=787 _globals['_VALIDATEURLREQUEST']._serialized_start=789 _globals['_VALIDATEURLREQUEST']._serialized_end=822 _globals['_VALIDATEURLRESPONSE']._serialized_start=824 _globals['_VALIDATEURLRESPONSE']._serialized_end=878 _globals['_CHECKSTATETRANSITIONREQUEST']._serialized_start=880 _globals['_CHECKSTATETRANSITIONREQUEST']._serialized_end=981 _globals['_CHECKSTATETRANSITIONRESPONSE']._serialized_start=983 _globals['_CHECKSTATETRANSITIONRESPONSE']._serialized_end=1044 _globals['_LINGTAIENGINE']._serialized_start=1244 _globals['_LINGTAIENGINE']._serialized_end=2036 # @@protoc_insertion_point(module_scope)