user.pb.go 16 KB

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