user.pb.go 24 KB

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