chat.pb.go 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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. base "git.ikuban.com/server/pw-protobuf/api/base"
  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 CheckUserPartnerIsRelationshipReply struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. IsBuildRelationship bool `protobuf:"varint,1,opt,name=isBuildRelationship,proto3" json:"isBuildRelationship"`
  25. RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId"`
  26. }
  27. func (x *CheckUserPartnerIsRelationshipReply) Reset() {
  28. *x = CheckUserPartnerIsRelationshipReply{}
  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 *CheckUserPartnerIsRelationshipReply) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*CheckUserPartnerIsRelationshipReply) ProtoMessage() {}
  39. func (x *CheckUserPartnerIsRelationshipReply) 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 CheckUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
  51. func (*CheckUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
  52. return file_chat_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *CheckUserPartnerIsRelationshipReply) GetIsBuildRelationship() bool {
  55. if x != nil {
  56. return x.IsBuildRelationship
  57. }
  58. return false
  59. }
  60. func (x *CheckUserPartnerIsRelationshipReply) GetRoomId() int64 {
  61. if x != nil {
  62. return x.RoomId
  63. }
  64. return 0
  65. }
  66. type CreateUserPartnerIsRelationshipReply struct {
  67. state protoimpl.MessageState
  68. sizeCache protoimpl.SizeCache
  69. unknownFields protoimpl.UnknownFields
  70. RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId"`
  71. }
  72. func (x *CreateUserPartnerIsRelationshipReply) Reset() {
  73. *x = CreateUserPartnerIsRelationshipReply{}
  74. if protoimpl.UnsafeEnabled {
  75. mi := &file_chat_proto_msgTypes[1]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. }
  80. func (x *CreateUserPartnerIsRelationshipReply) String() string {
  81. return protoimpl.X.MessageStringOf(x)
  82. }
  83. func (*CreateUserPartnerIsRelationshipReply) ProtoMessage() {}
  84. func (x *CreateUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
  85. mi := &file_chat_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 CreateUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
  96. func (*CreateUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
  97. return file_chat_proto_rawDescGZIP(), []int{1}
  98. }
  99. func (x *CreateUserPartnerIsRelationshipReply) GetRoomId() int64 {
  100. if x != nil {
  101. return x.RoomId
  102. }
  103. return 0
  104. }
  105. var File_chat_proto protoreflect.FileDescriptor
  106. var file_chat_proto_rawDesc = []byte{
  107. 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  108. 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x1a, 0x13, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x73, 0x65,
  109. 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x23, 0x43,
  110. 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49,
  111. 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70,
  112. 0x6c, 0x79, 0x12, 0x30, 0x0a, 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c,
  113. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
  114. 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  115. 0x73, 0x68, 0x69, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x02,
  116. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x24,
  117. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65,
  118. 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52,
  119. 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01,
  120. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0xec, 0x01, 0x0a,
  121. 0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x70, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73,
  122. 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74,
  123. 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61,
  124. 0x73, 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65,
  125. 0x72, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  126. 0x68, 0x61, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72,
  127. 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68,
  128. 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x72, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74,
  129. 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65,
  130. 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x1f, 0x2e, 0x61, 0x70, 0x69,
  131. 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72,
  132. 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x2e, 0x2e, 0x61, 0x70,
  133. 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
  134. 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,
  135. 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x42, 0x3d, 0x0a, 0x08, 0x61,
  136. 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69,
  137. 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
  138. 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69,
  139. 0x2f, 0x63, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68, 0x61, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  140. 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. (*CheckUserPartnerIsRelationshipReply)(nil), // 0: api.chat.CheckUserPartnerIsRelationshipReply
  155. (*CreateUserPartnerIsRelationshipReply)(nil), // 1: api.chat.CreateUserPartnerIsRelationshipReply
  156. (*base.UserAndPartnerIdParam)(nil), // 2: api.base.UserAndPartnerIdParam
  157. }
  158. var file_chat_proto_depIdxs = []int32{
  159. 2, // 0: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.base.UserAndPartnerIdParam
  160. 2, // 1: api.chat.Chat.CreateUserPartnerIsRelationship:input_type -> api.base.UserAndPartnerIdParam
  161. 0, // 2: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
  162. 1, // 3: api.chat.Chat.CreateUserPartnerIsRelationship:output_type -> api.chat.CreateUserPartnerIsRelationshipReply
  163. 2, // [2:4] is the sub-list for method output_type
  164. 0, // [0:2] is the sub-list for method input_type
  165. 0, // [0:0] is the sub-list for extension type_name
  166. 0, // [0:0] is the sub-list for extension extendee
  167. 0, // [0:0] is the sub-list for field type_name
  168. }
  169. func init() { file_chat_proto_init() }
  170. func file_chat_proto_init() {
  171. if File_chat_proto != nil {
  172. return
  173. }
  174. if !protoimpl.UnsafeEnabled {
  175. file_chat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  176. switch v := v.(*CheckUserPartnerIsRelationshipReply); i {
  177. case 0:
  178. return &v.state
  179. case 1:
  180. return &v.sizeCache
  181. case 2:
  182. return &v.unknownFields
  183. default:
  184. return nil
  185. }
  186. }
  187. file_chat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  188. switch v := v.(*CreateUserPartnerIsRelationshipReply); i {
  189. case 0:
  190. return &v.state
  191. case 1:
  192. return &v.sizeCache
  193. case 2:
  194. return &v.unknownFields
  195. default:
  196. return nil
  197. }
  198. }
  199. }
  200. type x struct{}
  201. out := protoimpl.TypeBuilder{
  202. File: protoimpl.DescBuilder{
  203. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  204. RawDescriptor: file_chat_proto_rawDesc,
  205. NumEnums: 0,
  206. NumMessages: 2,
  207. NumExtensions: 0,
  208. NumServices: 1,
  209. },
  210. GoTypes: file_chat_proto_goTypes,
  211. DependencyIndexes: file_chat_proto_depIdxs,
  212. MessageInfos: file_chat_proto_msgTypes,
  213. }.Build()
  214. File_chat_proto = out.File
  215. file_chat_proto_rawDesc = nil
  216. file_chat_proto_goTypes = nil
  217. file_chat_proto_depIdxs = nil
  218. }