mq_agent.pb.go 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.34.2
  4. // protoc v5.28.3
  5. // source: mq_agent.proto
  6. package mq_agent_pb
  7. import (
  8. schema_pb "github.com/seaweedfs/seaweedfs/weed/pb/schema_pb"
  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. // ////////////////////////////////////////////////
  21. type StartPublishSessionRequest struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  26. PartitionCount int32 `protobuf:"varint,2,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
  27. RecordType *schema_pb.RecordType `protobuf:"bytes,3,opt,name=record_type,json=recordType,proto3" json:"record_type,omitempty"`
  28. PublisherName string `protobuf:"bytes,4,opt,name=publisher_name,json=publisherName,proto3" json:"publisher_name,omitempty"`
  29. }
  30. func (x *StartPublishSessionRequest) Reset() {
  31. *x = StartPublishSessionRequest{}
  32. if protoimpl.UnsafeEnabled {
  33. mi := &file_mq_agent_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. }
  38. func (x *StartPublishSessionRequest) String() string {
  39. return protoimpl.X.MessageStringOf(x)
  40. }
  41. func (*StartPublishSessionRequest) ProtoMessage() {}
  42. func (x *StartPublishSessionRequest) ProtoReflect() protoreflect.Message {
  43. mi := &file_mq_agent_proto_msgTypes[0]
  44. if protoimpl.UnsafeEnabled && x != nil {
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. if ms.LoadMessageInfo() == nil {
  47. ms.StoreMessageInfo(mi)
  48. }
  49. return ms
  50. }
  51. return mi.MessageOf(x)
  52. }
  53. // Deprecated: Use StartPublishSessionRequest.ProtoReflect.Descriptor instead.
  54. func (*StartPublishSessionRequest) Descriptor() ([]byte, []int) {
  55. return file_mq_agent_proto_rawDescGZIP(), []int{0}
  56. }
  57. func (x *StartPublishSessionRequest) GetTopic() *schema_pb.Topic {
  58. if x != nil {
  59. return x.Topic
  60. }
  61. return nil
  62. }
  63. func (x *StartPublishSessionRequest) GetPartitionCount() int32 {
  64. if x != nil {
  65. return x.PartitionCount
  66. }
  67. return 0
  68. }
  69. func (x *StartPublishSessionRequest) GetRecordType() *schema_pb.RecordType {
  70. if x != nil {
  71. return x.RecordType
  72. }
  73. return nil
  74. }
  75. func (x *StartPublishSessionRequest) GetPublisherName() string {
  76. if x != nil {
  77. return x.PublisherName
  78. }
  79. return ""
  80. }
  81. type StartPublishSessionResponse struct {
  82. state protoimpl.MessageState
  83. sizeCache protoimpl.SizeCache
  84. unknownFields protoimpl.UnknownFields
  85. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  86. SessionId int64 `protobuf:"varint,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
  87. }
  88. func (x *StartPublishSessionResponse) Reset() {
  89. *x = StartPublishSessionResponse{}
  90. if protoimpl.UnsafeEnabled {
  91. mi := &file_mq_agent_proto_msgTypes[1]
  92. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  93. ms.StoreMessageInfo(mi)
  94. }
  95. }
  96. func (x *StartPublishSessionResponse) String() string {
  97. return protoimpl.X.MessageStringOf(x)
  98. }
  99. func (*StartPublishSessionResponse) ProtoMessage() {}
  100. func (x *StartPublishSessionResponse) ProtoReflect() protoreflect.Message {
  101. mi := &file_mq_agent_proto_msgTypes[1]
  102. if protoimpl.UnsafeEnabled && x != nil {
  103. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  104. if ms.LoadMessageInfo() == nil {
  105. ms.StoreMessageInfo(mi)
  106. }
  107. return ms
  108. }
  109. return mi.MessageOf(x)
  110. }
  111. // Deprecated: Use StartPublishSessionResponse.ProtoReflect.Descriptor instead.
  112. func (*StartPublishSessionResponse) Descriptor() ([]byte, []int) {
  113. return file_mq_agent_proto_rawDescGZIP(), []int{1}
  114. }
  115. func (x *StartPublishSessionResponse) GetError() string {
  116. if x != nil {
  117. return x.Error
  118. }
  119. return ""
  120. }
  121. func (x *StartPublishSessionResponse) GetSessionId() int64 {
  122. if x != nil {
  123. return x.SessionId
  124. }
  125. return 0
  126. }
  127. type ClosePublishSessionRequest struct {
  128. state protoimpl.MessageState
  129. sizeCache protoimpl.SizeCache
  130. unknownFields protoimpl.UnknownFields
  131. SessionId int64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
  132. }
  133. func (x *ClosePublishSessionRequest) Reset() {
  134. *x = ClosePublishSessionRequest{}
  135. if protoimpl.UnsafeEnabled {
  136. mi := &file_mq_agent_proto_msgTypes[2]
  137. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  138. ms.StoreMessageInfo(mi)
  139. }
  140. }
  141. func (x *ClosePublishSessionRequest) String() string {
  142. return protoimpl.X.MessageStringOf(x)
  143. }
  144. func (*ClosePublishSessionRequest) ProtoMessage() {}
  145. func (x *ClosePublishSessionRequest) ProtoReflect() protoreflect.Message {
  146. mi := &file_mq_agent_proto_msgTypes[2]
  147. if protoimpl.UnsafeEnabled && x != nil {
  148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  149. if ms.LoadMessageInfo() == nil {
  150. ms.StoreMessageInfo(mi)
  151. }
  152. return ms
  153. }
  154. return mi.MessageOf(x)
  155. }
  156. // Deprecated: Use ClosePublishSessionRequest.ProtoReflect.Descriptor instead.
  157. func (*ClosePublishSessionRequest) Descriptor() ([]byte, []int) {
  158. return file_mq_agent_proto_rawDescGZIP(), []int{2}
  159. }
  160. func (x *ClosePublishSessionRequest) GetSessionId() int64 {
  161. if x != nil {
  162. return x.SessionId
  163. }
  164. return 0
  165. }
  166. type ClosePublishSessionResponse struct {
  167. state protoimpl.MessageState
  168. sizeCache protoimpl.SizeCache
  169. unknownFields protoimpl.UnknownFields
  170. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  171. }
  172. func (x *ClosePublishSessionResponse) Reset() {
  173. *x = ClosePublishSessionResponse{}
  174. if protoimpl.UnsafeEnabled {
  175. mi := &file_mq_agent_proto_msgTypes[3]
  176. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  177. ms.StoreMessageInfo(mi)
  178. }
  179. }
  180. func (x *ClosePublishSessionResponse) String() string {
  181. return protoimpl.X.MessageStringOf(x)
  182. }
  183. func (*ClosePublishSessionResponse) ProtoMessage() {}
  184. func (x *ClosePublishSessionResponse) ProtoReflect() protoreflect.Message {
  185. mi := &file_mq_agent_proto_msgTypes[3]
  186. if protoimpl.UnsafeEnabled && x != nil {
  187. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  188. if ms.LoadMessageInfo() == nil {
  189. ms.StoreMessageInfo(mi)
  190. }
  191. return ms
  192. }
  193. return mi.MessageOf(x)
  194. }
  195. // Deprecated: Use ClosePublishSessionResponse.ProtoReflect.Descriptor instead.
  196. func (*ClosePublishSessionResponse) Descriptor() ([]byte, []int) {
  197. return file_mq_agent_proto_rawDescGZIP(), []int{3}
  198. }
  199. func (x *ClosePublishSessionResponse) GetError() string {
  200. if x != nil {
  201. return x.Error
  202. }
  203. return ""
  204. }
  205. // ////////////////////////////////////////////////
  206. type PublishRecordRequest struct {
  207. state protoimpl.MessageState
  208. sizeCache protoimpl.SizeCache
  209. unknownFields protoimpl.UnknownFields
  210. SessionId int64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // session_id is required for the first record
  211. Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
  212. Value *schema_pb.RecordValue `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
  213. }
  214. func (x *PublishRecordRequest) Reset() {
  215. *x = PublishRecordRequest{}
  216. if protoimpl.UnsafeEnabled {
  217. mi := &file_mq_agent_proto_msgTypes[4]
  218. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  219. ms.StoreMessageInfo(mi)
  220. }
  221. }
  222. func (x *PublishRecordRequest) String() string {
  223. return protoimpl.X.MessageStringOf(x)
  224. }
  225. func (*PublishRecordRequest) ProtoMessage() {}
  226. func (x *PublishRecordRequest) ProtoReflect() protoreflect.Message {
  227. mi := &file_mq_agent_proto_msgTypes[4]
  228. if protoimpl.UnsafeEnabled && x != nil {
  229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  230. if ms.LoadMessageInfo() == nil {
  231. ms.StoreMessageInfo(mi)
  232. }
  233. return ms
  234. }
  235. return mi.MessageOf(x)
  236. }
  237. // Deprecated: Use PublishRecordRequest.ProtoReflect.Descriptor instead.
  238. func (*PublishRecordRequest) Descriptor() ([]byte, []int) {
  239. return file_mq_agent_proto_rawDescGZIP(), []int{4}
  240. }
  241. func (x *PublishRecordRequest) GetSessionId() int64 {
  242. if x != nil {
  243. return x.SessionId
  244. }
  245. return 0
  246. }
  247. func (x *PublishRecordRequest) GetKey() []byte {
  248. if x != nil {
  249. return x.Key
  250. }
  251. return nil
  252. }
  253. func (x *PublishRecordRequest) GetValue() *schema_pb.RecordValue {
  254. if x != nil {
  255. return x.Value
  256. }
  257. return nil
  258. }
  259. type PublishRecordResponse struct {
  260. state protoimpl.MessageState
  261. sizeCache protoimpl.SizeCache
  262. unknownFields protoimpl.UnknownFields
  263. AckSequence int64 `protobuf:"varint,1,opt,name=ack_sequence,json=ackSequence,proto3" json:"ack_sequence,omitempty"`
  264. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
  265. }
  266. func (x *PublishRecordResponse) Reset() {
  267. *x = PublishRecordResponse{}
  268. if protoimpl.UnsafeEnabled {
  269. mi := &file_mq_agent_proto_msgTypes[5]
  270. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  271. ms.StoreMessageInfo(mi)
  272. }
  273. }
  274. func (x *PublishRecordResponse) String() string {
  275. return protoimpl.X.MessageStringOf(x)
  276. }
  277. func (*PublishRecordResponse) ProtoMessage() {}
  278. func (x *PublishRecordResponse) ProtoReflect() protoreflect.Message {
  279. mi := &file_mq_agent_proto_msgTypes[5]
  280. if protoimpl.UnsafeEnabled && x != nil {
  281. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  282. if ms.LoadMessageInfo() == nil {
  283. ms.StoreMessageInfo(mi)
  284. }
  285. return ms
  286. }
  287. return mi.MessageOf(x)
  288. }
  289. // Deprecated: Use PublishRecordResponse.ProtoReflect.Descriptor instead.
  290. func (*PublishRecordResponse) Descriptor() ([]byte, []int) {
  291. return file_mq_agent_proto_rawDescGZIP(), []int{5}
  292. }
  293. func (x *PublishRecordResponse) GetAckSequence() int64 {
  294. if x != nil {
  295. return x.AckSequence
  296. }
  297. return 0
  298. }
  299. func (x *PublishRecordResponse) GetError() string {
  300. if x != nil {
  301. return x.Error
  302. }
  303. return ""
  304. }
  305. // ////////////////////////////////////////////////
  306. type StartSubscribeSessionRequest struct {
  307. state protoimpl.MessageState
  308. sizeCache protoimpl.SizeCache
  309. unknownFields protoimpl.UnknownFields
  310. ConsumerGroup string `protobuf:"bytes,1,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
  311. ConsumerGroupInstanceId string `protobuf:"bytes,2,opt,name=consumer_group_instance_id,json=consumerGroupInstanceId,proto3" json:"consumer_group_instance_id,omitempty"`
  312. Topic *schema_pb.Topic `protobuf:"bytes,4,opt,name=topic,proto3" json:"topic,omitempty"`
  313. PartitionOffsets []*schema_pb.PartitionOffset `protobuf:"bytes,5,rep,name=partition_offsets,json=partitionOffsets,proto3" json:"partition_offsets,omitempty"`
  314. Filter string `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"`
  315. MaxSubscribedPartitions int32 `protobuf:"varint,8,opt,name=max_subscribed_partitions,json=maxSubscribedPartitions,proto3" json:"max_subscribed_partitions,omitempty"`
  316. SlidingWindowSize int32 `protobuf:"varint,9,opt,name=sliding_window_size,json=slidingWindowSize,proto3" json:"sliding_window_size,omitempty"`
  317. }
  318. func (x *StartSubscribeSessionRequest) Reset() {
  319. *x = StartSubscribeSessionRequest{}
  320. if protoimpl.UnsafeEnabled {
  321. mi := &file_mq_agent_proto_msgTypes[6]
  322. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  323. ms.StoreMessageInfo(mi)
  324. }
  325. }
  326. func (x *StartSubscribeSessionRequest) String() string {
  327. return protoimpl.X.MessageStringOf(x)
  328. }
  329. func (*StartSubscribeSessionRequest) ProtoMessage() {}
  330. func (x *StartSubscribeSessionRequest) ProtoReflect() protoreflect.Message {
  331. mi := &file_mq_agent_proto_msgTypes[6]
  332. if protoimpl.UnsafeEnabled && x != nil {
  333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  334. if ms.LoadMessageInfo() == nil {
  335. ms.StoreMessageInfo(mi)
  336. }
  337. return ms
  338. }
  339. return mi.MessageOf(x)
  340. }
  341. // Deprecated: Use StartSubscribeSessionRequest.ProtoReflect.Descriptor instead.
  342. func (*StartSubscribeSessionRequest) Descriptor() ([]byte, []int) {
  343. return file_mq_agent_proto_rawDescGZIP(), []int{6}
  344. }
  345. func (x *StartSubscribeSessionRequest) GetConsumerGroup() string {
  346. if x != nil {
  347. return x.ConsumerGroup
  348. }
  349. return ""
  350. }
  351. func (x *StartSubscribeSessionRequest) GetConsumerGroupInstanceId() string {
  352. if x != nil {
  353. return x.ConsumerGroupInstanceId
  354. }
  355. return ""
  356. }
  357. func (x *StartSubscribeSessionRequest) GetTopic() *schema_pb.Topic {
  358. if x != nil {
  359. return x.Topic
  360. }
  361. return nil
  362. }
  363. func (x *StartSubscribeSessionRequest) GetPartitionOffsets() []*schema_pb.PartitionOffset {
  364. if x != nil {
  365. return x.PartitionOffsets
  366. }
  367. return nil
  368. }
  369. func (x *StartSubscribeSessionRequest) GetFilter() string {
  370. if x != nil {
  371. return x.Filter
  372. }
  373. return ""
  374. }
  375. func (x *StartSubscribeSessionRequest) GetMaxSubscribedPartitions() int32 {
  376. if x != nil {
  377. return x.MaxSubscribedPartitions
  378. }
  379. return 0
  380. }
  381. func (x *StartSubscribeSessionRequest) GetSlidingWindowSize() int32 {
  382. if x != nil {
  383. return x.SlidingWindowSize
  384. }
  385. return 0
  386. }
  387. type StartSubscribeSessionResponse struct {
  388. state protoimpl.MessageState
  389. sizeCache protoimpl.SizeCache
  390. unknownFields protoimpl.UnknownFields
  391. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  392. SessionId int64 `protobuf:"varint,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
  393. }
  394. func (x *StartSubscribeSessionResponse) Reset() {
  395. *x = StartSubscribeSessionResponse{}
  396. if protoimpl.UnsafeEnabled {
  397. mi := &file_mq_agent_proto_msgTypes[7]
  398. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  399. ms.StoreMessageInfo(mi)
  400. }
  401. }
  402. func (x *StartSubscribeSessionResponse) String() string {
  403. return protoimpl.X.MessageStringOf(x)
  404. }
  405. func (*StartSubscribeSessionResponse) ProtoMessage() {}
  406. func (x *StartSubscribeSessionResponse) ProtoReflect() protoreflect.Message {
  407. mi := &file_mq_agent_proto_msgTypes[7]
  408. if protoimpl.UnsafeEnabled && x != nil {
  409. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  410. if ms.LoadMessageInfo() == nil {
  411. ms.StoreMessageInfo(mi)
  412. }
  413. return ms
  414. }
  415. return mi.MessageOf(x)
  416. }
  417. // Deprecated: Use StartSubscribeSessionResponse.ProtoReflect.Descriptor instead.
  418. func (*StartSubscribeSessionResponse) Descriptor() ([]byte, []int) {
  419. return file_mq_agent_proto_rawDescGZIP(), []int{7}
  420. }
  421. func (x *StartSubscribeSessionResponse) GetError() string {
  422. if x != nil {
  423. return x.Error
  424. }
  425. return ""
  426. }
  427. func (x *StartSubscribeSessionResponse) GetSessionId() int64 {
  428. if x != nil {
  429. return x.SessionId
  430. }
  431. return 0
  432. }
  433. type CloseSubscribeSessionRequest struct {
  434. state protoimpl.MessageState
  435. sizeCache protoimpl.SizeCache
  436. unknownFields protoimpl.UnknownFields
  437. SessionId int64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
  438. }
  439. func (x *CloseSubscribeSessionRequest) Reset() {
  440. *x = CloseSubscribeSessionRequest{}
  441. if protoimpl.UnsafeEnabled {
  442. mi := &file_mq_agent_proto_msgTypes[8]
  443. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  444. ms.StoreMessageInfo(mi)
  445. }
  446. }
  447. func (x *CloseSubscribeSessionRequest) String() string {
  448. return protoimpl.X.MessageStringOf(x)
  449. }
  450. func (*CloseSubscribeSessionRequest) ProtoMessage() {}
  451. func (x *CloseSubscribeSessionRequest) ProtoReflect() protoreflect.Message {
  452. mi := &file_mq_agent_proto_msgTypes[8]
  453. if protoimpl.UnsafeEnabled && x != nil {
  454. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  455. if ms.LoadMessageInfo() == nil {
  456. ms.StoreMessageInfo(mi)
  457. }
  458. return ms
  459. }
  460. return mi.MessageOf(x)
  461. }
  462. // Deprecated: Use CloseSubscribeSessionRequest.ProtoReflect.Descriptor instead.
  463. func (*CloseSubscribeSessionRequest) Descriptor() ([]byte, []int) {
  464. return file_mq_agent_proto_rawDescGZIP(), []int{8}
  465. }
  466. func (x *CloseSubscribeSessionRequest) GetSessionId() int64 {
  467. if x != nil {
  468. return x.SessionId
  469. }
  470. return 0
  471. }
  472. type CloseSubscribeSessionResponse struct {
  473. state protoimpl.MessageState
  474. sizeCache protoimpl.SizeCache
  475. unknownFields protoimpl.UnknownFields
  476. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  477. }
  478. func (x *CloseSubscribeSessionResponse) Reset() {
  479. *x = CloseSubscribeSessionResponse{}
  480. if protoimpl.UnsafeEnabled {
  481. mi := &file_mq_agent_proto_msgTypes[9]
  482. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  483. ms.StoreMessageInfo(mi)
  484. }
  485. }
  486. func (x *CloseSubscribeSessionResponse) String() string {
  487. return protoimpl.X.MessageStringOf(x)
  488. }
  489. func (*CloseSubscribeSessionResponse) ProtoMessage() {}
  490. func (x *CloseSubscribeSessionResponse) ProtoReflect() protoreflect.Message {
  491. mi := &file_mq_agent_proto_msgTypes[9]
  492. if protoimpl.UnsafeEnabled && x != nil {
  493. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  494. if ms.LoadMessageInfo() == nil {
  495. ms.StoreMessageInfo(mi)
  496. }
  497. return ms
  498. }
  499. return mi.MessageOf(x)
  500. }
  501. // Deprecated: Use CloseSubscribeSessionResponse.ProtoReflect.Descriptor instead.
  502. func (*CloseSubscribeSessionResponse) Descriptor() ([]byte, []int) {
  503. return file_mq_agent_proto_rawDescGZIP(), []int{9}
  504. }
  505. func (x *CloseSubscribeSessionResponse) GetError() string {
  506. if x != nil {
  507. return x.Error
  508. }
  509. return ""
  510. }
  511. // ////////////////////////////////////////////////
  512. type SubscribeRecordRequest struct {
  513. state protoimpl.MessageState
  514. sizeCache protoimpl.SizeCache
  515. unknownFields protoimpl.UnknownFields
  516. SessionId int64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // session_id is required for the first record
  517. AckSequence int64 `protobuf:"varint,2,opt,name=ack_sequence,json=ackSequence,proto3" json:"ack_sequence,omitempty"`
  518. AckKey []byte `protobuf:"bytes,3,opt,name=ack_key,json=ackKey,proto3" json:"ack_key,omitempty"`
  519. }
  520. func (x *SubscribeRecordRequest) Reset() {
  521. *x = SubscribeRecordRequest{}
  522. if protoimpl.UnsafeEnabled {
  523. mi := &file_mq_agent_proto_msgTypes[10]
  524. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  525. ms.StoreMessageInfo(mi)
  526. }
  527. }
  528. func (x *SubscribeRecordRequest) String() string {
  529. return protoimpl.X.MessageStringOf(x)
  530. }
  531. func (*SubscribeRecordRequest) ProtoMessage() {}
  532. func (x *SubscribeRecordRequest) ProtoReflect() protoreflect.Message {
  533. mi := &file_mq_agent_proto_msgTypes[10]
  534. if protoimpl.UnsafeEnabled && x != nil {
  535. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  536. if ms.LoadMessageInfo() == nil {
  537. ms.StoreMessageInfo(mi)
  538. }
  539. return ms
  540. }
  541. return mi.MessageOf(x)
  542. }
  543. // Deprecated: Use SubscribeRecordRequest.ProtoReflect.Descriptor instead.
  544. func (*SubscribeRecordRequest) Descriptor() ([]byte, []int) {
  545. return file_mq_agent_proto_rawDescGZIP(), []int{10}
  546. }
  547. func (x *SubscribeRecordRequest) GetSessionId() int64 {
  548. if x != nil {
  549. return x.SessionId
  550. }
  551. return 0
  552. }
  553. func (x *SubscribeRecordRequest) GetAckSequence() int64 {
  554. if x != nil {
  555. return x.AckSequence
  556. }
  557. return 0
  558. }
  559. func (x *SubscribeRecordRequest) GetAckKey() []byte {
  560. if x != nil {
  561. return x.AckKey
  562. }
  563. return nil
  564. }
  565. type SubscribeRecordResponse struct {
  566. state protoimpl.MessageState
  567. sizeCache protoimpl.SizeCache
  568. unknownFields protoimpl.UnknownFields
  569. Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
  570. Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
  571. Value *schema_pb.RecordValue `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
  572. TsNs int64 `protobuf:"varint,4,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
  573. Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
  574. IsEndOfStream bool `protobuf:"varint,6,opt,name=is_end_of_stream,json=isEndOfStream,proto3" json:"is_end_of_stream,omitempty"`
  575. IsEndOfTopic bool `protobuf:"varint,7,opt,name=is_end_of_topic,json=isEndOfTopic,proto3" json:"is_end_of_topic,omitempty"`
  576. }
  577. func (x *SubscribeRecordResponse) Reset() {
  578. *x = SubscribeRecordResponse{}
  579. if protoimpl.UnsafeEnabled {
  580. mi := &file_mq_agent_proto_msgTypes[11]
  581. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  582. ms.StoreMessageInfo(mi)
  583. }
  584. }
  585. func (x *SubscribeRecordResponse) String() string {
  586. return protoimpl.X.MessageStringOf(x)
  587. }
  588. func (*SubscribeRecordResponse) ProtoMessage() {}
  589. func (x *SubscribeRecordResponse) ProtoReflect() protoreflect.Message {
  590. mi := &file_mq_agent_proto_msgTypes[11]
  591. if protoimpl.UnsafeEnabled && x != nil {
  592. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  593. if ms.LoadMessageInfo() == nil {
  594. ms.StoreMessageInfo(mi)
  595. }
  596. return ms
  597. }
  598. return mi.MessageOf(x)
  599. }
  600. // Deprecated: Use SubscribeRecordResponse.ProtoReflect.Descriptor instead.
  601. func (*SubscribeRecordResponse) Descriptor() ([]byte, []int) {
  602. return file_mq_agent_proto_rawDescGZIP(), []int{11}
  603. }
  604. func (x *SubscribeRecordResponse) GetSequence() int64 {
  605. if x != nil {
  606. return x.Sequence
  607. }
  608. return 0
  609. }
  610. func (x *SubscribeRecordResponse) GetKey() []byte {
  611. if x != nil {
  612. return x.Key
  613. }
  614. return nil
  615. }
  616. func (x *SubscribeRecordResponse) GetValue() *schema_pb.RecordValue {
  617. if x != nil {
  618. return x.Value
  619. }
  620. return nil
  621. }
  622. func (x *SubscribeRecordResponse) GetTsNs() int64 {
  623. if x != nil {
  624. return x.TsNs
  625. }
  626. return 0
  627. }
  628. func (x *SubscribeRecordResponse) GetError() string {
  629. if x != nil {
  630. return x.Error
  631. }
  632. return ""
  633. }
  634. func (x *SubscribeRecordResponse) GetIsEndOfStream() bool {
  635. if x != nil {
  636. return x.IsEndOfStream
  637. }
  638. return false
  639. }
  640. func (x *SubscribeRecordResponse) GetIsEndOfTopic() bool {
  641. if x != nil {
  642. return x.IsEndOfTopic
  643. }
  644. return false
  645. }
  646. var File_mq_agent_proto protoreflect.FileDescriptor
  647. var file_mq_agent_proto_rawDesc = []byte{
  648. 0x0a, 0x0e, 0x6d, 0x71, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  649. 0x12, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x1a, 0x0f,
  650. 0x6d, 0x71, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  651. 0xcc, 0x01, 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
  652. 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
  653. 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
  654. 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52,
  655. 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
  656. 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  657. 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  658. 0x36, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
  659. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62,
  660. 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x63,
  661. 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69,
  662. 0x73, 0x68, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  663. 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x52,
  664. 0x0a, 0x1b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65,
  665. 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a,
  666. 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,
  667. 0x72, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
  668. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
  669. 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x1a, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69,
  670. 0x73, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  671. 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01,
  672. 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22,
  673. 0x33, 0x0a, 0x1b, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53,
  674. 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
  675. 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
  676. 0x72, 0x72, 0x6f, 0x72, 0x22, 0x75, 0x0a, 0x14, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52,
  677. 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
  678. 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  679. 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  680. 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a,
  681. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73,
  682. 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x56,
  683. 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x50, 0x0a, 0x15, 0x50,
  684. 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70,
  685. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x71, 0x75,
  686. 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x53,
  687. 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
  688. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xf7, 0x02,
  689. 0x0a, 0x1c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
  690. 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25,
  691. 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70,
  692. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72,
  693. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3b, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65,
  694. 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
  695. 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x63, 0x6f, 0x6e, 0x73, 0x75,
  696. 0x6d, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
  697. 0x49, 0x64, 0x12, 0x26, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28,
  698. 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f,
  699. 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x47, 0x0a, 0x11, 0x70, 0x61,
  700. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x18,
  701. 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70,
  702. 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65,
  703. 0x74, 0x52, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x73,
  704. 0x65, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20,
  705. 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x19, 0x6d,
  706. 0x61, 0x78, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x5f, 0x70, 0x61,
  707. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17,
  708. 0x6d, 0x61, 0x78, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x50, 0x61, 0x72,
  709. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x6c, 0x69, 0x64, 0x69,
  710. 0x6e, 0x67, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09,
  711. 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x73, 0x6c, 0x69, 0x64, 0x69, 0x6e, 0x67, 0x57, 0x69, 0x6e,
  712. 0x64, 0x6f, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x54, 0x0a, 0x1d, 0x53, 0x74, 0x61, 0x72, 0x74,
  713. 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
  714. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f,
  715. 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1d,
  716. 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  717. 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x3d, 0x0a,
  718. 0x1c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53,
  719. 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a,
  720. 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  721. 0x03, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x35, 0x0a, 0x1d,
  722. 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65,
  723. 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a,
  724. 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,
  725. 0x72, 0x6f, 0x72, 0x22, 0x73, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
  726. 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a,
  727. 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  728. 0x03, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c,
  729. 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01,
  730. 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12,
  731. 0x17, 0x0a, 0x07, 0x61, 0x63, 0x6b, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
  732. 0x52, 0x06, 0x61, 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x22, 0xf0, 0x01, 0x0a, 0x17, 0x53, 0x75, 0x62,
  733. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70,
  734. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65,
  735. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65,
  736. 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b,
  737. 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  738. 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65,
  739. 0x63, 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  740. 0x12, 0x13, 0x0a, 0x05, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
  741. 0x04, 0x74, 0x73, 0x4e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05,
  742. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x27, 0x0a, 0x10, 0x69,
  743. 0x73, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18,
  744. 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x45, 0x6e, 0x64, 0x4f, 0x66, 0x53, 0x74,
  745. 0x72, 0x65, 0x61, 0x6d, 0x12, 0x25, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x6f,
  746. 0x66, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69,
  747. 0x73, 0x45, 0x6e, 0x64, 0x4f, 0x66, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x32, 0xa1, 0x05, 0x0a, 0x15,
  748. 0x53, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  749. 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x6c, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75,
  750. 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x6d,
  751. 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72,
  752. 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
  753. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  754. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69,
  755. 0x73, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  756. 0x65, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c,
  757. 0x69, 0x73, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x6d, 0x65, 0x73,
  758. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50,
  759. 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
  760. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  761. 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
  762. 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  763. 0x00, 0x12, 0x5e, 0x0a, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x63, 0x6f,
  764. 0x72, 0x64, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  765. 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52,
  766. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  767. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x63,
  768. 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30,
  769. 0x01, 0x12, 0x72, 0x0a, 0x15, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
  770. 0x69, 0x62, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x6d, 0x65, 0x73,
  771. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53,
  772. 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
  773. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  774. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63,
  775. 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
  776. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x15, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x75,
  777. 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a,
  778. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6c,
  779. 0x6f, 0x73, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x73, 0x73,
  780. 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6d, 0x65, 0x73,
  781. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53,
  782. 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
  783. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0f, 0x53, 0x75, 0x62,
  784. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x24, 0x2e, 0x6d,
  785. 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73,
  786. 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
  787. 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  788. 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72,
  789. 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42,
  790. 0x60, 0x0a, 0x12, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x6d, 0x71, 0x5f,
  791. 0x61, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x16, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x51, 0x75,
  792. 0x65, 0x75, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x32, 0x67,
  793. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65,
  794. 0x64, 0x66, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65,
  795. 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x6d, 0x71, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x70,
  796. 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  797. }
  798. var (
  799. file_mq_agent_proto_rawDescOnce sync.Once
  800. file_mq_agent_proto_rawDescData = file_mq_agent_proto_rawDesc
  801. )
  802. func file_mq_agent_proto_rawDescGZIP() []byte {
  803. file_mq_agent_proto_rawDescOnce.Do(func() {
  804. file_mq_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_mq_agent_proto_rawDescData)
  805. })
  806. return file_mq_agent_proto_rawDescData
  807. }
  808. var file_mq_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  809. var file_mq_agent_proto_goTypes = []any{
  810. (*StartPublishSessionRequest)(nil), // 0: messaging_pb.StartPublishSessionRequest
  811. (*StartPublishSessionResponse)(nil), // 1: messaging_pb.StartPublishSessionResponse
  812. (*ClosePublishSessionRequest)(nil), // 2: messaging_pb.ClosePublishSessionRequest
  813. (*ClosePublishSessionResponse)(nil), // 3: messaging_pb.ClosePublishSessionResponse
  814. (*PublishRecordRequest)(nil), // 4: messaging_pb.PublishRecordRequest
  815. (*PublishRecordResponse)(nil), // 5: messaging_pb.PublishRecordResponse
  816. (*StartSubscribeSessionRequest)(nil), // 6: messaging_pb.StartSubscribeSessionRequest
  817. (*StartSubscribeSessionResponse)(nil), // 7: messaging_pb.StartSubscribeSessionResponse
  818. (*CloseSubscribeSessionRequest)(nil), // 8: messaging_pb.CloseSubscribeSessionRequest
  819. (*CloseSubscribeSessionResponse)(nil), // 9: messaging_pb.CloseSubscribeSessionResponse
  820. (*SubscribeRecordRequest)(nil), // 10: messaging_pb.SubscribeRecordRequest
  821. (*SubscribeRecordResponse)(nil), // 11: messaging_pb.SubscribeRecordResponse
  822. (*schema_pb.Topic)(nil), // 12: schema_pb.Topic
  823. (*schema_pb.RecordType)(nil), // 13: schema_pb.RecordType
  824. (*schema_pb.RecordValue)(nil), // 14: schema_pb.RecordValue
  825. (*schema_pb.PartitionOffset)(nil), // 15: schema_pb.PartitionOffset
  826. }
  827. var file_mq_agent_proto_depIdxs = []int32{
  828. 12, // 0: messaging_pb.StartPublishSessionRequest.topic:type_name -> schema_pb.Topic
  829. 13, // 1: messaging_pb.StartPublishSessionRequest.record_type:type_name -> schema_pb.RecordType
  830. 14, // 2: messaging_pb.PublishRecordRequest.value:type_name -> schema_pb.RecordValue
  831. 12, // 3: messaging_pb.StartSubscribeSessionRequest.topic:type_name -> schema_pb.Topic
  832. 15, // 4: messaging_pb.StartSubscribeSessionRequest.partition_offsets:type_name -> schema_pb.PartitionOffset
  833. 14, // 5: messaging_pb.SubscribeRecordResponse.value:type_name -> schema_pb.RecordValue
  834. 0, // 6: messaging_pb.SeaweedMessagingAgent.StartPublishSession:input_type -> messaging_pb.StartPublishSessionRequest
  835. 2, // 7: messaging_pb.SeaweedMessagingAgent.ClosePublishSession:input_type -> messaging_pb.ClosePublishSessionRequest
  836. 4, // 8: messaging_pb.SeaweedMessagingAgent.PublishRecord:input_type -> messaging_pb.PublishRecordRequest
  837. 6, // 9: messaging_pb.SeaweedMessagingAgent.StartSubscribeSession:input_type -> messaging_pb.StartSubscribeSessionRequest
  838. 8, // 10: messaging_pb.SeaweedMessagingAgent.CloseSubscribeSession:input_type -> messaging_pb.CloseSubscribeSessionRequest
  839. 10, // 11: messaging_pb.SeaweedMessagingAgent.SubscribeRecord:input_type -> messaging_pb.SubscribeRecordRequest
  840. 1, // 12: messaging_pb.SeaweedMessagingAgent.StartPublishSession:output_type -> messaging_pb.StartPublishSessionResponse
  841. 3, // 13: messaging_pb.SeaweedMessagingAgent.ClosePublishSession:output_type -> messaging_pb.ClosePublishSessionResponse
  842. 5, // 14: messaging_pb.SeaweedMessagingAgent.PublishRecord:output_type -> messaging_pb.PublishRecordResponse
  843. 7, // 15: messaging_pb.SeaweedMessagingAgent.StartSubscribeSession:output_type -> messaging_pb.StartSubscribeSessionResponse
  844. 9, // 16: messaging_pb.SeaweedMessagingAgent.CloseSubscribeSession:output_type -> messaging_pb.CloseSubscribeSessionResponse
  845. 11, // 17: messaging_pb.SeaweedMessagingAgent.SubscribeRecord:output_type -> messaging_pb.SubscribeRecordResponse
  846. 12, // [12:18] is the sub-list for method output_type
  847. 6, // [6:12] is the sub-list for method input_type
  848. 6, // [6:6] is the sub-list for extension type_name
  849. 6, // [6:6] is the sub-list for extension extendee
  850. 0, // [0:6] is the sub-list for field type_name
  851. }
  852. func init() { file_mq_agent_proto_init() }
  853. func file_mq_agent_proto_init() {
  854. if File_mq_agent_proto != nil {
  855. return
  856. }
  857. if !protoimpl.UnsafeEnabled {
  858. file_mq_agent_proto_msgTypes[0].Exporter = func(v any, i int) any {
  859. switch v := v.(*StartPublishSessionRequest); i {
  860. case 0:
  861. return &v.state
  862. case 1:
  863. return &v.sizeCache
  864. case 2:
  865. return &v.unknownFields
  866. default:
  867. return nil
  868. }
  869. }
  870. file_mq_agent_proto_msgTypes[1].Exporter = func(v any, i int) any {
  871. switch v := v.(*StartPublishSessionResponse); i {
  872. case 0:
  873. return &v.state
  874. case 1:
  875. return &v.sizeCache
  876. case 2:
  877. return &v.unknownFields
  878. default:
  879. return nil
  880. }
  881. }
  882. file_mq_agent_proto_msgTypes[2].Exporter = func(v any, i int) any {
  883. switch v := v.(*ClosePublishSessionRequest); i {
  884. case 0:
  885. return &v.state
  886. case 1:
  887. return &v.sizeCache
  888. case 2:
  889. return &v.unknownFields
  890. default:
  891. return nil
  892. }
  893. }
  894. file_mq_agent_proto_msgTypes[3].Exporter = func(v any, i int) any {
  895. switch v := v.(*ClosePublishSessionResponse); i {
  896. case 0:
  897. return &v.state
  898. case 1:
  899. return &v.sizeCache
  900. case 2:
  901. return &v.unknownFields
  902. default:
  903. return nil
  904. }
  905. }
  906. file_mq_agent_proto_msgTypes[4].Exporter = func(v any, i int) any {
  907. switch v := v.(*PublishRecordRequest); i {
  908. case 0:
  909. return &v.state
  910. case 1:
  911. return &v.sizeCache
  912. case 2:
  913. return &v.unknownFields
  914. default:
  915. return nil
  916. }
  917. }
  918. file_mq_agent_proto_msgTypes[5].Exporter = func(v any, i int) any {
  919. switch v := v.(*PublishRecordResponse); i {
  920. case 0:
  921. return &v.state
  922. case 1:
  923. return &v.sizeCache
  924. case 2:
  925. return &v.unknownFields
  926. default:
  927. return nil
  928. }
  929. }
  930. file_mq_agent_proto_msgTypes[6].Exporter = func(v any, i int) any {
  931. switch v := v.(*StartSubscribeSessionRequest); i {
  932. case 0:
  933. return &v.state
  934. case 1:
  935. return &v.sizeCache
  936. case 2:
  937. return &v.unknownFields
  938. default:
  939. return nil
  940. }
  941. }
  942. file_mq_agent_proto_msgTypes[7].Exporter = func(v any, i int) any {
  943. switch v := v.(*StartSubscribeSessionResponse); i {
  944. case 0:
  945. return &v.state
  946. case 1:
  947. return &v.sizeCache
  948. case 2:
  949. return &v.unknownFields
  950. default:
  951. return nil
  952. }
  953. }
  954. file_mq_agent_proto_msgTypes[8].Exporter = func(v any, i int) any {
  955. switch v := v.(*CloseSubscribeSessionRequest); i {
  956. case 0:
  957. return &v.state
  958. case 1:
  959. return &v.sizeCache
  960. case 2:
  961. return &v.unknownFields
  962. default:
  963. return nil
  964. }
  965. }
  966. file_mq_agent_proto_msgTypes[9].Exporter = func(v any, i int) any {
  967. switch v := v.(*CloseSubscribeSessionResponse); i {
  968. case 0:
  969. return &v.state
  970. case 1:
  971. return &v.sizeCache
  972. case 2:
  973. return &v.unknownFields
  974. default:
  975. return nil
  976. }
  977. }
  978. file_mq_agent_proto_msgTypes[10].Exporter = func(v any, i int) any {
  979. switch v := v.(*SubscribeRecordRequest); i {
  980. case 0:
  981. return &v.state
  982. case 1:
  983. return &v.sizeCache
  984. case 2:
  985. return &v.unknownFields
  986. default:
  987. return nil
  988. }
  989. }
  990. file_mq_agent_proto_msgTypes[11].Exporter = func(v any, i int) any {
  991. switch v := v.(*SubscribeRecordResponse); i {
  992. case 0:
  993. return &v.state
  994. case 1:
  995. return &v.sizeCache
  996. case 2:
  997. return &v.unknownFields
  998. default:
  999. return nil
  1000. }
  1001. }
  1002. }
  1003. type x struct{}
  1004. out := protoimpl.TypeBuilder{
  1005. File: protoimpl.DescBuilder{
  1006. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1007. RawDescriptor: file_mq_agent_proto_rawDesc,
  1008. NumEnums: 0,
  1009. NumMessages: 12,
  1010. NumExtensions: 0,
  1011. NumServices: 1,
  1012. },
  1013. GoTypes: file_mq_agent_proto_goTypes,
  1014. DependencyIndexes: file_mq_agent_proto_depIdxs,
  1015. MessageInfos: file_mq_agent_proto_msgTypes,
  1016. }.Build()
  1017. File_mq_agent_proto = out.File
  1018. file_mq_agent_proto_rawDesc = nil
  1019. file_mq_agent_proto_goTypes = nil
  1020. file_mq_agent_proto_depIdxs = nil
  1021. }