user.pb.go 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0-devel
  4. // protoc v3.15.8
  5. // source: user.proto
  6. package user
  7. import (
  8. _ "google.golang.org/genproto/googleapis/api/annotations"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. emptypb "google.golang.org/protobuf/types/known/emptypb"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type UserInfo struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  26. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  27. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  28. Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` // 手机号
  29. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  30. Credit int64 `protobuf:"varint,6,opt,name=credit,proto3" json:"credit"` // 积分
  31. }
  32. func (x *UserInfo) Reset() {
  33. *x = UserInfo{}
  34. if protoimpl.UnsafeEnabled {
  35. mi := &file_user_proto_msgTypes[0]
  36. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  37. ms.StoreMessageInfo(mi)
  38. }
  39. }
  40. func (x *UserInfo) String() string {
  41. return protoimpl.X.MessageStringOf(x)
  42. }
  43. func (*UserInfo) ProtoMessage() {}
  44. func (x *UserInfo) ProtoReflect() protoreflect.Message {
  45. mi := &file_user_proto_msgTypes[0]
  46. if protoimpl.UnsafeEnabled && x != nil {
  47. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  48. if ms.LoadMessageInfo() == nil {
  49. ms.StoreMessageInfo(mi)
  50. }
  51. return ms
  52. }
  53. return mi.MessageOf(x)
  54. }
  55. // Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.
  56. func (*UserInfo) Descriptor() ([]byte, []int) {
  57. return file_user_proto_rawDescGZIP(), []int{0}
  58. }
  59. func (x *UserInfo) GetId() string {
  60. if x != nil {
  61. return x.Id
  62. }
  63. return ""
  64. }
  65. func (x *UserInfo) GetNickname() string {
  66. if x != nil {
  67. return x.Nickname
  68. }
  69. return ""
  70. }
  71. func (x *UserInfo) GetAvatarUrl() string {
  72. if x != nil {
  73. return x.AvatarUrl
  74. }
  75. return ""
  76. }
  77. func (x *UserInfo) GetPhone() string {
  78. if x != nil {
  79. return x.Phone
  80. }
  81. return ""
  82. }
  83. func (x *UserInfo) GetSex() int64 {
  84. if x != nil {
  85. return x.Sex
  86. }
  87. return 0
  88. }
  89. func (x *UserInfo) GetCredit() int64 {
  90. if x != nil {
  91. return x.Credit
  92. }
  93. return 0
  94. }
  95. type UpdateUserInformationRequest struct {
  96. state protoimpl.MessageState
  97. sizeCache protoimpl.SizeCache
  98. unknownFields protoimpl.UnknownFields
  99. Nickname string `protobuf:"bytes,1,opt,name=Nickname,proto3" json:"Nickname"`
  100. AvatarUrl string `protobuf:"bytes,2,opt,name=avatarUrl,proto3" json:"avatarUrl"`
  101. Sex int64 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex"`
  102. }
  103. func (x *UpdateUserInformationRequest) Reset() {
  104. *x = UpdateUserInformationRequest{}
  105. if protoimpl.UnsafeEnabled {
  106. mi := &file_user_proto_msgTypes[1]
  107. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  108. ms.StoreMessageInfo(mi)
  109. }
  110. }
  111. func (x *UpdateUserInformationRequest) String() string {
  112. return protoimpl.X.MessageStringOf(x)
  113. }
  114. func (*UpdateUserInformationRequest) ProtoMessage() {}
  115. func (x *UpdateUserInformationRequest) ProtoReflect() protoreflect.Message {
  116. mi := &file_user_proto_msgTypes[1]
  117. if protoimpl.UnsafeEnabled && x != nil {
  118. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  119. if ms.LoadMessageInfo() == nil {
  120. ms.StoreMessageInfo(mi)
  121. }
  122. return ms
  123. }
  124. return mi.MessageOf(x)
  125. }
  126. // Deprecated: Use UpdateUserInformationRequest.ProtoReflect.Descriptor instead.
  127. func (*UpdateUserInformationRequest) Descriptor() ([]byte, []int) {
  128. return file_user_proto_rawDescGZIP(), []int{1}
  129. }
  130. func (x *UpdateUserInformationRequest) GetNickname() string {
  131. if x != nil {
  132. return x.Nickname
  133. }
  134. return ""
  135. }
  136. func (x *UpdateUserInformationRequest) GetAvatarUrl() string {
  137. if x != nil {
  138. return x.AvatarUrl
  139. }
  140. return ""
  141. }
  142. func (x *UpdateUserInformationRequest) GetSex() int64 {
  143. if x != nil {
  144. return x.Sex
  145. }
  146. return 0
  147. }
  148. type UpdatePhoneRequest struct {
  149. state protoimpl.MessageState
  150. sizeCache protoimpl.SizeCache
  151. unknownFields protoimpl.UnknownFields
  152. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
  153. }
  154. func (x *UpdatePhoneRequest) Reset() {
  155. *x = UpdatePhoneRequest{}
  156. if protoimpl.UnsafeEnabled {
  157. mi := &file_user_proto_msgTypes[2]
  158. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  159. ms.StoreMessageInfo(mi)
  160. }
  161. }
  162. func (x *UpdatePhoneRequest) String() string {
  163. return protoimpl.X.MessageStringOf(x)
  164. }
  165. func (*UpdatePhoneRequest) ProtoMessage() {}
  166. func (x *UpdatePhoneRequest) ProtoReflect() protoreflect.Message {
  167. mi := &file_user_proto_msgTypes[2]
  168. if protoimpl.UnsafeEnabled && x != nil {
  169. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  170. if ms.LoadMessageInfo() == nil {
  171. ms.StoreMessageInfo(mi)
  172. }
  173. return ms
  174. }
  175. return mi.MessageOf(x)
  176. }
  177. // Deprecated: Use UpdatePhoneRequest.ProtoReflect.Descriptor instead.
  178. func (*UpdatePhoneRequest) Descriptor() ([]byte, []int) {
  179. return file_user_proto_rawDescGZIP(), []int{2}
  180. }
  181. func (x *UpdatePhoneRequest) GetPhone() string {
  182. if x != nil {
  183. return x.Phone
  184. }
  185. return ""
  186. }
  187. type DebugLoginRequest struct {
  188. state protoimpl.MessageState
  189. sizeCache protoimpl.SizeCache
  190. unknownFields protoimpl.UnknownFields
  191. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId"`
  192. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
  193. }
  194. func (x *DebugLoginRequest) Reset() {
  195. *x = DebugLoginRequest{}
  196. if protoimpl.UnsafeEnabled {
  197. mi := &file_user_proto_msgTypes[3]
  198. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  199. ms.StoreMessageInfo(mi)
  200. }
  201. }
  202. func (x *DebugLoginRequest) String() string {
  203. return protoimpl.X.MessageStringOf(x)
  204. }
  205. func (*DebugLoginRequest) ProtoMessage() {}
  206. func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
  207. mi := &file_user_proto_msgTypes[3]
  208. if protoimpl.UnsafeEnabled && x != nil {
  209. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  210. if ms.LoadMessageInfo() == nil {
  211. ms.StoreMessageInfo(mi)
  212. }
  213. return ms
  214. }
  215. return mi.MessageOf(x)
  216. }
  217. // Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
  218. func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
  219. return file_user_proto_rawDescGZIP(), []int{3}
  220. }
  221. func (x *DebugLoginRequest) GetUserId() string {
  222. if x != nil {
  223. return x.UserId
  224. }
  225. return ""
  226. }
  227. func (x *DebugLoginRequest) GetCode() string {
  228. if x != nil {
  229. return x.Code
  230. }
  231. return ""
  232. }
  233. type LoginRequest struct {
  234. state protoimpl.MessageState
  235. sizeCache protoimpl.SizeCache
  236. unknownFields protoimpl.UnknownFields
  237. JsCode string `protobuf:"bytes,1,opt,name=jsCode,proto3" json:"jsCode"`
  238. }
  239. func (x *LoginRequest) Reset() {
  240. *x = LoginRequest{}
  241. if protoimpl.UnsafeEnabled {
  242. mi := &file_user_proto_msgTypes[4]
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. ms.StoreMessageInfo(mi)
  245. }
  246. }
  247. func (x *LoginRequest) String() string {
  248. return protoimpl.X.MessageStringOf(x)
  249. }
  250. func (*LoginRequest) ProtoMessage() {}
  251. func (x *LoginRequest) ProtoReflect() protoreflect.Message {
  252. mi := &file_user_proto_msgTypes[4]
  253. if protoimpl.UnsafeEnabled && x != nil {
  254. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  255. if ms.LoadMessageInfo() == nil {
  256. ms.StoreMessageInfo(mi)
  257. }
  258. return ms
  259. }
  260. return mi.MessageOf(x)
  261. }
  262. // Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
  263. func (*LoginRequest) Descriptor() ([]byte, []int) {
  264. return file_user_proto_rawDescGZIP(), []int{4}
  265. }
  266. func (x *LoginRequest) GetJsCode() string {
  267. if x != nil {
  268. return x.JsCode
  269. }
  270. return ""
  271. }
  272. type LoginReply struct {
  273. state protoimpl.MessageState
  274. sizeCache protoimpl.SizeCache
  275. unknownFields protoimpl.UnknownFields
  276. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
  277. }
  278. func (x *LoginReply) Reset() {
  279. *x = LoginReply{}
  280. if protoimpl.UnsafeEnabled {
  281. mi := &file_user_proto_msgTypes[5]
  282. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  283. ms.StoreMessageInfo(mi)
  284. }
  285. }
  286. func (x *LoginReply) String() string {
  287. return protoimpl.X.MessageStringOf(x)
  288. }
  289. func (*LoginReply) ProtoMessage() {}
  290. func (x *LoginReply) ProtoReflect() protoreflect.Message {
  291. mi := &file_user_proto_msgTypes[5]
  292. if protoimpl.UnsafeEnabled && x != nil {
  293. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  294. if ms.LoadMessageInfo() == nil {
  295. ms.StoreMessageInfo(mi)
  296. }
  297. return ms
  298. }
  299. return mi.MessageOf(x)
  300. }
  301. // Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
  302. func (*LoginReply) Descriptor() ([]byte, []int) {
  303. return file_user_proto_rawDescGZIP(), []int{5}
  304. }
  305. func (x *LoginReply) GetToken() string {
  306. if x != nil {
  307. return x.Token
  308. }
  309. return ""
  310. }
  311. var File_user_proto protoreflect.FileDescriptor
  312. var file_user_proto_rawDesc = []byte{
  313. 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  314. 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
  315. 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
  316. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
  317. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  318. 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e,
  319. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a,
  320. 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  321. 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76,
  322. 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  323. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e,
  324. 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x10,
  325. 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78,
  326. 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
  327. 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x22, 0x6a, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61,
  328. 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
  329. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b,
  330. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b,
  331. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
  332. 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55,
  333. 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  334. 0x03, 0x73, 0x65, 0x78, 0x22, 0x2a, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68,
  335. 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68,
  336. 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  337. 0x22, 0x3f, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65,
  338. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18,
  339. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a,
  340. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64,
  341. 0x65, 0x22, 0x26, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  342. 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  343. 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x4c, 0x6f, 0x67,
  344. 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
  345. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xf7, 0x03,
  346. 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x5c, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c,
  347. 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
  348. 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  349. 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67,
  350. 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22,
  351. 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x62, 0x75,
  352. 0x67, 0x3a, 0x01, 0x2a, 0x12, 0x4c, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x16, 0x2e,
  353. 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65,
  354. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
  355. 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x15, 0x82, 0xd3, 0xe4,
  356. 0x93, 0x02, 0x0f, 0x22, 0x0a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x3a,
  357. 0x01, 0x2a, 0x12, 0x80, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
  358. 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x61,
  359. 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73,
  360. 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
  361. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  362. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x27, 0x82, 0xd3,
  363. 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
  364. 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
  365. 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x6a, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
  366. 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75,
  367. 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52,
  368. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  369. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x21,
  370. 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65,
  371. 0x72, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x3a, 0x01,
  372. 0x2a, 0x12, 0x54, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
  373. 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  374. 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75,
  375. 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x19, 0x82, 0xd3,
  376. 0xe4, 0x93, 0x02, 0x13, 0x22, 0x0e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
  377. 0x69, 0x6e, 0x66, 0x6f, 0x3a, 0x01, 0x2a, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x75,
  378. 0x73, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61,
  379. 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d,
  380. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65,
  381. 0x72, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  382. }
  383. var (
  384. file_user_proto_rawDescOnce sync.Once
  385. file_user_proto_rawDescData = file_user_proto_rawDesc
  386. )
  387. func file_user_proto_rawDescGZIP() []byte {
  388. file_user_proto_rawDescOnce.Do(func() {
  389. file_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_proto_rawDescData)
  390. })
  391. return file_user_proto_rawDescData
  392. }
  393. var file_user_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  394. var file_user_proto_goTypes = []interface{}{
  395. (*UserInfo)(nil), // 0: api.user.UserInfo
  396. (*UpdateUserInformationRequest)(nil), // 1: api.user.UpdateUserInformationRequest
  397. (*UpdatePhoneRequest)(nil), // 2: api.user.UpdatePhoneRequest
  398. (*DebugLoginRequest)(nil), // 3: api.user.DebugLoginRequest
  399. (*LoginRequest)(nil), // 4: api.user.LoginRequest
  400. (*LoginReply)(nil), // 5: api.user.LoginReply
  401. (*emptypb.Empty)(nil), // 6: google.protobuf.Empty
  402. }
  403. var file_user_proto_depIdxs = []int32{
  404. 3, // 0: api.user.User.DebugLogin:input_type -> api.user.DebugLoginRequest
  405. 4, // 1: api.user.User.Login:input_type -> api.user.LoginRequest
  406. 1, // 2: api.user.User.UpdateUserInformation:input_type -> api.user.UpdateUserInformationRequest
  407. 2, // 3: api.user.User.UpdateUserPhone:input_type -> api.user.UpdatePhoneRequest
  408. 6, // 4: api.user.User.GetUserInfo:input_type -> google.protobuf.Empty
  409. 5, // 5: api.user.User.DebugLogin:output_type -> api.user.LoginReply
  410. 5, // 6: api.user.User.Login:output_type -> api.user.LoginReply
  411. 6, // 7: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
  412. 6, // 8: api.user.User.UpdateUserPhone:output_type -> google.protobuf.Empty
  413. 0, // 9: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
  414. 5, // [5:10] is the sub-list for method output_type
  415. 0, // [0:5] is the sub-list for method input_type
  416. 0, // [0:0] is the sub-list for extension type_name
  417. 0, // [0:0] is the sub-list for extension extendee
  418. 0, // [0:0] is the sub-list for field type_name
  419. }
  420. func init() { file_user_proto_init() }
  421. func file_user_proto_init() {
  422. if File_user_proto != nil {
  423. return
  424. }
  425. if !protoimpl.UnsafeEnabled {
  426. file_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  427. switch v := v.(*UserInfo); i {
  428. case 0:
  429. return &v.state
  430. case 1:
  431. return &v.sizeCache
  432. case 2:
  433. return &v.unknownFields
  434. default:
  435. return nil
  436. }
  437. }
  438. file_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  439. switch v := v.(*UpdateUserInformationRequest); i {
  440. case 0:
  441. return &v.state
  442. case 1:
  443. return &v.sizeCache
  444. case 2:
  445. return &v.unknownFields
  446. default:
  447. return nil
  448. }
  449. }
  450. file_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  451. switch v := v.(*UpdatePhoneRequest); i {
  452. case 0:
  453. return &v.state
  454. case 1:
  455. return &v.sizeCache
  456. case 2:
  457. return &v.unknownFields
  458. default:
  459. return nil
  460. }
  461. }
  462. file_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  463. switch v := v.(*DebugLoginRequest); i {
  464. case 0:
  465. return &v.state
  466. case 1:
  467. return &v.sizeCache
  468. case 2:
  469. return &v.unknownFields
  470. default:
  471. return nil
  472. }
  473. }
  474. file_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  475. switch v := v.(*LoginRequest); i {
  476. case 0:
  477. return &v.state
  478. case 1:
  479. return &v.sizeCache
  480. case 2:
  481. return &v.unknownFields
  482. default:
  483. return nil
  484. }
  485. }
  486. file_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  487. switch v := v.(*LoginReply); i {
  488. case 0:
  489. return &v.state
  490. case 1:
  491. return &v.sizeCache
  492. case 2:
  493. return &v.unknownFields
  494. default:
  495. return nil
  496. }
  497. }
  498. }
  499. type x struct{}
  500. out := protoimpl.TypeBuilder{
  501. File: protoimpl.DescBuilder{
  502. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  503. RawDescriptor: file_user_proto_rawDesc,
  504. NumEnums: 0,
  505. NumMessages: 6,
  506. NumExtensions: 0,
  507. NumServices: 1,
  508. },
  509. GoTypes: file_user_proto_goTypes,
  510. DependencyIndexes: file_user_proto_depIdxs,
  511. MessageInfos: file_user_proto_msgTypes,
  512. }.Build()
  513. File_user_proto = out.File
  514. file_user_proto_rawDesc = nil
  515. file_user_proto_goTypes = nil
  516. file_user_proto_depIdxs = nil
  517. }