chat.pb.go 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. _ "google.golang.org/genproto/googleapis/api/annotations"
  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. _ "google.golang.org/protobuf/types/known/structpb"
  13. reflect "reflect"
  14. sync "sync"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type CheckUserPartnerIsRelationshipRequest struct {
  23. state protoimpl.MessageState
  24. sizeCache protoimpl.SizeCache
  25. unknownFields protoimpl.UnknownFields
  26. PartnerID string `protobuf:"bytes,1,opt,name=partnerID,proto3" json:"partnerID"`
  27. }
  28. func (x *CheckUserPartnerIsRelationshipRequest) Reset() {
  29. *x = CheckUserPartnerIsRelationshipRequest{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_chat_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *CheckUserPartnerIsRelationshipRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*CheckUserPartnerIsRelationshipRequest) ProtoMessage() {}
  40. func (x *CheckUserPartnerIsRelationshipRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_chat_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use CheckUserPartnerIsRelationshipRequest.ProtoReflect.Descriptor instead.
  52. func (*CheckUserPartnerIsRelationshipRequest) Descriptor() ([]byte, []int) {
  53. return file_chat_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *CheckUserPartnerIsRelationshipRequest) GetPartnerID() string {
  56. if x != nil {
  57. return x.PartnerID
  58. }
  59. return ""
  60. }
  61. type CheckUserPartnerIsRelationshipReply struct {
  62. state protoimpl.MessageState
  63. sizeCache protoimpl.SizeCache
  64. unknownFields protoimpl.UnknownFields
  65. IsBuildRelationship bool `protobuf:"varint,1,opt,name=isBuildRelationship,proto3" json:"isBuildRelationship"`
  66. RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId"`
  67. }
  68. func (x *CheckUserPartnerIsRelationshipReply) Reset() {
  69. *x = CheckUserPartnerIsRelationshipReply{}
  70. if protoimpl.UnsafeEnabled {
  71. mi := &file_chat_proto_msgTypes[1]
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. ms.StoreMessageInfo(mi)
  74. }
  75. }
  76. func (x *CheckUserPartnerIsRelationshipReply) String() string {
  77. return protoimpl.X.MessageStringOf(x)
  78. }
  79. func (*CheckUserPartnerIsRelationshipReply) ProtoMessage() {}
  80. func (x *CheckUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
  81. mi := &file_chat_proto_msgTypes[1]
  82. if protoimpl.UnsafeEnabled && x != nil {
  83. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  84. if ms.LoadMessageInfo() == nil {
  85. ms.StoreMessageInfo(mi)
  86. }
  87. return ms
  88. }
  89. return mi.MessageOf(x)
  90. }
  91. // Deprecated: Use CheckUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
  92. func (*CheckUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
  93. return file_chat_proto_rawDescGZIP(), []int{1}
  94. }
  95. func (x *CheckUserPartnerIsRelationshipReply) GetIsBuildRelationship() bool {
  96. if x != nil {
  97. return x.IsBuildRelationship
  98. }
  99. return false
  100. }
  101. func (x *CheckUserPartnerIsRelationshipReply) GetRoomId() int64 {
  102. if x != nil {
  103. return x.RoomId
  104. }
  105. return 0
  106. }
  107. var File_chat_proto protoreflect.FileDescriptor
  108. var file_chat_proto_rawDesc = []byte{
  109. 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  110. 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
  111. 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
  112. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
  113. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f,
  114. 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  115. 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  116. 0x45, 0x0a, 0x25, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74,
  117. 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69,
  118. 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74,
  119. 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72,
  120. 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x22, 0x6f, 0x0a, 0x23, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55,
  121. 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61,
  122. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a,
  123. 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  124. 0x73, 0x68, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x42, 0x75,
  125. 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12,
  126. 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  127. 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0x89, 0x01, 0x0a, 0x04, 0x43, 0x68, 0x61, 0x74,
  128. 0x12, 0x80, 0x01, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61,
  129. 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  130. 0x68, 0x69, 0x70, 0x12, 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43,
  131. 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49,
  132. 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71,
  133. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e,
  134. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
  135. 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65,
  136. 0x70, 0x6c, 0x79, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x50,
  137. 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f,
  138. 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74,
  139. 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68,
  140. 0x61, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  141. }
  142. var (
  143. file_chat_proto_rawDescOnce sync.Once
  144. file_chat_proto_rawDescData = file_chat_proto_rawDesc
  145. )
  146. func file_chat_proto_rawDescGZIP() []byte {
  147. file_chat_proto_rawDescOnce.Do(func() {
  148. file_chat_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_proto_rawDescData)
  149. })
  150. return file_chat_proto_rawDescData
  151. }
  152. var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  153. var file_chat_proto_goTypes = []interface{}{
  154. (*CheckUserPartnerIsRelationshipRequest)(nil), // 0: api.chat.CheckUserPartnerIsRelationshipRequest
  155. (*CheckUserPartnerIsRelationshipReply)(nil), // 1: api.chat.CheckUserPartnerIsRelationshipReply
  156. }
  157. var file_chat_proto_depIdxs = []int32{
  158. 0, // 0: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.chat.CheckUserPartnerIsRelationshipRequest
  159. 1, // 1: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
  160. 1, // [1:2] is the sub-list for method output_type
  161. 0, // [0:1] is the sub-list for method input_type
  162. 0, // [0:0] is the sub-list for extension type_name
  163. 0, // [0:0] is the sub-list for extension extendee
  164. 0, // [0:0] is the sub-list for field type_name
  165. }
  166. func init() { file_chat_proto_init() }
  167. func file_chat_proto_init() {
  168. if File_chat_proto != nil {
  169. return
  170. }
  171. if !protoimpl.UnsafeEnabled {
  172. file_chat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  173. switch v := v.(*CheckUserPartnerIsRelationshipRequest); i {
  174. case 0:
  175. return &v.state
  176. case 1:
  177. return &v.sizeCache
  178. case 2:
  179. return &v.unknownFields
  180. default:
  181. return nil
  182. }
  183. }
  184. file_chat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  185. switch v := v.(*CheckUserPartnerIsRelationshipReply); i {
  186. case 0:
  187. return &v.state
  188. case 1:
  189. return &v.sizeCache
  190. case 2:
  191. return &v.unknownFields
  192. default:
  193. return nil
  194. }
  195. }
  196. }
  197. type x struct{}
  198. out := protoimpl.TypeBuilder{
  199. File: protoimpl.DescBuilder{
  200. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  201. RawDescriptor: file_chat_proto_rawDesc,
  202. NumEnums: 0,
  203. NumMessages: 2,
  204. NumExtensions: 0,
  205. NumServices: 1,
  206. },
  207. GoTypes: file_chat_proto_goTypes,
  208. DependencyIndexes: file_chat_proto_depIdxs,
  209. MessageInfos: file_chat_proto_msgTypes,
  210. }.Build()
  211. File_chat_proto = out.File
  212. file_chat_proto_rawDesc = nil
  213. file_chat_proto_goTypes = nil
  214. file_chat_proto_depIdxs = nil
  215. }