websocket.pb.go 30 KB

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