websocket.pb.go 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  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: websocket.proto
  6. package websocket
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. emptypb "google.golang.org/protobuf/types/known/emptypb"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type OnlinePersonReply struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. UserManNum int64 `protobuf:"varint,1,opt,name=userManNum,proto3" json:"userManNum"` // 男用户在线数
  25. UserWomanNum int64 `protobuf:"varint,2,opt,name=userWomanNum,proto3" json:"userWomanNum"` // 女用户在线数
  26. PartnerManNum int64 `protobuf:"varint,3,opt,name=partnerManNum,proto3" json:"partnerManNum"` // 男接待员在线数
  27. PartnerWomanNum int64 `protobuf:"varint,4,opt,name=partnerWomanNum,proto3" json:"partnerWomanNum"` // 女接待员在线数
  28. UserOtherNum int64 `protobuf:"varint,5,opt,name=userOtherNum,proto3" json:"userOtherNum"` // 未填写性别的用户在线数
  29. PartnerOtherNum int64 `protobuf:"varint,6,opt,name=partnerOtherNum,proto3" json:"partnerOtherNum"` // 未填写性别的接待员在线数
  30. }
  31. func (x *OnlinePersonReply) Reset() {
  32. *x = OnlinePersonReply{}
  33. if protoimpl.UnsafeEnabled {
  34. mi := &file_websocket_proto_msgTypes[0]
  35. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  36. ms.StoreMessageInfo(mi)
  37. }
  38. }
  39. func (x *OnlinePersonReply) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*OnlinePersonReply) ProtoMessage() {}
  43. func (x *OnlinePersonReply) ProtoReflect() protoreflect.Message {
  44. mi := &file_websocket_proto_msgTypes[0]
  45. if protoimpl.UnsafeEnabled && x != nil {
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. if ms.LoadMessageInfo() == nil {
  48. ms.StoreMessageInfo(mi)
  49. }
  50. return ms
  51. }
  52. return mi.MessageOf(x)
  53. }
  54. // Deprecated: Use OnlinePersonReply.ProtoReflect.Descriptor instead.
  55. func (*OnlinePersonReply) Descriptor() ([]byte, []int) {
  56. return file_websocket_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *OnlinePersonReply) GetUserManNum() int64 {
  59. if x != nil {
  60. return x.UserManNum
  61. }
  62. return 0
  63. }
  64. func (x *OnlinePersonReply) GetUserWomanNum() int64 {
  65. if x != nil {
  66. return x.UserWomanNum
  67. }
  68. return 0
  69. }
  70. func (x *OnlinePersonReply) GetPartnerManNum() int64 {
  71. if x != nil {
  72. return x.PartnerManNum
  73. }
  74. return 0
  75. }
  76. func (x *OnlinePersonReply) GetPartnerWomanNum() int64 {
  77. if x != nil {
  78. return x.PartnerWomanNum
  79. }
  80. return 0
  81. }
  82. func (x *OnlinePersonReply) GetUserOtherNum() int64 {
  83. if x != nil {
  84. return x.UserOtherNum
  85. }
  86. return 0
  87. }
  88. func (x *OnlinePersonReply) GetPartnerOtherNum() int64 {
  89. if x != nil {
  90. return x.PartnerOtherNum
  91. }
  92. return 0
  93. }
  94. type CheckIsOnlineRequest struct {
  95. state protoimpl.MessageState
  96. sizeCache protoimpl.SizeCache
  97. unknownFields protoimpl.UnknownFields
  98. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId"` // 身份ID
  99. }
  100. func (x *CheckIsOnlineRequest) Reset() {
  101. *x = CheckIsOnlineRequest{}
  102. if protoimpl.UnsafeEnabled {
  103. mi := &file_websocket_proto_msgTypes[1]
  104. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  105. ms.StoreMessageInfo(mi)
  106. }
  107. }
  108. func (x *CheckIsOnlineRequest) String() string {
  109. return protoimpl.X.MessageStringOf(x)
  110. }
  111. func (*CheckIsOnlineRequest) ProtoMessage() {}
  112. func (x *CheckIsOnlineRequest) ProtoReflect() protoreflect.Message {
  113. mi := &file_websocket_proto_msgTypes[1]
  114. if protoimpl.UnsafeEnabled && x != nil {
  115. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  116. if ms.LoadMessageInfo() == nil {
  117. ms.StoreMessageInfo(mi)
  118. }
  119. return ms
  120. }
  121. return mi.MessageOf(x)
  122. }
  123. // Deprecated: Use CheckIsOnlineRequest.ProtoReflect.Descriptor instead.
  124. func (*CheckIsOnlineRequest) Descriptor() ([]byte, []int) {
  125. return file_websocket_proto_rawDescGZIP(), []int{1}
  126. }
  127. func (x *CheckIsOnlineRequest) GetUserId() string {
  128. if x != nil {
  129. return x.UserId
  130. }
  131. return ""
  132. }
  133. type CheckIsOnlineReply struct {
  134. state protoimpl.MessageState
  135. sizeCache protoimpl.SizeCache
  136. unknownFields protoimpl.UnknownFields
  137. IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline"` // 是否在线
  138. }
  139. func (x *CheckIsOnlineReply) Reset() {
  140. *x = CheckIsOnlineReply{}
  141. if protoimpl.UnsafeEnabled {
  142. mi := &file_websocket_proto_msgTypes[2]
  143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  144. ms.StoreMessageInfo(mi)
  145. }
  146. }
  147. func (x *CheckIsOnlineReply) String() string {
  148. return protoimpl.X.MessageStringOf(x)
  149. }
  150. func (*CheckIsOnlineReply) ProtoMessage() {}
  151. func (x *CheckIsOnlineReply) ProtoReflect() protoreflect.Message {
  152. mi := &file_websocket_proto_msgTypes[2]
  153. if protoimpl.UnsafeEnabled && x != nil {
  154. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  155. if ms.LoadMessageInfo() == nil {
  156. ms.StoreMessageInfo(mi)
  157. }
  158. return ms
  159. }
  160. return mi.MessageOf(x)
  161. }
  162. // Deprecated: Use CheckIsOnlineReply.ProtoReflect.Descriptor instead.
  163. func (*CheckIsOnlineReply) Descriptor() ([]byte, []int) {
  164. return file_websocket_proto_rawDescGZIP(), []int{2}
  165. }
  166. func (x *CheckIsOnlineReply) GetIsOnline() bool {
  167. if x != nil {
  168. return x.IsOnline
  169. }
  170. return false
  171. }
  172. type UpdateWorkingStatusRequest struct {
  173. state protoimpl.MessageState
  174. sizeCache protoimpl.SizeCache
  175. unknownFields protoimpl.UnknownFields
  176. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
  177. WorkingStatus string `protobuf:"bytes,2,opt,name=workingStatus,proto3" json:"workingStatus"`
  178. }
  179. func (x *UpdateWorkingStatusRequest) Reset() {
  180. *x = UpdateWorkingStatusRequest{}
  181. if protoimpl.UnsafeEnabled {
  182. mi := &file_websocket_proto_msgTypes[3]
  183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  184. ms.StoreMessageInfo(mi)
  185. }
  186. }
  187. func (x *UpdateWorkingStatusRequest) String() string {
  188. return protoimpl.X.MessageStringOf(x)
  189. }
  190. func (*UpdateWorkingStatusRequest) ProtoMessage() {}
  191. func (x *UpdateWorkingStatusRequest) ProtoReflect() protoreflect.Message {
  192. mi := &file_websocket_proto_msgTypes[3]
  193. if protoimpl.UnsafeEnabled && x != nil {
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. if ms.LoadMessageInfo() == nil {
  196. ms.StoreMessageInfo(mi)
  197. }
  198. return ms
  199. }
  200. return mi.MessageOf(x)
  201. }
  202. // Deprecated: Use UpdateWorkingStatusRequest.ProtoReflect.Descriptor instead.
  203. func (*UpdateWorkingStatusRequest) Descriptor() ([]byte, []int) {
  204. return file_websocket_proto_rawDescGZIP(), []int{3}
  205. }
  206. func (x *UpdateWorkingStatusRequest) GetId() string {
  207. if x != nil {
  208. return x.Id
  209. }
  210. return ""
  211. }
  212. func (x *UpdateWorkingStatusRequest) GetWorkingStatus() string {
  213. if x != nil {
  214. return x.WorkingStatus
  215. }
  216. return ""
  217. }
  218. type UpdateWeightRequest struct {
  219. state protoimpl.MessageState
  220. sizeCache protoimpl.SizeCache
  221. unknownFields protoimpl.UnknownFields
  222. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
  223. Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight"`
  224. }
  225. func (x *UpdateWeightRequest) Reset() {
  226. *x = UpdateWeightRequest{}
  227. if protoimpl.UnsafeEnabled {
  228. mi := &file_websocket_proto_msgTypes[4]
  229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  230. ms.StoreMessageInfo(mi)
  231. }
  232. }
  233. func (x *UpdateWeightRequest) String() string {
  234. return protoimpl.X.MessageStringOf(x)
  235. }
  236. func (*UpdateWeightRequest) ProtoMessage() {}
  237. func (x *UpdateWeightRequest) ProtoReflect() protoreflect.Message {
  238. mi := &file_websocket_proto_msgTypes[4]
  239. if protoimpl.UnsafeEnabled && x != nil {
  240. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  241. if ms.LoadMessageInfo() == nil {
  242. ms.StoreMessageInfo(mi)
  243. }
  244. return ms
  245. }
  246. return mi.MessageOf(x)
  247. }
  248. // Deprecated: Use UpdateWeightRequest.ProtoReflect.Descriptor instead.
  249. func (*UpdateWeightRequest) Descriptor() ([]byte, []int) {
  250. return file_websocket_proto_rawDescGZIP(), []int{4}
  251. }
  252. func (x *UpdateWeightRequest) GetId() string {
  253. if x != nil {
  254. return x.Id
  255. }
  256. return ""
  257. }
  258. func (x *UpdateWeightRequest) GetWeight() int64 {
  259. if x != nil {
  260. return x.Weight
  261. }
  262. return 0
  263. }
  264. type MessageInfo struct {
  265. state protoimpl.MessageState
  266. sizeCache protoimpl.SizeCache
  267. unknownFields protoimpl.UnknownFields
  268. RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId"` // 房间ID
  269. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message"` // 发送的消息
  270. MsgType string `protobuf:"bytes,3,opt,name=msgType,proto3" json:"msgType"` // 消息类型
  271. }
  272. func (x *MessageInfo) Reset() {
  273. *x = MessageInfo{}
  274. if protoimpl.UnsafeEnabled {
  275. mi := &file_websocket_proto_msgTypes[5]
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. ms.StoreMessageInfo(mi)
  278. }
  279. }
  280. func (x *MessageInfo) String() string {
  281. return protoimpl.X.MessageStringOf(x)
  282. }
  283. func (*MessageInfo) ProtoMessage() {}
  284. func (x *MessageInfo) ProtoReflect() protoreflect.Message {
  285. mi := &file_websocket_proto_msgTypes[5]
  286. if protoimpl.UnsafeEnabled && x != nil {
  287. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  288. if ms.LoadMessageInfo() == nil {
  289. ms.StoreMessageInfo(mi)
  290. }
  291. return ms
  292. }
  293. return mi.MessageOf(x)
  294. }
  295. // Deprecated: Use MessageInfo.ProtoReflect.Descriptor instead.
  296. func (*MessageInfo) Descriptor() ([]byte, []int) {
  297. return file_websocket_proto_rawDescGZIP(), []int{5}
  298. }
  299. func (x *MessageInfo) GetRoomId() int64 {
  300. if x != nil {
  301. return x.RoomId
  302. }
  303. return 0
  304. }
  305. func (x *MessageInfo) GetMessage() string {
  306. if x != nil {
  307. return x.Message
  308. }
  309. return ""
  310. }
  311. func (x *MessageInfo) GetMsgType() string {
  312. if x != nil {
  313. return x.MsgType
  314. }
  315. return ""
  316. }
  317. type SendMsgRequest struct {
  318. state protoimpl.MessageState
  319. sizeCache protoimpl.SizeCache
  320. unknownFields protoimpl.UnknownFields
  321. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
  322. Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method"`
  323. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data"`
  324. Code int32 `protobuf:"varint,4,opt,name=code,proto3" json:"code"`
  325. Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message"`
  326. WebsocketTag string `protobuf:"bytes,6,opt,name=websocketTag,proto3" json:"websocketTag"`
  327. }
  328. func (x *SendMsgRequest) Reset() {
  329. *x = SendMsgRequest{}
  330. if protoimpl.UnsafeEnabled {
  331. mi := &file_websocket_proto_msgTypes[6]
  332. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  333. ms.StoreMessageInfo(mi)
  334. }
  335. }
  336. func (x *SendMsgRequest) String() string {
  337. return protoimpl.X.MessageStringOf(x)
  338. }
  339. func (*SendMsgRequest) ProtoMessage() {}
  340. func (x *SendMsgRequest) ProtoReflect() protoreflect.Message {
  341. mi := &file_websocket_proto_msgTypes[6]
  342. if protoimpl.UnsafeEnabled && x != nil {
  343. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  344. if ms.LoadMessageInfo() == nil {
  345. ms.StoreMessageInfo(mi)
  346. }
  347. return ms
  348. }
  349. return mi.MessageOf(x)
  350. }
  351. // Deprecated: Use SendMsgRequest.ProtoReflect.Descriptor instead.
  352. func (*SendMsgRequest) Descriptor() ([]byte, []int) {
  353. return file_websocket_proto_rawDescGZIP(), []int{6}
  354. }
  355. func (x *SendMsgRequest) GetId() string {
  356. if x != nil {
  357. return x.Id
  358. }
  359. return ""
  360. }
  361. func (x *SendMsgRequest) GetMethod() string {
  362. if x != nil {
  363. return x.Method
  364. }
  365. return ""
  366. }
  367. func (x *SendMsgRequest) GetData() []byte {
  368. if x != nil {
  369. return x.Data
  370. }
  371. return nil
  372. }
  373. func (x *SendMsgRequest) GetCode() int32 {
  374. if x != nil {
  375. return x.Code
  376. }
  377. return 0
  378. }
  379. func (x *SendMsgRequest) GetMessage() string {
  380. if x != nil {
  381. return x.Message
  382. }
  383. return ""
  384. }
  385. func (x *SendMsgRequest) GetWebsocketTag() string {
  386. if x != nil {
  387. return x.WebsocketTag
  388. }
  389. return ""
  390. }
  391. type SendMsgReply struct {
  392. state protoimpl.MessageState
  393. sizeCache protoimpl.SizeCache
  394. unknownFields protoimpl.UnknownFields
  395. }
  396. func (x *SendMsgReply) Reset() {
  397. *x = SendMsgReply{}
  398. if protoimpl.UnsafeEnabled {
  399. mi := &file_websocket_proto_msgTypes[7]
  400. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  401. ms.StoreMessageInfo(mi)
  402. }
  403. }
  404. func (x *SendMsgReply) String() string {
  405. return protoimpl.X.MessageStringOf(x)
  406. }
  407. func (*SendMsgReply) ProtoMessage() {}
  408. func (x *SendMsgReply) ProtoReflect() protoreflect.Message {
  409. mi := &file_websocket_proto_msgTypes[7]
  410. if protoimpl.UnsafeEnabled && x != nil {
  411. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  412. if ms.LoadMessageInfo() == nil {
  413. ms.StoreMessageInfo(mi)
  414. }
  415. return ms
  416. }
  417. return mi.MessageOf(x)
  418. }
  419. // Deprecated: Use SendMsgReply.ProtoReflect.Descriptor instead.
  420. func (*SendMsgReply) Descriptor() ([]byte, []int) {
  421. return file_websocket_proto_rawDescGZIP(), []int{7}
  422. }
  423. type FindOnlinePersonReply struct {
  424. state protoimpl.MessageState
  425. sizeCache protoimpl.SizeCache
  426. unknownFields protoimpl.UnknownFields
  427. List []*OnlinePersonInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  428. }
  429. func (x *FindOnlinePersonReply) Reset() {
  430. *x = FindOnlinePersonReply{}
  431. if protoimpl.UnsafeEnabled {
  432. mi := &file_websocket_proto_msgTypes[8]
  433. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  434. ms.StoreMessageInfo(mi)
  435. }
  436. }
  437. func (x *FindOnlinePersonReply) String() string {
  438. return protoimpl.X.MessageStringOf(x)
  439. }
  440. func (*FindOnlinePersonReply) ProtoMessage() {}
  441. func (x *FindOnlinePersonReply) ProtoReflect() protoreflect.Message {
  442. mi := &file_websocket_proto_msgTypes[8]
  443. if protoimpl.UnsafeEnabled && x != nil {
  444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  445. if ms.LoadMessageInfo() == nil {
  446. ms.StoreMessageInfo(mi)
  447. }
  448. return ms
  449. }
  450. return mi.MessageOf(x)
  451. }
  452. // Deprecated: Use FindOnlinePersonReply.ProtoReflect.Descriptor instead.
  453. func (*FindOnlinePersonReply) Descriptor() ([]byte, []int) {
  454. return file_websocket_proto_rawDescGZIP(), []int{8}
  455. }
  456. func (x *FindOnlinePersonReply) GetList() []*OnlinePersonInfo {
  457. if x != nil {
  458. return x.List
  459. }
  460. return nil
  461. }
  462. type OnlinePersonInfo struct {
  463. state protoimpl.MessageState
  464. sizeCache protoimpl.SizeCache
  465. unknownFields protoimpl.UnknownFields
  466. PersonType string `protobuf:"bytes,1,opt,name=personType,proto3" json:"personType"`
  467. PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"`
  468. Weight int64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight"` // 权重
  469. WorkingStatus string `protobuf:"bytes,4,opt,name=workingStatus,proto3" json:"workingStatus"` // 工作状态
  470. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  471. }
  472. func (x *OnlinePersonInfo) Reset() {
  473. *x = OnlinePersonInfo{}
  474. if protoimpl.UnsafeEnabled {
  475. mi := &file_websocket_proto_msgTypes[9]
  476. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  477. ms.StoreMessageInfo(mi)
  478. }
  479. }
  480. func (x *OnlinePersonInfo) String() string {
  481. return protoimpl.X.MessageStringOf(x)
  482. }
  483. func (*OnlinePersonInfo) ProtoMessage() {}
  484. func (x *OnlinePersonInfo) ProtoReflect() protoreflect.Message {
  485. mi := &file_websocket_proto_msgTypes[9]
  486. if protoimpl.UnsafeEnabled && x != nil {
  487. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  488. if ms.LoadMessageInfo() == nil {
  489. ms.StoreMessageInfo(mi)
  490. }
  491. return ms
  492. }
  493. return mi.MessageOf(x)
  494. }
  495. // Deprecated: Use OnlinePersonInfo.ProtoReflect.Descriptor instead.
  496. func (*OnlinePersonInfo) Descriptor() ([]byte, []int) {
  497. return file_websocket_proto_rawDescGZIP(), []int{9}
  498. }
  499. func (x *OnlinePersonInfo) GetPersonType() string {
  500. if x != nil {
  501. return x.PersonType
  502. }
  503. return ""
  504. }
  505. func (x *OnlinePersonInfo) GetPersonId() string {
  506. if x != nil {
  507. return x.PersonId
  508. }
  509. return ""
  510. }
  511. func (x *OnlinePersonInfo) GetWeight() int64 {
  512. if x != nil {
  513. return x.Weight
  514. }
  515. return 0
  516. }
  517. func (x *OnlinePersonInfo) GetWorkingStatus() string {
  518. if x != nil {
  519. return x.WorkingStatus
  520. }
  521. return ""
  522. }
  523. func (x *OnlinePersonInfo) GetSex() int64 {
  524. if x != nil {
  525. return x.Sex
  526. }
  527. return 0
  528. }
  529. var File_websocket_proto protoreflect.FileDescriptor
  530. var file_websocket_proto_rawDesc = []byte{
  531. 0x0a, 0x0f, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  532. 0x6f, 0x12, 0x0d, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
  533. 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  534. 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x01,
  535. 0x0a, 0x11, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65,
  536. 0x70, 0x6c, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x4e, 0x75,
  537. 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x6e,
  538. 0x4e, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x6d, 0x61, 0x6e,
  539. 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x57,
  540. 0x6f, 0x6d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x6e,
  541. 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d,
  542. 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x28, 0x0a,
  543. 0x0f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x57, 0x6f, 0x6d, 0x61, 0x6e, 0x4e, 0x75, 0x6d,
  544. 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x57,
  545. 0x6f, 0x6d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x4f,
  546. 0x74, 0x68, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x75,
  547. 0x73, 0x65, 0x72, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x0f, 0x70,
  548. 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x06,
  549. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x4f, 0x74, 0x68,
  550. 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x22, 0x2e, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73,
  551. 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a,
  552. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75,
  553. 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x30, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73,
  554. 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69,
  555. 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69,
  556. 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x52, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74,
  557. 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
  558. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  559. 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67,
  560. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f,
  561. 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3d, 0x0a, 0x13, 0x55,
  562. 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
  563. 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
  564. 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01,
  565. 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x59, 0x0a, 0x0b, 0x4d, 0x65,
  566. 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f,
  567. 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49,
  568. 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
  569. 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d,
  570. 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x73,
  571. 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73,
  572. 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  573. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68,
  574. 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64,
  575. 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
  576. 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01,
  577. 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73,
  578. 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
  579. 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54,
  580. 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63,
  581. 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73,
  582. 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x4c, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e,
  583. 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
  584. 0x33, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
  585. 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4f, 0x6e,
  586. 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04,
  587. 0x6c, 0x69, 0x73, 0x74, 0x22, 0x9e, 0x01, 0x0a, 0x10, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50,
  588. 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72,
  589. 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70,
  590. 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72,
  591. 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72,
  592. 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
  593. 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a,
  594. 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04,
  595. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61,
  596. 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
  597. 0x52, 0x03, 0x73, 0x65, 0x78, 0x32, 0xfc, 0x03, 0x0a, 0x09, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63,
  598. 0x6b, 0x65, 0x74, 0x12, 0x50, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
  599. 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  600. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
  601. 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e,
  602. 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  603. 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x47, 0x0a, 0x07, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67,
  604. 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
  605. 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  606. 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e,
  607. 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5a,
  608. 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53,
  609. 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x29, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73,
  610. 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b,
  611. 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  612. 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  613. 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0c, 0x55, 0x70,
  614. 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69,
  615. 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
  616. 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
  617. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  618. 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63,
  619. 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  620. 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49,
  621. 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
  622. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43,
  623. 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c,
  624. 0x79, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
  625. 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
  626. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
  627. 0x74, 0x79, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b,
  628. 0x65, 0x74, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52,
  629. 0x65, 0x70, 0x6c, 0x79, 0x42, 0x4c, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73,
  630. 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75,
  631. 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70,
  632. 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x77,
  633. 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x3b, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b,
  634. 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  635. }
  636. var (
  637. file_websocket_proto_rawDescOnce sync.Once
  638. file_websocket_proto_rawDescData = file_websocket_proto_rawDesc
  639. )
  640. func file_websocket_proto_rawDescGZIP() []byte {
  641. file_websocket_proto_rawDescOnce.Do(func() {
  642. file_websocket_proto_rawDescData = protoimpl.X.CompressGZIP(file_websocket_proto_rawDescData)
  643. })
  644. return file_websocket_proto_rawDescData
  645. }
  646. var file_websocket_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  647. var file_websocket_proto_goTypes = []interface{}{
  648. (*OnlinePersonReply)(nil), // 0: api.websocket.OnlinePersonReply
  649. (*CheckIsOnlineRequest)(nil), // 1: api.websocket.CheckIsOnlineRequest
  650. (*CheckIsOnlineReply)(nil), // 2: api.websocket.CheckIsOnlineReply
  651. (*UpdateWorkingStatusRequest)(nil), // 3: api.websocket.UpdateWorkingStatusRequest
  652. (*UpdateWeightRequest)(nil), // 4: api.websocket.UpdateWeightRequest
  653. (*MessageInfo)(nil), // 5: api.websocket.MessageInfo
  654. (*SendMsgRequest)(nil), // 6: api.websocket.SendMsgRequest
  655. (*SendMsgReply)(nil), // 7: api.websocket.SendMsgReply
  656. (*FindOnlinePersonReply)(nil), // 8: api.websocket.FindOnlinePersonReply
  657. (*OnlinePersonInfo)(nil), // 9: api.websocket.OnlinePersonInfo
  658. (*emptypb.Empty)(nil), // 10: google.protobuf.Empty
  659. }
  660. var file_websocket_proto_depIdxs = []int32{
  661. 9, // 0: api.websocket.FindOnlinePersonReply.list:type_name -> api.websocket.OnlinePersonInfo
  662. 10, // 1: api.websocket.Websocket.FindOnlinePerson:input_type -> google.protobuf.Empty
  663. 6, // 2: api.websocket.Websocket.SendMsg:input_type -> api.websocket.SendMsgRequest
  664. 3, // 3: api.websocket.Websocket.UpdateWorkingStatus:input_type -> api.websocket.UpdateWorkingStatusRequest
  665. 4, // 4: api.websocket.Websocket.UpdateWeight:input_type -> api.websocket.UpdateWeightRequest
  666. 1, // 5: api.websocket.Websocket.CheckIsOnline:input_type -> api.websocket.CheckIsOnlineRequest
  667. 10, // 6: api.websocket.Websocket.FindOnlinePersonNum:input_type -> google.protobuf.Empty
  668. 8, // 7: api.websocket.Websocket.FindOnlinePerson:output_type -> api.websocket.FindOnlinePersonReply
  669. 7, // 8: api.websocket.Websocket.SendMsg:output_type -> api.websocket.SendMsgReply
  670. 10, // 9: api.websocket.Websocket.UpdateWorkingStatus:output_type -> google.protobuf.Empty
  671. 10, // 10: api.websocket.Websocket.UpdateWeight:output_type -> google.protobuf.Empty
  672. 2, // 11: api.websocket.Websocket.CheckIsOnline:output_type -> api.websocket.CheckIsOnlineReply
  673. 0, // 12: api.websocket.Websocket.FindOnlinePersonNum:output_type -> api.websocket.OnlinePersonReply
  674. 7, // [7:13] is the sub-list for method output_type
  675. 1, // [1:7] is the sub-list for method input_type
  676. 1, // [1:1] is the sub-list for extension type_name
  677. 1, // [1:1] is the sub-list for extension extendee
  678. 0, // [0:1] is the sub-list for field type_name
  679. }
  680. func init() { file_websocket_proto_init() }
  681. func file_websocket_proto_init() {
  682. if File_websocket_proto != nil {
  683. return
  684. }
  685. if !protoimpl.UnsafeEnabled {
  686. file_websocket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  687. switch v := v.(*OnlinePersonReply); i {
  688. case 0:
  689. return &v.state
  690. case 1:
  691. return &v.sizeCache
  692. case 2:
  693. return &v.unknownFields
  694. default:
  695. return nil
  696. }
  697. }
  698. file_websocket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  699. switch v := v.(*CheckIsOnlineRequest); i {
  700. case 0:
  701. return &v.state
  702. case 1:
  703. return &v.sizeCache
  704. case 2:
  705. return &v.unknownFields
  706. default:
  707. return nil
  708. }
  709. }
  710. file_websocket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  711. switch v := v.(*CheckIsOnlineReply); i {
  712. case 0:
  713. return &v.state
  714. case 1:
  715. return &v.sizeCache
  716. case 2:
  717. return &v.unknownFields
  718. default:
  719. return nil
  720. }
  721. }
  722. file_websocket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  723. switch v := v.(*UpdateWorkingStatusRequest); i {
  724. case 0:
  725. return &v.state
  726. case 1:
  727. return &v.sizeCache
  728. case 2:
  729. return &v.unknownFields
  730. default:
  731. return nil
  732. }
  733. }
  734. file_websocket_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  735. switch v := v.(*UpdateWeightRequest); i {
  736. case 0:
  737. return &v.state
  738. case 1:
  739. return &v.sizeCache
  740. case 2:
  741. return &v.unknownFields
  742. default:
  743. return nil
  744. }
  745. }
  746. file_websocket_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  747. switch v := v.(*MessageInfo); i {
  748. case 0:
  749. return &v.state
  750. case 1:
  751. return &v.sizeCache
  752. case 2:
  753. return &v.unknownFields
  754. default:
  755. return nil
  756. }
  757. }
  758. file_websocket_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  759. switch v := v.(*SendMsgRequest); i {
  760. case 0:
  761. return &v.state
  762. case 1:
  763. return &v.sizeCache
  764. case 2:
  765. return &v.unknownFields
  766. default:
  767. return nil
  768. }
  769. }
  770. file_websocket_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  771. switch v := v.(*SendMsgReply); i {
  772. case 0:
  773. return &v.state
  774. case 1:
  775. return &v.sizeCache
  776. case 2:
  777. return &v.unknownFields
  778. default:
  779. return nil
  780. }
  781. }
  782. file_websocket_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  783. switch v := v.(*FindOnlinePersonReply); i {
  784. case 0:
  785. return &v.state
  786. case 1:
  787. return &v.sizeCache
  788. case 2:
  789. return &v.unknownFields
  790. default:
  791. return nil
  792. }
  793. }
  794. file_websocket_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  795. switch v := v.(*OnlinePersonInfo); i {
  796. case 0:
  797. return &v.state
  798. case 1:
  799. return &v.sizeCache
  800. case 2:
  801. return &v.unknownFields
  802. default:
  803. return nil
  804. }
  805. }
  806. }
  807. type x struct{}
  808. out := protoimpl.TypeBuilder{
  809. File: protoimpl.DescBuilder{
  810. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  811. RawDescriptor: file_websocket_proto_rawDesc,
  812. NumEnums: 0,
  813. NumMessages: 10,
  814. NumExtensions: 0,
  815. NumServices: 1,
  816. },
  817. GoTypes: file_websocket_proto_goTypes,
  818. DependencyIndexes: file_websocket_proto_depIdxs,
  819. MessageInfos: file_websocket_proto_msgTypes,
  820. }.Build()
  821. File_websocket_proto = out.File
  822. file_websocket_proto_rawDesc = nil
  823. file_websocket_proto_goTypes = nil
  824. file_websocket_proto_depIdxs = nil
  825. }