gobus.pb.go 19 KB

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