knowledge.pb.go 85 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.0
  4. // protoc v3.19.4
  5. // source: knowledge.proto
  6. package knowledge
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Question struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. XId string `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id,omitempty"`
  24. Question string `protobuf:"bytes,2,opt,name=question,proto3" json:"question,omitempty"`
  25. Answer string `protobuf:"bytes,3,opt,name=answer,proto3" json:"answer,omitempty"`
  26. }
  27. func (x *Question) Reset() {
  28. *x = Question{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_knowledge_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *Question) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*Question) ProtoMessage() {}
  39. func (x *Question) ProtoReflect() protoreflect.Message {
  40. mi := &file_knowledge_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use Question.ProtoReflect.Descriptor instead.
  51. func (*Question) Descriptor() ([]byte, []int) {
  52. return file_knowledge_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *Question) GetXId() string {
  55. if x != nil {
  56. return x.XId
  57. }
  58. return ""
  59. }
  60. func (x *Question) GetQuestion() string {
  61. if x != nil {
  62. return x.Question
  63. }
  64. return ""
  65. }
  66. func (x *Question) GetAnswer() string {
  67. if x != nil {
  68. return x.Answer
  69. }
  70. return ""
  71. }
  72. type AddRequest struct {
  73. state protoimpl.MessageState
  74. sizeCache protoimpl.SizeCache
  75. unknownFields protoimpl.UnknownFields
  76. Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
  77. Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"`
  78. EntId int64 `protobuf:"varint,3,opt,name=entId,proto3" json:"entId,omitempty"`
  79. AppId string `protobuf:"bytes,4,opt,name=appId,proto3" json:"appId,omitempty"`
  80. EntUserId int64 `protobuf:"varint,5,opt,name=entUserId,proto3" json:"entUserId,omitempty"`
  81. }
  82. func (x *AddRequest) Reset() {
  83. *x = AddRequest{}
  84. if protoimpl.UnsafeEnabled {
  85. mi := &file_knowledge_proto_msgTypes[1]
  86. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  87. ms.StoreMessageInfo(mi)
  88. }
  89. }
  90. func (x *AddRequest) String() string {
  91. return protoimpl.X.MessageStringOf(x)
  92. }
  93. func (*AddRequest) ProtoMessage() {}
  94. func (x *AddRequest) ProtoReflect() protoreflect.Message {
  95. mi := &file_knowledge_proto_msgTypes[1]
  96. if protoimpl.UnsafeEnabled && x != nil {
  97. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  98. if ms.LoadMessageInfo() == nil {
  99. ms.StoreMessageInfo(mi)
  100. }
  101. return ms
  102. }
  103. return mi.MessageOf(x)
  104. }
  105. // Deprecated: Use AddRequest.ProtoReflect.Descriptor instead.
  106. func (*AddRequest) Descriptor() ([]byte, []int) {
  107. return file_knowledge_proto_rawDescGZIP(), []int{1}
  108. }
  109. func (x *AddRequest) GetQuestion() string {
  110. if x != nil {
  111. return x.Question
  112. }
  113. return ""
  114. }
  115. func (x *AddRequest) GetAnswer() string {
  116. if x != nil {
  117. return x.Answer
  118. }
  119. return ""
  120. }
  121. func (x *AddRequest) GetEntId() int64 {
  122. if x != nil {
  123. return x.EntId
  124. }
  125. return 0
  126. }
  127. func (x *AddRequest) GetAppId() string {
  128. if x != nil {
  129. return x.AppId
  130. }
  131. return ""
  132. }
  133. func (x *AddRequest) GetEntUserId() int64 {
  134. if x != nil {
  135. return x.EntUserId
  136. }
  137. return 0
  138. }
  139. type AddResponse struct {
  140. state protoimpl.MessageState
  141. sizeCache protoimpl.SizeCache
  142. unknownFields protoimpl.UnknownFields
  143. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
  144. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
  145. Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //响应内容
  146. }
  147. func (x *AddResponse) Reset() {
  148. *x = AddResponse{}
  149. if protoimpl.UnsafeEnabled {
  150. mi := &file_knowledge_proto_msgTypes[2]
  151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  152. ms.StoreMessageInfo(mi)
  153. }
  154. }
  155. func (x *AddResponse) String() string {
  156. return protoimpl.X.MessageStringOf(x)
  157. }
  158. func (*AddResponse) ProtoMessage() {}
  159. func (x *AddResponse) ProtoReflect() protoreflect.Message {
  160. mi := &file_knowledge_proto_msgTypes[2]
  161. if protoimpl.UnsafeEnabled && x != nil {
  162. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  163. if ms.LoadMessageInfo() == nil {
  164. ms.StoreMessageInfo(mi)
  165. }
  166. return ms
  167. }
  168. return mi.MessageOf(x)
  169. }
  170. // Deprecated: Use AddResponse.ProtoReflect.Descriptor instead.
  171. func (*AddResponse) Descriptor() ([]byte, []int) {
  172. return file_knowledge_proto_rawDescGZIP(), []int{2}
  173. }
  174. func (x *AddResponse) GetErrorCode() int64 {
  175. if x != nil {
  176. return x.ErrorCode
  177. }
  178. return 0
  179. }
  180. func (x *AddResponse) GetErrorMsg() string {
  181. if x != nil {
  182. return x.ErrorMsg
  183. }
  184. return ""
  185. }
  186. func (x *AddResponse) GetData() string {
  187. if x != nil {
  188. return x.Data
  189. }
  190. return ""
  191. }
  192. type FindAnswerReq struct {
  193. state protoimpl.MessageState
  194. sizeCache protoimpl.SizeCache
  195. unknownFields protoimpl.UnknownFields
  196. Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
  197. RobotEntId string `protobuf:"bytes,2,opt,name=robotEntId,proto3" json:"robotEntId,omitempty"` //机器人的企业id
  198. Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // 1文字 2语音
  199. ReqSource int64 `protobuf:"varint,4,opt,name=reqSource,proto3" json:"reqSource,omitempty"` //0 客服端调用 1 用户猜你想问调用
  200. }
  201. func (x *FindAnswerReq) Reset() {
  202. *x = FindAnswerReq{}
  203. if protoimpl.UnsafeEnabled {
  204. mi := &file_knowledge_proto_msgTypes[3]
  205. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  206. ms.StoreMessageInfo(mi)
  207. }
  208. }
  209. func (x *FindAnswerReq) String() string {
  210. return protoimpl.X.MessageStringOf(x)
  211. }
  212. func (*FindAnswerReq) ProtoMessage() {}
  213. func (x *FindAnswerReq) ProtoReflect() protoreflect.Message {
  214. mi := &file_knowledge_proto_msgTypes[3]
  215. if protoimpl.UnsafeEnabled && x != nil {
  216. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  217. if ms.LoadMessageInfo() == nil {
  218. ms.StoreMessageInfo(mi)
  219. }
  220. return ms
  221. }
  222. return mi.MessageOf(x)
  223. }
  224. // Deprecated: Use FindAnswerReq.ProtoReflect.Descriptor instead.
  225. func (*FindAnswerReq) Descriptor() ([]byte, []int) {
  226. return file_knowledge_proto_rawDescGZIP(), []int{3}
  227. }
  228. func (x *FindAnswerReq) GetQuestion() string {
  229. if x != nil {
  230. return x.Question
  231. }
  232. return ""
  233. }
  234. func (x *FindAnswerReq) GetRobotEntId() string {
  235. if x != nil {
  236. return x.RobotEntId
  237. }
  238. return ""
  239. }
  240. func (x *FindAnswerReq) GetType() int64 {
  241. if x != nil {
  242. return x.Type
  243. }
  244. return 0
  245. }
  246. func (x *FindAnswerReq) GetReqSource() int64 {
  247. if x != nil {
  248. return x.ReqSource
  249. }
  250. return 0
  251. }
  252. type FindAnswerResp struct {
  253. state protoimpl.MessageState
  254. sizeCache protoimpl.SizeCache
  255. unknownFields protoimpl.UnknownFields
  256. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
  257. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
  258. Data *Question `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //响应内容
  259. }
  260. func (x *FindAnswerResp) Reset() {
  261. *x = FindAnswerResp{}
  262. if protoimpl.UnsafeEnabled {
  263. mi := &file_knowledge_proto_msgTypes[4]
  264. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  265. ms.StoreMessageInfo(mi)
  266. }
  267. }
  268. func (x *FindAnswerResp) String() string {
  269. return protoimpl.X.MessageStringOf(x)
  270. }
  271. func (*FindAnswerResp) ProtoMessage() {}
  272. func (x *FindAnswerResp) ProtoReflect() protoreflect.Message {
  273. mi := &file_knowledge_proto_msgTypes[4]
  274. if protoimpl.UnsafeEnabled && x != nil {
  275. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  276. if ms.LoadMessageInfo() == nil {
  277. ms.StoreMessageInfo(mi)
  278. }
  279. return ms
  280. }
  281. return mi.MessageOf(x)
  282. }
  283. // Deprecated: Use FindAnswerResp.ProtoReflect.Descriptor instead.
  284. func (*FindAnswerResp) Descriptor() ([]byte, []int) {
  285. return file_knowledge_proto_rawDescGZIP(), []int{4}
  286. }
  287. func (x *FindAnswerResp) GetErrorCode() int64 {
  288. if x != nil {
  289. return x.ErrorCode
  290. }
  291. return 0
  292. }
  293. func (x *FindAnswerResp) GetErrorMsg() string {
  294. if x != nil {
  295. return x.ErrorMsg
  296. }
  297. return ""
  298. }
  299. func (x *FindAnswerResp) GetData() *Question {
  300. if x != nil {
  301. return x.Data
  302. }
  303. return nil
  304. }
  305. type RecommendAnswerResp struct {
  306. state protoimpl.MessageState
  307. sizeCache protoimpl.SizeCache
  308. unknownFields protoimpl.UnknownFields
  309. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
  310. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
  311. Data []*Question `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //响应内容
  312. }
  313. func (x *RecommendAnswerResp) Reset() {
  314. *x = RecommendAnswerResp{}
  315. if protoimpl.UnsafeEnabled {
  316. mi := &file_knowledge_proto_msgTypes[5]
  317. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  318. ms.StoreMessageInfo(mi)
  319. }
  320. }
  321. func (x *RecommendAnswerResp) String() string {
  322. return protoimpl.X.MessageStringOf(x)
  323. }
  324. func (*RecommendAnswerResp) ProtoMessage() {}
  325. func (x *RecommendAnswerResp) ProtoReflect() protoreflect.Message {
  326. mi := &file_knowledge_proto_msgTypes[5]
  327. if protoimpl.UnsafeEnabled && x != nil {
  328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  329. if ms.LoadMessageInfo() == nil {
  330. ms.StoreMessageInfo(mi)
  331. }
  332. return ms
  333. }
  334. return mi.MessageOf(x)
  335. }
  336. // Deprecated: Use RecommendAnswerResp.ProtoReflect.Descriptor instead.
  337. func (*RecommendAnswerResp) Descriptor() ([]byte, []int) {
  338. return file_knowledge_proto_rawDescGZIP(), []int{5}
  339. }
  340. func (x *RecommendAnswerResp) GetErrorCode() int64 {
  341. if x != nil {
  342. return x.ErrorCode
  343. }
  344. return 0
  345. }
  346. func (x *RecommendAnswerResp) GetErrorMsg() string {
  347. if x != nil {
  348. return x.ErrorMsg
  349. }
  350. return ""
  351. }
  352. func (x *RecommendAnswerResp) GetData() []*Question {
  353. if x != nil {
  354. return x.Data
  355. }
  356. return nil
  357. }
  358. type ListData struct {
  359. state protoimpl.MessageState
  360. sizeCache protoimpl.SizeCache
  361. unknownFields protoimpl.UnknownFields
  362. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
  363. Data []*KnowledgeEntity `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"`
  364. }
  365. func (x *ListData) Reset() {
  366. *x = ListData{}
  367. if protoimpl.UnsafeEnabled {
  368. mi := &file_knowledge_proto_msgTypes[6]
  369. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  370. ms.StoreMessageInfo(mi)
  371. }
  372. }
  373. func (x *ListData) String() string {
  374. return protoimpl.X.MessageStringOf(x)
  375. }
  376. func (*ListData) ProtoMessage() {}
  377. func (x *ListData) ProtoReflect() protoreflect.Message {
  378. mi := &file_knowledge_proto_msgTypes[6]
  379. if protoimpl.UnsafeEnabled && x != nil {
  380. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  381. if ms.LoadMessageInfo() == nil {
  382. ms.StoreMessageInfo(mi)
  383. }
  384. return ms
  385. }
  386. return mi.MessageOf(x)
  387. }
  388. // Deprecated: Use ListData.ProtoReflect.Descriptor instead.
  389. func (*ListData) Descriptor() ([]byte, []int) {
  390. return file_knowledge_proto_rawDescGZIP(), []int{6}
  391. }
  392. func (x *ListData) GetTotal() int64 {
  393. if x != nil {
  394. return x.Total
  395. }
  396. return 0
  397. }
  398. func (x *ListData) GetData() []*KnowledgeEntity {
  399. if x != nil {
  400. return x.Data
  401. }
  402. return nil
  403. }
  404. type ListRequest struct {
  405. state protoimpl.MessageState
  406. sizeCache protoimpl.SizeCache
  407. unknownFields protoimpl.UnknownFields
  408. PageSize int64 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //每页数据量,默认10
  409. PageIndex int64 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` //页码;默认第一页
  410. EntId int64 `protobuf:"varint,3,opt,name=entId,proto3" json:"entId,omitempty"` //租户id
  411. }
  412. func (x *ListRequest) Reset() {
  413. *x = ListRequest{}
  414. if protoimpl.UnsafeEnabled {
  415. mi := &file_knowledge_proto_msgTypes[7]
  416. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  417. ms.StoreMessageInfo(mi)
  418. }
  419. }
  420. func (x *ListRequest) String() string {
  421. return protoimpl.X.MessageStringOf(x)
  422. }
  423. func (*ListRequest) ProtoMessage() {}
  424. func (x *ListRequest) ProtoReflect() protoreflect.Message {
  425. mi := &file_knowledge_proto_msgTypes[7]
  426. if protoimpl.UnsafeEnabled && x != nil {
  427. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  428. if ms.LoadMessageInfo() == nil {
  429. ms.StoreMessageInfo(mi)
  430. }
  431. return ms
  432. }
  433. return mi.MessageOf(x)
  434. }
  435. // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
  436. func (*ListRequest) Descriptor() ([]byte, []int) {
  437. return file_knowledge_proto_rawDescGZIP(), []int{7}
  438. }
  439. func (x *ListRequest) GetPageSize() int64 {
  440. if x != nil {
  441. return x.PageSize
  442. }
  443. return 0
  444. }
  445. func (x *ListRequest) GetPageIndex() int64 {
  446. if x != nil {
  447. return x.PageIndex
  448. }
  449. return 0
  450. }
  451. func (x *ListRequest) GetEntId() int64 {
  452. if x != nil {
  453. return x.EntId
  454. }
  455. return 0
  456. }
  457. type ListResponse struct {
  458. state protoimpl.MessageState
  459. sizeCache protoimpl.SizeCache
  460. unknownFields protoimpl.UnknownFields
  461. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
  462. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
  463. Data *ListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //响应内容
  464. }
  465. func (x *ListResponse) Reset() {
  466. *x = ListResponse{}
  467. if protoimpl.UnsafeEnabled {
  468. mi := &file_knowledge_proto_msgTypes[8]
  469. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  470. ms.StoreMessageInfo(mi)
  471. }
  472. }
  473. func (x *ListResponse) String() string {
  474. return protoimpl.X.MessageStringOf(x)
  475. }
  476. func (*ListResponse) ProtoMessage() {}
  477. func (x *ListResponse) ProtoReflect() protoreflect.Message {
  478. mi := &file_knowledge_proto_msgTypes[8]
  479. if protoimpl.UnsafeEnabled && x != nil {
  480. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  481. if ms.LoadMessageInfo() == nil {
  482. ms.StoreMessageInfo(mi)
  483. }
  484. return ms
  485. }
  486. return mi.MessageOf(x)
  487. }
  488. // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
  489. func (*ListResponse) Descriptor() ([]byte, []int) {
  490. return file_knowledge_proto_rawDescGZIP(), []int{8}
  491. }
  492. func (x *ListResponse) GetErrorCode() int64 {
  493. if x != nil {
  494. return x.ErrorCode
  495. }
  496. return 0
  497. }
  498. func (x *ListResponse) GetErrorMsg() string {
  499. if x != nil {
  500. return x.ErrorMsg
  501. }
  502. return ""
  503. }
  504. func (x *ListResponse) GetData() *ListData {
  505. if x != nil {
  506. return x.Data
  507. }
  508. return nil
  509. }
  510. type KnowledgeEntity struct {
  511. state protoimpl.MessageState
  512. sizeCache protoimpl.SizeCache
  513. unknownFields protoimpl.UnknownFields
  514. Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"` //问题
  515. Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"` //答案
  516. AnswerId int64 `protobuf:"varint,3,opt,name=answerId,proto3" json:"answerId,omitempty"` //答案标识
  517. State int64 `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty"` //知识状态0无效1有效
  518. Person string `protobuf:"bytes,5,opt,name=person,proto3" json:"person,omitempty"` //人员姓名
  519. KnowledgeId int64 `protobuf:"varint,6,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"`
  520. }
  521. func (x *KnowledgeEntity) Reset() {
  522. *x = KnowledgeEntity{}
  523. if protoimpl.UnsafeEnabled {
  524. mi := &file_knowledge_proto_msgTypes[9]
  525. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  526. ms.StoreMessageInfo(mi)
  527. }
  528. }
  529. func (x *KnowledgeEntity) String() string {
  530. return protoimpl.X.MessageStringOf(x)
  531. }
  532. func (*KnowledgeEntity) ProtoMessage() {}
  533. func (x *KnowledgeEntity) ProtoReflect() protoreflect.Message {
  534. mi := &file_knowledge_proto_msgTypes[9]
  535. if protoimpl.UnsafeEnabled && x != nil {
  536. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  537. if ms.LoadMessageInfo() == nil {
  538. ms.StoreMessageInfo(mi)
  539. }
  540. return ms
  541. }
  542. return mi.MessageOf(x)
  543. }
  544. // Deprecated: Use KnowledgeEntity.ProtoReflect.Descriptor instead.
  545. func (*KnowledgeEntity) Descriptor() ([]byte, []int) {
  546. return file_knowledge_proto_rawDescGZIP(), []int{9}
  547. }
  548. func (x *KnowledgeEntity) GetQuestion() string {
  549. if x != nil {
  550. return x.Question
  551. }
  552. return ""
  553. }
  554. func (x *KnowledgeEntity) GetAnswer() string {
  555. if x != nil {
  556. return x.Answer
  557. }
  558. return ""
  559. }
  560. func (x *KnowledgeEntity) GetAnswerId() int64 {
  561. if x != nil {
  562. return x.AnswerId
  563. }
  564. return 0
  565. }
  566. func (x *KnowledgeEntity) GetState() int64 {
  567. if x != nil {
  568. return x.State
  569. }
  570. return 0
  571. }
  572. func (x *KnowledgeEntity) GetPerson() string {
  573. if x != nil {
  574. return x.Person
  575. }
  576. return ""
  577. }
  578. func (x *KnowledgeEntity) GetKnowledgeId() int64 {
  579. if x != nil {
  580. return x.KnowledgeId
  581. }
  582. return 0
  583. }
  584. type KnowledgeEditReq struct {
  585. state protoimpl.MessageState
  586. sizeCache protoimpl.SizeCache
  587. unknownFields protoimpl.UnknownFields
  588. Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"` //问题
  589. Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"` //答案
  590. AnswerId int64 `protobuf:"varint,3,opt,name=answerId,proto3" json:"answerId,omitempty"` //答案标识
  591. EntUserId int64 `protobuf:"varint,5,opt,name=entUserId,proto3" json:"entUserId,omitempty"`
  592. EntId int64 `protobuf:"varint,6,opt,name=entId,proto3" json:"entId,omitempty"` //企业id
  593. KnowledgeId int64 `protobuf:"varint,7,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"` //知识库id
  594. AppId string `protobuf:"bytes,8,opt,name=appId,proto3" json:"appId,omitempty"`
  595. }
  596. func (x *KnowledgeEditReq) Reset() {
  597. *x = KnowledgeEditReq{}
  598. if protoimpl.UnsafeEnabled {
  599. mi := &file_knowledge_proto_msgTypes[10]
  600. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  601. ms.StoreMessageInfo(mi)
  602. }
  603. }
  604. func (x *KnowledgeEditReq) String() string {
  605. return protoimpl.X.MessageStringOf(x)
  606. }
  607. func (*KnowledgeEditReq) ProtoMessage() {}
  608. func (x *KnowledgeEditReq) ProtoReflect() protoreflect.Message {
  609. mi := &file_knowledge_proto_msgTypes[10]
  610. if protoimpl.UnsafeEnabled && x != nil {
  611. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  612. if ms.LoadMessageInfo() == nil {
  613. ms.StoreMessageInfo(mi)
  614. }
  615. return ms
  616. }
  617. return mi.MessageOf(x)
  618. }
  619. // Deprecated: Use KnowledgeEditReq.ProtoReflect.Descriptor instead.
  620. func (*KnowledgeEditReq) Descriptor() ([]byte, []int) {
  621. return file_knowledge_proto_rawDescGZIP(), []int{10}
  622. }
  623. func (x *KnowledgeEditReq) GetQuestion() string {
  624. if x != nil {
  625. return x.Question
  626. }
  627. return ""
  628. }
  629. func (x *KnowledgeEditReq) GetAnswer() string {
  630. if x != nil {
  631. return x.Answer
  632. }
  633. return ""
  634. }
  635. func (x *KnowledgeEditReq) GetAnswerId() int64 {
  636. if x != nil {
  637. return x.AnswerId
  638. }
  639. return 0
  640. }
  641. func (x *KnowledgeEditReq) GetEntUserId() int64 {
  642. if x != nil {
  643. return x.EntUserId
  644. }
  645. return 0
  646. }
  647. func (x *KnowledgeEditReq) GetEntId() int64 {
  648. if x != nil {
  649. return x.EntId
  650. }
  651. return 0
  652. }
  653. func (x *KnowledgeEditReq) GetKnowledgeId() int64 {
  654. if x != nil {
  655. return x.KnowledgeId
  656. }
  657. return 0
  658. }
  659. func (x *KnowledgeEditReq) GetAppId() string {
  660. if x != nil {
  661. return x.AppId
  662. }
  663. return ""
  664. }
  665. type InfoResponse struct {
  666. state protoimpl.MessageState
  667. sizeCache protoimpl.SizeCache
  668. unknownFields protoimpl.UnknownFields
  669. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
  670. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
  671. Data *KnowledgeEntity `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //响应内容
  672. }
  673. func (x *InfoResponse) Reset() {
  674. *x = InfoResponse{}
  675. if protoimpl.UnsafeEnabled {
  676. mi := &file_knowledge_proto_msgTypes[11]
  677. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  678. ms.StoreMessageInfo(mi)
  679. }
  680. }
  681. func (x *InfoResponse) String() string {
  682. return protoimpl.X.MessageStringOf(x)
  683. }
  684. func (*InfoResponse) ProtoMessage() {}
  685. func (x *InfoResponse) ProtoReflect() protoreflect.Message {
  686. mi := &file_knowledge_proto_msgTypes[11]
  687. if protoimpl.UnsafeEnabled && x != nil {
  688. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  689. if ms.LoadMessageInfo() == nil {
  690. ms.StoreMessageInfo(mi)
  691. }
  692. return ms
  693. }
  694. return mi.MessageOf(x)
  695. }
  696. // Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead.
  697. func (*InfoResponse) Descriptor() ([]byte, []int) {
  698. return file_knowledge_proto_rawDescGZIP(), []int{11}
  699. }
  700. func (x *InfoResponse) GetErrorCode() int64 {
  701. if x != nil {
  702. return x.ErrorCode
  703. }
  704. return 0
  705. }
  706. func (x *InfoResponse) GetErrorMsg() string {
  707. if x != nil {
  708. return x.ErrorMsg
  709. }
  710. return ""
  711. }
  712. func (x *InfoResponse) GetData() *KnowledgeEntity {
  713. if x != nil {
  714. return x.Data
  715. }
  716. return nil
  717. }
  718. type KnowledgeDelReq struct {
  719. state protoimpl.MessageState
  720. sizeCache protoimpl.SizeCache
  721. unknownFields protoimpl.UnknownFields
  722. AnswerId int64 `protobuf:"varint,1,opt,name=answerId,proto3" json:"answerId,omitempty"`
  723. }
  724. func (x *KnowledgeDelReq) Reset() {
  725. *x = KnowledgeDelReq{}
  726. if protoimpl.UnsafeEnabled {
  727. mi := &file_knowledge_proto_msgTypes[12]
  728. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  729. ms.StoreMessageInfo(mi)
  730. }
  731. }
  732. func (x *KnowledgeDelReq) String() string {
  733. return protoimpl.X.MessageStringOf(x)
  734. }
  735. func (*KnowledgeDelReq) ProtoMessage() {}
  736. func (x *KnowledgeDelReq) ProtoReflect() protoreflect.Message {
  737. mi := &file_knowledge_proto_msgTypes[12]
  738. if protoimpl.UnsafeEnabled && x != nil {
  739. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  740. if ms.LoadMessageInfo() == nil {
  741. ms.StoreMessageInfo(mi)
  742. }
  743. return ms
  744. }
  745. return mi.MessageOf(x)
  746. }
  747. // Deprecated: Use KnowledgeDelReq.ProtoReflect.Descriptor instead.
  748. func (*KnowledgeDelReq) Descriptor() ([]byte, []int) {
  749. return file_knowledge_proto_rawDescGZIP(), []int{12}
  750. }
  751. func (x *KnowledgeDelReq) GetAnswerId() int64 {
  752. if x != nil {
  753. return x.AnswerId
  754. }
  755. return 0
  756. }
  757. type CommonPhrasesAddReq struct {
  758. state protoimpl.MessageState
  759. sizeCache protoimpl.SizeCache
  760. unknownFields protoimpl.UnknownFields
  761. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  762. Classify string `protobuf:"bytes,2,opt,name=classify,proto3" json:"classify,omitempty"` //分类
  763. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` //话术内容
  764. EntId int64 `protobuf:"varint,4,opt,name=entId,proto3" json:"entId,omitempty"` //企业id
  765. AppId string `protobuf:"bytes,5,opt,name=appId,proto3" json:"appId,omitempty"`
  766. EntUserId int64 `protobuf:"varint,6,opt,name=entUserId,proto3" json:"entUserId,omitempty"`
  767. }
  768. func (x *CommonPhrasesAddReq) Reset() {
  769. *x = CommonPhrasesAddReq{}
  770. if protoimpl.UnsafeEnabled {
  771. mi := &file_knowledge_proto_msgTypes[13]
  772. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  773. ms.StoreMessageInfo(mi)
  774. }
  775. }
  776. func (x *CommonPhrasesAddReq) String() string {
  777. return protoimpl.X.MessageStringOf(x)
  778. }
  779. func (*CommonPhrasesAddReq) ProtoMessage() {}
  780. func (x *CommonPhrasesAddReq) ProtoReflect() protoreflect.Message {
  781. mi := &file_knowledge_proto_msgTypes[13]
  782. if protoimpl.UnsafeEnabled && x != nil {
  783. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  784. if ms.LoadMessageInfo() == nil {
  785. ms.StoreMessageInfo(mi)
  786. }
  787. return ms
  788. }
  789. return mi.MessageOf(x)
  790. }
  791. // Deprecated: Use CommonPhrasesAddReq.ProtoReflect.Descriptor instead.
  792. func (*CommonPhrasesAddReq) Descriptor() ([]byte, []int) {
  793. return file_knowledge_proto_rawDescGZIP(), []int{13}
  794. }
  795. func (x *CommonPhrasesAddReq) GetId() int64 {
  796. if x != nil {
  797. return x.Id
  798. }
  799. return 0
  800. }
  801. func (x *CommonPhrasesAddReq) GetClassify() string {
  802. if x != nil {
  803. return x.Classify
  804. }
  805. return ""
  806. }
  807. func (x *CommonPhrasesAddReq) GetContent() string {
  808. if x != nil {
  809. return x.Content
  810. }
  811. return ""
  812. }
  813. func (x *CommonPhrasesAddReq) GetEntId() int64 {
  814. if x != nil {
  815. return x.EntId
  816. }
  817. return 0
  818. }
  819. func (x *CommonPhrasesAddReq) GetAppId() string {
  820. if x != nil {
  821. return x.AppId
  822. }
  823. return ""
  824. }
  825. func (x *CommonPhrasesAddReq) GetEntUserId() int64 {
  826. if x != nil {
  827. return x.EntUserId
  828. }
  829. return 0
  830. }
  831. type CommonPhrasesInfoReq struct {
  832. state protoimpl.MessageState
  833. sizeCache protoimpl.SizeCache
  834. unknownFields protoimpl.UnknownFields
  835. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  836. }
  837. func (x *CommonPhrasesInfoReq) Reset() {
  838. *x = CommonPhrasesInfoReq{}
  839. if protoimpl.UnsafeEnabled {
  840. mi := &file_knowledge_proto_msgTypes[14]
  841. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  842. ms.StoreMessageInfo(mi)
  843. }
  844. }
  845. func (x *CommonPhrasesInfoReq) String() string {
  846. return protoimpl.X.MessageStringOf(x)
  847. }
  848. func (*CommonPhrasesInfoReq) ProtoMessage() {}
  849. func (x *CommonPhrasesInfoReq) ProtoReflect() protoreflect.Message {
  850. mi := &file_knowledge_proto_msgTypes[14]
  851. if protoimpl.UnsafeEnabled && x != nil {
  852. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  853. if ms.LoadMessageInfo() == nil {
  854. ms.StoreMessageInfo(mi)
  855. }
  856. return ms
  857. }
  858. return mi.MessageOf(x)
  859. }
  860. // Deprecated: Use CommonPhrasesInfoReq.ProtoReflect.Descriptor instead.
  861. func (*CommonPhrasesInfoReq) Descriptor() ([]byte, []int) {
  862. return file_knowledge_proto_rawDescGZIP(), []int{14}
  863. }
  864. func (x *CommonPhrasesInfoReq) GetId() int64 {
  865. if x != nil {
  866. return x.Id
  867. }
  868. return 0
  869. }
  870. type CommonPhrasesListReq struct {
  871. state protoimpl.MessageState
  872. sizeCache protoimpl.SizeCache
  873. unknownFields protoimpl.UnknownFields
  874. PageSize int64 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //每页数据量
  875. PageIndex int64 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` //页码;默认第一页
  876. EntId int64 `protobuf:"varint,3,opt,name=entId,proto3" json:"entId,omitempty"` //企业id
  877. AppId string `protobuf:"bytes,4,opt,name=appId,proto3" json:"appId,omitempty"`
  878. }
  879. func (x *CommonPhrasesListReq) Reset() {
  880. *x = CommonPhrasesListReq{}
  881. if protoimpl.UnsafeEnabled {
  882. mi := &file_knowledge_proto_msgTypes[15]
  883. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  884. ms.StoreMessageInfo(mi)
  885. }
  886. }
  887. func (x *CommonPhrasesListReq) String() string {
  888. return protoimpl.X.MessageStringOf(x)
  889. }
  890. func (*CommonPhrasesListReq) ProtoMessage() {}
  891. func (x *CommonPhrasesListReq) ProtoReflect() protoreflect.Message {
  892. mi := &file_knowledge_proto_msgTypes[15]
  893. if protoimpl.UnsafeEnabled && x != nil {
  894. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  895. if ms.LoadMessageInfo() == nil {
  896. ms.StoreMessageInfo(mi)
  897. }
  898. return ms
  899. }
  900. return mi.MessageOf(x)
  901. }
  902. // Deprecated: Use CommonPhrasesListReq.ProtoReflect.Descriptor instead.
  903. func (*CommonPhrasesListReq) Descriptor() ([]byte, []int) {
  904. return file_knowledge_proto_rawDescGZIP(), []int{15}
  905. }
  906. func (x *CommonPhrasesListReq) GetPageSize() int64 {
  907. if x != nil {
  908. return x.PageSize
  909. }
  910. return 0
  911. }
  912. func (x *CommonPhrasesListReq) GetPageIndex() int64 {
  913. if x != nil {
  914. return x.PageIndex
  915. }
  916. return 0
  917. }
  918. func (x *CommonPhrasesListReq) GetEntId() int64 {
  919. if x != nil {
  920. return x.EntId
  921. }
  922. return 0
  923. }
  924. func (x *CommonPhrasesListReq) GetAppId() string {
  925. if x != nil {
  926. return x.AppId
  927. }
  928. return ""
  929. }
  930. type CommonPhrases struct {
  931. state protoimpl.MessageState
  932. sizeCache protoimpl.SizeCache
  933. unknownFields protoimpl.UnknownFields
  934. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  935. Classify string `protobuf:"bytes,2,opt,name=classify,proto3" json:"classify,omitempty"` //分类
  936. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` //话术内容
  937. }
  938. func (x *CommonPhrases) Reset() {
  939. *x = CommonPhrases{}
  940. if protoimpl.UnsafeEnabled {
  941. mi := &file_knowledge_proto_msgTypes[16]
  942. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  943. ms.StoreMessageInfo(mi)
  944. }
  945. }
  946. func (x *CommonPhrases) String() string {
  947. return protoimpl.X.MessageStringOf(x)
  948. }
  949. func (*CommonPhrases) ProtoMessage() {}
  950. func (x *CommonPhrases) ProtoReflect() protoreflect.Message {
  951. mi := &file_knowledge_proto_msgTypes[16]
  952. if protoimpl.UnsafeEnabled && x != nil {
  953. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  954. if ms.LoadMessageInfo() == nil {
  955. ms.StoreMessageInfo(mi)
  956. }
  957. return ms
  958. }
  959. return mi.MessageOf(x)
  960. }
  961. // Deprecated: Use CommonPhrases.ProtoReflect.Descriptor instead.
  962. func (*CommonPhrases) Descriptor() ([]byte, []int) {
  963. return file_knowledge_proto_rawDescGZIP(), []int{16}
  964. }
  965. func (x *CommonPhrases) GetId() int64 {
  966. if x != nil {
  967. return x.Id
  968. }
  969. return 0
  970. }
  971. func (x *CommonPhrases) GetClassify() string {
  972. if x != nil {
  973. return x.Classify
  974. }
  975. return ""
  976. }
  977. func (x *CommonPhrases) GetContent() string {
  978. if x != nil {
  979. return x.Content
  980. }
  981. return ""
  982. }
  983. type CommonPhrasesInfoResp struct {
  984. state protoimpl.MessageState
  985. sizeCache protoimpl.SizeCache
  986. unknownFields protoimpl.UnknownFields
  987. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
  988. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
  989. Data *CommonPhrases `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  990. }
  991. func (x *CommonPhrasesInfoResp) Reset() {
  992. *x = CommonPhrasesInfoResp{}
  993. if protoimpl.UnsafeEnabled {
  994. mi := &file_knowledge_proto_msgTypes[17]
  995. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  996. ms.StoreMessageInfo(mi)
  997. }
  998. }
  999. func (x *CommonPhrasesInfoResp) String() string {
  1000. return protoimpl.X.MessageStringOf(x)
  1001. }
  1002. func (*CommonPhrasesInfoResp) ProtoMessage() {}
  1003. func (x *CommonPhrasesInfoResp) ProtoReflect() protoreflect.Message {
  1004. mi := &file_knowledge_proto_msgTypes[17]
  1005. if protoimpl.UnsafeEnabled && x != nil {
  1006. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1007. if ms.LoadMessageInfo() == nil {
  1008. ms.StoreMessageInfo(mi)
  1009. }
  1010. return ms
  1011. }
  1012. return mi.MessageOf(x)
  1013. }
  1014. // Deprecated: Use CommonPhrasesInfoResp.ProtoReflect.Descriptor instead.
  1015. func (*CommonPhrasesInfoResp) Descriptor() ([]byte, []int) {
  1016. return file_knowledge_proto_rawDescGZIP(), []int{17}
  1017. }
  1018. func (x *CommonPhrasesInfoResp) GetErrorCode() int64 {
  1019. if x != nil {
  1020. return x.ErrorCode
  1021. }
  1022. return 0
  1023. }
  1024. func (x *CommonPhrasesInfoResp) GetErrorMsg() string {
  1025. if x != nil {
  1026. return x.ErrorMsg
  1027. }
  1028. return ""
  1029. }
  1030. func (x *CommonPhrasesInfoResp) GetData() *CommonPhrases {
  1031. if x != nil {
  1032. return x.Data
  1033. }
  1034. return nil
  1035. }
  1036. type CommonPhrasesList struct {
  1037. state protoimpl.MessageState
  1038. sizeCache protoimpl.SizeCache
  1039. unknownFields protoimpl.UnknownFields
  1040. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
  1041. Data []*CommonPhrases `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"`
  1042. }
  1043. func (x *CommonPhrasesList) Reset() {
  1044. *x = CommonPhrasesList{}
  1045. if protoimpl.UnsafeEnabled {
  1046. mi := &file_knowledge_proto_msgTypes[18]
  1047. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1048. ms.StoreMessageInfo(mi)
  1049. }
  1050. }
  1051. func (x *CommonPhrasesList) String() string {
  1052. return protoimpl.X.MessageStringOf(x)
  1053. }
  1054. func (*CommonPhrasesList) ProtoMessage() {}
  1055. func (x *CommonPhrasesList) ProtoReflect() protoreflect.Message {
  1056. mi := &file_knowledge_proto_msgTypes[18]
  1057. if protoimpl.UnsafeEnabled && x != nil {
  1058. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1059. if ms.LoadMessageInfo() == nil {
  1060. ms.StoreMessageInfo(mi)
  1061. }
  1062. return ms
  1063. }
  1064. return mi.MessageOf(x)
  1065. }
  1066. // Deprecated: Use CommonPhrasesList.ProtoReflect.Descriptor instead.
  1067. func (*CommonPhrasesList) Descriptor() ([]byte, []int) {
  1068. return file_knowledge_proto_rawDescGZIP(), []int{18}
  1069. }
  1070. func (x *CommonPhrasesList) GetTotal() int64 {
  1071. if x != nil {
  1072. return x.Total
  1073. }
  1074. return 0
  1075. }
  1076. func (x *CommonPhrasesList) GetData() []*CommonPhrases {
  1077. if x != nil {
  1078. return x.Data
  1079. }
  1080. return nil
  1081. }
  1082. type CommonPhrasesListResp struct {
  1083. state protoimpl.MessageState
  1084. sizeCache protoimpl.SizeCache
  1085. unknownFields protoimpl.UnknownFields
  1086. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
  1087. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
  1088. Data *CommonPhrasesList `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //响应内容
  1089. }
  1090. func (x *CommonPhrasesListResp) Reset() {
  1091. *x = CommonPhrasesListResp{}
  1092. if protoimpl.UnsafeEnabled {
  1093. mi := &file_knowledge_proto_msgTypes[19]
  1094. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1095. ms.StoreMessageInfo(mi)
  1096. }
  1097. }
  1098. func (x *CommonPhrasesListResp) String() string {
  1099. return protoimpl.X.MessageStringOf(x)
  1100. }
  1101. func (*CommonPhrasesListResp) ProtoMessage() {}
  1102. func (x *CommonPhrasesListResp) ProtoReflect() protoreflect.Message {
  1103. mi := &file_knowledge_proto_msgTypes[19]
  1104. if protoimpl.UnsafeEnabled && x != nil {
  1105. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1106. if ms.LoadMessageInfo() == nil {
  1107. ms.StoreMessageInfo(mi)
  1108. }
  1109. return ms
  1110. }
  1111. return mi.MessageOf(x)
  1112. }
  1113. // Deprecated: Use CommonPhrasesListResp.ProtoReflect.Descriptor instead.
  1114. func (*CommonPhrasesListResp) Descriptor() ([]byte, []int) {
  1115. return file_knowledge_proto_rawDescGZIP(), []int{19}
  1116. }
  1117. func (x *CommonPhrasesListResp) GetErrorCode() int64 {
  1118. if x != nil {
  1119. return x.ErrorCode
  1120. }
  1121. return 0
  1122. }
  1123. func (x *CommonPhrasesListResp) GetErrorMsg() string {
  1124. if x != nil {
  1125. return x.ErrorMsg
  1126. }
  1127. return ""
  1128. }
  1129. func (x *CommonPhrasesListResp) GetData() *CommonPhrasesList {
  1130. if x != nil {
  1131. return x.Data
  1132. }
  1133. return nil
  1134. }
  1135. type CommonPhrasesClassListReq struct {
  1136. state protoimpl.MessageState
  1137. sizeCache protoimpl.SizeCache
  1138. unknownFields protoimpl.UnknownFields
  1139. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
  1140. EntId int64 `protobuf:"varint,2,opt,name=entId,proto3" json:"entId,omitempty"` //企业id
  1141. AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId,omitempty"`
  1142. }
  1143. func (x *CommonPhrasesClassListReq) Reset() {
  1144. *x = CommonPhrasesClassListReq{}
  1145. if protoimpl.UnsafeEnabled {
  1146. mi := &file_knowledge_proto_msgTypes[20]
  1147. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1148. ms.StoreMessageInfo(mi)
  1149. }
  1150. }
  1151. func (x *CommonPhrasesClassListReq) String() string {
  1152. return protoimpl.X.MessageStringOf(x)
  1153. }
  1154. func (*CommonPhrasesClassListReq) ProtoMessage() {}
  1155. func (x *CommonPhrasesClassListReq) ProtoReflect() protoreflect.Message {
  1156. mi := &file_knowledge_proto_msgTypes[20]
  1157. if protoimpl.UnsafeEnabled && x != nil {
  1158. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1159. if ms.LoadMessageInfo() == nil {
  1160. ms.StoreMessageInfo(mi)
  1161. }
  1162. return ms
  1163. }
  1164. return mi.MessageOf(x)
  1165. }
  1166. // Deprecated: Use CommonPhrasesClassListReq.ProtoReflect.Descriptor instead.
  1167. func (*CommonPhrasesClassListReq) Descriptor() ([]byte, []int) {
  1168. return file_knowledge_proto_rawDescGZIP(), []int{20}
  1169. }
  1170. func (x *CommonPhrasesClassListReq) GetQuery() string {
  1171. if x != nil {
  1172. return x.Query
  1173. }
  1174. return ""
  1175. }
  1176. func (x *CommonPhrasesClassListReq) GetEntId() int64 {
  1177. if x != nil {
  1178. return x.EntId
  1179. }
  1180. return 0
  1181. }
  1182. func (x *CommonPhrasesClassListReq) GetAppId() string {
  1183. if x != nil {
  1184. return x.AppId
  1185. }
  1186. return ""
  1187. }
  1188. type Content struct {
  1189. state protoimpl.MessageState
  1190. sizeCache protoimpl.SizeCache
  1191. unknownFields protoimpl.UnknownFields
  1192. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
  1193. }
  1194. func (x *Content) Reset() {
  1195. *x = Content{}
  1196. if protoimpl.UnsafeEnabled {
  1197. mi := &file_knowledge_proto_msgTypes[21]
  1198. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1199. ms.StoreMessageInfo(mi)
  1200. }
  1201. }
  1202. func (x *Content) String() string {
  1203. return protoimpl.X.MessageStringOf(x)
  1204. }
  1205. func (*Content) ProtoMessage() {}
  1206. func (x *Content) ProtoReflect() protoreflect.Message {
  1207. mi := &file_knowledge_proto_msgTypes[21]
  1208. if protoimpl.UnsafeEnabled && x != nil {
  1209. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1210. if ms.LoadMessageInfo() == nil {
  1211. ms.StoreMessageInfo(mi)
  1212. }
  1213. return ms
  1214. }
  1215. return mi.MessageOf(x)
  1216. }
  1217. // Deprecated: Use Content.ProtoReflect.Descriptor instead.
  1218. func (*Content) Descriptor() ([]byte, []int) {
  1219. return file_knowledge_proto_rawDescGZIP(), []int{21}
  1220. }
  1221. func (x *Content) GetContent() string {
  1222. if x != nil {
  1223. return x.Content
  1224. }
  1225. return ""
  1226. }
  1227. type CommonPhrasesClassListData struct {
  1228. state protoimpl.MessageState
  1229. sizeCache protoimpl.SizeCache
  1230. unknownFields protoimpl.UnknownFields
  1231. Classify string `protobuf:"bytes,1,opt,name=classify,proto3" json:"classify,omitempty"`
  1232. ClassList []*Content `protobuf:"bytes,2,rep,name=classList,proto3" json:"classList,omitempty"`
  1233. }
  1234. func (x *CommonPhrasesClassListData) Reset() {
  1235. *x = CommonPhrasesClassListData{}
  1236. if protoimpl.UnsafeEnabled {
  1237. mi := &file_knowledge_proto_msgTypes[22]
  1238. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1239. ms.StoreMessageInfo(mi)
  1240. }
  1241. }
  1242. func (x *CommonPhrasesClassListData) String() string {
  1243. return protoimpl.X.MessageStringOf(x)
  1244. }
  1245. func (*CommonPhrasesClassListData) ProtoMessage() {}
  1246. func (x *CommonPhrasesClassListData) ProtoReflect() protoreflect.Message {
  1247. mi := &file_knowledge_proto_msgTypes[22]
  1248. if protoimpl.UnsafeEnabled && x != nil {
  1249. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1250. if ms.LoadMessageInfo() == nil {
  1251. ms.StoreMessageInfo(mi)
  1252. }
  1253. return ms
  1254. }
  1255. return mi.MessageOf(x)
  1256. }
  1257. // Deprecated: Use CommonPhrasesClassListData.ProtoReflect.Descriptor instead.
  1258. func (*CommonPhrasesClassListData) Descriptor() ([]byte, []int) {
  1259. return file_knowledge_proto_rawDescGZIP(), []int{22}
  1260. }
  1261. func (x *CommonPhrasesClassListData) GetClassify() string {
  1262. if x != nil {
  1263. return x.Classify
  1264. }
  1265. return ""
  1266. }
  1267. func (x *CommonPhrasesClassListData) GetClassList() []*Content {
  1268. if x != nil {
  1269. return x.ClassList
  1270. }
  1271. return nil
  1272. }
  1273. type CommonPhrasesClassListResp struct {
  1274. state protoimpl.MessageState
  1275. sizeCache protoimpl.SizeCache
  1276. unknownFields protoimpl.UnknownFields
  1277. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
  1278. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
  1279. Data []*CommonPhrasesClassListData `protobuf:"bytes,3,rep,name=Data,proto3" json:"Data,omitempty"`
  1280. }
  1281. func (x *CommonPhrasesClassListResp) Reset() {
  1282. *x = CommonPhrasesClassListResp{}
  1283. if protoimpl.UnsafeEnabled {
  1284. mi := &file_knowledge_proto_msgTypes[23]
  1285. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1286. ms.StoreMessageInfo(mi)
  1287. }
  1288. }
  1289. func (x *CommonPhrasesClassListResp) String() string {
  1290. return protoimpl.X.MessageStringOf(x)
  1291. }
  1292. func (*CommonPhrasesClassListResp) ProtoMessage() {}
  1293. func (x *CommonPhrasesClassListResp) ProtoReflect() protoreflect.Message {
  1294. mi := &file_knowledge_proto_msgTypes[23]
  1295. if protoimpl.UnsafeEnabled && x != nil {
  1296. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1297. if ms.LoadMessageInfo() == nil {
  1298. ms.StoreMessageInfo(mi)
  1299. }
  1300. return ms
  1301. }
  1302. return mi.MessageOf(x)
  1303. }
  1304. // Deprecated: Use CommonPhrasesClassListResp.ProtoReflect.Descriptor instead.
  1305. func (*CommonPhrasesClassListResp) Descriptor() ([]byte, []int) {
  1306. return file_knowledge_proto_rawDescGZIP(), []int{23}
  1307. }
  1308. func (x *CommonPhrasesClassListResp) GetErrorCode() int64 {
  1309. if x != nil {
  1310. return x.ErrorCode
  1311. }
  1312. return 0
  1313. }
  1314. func (x *CommonPhrasesClassListResp) GetErrorMsg() string {
  1315. if x != nil {
  1316. return x.ErrorMsg
  1317. }
  1318. return ""
  1319. }
  1320. func (x *CommonPhrasesClassListResp) GetData() []*CommonPhrasesClassListData {
  1321. if x != nil {
  1322. return x.Data
  1323. }
  1324. return nil
  1325. }
  1326. type CommonPhraseQueryReq struct {
  1327. state protoimpl.MessageState
  1328. sizeCache protoimpl.SizeCache
  1329. unknownFields protoimpl.UnknownFields
  1330. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
  1331. EntId int64 `protobuf:"varint,2,opt,name=entId,proto3" json:"entId,omitempty"`
  1332. AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId,omitempty"`
  1333. }
  1334. func (x *CommonPhraseQueryReq) Reset() {
  1335. *x = CommonPhraseQueryReq{}
  1336. if protoimpl.UnsafeEnabled {
  1337. mi := &file_knowledge_proto_msgTypes[24]
  1338. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1339. ms.StoreMessageInfo(mi)
  1340. }
  1341. }
  1342. func (x *CommonPhraseQueryReq) String() string {
  1343. return protoimpl.X.MessageStringOf(x)
  1344. }
  1345. func (*CommonPhraseQueryReq) ProtoMessage() {}
  1346. func (x *CommonPhraseQueryReq) ProtoReflect() protoreflect.Message {
  1347. mi := &file_knowledge_proto_msgTypes[24]
  1348. if protoimpl.UnsafeEnabled && x != nil {
  1349. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1350. if ms.LoadMessageInfo() == nil {
  1351. ms.StoreMessageInfo(mi)
  1352. }
  1353. return ms
  1354. }
  1355. return mi.MessageOf(x)
  1356. }
  1357. // Deprecated: Use CommonPhraseQueryReq.ProtoReflect.Descriptor instead.
  1358. func (*CommonPhraseQueryReq) Descriptor() ([]byte, []int) {
  1359. return file_knowledge_proto_rawDescGZIP(), []int{24}
  1360. }
  1361. func (x *CommonPhraseQueryReq) GetQuery() string {
  1362. if x != nil {
  1363. return x.Query
  1364. }
  1365. return ""
  1366. }
  1367. func (x *CommonPhraseQueryReq) GetEntId() int64 {
  1368. if x != nil {
  1369. return x.EntId
  1370. }
  1371. return 0
  1372. }
  1373. func (x *CommonPhraseQueryReq) GetAppId() string {
  1374. if x != nil {
  1375. return x.AppId
  1376. }
  1377. return ""
  1378. }
  1379. type CommonPhraseQueryResp struct {
  1380. state protoimpl.MessageState
  1381. sizeCache protoimpl.SizeCache
  1382. unknownFields protoimpl.UnknownFields
  1383. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
  1384. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
  1385. Data []*Content `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
  1386. }
  1387. func (x *CommonPhraseQueryResp) Reset() {
  1388. *x = CommonPhraseQueryResp{}
  1389. if protoimpl.UnsafeEnabled {
  1390. mi := &file_knowledge_proto_msgTypes[25]
  1391. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1392. ms.StoreMessageInfo(mi)
  1393. }
  1394. }
  1395. func (x *CommonPhraseQueryResp) String() string {
  1396. return protoimpl.X.MessageStringOf(x)
  1397. }
  1398. func (*CommonPhraseQueryResp) ProtoMessage() {}
  1399. func (x *CommonPhraseQueryResp) ProtoReflect() protoreflect.Message {
  1400. mi := &file_knowledge_proto_msgTypes[25]
  1401. if protoimpl.UnsafeEnabled && x != nil {
  1402. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1403. if ms.LoadMessageInfo() == nil {
  1404. ms.StoreMessageInfo(mi)
  1405. }
  1406. return ms
  1407. }
  1408. return mi.MessageOf(x)
  1409. }
  1410. // Deprecated: Use CommonPhraseQueryResp.ProtoReflect.Descriptor instead.
  1411. func (*CommonPhraseQueryResp) Descriptor() ([]byte, []int) {
  1412. return file_knowledge_proto_rawDescGZIP(), []int{25}
  1413. }
  1414. func (x *CommonPhraseQueryResp) GetErrorCode() int64 {
  1415. if x != nil {
  1416. return x.ErrorCode
  1417. }
  1418. return 0
  1419. }
  1420. func (x *CommonPhraseQueryResp) GetErrorMsg() string {
  1421. if x != nil {
  1422. return x.ErrorMsg
  1423. }
  1424. return ""
  1425. }
  1426. func (x *CommonPhraseQueryResp) GetData() []*Content {
  1427. if x != nil {
  1428. return x.Data
  1429. }
  1430. return nil
  1431. }
  1432. type KeywordListResp struct {
  1433. state protoimpl.MessageState
  1434. sizeCache protoimpl.SizeCache
  1435. unknownFields protoimpl.UnknownFields
  1436. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
  1437. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
  1438. Data []*KeywordList `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
  1439. }
  1440. func (x *KeywordListResp) Reset() {
  1441. *x = KeywordListResp{}
  1442. if protoimpl.UnsafeEnabled {
  1443. mi := &file_knowledge_proto_msgTypes[26]
  1444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1445. ms.StoreMessageInfo(mi)
  1446. }
  1447. }
  1448. func (x *KeywordListResp) String() string {
  1449. return protoimpl.X.MessageStringOf(x)
  1450. }
  1451. func (*KeywordListResp) ProtoMessage() {}
  1452. func (x *KeywordListResp) ProtoReflect() protoreflect.Message {
  1453. mi := &file_knowledge_proto_msgTypes[26]
  1454. if protoimpl.UnsafeEnabled && x != nil {
  1455. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1456. if ms.LoadMessageInfo() == nil {
  1457. ms.StoreMessageInfo(mi)
  1458. }
  1459. return ms
  1460. }
  1461. return mi.MessageOf(x)
  1462. }
  1463. // Deprecated: Use KeywordListResp.ProtoReflect.Descriptor instead.
  1464. func (*KeywordListResp) Descriptor() ([]byte, []int) {
  1465. return file_knowledge_proto_rawDescGZIP(), []int{26}
  1466. }
  1467. func (x *KeywordListResp) GetErrorCode() int64 {
  1468. if x != nil {
  1469. return x.ErrorCode
  1470. }
  1471. return 0
  1472. }
  1473. func (x *KeywordListResp) GetErrorMsg() string {
  1474. if x != nil {
  1475. return x.ErrorMsg
  1476. }
  1477. return ""
  1478. }
  1479. func (x *KeywordListResp) GetData() []*KeywordList {
  1480. if x != nil {
  1481. return x.Data
  1482. }
  1483. return nil
  1484. }
  1485. type KeywordList struct {
  1486. state protoimpl.MessageState
  1487. sizeCache protoimpl.SizeCache
  1488. unknownFields protoimpl.UnknownFields
  1489. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1490. State int64 `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
  1491. Mold int64 `protobuf:"varint,3,opt,name=mold,proto3" json:"mold,omitempty"`
  1492. }
  1493. func (x *KeywordList) Reset() {
  1494. *x = KeywordList{}
  1495. if protoimpl.UnsafeEnabled {
  1496. mi := &file_knowledge_proto_msgTypes[27]
  1497. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1498. ms.StoreMessageInfo(mi)
  1499. }
  1500. }
  1501. func (x *KeywordList) String() string {
  1502. return protoimpl.X.MessageStringOf(x)
  1503. }
  1504. func (*KeywordList) ProtoMessage() {}
  1505. func (x *KeywordList) ProtoReflect() protoreflect.Message {
  1506. mi := &file_knowledge_proto_msgTypes[27]
  1507. if protoimpl.UnsafeEnabled && x != nil {
  1508. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1509. if ms.LoadMessageInfo() == nil {
  1510. ms.StoreMessageInfo(mi)
  1511. }
  1512. return ms
  1513. }
  1514. return mi.MessageOf(x)
  1515. }
  1516. // Deprecated: Use KeywordList.ProtoReflect.Descriptor instead.
  1517. func (*KeywordList) Descriptor() ([]byte, []int) {
  1518. return file_knowledge_proto_rawDescGZIP(), []int{27}
  1519. }
  1520. func (x *KeywordList) GetName() string {
  1521. if x != nil {
  1522. return x.Name
  1523. }
  1524. return ""
  1525. }
  1526. func (x *KeywordList) GetState() int64 {
  1527. if x != nil {
  1528. return x.State
  1529. }
  1530. return 0
  1531. }
  1532. func (x *KeywordList) GetMold() int64 {
  1533. if x != nil {
  1534. return x.Mold
  1535. }
  1536. return 0
  1537. }
  1538. var File_knowledge_proto protoreflect.FileDescriptor
  1539. var file_knowledge_proto_rawDesc = []byte{
  1540. 0x0a, 0x0f, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1541. 0x6f, 0x12, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x4f, 0x0a, 0x08, 0x51,
  1542. 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x03, 0x5f, 0x69, 0x64, 0x18, 0x01,
  1543. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73,
  1544. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x65, 0x73,
  1545. 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x18, 0x03,
  1546. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x22, 0x8a, 0x01, 0x0a,
  1547. 0x0a, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x71,
  1548. 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71,
  1549. 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65,
  1550. 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12,
  1551. 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
  1552. 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x04,
  1553. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65,
  1554. 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  1555. 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x0b, 0x41, 0x64, 0x64,
  1556. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f,
  1557. 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72,
  1558. 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72,
  1559. 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f,
  1560. 0x72, 0x4d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
  1561. 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x7d, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64,
  1562. 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x65,
  1563. 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x65,
  1564. 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x45, 0x6e,
  1565. 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74,
  1566. 0x45, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
  1567. 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71,
  1568. 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65,
  1569. 0x71, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x74, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x41,
  1570. 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72,
  1571. 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65,
  1572. 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f,
  1573. 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72,
  1574. 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
  1575. 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x51,
  1576. 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x79, 0x0a,
  1577. 0x13, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72,
  1578. 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f,
  1579. 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43,
  1580. 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67,
  1581. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67,
  1582. 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,
  1583. 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69,
  1584. 0x6f, 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4f, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74,
  1585. 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20,
  1586. 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x2d, 0x0a, 0x04, 0x44, 0x61,
  1587. 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c,
  1588. 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x45, 0x6e, 0x74,
  1589. 0x69, 0x74, 0x79, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x5d, 0x0a, 0x0b, 0x4c, 0x69, 0x73,
  1590. 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65,
  1591. 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
  1592. 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65,
  1593. 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64,
  1594. 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  1595. 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x72, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74,
  1596. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f,
  1597. 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72,
  1598. 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72,
  1599. 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f,
  1600. 0x72, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
  1601. 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x69,
  1602. 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb1, 0x01, 0x0a,
  1603. 0x0f, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79,
  1604. 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
  1605. 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06,
  1606. 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6e,
  1607. 0x73, 0x77, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x49, 0x64,
  1608. 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x49, 0x64,
  1609. 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
  1610. 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  1611. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x20,
  1612. 0x0a, 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20,
  1613. 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x49, 0x64,
  1614. 0x22, 0xce, 0x01, 0x0a, 0x10, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x45, 0x64,
  1615. 0x69, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f,
  1616. 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f,
  1617. 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
  1618. 0x09, 0x52, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x6e, 0x73,
  1619. 0x77, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x6e, 0x73,
  1620. 0x77, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72,
  1621. 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65,
  1622. 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01,
  1623. 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6b, 0x6e, 0x6f,
  1624. 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
  1625. 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61,
  1626. 0x70, 0x70, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49,
  1627. 0x64, 0x22, 0x79, 0x0a, 0x0c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1628. 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
  1629. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65,
  1630. 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
  1631. 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x2d, 0x0a,
  1632. 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x65,
  1633. 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65,
  1634. 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2d, 0x0a, 0x0f,
  1635. 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12,
  1636. 0x1a, 0x0a, 0x08, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1637. 0x03, 0x52, 0x08, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x49, 0x64, 0x22, 0xa5, 0x01, 0x0a, 0x13,
  1638. 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x41, 0x64, 0x64,
  1639. 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  1640. 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x18,
  1641. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x12,
  1642. 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  1643. 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74,
  1644. 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12,
  1645. 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1646. 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72,
  1647. 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65,
  1648. 0x72, 0x49, 0x64, 0x22, 0x26, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72,
  1649. 0x61, 0x73, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  1650. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x7c, 0x0a, 0x14, 0x43,
  1651. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74,
  1652. 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18,
  1653. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
  1654. 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01,
  1655. 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a,
  1656. 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e,
  1657. 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01,
  1658. 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x0d, 0x43, 0x6f, 0x6d,
  1659. 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  1660. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c,
  1661. 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c,
  1662. 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
  1663. 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  1664. 0x22, 0x80, 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73,
  1665. 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72,
  1666. 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  1667. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72,
  1668. 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72,
  1669. 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03,
  1670. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e,
  1671. 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x52, 0x04, 0x64,
  1672. 0x61, 0x74, 0x61, 0x22, 0x56, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72,
  1673. 0x61, 0x73, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61,
  1674. 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x2b,
  1675. 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74,
  1676. 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68,
  1677. 0x72, 0x61, 0x73, 0x65, 0x73, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x84, 0x01, 0x0a, 0x15,
  1678. 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x4c, 0x69, 0x73,
  1679. 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63,
  1680. 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72,
  1681. 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73,
  1682. 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73,
  1683. 0x67, 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1684. 0x1b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
  1685. 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x04, 0x64, 0x61,
  1686. 0x74, 0x61, 0x22, 0x5d, 0x0a, 0x19, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61,
  1687. 0x73, 0x65, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12,
  1688. 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1689. 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02,
  1690. 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61,
  1691. 0x70, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49,
  1692. 0x64, 0x22, 0x23, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07,
  1693. 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
  1694. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x69, 0x0a, 0x1a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1695. 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74,
  1696. 0x44, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79,
  1697. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79,
  1698. 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20,
  1699. 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43,
  1700. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73,
  1701. 0x74, 0x22, 0x92, 0x01, 0x0a, 0x1a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61,
  1702. 0x73, 0x65, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
  1703. 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
  1704. 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
  1705. 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01,
  1706. 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x38, 0x0a, 0x04,
  1707. 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x74, 0x65, 0x6d,
  1708. 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61,
  1709. 0x73, 0x65, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61,
  1710. 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x58, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1711. 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x12, 0x14,
  1712. 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71,
  1713. 0x75, 0x65, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20,
  1714. 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
  1715. 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
  1716. 0x22, 0x7a, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65,
  1717. 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72,
  1718. 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65,
  1719. 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f,
  1720. 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72,
  1721. 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
  1722. 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43,
  1723. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x78, 0x0a, 0x0f,
  1724. 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12,
  1725. 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  1726. 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b,
  1727. 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
  1728. 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x29, 0x0a, 0x04, 0x64,
  1729. 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70,
  1730. 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74,
  1731. 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4b, 0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72,
  1732. 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1733. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
  1734. 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12,
  1735. 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x6d,
  1736. 0x6f, 0x6c, 0x64, 0x32, 0xa3, 0x08, 0x0a, 0x09, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67,
  1737. 0x65, 0x12, 0x3b, 0x0a, 0x0c, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x41, 0x64,
  1738. 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64,
  1739. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
  1740. 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e,
  1741. 0x0a, 0x0d, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12,
  1742. 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52,
  1743. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
  1744. 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42,
  1745. 0x0a, 0x0d, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x45, 0x64, 0x69, 0x74, 0x12,
  1746. 0x1a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6c,
  1747. 0x65, 0x64, 0x67, 0x65, 0x45, 0x64, 0x69, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x74, 0x65,
  1748. 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  1749. 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x49,
  1750. 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b,
  1751. 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x16,
  1752. 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
  1753. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0c, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65,
  1754. 0x64, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x12, 0x19, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
  1755. 0x65, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x52, 0x65,
  1756. 0x71, 0x1a, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64,
  1757. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64,
  1758. 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
  1759. 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a,
  1760. 0x18, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
  1761. 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x49, 0x0a, 0x0f, 0x52, 0x65, 0x63,
  1762. 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x74,
  1763. 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77,
  1764. 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
  1765. 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72,
  1766. 0x52, 0x65, 0x73, 0x70, 0x12, 0x48, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68,
  1767. 0x72, 0x61, 0x73, 0x65, 0x73, 0x41, 0x64, 0x64, 0x12, 0x1d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c,
  1768. 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65,
  1769. 0x73, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
  1770. 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54,
  1771. 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x49,
  1772. 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43,
  1773. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f,
  1774. 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43,
  1775. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f,
  1776. 0x52, 0x65, 0x73, 0x70, 0x12, 0x54, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68,
  1777. 0x72, 0x61, 0x73, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x6d, 0x70,
  1778. 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73,
  1779. 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x74, 0x65, 0x6d, 0x70,
  1780. 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73,
  1781. 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x49, 0x0a, 0x10, 0x43, 0x6f,
  1782. 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x12, 0x1e,
  1783. 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1784. 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x15,
  1785. 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73,
  1786. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50,
  1787. 0x68, 0x72, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23,
  1788. 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1789. 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74,
  1790. 0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43,
  1791. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x43, 0x6c, 0x61, 0x73,
  1792. 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x54, 0x0a, 0x11, 0x43, 0x6f, 0x6d,
  1793. 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1e,
  1794. 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1795. 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x1f,
  1796. 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1797. 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12,
  1798. 0x48, 0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e,
  1799. 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1800. 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x19,
  1801. 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72,
  1802. 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x6b,
  1803. 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1804. }
  1805. var (
  1806. file_knowledge_proto_rawDescOnce sync.Once
  1807. file_knowledge_proto_rawDescData = file_knowledge_proto_rawDesc
  1808. )
  1809. func file_knowledge_proto_rawDescGZIP() []byte {
  1810. file_knowledge_proto_rawDescOnce.Do(func() {
  1811. file_knowledge_proto_rawDescData = protoimpl.X.CompressGZIP(file_knowledge_proto_rawDescData)
  1812. })
  1813. return file_knowledge_proto_rawDescData
  1814. }
  1815. var file_knowledge_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
  1816. var file_knowledge_proto_goTypes = []interface{}{
  1817. (*Question)(nil), // 0: template.Question
  1818. (*AddRequest)(nil), // 1: template.AddRequest
  1819. (*AddResponse)(nil), // 2: template.AddResponse
  1820. (*FindAnswerReq)(nil), // 3: template.FindAnswerReq
  1821. (*FindAnswerResp)(nil), // 4: template.FindAnswerResp
  1822. (*RecommendAnswerResp)(nil), // 5: template.RecommendAnswerResp
  1823. (*ListData)(nil), // 6: template.ListData
  1824. (*ListRequest)(nil), // 7: template.ListRequest
  1825. (*ListResponse)(nil), // 8: template.ListResponse
  1826. (*KnowledgeEntity)(nil), // 9: template.KnowledgeEntity
  1827. (*KnowledgeEditReq)(nil), // 10: template.KnowledgeEditReq
  1828. (*InfoResponse)(nil), // 11: template.InfoResponse
  1829. (*KnowledgeDelReq)(nil), // 12: template.KnowledgeDelReq
  1830. (*CommonPhrasesAddReq)(nil), // 13: template.CommonPhrasesAddReq
  1831. (*CommonPhrasesInfoReq)(nil), // 14: template.CommonPhrasesInfoReq
  1832. (*CommonPhrasesListReq)(nil), // 15: template.CommonPhrasesListReq
  1833. (*CommonPhrases)(nil), // 16: template.CommonPhrases
  1834. (*CommonPhrasesInfoResp)(nil), // 17: template.CommonPhrasesInfoResp
  1835. (*CommonPhrasesList)(nil), // 18: template.CommonPhrasesList
  1836. (*CommonPhrasesListResp)(nil), // 19: template.CommonPhrasesListResp
  1837. (*CommonPhrasesClassListReq)(nil), // 20: template.CommonPhrasesClassListReq
  1838. (*Content)(nil), // 21: template.Content
  1839. (*CommonPhrasesClassListData)(nil), // 22: template.CommonPhrasesClassListData
  1840. (*CommonPhrasesClassListResp)(nil), // 23: template.CommonPhrasesClassListResp
  1841. (*CommonPhraseQueryReq)(nil), // 24: template.CommonPhraseQueryReq
  1842. (*CommonPhraseQueryResp)(nil), // 25: template.CommonPhraseQueryResp
  1843. (*KeywordListResp)(nil), // 26: template.KeywordListResp
  1844. (*KeywordList)(nil), // 27: template.KeywordList
  1845. }
  1846. var file_knowledge_proto_depIdxs = []int32{
  1847. 0, // 0: template.FindAnswerResp.data:type_name -> template.Question
  1848. 0, // 1: template.RecommendAnswerResp.data:type_name -> template.Question
  1849. 9, // 2: template.ListData.Data:type_name -> template.KnowledgeEntity
  1850. 6, // 3: template.ListResponse.data:type_name -> template.ListData
  1851. 9, // 4: template.InfoResponse.data:type_name -> template.KnowledgeEntity
  1852. 16, // 5: template.CommonPhrasesInfoResp.data:type_name -> template.CommonPhrases
  1853. 16, // 6: template.CommonPhrasesList.Data:type_name -> template.CommonPhrases
  1854. 18, // 7: template.CommonPhrasesListResp.data:type_name -> template.CommonPhrasesList
  1855. 21, // 8: template.CommonPhrasesClassListData.classList:type_name -> template.Content
  1856. 22, // 9: template.CommonPhrasesClassListResp.Data:type_name -> template.CommonPhrasesClassListData
  1857. 21, // 10: template.CommonPhraseQueryResp.data:type_name -> template.Content
  1858. 27, // 11: template.KeywordListResp.data:type_name -> template.KeywordList
  1859. 1, // 12: template.knowledge.KnowledgeAdd:input_type -> template.AddRequest
  1860. 7, // 13: template.knowledge.KnowledgeList:input_type -> template.ListRequest
  1861. 10, // 14: template.knowledge.KnowledgeEdit:input_type -> template.KnowledgeEditReq
  1862. 9, // 15: template.knowledge.KnowledgeInfo:input_type -> template.KnowledgeEntity
  1863. 12, // 16: template.knowledge.KnowledgeDel:input_type -> template.KnowledgeDelReq
  1864. 3, // 17: template.knowledge.FindAnswer:input_type -> template.FindAnswerReq
  1865. 3, // 18: template.knowledge.RecommendAnswer:input_type -> template.FindAnswerReq
  1866. 13, // 19: template.knowledge.CommonPhrasesAdd:input_type -> template.CommonPhrasesAddReq
  1867. 14, // 20: template.knowledge.CommonPhrasesInfo:input_type -> template.CommonPhrasesInfoReq
  1868. 15, // 21: template.knowledge.CommonPhrasesList:input_type -> template.CommonPhrasesListReq
  1869. 14, // 22: template.knowledge.CommonPhrasesDel:input_type -> template.CommonPhrasesInfoReq
  1870. 20, // 23: template.knowledge.CommonPhraseClassList:input_type -> template.CommonPhrasesClassListReq
  1871. 24, // 24: template.knowledge.CommonPhraseQuery:input_type -> template.CommonPhraseQueryReq
  1872. 24, // 25: template.knowledge.KeywordList:input_type -> template.CommonPhraseQueryReq
  1873. 2, // 26: template.knowledge.KnowledgeAdd:output_type -> template.AddResponse
  1874. 8, // 27: template.knowledge.KnowledgeList:output_type -> template.ListResponse
  1875. 2, // 28: template.knowledge.KnowledgeEdit:output_type -> template.AddResponse
  1876. 11, // 29: template.knowledge.KnowledgeInfo:output_type -> template.InfoResponse
  1877. 2, // 30: template.knowledge.KnowledgeDel:output_type -> template.AddResponse
  1878. 4, // 31: template.knowledge.FindAnswer:output_type -> template.FindAnswerResp
  1879. 5, // 32: template.knowledge.RecommendAnswer:output_type -> template.RecommendAnswerResp
  1880. 2, // 33: template.knowledge.CommonPhrasesAdd:output_type -> template.AddResponse
  1881. 17, // 34: template.knowledge.CommonPhrasesInfo:output_type -> template.CommonPhrasesInfoResp
  1882. 19, // 35: template.knowledge.CommonPhrasesList:output_type -> template.CommonPhrasesListResp
  1883. 2, // 36: template.knowledge.CommonPhrasesDel:output_type -> template.AddResponse
  1884. 23, // 37: template.knowledge.CommonPhraseClassList:output_type -> template.CommonPhrasesClassListResp
  1885. 25, // 38: template.knowledge.CommonPhraseQuery:output_type -> template.CommonPhraseQueryResp
  1886. 26, // 39: template.knowledge.KeywordList:output_type -> template.KeywordListResp
  1887. 26, // [26:40] is the sub-list for method output_type
  1888. 12, // [12:26] is the sub-list for method input_type
  1889. 12, // [12:12] is the sub-list for extension type_name
  1890. 12, // [12:12] is the sub-list for extension extendee
  1891. 0, // [0:12] is the sub-list for field type_name
  1892. }
  1893. func init() { file_knowledge_proto_init() }
  1894. func file_knowledge_proto_init() {
  1895. if File_knowledge_proto != nil {
  1896. return
  1897. }
  1898. if !protoimpl.UnsafeEnabled {
  1899. file_knowledge_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1900. switch v := v.(*Question); i {
  1901. case 0:
  1902. return &v.state
  1903. case 1:
  1904. return &v.sizeCache
  1905. case 2:
  1906. return &v.unknownFields
  1907. default:
  1908. return nil
  1909. }
  1910. }
  1911. file_knowledge_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1912. switch v := v.(*AddRequest); i {
  1913. case 0:
  1914. return &v.state
  1915. case 1:
  1916. return &v.sizeCache
  1917. case 2:
  1918. return &v.unknownFields
  1919. default:
  1920. return nil
  1921. }
  1922. }
  1923. file_knowledge_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1924. switch v := v.(*AddResponse); i {
  1925. case 0:
  1926. return &v.state
  1927. case 1:
  1928. return &v.sizeCache
  1929. case 2:
  1930. return &v.unknownFields
  1931. default:
  1932. return nil
  1933. }
  1934. }
  1935. file_knowledge_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1936. switch v := v.(*FindAnswerReq); i {
  1937. case 0:
  1938. return &v.state
  1939. case 1:
  1940. return &v.sizeCache
  1941. case 2:
  1942. return &v.unknownFields
  1943. default:
  1944. return nil
  1945. }
  1946. }
  1947. file_knowledge_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1948. switch v := v.(*FindAnswerResp); i {
  1949. case 0:
  1950. return &v.state
  1951. case 1:
  1952. return &v.sizeCache
  1953. case 2:
  1954. return &v.unknownFields
  1955. default:
  1956. return nil
  1957. }
  1958. }
  1959. file_knowledge_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1960. switch v := v.(*RecommendAnswerResp); i {
  1961. case 0:
  1962. return &v.state
  1963. case 1:
  1964. return &v.sizeCache
  1965. case 2:
  1966. return &v.unknownFields
  1967. default:
  1968. return nil
  1969. }
  1970. }
  1971. file_knowledge_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1972. switch v := v.(*ListData); i {
  1973. case 0:
  1974. return &v.state
  1975. case 1:
  1976. return &v.sizeCache
  1977. case 2:
  1978. return &v.unknownFields
  1979. default:
  1980. return nil
  1981. }
  1982. }
  1983. file_knowledge_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1984. switch v := v.(*ListRequest); i {
  1985. case 0:
  1986. return &v.state
  1987. case 1:
  1988. return &v.sizeCache
  1989. case 2:
  1990. return &v.unknownFields
  1991. default:
  1992. return nil
  1993. }
  1994. }
  1995. file_knowledge_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1996. switch v := v.(*ListResponse); i {
  1997. case 0:
  1998. return &v.state
  1999. case 1:
  2000. return &v.sizeCache
  2001. case 2:
  2002. return &v.unknownFields
  2003. default:
  2004. return nil
  2005. }
  2006. }
  2007. file_knowledge_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2008. switch v := v.(*KnowledgeEntity); i {
  2009. case 0:
  2010. return &v.state
  2011. case 1:
  2012. return &v.sizeCache
  2013. case 2:
  2014. return &v.unknownFields
  2015. default:
  2016. return nil
  2017. }
  2018. }
  2019. file_knowledge_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2020. switch v := v.(*KnowledgeEditReq); i {
  2021. case 0:
  2022. return &v.state
  2023. case 1:
  2024. return &v.sizeCache
  2025. case 2:
  2026. return &v.unknownFields
  2027. default:
  2028. return nil
  2029. }
  2030. }
  2031. file_knowledge_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2032. switch v := v.(*InfoResponse); i {
  2033. case 0:
  2034. return &v.state
  2035. case 1:
  2036. return &v.sizeCache
  2037. case 2:
  2038. return &v.unknownFields
  2039. default:
  2040. return nil
  2041. }
  2042. }
  2043. file_knowledge_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2044. switch v := v.(*KnowledgeDelReq); i {
  2045. case 0:
  2046. return &v.state
  2047. case 1:
  2048. return &v.sizeCache
  2049. case 2:
  2050. return &v.unknownFields
  2051. default:
  2052. return nil
  2053. }
  2054. }
  2055. file_knowledge_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2056. switch v := v.(*CommonPhrasesAddReq); i {
  2057. case 0:
  2058. return &v.state
  2059. case 1:
  2060. return &v.sizeCache
  2061. case 2:
  2062. return &v.unknownFields
  2063. default:
  2064. return nil
  2065. }
  2066. }
  2067. file_knowledge_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2068. switch v := v.(*CommonPhrasesInfoReq); i {
  2069. case 0:
  2070. return &v.state
  2071. case 1:
  2072. return &v.sizeCache
  2073. case 2:
  2074. return &v.unknownFields
  2075. default:
  2076. return nil
  2077. }
  2078. }
  2079. file_knowledge_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2080. switch v := v.(*CommonPhrasesListReq); i {
  2081. case 0:
  2082. return &v.state
  2083. case 1:
  2084. return &v.sizeCache
  2085. case 2:
  2086. return &v.unknownFields
  2087. default:
  2088. return nil
  2089. }
  2090. }
  2091. file_knowledge_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2092. switch v := v.(*CommonPhrases); i {
  2093. case 0:
  2094. return &v.state
  2095. case 1:
  2096. return &v.sizeCache
  2097. case 2:
  2098. return &v.unknownFields
  2099. default:
  2100. return nil
  2101. }
  2102. }
  2103. file_knowledge_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2104. switch v := v.(*CommonPhrasesInfoResp); i {
  2105. case 0:
  2106. return &v.state
  2107. case 1:
  2108. return &v.sizeCache
  2109. case 2:
  2110. return &v.unknownFields
  2111. default:
  2112. return nil
  2113. }
  2114. }
  2115. file_knowledge_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2116. switch v := v.(*CommonPhrasesList); i {
  2117. case 0:
  2118. return &v.state
  2119. case 1:
  2120. return &v.sizeCache
  2121. case 2:
  2122. return &v.unknownFields
  2123. default:
  2124. return nil
  2125. }
  2126. }
  2127. file_knowledge_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2128. switch v := v.(*CommonPhrasesListResp); i {
  2129. case 0:
  2130. return &v.state
  2131. case 1:
  2132. return &v.sizeCache
  2133. case 2:
  2134. return &v.unknownFields
  2135. default:
  2136. return nil
  2137. }
  2138. }
  2139. file_knowledge_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2140. switch v := v.(*CommonPhrasesClassListReq); i {
  2141. case 0:
  2142. return &v.state
  2143. case 1:
  2144. return &v.sizeCache
  2145. case 2:
  2146. return &v.unknownFields
  2147. default:
  2148. return nil
  2149. }
  2150. }
  2151. file_knowledge_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2152. switch v := v.(*Content); i {
  2153. case 0:
  2154. return &v.state
  2155. case 1:
  2156. return &v.sizeCache
  2157. case 2:
  2158. return &v.unknownFields
  2159. default:
  2160. return nil
  2161. }
  2162. }
  2163. file_knowledge_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2164. switch v := v.(*CommonPhrasesClassListData); i {
  2165. case 0:
  2166. return &v.state
  2167. case 1:
  2168. return &v.sizeCache
  2169. case 2:
  2170. return &v.unknownFields
  2171. default:
  2172. return nil
  2173. }
  2174. }
  2175. file_knowledge_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2176. switch v := v.(*CommonPhrasesClassListResp); i {
  2177. case 0:
  2178. return &v.state
  2179. case 1:
  2180. return &v.sizeCache
  2181. case 2:
  2182. return &v.unknownFields
  2183. default:
  2184. return nil
  2185. }
  2186. }
  2187. file_knowledge_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2188. switch v := v.(*CommonPhraseQueryReq); i {
  2189. case 0:
  2190. return &v.state
  2191. case 1:
  2192. return &v.sizeCache
  2193. case 2:
  2194. return &v.unknownFields
  2195. default:
  2196. return nil
  2197. }
  2198. }
  2199. file_knowledge_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2200. switch v := v.(*CommonPhraseQueryResp); i {
  2201. case 0:
  2202. return &v.state
  2203. case 1:
  2204. return &v.sizeCache
  2205. case 2:
  2206. return &v.unknownFields
  2207. default:
  2208. return nil
  2209. }
  2210. }
  2211. file_knowledge_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2212. switch v := v.(*KeywordListResp); i {
  2213. case 0:
  2214. return &v.state
  2215. case 1:
  2216. return &v.sizeCache
  2217. case 2:
  2218. return &v.unknownFields
  2219. default:
  2220. return nil
  2221. }
  2222. }
  2223. file_knowledge_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2224. switch v := v.(*KeywordList); i {
  2225. case 0:
  2226. return &v.state
  2227. case 1:
  2228. return &v.sizeCache
  2229. case 2:
  2230. return &v.unknownFields
  2231. default:
  2232. return nil
  2233. }
  2234. }
  2235. }
  2236. type x struct{}
  2237. out := protoimpl.TypeBuilder{
  2238. File: protoimpl.DescBuilder{
  2239. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2240. RawDescriptor: file_knowledge_proto_rawDesc,
  2241. NumEnums: 0,
  2242. NumMessages: 28,
  2243. NumExtensions: 0,
  2244. NumServices: 1,
  2245. },
  2246. GoTypes: file_knowledge_proto_goTypes,
  2247. DependencyIndexes: file_knowledge_proto_depIdxs,
  2248. MessageInfos: file_knowledge_proto_msgTypes,
  2249. }.Build()
  2250. File_knowledge_proto = out.File
  2251. file_knowledge_proto_rawDesc = nil
  2252. file_knowledge_proto_goTypes = nil
  2253. file_knowledge_proto_depIdxs = nil
  2254. }