user.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  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. common "git.ikuban.com/server/pw-protobuf/api/common"
  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. Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
  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. IntroduceVoice string `protobuf:"bytes,11,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音
  39. LikedNum int64 `protobuf:"varint,12,opt,name=likedNum,proto3" json:"likedNum"` // 喜欢我
  40. LookNum int64 `protobuf:"varint,13,opt,name=lookNum,proto3" json:"lookNum"` // 看过我
  41. }
  42. func (x *UserHomeInfo) Reset() {
  43. *x = UserHomeInfo{}
  44. if protoimpl.UnsafeEnabled {
  45. mi := &file_user_proto_msgTypes[0]
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. ms.StoreMessageInfo(mi)
  48. }
  49. }
  50. func (x *UserHomeInfo) String() string {
  51. return protoimpl.X.MessageStringOf(x)
  52. }
  53. func (*UserHomeInfo) ProtoMessage() {}
  54. func (x *UserHomeInfo) ProtoReflect() protoreflect.Message {
  55. mi := &file_user_proto_msgTypes[0]
  56. if protoimpl.UnsafeEnabled && x != nil {
  57. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  58. if ms.LoadMessageInfo() == nil {
  59. ms.StoreMessageInfo(mi)
  60. }
  61. return ms
  62. }
  63. return mi.MessageOf(x)
  64. }
  65. // Deprecated: Use UserHomeInfo.ProtoReflect.Descriptor instead.
  66. func (*UserHomeInfo) Descriptor() ([]byte, []int) {
  67. return file_user_proto_rawDescGZIP(), []int{0}
  68. }
  69. func (x *UserHomeInfo) GetId() string {
  70. if x != nil {
  71. return x.Id
  72. }
  73. return ""
  74. }
  75. func (x *UserHomeInfo) GetNickname() string {
  76. if x != nil {
  77. return x.Nickname
  78. }
  79. return ""
  80. }
  81. func (x *UserHomeInfo) GetAvatarUrl() string {
  82. if x != nil {
  83. return x.AvatarUrl
  84. }
  85. return ""
  86. }
  87. func (x *UserHomeInfo) GetSex() int64 {
  88. if x != nil {
  89. return x.Sex
  90. }
  91. return 0
  92. }
  93. func (x *UserHomeInfo) GetPictures() []string {
  94. if x != nil {
  95. return x.Pictures
  96. }
  97. return nil
  98. }
  99. func (x *UserHomeInfo) GetAge() int64 {
  100. if x != nil {
  101. return x.Age
  102. }
  103. return 0
  104. }
  105. func (x *UserHomeInfo) GetConstellation() string {
  106. if x != nil {
  107. return x.Constellation
  108. }
  109. return ""
  110. }
  111. func (x *UserHomeInfo) GetArea() string {
  112. if x != nil {
  113. return x.Area
  114. }
  115. return ""
  116. }
  117. func (x *UserHomeInfo) GetTag() []string {
  118. if x != nil {
  119. return x.Tag
  120. }
  121. return nil
  122. }
  123. func (x *UserHomeInfo) GetSignature() string {
  124. if x != nil {
  125. return x.Signature
  126. }
  127. return ""
  128. }
  129. func (x *UserHomeInfo) GetIntroduceVoice() string {
  130. if x != nil {
  131. return x.IntroduceVoice
  132. }
  133. return ""
  134. }
  135. func (x *UserHomeInfo) GetLikedNum() int64 {
  136. if x != nil {
  137. return x.LikedNum
  138. }
  139. return 0
  140. }
  141. func (x *UserHomeInfo) GetLookNum() int64 {
  142. if x != nil {
  143. return x.LookNum
  144. }
  145. return 0
  146. }
  147. type UserInfo struct {
  148. state protoimpl.MessageState
  149. sizeCache protoimpl.SizeCache
  150. unknownFields protoimpl.UnknownFields
  151. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  152. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  153. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  154. Age int64 `protobuf:"varint,4,opt,name=age,proto3" json:"age"` // 年龄
  155. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  156. Credit int64 `protobuf:"varint,6,opt,name=credit,proto3" json:"credit"` // 积分
  157. LikeNum int64 `protobuf:"varint,7,opt,name=likeNum,proto3" json:"likeNum"` // 我喜欢
  158. LikedNum int64 `protobuf:"varint,8,opt,name=likedNum,proto3" json:"likedNum"` // 喜欢我
  159. LookNum int64 `protobuf:"varint,9,opt,name=lookNum,proto3" json:"lookNum"` // 看过我
  160. }
  161. func (x *UserInfo) Reset() {
  162. *x = UserInfo{}
  163. if protoimpl.UnsafeEnabled {
  164. mi := &file_user_proto_msgTypes[1]
  165. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  166. ms.StoreMessageInfo(mi)
  167. }
  168. }
  169. func (x *UserInfo) String() string {
  170. return protoimpl.X.MessageStringOf(x)
  171. }
  172. func (*UserInfo) ProtoMessage() {}
  173. func (x *UserInfo) ProtoReflect() protoreflect.Message {
  174. mi := &file_user_proto_msgTypes[1]
  175. if protoimpl.UnsafeEnabled && x != nil {
  176. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  177. if ms.LoadMessageInfo() == nil {
  178. ms.StoreMessageInfo(mi)
  179. }
  180. return ms
  181. }
  182. return mi.MessageOf(x)
  183. }
  184. // Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.
  185. func (*UserInfo) Descriptor() ([]byte, []int) {
  186. return file_user_proto_rawDescGZIP(), []int{1}
  187. }
  188. func (x *UserInfo) GetId() string {
  189. if x != nil {
  190. return x.Id
  191. }
  192. return ""
  193. }
  194. func (x *UserInfo) GetNickname() string {
  195. if x != nil {
  196. return x.Nickname
  197. }
  198. return ""
  199. }
  200. func (x *UserInfo) GetAvatarUrl() string {
  201. if x != nil {
  202. return x.AvatarUrl
  203. }
  204. return ""
  205. }
  206. func (x *UserInfo) GetAge() int64 {
  207. if x != nil {
  208. return x.Age
  209. }
  210. return 0
  211. }
  212. func (x *UserInfo) GetSex() int64 {
  213. if x != nil {
  214. return x.Sex
  215. }
  216. return 0
  217. }
  218. func (x *UserInfo) GetCredit() int64 {
  219. if x != nil {
  220. return x.Credit
  221. }
  222. return 0
  223. }
  224. func (x *UserInfo) GetLikeNum() int64 {
  225. if x != nil {
  226. return x.LikeNum
  227. }
  228. return 0
  229. }
  230. func (x *UserInfo) GetLikedNum() int64 {
  231. if x != nil {
  232. return x.LikedNum
  233. }
  234. return 0
  235. }
  236. func (x *UserInfo) GetLookNum() int64 {
  237. if x != nil {
  238. return x.LookNum
  239. }
  240. return 0
  241. }
  242. type UpdateUserInformationRequest struct {
  243. state protoimpl.MessageState
  244. sizeCache protoimpl.SizeCache
  245. unknownFields protoimpl.UnknownFields
  246. Nickname string `protobuf:"bytes,1,opt,name=Nickname,proto3" json:"Nickname"`
  247. AvatarUrl string `protobuf:"bytes,2,opt,name=avatarUrl,proto3" json:"avatarUrl"`
  248. Sex int64 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex"`
  249. }
  250. func (x *UpdateUserInformationRequest) Reset() {
  251. *x = UpdateUserInformationRequest{}
  252. if protoimpl.UnsafeEnabled {
  253. mi := &file_user_proto_msgTypes[2]
  254. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  255. ms.StoreMessageInfo(mi)
  256. }
  257. }
  258. func (x *UpdateUserInformationRequest) String() string {
  259. return protoimpl.X.MessageStringOf(x)
  260. }
  261. func (*UpdateUserInformationRequest) ProtoMessage() {}
  262. func (x *UpdateUserInformationRequest) ProtoReflect() protoreflect.Message {
  263. mi := &file_user_proto_msgTypes[2]
  264. if protoimpl.UnsafeEnabled && x != nil {
  265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  266. if ms.LoadMessageInfo() == nil {
  267. ms.StoreMessageInfo(mi)
  268. }
  269. return ms
  270. }
  271. return mi.MessageOf(x)
  272. }
  273. // Deprecated: Use UpdateUserInformationRequest.ProtoReflect.Descriptor instead.
  274. func (*UpdateUserInformationRequest) Descriptor() ([]byte, []int) {
  275. return file_user_proto_rawDescGZIP(), []int{2}
  276. }
  277. func (x *UpdateUserInformationRequest) GetNickname() string {
  278. if x != nil {
  279. return x.Nickname
  280. }
  281. return ""
  282. }
  283. func (x *UpdateUserInformationRequest) GetAvatarUrl() string {
  284. if x != nil {
  285. return x.AvatarUrl
  286. }
  287. return ""
  288. }
  289. func (x *UpdateUserInformationRequest) GetSex() int64 {
  290. if x != nil {
  291. return x.Sex
  292. }
  293. return 0
  294. }
  295. var File_user_proto protoreflect.FileDescriptor
  296. var file_user_proto_rawDesc = []byte{
  297. 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  298. 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
  299. 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
  300. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
  301. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  302. 0x6f, 0x1a, 0x13, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x63, 0x68, 0x61, 0x74,
  303. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74,
  304. 0x6e, 0x65, 0x72, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  305. 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f,
  306. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe0, 0x02, 0x0a, 0x0c, 0x55,
  307. 0x73, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  308. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
  309. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
  310. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  311. 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74,
  312. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01,
  313. 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75,
  314. 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75,
  315. 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
  316. 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c,
  317. 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f,
  318. 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x61,
  319. 0x72, 0x65, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61, 0x12,
  320. 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61,
  321. 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0a,
  322. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12,
  323. 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63,
  324. 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75,
  325. 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x6b, 0x65, 0x64,
  326. 0x4e, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69, 0x6b, 0x65, 0x64,
  327. 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x6f, 0x6f, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0d,
  328. 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6c, 0x6f, 0x6f, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0xe0, 0x01,
  329. 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  330. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
  331. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
  332. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  333. 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  334. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  335. 0x03, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20,
  336. 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64,
  337. 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74,
  338. 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x69, 0x6b, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28,
  339. 0x03, 0x52, 0x07, 0x6c, 0x69, 0x6b, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69,
  340. 0x6b, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69,
  341. 0x6b, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x6f, 0x6f, 0x6b, 0x4e, 0x75,
  342. 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6c, 0x6f, 0x6f, 0x6b, 0x4e, 0x75, 0x6d,
  343. 0x22, 0x6a, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e,
  344. 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  345. 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  346. 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09,
  347. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  348. 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65,
  349. 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x32, 0xef, 0x05, 0x0a,
  350. 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x80, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  351. 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  352. 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
  353. 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  354. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  355. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
  356. 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73,
  357. 0x65, 0x72, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d,
  358. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x54, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55,
  359. 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  360. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
  361. 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49,
  362. 0x6e, 0x66, 0x6f, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x22, 0x0e, 0x2f, 0x61, 0x70,
  363. 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x3a, 0x01, 0x2a, 0x12, 0x94,
  364. 0x01, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74,
  365. 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69,
  366. 0x70, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50,
  367. 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x2d, 0x2e,
  368. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73,
  369. 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74,
  370. 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x27, 0x82, 0xd3,
  371. 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
  372. 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68,
  373. 0x69, 0x70, 0x3a, 0x01, 0x2a, 0x12, 0x97, 0x01, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  374. 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c,
  375. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  376. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44,
  377. 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74,
  378. 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e,
  379. 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
  380. 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f,
  381. 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x2f,
  382. 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x3a, 0x01, 0x2a, 0x12,
  383. 0x77, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x43, 0x69, 0x72,
  384. 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  385. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x50, 0x61,
  386. 0x72, 0x61, 0x6d, 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65,
  387. 0x72, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x43, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x49,
  388. 0x6e, 0x66, 0x6f, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x18, 0x2f, 0x61, 0x70,
  389. 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65,
  390. 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x3a, 0x01, 0x2a, 0x12, 0x64, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55,
  391. 0x73, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x2e, 0x61, 0x70,
  392. 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x50,
  393. 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
  394. 0x55, 0x73, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x20, 0x82, 0xd3,
  395. 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x15, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
  396. 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x3a, 0x01, 0x2a, 0x42, 0x3d,
  397. 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69,
  398. 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72,
  399. 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
  400. 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70,
  401. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  402. }
  403. var (
  404. file_user_proto_rawDescOnce sync.Once
  405. file_user_proto_rawDescData = file_user_proto_rawDesc
  406. )
  407. func file_user_proto_rawDescGZIP() []byte {
  408. file_user_proto_rawDescOnce.Do(func() {
  409. file_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_proto_rawDescData)
  410. })
  411. return file_user_proto_rawDescData
  412. }
  413. var file_user_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  414. var file_user_proto_goTypes = []interface{}{
  415. (*UserHomeInfo)(nil), // 0: api.user.UserHomeInfo
  416. (*UserInfo)(nil), // 1: api.user.UserInfo
  417. (*UpdateUserInformationRequest)(nil), // 2: api.user.UpdateUserInformationRequest
  418. (*emptypb.Empty)(nil), // 3: google.protobuf.Empty
  419. (*common.PartnerIDParam)(nil), // 4: api.common.PartnerIDParam
  420. (*common.UserIDParam)(nil), // 5: api.common.UserIDParam
  421. (*chat.CheckUserPartnerIsRelationshipReply)(nil), // 6: api.chat.CheckUserPartnerIsRelationshipReply
  422. (*chat.CreateUserPartnerIsRelationshipReply)(nil), // 7: api.chat.CreateUserPartnerIsRelationshipReply
  423. (*partner.PartnerCircleInfo)(nil), // 8: api.partner.PartnerCircleInfo
  424. }
  425. var file_user_proto_depIdxs = []int32{
  426. 2, // 0: api.user.User.UpdateUserInformation:input_type -> api.user.UpdateUserInformationRequest
  427. 3, // 1: api.user.User.GetUserInfo:input_type -> google.protobuf.Empty
  428. 4, // 2: api.user.User.CheckUserPartnerIsRelationship:input_type -> api.common.PartnerIDParam
  429. 4, // 3: api.user.User.CreateUserPartnerIsRelationship:input_type -> api.common.PartnerIDParam
  430. 4, // 4: api.user.User.GetPartnerCircleInfo:input_type -> api.common.PartnerIDParam
  431. 5, // 5: api.user.User.GetUserHomeInfo:input_type -> api.common.UserIDParam
  432. 3, // 6: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
  433. 1, // 7: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
  434. 6, // 8: api.user.User.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
  435. 7, // 9: api.user.User.CreateUserPartnerIsRelationship:output_type -> api.chat.CreateUserPartnerIsRelationshipReply
  436. 8, // 10: api.user.User.GetPartnerCircleInfo:output_type -> api.partner.PartnerCircleInfo
  437. 0, // 11: api.user.User.GetUserHomeInfo:output_type -> api.user.UserHomeInfo
  438. 6, // [6:12] is the sub-list for method output_type
  439. 0, // [0:6] is the sub-list for method input_type
  440. 0, // [0:0] is the sub-list for extension type_name
  441. 0, // [0:0] is the sub-list for extension extendee
  442. 0, // [0:0] is the sub-list for field type_name
  443. }
  444. func init() { file_user_proto_init() }
  445. func file_user_proto_init() {
  446. if File_user_proto != nil {
  447. return
  448. }
  449. if !protoimpl.UnsafeEnabled {
  450. file_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  451. switch v := v.(*UserHomeInfo); 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[1].Exporter = func(v interface{}, i int) interface{} {
  463. switch v := v.(*UserInfo); 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[2].Exporter = func(v interface{}, i int) interface{} {
  475. switch v := v.(*UpdateUserInformationRequest); 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. }
  487. type x struct{}
  488. out := protoimpl.TypeBuilder{
  489. File: protoimpl.DescBuilder{
  490. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  491. RawDescriptor: file_user_proto_rawDesc,
  492. NumEnums: 0,
  493. NumMessages: 3,
  494. NumExtensions: 0,
  495. NumServices: 1,
  496. },
  497. GoTypes: file_user_proto_goTypes,
  498. DependencyIndexes: file_user_proto_depIdxs,
  499. MessageInfos: file_user_proto_msgTypes,
  500. }.Build()
  501. File_user_proto = out.File
  502. file_user_proto_rawDesc = nil
  503. file_user_proto_goTypes = nil
  504. file_user_proto_depIdxs = nil
  505. }