websocket.pb.go 43 KB

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