shopping_permission_service.pb.go 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143
  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_permission_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 GetPermissionListRequest 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 *GetPermissionListRequest) Reset() {
  29. *x = GetPermissionListRequest{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_proto_shopping_permission_service_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *GetPermissionListRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*GetPermissionListRequest) ProtoMessage() {}
  40. func (x *GetPermissionListRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_proto_shopping_permission_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 GetPermissionListRequest.ProtoReflect.Descriptor instead.
  52. func (*GetPermissionListRequest) Descriptor() ([]byte, []int) {
  53. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *GetPermissionListRequest) GetPage() int32 {
  56. if x != nil {
  57. return x.Page
  58. }
  59. return 0
  60. }
  61. func (x *GetPermissionListRequest) GetPageSize() int32 {
  62. if x != nil {
  63. return x.PageSize
  64. }
  65. return 0
  66. }
  67. func (x *GetPermissionListRequest) GetKeyword() string {
  68. if x != nil {
  69. return x.Keyword
  70. }
  71. return ""
  72. }
  73. func (x *GetPermissionListRequest) GetStatus() StatusEnum {
  74. if x != nil {
  75. return x.Status
  76. }
  77. return StatusEnum_UNKNOWN
  78. }
  79. type GetPermissionListResponse struct {
  80. state protoimpl.MessageState
  81. sizeCache protoimpl.SizeCache
  82. unknownFields protoimpl.UnknownFields
  83. Items []*Permission `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 *GetPermissionListResponse) Reset() {
  87. *x = GetPermissionListResponse{}
  88. if protoimpl.UnsafeEnabled {
  89. mi := &file_proto_shopping_permission_service_proto_msgTypes[1]
  90. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  91. ms.StoreMessageInfo(mi)
  92. }
  93. }
  94. func (x *GetPermissionListResponse) String() string {
  95. return protoimpl.X.MessageStringOf(x)
  96. }
  97. func (*GetPermissionListResponse) ProtoMessage() {}
  98. func (x *GetPermissionListResponse) ProtoReflect() protoreflect.Message {
  99. mi := &file_proto_shopping_permission_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 GetPermissionListResponse.ProtoReflect.Descriptor instead.
  110. func (*GetPermissionListResponse) Descriptor() ([]byte, []int) {
  111. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{1}
  112. }
  113. func (x *GetPermissionListResponse) GetItems() []*Permission {
  114. if x != nil {
  115. return x.Items
  116. }
  117. return nil
  118. }
  119. func (x *GetPermissionListResponse) GetTotalCount() int64 {
  120. if x != nil {
  121. return x.TotalCount
  122. }
  123. return 0
  124. }
  125. type GetPermissionRequest struct {
  126. state protoimpl.MessageState
  127. sizeCache protoimpl.SizeCache
  128. unknownFields protoimpl.UnknownFields
  129. PermissionId int64 `protobuf:"varint,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
  130. }
  131. func (x *GetPermissionRequest) Reset() {
  132. *x = GetPermissionRequest{}
  133. if protoimpl.UnsafeEnabled {
  134. mi := &file_proto_shopping_permission_service_proto_msgTypes[2]
  135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  136. ms.StoreMessageInfo(mi)
  137. }
  138. }
  139. func (x *GetPermissionRequest) String() string {
  140. return protoimpl.X.MessageStringOf(x)
  141. }
  142. func (*GetPermissionRequest) ProtoMessage() {}
  143. func (x *GetPermissionRequest) ProtoReflect() protoreflect.Message {
  144. mi := &file_proto_shopping_permission_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 GetPermissionRequest.ProtoReflect.Descriptor instead.
  155. func (*GetPermissionRequest) Descriptor() ([]byte, []int) {
  156. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{2}
  157. }
  158. func (x *GetPermissionRequest) GetPermissionId() int64 {
  159. if x != nil {
  160. return x.PermissionId
  161. }
  162. return 0
  163. }
  164. type GetPermissionResponse struct {
  165. state protoimpl.MessageState
  166. sizeCache protoimpl.SizeCache
  167. unknownFields protoimpl.UnknownFields
  168. Data *Permission `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  169. }
  170. func (x *GetPermissionResponse) Reset() {
  171. *x = GetPermissionResponse{}
  172. if protoimpl.UnsafeEnabled {
  173. mi := &file_proto_shopping_permission_service_proto_msgTypes[3]
  174. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  175. ms.StoreMessageInfo(mi)
  176. }
  177. }
  178. func (x *GetPermissionResponse) String() string {
  179. return protoimpl.X.MessageStringOf(x)
  180. }
  181. func (*GetPermissionResponse) ProtoMessage() {}
  182. func (x *GetPermissionResponse) ProtoReflect() protoreflect.Message {
  183. mi := &file_proto_shopping_permission_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 GetPermissionResponse.ProtoReflect.Descriptor instead.
  194. func (*GetPermissionResponse) Descriptor() ([]byte, []int) {
  195. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{3}
  196. }
  197. func (x *GetPermissionResponse) GetData() *Permission {
  198. if x != nil {
  199. return x.Data
  200. }
  201. return nil
  202. }
  203. type CreatePermissionRequest struct {
  204. state protoimpl.MessageState
  205. sizeCache protoimpl.SizeCache
  206. unknownFields protoimpl.UnknownFields
  207. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  208. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  209. Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
  210. Status StatusEnum `protobuf:"varint,4,opt,name=status,proto3,enum=base_shopping_service.StatusEnum" json:"status,omitempty"`
  211. Roles []int64 `protobuf:"varint,5,rep,packed,name=roles,proto3" json:"roles,omitempty"`
  212. }
  213. func (x *CreatePermissionRequest) Reset() {
  214. *x = CreatePermissionRequest{}
  215. if protoimpl.UnsafeEnabled {
  216. mi := &file_proto_shopping_permission_service_proto_msgTypes[4]
  217. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  218. ms.StoreMessageInfo(mi)
  219. }
  220. }
  221. func (x *CreatePermissionRequest) String() string {
  222. return protoimpl.X.MessageStringOf(x)
  223. }
  224. func (*CreatePermissionRequest) ProtoMessage() {}
  225. func (x *CreatePermissionRequest) ProtoReflect() protoreflect.Message {
  226. mi := &file_proto_shopping_permission_service_proto_msgTypes[4]
  227. if protoimpl.UnsafeEnabled && x != nil {
  228. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  229. if ms.LoadMessageInfo() == nil {
  230. ms.StoreMessageInfo(mi)
  231. }
  232. return ms
  233. }
  234. return mi.MessageOf(x)
  235. }
  236. // Deprecated: Use CreatePermissionRequest.ProtoReflect.Descriptor instead.
  237. func (*CreatePermissionRequest) Descriptor() ([]byte, []int) {
  238. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{4}
  239. }
  240. func (x *CreatePermissionRequest) GetName() string {
  241. if x != nil {
  242. return x.Name
  243. }
  244. return ""
  245. }
  246. func (x *CreatePermissionRequest) GetDescription() string {
  247. if x != nil {
  248. return x.Description
  249. }
  250. return ""
  251. }
  252. func (x *CreatePermissionRequest) GetEndpoint() string {
  253. if x != nil {
  254. return x.Endpoint
  255. }
  256. return ""
  257. }
  258. func (x *CreatePermissionRequest) GetStatus() StatusEnum {
  259. if x != nil {
  260. return x.Status
  261. }
  262. return StatusEnum_UNKNOWN
  263. }
  264. func (x *CreatePermissionRequest) GetRoles() []int64 {
  265. if x != nil {
  266. return x.Roles
  267. }
  268. return nil
  269. }
  270. type CreatePermissionResponse struct {
  271. state protoimpl.MessageState
  272. sizeCache protoimpl.SizeCache
  273. unknownFields protoimpl.UnknownFields
  274. }
  275. func (x *CreatePermissionResponse) Reset() {
  276. *x = CreatePermissionResponse{}
  277. if protoimpl.UnsafeEnabled {
  278. mi := &file_proto_shopping_permission_service_proto_msgTypes[5]
  279. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  280. ms.StoreMessageInfo(mi)
  281. }
  282. }
  283. func (x *CreatePermissionResponse) String() string {
  284. return protoimpl.X.MessageStringOf(x)
  285. }
  286. func (*CreatePermissionResponse) ProtoMessage() {}
  287. func (x *CreatePermissionResponse) ProtoReflect() protoreflect.Message {
  288. mi := &file_proto_shopping_permission_service_proto_msgTypes[5]
  289. if protoimpl.UnsafeEnabled && x != nil {
  290. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  291. if ms.LoadMessageInfo() == nil {
  292. ms.StoreMessageInfo(mi)
  293. }
  294. return ms
  295. }
  296. return mi.MessageOf(x)
  297. }
  298. // Deprecated: Use CreatePermissionResponse.ProtoReflect.Descriptor instead.
  299. func (*CreatePermissionResponse) Descriptor() ([]byte, []int) {
  300. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{5}
  301. }
  302. type CreateMultiplePermissionsRequest struct {
  303. state protoimpl.MessageState
  304. sizeCache protoimpl.SizeCache
  305. unknownFields protoimpl.UnknownFields
  306. Roles []int64 `protobuf:"varint,1,rep,packed,name=roles,proto3" json:"roles,omitempty"`
  307. Items []*Permission `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
  308. }
  309. func (x *CreateMultiplePermissionsRequest) Reset() {
  310. *x = CreateMultiplePermissionsRequest{}
  311. if protoimpl.UnsafeEnabled {
  312. mi := &file_proto_shopping_permission_service_proto_msgTypes[6]
  313. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  314. ms.StoreMessageInfo(mi)
  315. }
  316. }
  317. func (x *CreateMultiplePermissionsRequest) String() string {
  318. return protoimpl.X.MessageStringOf(x)
  319. }
  320. func (*CreateMultiplePermissionsRequest) ProtoMessage() {}
  321. func (x *CreateMultiplePermissionsRequest) ProtoReflect() protoreflect.Message {
  322. mi := &file_proto_shopping_permission_service_proto_msgTypes[6]
  323. if protoimpl.UnsafeEnabled && x != nil {
  324. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  325. if ms.LoadMessageInfo() == nil {
  326. ms.StoreMessageInfo(mi)
  327. }
  328. return ms
  329. }
  330. return mi.MessageOf(x)
  331. }
  332. // Deprecated: Use CreateMultiplePermissionsRequest.ProtoReflect.Descriptor instead.
  333. func (*CreateMultiplePermissionsRequest) Descriptor() ([]byte, []int) {
  334. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{6}
  335. }
  336. func (x *CreateMultiplePermissionsRequest) GetRoles() []int64 {
  337. if x != nil {
  338. return x.Roles
  339. }
  340. return nil
  341. }
  342. func (x *CreateMultiplePermissionsRequest) GetItems() []*Permission {
  343. if x != nil {
  344. return x.Items
  345. }
  346. return nil
  347. }
  348. type CreateMultiplePermissionsResponse struct {
  349. state protoimpl.MessageState
  350. sizeCache protoimpl.SizeCache
  351. unknownFields protoimpl.UnknownFields
  352. }
  353. func (x *CreateMultiplePermissionsResponse) Reset() {
  354. *x = CreateMultiplePermissionsResponse{}
  355. if protoimpl.UnsafeEnabled {
  356. mi := &file_proto_shopping_permission_service_proto_msgTypes[7]
  357. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  358. ms.StoreMessageInfo(mi)
  359. }
  360. }
  361. func (x *CreateMultiplePermissionsResponse) String() string {
  362. return protoimpl.X.MessageStringOf(x)
  363. }
  364. func (*CreateMultiplePermissionsResponse) ProtoMessage() {}
  365. func (x *CreateMultiplePermissionsResponse) ProtoReflect() protoreflect.Message {
  366. mi := &file_proto_shopping_permission_service_proto_msgTypes[7]
  367. if protoimpl.UnsafeEnabled && x != nil {
  368. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  369. if ms.LoadMessageInfo() == nil {
  370. ms.StoreMessageInfo(mi)
  371. }
  372. return ms
  373. }
  374. return mi.MessageOf(x)
  375. }
  376. // Deprecated: Use CreateMultiplePermissionsResponse.ProtoReflect.Descriptor instead.
  377. func (*CreateMultiplePermissionsResponse) Descriptor() ([]byte, []int) {
  378. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{7}
  379. }
  380. type UpdatePermissionRequest struct {
  381. state protoimpl.MessageState
  382. sizeCache protoimpl.SizeCache
  383. unknownFields protoimpl.UnknownFields
  384. PermissionId int64 `protobuf:"varint,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
  385. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  386. Roles []int64 `protobuf:"varint,3,rep,packed,name=roles,proto3" json:"roles,omitempty"`
  387. Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
  388. }
  389. func (x *UpdatePermissionRequest) Reset() {
  390. *x = UpdatePermissionRequest{}
  391. if protoimpl.UnsafeEnabled {
  392. mi := &file_proto_shopping_permission_service_proto_msgTypes[8]
  393. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  394. ms.StoreMessageInfo(mi)
  395. }
  396. }
  397. func (x *UpdatePermissionRequest) String() string {
  398. return protoimpl.X.MessageStringOf(x)
  399. }
  400. func (*UpdatePermissionRequest) ProtoMessage() {}
  401. func (x *UpdatePermissionRequest) ProtoReflect() protoreflect.Message {
  402. mi := &file_proto_shopping_permission_service_proto_msgTypes[8]
  403. if protoimpl.UnsafeEnabled && x != nil {
  404. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  405. if ms.LoadMessageInfo() == nil {
  406. ms.StoreMessageInfo(mi)
  407. }
  408. return ms
  409. }
  410. return mi.MessageOf(x)
  411. }
  412. // Deprecated: Use UpdatePermissionRequest.ProtoReflect.Descriptor instead.
  413. func (*UpdatePermissionRequest) Descriptor() ([]byte, []int) {
  414. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{8}
  415. }
  416. func (x *UpdatePermissionRequest) GetPermissionId() int64 {
  417. if x != nil {
  418. return x.PermissionId
  419. }
  420. return 0
  421. }
  422. func (x *UpdatePermissionRequest) GetDescription() string {
  423. if x != nil {
  424. return x.Description
  425. }
  426. return ""
  427. }
  428. func (x *UpdatePermissionRequest) GetRoles() []int64 {
  429. if x != nil {
  430. return x.Roles
  431. }
  432. return nil
  433. }
  434. func (x *UpdatePermissionRequest) GetEndpoint() string {
  435. if x != nil {
  436. return x.Endpoint
  437. }
  438. return ""
  439. }
  440. type UpdatePermissionResponse struct {
  441. state protoimpl.MessageState
  442. sizeCache protoimpl.SizeCache
  443. unknownFields protoimpl.UnknownFields
  444. }
  445. func (x *UpdatePermissionResponse) Reset() {
  446. *x = UpdatePermissionResponse{}
  447. if protoimpl.UnsafeEnabled {
  448. mi := &file_proto_shopping_permission_service_proto_msgTypes[9]
  449. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  450. ms.StoreMessageInfo(mi)
  451. }
  452. }
  453. func (x *UpdatePermissionResponse) String() string {
  454. return protoimpl.X.MessageStringOf(x)
  455. }
  456. func (*UpdatePermissionResponse) ProtoMessage() {}
  457. func (x *UpdatePermissionResponse) ProtoReflect() protoreflect.Message {
  458. mi := &file_proto_shopping_permission_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 UpdatePermissionResponse.ProtoReflect.Descriptor instead.
  469. func (*UpdatePermissionResponse) Descriptor() ([]byte, []int) {
  470. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{9}
  471. }
  472. type DeletePermissionRequest struct {
  473. state protoimpl.MessageState
  474. sizeCache protoimpl.SizeCache
  475. unknownFields protoimpl.UnknownFields
  476. PermissionId int64 `protobuf:"varint,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
  477. }
  478. func (x *DeletePermissionRequest) Reset() {
  479. *x = DeletePermissionRequest{}
  480. if protoimpl.UnsafeEnabled {
  481. mi := &file_proto_shopping_permission_service_proto_msgTypes[10]
  482. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  483. ms.StoreMessageInfo(mi)
  484. }
  485. }
  486. func (x *DeletePermissionRequest) String() string {
  487. return protoimpl.X.MessageStringOf(x)
  488. }
  489. func (*DeletePermissionRequest) ProtoMessage() {}
  490. func (x *DeletePermissionRequest) ProtoReflect() protoreflect.Message {
  491. mi := &file_proto_shopping_permission_service_proto_msgTypes[10]
  492. if protoimpl.UnsafeEnabled && x != nil {
  493. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  494. if ms.LoadMessageInfo() == nil {
  495. ms.StoreMessageInfo(mi)
  496. }
  497. return ms
  498. }
  499. return mi.MessageOf(x)
  500. }
  501. // Deprecated: Use DeletePermissionRequest.ProtoReflect.Descriptor instead.
  502. func (*DeletePermissionRequest) Descriptor() ([]byte, []int) {
  503. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{10}
  504. }
  505. func (x *DeletePermissionRequest) GetPermissionId() int64 {
  506. if x != nil {
  507. return x.PermissionId
  508. }
  509. return 0
  510. }
  511. type DeletePermissionResponse struct {
  512. state protoimpl.MessageState
  513. sizeCache protoimpl.SizeCache
  514. unknownFields protoimpl.UnknownFields
  515. }
  516. func (x *DeletePermissionResponse) Reset() {
  517. *x = DeletePermissionResponse{}
  518. if protoimpl.UnsafeEnabled {
  519. mi := &file_proto_shopping_permission_service_proto_msgTypes[11]
  520. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  521. ms.StoreMessageInfo(mi)
  522. }
  523. }
  524. func (x *DeletePermissionResponse) String() string {
  525. return protoimpl.X.MessageStringOf(x)
  526. }
  527. func (*DeletePermissionResponse) ProtoMessage() {}
  528. func (x *DeletePermissionResponse) ProtoReflect() protoreflect.Message {
  529. mi := &file_proto_shopping_permission_service_proto_msgTypes[11]
  530. if protoimpl.UnsafeEnabled && x != nil {
  531. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  532. if ms.LoadMessageInfo() == nil {
  533. ms.StoreMessageInfo(mi)
  534. }
  535. return ms
  536. }
  537. return mi.MessageOf(x)
  538. }
  539. // Deprecated: Use DeletePermissionResponse.ProtoReflect.Descriptor instead.
  540. func (*DeletePermissionResponse) Descriptor() ([]byte, []int) {
  541. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{11}
  542. }
  543. type TogglePermissionRequest struct {
  544. state protoimpl.MessageState
  545. sizeCache protoimpl.SizeCache
  546. unknownFields protoimpl.UnknownFields
  547. PermissionId int64 `protobuf:"varint,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
  548. Status StatusEnum `protobuf:"varint,2,opt,name=status,proto3,enum=base_shopping_service.StatusEnum" json:"status,omitempty"`
  549. }
  550. func (x *TogglePermissionRequest) Reset() {
  551. *x = TogglePermissionRequest{}
  552. if protoimpl.UnsafeEnabled {
  553. mi := &file_proto_shopping_permission_service_proto_msgTypes[12]
  554. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  555. ms.StoreMessageInfo(mi)
  556. }
  557. }
  558. func (x *TogglePermissionRequest) String() string {
  559. return protoimpl.X.MessageStringOf(x)
  560. }
  561. func (*TogglePermissionRequest) ProtoMessage() {}
  562. func (x *TogglePermissionRequest) ProtoReflect() protoreflect.Message {
  563. mi := &file_proto_shopping_permission_service_proto_msgTypes[12]
  564. if protoimpl.UnsafeEnabled && x != nil {
  565. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  566. if ms.LoadMessageInfo() == nil {
  567. ms.StoreMessageInfo(mi)
  568. }
  569. return ms
  570. }
  571. return mi.MessageOf(x)
  572. }
  573. // Deprecated: Use TogglePermissionRequest.ProtoReflect.Descriptor instead.
  574. func (*TogglePermissionRequest) Descriptor() ([]byte, []int) {
  575. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{12}
  576. }
  577. func (x *TogglePermissionRequest) GetPermissionId() int64 {
  578. if x != nil {
  579. return x.PermissionId
  580. }
  581. return 0
  582. }
  583. func (x *TogglePermissionRequest) GetStatus() StatusEnum {
  584. if x != nil {
  585. return x.Status
  586. }
  587. return StatusEnum_UNKNOWN
  588. }
  589. type TogglePermissionResponse struct {
  590. state protoimpl.MessageState
  591. sizeCache protoimpl.SizeCache
  592. unknownFields protoimpl.UnknownFields
  593. }
  594. func (x *TogglePermissionResponse) Reset() {
  595. *x = TogglePermissionResponse{}
  596. if protoimpl.UnsafeEnabled {
  597. mi := &file_proto_shopping_permission_service_proto_msgTypes[13]
  598. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  599. ms.StoreMessageInfo(mi)
  600. }
  601. }
  602. func (x *TogglePermissionResponse) String() string {
  603. return protoimpl.X.MessageStringOf(x)
  604. }
  605. func (*TogglePermissionResponse) ProtoMessage() {}
  606. func (x *TogglePermissionResponse) ProtoReflect() protoreflect.Message {
  607. mi := &file_proto_shopping_permission_service_proto_msgTypes[13]
  608. if protoimpl.UnsafeEnabled && x != nil {
  609. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  610. if ms.LoadMessageInfo() == nil {
  611. ms.StoreMessageInfo(mi)
  612. }
  613. return ms
  614. }
  615. return mi.MessageOf(x)
  616. }
  617. // Deprecated: Use TogglePermissionResponse.ProtoReflect.Descriptor instead.
  618. func (*TogglePermissionResponse) Descriptor() ([]byte, []int) {
  619. return file_proto_shopping_permission_service_proto_rawDescGZIP(), []int{13}
  620. }
  621. var File_proto_shopping_permission_service_proto protoreflect.FileDescriptor
  622. var file_proto_shopping_permission_service_proto_rawDesc = []byte{
  623. 0x0a, 0x27, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
  624. 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76,
  625. 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x73, 0x68, 0x6f, 0x70, 0x70,
  626. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73,
  627. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x61,
  628. 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76,
  629. 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x18, 0x47, 0x65,
  630. 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52,
  631. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01,
  632. 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
  633. 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
  634. 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f,
  635. 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72,
  636. 0x64, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
  637. 0x0e, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
  638. 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
  639. 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x75, 0x0a, 0x19,
  640. 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73,
  641. 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x69, 0x74, 0x65,
  642. 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f,
  643. 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  644. 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x69, 0x74, 0x65,
  645. 0x6d, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
  646. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f,
  647. 0x75, 0x6e, 0x74, 0x22, 0x3b, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
  648. 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x70,
  649. 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  650. 0x28, 0x03, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64,
  651. 0x22, 0x4e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
  652. 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74,
  653. 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73,
  654. 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
  655. 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
  656. 0x22, 0xbc, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69,
  657. 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
  658. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  659. 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  660. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
  661. 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03,
  662. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x39,
  663. 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21,
  664. 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73,
  665. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75,
  666. 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c,
  667. 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22,
  668. 0x1a, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
  669. 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x71, 0x0a, 0x20, 0x43,
  670. 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x50, 0x65, 0x72,
  671. 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  672. 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05,
  673. 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02,
  674. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70,
  675. 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x50, 0x65, 0x72,
  676. 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x23,
  677. 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65,
  678. 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
  679. 0x6e, 0x73, 0x65, 0x22, 0x92, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65,
  680. 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  681. 0x23, 0x0a, 0x0d, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
  682. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
  683. 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
  684. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
  685. 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18,
  686. 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08,
  687. 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  688. 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x1a, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61,
  689. 0x74, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
  690. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x65,
  691. 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  692. 0x23, 0x0a, 0x0d, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
  693. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
  694. 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x65,
  695. 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  696. 0x22, 0x79, 0x0a, 0x17, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
  697. 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x70,
  698. 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  699. 0x28, 0x03, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64,
  700. 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
  701. 0x32, 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
  702. 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45,
  703. 0x6e, 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x54,
  704. 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
  705. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xb9, 0x07, 0x0a, 0x19, 0x53, 0x68, 0x6f, 0x70,
  706. 0x70, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65,
  707. 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72,
  708. 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x2e, 0x73, 0x68,
  709. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
  710. 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72,
  711. 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
  712. 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65,
  713. 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  714. 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69,
  715. 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76, 0x0a, 0x0d, 0x47, 0x65,
  716. 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x2e, 0x73, 0x68,
  717. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
  718. 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72,
  719. 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32,
  720. 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73,
  721. 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74,
  722. 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  723. 0x73, 0x65, 0x12, 0x7f, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x6d,
  724. 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
  725. 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72,
  726. 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69,
  727. 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x73,
  728. 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
  729. 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
  730. 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
  731. 0x6e, 0x73, 0x65, 0x12, 0x9a, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x75,
  732. 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
  733. 0x73, 0x12, 0x3d, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72,
  734. 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
  735. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x50, 0x65,
  736. 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  737. 0x1a, 0x3e, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d,
  738. 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43,
  739. 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x50, 0x65, 0x72,
  740. 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  741. 0x12, 0x7f, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
  742. 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f,
  743. 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
  744. 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
  745. 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x73, 0x68, 0x6f,
  746. 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
  747. 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50,
  748. 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  749. 0x65, 0x12, 0x7f, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69,
  750. 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
  751. 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76,
  752. 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
  753. 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x73, 0x68,
  754. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
  755. 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  756. 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  757. 0x73, 0x65, 0x12, 0x7f, 0x0a, 0x10, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d,
  758. 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
  759. 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72,
  760. 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69,
  761. 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x73,
  762. 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
  763. 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x67, 0x67, 0x6c,
  764. 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
  765. 0x6e, 0x73, 0x65, 0x42, 0x1a, 0x5a, 0x18, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x73,
  766. 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62,
  767. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  768. }
  769. var (
  770. file_proto_shopping_permission_service_proto_rawDescOnce sync.Once
  771. file_proto_shopping_permission_service_proto_rawDescData = file_proto_shopping_permission_service_proto_rawDesc
  772. )
  773. func file_proto_shopping_permission_service_proto_rawDescGZIP() []byte {
  774. file_proto_shopping_permission_service_proto_rawDescOnce.Do(func() {
  775. file_proto_shopping_permission_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_shopping_permission_service_proto_rawDescData)
  776. })
  777. return file_proto_shopping_permission_service_proto_rawDescData
  778. }
  779. var file_proto_shopping_permission_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  780. var file_proto_shopping_permission_service_proto_goTypes = []interface{}{
  781. (*GetPermissionListRequest)(nil), // 0: shopping_permission_service.GetPermissionListRequest
  782. (*GetPermissionListResponse)(nil), // 1: shopping_permission_service.GetPermissionListResponse
  783. (*GetPermissionRequest)(nil), // 2: shopping_permission_service.GetPermissionRequest
  784. (*GetPermissionResponse)(nil), // 3: shopping_permission_service.GetPermissionResponse
  785. (*CreatePermissionRequest)(nil), // 4: shopping_permission_service.CreatePermissionRequest
  786. (*CreatePermissionResponse)(nil), // 5: shopping_permission_service.CreatePermissionResponse
  787. (*CreateMultiplePermissionsRequest)(nil), // 6: shopping_permission_service.CreateMultiplePermissionsRequest
  788. (*CreateMultiplePermissionsResponse)(nil), // 7: shopping_permission_service.CreateMultiplePermissionsResponse
  789. (*UpdatePermissionRequest)(nil), // 8: shopping_permission_service.UpdatePermissionRequest
  790. (*UpdatePermissionResponse)(nil), // 9: shopping_permission_service.UpdatePermissionResponse
  791. (*DeletePermissionRequest)(nil), // 10: shopping_permission_service.DeletePermissionRequest
  792. (*DeletePermissionResponse)(nil), // 11: shopping_permission_service.DeletePermissionResponse
  793. (*TogglePermissionRequest)(nil), // 12: shopping_permission_service.TogglePermissionRequest
  794. (*TogglePermissionResponse)(nil), // 13: shopping_permission_service.TogglePermissionResponse
  795. (StatusEnum)(0), // 14: base_shopping_service.StatusEnum
  796. (*Permission)(nil), // 15: base_shopping_service.Permission
  797. }
  798. var file_proto_shopping_permission_service_proto_depIdxs = []int32{
  799. 14, // 0: shopping_permission_service.GetPermissionListRequest.status:type_name -> base_shopping_service.StatusEnum
  800. 15, // 1: shopping_permission_service.GetPermissionListResponse.items:type_name -> base_shopping_service.Permission
  801. 15, // 2: shopping_permission_service.GetPermissionResponse.data:type_name -> base_shopping_service.Permission
  802. 14, // 3: shopping_permission_service.CreatePermissionRequest.status:type_name -> base_shopping_service.StatusEnum
  803. 15, // 4: shopping_permission_service.CreateMultiplePermissionsRequest.items:type_name -> base_shopping_service.Permission
  804. 14, // 5: shopping_permission_service.TogglePermissionRequest.status:type_name -> base_shopping_service.StatusEnum
  805. 0, // 6: shopping_permission_service.ShoppingPermissionService.GetPermissionList:input_type -> shopping_permission_service.GetPermissionListRequest
  806. 2, // 7: shopping_permission_service.ShoppingPermissionService.GetPermission:input_type -> shopping_permission_service.GetPermissionRequest
  807. 4, // 8: shopping_permission_service.ShoppingPermissionService.CreatePermission:input_type -> shopping_permission_service.CreatePermissionRequest
  808. 6, // 9: shopping_permission_service.ShoppingPermissionService.CreateMultiplePermissions:input_type -> shopping_permission_service.CreateMultiplePermissionsRequest
  809. 8, // 10: shopping_permission_service.ShoppingPermissionService.UpdatePermission:input_type -> shopping_permission_service.UpdatePermissionRequest
  810. 10, // 11: shopping_permission_service.ShoppingPermissionService.DeletePermission:input_type -> shopping_permission_service.DeletePermissionRequest
  811. 12, // 12: shopping_permission_service.ShoppingPermissionService.TogglePermission:input_type -> shopping_permission_service.TogglePermissionRequest
  812. 1, // 13: shopping_permission_service.ShoppingPermissionService.GetPermissionList:output_type -> shopping_permission_service.GetPermissionListResponse
  813. 3, // 14: shopping_permission_service.ShoppingPermissionService.GetPermission:output_type -> shopping_permission_service.GetPermissionResponse
  814. 5, // 15: shopping_permission_service.ShoppingPermissionService.CreatePermission:output_type -> shopping_permission_service.CreatePermissionResponse
  815. 7, // 16: shopping_permission_service.ShoppingPermissionService.CreateMultiplePermissions:output_type -> shopping_permission_service.CreateMultiplePermissionsResponse
  816. 9, // 17: shopping_permission_service.ShoppingPermissionService.UpdatePermission:output_type -> shopping_permission_service.UpdatePermissionResponse
  817. 11, // 18: shopping_permission_service.ShoppingPermissionService.DeletePermission:output_type -> shopping_permission_service.DeletePermissionResponse
  818. 13, // 19: shopping_permission_service.ShoppingPermissionService.TogglePermission:output_type -> shopping_permission_service.TogglePermissionResponse
  819. 13, // [13:20] is the sub-list for method output_type
  820. 6, // [6:13] is the sub-list for method input_type
  821. 6, // [6:6] is the sub-list for extension type_name
  822. 6, // [6:6] is the sub-list for extension extendee
  823. 0, // [0:6] is the sub-list for field type_name
  824. }
  825. func init() { file_proto_shopping_permission_service_proto_init() }
  826. func file_proto_shopping_permission_service_proto_init() {
  827. if File_proto_shopping_permission_service_proto != nil {
  828. return
  829. }
  830. file_proto_base_shopping_service_proto_init()
  831. if !protoimpl.UnsafeEnabled {
  832. file_proto_shopping_permission_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  833. switch v := v.(*GetPermissionListRequest); i {
  834. case 0:
  835. return &v.state
  836. case 1:
  837. return &v.sizeCache
  838. case 2:
  839. return &v.unknownFields
  840. default:
  841. return nil
  842. }
  843. }
  844. file_proto_shopping_permission_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  845. switch v := v.(*GetPermissionListResponse); i {
  846. case 0:
  847. return &v.state
  848. case 1:
  849. return &v.sizeCache
  850. case 2:
  851. return &v.unknownFields
  852. default:
  853. return nil
  854. }
  855. }
  856. file_proto_shopping_permission_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  857. switch v := v.(*GetPermissionRequest); i {
  858. case 0:
  859. return &v.state
  860. case 1:
  861. return &v.sizeCache
  862. case 2:
  863. return &v.unknownFields
  864. default:
  865. return nil
  866. }
  867. }
  868. file_proto_shopping_permission_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  869. switch v := v.(*GetPermissionResponse); i {
  870. case 0:
  871. return &v.state
  872. case 1:
  873. return &v.sizeCache
  874. case 2:
  875. return &v.unknownFields
  876. default:
  877. return nil
  878. }
  879. }
  880. file_proto_shopping_permission_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  881. switch v := v.(*CreatePermissionRequest); i {
  882. case 0:
  883. return &v.state
  884. case 1:
  885. return &v.sizeCache
  886. case 2:
  887. return &v.unknownFields
  888. default:
  889. return nil
  890. }
  891. }
  892. file_proto_shopping_permission_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  893. switch v := v.(*CreatePermissionResponse); i {
  894. case 0:
  895. return &v.state
  896. case 1:
  897. return &v.sizeCache
  898. case 2:
  899. return &v.unknownFields
  900. default:
  901. return nil
  902. }
  903. }
  904. file_proto_shopping_permission_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  905. switch v := v.(*CreateMultiplePermissionsRequest); i {
  906. case 0:
  907. return &v.state
  908. case 1:
  909. return &v.sizeCache
  910. case 2:
  911. return &v.unknownFields
  912. default:
  913. return nil
  914. }
  915. }
  916. file_proto_shopping_permission_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  917. switch v := v.(*CreateMultiplePermissionsResponse); i {
  918. case 0:
  919. return &v.state
  920. case 1:
  921. return &v.sizeCache
  922. case 2:
  923. return &v.unknownFields
  924. default:
  925. return nil
  926. }
  927. }
  928. file_proto_shopping_permission_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  929. switch v := v.(*UpdatePermissionRequest); i {
  930. case 0:
  931. return &v.state
  932. case 1:
  933. return &v.sizeCache
  934. case 2:
  935. return &v.unknownFields
  936. default:
  937. return nil
  938. }
  939. }
  940. file_proto_shopping_permission_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  941. switch v := v.(*UpdatePermissionResponse); i {
  942. case 0:
  943. return &v.state
  944. case 1:
  945. return &v.sizeCache
  946. case 2:
  947. return &v.unknownFields
  948. default:
  949. return nil
  950. }
  951. }
  952. file_proto_shopping_permission_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  953. switch v := v.(*DeletePermissionRequest); i {
  954. case 0:
  955. return &v.state
  956. case 1:
  957. return &v.sizeCache
  958. case 2:
  959. return &v.unknownFields
  960. default:
  961. return nil
  962. }
  963. }
  964. file_proto_shopping_permission_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  965. switch v := v.(*DeletePermissionResponse); i {
  966. case 0:
  967. return &v.state
  968. case 1:
  969. return &v.sizeCache
  970. case 2:
  971. return &v.unknownFields
  972. default:
  973. return nil
  974. }
  975. }
  976. file_proto_shopping_permission_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  977. switch v := v.(*TogglePermissionRequest); i {
  978. case 0:
  979. return &v.state
  980. case 1:
  981. return &v.sizeCache
  982. case 2:
  983. return &v.unknownFields
  984. default:
  985. return nil
  986. }
  987. }
  988. file_proto_shopping_permission_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  989. switch v := v.(*TogglePermissionResponse); i {
  990. case 0:
  991. return &v.state
  992. case 1:
  993. return &v.sizeCache
  994. case 2:
  995. return &v.unknownFields
  996. default:
  997. return nil
  998. }
  999. }
  1000. }
  1001. type x struct{}
  1002. out := protoimpl.TypeBuilder{
  1003. File: protoimpl.DescBuilder{
  1004. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1005. RawDescriptor: file_proto_shopping_permission_service_proto_rawDesc,
  1006. NumEnums: 0,
  1007. NumMessages: 14,
  1008. NumExtensions: 0,
  1009. NumServices: 1,
  1010. },
  1011. GoTypes: file_proto_shopping_permission_service_proto_goTypes,
  1012. DependencyIndexes: file_proto_shopping_permission_service_proto_depIdxs,
  1013. MessageInfos: file_proto_shopping_permission_service_proto_msgTypes,
  1014. }.Build()
  1015. File_proto_shopping_permission_service_proto = out.File
  1016. file_proto_shopping_permission_service_proto_rawDesc = nil
  1017. file_proto_shopping_permission_service_proto_goTypes = nil
  1018. file_proto_shopping_permission_service_proto_depIdxs = nil
  1019. }