rpcbff.pb.go 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.0
  4. // protoc v3.19.4
  5. // source: pb/rpcbff.proto
  6. package pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type ChatMsgReq struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
  24. }
  25. func (x *ChatMsgReq) Reset() {
  26. *x = ChatMsgReq{}
  27. if protoimpl.UnsafeEnabled {
  28. mi := &file_pb_rpcbff_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. }
  33. func (x *ChatMsgReq) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*ChatMsgReq) ProtoMessage() {}
  37. func (x *ChatMsgReq) ProtoReflect() protoreflect.Message {
  38. mi := &file_pb_rpcbff_proto_msgTypes[0]
  39. if protoimpl.UnsafeEnabled && x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use ChatMsgReq.ProtoReflect.Descriptor instead.
  49. func (*ChatMsgReq) Descriptor() ([]byte, []int) {
  50. return file_pb_rpcbff_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *ChatMsgReq) GetChatId() string {
  53. if x != nil {
  54. return x.ChatId
  55. }
  56. return ""
  57. }
  58. type ChatMsgReqResp struct {
  59. state protoimpl.MessageState
  60. sizeCache protoimpl.SizeCache
  61. unknownFields protoimpl.UnknownFields
  62. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
  63. Pic string `protobuf:"bytes,2,opt,name=pic,proto3" json:"pic,omitempty"`
  64. }
  65. func (x *ChatMsgReqResp) Reset() {
  66. *x = ChatMsgReqResp{}
  67. if protoimpl.UnsafeEnabled {
  68. mi := &file_pb_rpcbff_proto_msgTypes[1]
  69. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  70. ms.StoreMessageInfo(mi)
  71. }
  72. }
  73. func (x *ChatMsgReqResp) String() string {
  74. return protoimpl.X.MessageStringOf(x)
  75. }
  76. func (*ChatMsgReqResp) ProtoMessage() {}
  77. func (x *ChatMsgReqResp) ProtoReflect() protoreflect.Message {
  78. mi := &file_pb_rpcbff_proto_msgTypes[1]
  79. if protoimpl.UnsafeEnabled && x != nil {
  80. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  81. if ms.LoadMessageInfo() == nil {
  82. ms.StoreMessageInfo(mi)
  83. }
  84. return ms
  85. }
  86. return mi.MessageOf(x)
  87. }
  88. // Deprecated: Use ChatMsgReqResp.ProtoReflect.Descriptor instead.
  89. func (*ChatMsgReqResp) Descriptor() ([]byte, []int) {
  90. return file_pb_rpcbff_proto_rawDescGZIP(), []int{1}
  91. }
  92. func (x *ChatMsgReqResp) GetText() string {
  93. if x != nil {
  94. return x.Text
  95. }
  96. return ""
  97. }
  98. func (x *ChatMsgReqResp) GetPic() string {
  99. if x != nil {
  100. return x.Pic
  101. }
  102. return ""
  103. }
  104. var File_pb_rpcbff_proto protoreflect.FileDescriptor
  105. var file_pb_rpcbff_proto_rawDesc = []byte{
  106. 0x0a, 0x0f, 0x70, 0x62, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x66, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  107. 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x25, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67,
  108. 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
  109. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x0e,
  110. 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12,
  111. 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65,
  112. 0x78, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  113. 0x03, 0x70, 0x69, 0x63, 0x32, 0x41, 0x0a, 0x06, 0x72, 0x70, 0x63, 0x62, 0x66, 0x66, 0x12, 0x37,
  114. 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73,
  115. 0x67, 0x12, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x65,
  116. 0x71, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x65,
  117. 0x71, 0x52, 0x65, 0x73, 0x70, 0x30, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
  118. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  119. }
  120. var (
  121. file_pb_rpcbff_proto_rawDescOnce sync.Once
  122. file_pb_rpcbff_proto_rawDescData = file_pb_rpcbff_proto_rawDesc
  123. )
  124. func file_pb_rpcbff_proto_rawDescGZIP() []byte {
  125. file_pb_rpcbff_proto_rawDescOnce.Do(func() {
  126. file_pb_rpcbff_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_rpcbff_proto_rawDescData)
  127. })
  128. return file_pb_rpcbff_proto_rawDescData
  129. }
  130. var file_pb_rpcbff_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  131. var file_pb_rpcbff_proto_goTypes = []interface{}{
  132. (*ChatMsgReq)(nil), // 0: pb.ChatMsgReq
  133. (*ChatMsgReqResp)(nil), // 1: pb.ChatMsgReqResp
  134. }
  135. var file_pb_rpcbff_proto_depIdxs = []int32{
  136. 0, // 0: pb.rpcbff.receiverChatMsg:input_type -> pb.ChatMsgReq
  137. 1, // 1: pb.rpcbff.receiverChatMsg:output_type -> pb.ChatMsgReqResp
  138. 1, // [1:2] is the sub-list for method output_type
  139. 0, // [0:1] is the sub-list for method input_type
  140. 0, // [0:0] is the sub-list for extension type_name
  141. 0, // [0:0] is the sub-list for extension extendee
  142. 0, // [0:0] is the sub-list for field type_name
  143. }
  144. func init() { file_pb_rpcbff_proto_init() }
  145. func file_pb_rpcbff_proto_init() {
  146. if File_pb_rpcbff_proto != nil {
  147. return
  148. }
  149. if !protoimpl.UnsafeEnabled {
  150. file_pb_rpcbff_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  151. switch v := v.(*ChatMsgReq); i {
  152. case 0:
  153. return &v.state
  154. case 1:
  155. return &v.sizeCache
  156. case 2:
  157. return &v.unknownFields
  158. default:
  159. return nil
  160. }
  161. }
  162. file_pb_rpcbff_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  163. switch v := v.(*ChatMsgReqResp); i {
  164. case 0:
  165. return &v.state
  166. case 1:
  167. return &v.sizeCache
  168. case 2:
  169. return &v.unknownFields
  170. default:
  171. return nil
  172. }
  173. }
  174. }
  175. type x struct{}
  176. out := protoimpl.TypeBuilder{
  177. File: protoimpl.DescBuilder{
  178. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  179. RawDescriptor: file_pb_rpcbff_proto_rawDesc,
  180. NumEnums: 0,
  181. NumMessages: 2,
  182. NumExtensions: 0,
  183. NumServices: 1,
  184. },
  185. GoTypes: file_pb_rpcbff_proto_goTypes,
  186. DependencyIndexes: file_pb_rpcbff_proto_depIdxs,
  187. MessageInfos: file_pb_rpcbff_proto_msgTypes,
  188. }.Build()
  189. File_pb_rpcbff_proto = out.File
  190. file_pb_rpcbff_proto_rawDesc = nil
  191. file_pb_rpcbff_proto_goTypes = nil
  192. file_pb_rpcbff_proto_depIdxs = nil
  193. }