gobus.pb.go 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.30.0
  4. // protoc v3.19.4
  5. // source: pkg/net/gobus.proto
  6. //
  7. //Файл содержит описание сервиса шины данных с необходимыми
  8. //структурами.
  9. package netapi
  10. import (
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  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. // GetRequest -- ответ на запрос топиков по шаблону
  23. type GetRequest struct {
  24. state protoimpl.MessageState
  25. sizeCache protoimpl.SizeCache
  26. unknownFields protoimpl.UnknownFields
  27. Msg [][]byte `protobuf:"bytes,1,rep,name=Msg,proto3" json:"Msg,omitempty"` // Список сообщений в ответе
  28. }
  29. func (x *GetRequest) Reset() {
  30. *x = GetRequest{}
  31. if protoimpl.UnsafeEnabled {
  32. mi := &file_pkg_net_gobus_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. }
  37. func (x *GetRequest) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*GetRequest) ProtoMessage() {}
  41. func (x *GetRequest) ProtoReflect() protoreflect.Message {
  42. mi := &file_pkg_net_gobus_proto_msgTypes[0]
  43. if protoimpl.UnsafeEnabled && x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
  53. func (*GetRequest) Descriptor() ([]byte, []int) {
  54. return file_pkg_net_gobus_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *GetRequest) GetMsg() [][]byte {
  57. if x != nil {
  58. return x.Msg
  59. }
  60. return nil
  61. }
  62. // SubscribeRequest -- запрос на подписку топиков по шаблону
  63. type SubscribeRequest struct {
  64. state protoimpl.MessageState
  65. sizeCache protoimpl.SizeCache
  66. unknownFields protoimpl.UnknownFields
  67. Sample string `protobuf:"bytes,1,opt,name=Sample,proto3" json:"Sample,omitempty"` // Шаблон топика на подписку
  68. }
  69. func (x *SubscribeRequest) Reset() {
  70. *x = SubscribeRequest{}
  71. if protoimpl.UnsafeEnabled {
  72. mi := &file_pkg_net_gobus_proto_msgTypes[1]
  73. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  74. ms.StoreMessageInfo(mi)
  75. }
  76. }
  77. func (x *SubscribeRequest) String() string {
  78. return protoimpl.X.MessageStringOf(x)
  79. }
  80. func (*SubscribeRequest) ProtoMessage() {}
  81. func (x *SubscribeRequest) ProtoReflect() protoreflect.Message {
  82. mi := &file_pkg_net_gobus_proto_msgTypes[1]
  83. if protoimpl.UnsafeEnabled && x != nil {
  84. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  85. if ms.LoadMessageInfo() == nil {
  86. ms.StoreMessageInfo(mi)
  87. }
  88. return ms
  89. }
  90. return mi.MessageOf(x)
  91. }
  92. // Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
  93. func (*SubscribeRequest) Descriptor() ([]byte, []int) {
  94. return file_pkg_net_gobus_proto_rawDescGZIP(), []int{1}
  95. }
  96. func (x *SubscribeRequest) GetSample() string {
  97. if x != nil {
  98. return x.Sample
  99. }
  100. return ""
  101. }
  102. // SyncRequest -- синхронный запрос в шину данных
  103. type SyncRequest struct {
  104. state protoimpl.MessageState
  105. sizeCache protoimpl.SizeCache
  106. unknownFields protoimpl.UnknownFields
  107. Source int32 `protobuf:"varint,1,opt,name=Source,proto3" json:"Source,omitempty"` // Источник данных (0 -- клиент, другое -- реплика)
  108. Topic string `protobuf:"bytes,2,opt,name=Topic,proto3" json:"Topic,omitempty"` // Где опубликовать запрос
  109. Msg []byte `protobuf:"bytes,3,opt,name=Msg,proto3" json:"Msg,omitempty"` // Байтовое представление сообщения
  110. }
  111. func (x *SyncRequest) Reset() {
  112. *x = SyncRequest{}
  113. if protoimpl.UnsafeEnabled {
  114. mi := &file_pkg_net_gobus_proto_msgTypes[2]
  115. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  116. ms.StoreMessageInfo(mi)
  117. }
  118. }
  119. func (x *SyncRequest) String() string {
  120. return protoimpl.X.MessageStringOf(x)
  121. }
  122. func (*SyncRequest) ProtoMessage() {}
  123. func (x *SyncRequest) ProtoReflect() protoreflect.Message {
  124. mi := &file_pkg_net_gobus_proto_msgTypes[2]
  125. if protoimpl.UnsafeEnabled && x != nil {
  126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  127. if ms.LoadMessageInfo() == nil {
  128. ms.StoreMessageInfo(mi)
  129. }
  130. return ms
  131. }
  132. return mi.MessageOf(x)
  133. }
  134. // Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.
  135. func (*SyncRequest) Descriptor() ([]byte, []int) {
  136. return file_pkg_net_gobus_proto_rawDescGZIP(), []int{2}
  137. }
  138. func (x *SyncRequest) GetSource() int32 {
  139. if x != nil {
  140. return x.Source
  141. }
  142. return 0
  143. }
  144. func (x *SyncRequest) GetTopic() string {
  145. if x != nil {
  146. return x.Topic
  147. }
  148. return ""
  149. }
  150. func (x *SyncRequest) GetMsg() []byte {
  151. if x != nil {
  152. return x.Msg
  153. }
  154. return nil
  155. }
  156. // SyncResponse -- ответ на синхронный запрос
  157. type SyncResponse struct {
  158. state protoimpl.MessageState
  159. sizeCache protoimpl.SizeCache
  160. unknownFields protoimpl.UnknownFields
  161. Msg []byte `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"` // Содержимое ответа на синхроныый запрос
  162. }
  163. func (x *SyncResponse) Reset() {
  164. *x = SyncResponse{}
  165. if protoimpl.UnsafeEnabled {
  166. mi := &file_pkg_net_gobus_proto_msgTypes[3]
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. ms.StoreMessageInfo(mi)
  169. }
  170. }
  171. func (x *SyncResponse) String() string {
  172. return protoimpl.X.MessageStringOf(x)
  173. }
  174. func (*SyncResponse) ProtoMessage() {}
  175. func (x *SyncResponse) ProtoReflect() protoreflect.Message {
  176. mi := &file_pkg_net_gobus_proto_msgTypes[3]
  177. if protoimpl.UnsafeEnabled && x != nil {
  178. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  179. if ms.LoadMessageInfo() == nil {
  180. ms.StoreMessageInfo(mi)
  181. }
  182. return ms
  183. }
  184. return mi.MessageOf(x)
  185. }
  186. // Deprecated: Use SyncResponse.ProtoReflect.Descriptor instead.
  187. func (*SyncResponse) Descriptor() ([]byte, []int) {
  188. return file_pkg_net_gobus_proto_rawDescGZIP(), []int{3}
  189. }
  190. func (x *SyncResponse) GetMsg() []byte {
  191. if x != nil {
  192. return x.Msg
  193. }
  194. return nil
  195. }
  196. // PublicRequest -- запрос на публикацию сообщения
  197. type PublicRequest struct {
  198. state protoimpl.MessageState
  199. sizeCache protoimpl.SizeCache
  200. unknownFields protoimpl.UnknownFields
  201. Source int32 `protobuf:"varint,1,opt,name=Source,proto3" json:"Source,omitempty"` // Источник данных (0 -- клиент, другое -- реплика)
  202. Topic string `protobuf:"bytes,2,opt,name=Topic,proto3" json:"Topic,omitempty"` // Куда опубликовать сообщение
  203. Msg []byte `protobuf:"bytes,3,opt,name=Msg,proto3" json:"Msg,omitempty"` // Байтовое представление сообщения
  204. }
  205. func (x *PublicRequest) Reset() {
  206. *x = PublicRequest{}
  207. if protoimpl.UnsafeEnabled {
  208. mi := &file_pkg_net_gobus_proto_msgTypes[4]
  209. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  210. ms.StoreMessageInfo(mi)
  211. }
  212. }
  213. func (x *PublicRequest) String() string {
  214. return protoimpl.X.MessageStringOf(x)
  215. }
  216. func (*PublicRequest) ProtoMessage() {}
  217. func (x *PublicRequest) ProtoReflect() protoreflect.Message {
  218. mi := &file_pkg_net_gobus_proto_msgTypes[4]
  219. if protoimpl.UnsafeEnabled && x != nil {
  220. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  221. if ms.LoadMessageInfo() == nil {
  222. ms.StoreMessageInfo(mi)
  223. }
  224. return ms
  225. }
  226. return mi.MessageOf(x)
  227. }
  228. // Deprecated: Use PublicRequest.ProtoReflect.Descriptor instead.
  229. func (*PublicRequest) Descriptor() ([]byte, []int) {
  230. return file_pkg_net_gobus_proto_rawDescGZIP(), []int{4}
  231. }
  232. func (x *PublicRequest) GetSource() int32 {
  233. if x != nil {
  234. return x.Source
  235. }
  236. return 0
  237. }
  238. func (x *PublicRequest) GetTopic() string {
  239. if x != nil {
  240. return x.Topic
  241. }
  242. return ""
  243. }
  244. func (x *PublicRequest) GetMsg() []byte {
  245. if x != nil {
  246. return x.Msg
  247. }
  248. return nil
  249. }
  250. // DefaultResponse -- возвращаемое значение по умолчанию (ничего не содержит)
  251. type DefaultResponse struct {
  252. state protoimpl.MessageState
  253. sizeCache protoimpl.SizeCache
  254. unknownFields protoimpl.UnknownFields
  255. }
  256. func (x *DefaultResponse) Reset() {
  257. *x = DefaultResponse{}
  258. if protoimpl.UnsafeEnabled {
  259. mi := &file_pkg_net_gobus_proto_msgTypes[5]
  260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  261. ms.StoreMessageInfo(mi)
  262. }
  263. }
  264. func (x *DefaultResponse) String() string {
  265. return protoimpl.X.MessageStringOf(x)
  266. }
  267. func (*DefaultResponse) ProtoMessage() {}
  268. func (x *DefaultResponse) ProtoReflect() protoreflect.Message {
  269. mi := &file_pkg_net_gobus_proto_msgTypes[5]
  270. if protoimpl.UnsafeEnabled && x != nil {
  271. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  272. if ms.LoadMessageInfo() == nil {
  273. ms.StoreMessageInfo(mi)
  274. }
  275. return ms
  276. }
  277. return mi.MessageOf(x)
  278. }
  279. // Deprecated: Use DefaultResponse.ProtoReflect.Descriptor instead.
  280. func (*DefaultResponse) Descriptor() ([]byte, []int) {
  281. return file_pkg_net_gobus_proto_rawDescGZIP(), []int{5}
  282. }
  283. var File_pkg_net_gobus_proto protoreflect.FileDescriptor
  284. var file_pkg_net_gobus_proto_rawDesc = []byte{
  285. 0x0a, 0x13, 0x70, 0x6b, 0x67, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x6f, 0x62, 0x75, 0x73, 0x2e,
  286. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x61, 0x72, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x22,
  287. 0x1e, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a,
  288. 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x22,
  289. 0x2a, 0x0a, 0x10, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75,
  290. 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20,
  291. 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x22, 0x4d, 0x0a, 0x0b, 0x53,
  292. 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x6f,
  293. 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53, 0x6f, 0x75, 0x72,
  294. 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28,
  295. 0x09, 0x52, 0x05, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18,
  296. 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x22, 0x20, 0x0a, 0x0c, 0x53, 0x79,
  297. 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73,
  298. 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x22, 0x4f, 0x0a, 0x0d,
  299. 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a,
  300. 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53,
  301. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02,
  302. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x4d,
  303. 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x22, 0x11, 0x0a,
  304. 0x0f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  305. 0x32, 0xcf, 0x02, 0x0a, 0x05, 0x47, 0x6f, 0x42, 0x75, 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x50, 0x75,
  306. 0x62, 0x6c, 0x69, 0x63, 0x12, 0x17, 0x2e, 0x70, 0x61, 0x72, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x2e,
  307. 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e,
  308. 0x70, 0x61, 0x72, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
  309. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x08, 0x53, 0x65,
  310. 0x6e, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x15, 0x2e, 0x70, 0x61, 0x72, 0x73, 0x65, 0x72, 0x69,
  311. 0x6e, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
  312. 0x70, 0x61, 0x72, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73,
  313. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63,
  314. 0x72, 0x69, 0x62, 0x65, 0x12, 0x1a, 0x2e, 0x70, 0x61, 0x72, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x2e,
  315. 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  316. 0x1a, 0x16, 0x2e, 0x70, 0x61, 0x72, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x2e, 0x53, 0x79, 0x6e, 0x63,
  317. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x49, 0x0a, 0x0f,
  318. 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12,
  319. 0x1a, 0x2e, 0x70, 0x61, 0x72, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63,
  320. 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x70, 0x61,
  321. 0x72, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f,
  322. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x39, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x1a,
  323. 0x2e, 0x70, 0x61, 0x72, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
  324. 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x61, 0x72,
  325. 0x73, 0x65, 0x72, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  326. 0x22, 0x00, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x6e, 0x65, 0x74, 0x61, 0x70, 0x69, 0x62, 0x06,
  327. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  328. }
  329. var (
  330. file_pkg_net_gobus_proto_rawDescOnce sync.Once
  331. file_pkg_net_gobus_proto_rawDescData = file_pkg_net_gobus_proto_rawDesc
  332. )
  333. func file_pkg_net_gobus_proto_rawDescGZIP() []byte {
  334. file_pkg_net_gobus_proto_rawDescOnce.Do(func() {
  335. file_pkg_net_gobus_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_net_gobus_proto_rawDescData)
  336. })
  337. return file_pkg_net_gobus_proto_rawDescData
  338. }
  339. var file_pkg_net_gobus_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  340. var file_pkg_net_gobus_proto_goTypes = []interface{}{
  341. (*GetRequest)(nil), // 0: parserin.GetRequest
  342. (*SubscribeRequest)(nil), // 1: parserin.SubscribeRequest
  343. (*SyncRequest)(nil), // 2: parserin.SyncRequest
  344. (*SyncResponse)(nil), // 3: parserin.SyncResponse
  345. (*PublicRequest)(nil), // 4: parserin.PublicRequest
  346. (*DefaultResponse)(nil), // 5: parserin.DefaultResponse
  347. }
  348. var file_pkg_net_gobus_proto_depIdxs = []int32{
  349. 4, // 0: parserin.GoBus.Public:input_type -> parserin.PublicRequest
  350. 2, // 1: parserin.GoBus.SendSync:input_type -> parserin.SyncRequest
  351. 1, // 2: parserin.GoBus.Subscribe:input_type -> parserin.SubscribeRequest
  352. 1, // 3: parserin.GoBus.SubscribeBuffer:input_type -> parserin.SubscribeRequest
  353. 1, // 4: parserin.GoBus.Get:input_type -> parserin.SubscribeRequest
  354. 5, // 5: parserin.GoBus.Public:output_type -> parserin.DefaultResponse
  355. 3, // 6: parserin.GoBus.SendSync:output_type -> parserin.SyncResponse
  356. 3, // 7: parserin.GoBus.Subscribe:output_type -> parserin.SyncResponse
  357. 3, // 8: parserin.GoBus.SubscribeBuffer:output_type -> parserin.SyncResponse
  358. 0, // 9: parserin.GoBus.Get:output_type -> parserin.GetRequest
  359. 5, // [5:10] is the sub-list for method output_type
  360. 0, // [0:5] is the sub-list for method input_type
  361. 0, // [0:0] is the sub-list for extension type_name
  362. 0, // [0:0] is the sub-list for extension extendee
  363. 0, // [0:0] is the sub-list for field type_name
  364. }
  365. func init() { file_pkg_net_gobus_proto_init() }
  366. func file_pkg_net_gobus_proto_init() {
  367. if File_pkg_net_gobus_proto != nil {
  368. return
  369. }
  370. if !protoimpl.UnsafeEnabled {
  371. file_pkg_net_gobus_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  372. switch v := v.(*GetRequest); i {
  373. case 0:
  374. return &v.state
  375. case 1:
  376. return &v.sizeCache
  377. case 2:
  378. return &v.unknownFields
  379. default:
  380. return nil
  381. }
  382. }
  383. file_pkg_net_gobus_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  384. switch v := v.(*SubscribeRequest); i {
  385. case 0:
  386. return &v.state
  387. case 1:
  388. return &v.sizeCache
  389. case 2:
  390. return &v.unknownFields
  391. default:
  392. return nil
  393. }
  394. }
  395. file_pkg_net_gobus_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  396. switch v := v.(*SyncRequest); i {
  397. case 0:
  398. return &v.state
  399. case 1:
  400. return &v.sizeCache
  401. case 2:
  402. return &v.unknownFields
  403. default:
  404. return nil
  405. }
  406. }
  407. file_pkg_net_gobus_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  408. switch v := v.(*SyncResponse); i {
  409. case 0:
  410. return &v.state
  411. case 1:
  412. return &v.sizeCache
  413. case 2:
  414. return &v.unknownFields
  415. default:
  416. return nil
  417. }
  418. }
  419. file_pkg_net_gobus_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  420. switch v := v.(*PublicRequest); i {
  421. case 0:
  422. return &v.state
  423. case 1:
  424. return &v.sizeCache
  425. case 2:
  426. return &v.unknownFields
  427. default:
  428. return nil
  429. }
  430. }
  431. file_pkg_net_gobus_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  432. switch v := v.(*DefaultResponse); i {
  433. case 0:
  434. return &v.state
  435. case 1:
  436. return &v.sizeCache
  437. case 2:
  438. return &v.unknownFields
  439. default:
  440. return nil
  441. }
  442. }
  443. }
  444. type x struct{}
  445. out := protoimpl.TypeBuilder{
  446. File: protoimpl.DescBuilder{
  447. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  448. RawDescriptor: file_pkg_net_gobus_proto_rawDesc,
  449. NumEnums: 0,
  450. NumMessages: 6,
  451. NumExtensions: 0,
  452. NumServices: 1,
  453. },
  454. GoTypes: file_pkg_net_gobus_proto_goTypes,
  455. DependencyIndexes: file_pkg_net_gobus_proto_depIdxs,
  456. MessageInfos: file_pkg_net_gobus_proto_msgTypes,
  457. }.Build()
  458. File_pkg_net_gobus_proto = out.File
  459. file_pkg_net_gobus_proto_rawDesc = nil
  460. file_pkg_net_gobus_proto_goTypes = nil
  461. file_pkg_net_gobus_proto_depIdxs = nil
  462. }