websocket.pb.go 33 KB

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