user.pb.go 23 KB

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