websocket.pb.go 45 KB

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