shopping_user_service.pb.go 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.31.0
  4. // protoc v4.25.0
  5. // source: proto/shopping_user_service.proto
  6. package shopping_service
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type GetUserListRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  24. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  25. Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
  26. Status StatusEnum `protobuf:"varint,4,opt,name=status,proto3,enum=base_shopping_service.StatusEnum" json:"status,omitempty"`
  27. }
  28. func (x *GetUserListRequest) Reset() {
  29. *x = GetUserListRequest{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_proto_shopping_user_service_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *GetUserListRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*GetUserListRequest) ProtoMessage() {}
  40. func (x *GetUserListRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_proto_shopping_user_service_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use GetUserListRequest.ProtoReflect.Descriptor instead.
  52. func (*GetUserListRequest) Descriptor() ([]byte, []int) {
  53. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *GetUserListRequest) GetPage() int32 {
  56. if x != nil {
  57. return x.Page
  58. }
  59. return 0
  60. }
  61. func (x *GetUserListRequest) GetPageSize() int32 {
  62. if x != nil {
  63. return x.PageSize
  64. }
  65. return 0
  66. }
  67. func (x *GetUserListRequest) GetKeyword() string {
  68. if x != nil {
  69. return x.Keyword
  70. }
  71. return ""
  72. }
  73. func (x *GetUserListRequest) GetStatus() StatusEnum {
  74. if x != nil {
  75. return x.Status
  76. }
  77. return StatusEnum_UNKNOWN
  78. }
  79. type GetUserListResponse struct {
  80. state protoimpl.MessageState
  81. sizeCache protoimpl.SizeCache
  82. unknownFields protoimpl.UnknownFields
  83. Items []*User `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
  84. TotalCount int64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
  85. }
  86. func (x *GetUserListResponse) Reset() {
  87. *x = GetUserListResponse{}
  88. if protoimpl.UnsafeEnabled {
  89. mi := &file_proto_shopping_user_service_proto_msgTypes[1]
  90. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  91. ms.StoreMessageInfo(mi)
  92. }
  93. }
  94. func (x *GetUserListResponse) String() string {
  95. return protoimpl.X.MessageStringOf(x)
  96. }
  97. func (*GetUserListResponse) ProtoMessage() {}
  98. func (x *GetUserListResponse) ProtoReflect() protoreflect.Message {
  99. mi := &file_proto_shopping_user_service_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 GetUserListResponse.ProtoReflect.Descriptor instead.
  110. func (*GetUserListResponse) Descriptor() ([]byte, []int) {
  111. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{1}
  112. }
  113. func (x *GetUserListResponse) GetItems() []*User {
  114. if x != nil {
  115. return x.Items
  116. }
  117. return nil
  118. }
  119. func (x *GetUserListResponse) GetTotalCount() int64 {
  120. if x != nil {
  121. return x.TotalCount
  122. }
  123. return 0
  124. }
  125. type GetUserRequest struct {
  126. state protoimpl.MessageState
  127. sizeCache protoimpl.SizeCache
  128. unknownFields protoimpl.UnknownFields
  129. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  130. }
  131. func (x *GetUserRequest) Reset() {
  132. *x = GetUserRequest{}
  133. if protoimpl.UnsafeEnabled {
  134. mi := &file_proto_shopping_user_service_proto_msgTypes[2]
  135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  136. ms.StoreMessageInfo(mi)
  137. }
  138. }
  139. func (x *GetUserRequest) String() string {
  140. return protoimpl.X.MessageStringOf(x)
  141. }
  142. func (*GetUserRequest) ProtoMessage() {}
  143. func (x *GetUserRequest) ProtoReflect() protoreflect.Message {
  144. mi := &file_proto_shopping_user_service_proto_msgTypes[2]
  145. if protoimpl.UnsafeEnabled && x != nil {
  146. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  147. if ms.LoadMessageInfo() == nil {
  148. ms.StoreMessageInfo(mi)
  149. }
  150. return ms
  151. }
  152. return mi.MessageOf(x)
  153. }
  154. // Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
  155. func (*GetUserRequest) Descriptor() ([]byte, []int) {
  156. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{2}
  157. }
  158. func (x *GetUserRequest) GetUserId() int64 {
  159. if x != nil {
  160. return x.UserId
  161. }
  162. return 0
  163. }
  164. type GetUserResponse struct {
  165. state protoimpl.MessageState
  166. sizeCache protoimpl.SizeCache
  167. unknownFields protoimpl.UnknownFields
  168. Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  169. }
  170. func (x *GetUserResponse) Reset() {
  171. *x = GetUserResponse{}
  172. if protoimpl.UnsafeEnabled {
  173. mi := &file_proto_shopping_user_service_proto_msgTypes[3]
  174. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  175. ms.StoreMessageInfo(mi)
  176. }
  177. }
  178. func (x *GetUserResponse) String() string {
  179. return protoimpl.X.MessageStringOf(x)
  180. }
  181. func (*GetUserResponse) ProtoMessage() {}
  182. func (x *GetUserResponse) ProtoReflect() protoreflect.Message {
  183. mi := &file_proto_shopping_user_service_proto_msgTypes[3]
  184. if protoimpl.UnsafeEnabled && x != nil {
  185. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  186. if ms.LoadMessageInfo() == nil {
  187. ms.StoreMessageInfo(mi)
  188. }
  189. return ms
  190. }
  191. return mi.MessageOf(x)
  192. }
  193. // Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
  194. func (*GetUserResponse) Descriptor() ([]byte, []int) {
  195. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{3}
  196. }
  197. func (x *GetUserResponse) GetData() *User {
  198. if x != nil {
  199. return x.Data
  200. }
  201. return nil
  202. }
  203. type CreateUserRequest struct {
  204. state protoimpl.MessageState
  205. sizeCache protoimpl.SizeCache
  206. unknownFields protoimpl.UnknownFields
  207. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
  208. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
  209. PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
  210. Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
  211. Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
  212. Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"`
  213. }
  214. func (x *CreateUserRequest) Reset() {
  215. *x = CreateUserRequest{}
  216. if protoimpl.UnsafeEnabled {
  217. mi := &file_proto_shopping_user_service_proto_msgTypes[4]
  218. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  219. ms.StoreMessageInfo(mi)
  220. }
  221. }
  222. func (x *CreateUserRequest) String() string {
  223. return protoimpl.X.MessageStringOf(x)
  224. }
  225. func (*CreateUserRequest) ProtoMessage() {}
  226. func (x *CreateUserRequest) ProtoReflect() protoreflect.Message {
  227. mi := &file_proto_shopping_user_service_proto_msgTypes[4]
  228. if protoimpl.UnsafeEnabled && x != nil {
  229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  230. if ms.LoadMessageInfo() == nil {
  231. ms.StoreMessageInfo(mi)
  232. }
  233. return ms
  234. }
  235. return mi.MessageOf(x)
  236. }
  237. // Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
  238. func (*CreateUserRequest) Descriptor() ([]byte, []int) {
  239. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{4}
  240. }
  241. func (x *CreateUserRequest) GetUsername() string {
  242. if x != nil {
  243. return x.Username
  244. }
  245. return ""
  246. }
  247. func (x *CreateUserRequest) GetPassword() string {
  248. if x != nil {
  249. return x.Password
  250. }
  251. return ""
  252. }
  253. func (x *CreateUserRequest) GetPhoneNumber() string {
  254. if x != nil {
  255. return x.PhoneNumber
  256. }
  257. return ""
  258. }
  259. func (x *CreateUserRequest) GetEmail() string {
  260. if x != nil {
  261. return x.Email
  262. }
  263. return ""
  264. }
  265. func (x *CreateUserRequest) GetAvatar() string {
  266. if x != nil {
  267. return x.Avatar
  268. }
  269. return ""
  270. }
  271. func (x *CreateUserRequest) GetCode() string {
  272. if x != nil {
  273. return x.Code
  274. }
  275. return ""
  276. }
  277. type CreateUserResponse struct {
  278. state protoimpl.MessageState
  279. sizeCache protoimpl.SizeCache
  280. unknownFields protoimpl.UnknownFields
  281. }
  282. func (x *CreateUserResponse) Reset() {
  283. *x = CreateUserResponse{}
  284. if protoimpl.UnsafeEnabled {
  285. mi := &file_proto_shopping_user_service_proto_msgTypes[5]
  286. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  287. ms.StoreMessageInfo(mi)
  288. }
  289. }
  290. func (x *CreateUserResponse) String() string {
  291. return protoimpl.X.MessageStringOf(x)
  292. }
  293. func (*CreateUserResponse) ProtoMessage() {}
  294. func (x *CreateUserResponse) ProtoReflect() protoreflect.Message {
  295. mi := &file_proto_shopping_user_service_proto_msgTypes[5]
  296. if protoimpl.UnsafeEnabled && x != nil {
  297. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  298. if ms.LoadMessageInfo() == nil {
  299. ms.StoreMessageInfo(mi)
  300. }
  301. return ms
  302. }
  303. return mi.MessageOf(x)
  304. }
  305. // Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
  306. func (*CreateUserResponse) Descriptor() ([]byte, []int) {
  307. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{5}
  308. }
  309. type UpdateUserRequest struct {
  310. state protoimpl.MessageState
  311. sizeCache protoimpl.SizeCache
  312. unknownFields protoimpl.UnknownFields
  313. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  314. PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
  315. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
  316. Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
  317. }
  318. func (x *UpdateUserRequest) Reset() {
  319. *x = UpdateUserRequest{}
  320. if protoimpl.UnsafeEnabled {
  321. mi := &file_proto_shopping_user_service_proto_msgTypes[6]
  322. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  323. ms.StoreMessageInfo(mi)
  324. }
  325. }
  326. func (x *UpdateUserRequest) String() string {
  327. return protoimpl.X.MessageStringOf(x)
  328. }
  329. func (*UpdateUserRequest) ProtoMessage() {}
  330. func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message {
  331. mi := &file_proto_shopping_user_service_proto_msgTypes[6]
  332. if protoimpl.UnsafeEnabled && x != nil {
  333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  334. if ms.LoadMessageInfo() == nil {
  335. ms.StoreMessageInfo(mi)
  336. }
  337. return ms
  338. }
  339. return mi.MessageOf(x)
  340. }
  341. // Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
  342. func (*UpdateUserRequest) Descriptor() ([]byte, []int) {
  343. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{6}
  344. }
  345. func (x *UpdateUserRequest) GetUserId() int64 {
  346. if x != nil {
  347. return x.UserId
  348. }
  349. return 0
  350. }
  351. func (x *UpdateUserRequest) GetPhoneNumber() string {
  352. if x != nil {
  353. return x.PhoneNumber
  354. }
  355. return ""
  356. }
  357. func (x *UpdateUserRequest) GetEmail() string {
  358. if x != nil {
  359. return x.Email
  360. }
  361. return ""
  362. }
  363. func (x *UpdateUserRequest) GetAvatar() string {
  364. if x != nil {
  365. return x.Avatar
  366. }
  367. return ""
  368. }
  369. type UpdateUserResponse struct {
  370. state protoimpl.MessageState
  371. sizeCache protoimpl.SizeCache
  372. unknownFields protoimpl.UnknownFields
  373. }
  374. func (x *UpdateUserResponse) Reset() {
  375. *x = UpdateUserResponse{}
  376. if protoimpl.UnsafeEnabled {
  377. mi := &file_proto_shopping_user_service_proto_msgTypes[7]
  378. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  379. ms.StoreMessageInfo(mi)
  380. }
  381. }
  382. func (x *UpdateUserResponse) String() string {
  383. return protoimpl.X.MessageStringOf(x)
  384. }
  385. func (*UpdateUserResponse) ProtoMessage() {}
  386. func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message {
  387. mi := &file_proto_shopping_user_service_proto_msgTypes[7]
  388. if protoimpl.UnsafeEnabled && x != nil {
  389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  390. if ms.LoadMessageInfo() == nil {
  391. ms.StoreMessageInfo(mi)
  392. }
  393. return ms
  394. }
  395. return mi.MessageOf(x)
  396. }
  397. // Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
  398. func (*UpdateUserResponse) Descriptor() ([]byte, []int) {
  399. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{7}
  400. }
  401. type DeleteUserRequest struct {
  402. state protoimpl.MessageState
  403. sizeCache protoimpl.SizeCache
  404. unknownFields protoimpl.UnknownFields
  405. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  406. }
  407. func (x *DeleteUserRequest) Reset() {
  408. *x = DeleteUserRequest{}
  409. if protoimpl.UnsafeEnabled {
  410. mi := &file_proto_shopping_user_service_proto_msgTypes[8]
  411. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  412. ms.StoreMessageInfo(mi)
  413. }
  414. }
  415. func (x *DeleteUserRequest) String() string {
  416. return protoimpl.X.MessageStringOf(x)
  417. }
  418. func (*DeleteUserRequest) ProtoMessage() {}
  419. func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message {
  420. mi := &file_proto_shopping_user_service_proto_msgTypes[8]
  421. if protoimpl.UnsafeEnabled && x != nil {
  422. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  423. if ms.LoadMessageInfo() == nil {
  424. ms.StoreMessageInfo(mi)
  425. }
  426. return ms
  427. }
  428. return mi.MessageOf(x)
  429. }
  430. // Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
  431. func (*DeleteUserRequest) Descriptor() ([]byte, []int) {
  432. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{8}
  433. }
  434. func (x *DeleteUserRequest) GetUserId() int64 {
  435. if x != nil {
  436. return x.UserId
  437. }
  438. return 0
  439. }
  440. type DeleteUserResponse struct {
  441. state protoimpl.MessageState
  442. sizeCache protoimpl.SizeCache
  443. unknownFields protoimpl.UnknownFields
  444. }
  445. func (x *DeleteUserResponse) Reset() {
  446. *x = DeleteUserResponse{}
  447. if protoimpl.UnsafeEnabled {
  448. mi := &file_proto_shopping_user_service_proto_msgTypes[9]
  449. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  450. ms.StoreMessageInfo(mi)
  451. }
  452. }
  453. func (x *DeleteUserResponse) String() string {
  454. return protoimpl.X.MessageStringOf(x)
  455. }
  456. func (*DeleteUserResponse) ProtoMessage() {}
  457. func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message {
  458. mi := &file_proto_shopping_user_service_proto_msgTypes[9]
  459. if protoimpl.UnsafeEnabled && x != nil {
  460. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  461. if ms.LoadMessageInfo() == nil {
  462. ms.StoreMessageInfo(mi)
  463. }
  464. return ms
  465. }
  466. return mi.MessageOf(x)
  467. }
  468. // Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
  469. func (*DeleteUserResponse) Descriptor() ([]byte, []int) {
  470. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{9}
  471. }
  472. type ToggleUserRequest struct {
  473. state protoimpl.MessageState
  474. sizeCache protoimpl.SizeCache
  475. unknownFields protoimpl.UnknownFields
  476. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  477. Status StatusEnum `protobuf:"varint,2,opt,name=status,proto3,enum=base_shopping_service.StatusEnum" json:"status,omitempty"`
  478. }
  479. func (x *ToggleUserRequest) Reset() {
  480. *x = ToggleUserRequest{}
  481. if protoimpl.UnsafeEnabled {
  482. mi := &file_proto_shopping_user_service_proto_msgTypes[10]
  483. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  484. ms.StoreMessageInfo(mi)
  485. }
  486. }
  487. func (x *ToggleUserRequest) String() string {
  488. return protoimpl.X.MessageStringOf(x)
  489. }
  490. func (*ToggleUserRequest) ProtoMessage() {}
  491. func (x *ToggleUserRequest) ProtoReflect() protoreflect.Message {
  492. mi := &file_proto_shopping_user_service_proto_msgTypes[10]
  493. if protoimpl.UnsafeEnabled && x != nil {
  494. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  495. if ms.LoadMessageInfo() == nil {
  496. ms.StoreMessageInfo(mi)
  497. }
  498. return ms
  499. }
  500. return mi.MessageOf(x)
  501. }
  502. // Deprecated: Use ToggleUserRequest.ProtoReflect.Descriptor instead.
  503. func (*ToggleUserRequest) Descriptor() ([]byte, []int) {
  504. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{10}
  505. }
  506. func (x *ToggleUserRequest) GetUserId() int64 {
  507. if x != nil {
  508. return x.UserId
  509. }
  510. return 0
  511. }
  512. func (x *ToggleUserRequest) GetStatus() StatusEnum {
  513. if x != nil {
  514. return x.Status
  515. }
  516. return StatusEnum_UNKNOWN
  517. }
  518. type ToggleUserResponse struct {
  519. state protoimpl.MessageState
  520. sizeCache protoimpl.SizeCache
  521. unknownFields protoimpl.UnknownFields
  522. }
  523. func (x *ToggleUserResponse) Reset() {
  524. *x = ToggleUserResponse{}
  525. if protoimpl.UnsafeEnabled {
  526. mi := &file_proto_shopping_user_service_proto_msgTypes[11]
  527. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  528. ms.StoreMessageInfo(mi)
  529. }
  530. }
  531. func (x *ToggleUserResponse) String() string {
  532. return protoimpl.X.MessageStringOf(x)
  533. }
  534. func (*ToggleUserResponse) ProtoMessage() {}
  535. func (x *ToggleUserResponse) ProtoReflect() protoreflect.Message {
  536. mi := &file_proto_shopping_user_service_proto_msgTypes[11]
  537. if protoimpl.UnsafeEnabled && x != nil {
  538. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  539. if ms.LoadMessageInfo() == nil {
  540. ms.StoreMessageInfo(mi)
  541. }
  542. return ms
  543. }
  544. return mi.MessageOf(x)
  545. }
  546. // Deprecated: Use ToggleUserResponse.ProtoReflect.Descriptor instead.
  547. func (*ToggleUserResponse) Descriptor() ([]byte, []int) {
  548. return file_proto_shopping_user_service_proto_rawDescGZIP(), []int{11}
  549. }
  550. var File_proto_shopping_user_service_proto protoreflect.FileDescriptor
  551. var file_proto_shopping_user_service_proto_rawDesc = []byte{
  552. 0x0a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
  553. 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
  554. 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x73,
  555. 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x74,
  556. 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f,
  557. 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01,
  558. 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
  559. 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01,
  560. 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65,
  561. 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67,
  562. 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
  563. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12,
  564. 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
  565. 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f,
  566. 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e,
  567. 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x69, 0x0a, 0x13, 0x47, 0x65,
  568. 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  569. 0x65, 0x12, 0x31, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  570. 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
  571. 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x69,
  572. 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f,
  573. 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c,
  574. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x29, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,
  575. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f,
  576. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  577. 0x22, 0x42, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
  578. 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
  579. 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
  580. 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04,
  581. 0x64, 0x61, 0x74, 0x61, 0x22, 0xb0, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55,
  582. 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73,
  583. 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73,
  584. 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
  585. 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
  586. 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
  587. 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e,
  588. 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04,
  589. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61,
  590. 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61,
  591. 0x74, 0x61, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  592. 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74,
  593. 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7d, 0x0a,
  594. 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
  595. 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  596. 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70,
  597. 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
  598. 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14,
  599. 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
  600. 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x04,
  601. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x22, 0x14, 0x0a, 0x12,
  602. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  603. 0x73, 0x65, 0x22, 0x2c, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
  604. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f,
  605. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  606. 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  607. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x11, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65,
  608. 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75,
  609. 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73,
  610. 0x65, 0x72, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02,
  611. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70,
  612. 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61,
  613. 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
  614. 0x14, 0x0a, 0x12, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
  615. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe1, 0x04, 0x0a, 0x13, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69,
  616. 0x6e, 0x67, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x64, 0x0a,
  617. 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x29, 0x2e, 0x73,
  618. 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72,
  619. 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74,
  620. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
  621. 0x6e, 0x67, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
  622. 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
  623. 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x25,
  624. 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73,
  625. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  626. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
  627. 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65,
  628. 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a,
  629. 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x73, 0x68,
  630. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76,
  631. 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  632. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
  633. 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72,
  634. 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  635. 0x12, 0x61, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x28,
  636. 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73,
  637. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
  638. 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
  639. 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  640. 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
  641. 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65,
  642. 0x72, 0x12, 0x28, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x73, 0x65,
  643. 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  644. 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x68,
  645. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76,
  646. 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  647. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x0a, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65,
  648. 0x55, 0x73, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f,
  649. 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x67,
  650. 0x67, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29,
  651. 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73,
  652. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x55, 0x73, 0x65,
  653. 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1a, 0x5a, 0x18, 0x2e, 0x2f, 0x70,
  654. 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65,
  655. 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  656. }
  657. var (
  658. file_proto_shopping_user_service_proto_rawDescOnce sync.Once
  659. file_proto_shopping_user_service_proto_rawDescData = file_proto_shopping_user_service_proto_rawDesc
  660. )
  661. func file_proto_shopping_user_service_proto_rawDescGZIP() []byte {
  662. file_proto_shopping_user_service_proto_rawDescOnce.Do(func() {
  663. file_proto_shopping_user_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_shopping_user_service_proto_rawDescData)
  664. })
  665. return file_proto_shopping_user_service_proto_rawDescData
  666. }
  667. var file_proto_shopping_user_service_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  668. var file_proto_shopping_user_service_proto_goTypes = []interface{}{
  669. (*GetUserListRequest)(nil), // 0: shopping_user_service.GetUserListRequest
  670. (*GetUserListResponse)(nil), // 1: shopping_user_service.GetUserListResponse
  671. (*GetUserRequest)(nil), // 2: shopping_user_service.GetUserRequest
  672. (*GetUserResponse)(nil), // 3: shopping_user_service.GetUserResponse
  673. (*CreateUserRequest)(nil), // 4: shopping_user_service.CreateUserRequest
  674. (*CreateUserResponse)(nil), // 5: shopping_user_service.CreateUserResponse
  675. (*UpdateUserRequest)(nil), // 6: shopping_user_service.UpdateUserRequest
  676. (*UpdateUserResponse)(nil), // 7: shopping_user_service.UpdateUserResponse
  677. (*DeleteUserRequest)(nil), // 8: shopping_user_service.DeleteUserRequest
  678. (*DeleteUserResponse)(nil), // 9: shopping_user_service.DeleteUserResponse
  679. (*ToggleUserRequest)(nil), // 10: shopping_user_service.ToggleUserRequest
  680. (*ToggleUserResponse)(nil), // 11: shopping_user_service.ToggleUserResponse
  681. (StatusEnum)(0), // 12: base_shopping_service.StatusEnum
  682. (*User)(nil), // 13: base_shopping_service.User
  683. }
  684. var file_proto_shopping_user_service_proto_depIdxs = []int32{
  685. 12, // 0: shopping_user_service.GetUserListRequest.status:type_name -> base_shopping_service.StatusEnum
  686. 13, // 1: shopping_user_service.GetUserListResponse.items:type_name -> base_shopping_service.User
  687. 13, // 2: shopping_user_service.GetUserResponse.data:type_name -> base_shopping_service.User
  688. 12, // 3: shopping_user_service.ToggleUserRequest.status:type_name -> base_shopping_service.StatusEnum
  689. 0, // 4: shopping_user_service.ShoppingUserService.GetUserList:input_type -> shopping_user_service.GetUserListRequest
  690. 2, // 5: shopping_user_service.ShoppingUserService.GetUser:input_type -> shopping_user_service.GetUserRequest
  691. 4, // 6: shopping_user_service.ShoppingUserService.CreateUser:input_type -> shopping_user_service.CreateUserRequest
  692. 6, // 7: shopping_user_service.ShoppingUserService.UpdateUser:input_type -> shopping_user_service.UpdateUserRequest
  693. 8, // 8: shopping_user_service.ShoppingUserService.DeleteUser:input_type -> shopping_user_service.DeleteUserRequest
  694. 10, // 9: shopping_user_service.ShoppingUserService.ToggleUser:input_type -> shopping_user_service.ToggleUserRequest
  695. 1, // 10: shopping_user_service.ShoppingUserService.GetUserList:output_type -> shopping_user_service.GetUserListResponse
  696. 3, // 11: shopping_user_service.ShoppingUserService.GetUser:output_type -> shopping_user_service.GetUserResponse
  697. 5, // 12: shopping_user_service.ShoppingUserService.CreateUser:output_type -> shopping_user_service.CreateUserResponse
  698. 7, // 13: shopping_user_service.ShoppingUserService.UpdateUser:output_type -> shopping_user_service.UpdateUserResponse
  699. 9, // 14: shopping_user_service.ShoppingUserService.DeleteUser:output_type -> shopping_user_service.DeleteUserResponse
  700. 11, // 15: shopping_user_service.ShoppingUserService.ToggleUser:output_type -> shopping_user_service.ToggleUserResponse
  701. 10, // [10:16] is the sub-list for method output_type
  702. 4, // [4:10] is the sub-list for method input_type
  703. 4, // [4:4] is the sub-list for extension type_name
  704. 4, // [4:4] is the sub-list for extension extendee
  705. 0, // [0:4] is the sub-list for field type_name
  706. }
  707. func init() { file_proto_shopping_user_service_proto_init() }
  708. func file_proto_shopping_user_service_proto_init() {
  709. if File_proto_shopping_user_service_proto != nil {
  710. return
  711. }
  712. file_proto_base_shopping_service_proto_init()
  713. if !protoimpl.UnsafeEnabled {
  714. file_proto_shopping_user_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  715. switch v := v.(*GetUserListRequest); i {
  716. case 0:
  717. return &v.state
  718. case 1:
  719. return &v.sizeCache
  720. case 2:
  721. return &v.unknownFields
  722. default:
  723. return nil
  724. }
  725. }
  726. file_proto_shopping_user_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  727. switch v := v.(*GetUserListResponse); i {
  728. case 0:
  729. return &v.state
  730. case 1:
  731. return &v.sizeCache
  732. case 2:
  733. return &v.unknownFields
  734. default:
  735. return nil
  736. }
  737. }
  738. file_proto_shopping_user_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  739. switch v := v.(*GetUserRequest); i {
  740. case 0:
  741. return &v.state
  742. case 1:
  743. return &v.sizeCache
  744. case 2:
  745. return &v.unknownFields
  746. default:
  747. return nil
  748. }
  749. }
  750. file_proto_shopping_user_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  751. switch v := v.(*GetUserResponse); i {
  752. case 0:
  753. return &v.state
  754. case 1:
  755. return &v.sizeCache
  756. case 2:
  757. return &v.unknownFields
  758. default:
  759. return nil
  760. }
  761. }
  762. file_proto_shopping_user_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  763. switch v := v.(*CreateUserRequest); i {
  764. case 0:
  765. return &v.state
  766. case 1:
  767. return &v.sizeCache
  768. case 2:
  769. return &v.unknownFields
  770. default:
  771. return nil
  772. }
  773. }
  774. file_proto_shopping_user_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  775. switch v := v.(*CreateUserResponse); i {
  776. case 0:
  777. return &v.state
  778. case 1:
  779. return &v.sizeCache
  780. case 2:
  781. return &v.unknownFields
  782. default:
  783. return nil
  784. }
  785. }
  786. file_proto_shopping_user_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  787. switch v := v.(*UpdateUserRequest); i {
  788. case 0:
  789. return &v.state
  790. case 1:
  791. return &v.sizeCache
  792. case 2:
  793. return &v.unknownFields
  794. default:
  795. return nil
  796. }
  797. }
  798. file_proto_shopping_user_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  799. switch v := v.(*UpdateUserResponse); i {
  800. case 0:
  801. return &v.state
  802. case 1:
  803. return &v.sizeCache
  804. case 2:
  805. return &v.unknownFields
  806. default:
  807. return nil
  808. }
  809. }
  810. file_proto_shopping_user_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  811. switch v := v.(*DeleteUserRequest); i {
  812. case 0:
  813. return &v.state
  814. case 1:
  815. return &v.sizeCache
  816. case 2:
  817. return &v.unknownFields
  818. default:
  819. return nil
  820. }
  821. }
  822. file_proto_shopping_user_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  823. switch v := v.(*DeleteUserResponse); i {
  824. case 0:
  825. return &v.state
  826. case 1:
  827. return &v.sizeCache
  828. case 2:
  829. return &v.unknownFields
  830. default:
  831. return nil
  832. }
  833. }
  834. file_proto_shopping_user_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  835. switch v := v.(*ToggleUserRequest); i {
  836. case 0:
  837. return &v.state
  838. case 1:
  839. return &v.sizeCache
  840. case 2:
  841. return &v.unknownFields
  842. default:
  843. return nil
  844. }
  845. }
  846. file_proto_shopping_user_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  847. switch v := v.(*ToggleUserResponse); i {
  848. case 0:
  849. return &v.state
  850. case 1:
  851. return &v.sizeCache
  852. case 2:
  853. return &v.unknownFields
  854. default:
  855. return nil
  856. }
  857. }
  858. }
  859. type x struct{}
  860. out := protoimpl.TypeBuilder{
  861. File: protoimpl.DescBuilder{
  862. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  863. RawDescriptor: file_proto_shopping_user_service_proto_rawDesc,
  864. NumEnums: 0,
  865. NumMessages: 12,
  866. NumExtensions: 0,
  867. NumServices: 1,
  868. },
  869. GoTypes: file_proto_shopping_user_service_proto_goTypes,
  870. DependencyIndexes: file_proto_shopping_user_service_proto_depIdxs,
  871. MessageInfos: file_proto_shopping_user_service_proto_msgTypes,
  872. }.Build()
  873. File_proto_shopping_user_service_proto = out.File
  874. file_proto_shopping_user_service_proto_rawDesc = nil
  875. file_proto_shopping_user_service_proto_goTypes = nil
  876. file_proto_shopping_user_service_proto_depIdxs = nil
  877. }