user.pb.go 17 KB

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