user.pb.go 26 KB

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