common_service.pb.go 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  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/common_service.proto
  6. package authorization_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. // ------------ 登录 ------------
  20. type AdminLoginRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
  25. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
  26. }
  27. func (x *AdminLoginRequest) Reset() {
  28. *x = AdminLoginRequest{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_proto_common_service_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *AdminLoginRequest) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*AdminLoginRequest) ProtoMessage() {}
  39. func (x *AdminLoginRequest) ProtoReflect() protoreflect.Message {
  40. mi := &file_proto_common_service_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use AdminLoginRequest.ProtoReflect.Descriptor instead.
  51. func (*AdminLoginRequest) Descriptor() ([]byte, []int) {
  52. return file_proto_common_service_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *AdminLoginRequest) GetUsername() string {
  55. if x != nil {
  56. return x.Username
  57. }
  58. return ""
  59. }
  60. func (x *AdminLoginRequest) GetPassword() string {
  61. if x != nil {
  62. return x.Password
  63. }
  64. return ""
  65. }
  66. type AdminLoginResponse struct {
  67. state protoimpl.MessageState
  68. sizeCache protoimpl.SizeCache
  69. unknownFields protoimpl.UnknownFields
  70. User *AdminUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
  71. Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
  72. }
  73. func (x *AdminLoginResponse) Reset() {
  74. *x = AdminLoginResponse{}
  75. if protoimpl.UnsafeEnabled {
  76. mi := &file_proto_common_service_proto_msgTypes[1]
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. ms.StoreMessageInfo(mi)
  79. }
  80. }
  81. func (x *AdminLoginResponse) String() string {
  82. return protoimpl.X.MessageStringOf(x)
  83. }
  84. func (*AdminLoginResponse) ProtoMessage() {}
  85. func (x *AdminLoginResponse) ProtoReflect() protoreflect.Message {
  86. mi := &file_proto_common_service_proto_msgTypes[1]
  87. if protoimpl.UnsafeEnabled && x != nil {
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. if ms.LoadMessageInfo() == nil {
  90. ms.StoreMessageInfo(mi)
  91. }
  92. return ms
  93. }
  94. return mi.MessageOf(x)
  95. }
  96. // Deprecated: Use AdminLoginResponse.ProtoReflect.Descriptor instead.
  97. func (*AdminLoginResponse) Descriptor() ([]byte, []int) {
  98. return file_proto_common_service_proto_rawDescGZIP(), []int{1}
  99. }
  100. func (x *AdminLoginResponse) GetUser() *AdminUser {
  101. if x != nil {
  102. return x.User
  103. }
  104. return nil
  105. }
  106. func (x *AdminLoginResponse) GetToken() string {
  107. if x != nil {
  108. return x.Token
  109. }
  110. return ""
  111. }
  112. // ------------ 退出 ------------
  113. type AdminLogoutRequest struct {
  114. state protoimpl.MessageState
  115. sizeCache protoimpl.SizeCache
  116. unknownFields protoimpl.UnknownFields
  117. }
  118. func (x *AdminLogoutRequest) Reset() {
  119. *x = AdminLogoutRequest{}
  120. if protoimpl.UnsafeEnabled {
  121. mi := &file_proto_common_service_proto_msgTypes[2]
  122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  123. ms.StoreMessageInfo(mi)
  124. }
  125. }
  126. func (x *AdminLogoutRequest) String() string {
  127. return protoimpl.X.MessageStringOf(x)
  128. }
  129. func (*AdminLogoutRequest) ProtoMessage() {}
  130. func (x *AdminLogoutRequest) ProtoReflect() protoreflect.Message {
  131. mi := &file_proto_common_service_proto_msgTypes[2]
  132. if protoimpl.UnsafeEnabled && x != nil {
  133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  134. if ms.LoadMessageInfo() == nil {
  135. ms.StoreMessageInfo(mi)
  136. }
  137. return ms
  138. }
  139. return mi.MessageOf(x)
  140. }
  141. // Deprecated: Use AdminLogoutRequest.ProtoReflect.Descriptor instead.
  142. func (*AdminLogoutRequest) Descriptor() ([]byte, []int) {
  143. return file_proto_common_service_proto_rawDescGZIP(), []int{2}
  144. }
  145. type AdminLogoutResponse struct {
  146. state protoimpl.MessageState
  147. sizeCache protoimpl.SizeCache
  148. unknownFields protoimpl.UnknownFields
  149. }
  150. func (x *AdminLogoutResponse) Reset() {
  151. *x = AdminLogoutResponse{}
  152. if protoimpl.UnsafeEnabled {
  153. mi := &file_proto_common_service_proto_msgTypes[3]
  154. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  155. ms.StoreMessageInfo(mi)
  156. }
  157. }
  158. func (x *AdminLogoutResponse) String() string {
  159. return protoimpl.X.MessageStringOf(x)
  160. }
  161. func (*AdminLogoutResponse) ProtoMessage() {}
  162. func (x *AdminLogoutResponse) ProtoReflect() protoreflect.Message {
  163. mi := &file_proto_common_service_proto_msgTypes[3]
  164. if protoimpl.UnsafeEnabled && x != nil {
  165. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  166. if ms.LoadMessageInfo() == nil {
  167. ms.StoreMessageInfo(mi)
  168. }
  169. return ms
  170. }
  171. return mi.MessageOf(x)
  172. }
  173. // Deprecated: Use AdminLogoutResponse.ProtoReflect.Descriptor instead.
  174. func (*AdminLogoutResponse) Descriptor() ([]byte, []int) {
  175. return file_proto_common_service_proto_rawDescGZIP(), []int{3}
  176. }
  177. // ------------ 个人信息 ------------
  178. type AdminProfileRequest struct {
  179. state protoimpl.MessageState
  180. sizeCache protoimpl.SizeCache
  181. unknownFields protoimpl.UnknownFields
  182. }
  183. func (x *AdminProfileRequest) Reset() {
  184. *x = AdminProfileRequest{}
  185. if protoimpl.UnsafeEnabled {
  186. mi := &file_proto_common_service_proto_msgTypes[4]
  187. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  188. ms.StoreMessageInfo(mi)
  189. }
  190. }
  191. func (x *AdminProfileRequest) String() string {
  192. return protoimpl.X.MessageStringOf(x)
  193. }
  194. func (*AdminProfileRequest) ProtoMessage() {}
  195. func (x *AdminProfileRequest) ProtoReflect() protoreflect.Message {
  196. mi := &file_proto_common_service_proto_msgTypes[4]
  197. if protoimpl.UnsafeEnabled && x != nil {
  198. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  199. if ms.LoadMessageInfo() == nil {
  200. ms.StoreMessageInfo(mi)
  201. }
  202. return ms
  203. }
  204. return mi.MessageOf(x)
  205. }
  206. // Deprecated: Use AdminProfileRequest.ProtoReflect.Descriptor instead.
  207. func (*AdminProfileRequest) Descriptor() ([]byte, []int) {
  208. return file_proto_common_service_proto_rawDescGZIP(), []int{4}
  209. }
  210. type AdminProfileResponse struct {
  211. state protoimpl.MessageState
  212. sizeCache protoimpl.SizeCache
  213. unknownFields protoimpl.UnknownFields
  214. User *AdminUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
  215. }
  216. func (x *AdminProfileResponse) Reset() {
  217. *x = AdminProfileResponse{}
  218. if protoimpl.UnsafeEnabled {
  219. mi := &file_proto_common_service_proto_msgTypes[5]
  220. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  221. ms.StoreMessageInfo(mi)
  222. }
  223. }
  224. func (x *AdminProfileResponse) String() string {
  225. return protoimpl.X.MessageStringOf(x)
  226. }
  227. func (*AdminProfileResponse) ProtoMessage() {}
  228. func (x *AdminProfileResponse) ProtoReflect() protoreflect.Message {
  229. mi := &file_proto_common_service_proto_msgTypes[5]
  230. if protoimpl.UnsafeEnabled && x != nil {
  231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  232. if ms.LoadMessageInfo() == nil {
  233. ms.StoreMessageInfo(mi)
  234. }
  235. return ms
  236. }
  237. return mi.MessageOf(x)
  238. }
  239. // Deprecated: Use AdminProfileResponse.ProtoReflect.Descriptor instead.
  240. func (*AdminProfileResponse) Descriptor() ([]byte, []int) {
  241. return file_proto_common_service_proto_rawDescGZIP(), []int{5}
  242. }
  243. func (x *AdminProfileResponse) GetUser() *AdminUser {
  244. if x != nil {
  245. return x.User
  246. }
  247. return nil
  248. }
  249. var File_proto_common_service_proto protoreflect.FileDescriptor
  250. var file_proto_common_service_proto_rawDesc = []byte{
  251. 0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73,
  252. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x63, 0x6f,
  253. 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x18, 0x70, 0x72,
  254. 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  255. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x11, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c,
  256. 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75,
  257. 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75,
  258. 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
  259. 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
  260. 0x6f, 0x72, 0x64, 0x22, 0x57, 0x0a, 0x12, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69,
  261. 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x73, 0x65,
  262. 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73,
  263. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72,
  264. 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
  265. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x14, 0x0a, 0x12,
  266. 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
  267. 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75,
  268. 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x41, 0x64, 0x6d,
  269. 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  270. 0x22, 0x43, 0x0a, 0x14, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
  271. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
  272. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65,
  273. 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52,
  274. 0x04, 0x75, 0x73, 0x65, 0x72, 0x32, 0x97, 0x02, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  275. 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0a, 0x41, 0x64, 0x6d, 0x69, 0x6e,
  276. 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73,
  277. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69,
  278. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  279. 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c,
  280. 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0b,
  281. 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x12, 0x22, 0x2e, 0x63, 0x6f,
  282. 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d,
  283. 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  284. 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  285. 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70,
  286. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f,
  287. 0x66, 0x69, 0x6c, 0x65, 0x12, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73, 0x65,
  288. 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69,
  289. 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  290. 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e,
  291. 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
  292. 0x1f, 0x5a, 0x1d, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x6f,
  293. 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  294. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  295. }
  296. var (
  297. file_proto_common_service_proto_rawDescOnce sync.Once
  298. file_proto_common_service_proto_rawDescData = file_proto_common_service_proto_rawDesc
  299. )
  300. func file_proto_common_service_proto_rawDescGZIP() []byte {
  301. file_proto_common_service_proto_rawDescOnce.Do(func() {
  302. file_proto_common_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_common_service_proto_rawDescData)
  303. })
  304. return file_proto_common_service_proto_rawDescData
  305. }
  306. var file_proto_common_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  307. var file_proto_common_service_proto_goTypes = []interface{}{
  308. (*AdminLoginRequest)(nil), // 0: common_service.AdminLoginRequest
  309. (*AdminLoginResponse)(nil), // 1: common_service.AdminLoginResponse
  310. (*AdminLogoutRequest)(nil), // 2: common_service.AdminLogoutRequest
  311. (*AdminLogoutResponse)(nil), // 3: common_service.AdminLogoutResponse
  312. (*AdminProfileRequest)(nil), // 4: common_service.AdminProfileRequest
  313. (*AdminProfileResponse)(nil), // 5: common_service.AdminProfileResponse
  314. (*AdminUser)(nil), // 6: base_service.AdminUser
  315. }
  316. var file_proto_common_service_proto_depIdxs = []int32{
  317. 6, // 0: common_service.AdminLoginResponse.user:type_name -> base_service.AdminUser
  318. 6, // 1: common_service.AdminProfileResponse.user:type_name -> base_service.AdminUser
  319. 0, // 2: common_service.CommonService.AdminLogin:input_type -> common_service.AdminLoginRequest
  320. 2, // 3: common_service.CommonService.AdminLogout:input_type -> common_service.AdminLogoutRequest
  321. 4, // 4: common_service.CommonService.AdminProfile:input_type -> common_service.AdminProfileRequest
  322. 1, // 5: common_service.CommonService.AdminLogin:output_type -> common_service.AdminLoginResponse
  323. 3, // 6: common_service.CommonService.AdminLogout:output_type -> common_service.AdminLogoutResponse
  324. 5, // 7: common_service.CommonService.AdminProfile:output_type -> common_service.AdminProfileResponse
  325. 5, // [5:8] is the sub-list for method output_type
  326. 2, // [2:5] is the sub-list for method input_type
  327. 2, // [2:2] is the sub-list for extension type_name
  328. 2, // [2:2] is the sub-list for extension extendee
  329. 0, // [0:2] is the sub-list for field type_name
  330. }
  331. func init() { file_proto_common_service_proto_init() }
  332. func file_proto_common_service_proto_init() {
  333. if File_proto_common_service_proto != nil {
  334. return
  335. }
  336. file_proto_base_service_proto_init()
  337. if !protoimpl.UnsafeEnabled {
  338. file_proto_common_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  339. switch v := v.(*AdminLoginRequest); i {
  340. case 0:
  341. return &v.state
  342. case 1:
  343. return &v.sizeCache
  344. case 2:
  345. return &v.unknownFields
  346. default:
  347. return nil
  348. }
  349. }
  350. file_proto_common_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  351. switch v := v.(*AdminLoginResponse); i {
  352. case 0:
  353. return &v.state
  354. case 1:
  355. return &v.sizeCache
  356. case 2:
  357. return &v.unknownFields
  358. default:
  359. return nil
  360. }
  361. }
  362. file_proto_common_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  363. switch v := v.(*AdminLogoutRequest); i {
  364. case 0:
  365. return &v.state
  366. case 1:
  367. return &v.sizeCache
  368. case 2:
  369. return &v.unknownFields
  370. default:
  371. return nil
  372. }
  373. }
  374. file_proto_common_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  375. switch v := v.(*AdminLogoutResponse); i {
  376. case 0:
  377. return &v.state
  378. case 1:
  379. return &v.sizeCache
  380. case 2:
  381. return &v.unknownFields
  382. default:
  383. return nil
  384. }
  385. }
  386. file_proto_common_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  387. switch v := v.(*AdminProfileRequest); i {
  388. case 0:
  389. return &v.state
  390. case 1:
  391. return &v.sizeCache
  392. case 2:
  393. return &v.unknownFields
  394. default:
  395. return nil
  396. }
  397. }
  398. file_proto_common_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  399. switch v := v.(*AdminProfileResponse); i {
  400. case 0:
  401. return &v.state
  402. case 1:
  403. return &v.sizeCache
  404. case 2:
  405. return &v.unknownFields
  406. default:
  407. return nil
  408. }
  409. }
  410. }
  411. type x struct{}
  412. out := protoimpl.TypeBuilder{
  413. File: protoimpl.DescBuilder{
  414. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  415. RawDescriptor: file_proto_common_service_proto_rawDesc,
  416. NumEnums: 0,
  417. NumMessages: 6,
  418. NumExtensions: 0,
  419. NumServices: 1,
  420. },
  421. GoTypes: file_proto_common_service_proto_goTypes,
  422. DependencyIndexes: file_proto_common_service_proto_depIdxs,
  423. MessageInfos: file_proto_common_service_proto_msgTypes,
  424. }.Build()
  425. File_proto_common_service_proto = out.File
  426. file_proto_common_service_proto_rawDesc = nil
  427. file_proto_common_service_proto_goTypes = nil
  428. file_proto_common_service_proto_depIdxs = nil
  429. }