knowledge.pb.go 100 KB

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