transform.pb.go 82 KB

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