websocket.pb.go 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931
  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. IdentifyId string `protobuf:"bytes,1,opt,name=identifyId,proto3" json:"identifyId"` // 身份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) GetIdentifyId() string {
  128. if x != nil {
  129. return x.IdentifyId
  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, 0x36, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73,
  551. 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a,
  552. 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  553. 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x22, 0x30, 0x0a,
  554. 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65,
  555. 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x18,
  556. 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x22,
  557. 0x52, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67,
  558. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
  559. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a,
  560. 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02,
  561. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61,
  562. 0x74, 0x75, 0x73, 0x22, 0x3d, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x69,
  563. 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  564. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65,
  565. 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67,
  566. 0x68, 0x74, 0x22, 0x59, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66,
  567. 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  568. 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  569. 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
  570. 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03,
  571. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x9e, 0x01,
  572. 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  573. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
  574. 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  575. 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  576. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
  577. 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
  578. 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
  579. 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65,
  580. 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
  581. 0x52, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x22, 0x0e,
  582. 0x0a, 0x0c, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x4c,
  583. 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73,
  584. 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x33, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18,
  585. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73,
  586. 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73,
  587. 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x9e, 0x01, 0x0a,
  588. 0x10, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66,
  589. 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18,
  590. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70,
  591. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20,
  592. 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a,
  593. 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77,
  594. 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67,
  595. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f,
  596. 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73,
  597. 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x32, 0xfc, 0x03,
  598. 0x0a, 0x09, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x50, 0x0a, 0x10, 0x46,
  599. 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12,
  600. 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  601. 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65,
  602. 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69,
  603. 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x47, 0x0a,
  604. 0x07, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77,
  605. 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67,
  606. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65,
  607. 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52,
  608. 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  609. 0x57, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x29, 0x2e,
  610. 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x55, 0x70,
  611. 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75,
  612. 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  613. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
  614. 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67,
  615. 0x68, 0x74, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b,
  616. 0x65, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52,
  617. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  618. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00,
  619. 0x12, 0x59, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
  620. 0x65, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65,
  621. 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52,
  622. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62,
  623. 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e,
  624. 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x13, 0x46,
  625. 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e,
  626. 0x75, 0x6d, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  627. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69,
  628. 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
  629. 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x42, 0x4c, 0x0a, 0x0d,
  630. 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x01, 0x5a,
  631. 0x39, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  632. 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  633. 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
  634. 0x3b, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  635. 0x6f, 0x33,
  636. }
  637. var (
  638. file_websocket_proto_rawDescOnce sync.Once
  639. file_websocket_proto_rawDescData = file_websocket_proto_rawDesc
  640. )
  641. func file_websocket_proto_rawDescGZIP() []byte {
  642. file_websocket_proto_rawDescOnce.Do(func() {
  643. file_websocket_proto_rawDescData = protoimpl.X.CompressGZIP(file_websocket_proto_rawDescData)
  644. })
  645. return file_websocket_proto_rawDescData
  646. }
  647. var file_websocket_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  648. var file_websocket_proto_goTypes = []interface{}{
  649. (*OnlinePersonReply)(nil), // 0: api.websocket.OnlinePersonReply
  650. (*CheckIsOnlineRequest)(nil), // 1: api.websocket.CheckIsOnlineRequest
  651. (*CheckIsOnlineReply)(nil), // 2: api.websocket.CheckIsOnlineReply
  652. (*UpdateWorkingStatusRequest)(nil), // 3: api.websocket.UpdateWorkingStatusRequest
  653. (*UpdateWeightRequest)(nil), // 4: api.websocket.UpdateWeightRequest
  654. (*MessageInfo)(nil), // 5: api.websocket.MessageInfo
  655. (*SendMsgRequest)(nil), // 6: api.websocket.SendMsgRequest
  656. (*SendMsgReply)(nil), // 7: api.websocket.SendMsgReply
  657. (*FindOnlinePersonReply)(nil), // 8: api.websocket.FindOnlinePersonReply
  658. (*OnlinePersonInfo)(nil), // 9: api.websocket.OnlinePersonInfo
  659. (*emptypb.Empty)(nil), // 10: google.protobuf.Empty
  660. }
  661. var file_websocket_proto_depIdxs = []int32{
  662. 9, // 0: api.websocket.FindOnlinePersonReply.list:type_name -> api.websocket.OnlinePersonInfo
  663. 10, // 1: api.websocket.Websocket.FindOnlinePerson:input_type -> google.protobuf.Empty
  664. 6, // 2: api.websocket.Websocket.SendMsg:input_type -> api.websocket.SendMsgRequest
  665. 3, // 3: api.websocket.Websocket.UpdateWorkingStatus:input_type -> api.websocket.UpdateWorkingStatusRequest
  666. 4, // 4: api.websocket.Websocket.UpdateWeight:input_type -> api.websocket.UpdateWeightRequest
  667. 1, // 5: api.websocket.Websocket.CheckIsOnline:input_type -> api.websocket.CheckIsOnlineRequest
  668. 10, // 6: api.websocket.Websocket.FindOnlinePersonNum:input_type -> google.protobuf.Empty
  669. 8, // 7: api.websocket.Websocket.FindOnlinePerson:output_type -> api.websocket.FindOnlinePersonReply
  670. 7, // 8: api.websocket.Websocket.SendMsg:output_type -> api.websocket.SendMsgReply
  671. 10, // 9: api.websocket.Websocket.UpdateWorkingStatus:output_type -> google.protobuf.Empty
  672. 10, // 10: api.websocket.Websocket.UpdateWeight:output_type -> google.protobuf.Empty
  673. 2, // 11: api.websocket.Websocket.CheckIsOnline:output_type -> api.websocket.CheckIsOnlineReply
  674. 0, // 12: api.websocket.Websocket.FindOnlinePersonNum:output_type -> api.websocket.OnlinePersonReply
  675. 7, // [7:13] is the sub-list for method output_type
  676. 1, // [1:7] is the sub-list for method input_type
  677. 1, // [1:1] is the sub-list for extension type_name
  678. 1, // [1:1] is the sub-list for extension extendee
  679. 0, // [0:1] is the sub-list for field type_name
  680. }
  681. func init() { file_websocket_proto_init() }
  682. func file_websocket_proto_init() {
  683. if File_websocket_proto != nil {
  684. return
  685. }
  686. if !protoimpl.UnsafeEnabled {
  687. file_websocket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  688. switch v := v.(*OnlinePersonReply); i {
  689. case 0:
  690. return &v.state
  691. case 1:
  692. return &v.sizeCache
  693. case 2:
  694. return &v.unknownFields
  695. default:
  696. return nil
  697. }
  698. }
  699. file_websocket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  700. switch v := v.(*CheckIsOnlineRequest); i {
  701. case 0:
  702. return &v.state
  703. case 1:
  704. return &v.sizeCache
  705. case 2:
  706. return &v.unknownFields
  707. default:
  708. return nil
  709. }
  710. }
  711. file_websocket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  712. switch v := v.(*CheckIsOnlineReply); i {
  713. case 0:
  714. return &v.state
  715. case 1:
  716. return &v.sizeCache
  717. case 2:
  718. return &v.unknownFields
  719. default:
  720. return nil
  721. }
  722. }
  723. file_websocket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  724. switch v := v.(*UpdateWorkingStatusRequest); i {
  725. case 0:
  726. return &v.state
  727. case 1:
  728. return &v.sizeCache
  729. case 2:
  730. return &v.unknownFields
  731. default:
  732. return nil
  733. }
  734. }
  735. file_websocket_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  736. switch v := v.(*UpdateWeightRequest); i {
  737. case 0:
  738. return &v.state
  739. case 1:
  740. return &v.sizeCache
  741. case 2:
  742. return &v.unknownFields
  743. default:
  744. return nil
  745. }
  746. }
  747. file_websocket_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  748. switch v := v.(*MessageInfo); i {
  749. case 0:
  750. return &v.state
  751. case 1:
  752. return &v.sizeCache
  753. case 2:
  754. return &v.unknownFields
  755. default:
  756. return nil
  757. }
  758. }
  759. file_websocket_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  760. switch v := v.(*SendMsgRequest); i {
  761. case 0:
  762. return &v.state
  763. case 1:
  764. return &v.sizeCache
  765. case 2:
  766. return &v.unknownFields
  767. default:
  768. return nil
  769. }
  770. }
  771. file_websocket_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  772. switch v := v.(*SendMsgReply); i {
  773. case 0:
  774. return &v.state
  775. case 1:
  776. return &v.sizeCache
  777. case 2:
  778. return &v.unknownFields
  779. default:
  780. return nil
  781. }
  782. }
  783. file_websocket_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  784. switch v := v.(*FindOnlinePersonReply); i {
  785. case 0:
  786. return &v.state
  787. case 1:
  788. return &v.sizeCache
  789. case 2:
  790. return &v.unknownFields
  791. default:
  792. return nil
  793. }
  794. }
  795. file_websocket_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  796. switch v := v.(*OnlinePersonInfo); i {
  797. case 0:
  798. return &v.state
  799. case 1:
  800. return &v.sizeCache
  801. case 2:
  802. return &v.unknownFields
  803. default:
  804. return nil
  805. }
  806. }
  807. }
  808. type x struct{}
  809. out := protoimpl.TypeBuilder{
  810. File: protoimpl.DescBuilder{
  811. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  812. RawDescriptor: file_websocket_proto_rawDesc,
  813. NumEnums: 0,
  814. NumMessages: 10,
  815. NumExtensions: 0,
  816. NumServices: 1,
  817. },
  818. GoTypes: file_websocket_proto_goTypes,
  819. DependencyIndexes: file_websocket_proto_depIdxs,
  820. MessageInfos: file_websocket_proto_msgTypes,
  821. }.Build()
  822. File_websocket_proto = out.File
  823. file_websocket_proto_rawDesc = nil
  824. file_websocket_proto_goTypes = nil
  825. file_websocket_proto_depIdxs = nil
  826. }