golang-im聊天
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1427 lines
47 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.20.0--rc1
  5. // source: business.ext.proto
  6. package pb
  7. import (
  8. context "context"
  9. grpc "google.golang.org/grpc"
  10. codes "google.golang.org/grpc/codes"
  11. status "google.golang.org/grpc/status"
  12. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  13. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  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 Emoticon struct {
  24. state protoimpl.MessageState
  25. sizeCache protoimpl.SizeCache
  26. unknownFields protoimpl.UnknownFields
  27. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称
  28. ImgUrl string `protobuf:"bytes,2,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"` // 图片地址
  29. Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` // 备注
  30. Sort int32 `protobuf:"varint,4,opt,name=sort,proto3" json:"sort,omitempty"` // 排序
  31. }
  32. func (x *Emoticon) Reset() {
  33. *x = Emoticon{}
  34. if protoimpl.UnsafeEnabled {
  35. mi := &file_business_ext_proto_msgTypes[0]
  36. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  37. ms.StoreMessageInfo(mi)
  38. }
  39. }
  40. func (x *Emoticon) String() string {
  41. return protoimpl.X.MessageStringOf(x)
  42. }
  43. func (*Emoticon) ProtoMessage() {}
  44. func (x *Emoticon) ProtoReflect() protoreflect.Message {
  45. mi := &file_business_ext_proto_msgTypes[0]
  46. if protoimpl.UnsafeEnabled && x != nil {
  47. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  48. if ms.LoadMessageInfo() == nil {
  49. ms.StoreMessageInfo(mi)
  50. }
  51. return ms
  52. }
  53. return mi.MessageOf(x)
  54. }
  55. // Deprecated: Use Emoticon.ProtoReflect.Descriptor instead.
  56. func (*Emoticon) Descriptor() ([]byte, []int) {
  57. return file_business_ext_proto_rawDescGZIP(), []int{0}
  58. }
  59. func (x *Emoticon) GetName() string {
  60. if x != nil {
  61. return x.Name
  62. }
  63. return ""
  64. }
  65. func (x *Emoticon) GetImgUrl() string {
  66. if x != nil {
  67. return x.ImgUrl
  68. }
  69. return ""
  70. }
  71. func (x *Emoticon) GetMemo() string {
  72. if x != nil {
  73. return x.Memo
  74. }
  75. return ""
  76. }
  77. func (x *Emoticon) GetSort() int32 {
  78. if x != nil {
  79. return x.Sort
  80. }
  81. return 0
  82. }
  83. type EmoticonListResp struct {
  84. state protoimpl.MessageState
  85. sizeCache protoimpl.SizeCache
  86. unknownFields protoimpl.UnknownFields
  87. Emoticons []*Emoticon `protobuf:"bytes,1,rep,name=emoticons,proto3" json:"emoticons,omitempty"`
  88. }
  89. func (x *EmoticonListResp) Reset() {
  90. *x = EmoticonListResp{}
  91. if protoimpl.UnsafeEnabled {
  92. mi := &file_business_ext_proto_msgTypes[1]
  93. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  94. ms.StoreMessageInfo(mi)
  95. }
  96. }
  97. func (x *EmoticonListResp) String() string {
  98. return protoimpl.X.MessageStringOf(x)
  99. }
  100. func (*EmoticonListResp) ProtoMessage() {}
  101. func (x *EmoticonListResp) ProtoReflect() protoreflect.Message {
  102. mi := &file_business_ext_proto_msgTypes[1]
  103. if protoimpl.UnsafeEnabled && x != nil {
  104. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  105. if ms.LoadMessageInfo() == nil {
  106. ms.StoreMessageInfo(mi)
  107. }
  108. return ms
  109. }
  110. return mi.MessageOf(x)
  111. }
  112. // Deprecated: Use EmoticonListResp.ProtoReflect.Descriptor instead.
  113. func (*EmoticonListResp) Descriptor() ([]byte, []int) {
  114. return file_business_ext_proto_rawDescGZIP(), []int{1}
  115. }
  116. func (x *EmoticonListResp) GetEmoticons() []*Emoticon {
  117. if x != nil {
  118. return x.Emoticons
  119. }
  120. return nil
  121. }
  122. type SignInReq struct {
  123. state protoimpl.MessageState
  124. sizeCache protoimpl.SizeCache
  125. unknownFields protoimpl.UnknownFields
  126. PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 手机号
  127. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // 验证码
  128. DeviceId int64 `protobuf:"varint,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
  129. MasterId int64 `protobuf:"varint,4,opt,name=master_id,json=masterId,proto3" json:"master_id,omitempty"` // 站长id
  130. PushAlia string `protobuf:"bytes,5,opt,name=push_alia,json=pushAlia,proto3" json:"push_alia,omitempty"` // 极光推送-别名
  131. }
  132. func (x *SignInReq) Reset() {
  133. *x = SignInReq{}
  134. if protoimpl.UnsafeEnabled {
  135. mi := &file_business_ext_proto_msgTypes[2]
  136. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  137. ms.StoreMessageInfo(mi)
  138. }
  139. }
  140. func (x *SignInReq) String() string {
  141. return protoimpl.X.MessageStringOf(x)
  142. }
  143. func (*SignInReq) ProtoMessage() {}
  144. func (x *SignInReq) ProtoReflect() protoreflect.Message {
  145. mi := &file_business_ext_proto_msgTypes[2]
  146. if protoimpl.UnsafeEnabled && x != nil {
  147. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  148. if ms.LoadMessageInfo() == nil {
  149. ms.StoreMessageInfo(mi)
  150. }
  151. return ms
  152. }
  153. return mi.MessageOf(x)
  154. }
  155. // Deprecated: Use SignInReq.ProtoReflect.Descriptor instead.
  156. func (*SignInReq) Descriptor() ([]byte, []int) {
  157. return file_business_ext_proto_rawDescGZIP(), []int{2}
  158. }
  159. func (x *SignInReq) GetPhoneNumber() string {
  160. if x != nil {
  161. return x.PhoneNumber
  162. }
  163. return ""
  164. }
  165. func (x *SignInReq) GetCode() string {
  166. if x != nil {
  167. return x.Code
  168. }
  169. return ""
  170. }
  171. func (x *SignInReq) GetDeviceId() int64 {
  172. if x != nil {
  173. return x.DeviceId
  174. }
  175. return 0
  176. }
  177. func (x *SignInReq) GetMasterId() int64 {
  178. if x != nil {
  179. return x.MasterId
  180. }
  181. return 0
  182. }
  183. func (x *SignInReq) GetPushAlia() string {
  184. if x != nil {
  185. return x.PushAlia
  186. }
  187. return ""
  188. }
  189. type SignInResp struct {
  190. state protoimpl.MessageState
  191. sizeCache protoimpl.SizeCache
  192. unknownFields protoimpl.UnknownFields
  193. IsNew bool `protobuf:"varint,1,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` // 是否是新用户
  194. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  195. Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token
  196. MasterId int64 `protobuf:"varint,4,opt,name=master_id,json=masterId,proto3" json:"master_id,omitempty"` // 站长id
  197. }
  198. func (x *SignInResp) Reset() {
  199. *x = SignInResp{}
  200. if protoimpl.UnsafeEnabled {
  201. mi := &file_business_ext_proto_msgTypes[3]
  202. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  203. ms.StoreMessageInfo(mi)
  204. }
  205. }
  206. func (x *SignInResp) String() string {
  207. return protoimpl.X.MessageStringOf(x)
  208. }
  209. func (*SignInResp) ProtoMessage() {}
  210. func (x *SignInResp) ProtoReflect() protoreflect.Message {
  211. mi := &file_business_ext_proto_msgTypes[3]
  212. if protoimpl.UnsafeEnabled && x != nil {
  213. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  214. if ms.LoadMessageInfo() == nil {
  215. ms.StoreMessageInfo(mi)
  216. }
  217. return ms
  218. }
  219. return mi.MessageOf(x)
  220. }
  221. // Deprecated: Use SignInResp.ProtoReflect.Descriptor instead.
  222. func (*SignInResp) Descriptor() ([]byte, []int) {
  223. return file_business_ext_proto_rawDescGZIP(), []int{3}
  224. }
  225. func (x *SignInResp) GetIsNew() bool {
  226. if x != nil {
  227. return x.IsNew
  228. }
  229. return false
  230. }
  231. func (x *SignInResp) GetUserId() int64 {
  232. if x != nil {
  233. return x.UserId
  234. }
  235. return 0
  236. }
  237. func (x *SignInResp) GetToken() string {
  238. if x != nil {
  239. return x.Token
  240. }
  241. return ""
  242. }
  243. func (x *SignInResp) GetMasterId() int64 {
  244. if x != nil {
  245. return x.MasterId
  246. }
  247. return 0
  248. }
  249. type CloudUploadFileReq struct {
  250. state protoimpl.MessageState
  251. sizeCache protoimpl.SizeCache
  252. unknownFields protoimpl.UnknownFields
  253. Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"` // 目录名
  254. FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 上传原文件名称
  255. FileSize string `protobuf:"bytes,3,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` // 文件大小
  256. }
  257. func (x *CloudUploadFileReq) Reset() {
  258. *x = CloudUploadFileReq{}
  259. if protoimpl.UnsafeEnabled {
  260. mi := &file_business_ext_proto_msgTypes[4]
  261. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  262. ms.StoreMessageInfo(mi)
  263. }
  264. }
  265. func (x *CloudUploadFileReq) String() string {
  266. return protoimpl.X.MessageStringOf(x)
  267. }
  268. func (*CloudUploadFileReq) ProtoMessage() {}
  269. func (x *CloudUploadFileReq) ProtoReflect() protoreflect.Message {
  270. mi := &file_business_ext_proto_msgTypes[4]
  271. if protoimpl.UnsafeEnabled && x != nil {
  272. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  273. if ms.LoadMessageInfo() == nil {
  274. ms.StoreMessageInfo(mi)
  275. }
  276. return ms
  277. }
  278. return mi.MessageOf(x)
  279. }
  280. // Deprecated: Use CloudUploadFileReq.ProtoReflect.Descriptor instead.
  281. func (*CloudUploadFileReq) Descriptor() ([]byte, []int) {
  282. return file_business_ext_proto_rawDescGZIP(), []int{4}
  283. }
  284. func (x *CloudUploadFileReq) GetDir() string {
  285. if x != nil {
  286. return x.Dir
  287. }
  288. return ""
  289. }
  290. func (x *CloudUploadFileReq) GetFileName() string {
  291. if x != nil {
  292. return x.FileName
  293. }
  294. return ""
  295. }
  296. func (x *CloudUploadFileReq) GetFileSize() string {
  297. if x != nil {
  298. return x.FileSize
  299. }
  300. return ""
  301. }
  302. type CloudUploadFileResp struct {
  303. state protoimpl.MessageState
  304. sizeCache protoimpl.SizeCache
  305. unknownFields protoimpl.UnknownFields
  306. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // 请求方式
  307. Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // 域名
  308. Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // key
  309. Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // token
  310. }
  311. func (x *CloudUploadFileResp) Reset() {
  312. *x = CloudUploadFileResp{}
  313. if protoimpl.UnsafeEnabled {
  314. mi := &file_business_ext_proto_msgTypes[5]
  315. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  316. ms.StoreMessageInfo(mi)
  317. }
  318. }
  319. func (x *CloudUploadFileResp) String() string {
  320. return protoimpl.X.MessageStringOf(x)
  321. }
  322. func (*CloudUploadFileResp) ProtoMessage() {}
  323. func (x *CloudUploadFileResp) ProtoReflect() protoreflect.Message {
  324. mi := &file_business_ext_proto_msgTypes[5]
  325. if protoimpl.UnsafeEnabled && x != nil {
  326. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  327. if ms.LoadMessageInfo() == nil {
  328. ms.StoreMessageInfo(mi)
  329. }
  330. return ms
  331. }
  332. return mi.MessageOf(x)
  333. }
  334. // Deprecated: Use CloudUploadFileResp.ProtoReflect.Descriptor instead.
  335. func (*CloudUploadFileResp) Descriptor() ([]byte, []int) {
  336. return file_business_ext_proto_rawDescGZIP(), []int{5}
  337. }
  338. func (x *CloudUploadFileResp) GetMethod() string {
  339. if x != nil {
  340. return x.Method
  341. }
  342. return ""
  343. }
  344. func (x *CloudUploadFileResp) GetHost() string {
  345. if x != nil {
  346. return x.Host
  347. }
  348. return ""
  349. }
  350. func (x *CloudUploadFileResp) GetKey() string {
  351. if x != nil {
  352. return x.Key
  353. }
  354. return ""
  355. }
  356. func (x *CloudUploadFileResp) GetToken() string {
  357. if x != nil {
  358. return x.Token
  359. }
  360. return ""
  361. }
  362. type User struct {
  363. state protoimpl.MessageState
  364. sizeCache protoimpl.SizeCache
  365. unknownFields protoimpl.UnknownFields
  366. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  367. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  368. Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  369. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  370. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  371. CreateTime int64 `protobuf:"varint,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 创建时间
  372. UpdateTime int64 `protobuf:"varint,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 更新时间
  373. MasterId int64 `protobuf:"varint,8,opt,name=master_id,json=masterId,proto3" json:"master_id,omitempty"` // 站长id
  374. IsAutoAddedFriends int64 `protobuf:"varint,9,opt,name=is_auto_added_friends,json=isAutoAddedFriends,proto3" json:"is_auto_added_friends,omitempty"` // 是否自动被添加好友
  375. }
  376. func (x *User) Reset() {
  377. *x = User{}
  378. if protoimpl.UnsafeEnabled {
  379. mi := &file_business_ext_proto_msgTypes[6]
  380. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  381. ms.StoreMessageInfo(mi)
  382. }
  383. }
  384. func (x *User) String() string {
  385. return protoimpl.X.MessageStringOf(x)
  386. }
  387. func (*User) ProtoMessage() {}
  388. func (x *User) ProtoReflect() protoreflect.Message {
  389. mi := &file_business_ext_proto_msgTypes[6]
  390. if protoimpl.UnsafeEnabled && x != nil {
  391. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  392. if ms.LoadMessageInfo() == nil {
  393. ms.StoreMessageInfo(mi)
  394. }
  395. return ms
  396. }
  397. return mi.MessageOf(x)
  398. }
  399. // Deprecated: Use User.ProtoReflect.Descriptor instead.
  400. func (*User) Descriptor() ([]byte, []int) {
  401. return file_business_ext_proto_rawDescGZIP(), []int{6}
  402. }
  403. func (x *User) GetUserId() int64 {
  404. if x != nil {
  405. return x.UserId
  406. }
  407. return 0
  408. }
  409. func (x *User) GetNickname() string {
  410. if x != nil {
  411. return x.Nickname
  412. }
  413. return ""
  414. }
  415. func (x *User) GetSex() int32 {
  416. if x != nil {
  417. return x.Sex
  418. }
  419. return 0
  420. }
  421. func (x *User) GetAvatarUrl() string {
  422. if x != nil {
  423. return x.AvatarUrl
  424. }
  425. return ""
  426. }
  427. func (x *User) GetExtra() string {
  428. if x != nil {
  429. return x.Extra
  430. }
  431. return ""
  432. }
  433. func (x *User) GetCreateTime() int64 {
  434. if x != nil {
  435. return x.CreateTime
  436. }
  437. return 0
  438. }
  439. func (x *User) GetUpdateTime() int64 {
  440. if x != nil {
  441. return x.UpdateTime
  442. }
  443. return 0
  444. }
  445. func (x *User) GetMasterId() int64 {
  446. if x != nil {
  447. return x.MasterId
  448. }
  449. return 0
  450. }
  451. func (x *User) GetIsAutoAddedFriends() int64 {
  452. if x != nil {
  453. return x.IsAutoAddedFriends
  454. }
  455. return 0
  456. }
  457. type GetUserReq struct {
  458. state protoimpl.MessageState
  459. sizeCache protoimpl.SizeCache
  460. unknownFields protoimpl.UnknownFields
  461. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  462. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  463. }
  464. func (x *GetUserReq) Reset() {
  465. *x = GetUserReq{}
  466. if protoimpl.UnsafeEnabled {
  467. mi := &file_business_ext_proto_msgTypes[7]
  468. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  469. ms.StoreMessageInfo(mi)
  470. }
  471. }
  472. func (x *GetUserReq) String() string {
  473. return protoimpl.X.MessageStringOf(x)
  474. }
  475. func (*GetUserReq) ProtoMessage() {}
  476. func (x *GetUserReq) ProtoReflect() protoreflect.Message {
  477. mi := &file_business_ext_proto_msgTypes[7]
  478. if protoimpl.UnsafeEnabled && x != nil {
  479. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  480. if ms.LoadMessageInfo() == nil {
  481. ms.StoreMessageInfo(mi)
  482. }
  483. return ms
  484. }
  485. return mi.MessageOf(x)
  486. }
  487. // Deprecated: Use GetUserReq.ProtoReflect.Descriptor instead.
  488. func (*GetUserReq) Descriptor() ([]byte, []int) {
  489. return file_business_ext_proto_rawDescGZIP(), []int{7}
  490. }
  491. func (x *GetUserReq) GetUserId() int64 {
  492. if x != nil {
  493. return x.UserId
  494. }
  495. return 0
  496. }
  497. func (x *GetUserReq) GetPhone() string {
  498. if x != nil {
  499. return x.Phone
  500. }
  501. return ""
  502. }
  503. type GetUserResp struct {
  504. state protoimpl.MessageState
  505. sizeCache protoimpl.SizeCache
  506. unknownFields protoimpl.UnknownFields
  507. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
  508. }
  509. func (x *GetUserResp) Reset() {
  510. *x = GetUserResp{}
  511. if protoimpl.UnsafeEnabled {
  512. mi := &file_business_ext_proto_msgTypes[8]
  513. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  514. ms.StoreMessageInfo(mi)
  515. }
  516. }
  517. func (x *GetUserResp) String() string {
  518. return protoimpl.X.MessageStringOf(x)
  519. }
  520. func (*GetUserResp) ProtoMessage() {}
  521. func (x *GetUserResp) ProtoReflect() protoreflect.Message {
  522. mi := &file_business_ext_proto_msgTypes[8]
  523. if protoimpl.UnsafeEnabled && x != nil {
  524. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  525. if ms.LoadMessageInfo() == nil {
  526. ms.StoreMessageInfo(mi)
  527. }
  528. return ms
  529. }
  530. return mi.MessageOf(x)
  531. }
  532. // Deprecated: Use GetUserResp.ProtoReflect.Descriptor instead.
  533. func (*GetUserResp) Descriptor() ([]byte, []int) {
  534. return file_business_ext_proto_rawDescGZIP(), []int{8}
  535. }
  536. func (x *GetUserResp) GetUser() *User {
  537. if x != nil {
  538. return x.User
  539. }
  540. return nil
  541. }
  542. type UpdateUserReq struct {
  543. state protoimpl.MessageState
  544. sizeCache protoimpl.SizeCache
  545. unknownFields protoimpl.UnknownFields
  546. Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  547. Sex int32 `protobuf:"varint,2,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  548. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  549. Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  550. }
  551. func (x *UpdateUserReq) Reset() {
  552. *x = UpdateUserReq{}
  553. if protoimpl.UnsafeEnabled {
  554. mi := &file_business_ext_proto_msgTypes[9]
  555. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  556. ms.StoreMessageInfo(mi)
  557. }
  558. }
  559. func (x *UpdateUserReq) String() string {
  560. return protoimpl.X.MessageStringOf(x)
  561. }
  562. func (*UpdateUserReq) ProtoMessage() {}
  563. func (x *UpdateUserReq) ProtoReflect() protoreflect.Message {
  564. mi := &file_business_ext_proto_msgTypes[9]
  565. if protoimpl.UnsafeEnabled && x != nil {
  566. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  567. if ms.LoadMessageInfo() == nil {
  568. ms.StoreMessageInfo(mi)
  569. }
  570. return ms
  571. }
  572. return mi.MessageOf(x)
  573. }
  574. // Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.
  575. func (*UpdateUserReq) Descriptor() ([]byte, []int) {
  576. return file_business_ext_proto_rawDescGZIP(), []int{9}
  577. }
  578. func (x *UpdateUserReq) GetNickname() string {
  579. if x != nil {
  580. return x.Nickname
  581. }
  582. return ""
  583. }
  584. func (x *UpdateUserReq) GetSex() int32 {
  585. if x != nil {
  586. return x.Sex
  587. }
  588. return 0
  589. }
  590. func (x *UpdateUserReq) GetAvatarUrl() string {
  591. if x != nil {
  592. return x.AvatarUrl
  593. }
  594. return ""
  595. }
  596. func (x *UpdateUserReq) GetExtra() string {
  597. if x != nil {
  598. return x.Extra
  599. }
  600. return ""
  601. }
  602. type SearchUserReq struct {
  603. state protoimpl.MessageState
  604. sizeCache protoimpl.SizeCache
  605. unknownFields protoimpl.UnknownFields
  606. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  607. MasterId int64 `protobuf:"varint,2,opt,name=master_id,json=masterId,proto3" json:"master_id,omitempty"`
  608. }
  609. func (x *SearchUserReq) Reset() {
  610. *x = SearchUserReq{}
  611. if protoimpl.UnsafeEnabled {
  612. mi := &file_business_ext_proto_msgTypes[10]
  613. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  614. ms.StoreMessageInfo(mi)
  615. }
  616. }
  617. func (x *SearchUserReq) String() string {
  618. return protoimpl.X.MessageStringOf(x)
  619. }
  620. func (*SearchUserReq) ProtoMessage() {}
  621. func (x *SearchUserReq) ProtoReflect() protoreflect.Message {
  622. mi := &file_business_ext_proto_msgTypes[10]
  623. if protoimpl.UnsafeEnabled && x != nil {
  624. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  625. if ms.LoadMessageInfo() == nil {
  626. ms.StoreMessageInfo(mi)
  627. }
  628. return ms
  629. }
  630. return mi.MessageOf(x)
  631. }
  632. // Deprecated: Use SearchUserReq.ProtoReflect.Descriptor instead.
  633. func (*SearchUserReq) Descriptor() ([]byte, []int) {
  634. return file_business_ext_proto_rawDescGZIP(), []int{10}
  635. }
  636. func (x *SearchUserReq) GetKey() string {
  637. if x != nil {
  638. return x.Key
  639. }
  640. return ""
  641. }
  642. func (x *SearchUserReq) GetMasterId() int64 {
  643. if x != nil {
  644. return x.MasterId
  645. }
  646. return 0
  647. }
  648. type SearchUserResp struct {
  649. state protoimpl.MessageState
  650. sizeCache protoimpl.SizeCache
  651. unknownFields protoimpl.UnknownFields
  652. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
  653. }
  654. func (x *SearchUserResp) Reset() {
  655. *x = SearchUserResp{}
  656. if protoimpl.UnsafeEnabled {
  657. mi := &file_business_ext_proto_msgTypes[11]
  658. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  659. ms.StoreMessageInfo(mi)
  660. }
  661. }
  662. func (x *SearchUserResp) String() string {
  663. return protoimpl.X.MessageStringOf(x)
  664. }
  665. func (*SearchUserResp) ProtoMessage() {}
  666. func (x *SearchUserResp) ProtoReflect() protoreflect.Message {
  667. mi := &file_business_ext_proto_msgTypes[11]
  668. if protoimpl.UnsafeEnabled && x != nil {
  669. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  670. if ms.LoadMessageInfo() == nil {
  671. ms.StoreMessageInfo(mi)
  672. }
  673. return ms
  674. }
  675. return mi.MessageOf(x)
  676. }
  677. // Deprecated: Use SearchUserResp.ProtoReflect.Descriptor instead.
  678. func (*SearchUserResp) Descriptor() ([]byte, []int) {
  679. return file_business_ext_proto_rawDescGZIP(), []int{11}
  680. }
  681. func (x *SearchUserResp) GetUsers() []*User {
  682. if x != nil {
  683. return x.Users
  684. }
  685. return nil
  686. }
  687. var File_business_ext_proto protoreflect.FileDescriptor
  688. var file_business_ext_proto_rawDesc = []byte{
  689. 0x0a, 0x12, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70,
  690. 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  691. 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x08, 0x45, 0x6d,
  692. 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
  693. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x6d,
  694. 0x67, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6d, 0x67,
  695. 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28,
  696. 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18,
  697. 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x22, 0x3e, 0x0a, 0x10, 0x45,
  698. 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12,
  699. 0x2a, 0x0a, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03,
  700. 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e,
  701. 0x52, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x73, 0x22, 0x99, 0x01, 0x0a, 0x09,
  702. 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f,
  703. 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  704. 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04,
  705. 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
  706. 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
  707. 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a,
  708. 0x09, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
  709. 0x52, 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x75,
  710. 0x73, 0x68, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
  711. 0x75, 0x73, 0x68, 0x41, 0x6c, 0x69, 0x61, 0x22, 0x6f, 0x0a, 0x0a, 0x53, 0x69, 0x67, 0x6e, 0x49,
  712. 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x18,
  713. 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12, 0x17, 0x0a, 0x07,
  714. 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75,
  715. 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03,
  716. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d,
  717. 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
  718. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x60, 0x0a, 0x12, 0x43, 0x6c, 0x6f, 0x75,
  719. 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10,
  720. 0x0a, 0x03, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x72,
  721. 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  722. 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a,
  723. 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  724. 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x69, 0x0a, 0x13, 0x43, 0x6c,
  725. 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73,
  726. 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  727. 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73,
  728. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x10, 0x0a,
  729. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  730. 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  731. 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x94, 0x02, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x17,
  732. 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  733. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  734. 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  735. 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
  736. 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f,
  737. 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  738. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x05, 0x20,
  739. 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72,
  740. 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
  741. 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75,
  742. 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
  743. 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09,
  744. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,
  745. 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f,
  746. 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e,
  747. 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x69, 0x73, 0x41, 0x75, 0x74, 0x6f,
  748. 0x41, 0x64, 0x64, 0x65, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x22, 0x3b, 0x0a, 0x0a,
  749. 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73,
  750. 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65,
  751. 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01,
  752. 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0x2b, 0x0a, 0x0b, 0x47, 0x65, 0x74,
  753. 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
  754. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72,
  755. 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x72, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  756. 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  757. 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  758. 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
  759. 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f,
  760. 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  761. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x04, 0x20,
  762. 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x3e, 0x0a, 0x0d, 0x53, 0x65,
  763. 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  764. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1b, 0x0a,
  765. 0x09, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  766. 0x52, 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x30, 0x0a, 0x0e, 0x53, 0x65,
  767. 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x05,
  768. 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62,
  769. 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x32, 0xb8, 0x02, 0x0a,
  770. 0x0b, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x45, 0x78, 0x74, 0x12, 0x27, 0x0a, 0x06,
  771. 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x12, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x67, 0x6e,
  772. 0x49, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49,
  773. 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,
  774. 0x12, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
  775. 0x1a, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
  776. 0x70, 0x12, 0x2a, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12,
  777. 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52,
  778. 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x33, 0x0a,
  779. 0x0a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x70, 0x62,
  780. 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x12,
  781. 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  782. 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61,
  783. 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
  784. 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e,
  785. 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69,
  786. 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x0c, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63,
  787. 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  788. 0x79, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c,
  789. 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f, 0x70,
  790. 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  791. }
  792. var (
  793. file_business_ext_proto_rawDescOnce sync.Once
  794. file_business_ext_proto_rawDescData = file_business_ext_proto_rawDesc
  795. )
  796. func file_business_ext_proto_rawDescGZIP() []byte {
  797. file_business_ext_proto_rawDescOnce.Do(func() {
  798. file_business_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_business_ext_proto_rawDescData)
  799. })
  800. return file_business_ext_proto_rawDescData
  801. }
  802. var file_business_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  803. var file_business_ext_proto_goTypes = []interface{}{
  804. (*Emoticon)(nil), // 0: pb.Emoticon
  805. (*EmoticonListResp)(nil), // 1: pb.EmoticonListResp
  806. (*SignInReq)(nil), // 2: pb.SignInReq
  807. (*SignInResp)(nil), // 3: pb.SignInResp
  808. (*CloudUploadFileReq)(nil), // 4: pb.CloudUploadFileReq
  809. (*CloudUploadFileResp)(nil), // 5: pb.CloudUploadFileResp
  810. (*User)(nil), // 6: pb.User
  811. (*GetUserReq)(nil), // 7: pb.GetUserReq
  812. (*GetUserResp)(nil), // 8: pb.GetUserResp
  813. (*UpdateUserReq)(nil), // 9: pb.UpdateUserReq
  814. (*SearchUserReq)(nil), // 10: pb.SearchUserReq
  815. (*SearchUserResp)(nil), // 11: pb.SearchUserResp
  816. (*Empty)(nil), // 12: pb.Empty
  817. }
  818. var file_business_ext_proto_depIdxs = []int32{
  819. 0, // 0: pb.EmoticonListResp.emoticons:type_name -> pb.Emoticon
  820. 6, // 1: pb.GetUserResp.user:type_name -> pb.User
  821. 6, // 2: pb.SearchUserResp.users:type_name -> pb.User
  822. 2, // 3: pb.BusinessExt.SignIn:input_type -> pb.SignInReq
  823. 7, // 4: pb.BusinessExt.GetUser:input_type -> pb.GetUserReq
  824. 9, // 5: pb.BusinessExt.UpdateUser:input_type -> pb.UpdateUserReq
  825. 10, // 6: pb.BusinessExt.SearchUser:input_type -> pb.SearchUserReq
  826. 4, // 7: pb.BusinessExt.CloudUploadFile:input_type -> pb.CloudUploadFileReq
  827. 12, // 8: pb.BusinessExt.EmoticonList:input_type -> pb.Empty
  828. 3, // 9: pb.BusinessExt.SignIn:output_type -> pb.SignInResp
  829. 8, // 10: pb.BusinessExt.GetUser:output_type -> pb.GetUserResp
  830. 12, // 11: pb.BusinessExt.UpdateUser:output_type -> pb.Empty
  831. 11, // 12: pb.BusinessExt.SearchUser:output_type -> pb.SearchUserResp
  832. 5, // 13: pb.BusinessExt.CloudUploadFile:output_type -> pb.CloudUploadFileResp
  833. 1, // 14: pb.BusinessExt.EmoticonList:output_type -> pb.EmoticonListResp
  834. 9, // [9:15] is the sub-list for method output_type
  835. 3, // [3:9] is the sub-list for method input_type
  836. 3, // [3:3] is the sub-list for extension type_name
  837. 3, // [3:3] is the sub-list for extension extendee
  838. 0, // [0:3] is the sub-list for field type_name
  839. }
  840. func init() { file_business_ext_proto_init() }
  841. func file_business_ext_proto_init() {
  842. if File_business_ext_proto != nil {
  843. return
  844. }
  845. file_common_ext_proto_init()
  846. if !protoimpl.UnsafeEnabled {
  847. file_business_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  848. switch v := v.(*Emoticon); i {
  849. case 0:
  850. return &v.state
  851. case 1:
  852. return &v.sizeCache
  853. case 2:
  854. return &v.unknownFields
  855. default:
  856. return nil
  857. }
  858. }
  859. file_business_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  860. switch v := v.(*EmoticonListResp); i {
  861. case 0:
  862. return &v.state
  863. case 1:
  864. return &v.sizeCache
  865. case 2:
  866. return &v.unknownFields
  867. default:
  868. return nil
  869. }
  870. }
  871. file_business_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  872. switch v := v.(*SignInReq); i {
  873. case 0:
  874. return &v.state
  875. case 1:
  876. return &v.sizeCache
  877. case 2:
  878. return &v.unknownFields
  879. default:
  880. return nil
  881. }
  882. }
  883. file_business_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  884. switch v := v.(*SignInResp); i {
  885. case 0:
  886. return &v.state
  887. case 1:
  888. return &v.sizeCache
  889. case 2:
  890. return &v.unknownFields
  891. default:
  892. return nil
  893. }
  894. }
  895. file_business_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  896. switch v := v.(*CloudUploadFileReq); i {
  897. case 0:
  898. return &v.state
  899. case 1:
  900. return &v.sizeCache
  901. case 2:
  902. return &v.unknownFields
  903. default:
  904. return nil
  905. }
  906. }
  907. file_business_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  908. switch v := v.(*CloudUploadFileResp); i {
  909. case 0:
  910. return &v.state
  911. case 1:
  912. return &v.sizeCache
  913. case 2:
  914. return &v.unknownFields
  915. default:
  916. return nil
  917. }
  918. }
  919. file_business_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  920. switch v := v.(*User); i {
  921. case 0:
  922. return &v.state
  923. case 1:
  924. return &v.sizeCache
  925. case 2:
  926. return &v.unknownFields
  927. default:
  928. return nil
  929. }
  930. }
  931. file_business_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  932. switch v := v.(*GetUserReq); i {
  933. case 0:
  934. return &v.state
  935. case 1:
  936. return &v.sizeCache
  937. case 2:
  938. return &v.unknownFields
  939. default:
  940. return nil
  941. }
  942. }
  943. file_business_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  944. switch v := v.(*GetUserResp); i {
  945. case 0:
  946. return &v.state
  947. case 1:
  948. return &v.sizeCache
  949. case 2:
  950. return &v.unknownFields
  951. default:
  952. return nil
  953. }
  954. }
  955. file_business_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  956. switch v := v.(*UpdateUserReq); i {
  957. case 0:
  958. return &v.state
  959. case 1:
  960. return &v.sizeCache
  961. case 2:
  962. return &v.unknownFields
  963. default:
  964. return nil
  965. }
  966. }
  967. file_business_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  968. switch v := v.(*SearchUserReq); i {
  969. case 0:
  970. return &v.state
  971. case 1:
  972. return &v.sizeCache
  973. case 2:
  974. return &v.unknownFields
  975. default:
  976. return nil
  977. }
  978. }
  979. file_business_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  980. switch v := v.(*SearchUserResp); i {
  981. case 0:
  982. return &v.state
  983. case 1:
  984. return &v.sizeCache
  985. case 2:
  986. return &v.unknownFields
  987. default:
  988. return nil
  989. }
  990. }
  991. }
  992. type x struct{}
  993. out := protoimpl.TypeBuilder{
  994. File: protoimpl.DescBuilder{
  995. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  996. RawDescriptor: file_business_ext_proto_rawDesc,
  997. NumEnums: 0,
  998. NumMessages: 12,
  999. NumExtensions: 0,
  1000. NumServices: 1,
  1001. },
  1002. GoTypes: file_business_ext_proto_goTypes,
  1003. DependencyIndexes: file_business_ext_proto_depIdxs,
  1004. MessageInfos: file_business_ext_proto_msgTypes,
  1005. }.Build()
  1006. File_business_ext_proto = out.File
  1007. file_business_ext_proto_rawDesc = nil
  1008. file_business_ext_proto_goTypes = nil
  1009. file_business_ext_proto_depIdxs = nil
  1010. }
  1011. // This is a compile-time assertion to ensure that this generated file
  1012. // is compatible with the grpc package it is being compiled against.
  1013. // Requires gRPC-Go v1.32.0 or later.
  1014. const _ = grpc.SupportPackageIsVersion7
  1015. // BusinessExtClient is the client API for BusinessExt service.
  1016. //
  1017. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
  1018. type BusinessExtClient interface {
  1019. // 登录
  1020. SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error)
  1021. // 获取用户信息
  1022. GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error)
  1023. // 更新用户信息
  1024. UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error)
  1025. // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
  1026. SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error)
  1027. // 上传文件至云端
  1028. CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error)
  1029. // 获取表情
  1030. EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error)
  1031. }
  1032. type businessExtClient struct {
  1033. cc grpc.ClientConnInterface
  1034. }
  1035. func NewBusinessExtClient(cc grpc.ClientConnInterface) BusinessExtClient {
  1036. return &businessExtClient{cc}
  1037. }
  1038. func (c *businessExtClient) SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error) {
  1039. out := new(SignInResp)
  1040. err := c.cc.Invoke(ctx, "/pb.BusinessExt/SignIn", in, out, opts...)
  1041. if err != nil {
  1042. return nil, err
  1043. }
  1044. return out, nil
  1045. }
  1046. func (c *businessExtClient) GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error) {
  1047. out := new(GetUserResp)
  1048. err := c.cc.Invoke(ctx, "/pb.BusinessExt/GetUser", in, out, opts...)
  1049. if err != nil {
  1050. return nil, err
  1051. }
  1052. return out, nil
  1053. }
  1054. func (c *businessExtClient) UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error) {
  1055. out := new(Empty)
  1056. err := c.cc.Invoke(ctx, "/pb.BusinessExt/UpdateUser", in, out, opts...)
  1057. if err != nil {
  1058. return nil, err
  1059. }
  1060. return out, nil
  1061. }
  1062. func (c *businessExtClient) SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error) {
  1063. out := new(SearchUserResp)
  1064. err := c.cc.Invoke(ctx, "/pb.BusinessExt/SearchUser", in, out, opts...)
  1065. if err != nil {
  1066. return nil, err
  1067. }
  1068. return out, nil
  1069. }
  1070. func (c *businessExtClient) CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error) {
  1071. out := new(CloudUploadFileResp)
  1072. err := c.cc.Invoke(ctx, "/pb.BusinessExt/CloudUploadFile", in, out, opts...)
  1073. if err != nil {
  1074. return nil, err
  1075. }
  1076. return out, nil
  1077. }
  1078. func (c *businessExtClient) EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error) {
  1079. out := new(EmoticonListResp)
  1080. err := c.cc.Invoke(ctx, "/pb.BusinessExt/EmoticonList", in, out, opts...)
  1081. if err != nil {
  1082. return nil, err
  1083. }
  1084. return out, nil
  1085. }
  1086. // BusinessExtServer is the server API for BusinessExt service.
  1087. // All implementations must embed UnimplementedBusinessExtServer
  1088. // for forward compatibility
  1089. type BusinessExtServer interface {
  1090. // 登录
  1091. SignIn(context.Context, *SignInReq) (*SignInResp, error)
  1092. // 获取用户信息
  1093. GetUser(context.Context, *GetUserReq) (*GetUserResp, error)
  1094. // 更新用户信息
  1095. UpdateUser(context.Context, *UpdateUserReq) (*Empty, error)
  1096. // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
  1097. SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error)
  1098. // 上传文件至云端
  1099. CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error)
  1100. // 获取表情
  1101. EmoticonList(context.Context, *Empty) (*EmoticonListResp, error)
  1102. mustEmbedUnimplementedBusinessExtServer()
  1103. }
  1104. // UnimplementedBusinessExtServer must be embedded to have forward compatible implementations.
  1105. type UnimplementedBusinessExtServer struct {
  1106. }
  1107. func (UnimplementedBusinessExtServer) SignIn(context.Context, *SignInReq) (*SignInResp, error) {
  1108. return nil, status.Errorf(codes.Unimplemented, "method SignIn not implemented")
  1109. }
  1110. func (UnimplementedBusinessExtServer) GetUser(context.Context, *GetUserReq) (*GetUserResp, error) {
  1111. return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
  1112. }
  1113. func (UnimplementedBusinessExtServer) UpdateUser(context.Context, *UpdateUserReq) (*Empty, error) {
  1114. return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented")
  1115. }
  1116. func (UnimplementedBusinessExtServer) SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error) {
  1117. return nil, status.Errorf(codes.Unimplemented, "method SearchUser not implemented")
  1118. }
  1119. func (UnimplementedBusinessExtServer) CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error) {
  1120. return nil, status.Errorf(codes.Unimplemented, "method CloudUploadFile not implemented")
  1121. }
  1122. func (UnimplementedBusinessExtServer) EmoticonList(context.Context, *Empty) (*EmoticonListResp, error) {
  1123. return nil, status.Errorf(codes.Unimplemented, "method EmoticonList not implemented")
  1124. }
  1125. func (UnimplementedBusinessExtServer) mustEmbedUnimplementedBusinessExtServer() {}
  1126. // UnsafeBusinessExtServer may be embedded to opt out of forward compatibility for this service.
  1127. // Use of this interface is not recommended, as added methods to BusinessExtServer will
  1128. // result in compilation errors.
  1129. type UnsafeBusinessExtServer interface {
  1130. mustEmbedUnimplementedBusinessExtServer()
  1131. }
  1132. func RegisterBusinessExtServer(s grpc.ServiceRegistrar, srv BusinessExtServer) {
  1133. s.RegisterService(&BusinessExt_ServiceDesc, srv)
  1134. }
  1135. func _BusinessExt_SignIn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1136. in := new(SignInReq)
  1137. if err := dec(in); err != nil {
  1138. return nil, err
  1139. }
  1140. if interceptor == nil {
  1141. return srv.(BusinessExtServer).SignIn(ctx, in)
  1142. }
  1143. info := &grpc.UnaryServerInfo{
  1144. Server: srv,
  1145. FullMethod: "/pb.BusinessExt/SignIn",
  1146. }
  1147. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1148. return srv.(BusinessExtServer).SignIn(ctx, req.(*SignInReq))
  1149. }
  1150. return interceptor(ctx, in, info, handler)
  1151. }
  1152. func _BusinessExt_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1153. in := new(GetUserReq)
  1154. if err := dec(in); err != nil {
  1155. return nil, err
  1156. }
  1157. if interceptor == nil {
  1158. return srv.(BusinessExtServer).GetUser(ctx, in)
  1159. }
  1160. info := &grpc.UnaryServerInfo{
  1161. Server: srv,
  1162. FullMethod: "/pb.BusinessExt/GetUser",
  1163. }
  1164. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1165. return srv.(BusinessExtServer).GetUser(ctx, req.(*GetUserReq))
  1166. }
  1167. return interceptor(ctx, in, info, handler)
  1168. }
  1169. func _BusinessExt_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1170. in := new(UpdateUserReq)
  1171. if err := dec(in); err != nil {
  1172. return nil, err
  1173. }
  1174. if interceptor == nil {
  1175. return srv.(BusinessExtServer).UpdateUser(ctx, in)
  1176. }
  1177. info := &grpc.UnaryServerInfo{
  1178. Server: srv,
  1179. FullMethod: "/pb.BusinessExt/UpdateUser",
  1180. }
  1181. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1182. return srv.(BusinessExtServer).UpdateUser(ctx, req.(*UpdateUserReq))
  1183. }
  1184. return interceptor(ctx, in, info, handler)
  1185. }
  1186. func _BusinessExt_SearchUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1187. in := new(SearchUserReq)
  1188. if err := dec(in); err != nil {
  1189. return nil, err
  1190. }
  1191. if interceptor == nil {
  1192. return srv.(BusinessExtServer).SearchUser(ctx, in)
  1193. }
  1194. info := &grpc.UnaryServerInfo{
  1195. Server: srv,
  1196. FullMethod: "/pb.BusinessExt/SearchUser",
  1197. }
  1198. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1199. return srv.(BusinessExtServer).SearchUser(ctx, req.(*SearchUserReq))
  1200. }
  1201. return interceptor(ctx, in, info, handler)
  1202. }
  1203. func _BusinessExt_CloudUploadFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1204. in := new(CloudUploadFileReq)
  1205. if err := dec(in); err != nil {
  1206. return nil, err
  1207. }
  1208. if interceptor == nil {
  1209. return srv.(BusinessExtServer).CloudUploadFile(ctx, in)
  1210. }
  1211. info := &grpc.UnaryServerInfo{
  1212. Server: srv,
  1213. FullMethod: "/pb.BusinessExt/CloudUploadFile",
  1214. }
  1215. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1216. return srv.(BusinessExtServer).CloudUploadFile(ctx, req.(*CloudUploadFileReq))
  1217. }
  1218. return interceptor(ctx, in, info, handler)
  1219. }
  1220. func _BusinessExt_EmoticonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1221. in := new(Empty)
  1222. if err := dec(in); err != nil {
  1223. return nil, err
  1224. }
  1225. if interceptor == nil {
  1226. return srv.(BusinessExtServer).EmoticonList(ctx, in)
  1227. }
  1228. info := &grpc.UnaryServerInfo{
  1229. Server: srv,
  1230. FullMethod: "/pb.BusinessExt/EmoticonList",
  1231. }
  1232. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1233. return srv.(BusinessExtServer).EmoticonList(ctx, req.(*Empty))
  1234. }
  1235. return interceptor(ctx, in, info, handler)
  1236. }
  1237. // BusinessExt_ServiceDesc is the grpc.ServiceDesc for BusinessExt service.
  1238. // It's only intended for direct use with grpc.RegisterService,
  1239. // and not to be introspected or modified (even as a copy)
  1240. var BusinessExt_ServiceDesc = grpc.ServiceDesc{
  1241. ServiceName: "pb.BusinessExt",
  1242. HandlerType: (*BusinessExtServer)(nil),
  1243. Methods: []grpc.MethodDesc{
  1244. {
  1245. MethodName: "SignIn",
  1246. Handler: _BusinessExt_SignIn_Handler,
  1247. },
  1248. {
  1249. MethodName: "GetUser",
  1250. Handler: _BusinessExt_GetUser_Handler,
  1251. },
  1252. {
  1253. MethodName: "UpdateUser",
  1254. Handler: _BusinessExt_UpdateUser_Handler,
  1255. },
  1256. {
  1257. MethodName: "SearchUser",
  1258. Handler: _BusinessExt_SearchUser_Handler,
  1259. },
  1260. {
  1261. MethodName: "CloudUploadFile",
  1262. Handler: _BusinessExt_CloudUploadFile_Handler,
  1263. },
  1264. {
  1265. MethodName: "EmoticonList",
  1266. Handler: _BusinessExt_EmoticonList_Handler,
  1267. },
  1268. },
  1269. Streams: []grpc.StreamDesc{},
  1270. Metadata: "business.ext.proto",
  1271. }