user.pb.go 22 KB

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