chat.pb.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0-devel
  4. // protoc v3.15.8
  5. // source: chat.proto
  6. package chat
  7. import (
  8. common "git.ikuban.com/server/pw-protobuf/api/common"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  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 CreateChatRoomParam struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. PersonId1 string `protobuf:"bytes,1,opt,name=personId1,proto3" json:"personId1"`
  25. PersonIdentifyID1 string `protobuf:"bytes,2,opt,name=personIdentifyID1,proto3" json:"personIdentifyID1"` // 身份ID
  26. PersonType1 string `protobuf:"bytes,3,opt,name=personType1,proto3" json:"personType1"` // 类型
  27. PersonId2 string `protobuf:"bytes,4,opt,name=personId2,proto3" json:"personId2"`
  28. PersonIdentifyID2 string `protobuf:"bytes,5,opt,name=personIdentifyID2,proto3" json:"personIdentifyID2"` // 身份ID
  29. PersonType2 string `protobuf:"bytes,6,opt,name=personType2,proto3" json:"personType2"` // 类型
  30. }
  31. func (x *CreateChatRoomParam) Reset() {
  32. *x = CreateChatRoomParam{}
  33. if protoimpl.UnsafeEnabled {
  34. mi := &file_chat_proto_msgTypes[0]
  35. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  36. ms.StoreMessageInfo(mi)
  37. }
  38. }
  39. func (x *CreateChatRoomParam) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*CreateChatRoomParam) ProtoMessage() {}
  43. func (x *CreateChatRoomParam) ProtoReflect() protoreflect.Message {
  44. mi := &file_chat_proto_msgTypes[0]
  45. if protoimpl.UnsafeEnabled && x != nil {
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. if ms.LoadMessageInfo() == nil {
  48. ms.StoreMessageInfo(mi)
  49. }
  50. return ms
  51. }
  52. return mi.MessageOf(x)
  53. }
  54. // Deprecated: Use CreateChatRoomParam.ProtoReflect.Descriptor instead.
  55. func (*CreateChatRoomParam) Descriptor() ([]byte, []int) {
  56. return file_chat_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *CreateChatRoomParam) GetPersonId1() string {
  59. if x != nil {
  60. return x.PersonId1
  61. }
  62. return ""
  63. }
  64. func (x *CreateChatRoomParam) GetPersonIdentifyID1() string {
  65. if x != nil {
  66. return x.PersonIdentifyID1
  67. }
  68. return ""
  69. }
  70. func (x *CreateChatRoomParam) GetPersonType1() string {
  71. if x != nil {
  72. return x.PersonType1
  73. }
  74. return ""
  75. }
  76. func (x *CreateChatRoomParam) GetPersonId2() string {
  77. if x != nil {
  78. return x.PersonId2
  79. }
  80. return ""
  81. }
  82. func (x *CreateChatRoomParam) GetPersonIdentifyID2() string {
  83. if x != nil {
  84. return x.PersonIdentifyID2
  85. }
  86. return ""
  87. }
  88. func (x *CreateChatRoomParam) GetPersonType2() string {
  89. if x != nil {
  90. return x.PersonType2
  91. }
  92. return ""
  93. }
  94. type ReceiveRequest struct {
  95. state protoimpl.MessageState
  96. sizeCache protoimpl.SizeCache
  97. unknownFields protoimpl.UnknownFields
  98. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method"`
  99. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
  100. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id"`
  101. WebsocketTag string `protobuf:"bytes,4,opt,name=websocketTag,proto3" json:"websocketTag"`
  102. PersonType string `protobuf:"bytes,5,opt,name=personType,proto3" json:"personType"`
  103. PersonId string `protobuf:"bytes,6,opt,name=personId,proto3" json:"personId"`
  104. }
  105. func (x *ReceiveRequest) Reset() {
  106. *x = ReceiveRequest{}
  107. if protoimpl.UnsafeEnabled {
  108. mi := &file_chat_proto_msgTypes[1]
  109. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  110. ms.StoreMessageInfo(mi)
  111. }
  112. }
  113. func (x *ReceiveRequest) String() string {
  114. return protoimpl.X.MessageStringOf(x)
  115. }
  116. func (*ReceiveRequest) ProtoMessage() {}
  117. func (x *ReceiveRequest) ProtoReflect() protoreflect.Message {
  118. mi := &file_chat_proto_msgTypes[1]
  119. if protoimpl.UnsafeEnabled && x != nil {
  120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  121. if ms.LoadMessageInfo() == nil {
  122. ms.StoreMessageInfo(mi)
  123. }
  124. return ms
  125. }
  126. return mi.MessageOf(x)
  127. }
  128. // Deprecated: Use ReceiveRequest.ProtoReflect.Descriptor instead.
  129. func (*ReceiveRequest) Descriptor() ([]byte, []int) {
  130. return file_chat_proto_rawDescGZIP(), []int{1}
  131. }
  132. func (x *ReceiveRequest) GetMethod() string {
  133. if x != nil {
  134. return x.Method
  135. }
  136. return ""
  137. }
  138. func (x *ReceiveRequest) GetData() []byte {
  139. if x != nil {
  140. return x.Data
  141. }
  142. return nil
  143. }
  144. func (x *ReceiveRequest) GetId() string {
  145. if x != nil {
  146. return x.Id
  147. }
  148. return ""
  149. }
  150. func (x *ReceiveRequest) GetWebsocketTag() string {
  151. if x != nil {
  152. return x.WebsocketTag
  153. }
  154. return ""
  155. }
  156. func (x *ReceiveRequest) GetPersonType() string {
  157. if x != nil {
  158. return x.PersonType
  159. }
  160. return ""
  161. }
  162. func (x *ReceiveRequest) GetPersonId() string {
  163. if x != nil {
  164. return x.PersonId
  165. }
  166. return ""
  167. }
  168. type ReceiveReply struct {
  169. state protoimpl.MessageState
  170. sizeCache protoimpl.SizeCache
  171. unknownFields protoimpl.UnknownFields
  172. }
  173. func (x *ReceiveReply) Reset() {
  174. *x = ReceiveReply{}
  175. if protoimpl.UnsafeEnabled {
  176. mi := &file_chat_proto_msgTypes[2]
  177. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  178. ms.StoreMessageInfo(mi)
  179. }
  180. }
  181. func (x *ReceiveReply) String() string {
  182. return protoimpl.X.MessageStringOf(x)
  183. }
  184. func (*ReceiveReply) ProtoMessage() {}
  185. func (x *ReceiveReply) ProtoReflect() protoreflect.Message {
  186. mi := &file_chat_proto_msgTypes[2]
  187. if protoimpl.UnsafeEnabled && x != nil {
  188. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  189. if ms.LoadMessageInfo() == nil {
  190. ms.StoreMessageInfo(mi)
  191. }
  192. return ms
  193. }
  194. return mi.MessageOf(x)
  195. }
  196. // Deprecated: Use ReceiveReply.ProtoReflect.Descriptor instead.
  197. func (*ReceiveReply) Descriptor() ([]byte, []int) {
  198. return file_chat_proto_rawDescGZIP(), []int{2}
  199. }
  200. type CheckUserPartnerIsRelationshipReply struct {
  201. state protoimpl.MessageState
  202. sizeCache protoimpl.SizeCache
  203. unknownFields protoimpl.UnknownFields
  204. IsBuildRelationship bool `protobuf:"varint,1,opt,name=isBuildRelationship,proto3" json:"isBuildRelationship"`
  205. RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId"`
  206. }
  207. func (x *CheckUserPartnerIsRelationshipReply) Reset() {
  208. *x = CheckUserPartnerIsRelationshipReply{}
  209. if protoimpl.UnsafeEnabled {
  210. mi := &file_chat_proto_msgTypes[3]
  211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  212. ms.StoreMessageInfo(mi)
  213. }
  214. }
  215. func (x *CheckUserPartnerIsRelationshipReply) String() string {
  216. return protoimpl.X.MessageStringOf(x)
  217. }
  218. func (*CheckUserPartnerIsRelationshipReply) ProtoMessage() {}
  219. func (x *CheckUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
  220. mi := &file_chat_proto_msgTypes[3]
  221. if protoimpl.UnsafeEnabled && x != nil {
  222. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  223. if ms.LoadMessageInfo() == nil {
  224. ms.StoreMessageInfo(mi)
  225. }
  226. return ms
  227. }
  228. return mi.MessageOf(x)
  229. }
  230. // Deprecated: Use CheckUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
  231. func (*CheckUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
  232. return file_chat_proto_rawDescGZIP(), []int{3}
  233. }
  234. func (x *CheckUserPartnerIsRelationshipReply) GetIsBuildRelationship() bool {
  235. if x != nil {
  236. return x.IsBuildRelationship
  237. }
  238. return false
  239. }
  240. func (x *CheckUserPartnerIsRelationshipReply) GetRoomId() int64 {
  241. if x != nil {
  242. return x.RoomId
  243. }
  244. return 0
  245. }
  246. type RoomReply struct {
  247. state protoimpl.MessageState
  248. sizeCache protoimpl.SizeCache
  249. unknownFields protoimpl.UnknownFields
  250. RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId"`
  251. }
  252. func (x *RoomReply) Reset() {
  253. *x = RoomReply{}
  254. if protoimpl.UnsafeEnabled {
  255. mi := &file_chat_proto_msgTypes[4]
  256. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  257. ms.StoreMessageInfo(mi)
  258. }
  259. }
  260. func (x *RoomReply) String() string {
  261. return protoimpl.X.MessageStringOf(x)
  262. }
  263. func (*RoomReply) ProtoMessage() {}
  264. func (x *RoomReply) ProtoReflect() protoreflect.Message {
  265. mi := &file_chat_proto_msgTypes[4]
  266. if protoimpl.UnsafeEnabled && x != nil {
  267. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  268. if ms.LoadMessageInfo() == nil {
  269. ms.StoreMessageInfo(mi)
  270. }
  271. return ms
  272. }
  273. return mi.MessageOf(x)
  274. }
  275. // Deprecated: Use RoomReply.ProtoReflect.Descriptor instead.
  276. func (*RoomReply) Descriptor() ([]byte, []int) {
  277. return file_chat_proto_rawDescGZIP(), []int{4}
  278. }
  279. func (x *RoomReply) GetRoomId() int64 {
  280. if x != nil {
  281. return x.RoomId
  282. }
  283. return 0
  284. }
  285. var File_chat_proto protoreflect.FileDescriptor
  286. var file_chat_proto_rawDesc = []byte{
  287. 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  288. 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
  289. 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  290. 0xf1, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f,
  291. 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f,
  292. 0x6e, 0x49, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x72, 0x73,
  293. 0x6f, 0x6e, 0x49, 0x64, 0x31, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49,
  294. 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x31, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  295. 0x52, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79,
  296. 0x49, 0x44, 0x31, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70,
  297. 0x65, 0x31, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  298. 0x54, 0x79, 0x70, 0x65, 0x31, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49,
  299. 0x64, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  300. 0x49, 0x64, 0x32, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65,
  301. 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x32, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11,
  302. 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x44,
  303. 0x32, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x32,
  304. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79,
  305. 0x70, 0x65, 0x32, 0x22, 0xac, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52,
  306. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64,
  307. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12,
  308. 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61,
  309. 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
  310. 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54,
  311. 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63,
  312. 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  313. 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73,
  314. 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  315. 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  316. 0x49, 0x64, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70,
  317. 0x6c, 0x79, 0x22, 0x6f, 0x0a, 0x23, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50,
  318. 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  319. 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a, 0x13, 0x69, 0x73, 0x42,
  320. 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
  321. 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52,
  322. 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72,
  323. 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f,
  324. 0x6d, 0x49, 0x64, 0x22, 0x23, 0x0a, 0x09, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79,
  325. 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  326. 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0xe0, 0x02, 0x0a, 0x04, 0x43, 0x68, 0x61,
  327. 0x74, 0x12, 0x72, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61,
  328. 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  329. 0x68, 0x69, 0x70, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  330. 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49,
  331. 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61,
  332. 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e,
  333. 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
  334. 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x44, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43,
  335. 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68,
  336. 0x61, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f,
  337. 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x13, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61,
  338. 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x5f, 0x0a, 0x14, 0x46,
  339. 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c,
  340. 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  341. 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x41, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73,
  342. 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  343. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72,
  344. 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3d, 0x0a, 0x07,
  345. 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68,
  346. 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  347. 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63,
  348. 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x3d, 0x0a, 0x08, 0x61,
  349. 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69,
  350. 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
  351. 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69,
  352. 0x2f, 0x63, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68, 0x61, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  353. 0x6f, 0x33,
  354. }
  355. var (
  356. file_chat_proto_rawDescOnce sync.Once
  357. file_chat_proto_rawDescData = file_chat_proto_rawDesc
  358. )
  359. func file_chat_proto_rawDescGZIP() []byte {
  360. file_chat_proto_rawDescOnce.Do(func() {
  361. file_chat_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_proto_rawDescData)
  362. })
  363. return file_chat_proto_rawDescData
  364. }
  365. var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  366. var file_chat_proto_goTypes = []interface{}{
  367. (*CreateChatRoomParam)(nil), // 0: api.chat.CreateChatRoomParam
  368. (*ReceiveRequest)(nil), // 1: api.chat.ReceiveRequest
  369. (*ReceiveReply)(nil), // 2: api.chat.ReceiveReply
  370. (*CheckUserPartnerIsRelationshipReply)(nil), // 3: api.chat.CheckUserPartnerIsRelationshipReply
  371. (*RoomReply)(nil), // 4: api.chat.RoomReply
  372. (*common.UserAndPartnerIdParam)(nil), // 5: api.common.UserAndPartnerIdParam
  373. (*common.ListPageAndPersonRequest)(nil), // 6: api.common.ListPageAndPersonRequest
  374. (*common.OnlinePersonListReply)(nil), // 7: api.common.OnlinePersonListReply
  375. }
  376. var file_chat_proto_depIdxs = []int32{
  377. 5, // 0: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
  378. 0, // 1: api.chat.Chat.CreateChatRoom:input_type -> api.chat.CreateChatRoomParam
  379. 6, // 2: api.chat.Chat.FindOnlinePersonList:input_type -> api.common.ListPageAndPersonRequest
  380. 1, // 3: api.chat.Chat.Receive:input_type -> api.chat.ReceiveRequest
  381. 3, // 4: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
  382. 4, // 5: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
  383. 7, // 6: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.OnlinePersonListReply
  384. 2, // 7: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
  385. 4, // [4:8] is the sub-list for method output_type
  386. 0, // [0:4] is the sub-list for method input_type
  387. 0, // [0:0] is the sub-list for extension type_name
  388. 0, // [0:0] is the sub-list for extension extendee
  389. 0, // [0:0] is the sub-list for field type_name
  390. }
  391. func init() { file_chat_proto_init() }
  392. func file_chat_proto_init() {
  393. if File_chat_proto != nil {
  394. return
  395. }
  396. if !protoimpl.UnsafeEnabled {
  397. file_chat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  398. switch v := v.(*CreateChatRoomParam); i {
  399. case 0:
  400. return &v.state
  401. case 1:
  402. return &v.sizeCache
  403. case 2:
  404. return &v.unknownFields
  405. default:
  406. return nil
  407. }
  408. }
  409. file_chat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  410. switch v := v.(*ReceiveRequest); i {
  411. case 0:
  412. return &v.state
  413. case 1:
  414. return &v.sizeCache
  415. case 2:
  416. return &v.unknownFields
  417. default:
  418. return nil
  419. }
  420. }
  421. file_chat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  422. switch v := v.(*ReceiveReply); i {
  423. case 0:
  424. return &v.state
  425. case 1:
  426. return &v.sizeCache
  427. case 2:
  428. return &v.unknownFields
  429. default:
  430. return nil
  431. }
  432. }
  433. file_chat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  434. switch v := v.(*CheckUserPartnerIsRelationshipReply); i {
  435. case 0:
  436. return &v.state
  437. case 1:
  438. return &v.sizeCache
  439. case 2:
  440. return &v.unknownFields
  441. default:
  442. return nil
  443. }
  444. }
  445. file_chat_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  446. switch v := v.(*RoomReply); i {
  447. case 0:
  448. return &v.state
  449. case 1:
  450. return &v.sizeCache
  451. case 2:
  452. return &v.unknownFields
  453. default:
  454. return nil
  455. }
  456. }
  457. }
  458. type x struct{}
  459. out := protoimpl.TypeBuilder{
  460. File: protoimpl.DescBuilder{
  461. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  462. RawDescriptor: file_chat_proto_rawDesc,
  463. NumEnums: 0,
  464. NumMessages: 5,
  465. NumExtensions: 0,
  466. NumServices: 1,
  467. },
  468. GoTypes: file_chat_proto_goTypes,
  469. DependencyIndexes: file_chat_proto_depIdxs,
  470. MessageInfos: file_chat_proto_msgTypes,
  471. }.Build()
  472. File_chat_proto = out.File
  473. file_chat_proto_rawDesc = nil
  474. file_chat_proto_goTypes = nil
  475. file_chat_proto_depIdxs = nil
  476. }