chat.pb.go 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  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 ReceiveRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method"`
  25. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
  26. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id"`
  27. WebsocketTag string `protobuf:"bytes,4,opt,name=websocketTag,proto3" json:"websocketTag"`
  28. PersonType string `protobuf:"bytes,5,opt,name=personType,proto3" json:"personType"`
  29. PersonId string `protobuf:"bytes,6,opt,name=personId,proto3" json:"personId"`
  30. }
  31. func (x *ReceiveRequest) Reset() {
  32. *x = ReceiveRequest{}
  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 *ReceiveRequest) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*ReceiveRequest) ProtoMessage() {}
  43. func (x *ReceiveRequest) 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 ReceiveRequest.ProtoReflect.Descriptor instead.
  55. func (*ReceiveRequest) Descriptor() ([]byte, []int) {
  56. return file_chat_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *ReceiveRequest) GetMethod() string {
  59. if x != nil {
  60. return x.Method
  61. }
  62. return ""
  63. }
  64. func (x *ReceiveRequest) GetData() []byte {
  65. if x != nil {
  66. return x.Data
  67. }
  68. return nil
  69. }
  70. func (x *ReceiveRequest) GetId() string {
  71. if x != nil {
  72. return x.Id
  73. }
  74. return ""
  75. }
  76. func (x *ReceiveRequest) GetWebsocketTag() string {
  77. if x != nil {
  78. return x.WebsocketTag
  79. }
  80. return ""
  81. }
  82. func (x *ReceiveRequest) GetPersonType() string {
  83. if x != nil {
  84. return x.PersonType
  85. }
  86. return ""
  87. }
  88. func (x *ReceiveRequest) GetPersonId() string {
  89. if x != nil {
  90. return x.PersonId
  91. }
  92. return ""
  93. }
  94. type ReceiveReply struct {
  95. state protoimpl.MessageState
  96. sizeCache protoimpl.SizeCache
  97. unknownFields protoimpl.UnknownFields
  98. }
  99. func (x *ReceiveReply) Reset() {
  100. *x = ReceiveReply{}
  101. if protoimpl.UnsafeEnabled {
  102. mi := &file_chat_proto_msgTypes[1]
  103. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  104. ms.StoreMessageInfo(mi)
  105. }
  106. }
  107. func (x *ReceiveReply) String() string {
  108. return protoimpl.X.MessageStringOf(x)
  109. }
  110. func (*ReceiveReply) ProtoMessage() {}
  111. func (x *ReceiveReply) ProtoReflect() protoreflect.Message {
  112. mi := &file_chat_proto_msgTypes[1]
  113. if protoimpl.UnsafeEnabled && x != nil {
  114. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  115. if ms.LoadMessageInfo() == nil {
  116. ms.StoreMessageInfo(mi)
  117. }
  118. return ms
  119. }
  120. return mi.MessageOf(x)
  121. }
  122. // Deprecated: Use ReceiveReply.ProtoReflect.Descriptor instead.
  123. func (*ReceiveReply) Descriptor() ([]byte, []int) {
  124. return file_chat_proto_rawDescGZIP(), []int{1}
  125. }
  126. type CheckUserPartnerIsRelationshipReply struct {
  127. state protoimpl.MessageState
  128. sizeCache protoimpl.SizeCache
  129. unknownFields protoimpl.UnknownFields
  130. IsBuildRelationship bool `protobuf:"varint,1,opt,name=isBuildRelationship,proto3" json:"isBuildRelationship"`
  131. RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId"`
  132. }
  133. func (x *CheckUserPartnerIsRelationshipReply) Reset() {
  134. *x = CheckUserPartnerIsRelationshipReply{}
  135. if protoimpl.UnsafeEnabled {
  136. mi := &file_chat_proto_msgTypes[2]
  137. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  138. ms.StoreMessageInfo(mi)
  139. }
  140. }
  141. func (x *CheckUserPartnerIsRelationshipReply) String() string {
  142. return protoimpl.X.MessageStringOf(x)
  143. }
  144. func (*CheckUserPartnerIsRelationshipReply) ProtoMessage() {}
  145. func (x *CheckUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
  146. mi := &file_chat_proto_msgTypes[2]
  147. if protoimpl.UnsafeEnabled && x != nil {
  148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  149. if ms.LoadMessageInfo() == nil {
  150. ms.StoreMessageInfo(mi)
  151. }
  152. return ms
  153. }
  154. return mi.MessageOf(x)
  155. }
  156. // Deprecated: Use CheckUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
  157. func (*CheckUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
  158. return file_chat_proto_rawDescGZIP(), []int{2}
  159. }
  160. func (x *CheckUserPartnerIsRelationshipReply) GetIsBuildRelationship() bool {
  161. if x != nil {
  162. return x.IsBuildRelationship
  163. }
  164. return false
  165. }
  166. func (x *CheckUserPartnerIsRelationshipReply) GetRoomId() int64 {
  167. if x != nil {
  168. return x.RoomId
  169. }
  170. return 0
  171. }
  172. type CreateUserPartnerIsRelationshipReply struct {
  173. state protoimpl.MessageState
  174. sizeCache protoimpl.SizeCache
  175. unknownFields protoimpl.UnknownFields
  176. RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId"`
  177. }
  178. func (x *CreateUserPartnerIsRelationshipReply) Reset() {
  179. *x = CreateUserPartnerIsRelationshipReply{}
  180. if protoimpl.UnsafeEnabled {
  181. mi := &file_chat_proto_msgTypes[3]
  182. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  183. ms.StoreMessageInfo(mi)
  184. }
  185. }
  186. func (x *CreateUserPartnerIsRelationshipReply) String() string {
  187. return protoimpl.X.MessageStringOf(x)
  188. }
  189. func (*CreateUserPartnerIsRelationshipReply) ProtoMessage() {}
  190. func (x *CreateUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
  191. mi := &file_chat_proto_msgTypes[3]
  192. if protoimpl.UnsafeEnabled && x != nil {
  193. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  194. if ms.LoadMessageInfo() == nil {
  195. ms.StoreMessageInfo(mi)
  196. }
  197. return ms
  198. }
  199. return mi.MessageOf(x)
  200. }
  201. // Deprecated: Use CreateUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
  202. func (*CreateUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
  203. return file_chat_proto_rawDescGZIP(), []int{3}
  204. }
  205. func (x *CreateUserPartnerIsRelationshipReply) GetRoomId() int64 {
  206. if x != nil {
  207. return x.RoomId
  208. }
  209. return 0
  210. }
  211. var File_chat_proto protoreflect.FileDescriptor
  212. var file_chat_proto_rawDesc = []byte{
  213. 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  214. 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
  215. 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  216. 0xac, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  217. 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01,
  218. 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61,
  219. 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e,
  220. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x22,
  221. 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x18, 0x04,
  222. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54,
  223. 0x61, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
  224. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79,
  225. 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x06,
  226. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x0e,
  227. 0x0a, 0x0c, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x6f,
  228. 0x0a, 0x23, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e,
  229. 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
  230. 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a, 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64,
  231. 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01,
  232. 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74,
  233. 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49,
  234. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x22,
  235. 0x3e, 0x0a, 0x24, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72,
  236. 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68,
  237. 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49,
  238. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32,
  239. 0x90, 0x03, 0x0a, 0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x72, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63,
  240. 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65,
  241. 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69,
  242. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50,
  243. 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x2d, 0x2e,
  244. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73,
  245. 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74,
  246. 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x74, 0x0a, 0x1f,
  247. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65,
  248. 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12,
  249. 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65,
  250. 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61, 0x72,
  251. 0x61, 0x6d, 0x1a, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x72,
  252. 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49,
  253. 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70,
  254. 0x6c, 0x79, 0x12, 0x5f, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
  255. 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69,
  256. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65,
  257. 0x41, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  258. 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x6e,
  259. 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  260. 0x70, 0x6c, 0x79, 0x12, 0x3d, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x12, 0x18,
  261. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
  262. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  263. 0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79,
  264. 0x22, 0x00, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x50, 0x01,
  265. 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d,
  266. 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  267. 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68, 0x61,
  268. 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  269. }
  270. var (
  271. file_chat_proto_rawDescOnce sync.Once
  272. file_chat_proto_rawDescData = file_chat_proto_rawDesc
  273. )
  274. func file_chat_proto_rawDescGZIP() []byte {
  275. file_chat_proto_rawDescOnce.Do(func() {
  276. file_chat_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_proto_rawDescData)
  277. })
  278. return file_chat_proto_rawDescData
  279. }
  280. var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  281. var file_chat_proto_goTypes = []interface{}{
  282. (*ReceiveRequest)(nil), // 0: api.chat.ReceiveRequest
  283. (*ReceiveReply)(nil), // 1: api.chat.ReceiveReply
  284. (*CheckUserPartnerIsRelationshipReply)(nil), // 2: api.chat.CheckUserPartnerIsRelationshipReply
  285. (*CreateUserPartnerIsRelationshipReply)(nil), // 3: api.chat.CreateUserPartnerIsRelationshipReply
  286. (*common.UserAndPartnerIdParam)(nil), // 4: api.common.UserAndPartnerIdParam
  287. (*common.ListPageAndPersonRequest)(nil), // 5: api.common.ListPageAndPersonRequest
  288. (*common.OnlinePersonListReply)(nil), // 6: api.common.OnlinePersonListReply
  289. }
  290. var file_chat_proto_depIdxs = []int32{
  291. 4, // 0: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
  292. 4, // 1: api.chat.Chat.CreateUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
  293. 5, // 2: api.chat.Chat.FindOnlinePersonList:input_type -> api.common.ListPageAndPersonRequest
  294. 0, // 3: api.chat.Chat.Receive:input_type -> api.chat.ReceiveRequest
  295. 2, // 4: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
  296. 3, // 5: api.chat.Chat.CreateUserPartnerIsRelationship:output_type -> api.chat.CreateUserPartnerIsRelationshipReply
  297. 6, // 6: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.OnlinePersonListReply
  298. 1, // 7: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
  299. 4, // [4:8] is the sub-list for method output_type
  300. 0, // [0:4] is the sub-list for method input_type
  301. 0, // [0:0] is the sub-list for extension type_name
  302. 0, // [0:0] is the sub-list for extension extendee
  303. 0, // [0:0] is the sub-list for field type_name
  304. }
  305. func init() { file_chat_proto_init() }
  306. func file_chat_proto_init() {
  307. if File_chat_proto != nil {
  308. return
  309. }
  310. if !protoimpl.UnsafeEnabled {
  311. file_chat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  312. switch v := v.(*ReceiveRequest); i {
  313. case 0:
  314. return &v.state
  315. case 1:
  316. return &v.sizeCache
  317. case 2:
  318. return &v.unknownFields
  319. default:
  320. return nil
  321. }
  322. }
  323. file_chat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  324. switch v := v.(*ReceiveReply); i {
  325. case 0:
  326. return &v.state
  327. case 1:
  328. return &v.sizeCache
  329. case 2:
  330. return &v.unknownFields
  331. default:
  332. return nil
  333. }
  334. }
  335. file_chat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  336. switch v := v.(*CheckUserPartnerIsRelationshipReply); i {
  337. case 0:
  338. return &v.state
  339. case 1:
  340. return &v.sizeCache
  341. case 2:
  342. return &v.unknownFields
  343. default:
  344. return nil
  345. }
  346. }
  347. file_chat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  348. switch v := v.(*CreateUserPartnerIsRelationshipReply); i {
  349. case 0:
  350. return &v.state
  351. case 1:
  352. return &v.sizeCache
  353. case 2:
  354. return &v.unknownFields
  355. default:
  356. return nil
  357. }
  358. }
  359. }
  360. type x struct{}
  361. out := protoimpl.TypeBuilder{
  362. File: protoimpl.DescBuilder{
  363. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  364. RawDescriptor: file_chat_proto_rawDesc,
  365. NumEnums: 0,
  366. NumMessages: 4,
  367. NumExtensions: 0,
  368. NumServices: 1,
  369. },
  370. GoTypes: file_chat_proto_goTypes,
  371. DependencyIndexes: file_chat_proto_depIdxs,
  372. MessageInfos: file_chat_proto_msgTypes,
  373. }.Build()
  374. File_chat_proto = out.File
  375. file_chat_proto_rawDesc = nil
  376. file_chat_proto_goTypes = nil
  377. file_chat_proto_depIdxs = nil
  378. }