chat.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  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. _ "google.golang.org/protobuf/types/known/emptypb"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type OnlinePersonListReply struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. List []*OnlinePersonInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  26. }
  27. func (x *OnlinePersonListReply) Reset() {
  28. *x = OnlinePersonListReply{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_chat_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *OnlinePersonListReply) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*OnlinePersonListReply) ProtoMessage() {}
  39. func (x *OnlinePersonListReply) ProtoReflect() protoreflect.Message {
  40. mi := &file_chat_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use OnlinePersonListReply.ProtoReflect.Descriptor instead.
  51. func (*OnlinePersonListReply) Descriptor() ([]byte, []int) {
  52. return file_chat_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *OnlinePersonListReply) GetList() []*OnlinePersonInfo {
  55. if x != nil {
  56. return x.List
  57. }
  58. return nil
  59. }
  60. type OnlinePersonInfo struct {
  61. state protoimpl.MessageState
  62. sizeCache protoimpl.SizeCache
  63. unknownFields protoimpl.UnknownFields
  64. PersonID string `protobuf:"bytes,1,opt,name=personID,proto3" json:"personID"` // 查询目标的ID
  65. PersonType string `protobuf:"bytes,2,opt,name=personType,proto3" json:"personType"` // 类型
  66. Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname"` // 昵称
  67. AvatarUrl string `protobuf:"bytes,4,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  68. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  69. Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
  70. Constellation string `protobuf:"bytes,7,opt,name=constellation,proto3" json:"constellation"` // 星座
  71. Signature string `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature"` // 签名
  72. Province string `protobuf:"bytes,9,opt,name=province,proto3" json:"province"` // 省
  73. City string `protobuf:"bytes,10,opt,name=city,proto3" json:"city"` // 市
  74. Area string `protobuf:"bytes,11,opt,name=area,proto3" json:"area"` // 区
  75. }
  76. func (x *OnlinePersonInfo) Reset() {
  77. *x = OnlinePersonInfo{}
  78. if protoimpl.UnsafeEnabled {
  79. mi := &file_chat_proto_msgTypes[1]
  80. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  81. ms.StoreMessageInfo(mi)
  82. }
  83. }
  84. func (x *OnlinePersonInfo) String() string {
  85. return protoimpl.X.MessageStringOf(x)
  86. }
  87. func (*OnlinePersonInfo) ProtoMessage() {}
  88. func (x *OnlinePersonInfo) ProtoReflect() protoreflect.Message {
  89. mi := &file_chat_proto_msgTypes[1]
  90. if protoimpl.UnsafeEnabled && x != nil {
  91. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  92. if ms.LoadMessageInfo() == nil {
  93. ms.StoreMessageInfo(mi)
  94. }
  95. return ms
  96. }
  97. return mi.MessageOf(x)
  98. }
  99. // Deprecated: Use OnlinePersonInfo.ProtoReflect.Descriptor instead.
  100. func (*OnlinePersonInfo) Descriptor() ([]byte, []int) {
  101. return file_chat_proto_rawDescGZIP(), []int{1}
  102. }
  103. func (x *OnlinePersonInfo) GetPersonID() string {
  104. if x != nil {
  105. return x.PersonID
  106. }
  107. return ""
  108. }
  109. func (x *OnlinePersonInfo) GetPersonType() string {
  110. if x != nil {
  111. return x.PersonType
  112. }
  113. return ""
  114. }
  115. func (x *OnlinePersonInfo) GetNickname() string {
  116. if x != nil {
  117. return x.Nickname
  118. }
  119. return ""
  120. }
  121. func (x *OnlinePersonInfo) GetAvatarUrl() string {
  122. if x != nil {
  123. return x.AvatarUrl
  124. }
  125. return ""
  126. }
  127. func (x *OnlinePersonInfo) GetSex() int64 {
  128. if x != nil {
  129. return x.Sex
  130. }
  131. return 0
  132. }
  133. func (x *OnlinePersonInfo) GetAge() int64 {
  134. if x != nil {
  135. return x.Age
  136. }
  137. return 0
  138. }
  139. func (x *OnlinePersonInfo) GetConstellation() string {
  140. if x != nil {
  141. return x.Constellation
  142. }
  143. return ""
  144. }
  145. func (x *OnlinePersonInfo) GetSignature() string {
  146. if x != nil {
  147. return x.Signature
  148. }
  149. return ""
  150. }
  151. func (x *OnlinePersonInfo) GetProvince() string {
  152. if x != nil {
  153. return x.Province
  154. }
  155. return ""
  156. }
  157. func (x *OnlinePersonInfo) GetCity() string {
  158. if x != nil {
  159. return x.City
  160. }
  161. return ""
  162. }
  163. func (x *OnlinePersonInfo) GetArea() string {
  164. if x != nil {
  165. return x.Area
  166. }
  167. return ""
  168. }
  169. type CheckUserPartnerIsRelationshipReply struct {
  170. state protoimpl.MessageState
  171. sizeCache protoimpl.SizeCache
  172. unknownFields protoimpl.UnknownFields
  173. IsBuildRelationship bool `protobuf:"varint,1,opt,name=isBuildRelationship,proto3" json:"isBuildRelationship"`
  174. RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId"`
  175. }
  176. func (x *CheckUserPartnerIsRelationshipReply) Reset() {
  177. *x = CheckUserPartnerIsRelationshipReply{}
  178. if protoimpl.UnsafeEnabled {
  179. mi := &file_chat_proto_msgTypes[2]
  180. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  181. ms.StoreMessageInfo(mi)
  182. }
  183. }
  184. func (x *CheckUserPartnerIsRelationshipReply) String() string {
  185. return protoimpl.X.MessageStringOf(x)
  186. }
  187. func (*CheckUserPartnerIsRelationshipReply) ProtoMessage() {}
  188. func (x *CheckUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
  189. mi := &file_chat_proto_msgTypes[2]
  190. if protoimpl.UnsafeEnabled && x != nil {
  191. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  192. if ms.LoadMessageInfo() == nil {
  193. ms.StoreMessageInfo(mi)
  194. }
  195. return ms
  196. }
  197. return mi.MessageOf(x)
  198. }
  199. // Deprecated: Use CheckUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
  200. func (*CheckUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
  201. return file_chat_proto_rawDescGZIP(), []int{2}
  202. }
  203. func (x *CheckUserPartnerIsRelationshipReply) GetIsBuildRelationship() bool {
  204. if x != nil {
  205. return x.IsBuildRelationship
  206. }
  207. return false
  208. }
  209. func (x *CheckUserPartnerIsRelationshipReply) GetRoomId() int64 {
  210. if x != nil {
  211. return x.RoomId
  212. }
  213. return 0
  214. }
  215. type CreateUserPartnerIsRelationshipReply struct {
  216. state protoimpl.MessageState
  217. sizeCache protoimpl.SizeCache
  218. unknownFields protoimpl.UnknownFields
  219. RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId"`
  220. }
  221. func (x *CreateUserPartnerIsRelationshipReply) Reset() {
  222. *x = CreateUserPartnerIsRelationshipReply{}
  223. if protoimpl.UnsafeEnabled {
  224. mi := &file_chat_proto_msgTypes[3]
  225. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  226. ms.StoreMessageInfo(mi)
  227. }
  228. }
  229. func (x *CreateUserPartnerIsRelationshipReply) String() string {
  230. return protoimpl.X.MessageStringOf(x)
  231. }
  232. func (*CreateUserPartnerIsRelationshipReply) ProtoMessage() {}
  233. func (x *CreateUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
  234. mi := &file_chat_proto_msgTypes[3]
  235. if protoimpl.UnsafeEnabled && x != nil {
  236. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  237. if ms.LoadMessageInfo() == nil {
  238. ms.StoreMessageInfo(mi)
  239. }
  240. return ms
  241. }
  242. return mi.MessageOf(x)
  243. }
  244. // Deprecated: Use CreateUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
  245. func (*CreateUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
  246. return file_chat_proto_rawDescGZIP(), []int{3}
  247. }
  248. func (x *CreateUserPartnerIsRelationshipReply) GetRoomId() int64 {
  249. if x != nil {
  250. return x.RoomId
  251. }
  252. return 0
  253. }
  254. var File_chat_proto protoreflect.FileDescriptor
  255. var file_chat_proto_rawDesc = []byte{
  256. 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  257. 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
  258. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
  259. 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
  260. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x15,
  261. 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74,
  262. 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20,
  263. 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x4f,
  264. 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  265. 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xb4, 0x02, 0x0a, 0x10, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
  266. 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65,
  267. 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65,
  268. 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  269. 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73,
  270. 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
  271. 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
  272. 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18,
  273. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c,
  274. 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73,
  275. 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
  276. 0x03, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c,
  277. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e,
  278. 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69,
  279. 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73,
  280. 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76,
  281. 0x69, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76,
  282. 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01,
  283. 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61,
  284. 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61, 0x22, 0x6f, 0x0a, 0x23,
  285. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
  286. 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65,
  287. 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a, 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65,
  288. 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
  289. 0x52, 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,
  290. 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18,
  291. 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x22, 0x3e, 0x0a,
  292. 0x24, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e,
  293. 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
  294. 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18,
  295. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0xc2, 0x02,
  296. 0x0a, 0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x72, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55,
  297. 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61,
  298. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  299. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72,
  300. 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x2d, 0x2e, 0x61, 0x70,
  301. 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72,
  302. 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,
  303. 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x74, 0x0a, 0x1f, 0x43, 0x72,
  304. 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49,
  305. 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x21, 0x2e,
  306. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41,
  307. 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d,
  308. 0x1a, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61,
  309. 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52,
  310. 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79,
  311. 0x12, 0x50, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65,
  312. 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  313. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61,
  314. 0x6d, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x4f, 0x6e, 0x6c,
  315. 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70,
  316. 0x6c, 0x79, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x50, 0x01,
  317. 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d,
  318. 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  319. 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68, 0x61,
  320. 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  321. }
  322. var (
  323. file_chat_proto_rawDescOnce sync.Once
  324. file_chat_proto_rawDescData = file_chat_proto_rawDesc
  325. )
  326. func file_chat_proto_rawDescGZIP() []byte {
  327. file_chat_proto_rawDescOnce.Do(func() {
  328. file_chat_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_proto_rawDescData)
  329. })
  330. return file_chat_proto_rawDescData
  331. }
  332. var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  333. var file_chat_proto_goTypes = []interface{}{
  334. (*OnlinePersonListReply)(nil), // 0: api.chat.OnlinePersonListReply
  335. (*OnlinePersonInfo)(nil), // 1: api.chat.OnlinePersonInfo
  336. (*CheckUserPartnerIsRelationshipReply)(nil), // 2: api.chat.CheckUserPartnerIsRelationshipReply
  337. (*CreateUserPartnerIsRelationshipReply)(nil), // 3: api.chat.CreateUserPartnerIsRelationshipReply
  338. (*common.UserAndPartnerIdParam)(nil), // 4: api.common.UserAndPartnerIdParam
  339. (*common.PersonParam)(nil), // 5: api.common.PersonParam
  340. }
  341. var file_chat_proto_depIdxs = []int32{
  342. 1, // 0: api.chat.OnlinePersonListReply.list:type_name -> api.chat.OnlinePersonInfo
  343. 4, // 1: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
  344. 4, // 2: api.chat.Chat.CreateUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
  345. 5, // 3: api.chat.Chat.FindOnlinePersonList:input_type -> api.common.PersonParam
  346. 2, // 4: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
  347. 3, // 5: api.chat.Chat.CreateUserPartnerIsRelationship:output_type -> api.chat.CreateUserPartnerIsRelationshipReply
  348. 0, // 6: api.chat.Chat.FindOnlinePersonList:output_type -> api.chat.OnlinePersonListReply
  349. 4, // [4:7] is the sub-list for method output_type
  350. 1, // [1:4] is the sub-list for method input_type
  351. 1, // [1:1] is the sub-list for extension type_name
  352. 1, // [1:1] is the sub-list for extension extendee
  353. 0, // [0:1] is the sub-list for field type_name
  354. }
  355. func init() { file_chat_proto_init() }
  356. func file_chat_proto_init() {
  357. if File_chat_proto != nil {
  358. return
  359. }
  360. if !protoimpl.UnsafeEnabled {
  361. file_chat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  362. switch v := v.(*OnlinePersonListReply); i {
  363. case 0:
  364. return &v.state
  365. case 1:
  366. return &v.sizeCache
  367. case 2:
  368. return &v.unknownFields
  369. default:
  370. return nil
  371. }
  372. }
  373. file_chat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  374. switch v := v.(*OnlinePersonInfo); i {
  375. case 0:
  376. return &v.state
  377. case 1:
  378. return &v.sizeCache
  379. case 2:
  380. return &v.unknownFields
  381. default:
  382. return nil
  383. }
  384. }
  385. file_chat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  386. switch v := v.(*CheckUserPartnerIsRelationshipReply); i {
  387. case 0:
  388. return &v.state
  389. case 1:
  390. return &v.sizeCache
  391. case 2:
  392. return &v.unknownFields
  393. default:
  394. return nil
  395. }
  396. }
  397. file_chat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  398. switch v := v.(*CreateUserPartnerIsRelationshipReply); 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. }
  410. type x struct{}
  411. out := protoimpl.TypeBuilder{
  412. File: protoimpl.DescBuilder{
  413. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  414. RawDescriptor: file_chat_proto_rawDesc,
  415. NumEnums: 0,
  416. NumMessages: 4,
  417. NumExtensions: 0,
  418. NumServices: 1,
  419. },
  420. GoTypes: file_chat_proto_goTypes,
  421. DependencyIndexes: file_chat_proto_depIdxs,
  422. MessageInfos: file_chat_proto_msgTypes,
  423. }.Build()
  424. File_chat_proto = out.File
  425. file_chat_proto_rawDesc = nil
  426. file_chat_proto_goTypes = nil
  427. file_chat_proto_depIdxs = nil
  428. }