user.pb.go 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  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. chat "git.ikuban.com/server/pw-protobuf/api/chat"
  9. _ "google.golang.org/genproto/googleapis/api/annotations"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. emptypb "google.golang.org/protobuf/types/known/emptypb"
  13. reflect "reflect"
  14. sync "sync"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type CheckUserPartnerIsRelationshipRequest struct {
  23. state protoimpl.MessageState
  24. sizeCache protoimpl.SizeCache
  25. unknownFields protoimpl.UnknownFields
  26. PartnerID string `protobuf:"bytes,1,opt,name=partnerID,proto3" json:"partnerID"`
  27. }
  28. func (x *CheckUserPartnerIsRelationshipRequest) Reset() {
  29. *x = CheckUserPartnerIsRelationshipRequest{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_user_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *CheckUserPartnerIsRelationshipRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*CheckUserPartnerIsRelationshipRequest) ProtoMessage() {}
  40. func (x *CheckUserPartnerIsRelationshipRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_user_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 CheckUserPartnerIsRelationshipRequest.ProtoReflect.Descriptor instead.
  52. func (*CheckUserPartnerIsRelationshipRequest) Descriptor() ([]byte, []int) {
  53. return file_user_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *CheckUserPartnerIsRelationshipRequest) GetPartnerID() string {
  56. if x != nil {
  57. return x.PartnerID
  58. }
  59. return ""
  60. }
  61. type UserInfo struct {
  62. state protoimpl.MessageState
  63. sizeCache protoimpl.SizeCache
  64. unknownFields protoimpl.UnknownFields
  65. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  66. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  67. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  68. Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` // 手机号
  69. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  70. Credit int64 `protobuf:"varint,6,opt,name=credit,proto3" json:"credit"` // 积分
  71. }
  72. func (x *UserInfo) Reset() {
  73. *x = UserInfo{}
  74. if protoimpl.UnsafeEnabled {
  75. mi := &file_user_proto_msgTypes[1]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. }
  80. func (x *UserInfo) String() string {
  81. return protoimpl.X.MessageStringOf(x)
  82. }
  83. func (*UserInfo) ProtoMessage() {}
  84. func (x *UserInfo) ProtoReflect() protoreflect.Message {
  85. mi := &file_user_proto_msgTypes[1]
  86. if protoimpl.UnsafeEnabled && x != nil {
  87. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  88. if ms.LoadMessageInfo() == nil {
  89. ms.StoreMessageInfo(mi)
  90. }
  91. return ms
  92. }
  93. return mi.MessageOf(x)
  94. }
  95. // Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.
  96. func (*UserInfo) Descriptor() ([]byte, []int) {
  97. return file_user_proto_rawDescGZIP(), []int{1}
  98. }
  99. func (x *UserInfo) GetId() string {
  100. if x != nil {
  101. return x.Id
  102. }
  103. return ""
  104. }
  105. func (x *UserInfo) GetNickname() string {
  106. if x != nil {
  107. return x.Nickname
  108. }
  109. return ""
  110. }
  111. func (x *UserInfo) GetAvatarUrl() string {
  112. if x != nil {
  113. return x.AvatarUrl
  114. }
  115. return ""
  116. }
  117. func (x *UserInfo) GetPhone() string {
  118. if x != nil {
  119. return x.Phone
  120. }
  121. return ""
  122. }
  123. func (x *UserInfo) GetSex() int64 {
  124. if x != nil {
  125. return x.Sex
  126. }
  127. return 0
  128. }
  129. func (x *UserInfo) GetCredit() int64 {
  130. if x != nil {
  131. return x.Credit
  132. }
  133. return 0
  134. }
  135. type UpdateUserInformationRequest struct {
  136. state protoimpl.MessageState
  137. sizeCache protoimpl.SizeCache
  138. unknownFields protoimpl.UnknownFields
  139. Nickname string `protobuf:"bytes,1,opt,name=Nickname,proto3" json:"Nickname"`
  140. AvatarUrl string `protobuf:"bytes,2,opt,name=avatarUrl,proto3" json:"avatarUrl"`
  141. Sex int64 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex"`
  142. }
  143. func (x *UpdateUserInformationRequest) Reset() {
  144. *x = UpdateUserInformationRequest{}
  145. if protoimpl.UnsafeEnabled {
  146. mi := &file_user_proto_msgTypes[2]
  147. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  148. ms.StoreMessageInfo(mi)
  149. }
  150. }
  151. func (x *UpdateUserInformationRequest) String() string {
  152. return protoimpl.X.MessageStringOf(x)
  153. }
  154. func (*UpdateUserInformationRequest) ProtoMessage() {}
  155. func (x *UpdateUserInformationRequest) ProtoReflect() protoreflect.Message {
  156. mi := &file_user_proto_msgTypes[2]
  157. if protoimpl.UnsafeEnabled && x != nil {
  158. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  159. if ms.LoadMessageInfo() == nil {
  160. ms.StoreMessageInfo(mi)
  161. }
  162. return ms
  163. }
  164. return mi.MessageOf(x)
  165. }
  166. // Deprecated: Use UpdateUserInformationRequest.ProtoReflect.Descriptor instead.
  167. func (*UpdateUserInformationRequest) Descriptor() ([]byte, []int) {
  168. return file_user_proto_rawDescGZIP(), []int{2}
  169. }
  170. func (x *UpdateUserInformationRequest) GetNickname() string {
  171. if x != nil {
  172. return x.Nickname
  173. }
  174. return ""
  175. }
  176. func (x *UpdateUserInformationRequest) GetAvatarUrl() string {
  177. if x != nil {
  178. return x.AvatarUrl
  179. }
  180. return ""
  181. }
  182. func (x *UpdateUserInformationRequest) GetSex() int64 {
  183. if x != nil {
  184. return x.Sex
  185. }
  186. return 0
  187. }
  188. type SendPhoneCodeRequest struct {
  189. state protoimpl.MessageState
  190. sizeCache protoimpl.SizeCache
  191. unknownFields protoimpl.UnknownFields
  192. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
  193. }
  194. func (x *SendPhoneCodeRequest) Reset() {
  195. *x = SendPhoneCodeRequest{}
  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 *SendPhoneCodeRequest) String() string {
  203. return protoimpl.X.MessageStringOf(x)
  204. }
  205. func (*SendPhoneCodeRequest) ProtoMessage() {}
  206. func (x *SendPhoneCodeRequest) 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 SendPhoneCodeRequest.ProtoReflect.Descriptor instead.
  218. func (*SendPhoneCodeRequest) Descriptor() ([]byte, []int) {
  219. return file_user_proto_rawDescGZIP(), []int{3}
  220. }
  221. func (x *SendPhoneCodeRequest) GetPhone() string {
  222. if x != nil {
  223. return x.Phone
  224. }
  225. return ""
  226. }
  227. type CheckPhoneCodeRequest struct {
  228. state protoimpl.MessageState
  229. sizeCache protoimpl.SizeCache
  230. unknownFields protoimpl.UnknownFields
  231. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
  232. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
  233. }
  234. func (x *CheckPhoneCodeRequest) Reset() {
  235. *x = CheckPhoneCodeRequest{}
  236. if protoimpl.UnsafeEnabled {
  237. mi := &file_user_proto_msgTypes[4]
  238. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  239. ms.StoreMessageInfo(mi)
  240. }
  241. }
  242. func (x *CheckPhoneCodeRequest) String() string {
  243. return protoimpl.X.MessageStringOf(x)
  244. }
  245. func (*CheckPhoneCodeRequest) ProtoMessage() {}
  246. func (x *CheckPhoneCodeRequest) ProtoReflect() protoreflect.Message {
  247. mi := &file_user_proto_msgTypes[4]
  248. if protoimpl.UnsafeEnabled && x != nil {
  249. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  250. if ms.LoadMessageInfo() == nil {
  251. ms.StoreMessageInfo(mi)
  252. }
  253. return ms
  254. }
  255. return mi.MessageOf(x)
  256. }
  257. // Deprecated: Use CheckPhoneCodeRequest.ProtoReflect.Descriptor instead.
  258. func (*CheckPhoneCodeRequest) Descriptor() ([]byte, []int) {
  259. return file_user_proto_rawDescGZIP(), []int{4}
  260. }
  261. func (x *CheckPhoneCodeRequest) GetPhone() string {
  262. if x != nil {
  263. return x.Phone
  264. }
  265. return ""
  266. }
  267. func (x *CheckPhoneCodeRequest) GetCode() string {
  268. if x != nil {
  269. return x.Code
  270. }
  271. return ""
  272. }
  273. type DebugLoginRequest struct {
  274. state protoimpl.MessageState
  275. sizeCache protoimpl.SizeCache
  276. unknownFields protoimpl.UnknownFields
  277. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId"`
  278. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
  279. }
  280. func (x *DebugLoginRequest) Reset() {
  281. *x = DebugLoginRequest{}
  282. if protoimpl.UnsafeEnabled {
  283. mi := &file_user_proto_msgTypes[5]
  284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  285. ms.StoreMessageInfo(mi)
  286. }
  287. }
  288. func (x *DebugLoginRequest) String() string {
  289. return protoimpl.X.MessageStringOf(x)
  290. }
  291. func (*DebugLoginRequest) ProtoMessage() {}
  292. func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
  293. mi := &file_user_proto_msgTypes[5]
  294. if protoimpl.UnsafeEnabled && x != nil {
  295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  296. if ms.LoadMessageInfo() == nil {
  297. ms.StoreMessageInfo(mi)
  298. }
  299. return ms
  300. }
  301. return mi.MessageOf(x)
  302. }
  303. // Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
  304. func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
  305. return file_user_proto_rawDescGZIP(), []int{5}
  306. }
  307. func (x *DebugLoginRequest) GetUserId() string {
  308. if x != nil {
  309. return x.UserId
  310. }
  311. return ""
  312. }
  313. func (x *DebugLoginRequest) GetCode() string {
  314. if x != nil {
  315. return x.Code
  316. }
  317. return ""
  318. }
  319. type AuthorizationRequest struct {
  320. state protoimpl.MessageState
  321. sizeCache protoimpl.SizeCache
  322. unknownFields protoimpl.UnknownFields
  323. JsCode string `protobuf:"bytes,1,opt,name=jsCode,proto3" json:"jsCode"`
  324. }
  325. func (x *AuthorizationRequest) Reset() {
  326. *x = AuthorizationRequest{}
  327. if protoimpl.UnsafeEnabled {
  328. mi := &file_user_proto_msgTypes[6]
  329. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  330. ms.StoreMessageInfo(mi)
  331. }
  332. }
  333. func (x *AuthorizationRequest) String() string {
  334. return protoimpl.X.MessageStringOf(x)
  335. }
  336. func (*AuthorizationRequest) ProtoMessage() {}
  337. func (x *AuthorizationRequest) ProtoReflect() protoreflect.Message {
  338. mi := &file_user_proto_msgTypes[6]
  339. if protoimpl.UnsafeEnabled && x != nil {
  340. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  341. if ms.LoadMessageInfo() == nil {
  342. ms.StoreMessageInfo(mi)
  343. }
  344. return ms
  345. }
  346. return mi.MessageOf(x)
  347. }
  348. // Deprecated: Use AuthorizationRequest.ProtoReflect.Descriptor instead.
  349. func (*AuthorizationRequest) Descriptor() ([]byte, []int) {
  350. return file_user_proto_rawDescGZIP(), []int{6}
  351. }
  352. func (x *AuthorizationRequest) GetJsCode() string {
  353. if x != nil {
  354. return x.JsCode
  355. }
  356. return ""
  357. }
  358. type TokenReply struct {
  359. state protoimpl.MessageState
  360. sizeCache protoimpl.SizeCache
  361. unknownFields protoimpl.UnknownFields
  362. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
  363. }
  364. func (x *TokenReply) Reset() {
  365. *x = TokenReply{}
  366. if protoimpl.UnsafeEnabled {
  367. mi := &file_user_proto_msgTypes[7]
  368. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  369. ms.StoreMessageInfo(mi)
  370. }
  371. }
  372. func (x *TokenReply) String() string {
  373. return protoimpl.X.MessageStringOf(x)
  374. }
  375. func (*TokenReply) ProtoMessage() {}
  376. func (x *TokenReply) ProtoReflect() protoreflect.Message {
  377. mi := &file_user_proto_msgTypes[7]
  378. if protoimpl.UnsafeEnabled && x != nil {
  379. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  380. if ms.LoadMessageInfo() == nil {
  381. ms.StoreMessageInfo(mi)
  382. }
  383. return ms
  384. }
  385. return mi.MessageOf(x)
  386. }
  387. // Deprecated: Use TokenReply.ProtoReflect.Descriptor instead.
  388. func (*TokenReply) Descriptor() ([]byte, []int) {
  389. return file_user_proto_rawDescGZIP(), []int{7}
  390. }
  391. func (x *TokenReply) GetToken() string {
  392. if x != nil {
  393. return x.Token
  394. }
  395. return ""
  396. }
  397. var File_user_proto protoreflect.FileDescriptor
  398. var file_user_proto_rawDesc = []byte{
  399. 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  400. 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
  401. 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
  402. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
  403. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  404. 0x6f, 0x1a, 0x13, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x63, 0x68, 0x61, 0x74,
  405. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x25, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55,
  406. 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61,
  407. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  408. 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  409. 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x22, 0x94, 0x01,
  410. 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  411. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
  412. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
  413. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  414. 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  415. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20,
  416. 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65,
  417. 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06,
  418. 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72,
  419. 0x65, 0x64, 0x69, 0x74, 0x22, 0x6a, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73,
  420. 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
  421. 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  422. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  423. 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x02, 0x20,
  424. 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10,
  425. 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78,
  426. 0x22, 0x2c, 0x0a, 0x14, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x64,
  427. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e,
  428. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0x41,
  429. 0x0a, 0x15, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x64, 0x65,
  430. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  431. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a,
  432. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64,
  433. 0x65, 0x22, 0x3f, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52,
  434. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  435. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12,
  436. 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f,
  437. 0x64, 0x65, 0x22, 0x2e, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74,
  438. 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73,
  439. 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f,
  440. 0x64, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79,
  441. 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  442. 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xae, 0x06, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12,
  443. 0x61, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1b, 0x2e,
  444. 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f,
  445. 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69,
  446. 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79,
  447. 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x15, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75,
  448. 0x73, 0x65, 0x72, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x3a,
  449. 0x01, 0x2a, 0x12, 0x69, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74,
  450. 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41,
  451. 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
  452. 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x54,
  453. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02,
  454. 0x1c, 0x22, 0x17, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x61, 0x75, 0x74,
  455. 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x80, 0x01,
  456. 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
  457. 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73,
  458. 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66,
  459. 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  460. 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  461. 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22,
  462. 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74,
  463. 0x65, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a,
  464. 0x12, 0x54, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12,
  465. 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  466. 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73,
  467. 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x19, 0x82, 0xd3, 0xe4,
  468. 0x93, 0x02, 0x13, 0x22, 0x0e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x69,
  469. 0x6e, 0x66, 0x6f, 0x3a, 0x01, 0x2a, 0x12, 0x67, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x68,
  470. 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73,
  471. 0x65, 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x64, 0x65,
  472. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  473. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
  474. 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x22, 0x13, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73,
  475. 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x73, 0x65, 0x6e, 0x64, 0x3a, 0x01, 0x2a, 0x12,
  476. 0x6a, 0x0a, 0x0e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x64,
  477. 0x65, 0x12, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x68, 0x65,
  478. 0x63, 0x6b, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  479. 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  480. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93,
  481. 0x02, 0x19, 0x22, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x63, 0x6f,
  482. 0x64, 0x65, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x12, 0xa9, 0x01, 0x0a, 0x1e,
  483. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
  484. 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x2f,
  485. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55,
  486. 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61,
  487. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  488. 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b,
  489. 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c,
  490. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x27,
  491. 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65,
  492. 0x72, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  493. 0x73, 0x68, 0x69, 0x70, 0x3a, 0x01, 0x2a, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x75,
  494. 0x73, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61,
  495. 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d,
  496. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65,
  497. 0x72, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  498. }
  499. var (
  500. file_user_proto_rawDescOnce sync.Once
  501. file_user_proto_rawDescData = file_user_proto_rawDesc
  502. )
  503. func file_user_proto_rawDescGZIP() []byte {
  504. file_user_proto_rawDescOnce.Do(func() {
  505. file_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_proto_rawDescData)
  506. })
  507. return file_user_proto_rawDescData
  508. }
  509. var file_user_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  510. var file_user_proto_goTypes = []interface{}{
  511. (*CheckUserPartnerIsRelationshipRequest)(nil), // 0: api.user.CheckUserPartnerIsRelationshipRequest
  512. (*UserInfo)(nil), // 1: api.user.UserInfo
  513. (*UpdateUserInformationRequest)(nil), // 2: api.user.UpdateUserInformationRequest
  514. (*SendPhoneCodeRequest)(nil), // 3: api.user.SendPhoneCodeRequest
  515. (*CheckPhoneCodeRequest)(nil), // 4: api.user.CheckPhoneCodeRequest
  516. (*DebugLoginRequest)(nil), // 5: api.user.DebugLoginRequest
  517. (*AuthorizationRequest)(nil), // 6: api.user.AuthorizationRequest
  518. (*TokenReply)(nil), // 7: api.user.TokenReply
  519. (*emptypb.Empty)(nil), // 8: google.protobuf.Empty
  520. (*chat.CheckUserPartnerIsRelationshipReply)(nil), // 9: api.chat.CheckUserPartnerIsRelationshipReply
  521. }
  522. var file_user_proto_depIdxs = []int32{
  523. 5, // 0: api.user.User.DebugLogin:input_type -> api.user.DebugLoginRequest
  524. 6, // 1: api.user.User.Authorization:input_type -> api.user.AuthorizationRequest
  525. 2, // 2: api.user.User.UpdateUserInformation:input_type -> api.user.UpdateUserInformationRequest
  526. 8, // 3: api.user.User.GetUserInfo:input_type -> google.protobuf.Empty
  527. 3, // 4: api.user.User.SendPhoneCode:input_type -> api.user.SendPhoneCodeRequest
  528. 4, // 5: api.user.User.CheckPhoneCode:input_type -> api.user.CheckPhoneCodeRequest
  529. 0, // 6: api.user.User.CheckUserPartnerIsRelationship:input_type -> api.user.CheckUserPartnerIsRelationshipRequest
  530. 7, // 7: api.user.User.DebugLogin:output_type -> api.user.TokenReply
  531. 7, // 8: api.user.User.Authorization:output_type -> api.user.TokenReply
  532. 8, // 9: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
  533. 1, // 10: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
  534. 8, // 11: api.user.User.SendPhoneCode:output_type -> google.protobuf.Empty
  535. 8, // 12: api.user.User.CheckPhoneCode:output_type -> google.protobuf.Empty
  536. 9, // 13: api.user.User.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
  537. 7, // [7:14] is the sub-list for method output_type
  538. 0, // [0:7] is the sub-list for method input_type
  539. 0, // [0:0] is the sub-list for extension type_name
  540. 0, // [0:0] is the sub-list for extension extendee
  541. 0, // [0:0] is the sub-list for field type_name
  542. }
  543. func init() { file_user_proto_init() }
  544. func file_user_proto_init() {
  545. if File_user_proto != nil {
  546. return
  547. }
  548. if !protoimpl.UnsafeEnabled {
  549. file_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  550. switch v := v.(*CheckUserPartnerIsRelationshipRequest); i {
  551. case 0:
  552. return &v.state
  553. case 1:
  554. return &v.sizeCache
  555. case 2:
  556. return &v.unknownFields
  557. default:
  558. return nil
  559. }
  560. }
  561. file_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  562. switch v := v.(*UserInfo); i {
  563. case 0:
  564. return &v.state
  565. case 1:
  566. return &v.sizeCache
  567. case 2:
  568. return &v.unknownFields
  569. default:
  570. return nil
  571. }
  572. }
  573. file_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  574. switch v := v.(*UpdateUserInformationRequest); i {
  575. case 0:
  576. return &v.state
  577. case 1:
  578. return &v.sizeCache
  579. case 2:
  580. return &v.unknownFields
  581. default:
  582. return nil
  583. }
  584. }
  585. file_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  586. switch v := v.(*SendPhoneCodeRequest); i {
  587. case 0:
  588. return &v.state
  589. case 1:
  590. return &v.sizeCache
  591. case 2:
  592. return &v.unknownFields
  593. default:
  594. return nil
  595. }
  596. }
  597. file_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  598. switch v := v.(*CheckPhoneCodeRequest); i {
  599. case 0:
  600. return &v.state
  601. case 1:
  602. return &v.sizeCache
  603. case 2:
  604. return &v.unknownFields
  605. default:
  606. return nil
  607. }
  608. }
  609. file_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  610. switch v := v.(*DebugLoginRequest); i {
  611. case 0:
  612. return &v.state
  613. case 1:
  614. return &v.sizeCache
  615. case 2:
  616. return &v.unknownFields
  617. default:
  618. return nil
  619. }
  620. }
  621. file_user_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  622. switch v := v.(*AuthorizationRequest); i {
  623. case 0:
  624. return &v.state
  625. case 1:
  626. return &v.sizeCache
  627. case 2:
  628. return &v.unknownFields
  629. default:
  630. return nil
  631. }
  632. }
  633. file_user_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  634. switch v := v.(*TokenReply); i {
  635. case 0:
  636. return &v.state
  637. case 1:
  638. return &v.sizeCache
  639. case 2:
  640. return &v.unknownFields
  641. default:
  642. return nil
  643. }
  644. }
  645. }
  646. type x struct{}
  647. out := protoimpl.TypeBuilder{
  648. File: protoimpl.DescBuilder{
  649. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  650. RawDescriptor: file_user_proto_rawDesc,
  651. NumEnums: 0,
  652. NumMessages: 8,
  653. NumExtensions: 0,
  654. NumServices: 1,
  655. },
  656. GoTypes: file_user_proto_goTypes,
  657. DependencyIndexes: file_user_proto_depIdxs,
  658. MessageInfos: file_user_proto_msgTypes,
  659. }.Build()
  660. File_user_proto = out.File
  661. file_user_proto_rawDesc = nil
  662. file_user_proto_goTypes = nil
  663. file_user_proto_depIdxs = nil
  664. }