transform.pb.go 53 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: transform.proto
  3. package transform
  4. import (
  5. context "context"
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. grpc "google.golang.org/grpc"
  9. codes "google.golang.org/grpc/codes"
  10. status "google.golang.org/grpc/status"
  11. math "math"
  12. )
  13. // Reference imports to suppress errors if they are not otherwise used.
  14. var _ = proto.Marshal
  15. var _ = fmt.Errorf
  16. var _ = math.Inf
  17. // This is a compile-time assertion to ensure that this generated file
  18. // is compatible with the proto package it is being compiled against.
  19. // A compilation error at this line likely means your copy of the
  20. // proto package needs to be updated.
  21. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  22. type UserRequest struct {
  23. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  24. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
  25. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  26. XXX_unrecognized []byte `json:"-"`
  27. XXX_sizecache int32 `json:"-"`
  28. }
  29. func (m *UserRequest) Reset() { *m = UserRequest{} }
  30. func (m *UserRequest) String() string { return proto.CompactTextString(m) }
  31. func (*UserRequest) ProtoMessage() {}
  32. func (*UserRequest) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_cb4a498eeb2ba07d, []int{0}
  34. }
  35. func (m *UserRequest) XXX_Unmarshal(b []byte) error {
  36. return xxx_messageInfo_UserRequest.Unmarshal(m, b)
  37. }
  38. func (m *UserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. return xxx_messageInfo_UserRequest.Marshal(b, m, deterministic)
  40. }
  41. func (m *UserRequest) XXX_Merge(src proto.Message) {
  42. xxx_messageInfo_UserRequest.Merge(m, src)
  43. }
  44. func (m *UserRequest) XXX_Size() int {
  45. return xxx_messageInfo_UserRequest.Size(m)
  46. }
  47. func (m *UserRequest) XXX_DiscardUnknown() {
  48. xxx_messageInfo_UserRequest.DiscardUnknown(m)
  49. }
  50. var xxx_messageInfo_UserRequest proto.InternalMessageInfo
  51. func (m *UserRequest) GetId() string {
  52. if m != nil {
  53. return m.Id
  54. }
  55. return ""
  56. }
  57. func (m *UserRequest) GetPhone() string {
  58. if m != nil {
  59. return m.Phone
  60. }
  61. return ""
  62. }
  63. type UserResponse struct {
  64. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  65. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
  66. Roles string `protobuf:"bytes,3,opt,name=roles,proto3" json:"roles,omitempty"`
  67. Status int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
  68. ErpRoleType int64 `protobuf:"varint,5,opt,name=erpRoleType,proto3" json:"erpRoleType,omitempty"`
  69. UserName string `protobuf:"bytes,6,opt,name=userName,proto3" json:"userName,omitempty"`
  70. CityName string `protobuf:"bytes,7,opt,name=cityName,proto3" json:"cityName,omitempty"`
  71. Gender int64 `protobuf:"varint,8,opt,name=gender,proto3" json:"gender,omitempty"`
  72. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  73. XXX_unrecognized []byte `json:"-"`
  74. XXX_sizecache int32 `json:"-"`
  75. }
  76. func (m *UserResponse) Reset() { *m = UserResponse{} }
  77. func (m *UserResponse) String() string { return proto.CompactTextString(m) }
  78. func (*UserResponse) ProtoMessage() {}
  79. func (*UserResponse) Descriptor() ([]byte, []int) {
  80. return fileDescriptor_cb4a498eeb2ba07d, []int{1}
  81. }
  82. func (m *UserResponse) XXX_Unmarshal(b []byte) error {
  83. return xxx_messageInfo_UserResponse.Unmarshal(m, b)
  84. }
  85. func (m *UserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  86. return xxx_messageInfo_UserResponse.Marshal(b, m, deterministic)
  87. }
  88. func (m *UserResponse) XXX_Merge(src proto.Message) {
  89. xxx_messageInfo_UserResponse.Merge(m, src)
  90. }
  91. func (m *UserResponse) XXX_Size() int {
  92. return xxx_messageInfo_UserResponse.Size(m)
  93. }
  94. func (m *UserResponse) XXX_DiscardUnknown() {
  95. xxx_messageInfo_UserResponse.DiscardUnknown(m)
  96. }
  97. var xxx_messageInfo_UserResponse proto.InternalMessageInfo
  98. func (m *UserResponse) GetId() string {
  99. if m != nil {
  100. return m.Id
  101. }
  102. return ""
  103. }
  104. func (m *UserResponse) GetPhone() string {
  105. if m != nil {
  106. return m.Phone
  107. }
  108. return ""
  109. }
  110. func (m *UserResponse) GetRoles() string {
  111. if m != nil {
  112. return m.Roles
  113. }
  114. return ""
  115. }
  116. func (m *UserResponse) GetStatus() int64 {
  117. if m != nil {
  118. return m.Status
  119. }
  120. return 0
  121. }
  122. func (m *UserResponse) GetErpRoleType() int64 {
  123. if m != nil {
  124. return m.ErpRoleType
  125. }
  126. return 0
  127. }
  128. func (m *UserResponse) GetUserName() string {
  129. if m != nil {
  130. return m.UserName
  131. }
  132. return ""
  133. }
  134. func (m *UserResponse) GetCityName() string {
  135. if m != nil {
  136. return m.CityName
  137. }
  138. return ""
  139. }
  140. func (m *UserResponse) GetGender() int64 {
  141. if m != nil {
  142. return m.Gender
  143. }
  144. return 0
  145. }
  146. type TokenRequest struct {
  147. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  148. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  149. XXX_unrecognized []byte `json:"-"`
  150. XXX_sizecache int32 `json:"-"`
  151. }
  152. func (m *TokenRequest) Reset() { *m = TokenRequest{} }
  153. func (m *TokenRequest) String() string { return proto.CompactTextString(m) }
  154. func (*TokenRequest) ProtoMessage() {}
  155. func (*TokenRequest) Descriptor() ([]byte, []int) {
  156. return fileDescriptor_cb4a498eeb2ba07d, []int{2}
  157. }
  158. func (m *TokenRequest) XXX_Unmarshal(b []byte) error {
  159. return xxx_messageInfo_TokenRequest.Unmarshal(m, b)
  160. }
  161. func (m *TokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  162. return xxx_messageInfo_TokenRequest.Marshal(b, m, deterministic)
  163. }
  164. func (m *TokenRequest) XXX_Merge(src proto.Message) {
  165. xxx_messageInfo_TokenRequest.Merge(m, src)
  166. }
  167. func (m *TokenRequest) XXX_Size() int {
  168. return xxx_messageInfo_TokenRequest.Size(m)
  169. }
  170. func (m *TokenRequest) XXX_DiscardUnknown() {
  171. xxx_messageInfo_TokenRequest.DiscardUnknown(m)
  172. }
  173. var xxx_messageInfo_TokenRequest proto.InternalMessageInfo
  174. func (m *TokenRequest) GetToken() string {
  175. if m != nil {
  176. return m.Token
  177. }
  178. return ""
  179. }
  180. type TokenResponse struct {
  181. UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
  182. UserRoleIds string `protobuf:"bytes,2,opt,name=UserRoleIds,proto3" json:"UserRoleIds,omitempty"`
  183. UserSchoolIds string `protobuf:"bytes,3,opt,name=UserSchoolIds,proto3" json:"UserSchoolIds,omitempty"`
  184. UserProvinceIds string `protobuf:"bytes,4,opt,name=UserProvinceIds,proto3" json:"UserProvinceIds,omitempty"`
  185. UserOrganIds string `protobuf:"bytes,5,opt,name=UserOrganIds,proto3" json:"UserOrganIds,omitempty"`
  186. SysSchoolId string `protobuf:"bytes,6,opt,name=SysSchoolId,proto3" json:"SysSchoolId,omitempty"`
  187. SysOrganId string `protobuf:"bytes,7,opt,name=SysOrganId,proto3" json:"SysOrganId,omitempty"`
  188. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  189. XXX_unrecognized []byte `json:"-"`
  190. XXX_sizecache int32 `json:"-"`
  191. }
  192. func (m *TokenResponse) Reset() { *m = TokenResponse{} }
  193. func (m *TokenResponse) String() string { return proto.CompactTextString(m) }
  194. func (*TokenResponse) ProtoMessage() {}
  195. func (*TokenResponse) Descriptor() ([]byte, []int) {
  196. return fileDescriptor_cb4a498eeb2ba07d, []int{3}
  197. }
  198. func (m *TokenResponse) XXX_Unmarshal(b []byte) error {
  199. return xxx_messageInfo_TokenResponse.Unmarshal(m, b)
  200. }
  201. func (m *TokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  202. return xxx_messageInfo_TokenResponse.Marshal(b, m, deterministic)
  203. }
  204. func (m *TokenResponse) XXX_Merge(src proto.Message) {
  205. xxx_messageInfo_TokenResponse.Merge(m, src)
  206. }
  207. func (m *TokenResponse) XXX_Size() int {
  208. return xxx_messageInfo_TokenResponse.Size(m)
  209. }
  210. func (m *TokenResponse) XXX_DiscardUnknown() {
  211. xxx_messageInfo_TokenResponse.DiscardUnknown(m)
  212. }
  213. var xxx_messageInfo_TokenResponse proto.InternalMessageInfo
  214. func (m *TokenResponse) GetUserId() string {
  215. if m != nil {
  216. return m.UserId
  217. }
  218. return ""
  219. }
  220. func (m *TokenResponse) GetUserRoleIds() string {
  221. if m != nil {
  222. return m.UserRoleIds
  223. }
  224. return ""
  225. }
  226. func (m *TokenResponse) GetUserSchoolIds() string {
  227. if m != nil {
  228. return m.UserSchoolIds
  229. }
  230. return ""
  231. }
  232. func (m *TokenResponse) GetUserProvinceIds() string {
  233. if m != nil {
  234. return m.UserProvinceIds
  235. }
  236. return ""
  237. }
  238. func (m *TokenResponse) GetUserOrganIds() string {
  239. if m != nil {
  240. return m.UserOrganIds
  241. }
  242. return ""
  243. }
  244. func (m *TokenResponse) GetSysSchoolId() string {
  245. if m != nil {
  246. return m.SysSchoolId
  247. }
  248. return ""
  249. }
  250. func (m *TokenResponse) GetSysOrganId() string {
  251. if m != nil {
  252. return m.SysOrganId
  253. }
  254. return ""
  255. }
  256. type Empty struct {
  257. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  258. XXX_unrecognized []byte `json:"-"`
  259. XXX_sizecache int32 `json:"-"`
  260. }
  261. func (m *Empty) Reset() { *m = Empty{} }
  262. func (m *Empty) String() string { return proto.CompactTextString(m) }
  263. func (*Empty) ProtoMessage() {}
  264. func (*Empty) Descriptor() ([]byte, []int) {
  265. return fileDescriptor_cb4a498eeb2ba07d, []int{4}
  266. }
  267. func (m *Empty) XXX_Unmarshal(b []byte) error {
  268. return xxx_messageInfo_Empty.Unmarshal(m, b)
  269. }
  270. func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  271. return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
  272. }
  273. func (m *Empty) XXX_Merge(src proto.Message) {
  274. xxx_messageInfo_Empty.Merge(m, src)
  275. }
  276. func (m *Empty) XXX_Size() int {
  277. return xxx_messageInfo_Empty.Size(m)
  278. }
  279. func (m *Empty) XXX_DiscardUnknown() {
  280. xxx_messageInfo_Empty.DiscardUnknown(m)
  281. }
  282. var xxx_messageInfo_Empty proto.InternalMessageInfo
  283. type TreeNodes struct {
  284. Nodes []*TreeNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
  285. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  286. XXX_unrecognized []byte `json:"-"`
  287. XXX_sizecache int32 `json:"-"`
  288. }
  289. func (m *TreeNodes) Reset() { *m = TreeNodes{} }
  290. func (m *TreeNodes) String() string { return proto.CompactTextString(m) }
  291. func (*TreeNodes) ProtoMessage() {}
  292. func (*TreeNodes) Descriptor() ([]byte, []int) {
  293. return fileDescriptor_cb4a498eeb2ba07d, []int{5}
  294. }
  295. func (m *TreeNodes) XXX_Unmarshal(b []byte) error {
  296. return xxx_messageInfo_TreeNodes.Unmarshal(m, b)
  297. }
  298. func (m *TreeNodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  299. return xxx_messageInfo_TreeNodes.Marshal(b, m, deterministic)
  300. }
  301. func (m *TreeNodes) XXX_Merge(src proto.Message) {
  302. xxx_messageInfo_TreeNodes.Merge(m, src)
  303. }
  304. func (m *TreeNodes) XXX_Size() int {
  305. return xxx_messageInfo_TreeNodes.Size(m)
  306. }
  307. func (m *TreeNodes) XXX_DiscardUnknown() {
  308. xxx_messageInfo_TreeNodes.DiscardUnknown(m)
  309. }
  310. var xxx_messageInfo_TreeNodes proto.InternalMessageInfo
  311. func (m *TreeNodes) GetNodes() []*TreeNode {
  312. if m != nil {
  313. return m.Nodes
  314. }
  315. return nil
  316. }
  317. type TreeNode struct {
  318. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  319. Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
  320. Parent int64 `protobuf:"varint,3,opt,name=parent,proto3" json:"parent,omitempty"`
  321. Tag *Tag `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
  322. Nodes []*TreeNode `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"`
  323. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  324. XXX_unrecognized []byte `json:"-"`
  325. XXX_sizecache int32 `json:"-"`
  326. }
  327. func (m *TreeNode) Reset() { *m = TreeNode{} }
  328. func (m *TreeNode) String() string { return proto.CompactTextString(m) }
  329. func (*TreeNode) ProtoMessage() {}
  330. func (*TreeNode) Descriptor() ([]byte, []int) {
  331. return fileDescriptor_cb4a498eeb2ba07d, []int{6}
  332. }
  333. func (m *TreeNode) XXX_Unmarshal(b []byte) error {
  334. return xxx_messageInfo_TreeNode.Unmarshal(m, b)
  335. }
  336. func (m *TreeNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  337. return xxx_messageInfo_TreeNode.Marshal(b, m, deterministic)
  338. }
  339. func (m *TreeNode) XXX_Merge(src proto.Message) {
  340. xxx_messageInfo_TreeNode.Merge(m, src)
  341. }
  342. func (m *TreeNode) XXX_Size() int {
  343. return xxx_messageInfo_TreeNode.Size(m)
  344. }
  345. func (m *TreeNode) XXX_DiscardUnknown() {
  346. xxx_messageInfo_TreeNode.DiscardUnknown(m)
  347. }
  348. var xxx_messageInfo_TreeNode proto.InternalMessageInfo
  349. func (m *TreeNode) GetId() int64 {
  350. if m != nil {
  351. return m.Id
  352. }
  353. return 0
  354. }
  355. func (m *TreeNode) GetText() string {
  356. if m != nil {
  357. return m.Text
  358. }
  359. return ""
  360. }
  361. func (m *TreeNode) GetParent() int64 {
  362. if m != nil {
  363. return m.Parent
  364. }
  365. return 0
  366. }
  367. func (m *TreeNode) GetTag() *Tag {
  368. if m != nil {
  369. return m.Tag
  370. }
  371. return nil
  372. }
  373. func (m *TreeNode) GetNodes() []*TreeNode {
  374. if m != nil {
  375. return m.Nodes
  376. }
  377. return nil
  378. }
  379. type Tag struct {
  380. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  381. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  382. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  383. XXX_unrecognized []byte `json:"-"`
  384. XXX_sizecache int32 `json:"-"`
  385. }
  386. func (m *Tag) Reset() { *m = Tag{} }
  387. func (m *Tag) String() string { return proto.CompactTextString(m) }
  388. func (*Tag) ProtoMessage() {}
  389. func (*Tag) Descriptor() ([]byte, []int) {
  390. return fileDescriptor_cb4a498eeb2ba07d, []int{7}
  391. }
  392. func (m *Tag) XXX_Unmarshal(b []byte) error {
  393. return xxx_messageInfo_Tag.Unmarshal(m, b)
  394. }
  395. func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  396. return xxx_messageInfo_Tag.Marshal(b, m, deterministic)
  397. }
  398. func (m *Tag) XXX_Merge(src proto.Message) {
  399. xxx_messageInfo_Tag.Merge(m, src)
  400. }
  401. func (m *Tag) XXX_Size() int {
  402. return xxx_messageInfo_Tag.Size(m)
  403. }
  404. func (m *Tag) XXX_DiscardUnknown() {
  405. xxx_messageInfo_Tag.DiscardUnknown(m)
  406. }
  407. var xxx_messageInfo_Tag proto.InternalMessageInfo
  408. func (m *Tag) GetId() int64 {
  409. if m != nil {
  410. return m.Id
  411. }
  412. return 0
  413. }
  414. func (m *Tag) GetName() string {
  415. if m != nil {
  416. return m.Name
  417. }
  418. return ""
  419. }
  420. type OptionsetReq struct {
  421. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
  422. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  423. XXX_unrecognized []byte `json:"-"`
  424. XXX_sizecache int32 `json:"-"`
  425. }
  426. func (m *OptionsetReq) Reset() { *m = OptionsetReq{} }
  427. func (m *OptionsetReq) String() string { return proto.CompactTextString(m) }
  428. func (*OptionsetReq) ProtoMessage() {}
  429. func (*OptionsetReq) Descriptor() ([]byte, []int) {
  430. return fileDescriptor_cb4a498eeb2ba07d, []int{8}
  431. }
  432. func (m *OptionsetReq) XXX_Unmarshal(b []byte) error {
  433. return xxx_messageInfo_OptionsetReq.Unmarshal(m, b)
  434. }
  435. func (m *OptionsetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  436. return xxx_messageInfo_OptionsetReq.Marshal(b, m, deterministic)
  437. }
  438. func (m *OptionsetReq) XXX_Merge(src proto.Message) {
  439. xxx_messageInfo_OptionsetReq.Merge(m, src)
  440. }
  441. func (m *OptionsetReq) XXX_Size() int {
  442. return xxx_messageInfo_OptionsetReq.Size(m)
  443. }
  444. func (m *OptionsetReq) XXX_DiscardUnknown() {
  445. xxx_messageInfo_OptionsetReq.DiscardUnknown(m)
  446. }
  447. var xxx_messageInfo_OptionsetReq proto.InternalMessageInfo
  448. func (m *OptionsetReq) GetCode() string {
  449. if m != nil {
  450. return m.Code
  451. }
  452. return ""
  453. }
  454. type OptionsetRes struct {
  455. 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"`
  456. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  457. XXX_unrecognized []byte `json:"-"`
  458. XXX_sizecache int32 `json:"-"`
  459. }
  460. func (m *OptionsetRes) Reset() { *m = OptionsetRes{} }
  461. func (m *OptionsetRes) String() string { return proto.CompactTextString(m) }
  462. func (*OptionsetRes) ProtoMessage() {}
  463. func (*OptionsetRes) Descriptor() ([]byte, []int) {
  464. return fileDescriptor_cb4a498eeb2ba07d, []int{9}
  465. }
  466. func (m *OptionsetRes) XXX_Unmarshal(b []byte) error {
  467. return xxx_messageInfo_OptionsetRes.Unmarshal(m, b)
  468. }
  469. func (m *OptionsetRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  470. return xxx_messageInfo_OptionsetRes.Marshal(b, m, deterministic)
  471. }
  472. func (m *OptionsetRes) XXX_Merge(src proto.Message) {
  473. xxx_messageInfo_OptionsetRes.Merge(m, src)
  474. }
  475. func (m *OptionsetRes) XXX_Size() int {
  476. return xxx_messageInfo_OptionsetRes.Size(m)
  477. }
  478. func (m *OptionsetRes) XXX_DiscardUnknown() {
  479. xxx_messageInfo_OptionsetRes.DiscardUnknown(m)
  480. }
  481. var xxx_messageInfo_OptionsetRes proto.InternalMessageInfo
  482. func (m *OptionsetRes) GetMapList() map[string]string {
  483. if m != nil {
  484. return m.MapList
  485. }
  486. return nil
  487. }
  488. type OptionCode struct {
  489. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
  490. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  491. XXX_unrecognized []byte `json:"-"`
  492. XXX_sizecache int32 `json:"-"`
  493. }
  494. func (m *OptionCode) Reset() { *m = OptionCode{} }
  495. func (m *OptionCode) String() string { return proto.CompactTextString(m) }
  496. func (*OptionCode) ProtoMessage() {}
  497. func (*OptionCode) Descriptor() ([]byte, []int) {
  498. return fileDescriptor_cb4a498eeb2ba07d, []int{10}
  499. }
  500. func (m *OptionCode) XXX_Unmarshal(b []byte) error {
  501. return xxx_messageInfo_OptionCode.Unmarshal(m, b)
  502. }
  503. func (m *OptionCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  504. return xxx_messageInfo_OptionCode.Marshal(b, m, deterministic)
  505. }
  506. func (m *OptionCode) XXX_Merge(src proto.Message) {
  507. xxx_messageInfo_OptionCode.Merge(m, src)
  508. }
  509. func (m *OptionCode) XXX_Size() int {
  510. return xxx_messageInfo_OptionCode.Size(m)
  511. }
  512. func (m *OptionCode) XXX_DiscardUnknown() {
  513. xxx_messageInfo_OptionCode.DiscardUnknown(m)
  514. }
  515. var xxx_messageInfo_OptionCode proto.InternalMessageInfo
  516. func (m *OptionCode) GetCode() string {
  517. if m != nil {
  518. return m.Code
  519. }
  520. return ""
  521. }
  522. type Options struct {
  523. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
  524. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  525. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
  526. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  527. XXX_unrecognized []byte `json:"-"`
  528. XXX_sizecache int32 `json:"-"`
  529. }
  530. func (m *Options) Reset() { *m = Options{} }
  531. func (m *Options) String() string { return proto.CompactTextString(m) }
  532. func (*Options) ProtoMessage() {}
  533. func (*Options) Descriptor() ([]byte, []int) {
  534. return fileDescriptor_cb4a498eeb2ba07d, []int{11}
  535. }
  536. func (m *Options) XXX_Unmarshal(b []byte) error {
  537. return xxx_messageInfo_Options.Unmarshal(m, b)
  538. }
  539. func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  540. return xxx_messageInfo_Options.Marshal(b, m, deterministic)
  541. }
  542. func (m *Options) XXX_Merge(src proto.Message) {
  543. xxx_messageInfo_Options.Merge(m, src)
  544. }
  545. func (m *Options) XXX_Size() int {
  546. return xxx_messageInfo_Options.Size(m)
  547. }
  548. func (m *Options) XXX_DiscardUnknown() {
  549. xxx_messageInfo_Options.DiscardUnknown(m)
  550. }
  551. var xxx_messageInfo_Options proto.InternalMessageInfo
  552. func (m *Options) GetCode() string {
  553. if m != nil {
  554. return m.Code
  555. }
  556. return ""
  557. }
  558. func (m *Options) GetName() string {
  559. if m != nil {
  560. return m.Name
  561. }
  562. return ""
  563. }
  564. func (m *Options) GetValue() string {
  565. if m != nil {
  566. return m.Value
  567. }
  568. return ""
  569. }
  570. type ResponseByte struct {
  571. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  572. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  573. XXX_unrecognized []byte `json:"-"`
  574. XXX_sizecache int32 `json:"-"`
  575. }
  576. func (m *ResponseByte) Reset() { *m = ResponseByte{} }
  577. func (m *ResponseByte) String() string { return proto.CompactTextString(m) }
  578. func (*ResponseByte) ProtoMessage() {}
  579. func (*ResponseByte) Descriptor() ([]byte, []int) {
  580. return fileDescriptor_cb4a498eeb2ba07d, []int{12}
  581. }
  582. func (m *ResponseByte) XXX_Unmarshal(b []byte) error {
  583. return xxx_messageInfo_ResponseByte.Unmarshal(m, b)
  584. }
  585. func (m *ResponseByte) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  586. return xxx_messageInfo_ResponseByte.Marshal(b, m, deterministic)
  587. }
  588. func (m *ResponseByte) XXX_Merge(src proto.Message) {
  589. xxx_messageInfo_ResponseByte.Merge(m, src)
  590. }
  591. func (m *ResponseByte) XXX_Size() int {
  592. return xxx_messageInfo_ResponseByte.Size(m)
  593. }
  594. func (m *ResponseByte) XXX_DiscardUnknown() {
  595. xxx_messageInfo_ResponseByte.DiscardUnknown(m)
  596. }
  597. var xxx_messageInfo_ResponseByte proto.InternalMessageInfo
  598. func (m *ResponseByte) GetData() []byte {
  599. if m != nil {
  600. return m.Data
  601. }
  602. return nil
  603. }
  604. type ExcelLogReq struct {
  605. Module string `protobuf:"bytes,1,opt,name=Module,proto3" json:"Module,omitempty"`
  606. Cond string `protobuf:"bytes,2,opt,name=Cond,proto3" json:"Cond,omitempty"`
  607. CreateBy string `protobuf:"bytes,3,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"`
  608. CreateTime string `protobuf:"bytes,4,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
  609. LastUpdateBy string `protobuf:"bytes,5,opt,name=LastUpdateBy,proto3" json:"LastUpdateBy,omitempty"`
  610. LastUpdateTime string `protobuf:"bytes,6,opt,name=LastUpdateTime,proto3" json:"LastUpdateTime,omitempty"`
  611. DelFlag string `protobuf:"bytes,7,opt,name=DelFlag,proto3" json:"DelFlag,omitempty"`
  612. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  613. XXX_unrecognized []byte `json:"-"`
  614. XXX_sizecache int32 `json:"-"`
  615. }
  616. func (m *ExcelLogReq) Reset() { *m = ExcelLogReq{} }
  617. func (m *ExcelLogReq) String() string { return proto.CompactTextString(m) }
  618. func (*ExcelLogReq) ProtoMessage() {}
  619. func (*ExcelLogReq) Descriptor() ([]byte, []int) {
  620. return fileDescriptor_cb4a498eeb2ba07d, []int{13}
  621. }
  622. func (m *ExcelLogReq) XXX_Unmarshal(b []byte) error {
  623. return xxx_messageInfo_ExcelLogReq.Unmarshal(m, b)
  624. }
  625. func (m *ExcelLogReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  626. return xxx_messageInfo_ExcelLogReq.Marshal(b, m, deterministic)
  627. }
  628. func (m *ExcelLogReq) XXX_Merge(src proto.Message) {
  629. xxx_messageInfo_ExcelLogReq.Merge(m, src)
  630. }
  631. func (m *ExcelLogReq) XXX_Size() int {
  632. return xxx_messageInfo_ExcelLogReq.Size(m)
  633. }
  634. func (m *ExcelLogReq) XXX_DiscardUnknown() {
  635. xxx_messageInfo_ExcelLogReq.DiscardUnknown(m)
  636. }
  637. var xxx_messageInfo_ExcelLogReq proto.InternalMessageInfo
  638. func (m *ExcelLogReq) GetModule() string {
  639. if m != nil {
  640. return m.Module
  641. }
  642. return ""
  643. }
  644. func (m *ExcelLogReq) GetCond() string {
  645. if m != nil {
  646. return m.Cond
  647. }
  648. return ""
  649. }
  650. func (m *ExcelLogReq) GetCreateBy() string {
  651. if m != nil {
  652. return m.CreateBy
  653. }
  654. return ""
  655. }
  656. func (m *ExcelLogReq) GetCreateTime() string {
  657. if m != nil {
  658. return m.CreateTime
  659. }
  660. return ""
  661. }
  662. func (m *ExcelLogReq) GetLastUpdateBy() string {
  663. if m != nil {
  664. return m.LastUpdateBy
  665. }
  666. return ""
  667. }
  668. func (m *ExcelLogReq) GetLastUpdateTime() string {
  669. if m != nil {
  670. return m.LastUpdateTime
  671. }
  672. return ""
  673. }
  674. func (m *ExcelLogReq) GetDelFlag() string {
  675. if m != nil {
  676. return m.DelFlag
  677. }
  678. return ""
  679. }
  680. type ExcelLogRes struct {
  681. Status int64 `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
  682. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  683. XXX_unrecognized []byte `json:"-"`
  684. XXX_sizecache int32 `json:"-"`
  685. }
  686. func (m *ExcelLogRes) Reset() { *m = ExcelLogRes{} }
  687. func (m *ExcelLogRes) String() string { return proto.CompactTextString(m) }
  688. func (*ExcelLogRes) ProtoMessage() {}
  689. func (*ExcelLogRes) Descriptor() ([]byte, []int) {
  690. return fileDescriptor_cb4a498eeb2ba07d, []int{14}
  691. }
  692. func (m *ExcelLogRes) XXX_Unmarshal(b []byte) error {
  693. return xxx_messageInfo_ExcelLogRes.Unmarshal(m, b)
  694. }
  695. func (m *ExcelLogRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  696. return xxx_messageInfo_ExcelLogRes.Marshal(b, m, deterministic)
  697. }
  698. func (m *ExcelLogRes) XXX_Merge(src proto.Message) {
  699. xxx_messageInfo_ExcelLogRes.Merge(m, src)
  700. }
  701. func (m *ExcelLogRes) XXX_Size() int {
  702. return xxx_messageInfo_ExcelLogRes.Size(m)
  703. }
  704. func (m *ExcelLogRes) XXX_DiscardUnknown() {
  705. xxx_messageInfo_ExcelLogRes.DiscardUnknown(m)
  706. }
  707. var xxx_messageInfo_ExcelLogRes proto.InternalMessageInfo
  708. func (m *ExcelLogRes) GetStatus() int64 {
  709. if m != nil {
  710. return m.Status
  711. }
  712. return 0
  713. }
  714. type SchoolIdsReq struct {
  715. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
  716. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  717. XXX_unrecognized []byte `json:"-"`
  718. XXX_sizecache int32 `json:"-"`
  719. }
  720. func (m *SchoolIdsReq) Reset() { *m = SchoolIdsReq{} }
  721. func (m *SchoolIdsReq) String() string { return proto.CompactTextString(m) }
  722. func (*SchoolIdsReq) ProtoMessage() {}
  723. func (*SchoolIdsReq) Descriptor() ([]byte, []int) {
  724. return fileDescriptor_cb4a498eeb2ba07d, []int{15}
  725. }
  726. func (m *SchoolIdsReq) XXX_Unmarshal(b []byte) error {
  727. return xxx_messageInfo_SchoolIdsReq.Unmarshal(m, b)
  728. }
  729. func (m *SchoolIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  730. return xxx_messageInfo_SchoolIdsReq.Marshal(b, m, deterministic)
  731. }
  732. func (m *SchoolIdsReq) XXX_Merge(src proto.Message) {
  733. xxx_messageInfo_SchoolIdsReq.Merge(m, src)
  734. }
  735. func (m *SchoolIdsReq) XXX_Size() int {
  736. return xxx_messageInfo_SchoolIdsReq.Size(m)
  737. }
  738. func (m *SchoolIdsReq) XXX_DiscardUnknown() {
  739. xxx_messageInfo_SchoolIdsReq.DiscardUnknown(m)
  740. }
  741. var xxx_messageInfo_SchoolIdsReq proto.InternalMessageInfo
  742. func (m *SchoolIdsReq) GetNames() []string {
  743. if m != nil {
  744. return m.Names
  745. }
  746. return nil
  747. }
  748. type ListOfInt struct {
  749. Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
  750. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  751. XXX_unrecognized []byte `json:"-"`
  752. XXX_sizecache int32 `json:"-"`
  753. }
  754. func (m *ListOfInt) Reset() { *m = ListOfInt{} }
  755. func (m *ListOfInt) String() string { return proto.CompactTextString(m) }
  756. func (*ListOfInt) ProtoMessage() {}
  757. func (*ListOfInt) Descriptor() ([]byte, []int) {
  758. return fileDescriptor_cb4a498eeb2ba07d, []int{16}
  759. }
  760. func (m *ListOfInt) XXX_Unmarshal(b []byte) error {
  761. return xxx_messageInfo_ListOfInt.Unmarshal(m, b)
  762. }
  763. func (m *ListOfInt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  764. return xxx_messageInfo_ListOfInt.Marshal(b, m, deterministic)
  765. }
  766. func (m *ListOfInt) XXX_Merge(src proto.Message) {
  767. xxx_messageInfo_ListOfInt.Merge(m, src)
  768. }
  769. func (m *ListOfInt) XXX_Size() int {
  770. return xxx_messageInfo_ListOfInt.Size(m)
  771. }
  772. func (m *ListOfInt) XXX_DiscardUnknown() {
  773. xxx_messageInfo_ListOfInt.DiscardUnknown(m)
  774. }
  775. var xxx_messageInfo_ListOfInt proto.InternalMessageInfo
  776. func (m *ListOfInt) GetIds() []int64 {
  777. if m != nil {
  778. return m.Ids
  779. }
  780. return nil
  781. }
  782. type SchoolIdsRes struct {
  783. MapList map[string]int64 `protobuf:"bytes,1,rep,name=mapList,proto3" json:"mapList,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  784. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  785. XXX_unrecognized []byte `json:"-"`
  786. XXX_sizecache int32 `json:"-"`
  787. }
  788. func (m *SchoolIdsRes) Reset() { *m = SchoolIdsRes{} }
  789. func (m *SchoolIdsRes) String() string { return proto.CompactTextString(m) }
  790. func (*SchoolIdsRes) ProtoMessage() {}
  791. func (*SchoolIdsRes) Descriptor() ([]byte, []int) {
  792. return fileDescriptor_cb4a498eeb2ba07d, []int{17}
  793. }
  794. func (m *SchoolIdsRes) XXX_Unmarshal(b []byte) error {
  795. return xxx_messageInfo_SchoolIdsRes.Unmarshal(m, b)
  796. }
  797. func (m *SchoolIdsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  798. return xxx_messageInfo_SchoolIdsRes.Marshal(b, m, deterministic)
  799. }
  800. func (m *SchoolIdsRes) XXX_Merge(src proto.Message) {
  801. xxx_messageInfo_SchoolIdsRes.Merge(m, src)
  802. }
  803. func (m *SchoolIdsRes) XXX_Size() int {
  804. return xxx_messageInfo_SchoolIdsRes.Size(m)
  805. }
  806. func (m *SchoolIdsRes) XXX_DiscardUnknown() {
  807. xxx_messageInfo_SchoolIdsRes.DiscardUnknown(m)
  808. }
  809. var xxx_messageInfo_SchoolIdsRes proto.InternalMessageInfo
  810. func (m *SchoolIdsRes) GetMapList() map[string]int64 {
  811. if m != nil {
  812. return m.MapList
  813. }
  814. return nil
  815. }
  816. type CityIdsReq struct {
  817. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
  818. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  819. XXX_unrecognized []byte `json:"-"`
  820. XXX_sizecache int32 `json:"-"`
  821. }
  822. func (m *CityIdsReq) Reset() { *m = CityIdsReq{} }
  823. func (m *CityIdsReq) String() string { return proto.CompactTextString(m) }
  824. func (*CityIdsReq) ProtoMessage() {}
  825. func (*CityIdsReq) Descriptor() ([]byte, []int) {
  826. return fileDescriptor_cb4a498eeb2ba07d, []int{18}
  827. }
  828. func (m *CityIdsReq) XXX_Unmarshal(b []byte) error {
  829. return xxx_messageInfo_CityIdsReq.Unmarshal(m, b)
  830. }
  831. func (m *CityIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  832. return xxx_messageInfo_CityIdsReq.Marshal(b, m, deterministic)
  833. }
  834. func (m *CityIdsReq) XXX_Merge(src proto.Message) {
  835. xxx_messageInfo_CityIdsReq.Merge(m, src)
  836. }
  837. func (m *CityIdsReq) XXX_Size() int {
  838. return xxx_messageInfo_CityIdsReq.Size(m)
  839. }
  840. func (m *CityIdsReq) XXX_DiscardUnknown() {
  841. xxx_messageInfo_CityIdsReq.DiscardUnknown(m)
  842. }
  843. var xxx_messageInfo_CityIdsReq proto.InternalMessageInfo
  844. func (m *CityIdsReq) GetNames() []string {
  845. if m != nil {
  846. return m.Names
  847. }
  848. return nil
  849. }
  850. type CityIdsRes struct {
  851. MapList map[string]int64 `protobuf:"bytes,1,rep,name=mapList,proto3" json:"mapList,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  852. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  853. XXX_unrecognized []byte `json:"-"`
  854. XXX_sizecache int32 `json:"-"`
  855. }
  856. func (m *CityIdsRes) Reset() { *m = CityIdsRes{} }
  857. func (m *CityIdsRes) String() string { return proto.CompactTextString(m) }
  858. func (*CityIdsRes) ProtoMessage() {}
  859. func (*CityIdsRes) Descriptor() ([]byte, []int) {
  860. return fileDescriptor_cb4a498eeb2ba07d, []int{19}
  861. }
  862. func (m *CityIdsRes) XXX_Unmarshal(b []byte) error {
  863. return xxx_messageInfo_CityIdsRes.Unmarshal(m, b)
  864. }
  865. func (m *CityIdsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  866. return xxx_messageInfo_CityIdsRes.Marshal(b, m, deterministic)
  867. }
  868. func (m *CityIdsRes) XXX_Merge(src proto.Message) {
  869. xxx_messageInfo_CityIdsRes.Merge(m, src)
  870. }
  871. func (m *CityIdsRes) XXX_Size() int {
  872. return xxx_messageInfo_CityIdsRes.Size(m)
  873. }
  874. func (m *CityIdsRes) XXX_DiscardUnknown() {
  875. xxx_messageInfo_CityIdsRes.DiscardUnknown(m)
  876. }
  877. var xxx_messageInfo_CityIdsRes proto.InternalMessageInfo
  878. func (m *CityIdsRes) GetMapList() map[string]int64 {
  879. if m != nil {
  880. return m.MapList
  881. }
  882. return nil
  883. }
  884. func init() {
  885. proto.RegisterType((*UserRequest)(nil), "transform.UserRequest")
  886. proto.RegisterType((*UserResponse)(nil), "transform.UserResponse")
  887. proto.RegisterType((*TokenRequest)(nil), "transform.TokenRequest")
  888. proto.RegisterType((*TokenResponse)(nil), "transform.TokenResponse")
  889. proto.RegisterType((*Empty)(nil), "transform.Empty")
  890. proto.RegisterType((*TreeNodes)(nil), "transform.TreeNodes")
  891. proto.RegisterType((*TreeNode)(nil), "transform.TreeNode")
  892. proto.RegisterType((*Tag)(nil), "transform.Tag")
  893. proto.RegisterType((*OptionsetReq)(nil), "transform.OptionsetReq")
  894. proto.RegisterType((*OptionsetRes)(nil), "transform.OptionsetRes")
  895. proto.RegisterMapType((map[string]string)(nil), "transform.OptionsetRes.MapListEntry")
  896. proto.RegisterType((*OptionCode)(nil), "transform.OptionCode")
  897. proto.RegisterType((*Options)(nil), "transform.Options")
  898. proto.RegisterType((*ResponseByte)(nil), "transform.ResponseByte")
  899. proto.RegisterType((*ExcelLogReq)(nil), "transform.ExcelLogReq")
  900. proto.RegisterType((*ExcelLogRes)(nil), "transform.ExcelLogRes")
  901. proto.RegisterType((*SchoolIdsReq)(nil), "transform.SchoolIdsReq")
  902. proto.RegisterType((*ListOfInt)(nil), "transform.ListOfInt")
  903. proto.RegisterType((*SchoolIdsRes)(nil), "transform.SchoolIdsRes")
  904. proto.RegisterMapType((map[string]int64)(nil), "transform.SchoolIdsRes.MapListEntry")
  905. proto.RegisterType((*CityIdsReq)(nil), "transform.CityIdsReq")
  906. proto.RegisterType((*CityIdsRes)(nil), "transform.CityIdsRes")
  907. proto.RegisterMapType((map[string]int64)(nil), "transform.CityIdsRes.MapListEntry")
  908. }
  909. func init() { proto.RegisterFile("transform.proto", fileDescriptor_cb4a498eeb2ba07d) }
  910. var fileDescriptor_cb4a498eeb2ba07d = []byte{
  911. // 926 bytes of a gzipped FileDescriptorProto
  912. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xdb, 0x46,
  913. 0x10, 0x06, 0x4d, 0xd3, 0xb2, 0x46, 0xb2, 0x1d, 0x6c, 0x1d, 0x87, 0x20, 0xd0, 0x42, 0x20, 0xdc,
  914. 0xc2, 0xb9, 0xf8, 0xe0, 0x00, 0x45, 0x6a, 0x14, 0x6d, 0x13, 0x5b, 0x15, 0x0c, 0xf8, 0x0f, 0xb4,
  915. 0x82, 0x9e, 0x59, 0x71, 0xa2, 0x10, 0xa6, 0xb8, 0xf4, 0xee, 0xca, 0x08, 0x5f, 0xa0, 0x87, 0x5e,
  916. 0xfb, 0x3c, 0x7d, 0x8b, 0xde, 0xfa, 0x30, 0x2d, 0x66, 0x77, 0x29, 0xad, 0x6c, 0xb6, 0x49, 0x80,
  917. 0xdc, 0xf6, 0xfb, 0x76, 0x66, 0x67, 0xf6, 0xdb, 0x99, 0x21, 0x61, 0x47, 0x89, 0xb4, 0x94, 0x6f,
  918. 0xb9, 0x98, 0x1d, 0x56, 0x82, 0x2b, 0xce, 0xba, 0x0b, 0x22, 0x7e, 0x01, 0xbd, 0x37, 0x12, 0x45,
  919. 0x82, 0x77, 0x73, 0x94, 0x8a, 0x6d, 0xc3, 0x5a, 0x9e, 0x85, 0xde, 0xc0, 0x3b, 0xe8, 0x26, 0x6b,
  920. 0x79, 0xc6, 0x76, 0x21, 0xa8, 0xde, 0xf1, 0x12, 0xc3, 0x35, 0x4d, 0x19, 0x10, 0xff, 0xe5, 0x41,
  921. 0xdf, 0x78, 0xc9, 0x8a, 0x97, 0x12, 0x3f, 0xce, 0x8d, 0x58, 0xc1, 0x0b, 0x94, 0xa1, 0x6f, 0x58,
  922. 0x0d, 0xd8, 0x1e, 0x6c, 0x48, 0x95, 0xaa, 0xb9, 0x0c, 0xd7, 0x07, 0xde, 0x81, 0x9f, 0x58, 0xc4,
  923. 0x06, 0xd0, 0x43, 0x51, 0x25, 0xbc, 0xc0, 0x71, 0x5d, 0x61, 0x18, 0xe8, 0x4d, 0x97, 0x62, 0x11,
  924. 0x6c, 0xce, 0x25, 0x8a, 0xcb, 0x74, 0x86, 0xe1, 0x86, 0x3e, 0x72, 0x81, 0x69, 0x6f, 0x92, 0xab,
  925. 0x5a, 0xef, 0x75, 0xcc, 0x5e, 0x83, 0x29, 0xe2, 0x14, 0xcb, 0x0c, 0x45, 0xb8, 0x69, 0x22, 0x1a,
  926. 0x14, 0xef, 0x43, 0x7f, 0xcc, 0x6f, 0xb1, 0x6c, 0xc4, 0xd8, 0x85, 0x40, 0x11, 0xb6, 0x17, 0x33,
  927. 0x20, 0xfe, 0xc7, 0x83, 0x2d, 0x6b, 0x66, 0x6f, 0xbf, 0x07, 0x1b, 0xa4, 0xc6, 0x59, 0xa3, 0x80,
  928. 0x45, 0x74, 0x03, 0xad, 0x12, 0x2f, 0xf0, 0x2c, 0x93, 0x56, 0x0b, 0x97, 0x62, 0xfb, 0xb0, 0x45,
  929. 0xf0, 0x66, 0xf2, 0x8e, 0xf3, 0x82, 0x6c, 0x8c, 0x32, 0xab, 0x24, 0x3b, 0x80, 0x1d, 0x22, 0xae,
  930. 0x05, 0xbf, 0xcf, 0xcb, 0x89, 0x3e, 0x6b, 0x5d, 0xdb, 0x3d, 0xa4, 0x59, 0x6c, 0xde, 0xe5, 0x4a,
  931. 0x4c, 0xd3, 0x92, 0xcc, 0x02, 0x6d, 0xb6, 0xc2, 0x51, 0x56, 0x37, 0xb5, 0x6c, 0x4e, 0xb7, 0xc2,
  932. 0xb9, 0x14, 0xfb, 0x0a, 0xe0, 0xa6, 0x96, 0xd6, 0xc1, 0xaa, 0xe7, 0x30, 0x71, 0x07, 0x82, 0xe1,
  933. 0xac, 0x52, 0x75, 0xfc, 0x2d, 0x74, 0xc7, 0x02, 0xf1, 0x92, 0x67, 0x28, 0xd9, 0x73, 0x08, 0x4a,
  934. 0x5a, 0x84, 0xde, 0xc0, 0x3f, 0xe8, 0x1d, 0x7d, 0x71, 0xb8, 0xac, 0xba, 0xc6, 0x28, 0x31, 0x16,
  935. 0xf1, 0x1f, 0x1e, 0x6c, 0x36, 0x9c, 0x53, 0x3b, 0xbe, 0xae, 0x1d, 0x06, 0xeb, 0x0a, 0xdf, 0x2b,
  936. 0x2b, 0x97, 0x5e, 0x93, 0xc2, 0x55, 0x2a, 0xb0, 0x54, 0x5a, 0x20, 0x3f, 0xb1, 0x88, 0x0d, 0xc0,
  937. 0x57, 0xe9, 0x54, 0xab, 0xd1, 0x3b, 0xda, 0x76, 0x23, 0xa6, 0xd3, 0x84, 0xb6, 0x96, 0x59, 0x05,
  938. 0x1f, 0xcc, 0xea, 0x39, 0xf8, 0xe3, 0x74, 0xda, 0x96, 0x4f, 0x49, 0x55, 0x64, 0xf3, 0xa1, 0x75,
  939. 0x1c, 0x43, 0xff, 0xaa, 0x52, 0x39, 0xbd, 0xbe, 0x4a, 0xf0, 0x8e, 0x6c, 0x26, 0x3c, 0x43, 0xfb,
  940. 0xfe, 0x7a, 0x1d, 0xff, 0xee, 0xad, 0x18, 0x49, 0xf6, 0x03, 0x74, 0x66, 0x69, 0x75, 0x9e, 0x4b,
  941. 0x65, 0x25, 0xda, 0x77, 0x92, 0x71, 0x2d, 0x0f, 0x2f, 0x8c, 0xd9, 0xb0, 0x54, 0xa2, 0x4e, 0x1a,
  942. 0xa7, 0xe8, 0x18, 0xfa, 0xee, 0x06, 0x7b, 0x02, 0xfe, 0x2d, 0xd6, 0x36, 0x26, 0x2d, 0xa9, 0x60,
  943. 0xef, 0xd3, 0x62, 0xbe, 0x68, 0x3b, 0x0d, 0x8e, 0xd7, 0x5e, 0x7a, 0xf1, 0x00, 0xc0, 0x44, 0x38,
  944. 0x21, 0xc9, 0xdb, 0xd2, 0x1d, 0x41, 0xc7, 0xe6, 0xd0, 0xb6, 0xdd, 0xa6, 0xc2, 0x32, 0x9c, 0xef,
  945. 0x84, 0x23, 0x6d, 0x9a, 0xce, 0x78, 0x5d, 0x2b, 0xed, 0x99, 0xa5, 0x2a, 0xd5, 0xa7, 0xf5, 0x13,
  946. 0xbd, 0x8e, 0xff, 0xf6, 0xa0, 0x37, 0x7c, 0x3f, 0xc1, 0xe2, 0x9c, 0x4f, 0x49, 0xbf, 0x3d, 0xd8,
  947. 0xb8, 0xe0, 0xd9, 0xbc, 0x68, 0x62, 0x5a, 0x44, 0xbe, 0x27, 0xbc, 0xcc, 0x9a, 0xa8, 0xb4, 0xa6,
  948. 0xce, 0x3e, 0x11, 0x98, 0x2a, 0x7c, 0x5d, 0xdb, 0xc0, 0x0b, 0x4c, 0x95, 0x6b, 0xd6, 0xe3, 0x7c,
  949. 0x86, 0xb6, 0x49, 0x1c, 0x86, 0xfa, 0xe3, 0x3c, 0x95, 0xea, 0x4d, 0x95, 0x19, 0x7f, 0xdb, 0x1f,
  950. 0x2e, 0xc7, 0xbe, 0x81, 0xed, 0x25, 0xd6, 0xe7, 0x98, 0x16, 0x79, 0xc0, 0xb2, 0x10, 0x3a, 0xa7,
  951. 0x58, 0xfc, 0x5c, 0xa4, 0x53, 0xdb, 0x22, 0x0d, 0x8c, 0xbf, 0x76, 0x2f, 0xa7, 0x07, 0xdc, 0x8d,
  952. 0x19, 0x70, 0xa6, 0xa8, 0x2c, 0xa2, 0x71, 0xb3, 0xe8, 0x71, 0x12, 0x61, 0x17, 0x02, 0x92, 0xd5,
  953. 0x34, 0x50, 0x37, 0x31, 0x20, 0xfe, 0x12, 0xba, 0xf4, 0xe4, 0x57, 0x6f, 0xcf, 0x4a, 0x45, 0x4f,
  954. 0x9e, 0x67, 0xc6, 0xc0, 0x4f, 0x68, 0xa9, 0xab, 0xcc, 0x39, 0xe5, 0x03, 0x55, 0xe6, 0x5a, 0x7e,
  955. 0x9e, 0x2a, 0xf3, 0xdd, 0x2a, 0x8b, 0x01, 0x4e, 0x72, 0x55, 0xff, 0xef, 0x7d, 0x7e, 0xf3, 0x1c,
  956. 0x23, 0xc9, 0xbe, 0x7f, 0x98, 0x6e, 0xec, 0xa4, 0xbb, 0xb4, 0xfb, 0xfc, 0xc9, 0x1e, 0xfd, 0x19,
  957. 0xd0, 0xf4, 0xb2, 0xa1, 0xd8, 0x31, 0x74, 0x46, 0xa8, 0x68, 0x50, 0xb2, 0x3d, 0x27, 0x03, 0xe7,
  958. 0xdb, 0x18, 0x3d, 0x7b, 0xc4, 0xdb, 0xf9, 0xff, 0x23, 0xc0, 0x75, 0x2a, 0x24, 0xea, 0xaf, 0x02,
  959. 0x73, 0xcd, 0xdc, 0xcf, 0x49, 0x14, 0x3e, 0xde, 0xb0, 0x07, 0xbc, 0x84, 0xed, 0x11, 0xaa, 0xa1,
  960. 0xa8, 0xe8, 0xc2, 0x34, 0x96, 0xd8, 0x13, 0xc7, 0x56, 0xcf, 0xda, 0x68, 0xb7, 0x65, 0x72, 0x49,
  961. 0xf6, 0x0a, 0xb6, 0xce, 0x79, 0x9a, 0x2d, 0xa6, 0xc7, 0x4a, 0x74, 0x77, 0x44, 0x45, 0xff, 0xb1,
  962. 0x21, 0xd9, 0x4f, 0xd0, 0x1f, 0xa1, 0x5a, 0x7e, 0x6d, 0x9e, 0xb5, 0xd7, 0xcb, 0xea, 0x09, 0x2b,
  963. 0x25, 0x77, 0x0c, 0x30, 0x42, 0x65, 0x1f, 0x8b, 0x3d, 0x6d, 0x7b, 0xc0, 0xbb, 0xa8, 0x95, 0xa6,
  964. 0x72, 0xed, 0x5f, 0x73, 0xa9, 0x9a, 0x7e, 0x59, 0x11, 0xdf, 0x99, 0x10, 0x51, 0x3b, 0x4f, 0xf5,
  965. 0xb3, 0x63, 0xa4, 0x5b, 0x4a, 0xf0, 0xf4, 0xd1, 0x4d, 0x69, 0xe8, 0x45, 0xec, 0xb1, 0x00, 0xec,
  966. 0x14, 0x22, 0xe3, 0x7d, 0x71, 0xab, 0x2e, 0x51, 0xfd, 0xc2, 0xc5, 0xed, 0x29, 0xaa, 0x34, 0x2f,
  967. 0x3e, 0xe9, 0x11, 0xbe, 0xd3, 0x0a, 0x0e, 0x45, 0x65, 0x54, 0x69, 0xf1, 0x73, 0xa5, 0x5b, 0x19,
  968. 0x8e, 0x0b, 0xd7, 0x57, 0x13, 0x95, 0xdf, 0xe3, 0x27, 0xb8, 0xfe, 0xba, 0xa1, 0xff, 0xe5, 0x5e,
  969. 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x18, 0x78, 0xd5, 0x5a, 0xde, 0x09, 0x00, 0x00,
  970. }
  971. // Reference imports to suppress errors if they are not otherwise used.
  972. var _ context.Context
  973. var _ grpc.ClientConn
  974. // This is a compile-time assertion to ensure that this generated file
  975. // is compatible with the grpc package it is being compiled against.
  976. const _ = grpc.SupportPackageIsVersion4
  977. // TransformClient is the client API for Transform service.
  978. //
  979. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  980. type TransformClient interface {
  981. GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error)
  982. ParseToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error)
  983. GetErpCityTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
  984. LoadOptionset(ctx context.Context, in *OptionsetReq, opts ...grpc.CallOption) (*OptionsetRes, error)
  985. GetSchoolIds(ctx context.Context, in *SchoolIdsReq, opts ...grpc.CallOption) (*SchoolIdsRes, error)
  986. GetCityIds(ctx context.Context, in *CityIdsReq, opts ...grpc.CallOption) (*CityIdsRes, error)
  987. PostExcelLog(ctx context.Context, in *ExcelLogReq, opts ...grpc.CallOption) (*ExcelLogRes, error)
  988. GetErpOptionset(ctx context.Context, in *OptionCode, opts ...grpc.CallOption) (*Options, error)
  989. GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
  990. GetErpSchool(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ResponseByte, error)
  991. GetErpActive(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ResponseByte, error)
  992. }
  993. type transformClient struct {
  994. cc *grpc.ClientConn
  995. }
  996. func NewTransformClient(cc *grpc.ClientConn) TransformClient {
  997. return &transformClient{cc}
  998. }
  999. func (c *transformClient) GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error) {
  1000. out := new(UserResponse)
  1001. err := c.cc.Invoke(ctx, "/transform.Transform/GetUser", in, out, opts...)
  1002. if err != nil {
  1003. return nil, err
  1004. }
  1005. return out, nil
  1006. }
  1007. func (c *transformClient) ParseToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error) {
  1008. out := new(TokenResponse)
  1009. err := c.cc.Invoke(ctx, "/transform.Transform/ParseToken", in, out, opts...)
  1010. if err != nil {
  1011. return nil, err
  1012. }
  1013. return out, nil
  1014. }
  1015. func (c *transformClient) GetErpCityTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error) {
  1016. out := new(TreeNodes)
  1017. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpCityTree", in, out, opts...)
  1018. if err != nil {
  1019. return nil, err
  1020. }
  1021. return out, nil
  1022. }
  1023. func (c *transformClient) LoadOptionset(ctx context.Context, in *OptionsetReq, opts ...grpc.CallOption) (*OptionsetRes, error) {
  1024. out := new(OptionsetRes)
  1025. err := c.cc.Invoke(ctx, "/transform.Transform/LoadOptionset", in, out, opts...)
  1026. if err != nil {
  1027. return nil, err
  1028. }
  1029. return out, nil
  1030. }
  1031. func (c *transformClient) GetSchoolIds(ctx context.Context, in *SchoolIdsReq, opts ...grpc.CallOption) (*SchoolIdsRes, error) {
  1032. out := new(SchoolIdsRes)
  1033. err := c.cc.Invoke(ctx, "/transform.Transform/GetSchoolIds", in, out, opts...)
  1034. if err != nil {
  1035. return nil, err
  1036. }
  1037. return out, nil
  1038. }
  1039. func (c *transformClient) GetCityIds(ctx context.Context, in *CityIdsReq, opts ...grpc.CallOption) (*CityIdsRes, error) {
  1040. out := new(CityIdsRes)
  1041. err := c.cc.Invoke(ctx, "/transform.Transform/GetCityIds", in, out, opts...)
  1042. if err != nil {
  1043. return nil, err
  1044. }
  1045. return out, nil
  1046. }
  1047. func (c *transformClient) PostExcelLog(ctx context.Context, in *ExcelLogReq, opts ...grpc.CallOption) (*ExcelLogRes, error) {
  1048. out := new(ExcelLogRes)
  1049. err := c.cc.Invoke(ctx, "/transform.Transform/PostExcelLog", in, out, opts...)
  1050. if err != nil {
  1051. return nil, err
  1052. }
  1053. return out, nil
  1054. }
  1055. func (c *transformClient) GetErpOptionset(ctx context.Context, in *OptionCode, opts ...grpc.CallOption) (*Options, error) {
  1056. out := new(Options)
  1057. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpOptionset", in, out, opts...)
  1058. if err != nil {
  1059. return nil, err
  1060. }
  1061. return out, nil
  1062. }
  1063. func (c *transformClient) GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error) {
  1064. out := new(TreeNodes)
  1065. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpMktNetWorkDetailTree", in, out, opts...)
  1066. if err != nil {
  1067. return nil, err
  1068. }
  1069. return out, nil
  1070. }
  1071. func (c *transformClient) GetErpSchool(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ResponseByte, error) {
  1072. out := new(ResponseByte)
  1073. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpSchool", in, out, opts...)
  1074. if err != nil {
  1075. return nil, err
  1076. }
  1077. return out, nil
  1078. }
  1079. func (c *transformClient) GetErpActive(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ResponseByte, error) {
  1080. out := new(ResponseByte)
  1081. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpActive", in, out, opts...)
  1082. if err != nil {
  1083. return nil, err
  1084. }
  1085. return out, nil
  1086. }
  1087. // TransformServer is the server API for Transform service.
  1088. type TransformServer interface {
  1089. GetUser(context.Context, *UserRequest) (*UserResponse, error)
  1090. ParseToken(context.Context, *TokenRequest) (*TokenResponse, error)
  1091. GetErpCityTree(context.Context, *Empty) (*TreeNodes, error)
  1092. LoadOptionset(context.Context, *OptionsetReq) (*OptionsetRes, error)
  1093. GetSchoolIds(context.Context, *SchoolIdsReq) (*SchoolIdsRes, error)
  1094. GetCityIds(context.Context, *CityIdsReq) (*CityIdsRes, error)
  1095. PostExcelLog(context.Context, *ExcelLogReq) (*ExcelLogRes, error)
  1096. GetErpOptionset(context.Context, *OptionCode) (*Options, error)
  1097. GetErpMktNetWorkDetailTree(context.Context, *Empty) (*TreeNodes, error)
  1098. GetErpSchool(context.Context, *Empty) (*ResponseByte, error)
  1099. GetErpActive(context.Context, *Empty) (*ResponseByte, error)
  1100. }
  1101. // UnimplementedTransformServer can be embedded to have forward compatible implementations.
  1102. type UnimplementedTransformServer struct {
  1103. }
  1104. func (*UnimplementedTransformServer) GetUser(ctx context.Context, req *UserRequest) (*UserResponse, error) {
  1105. return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
  1106. }
  1107. func (*UnimplementedTransformServer) ParseToken(ctx context.Context, req *TokenRequest) (*TokenResponse, error) {
  1108. return nil, status.Errorf(codes.Unimplemented, "method ParseToken not implemented")
  1109. }
  1110. func (*UnimplementedTransformServer) GetErpCityTree(ctx context.Context, req *Empty) (*TreeNodes, error) {
  1111. return nil, status.Errorf(codes.Unimplemented, "method GetErpCityTree not implemented")
  1112. }
  1113. func (*UnimplementedTransformServer) LoadOptionset(ctx context.Context, req *OptionsetReq) (*OptionsetRes, error) {
  1114. return nil, status.Errorf(codes.Unimplemented, "method LoadOptionset not implemented")
  1115. }
  1116. func (*UnimplementedTransformServer) GetSchoolIds(ctx context.Context, req *SchoolIdsReq) (*SchoolIdsRes, error) {
  1117. return nil, status.Errorf(codes.Unimplemented, "method GetSchoolIds not implemented")
  1118. }
  1119. func (*UnimplementedTransformServer) GetCityIds(ctx context.Context, req *CityIdsReq) (*CityIdsRes, error) {
  1120. return nil, status.Errorf(codes.Unimplemented, "method GetCityIds not implemented")
  1121. }
  1122. func (*UnimplementedTransformServer) PostExcelLog(ctx context.Context, req *ExcelLogReq) (*ExcelLogRes, error) {
  1123. return nil, status.Errorf(codes.Unimplemented, "method PostExcelLog not implemented")
  1124. }
  1125. func (*UnimplementedTransformServer) GetErpOptionset(ctx context.Context, req *OptionCode) (*Options, error) {
  1126. return nil, status.Errorf(codes.Unimplemented, "method GetErpOptionset not implemented")
  1127. }
  1128. func (*UnimplementedTransformServer) GetErpMktNetWorkDetailTree(ctx context.Context, req *Empty) (*TreeNodes, error) {
  1129. return nil, status.Errorf(codes.Unimplemented, "method GetErpMktNetWorkDetailTree not implemented")
  1130. }
  1131. func (*UnimplementedTransformServer) GetErpSchool(ctx context.Context, req *Empty) (*ResponseByte, error) {
  1132. return nil, status.Errorf(codes.Unimplemented, "method GetErpSchool not implemented")
  1133. }
  1134. func (*UnimplementedTransformServer) GetErpActive(ctx context.Context, req *Empty) (*ResponseByte, error) {
  1135. return nil, status.Errorf(codes.Unimplemented, "method GetErpActive not implemented")
  1136. }
  1137. func RegisterTransformServer(s *grpc.Server, srv TransformServer) {
  1138. s.RegisterService(&_Transform_serviceDesc, srv)
  1139. }
  1140. func _Transform_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1141. in := new(UserRequest)
  1142. if err := dec(in); err != nil {
  1143. return nil, err
  1144. }
  1145. if interceptor == nil {
  1146. return srv.(TransformServer).GetUser(ctx, in)
  1147. }
  1148. info := &grpc.UnaryServerInfo{
  1149. Server: srv,
  1150. FullMethod: "/transform.Transform/GetUser",
  1151. }
  1152. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1153. return srv.(TransformServer).GetUser(ctx, req.(*UserRequest))
  1154. }
  1155. return interceptor(ctx, in, info, handler)
  1156. }
  1157. func _Transform_ParseToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1158. in := new(TokenRequest)
  1159. if err := dec(in); err != nil {
  1160. return nil, err
  1161. }
  1162. if interceptor == nil {
  1163. return srv.(TransformServer).ParseToken(ctx, in)
  1164. }
  1165. info := &grpc.UnaryServerInfo{
  1166. Server: srv,
  1167. FullMethod: "/transform.Transform/ParseToken",
  1168. }
  1169. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1170. return srv.(TransformServer).ParseToken(ctx, req.(*TokenRequest))
  1171. }
  1172. return interceptor(ctx, in, info, handler)
  1173. }
  1174. func _Transform_GetErpCityTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1175. in := new(Empty)
  1176. if err := dec(in); err != nil {
  1177. return nil, err
  1178. }
  1179. if interceptor == nil {
  1180. return srv.(TransformServer).GetErpCityTree(ctx, in)
  1181. }
  1182. info := &grpc.UnaryServerInfo{
  1183. Server: srv,
  1184. FullMethod: "/transform.Transform/GetErpCityTree",
  1185. }
  1186. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1187. return srv.(TransformServer).GetErpCityTree(ctx, req.(*Empty))
  1188. }
  1189. return interceptor(ctx, in, info, handler)
  1190. }
  1191. func _Transform_LoadOptionset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1192. in := new(OptionsetReq)
  1193. if err := dec(in); err != nil {
  1194. return nil, err
  1195. }
  1196. if interceptor == nil {
  1197. return srv.(TransformServer).LoadOptionset(ctx, in)
  1198. }
  1199. info := &grpc.UnaryServerInfo{
  1200. Server: srv,
  1201. FullMethod: "/transform.Transform/LoadOptionset",
  1202. }
  1203. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1204. return srv.(TransformServer).LoadOptionset(ctx, req.(*OptionsetReq))
  1205. }
  1206. return interceptor(ctx, in, info, handler)
  1207. }
  1208. func _Transform_GetSchoolIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1209. in := new(SchoolIdsReq)
  1210. if err := dec(in); err != nil {
  1211. return nil, err
  1212. }
  1213. if interceptor == nil {
  1214. return srv.(TransformServer).GetSchoolIds(ctx, in)
  1215. }
  1216. info := &grpc.UnaryServerInfo{
  1217. Server: srv,
  1218. FullMethod: "/transform.Transform/GetSchoolIds",
  1219. }
  1220. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1221. return srv.(TransformServer).GetSchoolIds(ctx, req.(*SchoolIdsReq))
  1222. }
  1223. return interceptor(ctx, in, info, handler)
  1224. }
  1225. func _Transform_GetCityIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1226. in := new(CityIdsReq)
  1227. if err := dec(in); err != nil {
  1228. return nil, err
  1229. }
  1230. if interceptor == nil {
  1231. return srv.(TransformServer).GetCityIds(ctx, in)
  1232. }
  1233. info := &grpc.UnaryServerInfo{
  1234. Server: srv,
  1235. FullMethod: "/transform.Transform/GetCityIds",
  1236. }
  1237. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1238. return srv.(TransformServer).GetCityIds(ctx, req.(*CityIdsReq))
  1239. }
  1240. return interceptor(ctx, in, info, handler)
  1241. }
  1242. func _Transform_PostExcelLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1243. in := new(ExcelLogReq)
  1244. if err := dec(in); err != nil {
  1245. return nil, err
  1246. }
  1247. if interceptor == nil {
  1248. return srv.(TransformServer).PostExcelLog(ctx, in)
  1249. }
  1250. info := &grpc.UnaryServerInfo{
  1251. Server: srv,
  1252. FullMethod: "/transform.Transform/PostExcelLog",
  1253. }
  1254. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1255. return srv.(TransformServer).PostExcelLog(ctx, req.(*ExcelLogReq))
  1256. }
  1257. return interceptor(ctx, in, info, handler)
  1258. }
  1259. func _Transform_GetErpOptionset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1260. in := new(OptionCode)
  1261. if err := dec(in); err != nil {
  1262. return nil, err
  1263. }
  1264. if interceptor == nil {
  1265. return srv.(TransformServer).GetErpOptionset(ctx, in)
  1266. }
  1267. info := &grpc.UnaryServerInfo{
  1268. Server: srv,
  1269. FullMethod: "/transform.Transform/GetErpOptionset",
  1270. }
  1271. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1272. return srv.(TransformServer).GetErpOptionset(ctx, req.(*OptionCode))
  1273. }
  1274. return interceptor(ctx, in, info, handler)
  1275. }
  1276. func _Transform_GetErpMktNetWorkDetailTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1277. in := new(Empty)
  1278. if err := dec(in); err != nil {
  1279. return nil, err
  1280. }
  1281. if interceptor == nil {
  1282. return srv.(TransformServer).GetErpMktNetWorkDetailTree(ctx, in)
  1283. }
  1284. info := &grpc.UnaryServerInfo{
  1285. Server: srv,
  1286. FullMethod: "/transform.Transform/GetErpMktNetWorkDetailTree",
  1287. }
  1288. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1289. return srv.(TransformServer).GetErpMktNetWorkDetailTree(ctx, req.(*Empty))
  1290. }
  1291. return interceptor(ctx, in, info, handler)
  1292. }
  1293. func _Transform_GetErpSchool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1294. in := new(Empty)
  1295. if err := dec(in); err != nil {
  1296. return nil, err
  1297. }
  1298. if interceptor == nil {
  1299. return srv.(TransformServer).GetErpSchool(ctx, in)
  1300. }
  1301. info := &grpc.UnaryServerInfo{
  1302. Server: srv,
  1303. FullMethod: "/transform.Transform/GetErpSchool",
  1304. }
  1305. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1306. return srv.(TransformServer).GetErpSchool(ctx, req.(*Empty))
  1307. }
  1308. return interceptor(ctx, in, info, handler)
  1309. }
  1310. func _Transform_GetErpActive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1311. in := new(Empty)
  1312. if err := dec(in); err != nil {
  1313. return nil, err
  1314. }
  1315. if interceptor == nil {
  1316. return srv.(TransformServer).GetErpActive(ctx, in)
  1317. }
  1318. info := &grpc.UnaryServerInfo{
  1319. Server: srv,
  1320. FullMethod: "/transform.Transform/GetErpActive",
  1321. }
  1322. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1323. return srv.(TransformServer).GetErpActive(ctx, req.(*Empty))
  1324. }
  1325. return interceptor(ctx, in, info, handler)
  1326. }
  1327. var _Transform_serviceDesc = grpc.ServiceDesc{
  1328. ServiceName: "transform.Transform",
  1329. HandlerType: (*TransformServer)(nil),
  1330. Methods: []grpc.MethodDesc{
  1331. {
  1332. MethodName: "GetUser",
  1333. Handler: _Transform_GetUser_Handler,
  1334. },
  1335. {
  1336. MethodName: "ParseToken",
  1337. Handler: _Transform_ParseToken_Handler,
  1338. },
  1339. {
  1340. MethodName: "GetErpCityTree",
  1341. Handler: _Transform_GetErpCityTree_Handler,
  1342. },
  1343. {
  1344. MethodName: "LoadOptionset",
  1345. Handler: _Transform_LoadOptionset_Handler,
  1346. },
  1347. {
  1348. MethodName: "GetSchoolIds",
  1349. Handler: _Transform_GetSchoolIds_Handler,
  1350. },
  1351. {
  1352. MethodName: "GetCityIds",
  1353. Handler: _Transform_GetCityIds_Handler,
  1354. },
  1355. {
  1356. MethodName: "PostExcelLog",
  1357. Handler: _Transform_PostExcelLog_Handler,
  1358. },
  1359. {
  1360. MethodName: "GetErpOptionset",
  1361. Handler: _Transform_GetErpOptionset_Handler,
  1362. },
  1363. {
  1364. MethodName: "GetErpMktNetWorkDetailTree",
  1365. Handler: _Transform_GetErpMktNetWorkDetailTree_Handler,
  1366. },
  1367. {
  1368. MethodName: "GetErpSchool",
  1369. Handler: _Transform_GetErpSchool_Handler,
  1370. },
  1371. {
  1372. MethodName: "GetErpActive",
  1373. Handler: _Transform_GetErpActive_Handler,
  1374. },
  1375. },
  1376. Streams: []grpc.StreamDesc{},
  1377. Metadata: "transform.proto",
  1378. }