transform.pb.go 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282
  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 OptionCode 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 *OptionCode) Reset() {
  472. *x = OptionCode{}
  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 *OptionCode) String() string {
  480. return protoimpl.X.MessageStringOf(x)
  481. }
  482. func (*OptionCode) ProtoMessage() {}
  483. func (x *OptionCode) 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 OptionCode.ProtoReflect.Descriptor instead.
  495. func (*OptionCode) Descriptor() ([]byte, []int) {
  496. return file_transform_proto_rawDescGZIP(), []int{8}
  497. }
  498. func (x *OptionCode) GetCode() string {
  499. if x != nil {
  500. return x.Code
  501. }
  502. return ""
  503. }
  504. type Options struct {
  505. state protoimpl.MessageState
  506. sizeCache protoimpl.SizeCache
  507. unknownFields protoimpl.UnknownFields
  508. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
  509. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  510. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
  511. }
  512. func (x *Options) Reset() {
  513. *x = Options{}
  514. if protoimpl.UnsafeEnabled {
  515. mi := &file_transform_proto_msgTypes[9]
  516. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  517. ms.StoreMessageInfo(mi)
  518. }
  519. }
  520. func (x *Options) String() string {
  521. return protoimpl.X.MessageStringOf(x)
  522. }
  523. func (*Options) ProtoMessage() {}
  524. func (x *Options) ProtoReflect() protoreflect.Message {
  525. mi := &file_transform_proto_msgTypes[9]
  526. if protoimpl.UnsafeEnabled && x != nil {
  527. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  528. if ms.LoadMessageInfo() == nil {
  529. ms.StoreMessageInfo(mi)
  530. }
  531. return ms
  532. }
  533. return mi.MessageOf(x)
  534. }
  535. // Deprecated: Use Options.ProtoReflect.Descriptor instead.
  536. func (*Options) Descriptor() ([]byte, []int) {
  537. return file_transform_proto_rawDescGZIP(), []int{9}
  538. }
  539. func (x *Options) GetCode() string {
  540. if x != nil {
  541. return x.Code
  542. }
  543. return ""
  544. }
  545. func (x *Options) GetName() string {
  546. if x != nil {
  547. return x.Name
  548. }
  549. return ""
  550. }
  551. func (x *Options) GetValue() string {
  552. if x != nil {
  553. return x.Value
  554. }
  555. return ""
  556. }
  557. type ResponseByte struct {
  558. state protoimpl.MessageState
  559. sizeCache protoimpl.SizeCache
  560. unknownFields protoimpl.UnknownFields
  561. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  562. }
  563. func (x *ResponseByte) Reset() {
  564. *x = ResponseByte{}
  565. if protoimpl.UnsafeEnabled {
  566. mi := &file_transform_proto_msgTypes[10]
  567. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  568. ms.StoreMessageInfo(mi)
  569. }
  570. }
  571. func (x *ResponseByte) String() string {
  572. return protoimpl.X.MessageStringOf(x)
  573. }
  574. func (*ResponseByte) ProtoMessage() {}
  575. func (x *ResponseByte) ProtoReflect() protoreflect.Message {
  576. mi := &file_transform_proto_msgTypes[10]
  577. if protoimpl.UnsafeEnabled && x != nil {
  578. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  579. if ms.LoadMessageInfo() == nil {
  580. ms.StoreMessageInfo(mi)
  581. }
  582. return ms
  583. }
  584. return mi.MessageOf(x)
  585. }
  586. // Deprecated: Use ResponseByte.ProtoReflect.Descriptor instead.
  587. func (*ResponseByte) Descriptor() ([]byte, []int) {
  588. return file_transform_proto_rawDescGZIP(), []int{10}
  589. }
  590. func (x *ResponseByte) GetData() []byte {
  591. if x != nil {
  592. return x.Data
  593. }
  594. return nil
  595. }
  596. var File_transform_proto protoreflect.FileDescriptor
  597. var file_transform_proto_rawDesc = []byte{
  598. 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  599. 0x6f, 0x12, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x1a, 0x17, 0x62, 0x61,
  600. 0x73, 0x65, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x5f, 0x73, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x2e,
  601. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
  602. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  603. 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20,
  604. 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x0c, 0x55,
  605. 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  606. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70,
  607. 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e,
  608. 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  609. 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
  610. 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
  611. 0x20, 0x0a, 0x0b, 0x65, 0x72, 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05,
  612. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x72, 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70,
  613. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20,
  614. 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
  615. 0x08, 0x63, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
  616. 0x08, 0x63, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x65, 0x6e,
  617. 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65,
  618. 0x72, 0x22, 0x24, 0x0a, 0x0c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  619. 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  620. 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xff, 0x01, 0x0a, 0x0d, 0x54, 0x6f, 0x6b, 0x65,
  621. 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65,
  622. 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49,
  623. 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73,
  624. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65,
  625. 0x49, 0x64, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x63, 0x68, 0x6f, 0x6f,
  626. 0x6c, 0x49, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x55, 0x73, 0x65, 0x72,
  627. 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x55, 0x73, 0x65,
  628. 0x72, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01,
  629. 0x28, 0x09, 0x52, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65,
  630. 0x49, 0x64, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e,
  631. 0x49, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x4f,
  632. 0x72, 0x67, 0x61, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x53, 0x63,
  633. 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x53, 0x79,
  634. 0x73, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x79, 0x73,
  635. 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53,
  636. 0x79, 0x73, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x64, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70,
  637. 0x74, 0x79, 0x22, 0x36, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12,
  638. 0x29, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,
  639. 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e,
  640. 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x08, 0x54,
  641. 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  642. 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18,
  643. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70,
  644. 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x70, 0x61, 0x72,
  645. 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
  646. 0x32, 0x0e, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x61, 0x67,
  647. 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x29, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05,
  648. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d,
  649. 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73,
  650. 0x22, 0x29, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  651. 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  652. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x0a, 0x0a, 0x4f,
  653. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
  654. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x47, 0x0a,
  655. 0x07, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,
  656. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04,
  657. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  658. 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  659. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  660. 0x73, 0x65, 0x42, 0x79, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
  661. 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0xb6, 0x03, 0x0a, 0x09, 0x54,
  662. 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3a, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55,
  663. 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
  664. 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x74, 0x72,
  665. 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
  666. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x73, 0x65, 0x54, 0x6f, 0x6b,
  667. 0x65, 0x6e, 0x12, 0x17, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54,
  668. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x74, 0x72,
  669. 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73,
  670. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x43,
  671. 0x69, 0x74, 0x79, 0x54, 0x72, 0x65, 0x65, 0x12, 0x10, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66,
  672. 0x6f, 0x72, 0x6d, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  673. 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12,
  674. 0x3c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  675. 0x65, 0x74, 0x12, 0x15, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x4f,
  676. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x1a, 0x12, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  677. 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x44, 0x0a,
  678. 0x1a, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x4d, 0x6b, 0x74, 0x4e, 0x65, 0x74, 0x57, 0x6f, 0x72,
  679. 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x54, 0x72, 0x65, 0x65, 0x12, 0x10, 0x2e, 0x74, 0x72,
  680. 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e,
  681. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f,
  682. 0x64, 0x65, 0x73, 0x12, 0x6e, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x4f, 0x72, 0x67,
  683. 0x61, 0x6e, 0x53, 0x63, 0x68, 0x50, 0x65, 0x72, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
  684. 0x12, 0x27, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x47, 0x65, 0x74,
  685. 0x45, 0x72, 0x70, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x53, 0x63, 0x68, 0x50, 0x65, 0x72, 0x42, 0x79,
  686. 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  687. 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x4f, 0x72, 0x67, 0x61,
  688. 0x6e, 0x53, 0x63, 0x68, 0x50, 0x65, 0x72, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52,
  689. 0x65, 0x73, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  690. }
  691. var (
  692. file_transform_proto_rawDescOnce sync.Once
  693. file_transform_proto_rawDescData = file_transform_proto_rawDesc
  694. )
  695. func file_transform_proto_rawDescGZIP() []byte {
  696. file_transform_proto_rawDescOnce.Do(func() {
  697. file_transform_proto_rawDescData = protoimpl.X.CompressGZIP(file_transform_proto_rawDescData)
  698. })
  699. return file_transform_proto_rawDescData
  700. }
  701. var file_transform_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
  702. var file_transform_proto_goTypes = []interface{}{
  703. (*UserRequest)(nil), // 0: transform.UserRequest
  704. (*UserResponse)(nil), // 1: transform.UserResponse
  705. (*TokenRequest)(nil), // 2: transform.TokenRequest
  706. (*TokenResponse)(nil), // 3: transform.TokenResponse
  707. (*Empty)(nil), // 4: transform.Empty
  708. (*TreeNodes)(nil), // 5: transform.TreeNodes
  709. (*TreeNode)(nil), // 6: transform.TreeNode
  710. (*Tag)(nil), // 7: transform.Tag
  711. (*OptionCode)(nil), // 8: transform.OptionCode
  712. (*Options)(nil), // 9: transform.Options
  713. (*ResponseByte)(nil), // 10: transform.ResponseByte
  714. (*GetErpOrganSchPerByUserIdReq)(nil), // 11: transform.GetErpOrganSchPerByUserIdReq
  715. (*GetErpOrganSchPerByUserIdResp)(nil), // 12: transform.GetErpOrganSchPerByUserIdResp
  716. }
  717. var file_transform_proto_depIdxs = []int32{
  718. 6, // 0: transform.TreeNodes.nodes:type_name -> transform.TreeNode
  719. 7, // 1: transform.TreeNode.tag:type_name -> transform.Tag
  720. 6, // 2: transform.TreeNode.nodes:type_name -> transform.TreeNode
  721. 0, // 3: transform.Transform.GetUser:input_type -> transform.UserRequest
  722. 2, // 4: transform.Transform.ParseToken:input_type -> transform.TokenRequest
  723. 4, // 5: transform.Transform.GetErpCityTree:input_type -> transform.Empty
  724. 8, // 6: transform.Transform.GetErpOptionset:input_type -> transform.OptionCode
  725. 4, // 7: transform.Transform.GetErpMktNetWorkDetailTree:input_type -> transform.Empty
  726. 11, // 8: transform.Transform.GetErpOrganSchPerByUserId:input_type -> transform.GetErpOrganSchPerByUserIdReq
  727. 1, // 9: transform.Transform.GetUser:output_type -> transform.UserResponse
  728. 3, // 10: transform.Transform.ParseToken:output_type -> transform.TokenResponse
  729. 5, // 11: transform.Transform.GetErpCityTree:output_type -> transform.TreeNodes
  730. 9, // 12: transform.Transform.GetErpOptionset:output_type -> transform.Options
  731. 5, // 13: transform.Transform.GetErpMktNetWorkDetailTree:output_type -> transform.TreeNodes
  732. 12, // 14: transform.Transform.GetErpOrganSchPerByUserId:output_type -> transform.GetErpOrganSchPerByUserIdResp
  733. 9, // [9:15] is the sub-list for method output_type
  734. 3, // [3:9] is the sub-list for method input_type
  735. 3, // [3:3] is the sub-list for extension type_name
  736. 3, // [3:3] is the sub-list for extension extendee
  737. 0, // [0:3] is the sub-list for field type_name
  738. }
  739. func init() { file_transform_proto_init() }
  740. func file_transform_proto_init() {
  741. if File_transform_proto != nil {
  742. return
  743. }
  744. file_base_organ_school_proto_init()
  745. if !protoimpl.UnsafeEnabled {
  746. file_transform_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  747. switch v := v.(*UserRequest); i {
  748. case 0:
  749. return &v.state
  750. case 1:
  751. return &v.sizeCache
  752. case 2:
  753. return &v.unknownFields
  754. default:
  755. return nil
  756. }
  757. }
  758. file_transform_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  759. switch v := v.(*UserResponse); i {
  760. case 0:
  761. return &v.state
  762. case 1:
  763. return &v.sizeCache
  764. case 2:
  765. return &v.unknownFields
  766. default:
  767. return nil
  768. }
  769. }
  770. file_transform_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  771. switch v := v.(*TokenRequest); i {
  772. case 0:
  773. return &v.state
  774. case 1:
  775. return &v.sizeCache
  776. case 2:
  777. return &v.unknownFields
  778. default:
  779. return nil
  780. }
  781. }
  782. file_transform_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  783. switch v := v.(*TokenResponse); i {
  784. case 0:
  785. return &v.state
  786. case 1:
  787. return &v.sizeCache
  788. case 2:
  789. return &v.unknownFields
  790. default:
  791. return nil
  792. }
  793. }
  794. file_transform_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  795. switch v := v.(*Empty); i {
  796. case 0:
  797. return &v.state
  798. case 1:
  799. return &v.sizeCache
  800. case 2:
  801. return &v.unknownFields
  802. default:
  803. return nil
  804. }
  805. }
  806. file_transform_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  807. switch v := v.(*TreeNodes); i {
  808. case 0:
  809. return &v.state
  810. case 1:
  811. return &v.sizeCache
  812. case 2:
  813. return &v.unknownFields
  814. default:
  815. return nil
  816. }
  817. }
  818. file_transform_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  819. switch v := v.(*TreeNode); i {
  820. case 0:
  821. return &v.state
  822. case 1:
  823. return &v.sizeCache
  824. case 2:
  825. return &v.unknownFields
  826. default:
  827. return nil
  828. }
  829. }
  830. file_transform_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  831. switch v := v.(*Tag); i {
  832. case 0:
  833. return &v.state
  834. case 1:
  835. return &v.sizeCache
  836. case 2:
  837. return &v.unknownFields
  838. default:
  839. return nil
  840. }
  841. }
  842. file_transform_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  843. switch v := v.(*OptionCode); i {
  844. case 0:
  845. return &v.state
  846. case 1:
  847. return &v.sizeCache
  848. case 2:
  849. return &v.unknownFields
  850. default:
  851. return nil
  852. }
  853. }
  854. file_transform_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  855. switch v := v.(*Options); i {
  856. case 0:
  857. return &v.state
  858. case 1:
  859. return &v.sizeCache
  860. case 2:
  861. return &v.unknownFields
  862. default:
  863. return nil
  864. }
  865. }
  866. file_transform_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  867. switch v := v.(*ResponseByte); i {
  868. case 0:
  869. return &v.state
  870. case 1:
  871. return &v.sizeCache
  872. case 2:
  873. return &v.unknownFields
  874. default:
  875. return nil
  876. }
  877. }
  878. }
  879. type x struct{}
  880. out := protoimpl.TypeBuilder{
  881. File: protoimpl.DescBuilder{
  882. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  883. RawDescriptor: file_transform_proto_rawDesc,
  884. NumEnums: 0,
  885. NumMessages: 11,
  886. NumExtensions: 0,
  887. NumServices: 1,
  888. },
  889. GoTypes: file_transform_proto_goTypes,
  890. DependencyIndexes: file_transform_proto_depIdxs,
  891. MessageInfos: file_transform_proto_msgTypes,
  892. }.Build()
  893. File_transform_proto = out.File
  894. file_transform_proto_rawDesc = nil
  895. file_transform_proto_goTypes = nil
  896. file_transform_proto_depIdxs = nil
  897. }
  898. // Reference imports to suppress errors if they are not otherwise used.
  899. var _ context.Context
  900. var _ grpc.ClientConnInterface
  901. // This is a compile-time assertion to ensure that this generated file
  902. // is compatible with the grpc package it is being compiled against.
  903. const _ = grpc.SupportPackageIsVersion6
  904. // TransformClient is the client API for Transform service.
  905. //
  906. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  907. type TransformClient interface {
  908. GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error)
  909. ParseToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error)
  910. //获取erp 省、城市树
  911. GetErpCityTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
  912. //获取erp 字典
  913. GetErpOptionset(ctx context.Context, in *OptionCode, opts ...grpc.CallOption) (*Options, error)
  914. //获取erp 渠道细分树
  915. GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
  916. //获取erp 用户权限
  917. GetErpOrganSchPerByUserId(ctx context.Context, in *GetErpOrganSchPerByUserIdReq, opts ...grpc.CallOption) (*GetErpOrganSchPerByUserIdResp, error)
  918. }
  919. type transformClient struct {
  920. cc grpc.ClientConnInterface
  921. }
  922. func NewTransformClient(cc grpc.ClientConnInterface) TransformClient {
  923. return &transformClient{cc}
  924. }
  925. func (c *transformClient) GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error) {
  926. out := new(UserResponse)
  927. err := c.cc.Invoke(ctx, "/transform.Transform/GetUser", in, out, opts...)
  928. if err != nil {
  929. return nil, err
  930. }
  931. return out, nil
  932. }
  933. func (c *transformClient) ParseToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error) {
  934. out := new(TokenResponse)
  935. err := c.cc.Invoke(ctx, "/transform.Transform/ParseToken", in, out, opts...)
  936. if err != nil {
  937. return nil, err
  938. }
  939. return out, nil
  940. }
  941. func (c *transformClient) GetErpCityTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error) {
  942. out := new(TreeNodes)
  943. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpCityTree", in, out, opts...)
  944. if err != nil {
  945. return nil, err
  946. }
  947. return out, nil
  948. }
  949. func (c *transformClient) GetErpOptionset(ctx context.Context, in *OptionCode, opts ...grpc.CallOption) (*Options, error) {
  950. out := new(Options)
  951. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpOptionset", in, out, opts...)
  952. if err != nil {
  953. return nil, err
  954. }
  955. return out, nil
  956. }
  957. func (c *transformClient) GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error) {
  958. out := new(TreeNodes)
  959. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpMktNetWorkDetailTree", in, out, opts...)
  960. if err != nil {
  961. return nil, err
  962. }
  963. return out, nil
  964. }
  965. func (c *transformClient) GetErpOrganSchPerByUserId(ctx context.Context, in *GetErpOrganSchPerByUserIdReq, opts ...grpc.CallOption) (*GetErpOrganSchPerByUserIdResp, error) {
  966. out := new(GetErpOrganSchPerByUserIdResp)
  967. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpOrganSchPerByUserId", in, out, opts...)
  968. if err != nil {
  969. return nil, err
  970. }
  971. return out, nil
  972. }
  973. // TransformServer is the server API for Transform service.
  974. type TransformServer interface {
  975. GetUser(context.Context, *UserRequest) (*UserResponse, error)
  976. ParseToken(context.Context, *TokenRequest) (*TokenResponse, error)
  977. //获取erp 省、城市树
  978. GetErpCityTree(context.Context, *Empty) (*TreeNodes, error)
  979. //获取erp 字典
  980. GetErpOptionset(context.Context, *OptionCode) (*Options, error)
  981. //获取erp 渠道细分树
  982. GetErpMktNetWorkDetailTree(context.Context, *Empty) (*TreeNodes, error)
  983. //获取erp 用户权限
  984. GetErpOrganSchPerByUserId(context.Context, *GetErpOrganSchPerByUserIdReq) (*GetErpOrganSchPerByUserIdResp, error)
  985. }
  986. // UnimplementedTransformServer can be embedded to have forward compatible implementations.
  987. type UnimplementedTransformServer struct {
  988. }
  989. func (*UnimplementedTransformServer) GetUser(context.Context, *UserRequest) (*UserResponse, error) {
  990. return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
  991. }
  992. func (*UnimplementedTransformServer) ParseToken(context.Context, *TokenRequest) (*TokenResponse, error) {
  993. return nil, status.Errorf(codes.Unimplemented, "method ParseToken not implemented")
  994. }
  995. func (*UnimplementedTransformServer) GetErpCityTree(context.Context, *Empty) (*TreeNodes, error) {
  996. return nil, status.Errorf(codes.Unimplemented, "method GetErpCityTree not implemented")
  997. }
  998. func (*UnimplementedTransformServer) GetErpOptionset(context.Context, *OptionCode) (*Options, error) {
  999. return nil, status.Errorf(codes.Unimplemented, "method GetErpOptionset not implemented")
  1000. }
  1001. func (*UnimplementedTransformServer) GetErpMktNetWorkDetailTree(context.Context, *Empty) (*TreeNodes, error) {
  1002. return nil, status.Errorf(codes.Unimplemented, "method GetErpMktNetWorkDetailTree not implemented")
  1003. }
  1004. func (*UnimplementedTransformServer) GetErpOrganSchPerByUserId(context.Context, *GetErpOrganSchPerByUserIdReq) (*GetErpOrganSchPerByUserIdResp, error) {
  1005. return nil, status.Errorf(codes.Unimplemented, "method GetErpOrganSchPerByUserId not implemented")
  1006. }
  1007. func RegisterTransformServer(s *grpc.Server, srv TransformServer) {
  1008. s.RegisterService(&_Transform_serviceDesc, srv)
  1009. }
  1010. func _Transform_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1011. in := new(UserRequest)
  1012. if err := dec(in); err != nil {
  1013. return nil, err
  1014. }
  1015. if interceptor == nil {
  1016. return srv.(TransformServer).GetUser(ctx, in)
  1017. }
  1018. info := &grpc.UnaryServerInfo{
  1019. Server: srv,
  1020. FullMethod: "/transform.Transform/GetUser",
  1021. }
  1022. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1023. return srv.(TransformServer).GetUser(ctx, req.(*UserRequest))
  1024. }
  1025. return interceptor(ctx, in, info, handler)
  1026. }
  1027. func _Transform_ParseToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1028. in := new(TokenRequest)
  1029. if err := dec(in); err != nil {
  1030. return nil, err
  1031. }
  1032. if interceptor == nil {
  1033. return srv.(TransformServer).ParseToken(ctx, in)
  1034. }
  1035. info := &grpc.UnaryServerInfo{
  1036. Server: srv,
  1037. FullMethod: "/transform.Transform/ParseToken",
  1038. }
  1039. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1040. return srv.(TransformServer).ParseToken(ctx, req.(*TokenRequest))
  1041. }
  1042. return interceptor(ctx, in, info, handler)
  1043. }
  1044. func _Transform_GetErpCityTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1045. in := new(Empty)
  1046. if err := dec(in); err != nil {
  1047. return nil, err
  1048. }
  1049. if interceptor == nil {
  1050. return srv.(TransformServer).GetErpCityTree(ctx, in)
  1051. }
  1052. info := &grpc.UnaryServerInfo{
  1053. Server: srv,
  1054. FullMethod: "/transform.Transform/GetErpCityTree",
  1055. }
  1056. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1057. return srv.(TransformServer).GetErpCityTree(ctx, req.(*Empty))
  1058. }
  1059. return interceptor(ctx, in, info, handler)
  1060. }
  1061. func _Transform_GetErpOptionset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1062. in := new(OptionCode)
  1063. if err := dec(in); err != nil {
  1064. return nil, err
  1065. }
  1066. if interceptor == nil {
  1067. return srv.(TransformServer).GetErpOptionset(ctx, in)
  1068. }
  1069. info := &grpc.UnaryServerInfo{
  1070. Server: srv,
  1071. FullMethod: "/transform.Transform/GetErpOptionset",
  1072. }
  1073. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1074. return srv.(TransformServer).GetErpOptionset(ctx, req.(*OptionCode))
  1075. }
  1076. return interceptor(ctx, in, info, handler)
  1077. }
  1078. func _Transform_GetErpMktNetWorkDetailTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1079. in := new(Empty)
  1080. if err := dec(in); err != nil {
  1081. return nil, err
  1082. }
  1083. if interceptor == nil {
  1084. return srv.(TransformServer).GetErpMktNetWorkDetailTree(ctx, in)
  1085. }
  1086. info := &grpc.UnaryServerInfo{
  1087. Server: srv,
  1088. FullMethod: "/transform.Transform/GetErpMktNetWorkDetailTree",
  1089. }
  1090. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1091. return srv.(TransformServer).GetErpMktNetWorkDetailTree(ctx, req.(*Empty))
  1092. }
  1093. return interceptor(ctx, in, info, handler)
  1094. }
  1095. func _Transform_GetErpOrganSchPerByUserId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1096. in := new(GetErpOrganSchPerByUserIdReq)
  1097. if err := dec(in); err != nil {
  1098. return nil, err
  1099. }
  1100. if interceptor == nil {
  1101. return srv.(TransformServer).GetErpOrganSchPerByUserId(ctx, in)
  1102. }
  1103. info := &grpc.UnaryServerInfo{
  1104. Server: srv,
  1105. FullMethod: "/transform.Transform/GetErpOrganSchPerByUserId",
  1106. }
  1107. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1108. return srv.(TransformServer).GetErpOrganSchPerByUserId(ctx, req.(*GetErpOrganSchPerByUserIdReq))
  1109. }
  1110. return interceptor(ctx, in, info, handler)
  1111. }
  1112. var _Transform_serviceDesc = grpc.ServiceDesc{
  1113. ServiceName: "transform.Transform",
  1114. HandlerType: (*TransformServer)(nil),
  1115. Methods: []grpc.MethodDesc{
  1116. {
  1117. MethodName: "GetUser",
  1118. Handler: _Transform_GetUser_Handler,
  1119. },
  1120. {
  1121. MethodName: "ParseToken",
  1122. Handler: _Transform_ParseToken_Handler,
  1123. },
  1124. {
  1125. MethodName: "GetErpCityTree",
  1126. Handler: _Transform_GetErpCityTree_Handler,
  1127. },
  1128. {
  1129. MethodName: "GetErpOptionset",
  1130. Handler: _Transform_GetErpOptionset_Handler,
  1131. },
  1132. {
  1133. MethodName: "GetErpMktNetWorkDetailTree",
  1134. Handler: _Transform_GetErpMktNetWorkDetailTree_Handler,
  1135. },
  1136. {
  1137. MethodName: "GetErpOrganSchPerByUserId",
  1138. Handler: _Transform_GetErpOrganSchPerByUserId_Handler,
  1139. },
  1140. },
  1141. Streams: []grpc.StreamDesc{},
  1142. Metadata: "transform.proto",
  1143. }