You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

922 lines
36 KiB

  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 SubscribeRecordRequest struct {
  307. state protoimpl.MessageState
  308. sizeCache protoimpl.SizeCache
  309. unknownFields protoimpl.UnknownFields
  310. Init *SubscribeRecordRequest_InitSubscribeRecordRequest `protobuf:"bytes,1,opt,name=init,proto3" json:"init,omitempty"`
  311. AckSequence int64 `protobuf:"varint,2,opt,name=ack_sequence,json=ackSequence,proto3" json:"ack_sequence,omitempty"`
  312. AckKey []byte `protobuf:"bytes,3,opt,name=ack_key,json=ackKey,proto3" json:"ack_key,omitempty"`
  313. }
  314. func (x *SubscribeRecordRequest) Reset() {
  315. *x = SubscribeRecordRequest{}
  316. if protoimpl.UnsafeEnabled {
  317. mi := &file_mq_agent_proto_msgTypes[6]
  318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  319. ms.StoreMessageInfo(mi)
  320. }
  321. }
  322. func (x *SubscribeRecordRequest) String() string {
  323. return protoimpl.X.MessageStringOf(x)
  324. }
  325. func (*SubscribeRecordRequest) ProtoMessage() {}
  326. func (x *SubscribeRecordRequest) ProtoReflect() protoreflect.Message {
  327. mi := &file_mq_agent_proto_msgTypes[6]
  328. if protoimpl.UnsafeEnabled && x != nil {
  329. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  330. if ms.LoadMessageInfo() == nil {
  331. ms.StoreMessageInfo(mi)
  332. }
  333. return ms
  334. }
  335. return mi.MessageOf(x)
  336. }
  337. // Deprecated: Use SubscribeRecordRequest.ProtoReflect.Descriptor instead.
  338. func (*SubscribeRecordRequest) Descriptor() ([]byte, []int) {
  339. return file_mq_agent_proto_rawDescGZIP(), []int{6}
  340. }
  341. func (x *SubscribeRecordRequest) GetInit() *SubscribeRecordRequest_InitSubscribeRecordRequest {
  342. if x != nil {
  343. return x.Init
  344. }
  345. return nil
  346. }
  347. func (x *SubscribeRecordRequest) GetAckSequence() int64 {
  348. if x != nil {
  349. return x.AckSequence
  350. }
  351. return 0
  352. }
  353. func (x *SubscribeRecordRequest) GetAckKey() []byte {
  354. if x != nil {
  355. return x.AckKey
  356. }
  357. return nil
  358. }
  359. type SubscribeRecordResponse struct {
  360. state protoimpl.MessageState
  361. sizeCache protoimpl.SizeCache
  362. unknownFields protoimpl.UnknownFields
  363. Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
  364. Value *schema_pb.RecordValue `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
  365. TsNs int64 `protobuf:"varint,4,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
  366. Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
  367. IsEndOfStream bool `protobuf:"varint,6,opt,name=is_end_of_stream,json=isEndOfStream,proto3" json:"is_end_of_stream,omitempty"`
  368. IsEndOfTopic bool `protobuf:"varint,7,opt,name=is_end_of_topic,json=isEndOfTopic,proto3" json:"is_end_of_topic,omitempty"`
  369. }
  370. func (x *SubscribeRecordResponse) Reset() {
  371. *x = SubscribeRecordResponse{}
  372. if protoimpl.UnsafeEnabled {
  373. mi := &file_mq_agent_proto_msgTypes[7]
  374. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  375. ms.StoreMessageInfo(mi)
  376. }
  377. }
  378. func (x *SubscribeRecordResponse) String() string {
  379. return protoimpl.X.MessageStringOf(x)
  380. }
  381. func (*SubscribeRecordResponse) ProtoMessage() {}
  382. func (x *SubscribeRecordResponse) ProtoReflect() protoreflect.Message {
  383. mi := &file_mq_agent_proto_msgTypes[7]
  384. if protoimpl.UnsafeEnabled && x != nil {
  385. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  386. if ms.LoadMessageInfo() == nil {
  387. ms.StoreMessageInfo(mi)
  388. }
  389. return ms
  390. }
  391. return mi.MessageOf(x)
  392. }
  393. // Deprecated: Use SubscribeRecordResponse.ProtoReflect.Descriptor instead.
  394. func (*SubscribeRecordResponse) Descriptor() ([]byte, []int) {
  395. return file_mq_agent_proto_rawDescGZIP(), []int{7}
  396. }
  397. func (x *SubscribeRecordResponse) GetKey() []byte {
  398. if x != nil {
  399. return x.Key
  400. }
  401. return nil
  402. }
  403. func (x *SubscribeRecordResponse) GetValue() *schema_pb.RecordValue {
  404. if x != nil {
  405. return x.Value
  406. }
  407. return nil
  408. }
  409. func (x *SubscribeRecordResponse) GetTsNs() int64 {
  410. if x != nil {
  411. return x.TsNs
  412. }
  413. return 0
  414. }
  415. func (x *SubscribeRecordResponse) GetError() string {
  416. if x != nil {
  417. return x.Error
  418. }
  419. return ""
  420. }
  421. func (x *SubscribeRecordResponse) GetIsEndOfStream() bool {
  422. if x != nil {
  423. return x.IsEndOfStream
  424. }
  425. return false
  426. }
  427. func (x *SubscribeRecordResponse) GetIsEndOfTopic() bool {
  428. if x != nil {
  429. return x.IsEndOfTopic
  430. }
  431. return false
  432. }
  433. type SubscribeRecordRequest_InitSubscribeRecordRequest struct {
  434. state protoimpl.MessageState
  435. sizeCache protoimpl.SizeCache
  436. unknownFields protoimpl.UnknownFields
  437. ConsumerGroup string `protobuf:"bytes,1,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
  438. ConsumerGroupInstanceId string `protobuf:"bytes,2,opt,name=consumer_group_instance_id,json=consumerGroupInstanceId,proto3" json:"consumer_group_instance_id,omitempty"`
  439. Topic *schema_pb.Topic `protobuf:"bytes,4,opt,name=topic,proto3" json:"topic,omitempty"`
  440. PartitionOffsets []*schema_pb.PartitionOffset `protobuf:"bytes,5,rep,name=partition_offsets,json=partitionOffsets,proto3" json:"partition_offsets,omitempty"`
  441. Filter string `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"`
  442. MaxSubscribedPartitions int32 `protobuf:"varint,8,opt,name=max_subscribed_partitions,json=maxSubscribedPartitions,proto3" json:"max_subscribed_partitions,omitempty"`
  443. SlidingWindowSize int32 `protobuf:"varint,9,opt,name=sliding_window_size,json=slidingWindowSize,proto3" json:"sliding_window_size,omitempty"`
  444. }
  445. func (x *SubscribeRecordRequest_InitSubscribeRecordRequest) Reset() {
  446. *x = SubscribeRecordRequest_InitSubscribeRecordRequest{}
  447. if protoimpl.UnsafeEnabled {
  448. mi := &file_mq_agent_proto_msgTypes[8]
  449. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  450. ms.StoreMessageInfo(mi)
  451. }
  452. }
  453. func (x *SubscribeRecordRequest_InitSubscribeRecordRequest) String() string {
  454. return protoimpl.X.MessageStringOf(x)
  455. }
  456. func (*SubscribeRecordRequest_InitSubscribeRecordRequest) ProtoMessage() {}
  457. func (x *SubscribeRecordRequest_InitSubscribeRecordRequest) ProtoReflect() protoreflect.Message {
  458. mi := &file_mq_agent_proto_msgTypes[8]
  459. if protoimpl.UnsafeEnabled && x != nil {
  460. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  461. if ms.LoadMessageInfo() == nil {
  462. ms.StoreMessageInfo(mi)
  463. }
  464. return ms
  465. }
  466. return mi.MessageOf(x)
  467. }
  468. // Deprecated: Use SubscribeRecordRequest_InitSubscribeRecordRequest.ProtoReflect.Descriptor instead.
  469. func (*SubscribeRecordRequest_InitSubscribeRecordRequest) Descriptor() ([]byte, []int) {
  470. return file_mq_agent_proto_rawDescGZIP(), []int{6, 0}
  471. }
  472. func (x *SubscribeRecordRequest_InitSubscribeRecordRequest) GetConsumerGroup() string {
  473. if x != nil {
  474. return x.ConsumerGroup
  475. }
  476. return ""
  477. }
  478. func (x *SubscribeRecordRequest_InitSubscribeRecordRequest) GetConsumerGroupInstanceId() string {
  479. if x != nil {
  480. return x.ConsumerGroupInstanceId
  481. }
  482. return ""
  483. }
  484. func (x *SubscribeRecordRequest_InitSubscribeRecordRequest) GetTopic() *schema_pb.Topic {
  485. if x != nil {
  486. return x.Topic
  487. }
  488. return nil
  489. }
  490. func (x *SubscribeRecordRequest_InitSubscribeRecordRequest) GetPartitionOffsets() []*schema_pb.PartitionOffset {
  491. if x != nil {
  492. return x.PartitionOffsets
  493. }
  494. return nil
  495. }
  496. func (x *SubscribeRecordRequest_InitSubscribeRecordRequest) GetFilter() string {
  497. if x != nil {
  498. return x.Filter
  499. }
  500. return ""
  501. }
  502. func (x *SubscribeRecordRequest_InitSubscribeRecordRequest) GetMaxSubscribedPartitions() int32 {
  503. if x != nil {
  504. return x.MaxSubscribedPartitions
  505. }
  506. return 0
  507. }
  508. func (x *SubscribeRecordRequest_InitSubscribeRecordRequest) GetSlidingWindowSize() int32 {
  509. if x != nil {
  510. return x.SlidingWindowSize
  511. }
  512. return 0
  513. }
  514. var File_mq_agent_proto protoreflect.FileDescriptor
  515. var file_mq_agent_proto_rawDesc = []byte{
  516. 0x0a, 0x0e, 0x6d, 0x71, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  517. 0x12, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x1a, 0x0f,
  518. 0x6d, 0x71, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  519. 0xcc, 0x01, 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
  520. 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
  521. 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
  522. 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52,
  523. 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
  524. 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  525. 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  526. 0x36, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
  527. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62,
  528. 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x63,
  529. 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69,
  530. 0x73, 0x68, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  531. 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x52,
  532. 0x0a, 0x1b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65,
  533. 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a,
  534. 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,
  535. 0x72, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
  536. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
  537. 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x1a, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69,
  538. 0x73, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  539. 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01,
  540. 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22,
  541. 0x33, 0x0a, 0x1b, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53,
  542. 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
  543. 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
  544. 0x72, 0x72, 0x6f, 0x72, 0x22, 0x75, 0x0a, 0x14, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52,
  545. 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
  546. 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  547. 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  548. 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a,
  549. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73,
  550. 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x56,
  551. 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x50, 0x0a, 0x15, 0x50,
  552. 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70,
  553. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x71, 0x75,
  554. 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x53,
  555. 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
  556. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xa1, 0x04,
  557. 0x0a, 0x16, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72,
  558. 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74,
  559. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  560. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52,
  561. 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x69,
  562. 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
  563. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x21, 0x0a,
  564. 0x0c, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20,
  565. 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65,
  566. 0x12, 0x17, 0x0a, 0x07, 0x61, 0x63, 0x6b, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
  567. 0x0c, 0x52, 0x06, 0x61, 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x1a, 0xf5, 0x02, 0x0a, 0x1a, 0x49, 0x6e,
  568. 0x69, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72,
  569. 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x73,
  570. 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  571. 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
  572. 0x3b, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75,
  573. 0x70, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
  574. 0x01, 0x28, 0x09, 0x52, 0x17, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x47, 0x72, 0x6f,
  575. 0x75, 0x70, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x05,
  576. 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x63,
  577. 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74,
  578. 0x6f, 0x70, 0x69, 0x63, 0x12, 0x47, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  579. 0x6e, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
  580. 0x1a, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74,
  581. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x52, 0x10, 0x70, 0x61, 0x72,
  582. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x12, 0x16, 0x0a,
  583. 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66,
  584. 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x75, 0x62,
  585. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  586. 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17, 0x6d, 0x61, 0x78, 0x53, 0x75, 0x62,
  587. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  588. 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x6c, 0x69, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x69, 0x6e,
  589. 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11,
  590. 0x73, 0x6c, 0x69, 0x64, 0x69, 0x6e, 0x67, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x69, 0x7a,
  591. 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x17, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52,
  592. 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a,
  593. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  594. 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
  595. 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72,
  596. 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x13, 0x0a,
  597. 0x05, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x73,
  598. 0x4e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
  599. 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x27, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x65,
  600. 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x06, 0x20, 0x01,
  601. 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x45, 0x6e, 0x64, 0x4f, 0x66, 0x53, 0x74, 0x72, 0x65, 0x61,
  602. 0x6d, 0x12, 0x25, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x74,
  603. 0x6f, 0x70, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x45, 0x6e,
  604. 0x64, 0x4f, 0x66, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x32, 0xb9, 0x03, 0x0a, 0x15, 0x53, 0x65, 0x61,
  605. 0x77, 0x65, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x41, 0x67, 0x65,
  606. 0x6e, 0x74, 0x12, 0x6c, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69,
  607. 0x73, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  608. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75,
  609. 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
  610. 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
  611. 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53,
  612. 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  613. 0x12, 0x6c, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
  614. 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  615. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c,
  616. 0x69, 0x73, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  617. 0x74, 0x1a, 0x29, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62,
  618. 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x73,
  619. 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e,
  620. 0x0a, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12,
  621. 0x22, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50,
  622. 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75,
  623. 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
  624. 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
  625. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x64,
  626. 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72,
  627. 0x64, 0x12, 0x24, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62,
  628. 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
  629. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  630. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
  631. 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  632. 0x28, 0x01, 0x30, 0x01, 0x42, 0x60, 0x0a, 0x12, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66,
  633. 0x73, 0x2e, 0x6d, 0x71, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x16, 0x4d, 0x65, 0x73, 0x73,
  634. 0x61, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f,
  635. 0x74, 0x6f, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73,
  636. 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64,
  637. 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x6d, 0x71, 0x5f, 0x61, 0x67,
  638. 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  639. }
  640. var (
  641. file_mq_agent_proto_rawDescOnce sync.Once
  642. file_mq_agent_proto_rawDescData = file_mq_agent_proto_rawDesc
  643. )
  644. func file_mq_agent_proto_rawDescGZIP() []byte {
  645. file_mq_agent_proto_rawDescOnce.Do(func() {
  646. file_mq_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_mq_agent_proto_rawDescData)
  647. })
  648. return file_mq_agent_proto_rawDescData
  649. }
  650. var file_mq_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
  651. var file_mq_agent_proto_goTypes = []any{
  652. (*StartPublishSessionRequest)(nil), // 0: messaging_pb.StartPublishSessionRequest
  653. (*StartPublishSessionResponse)(nil), // 1: messaging_pb.StartPublishSessionResponse
  654. (*ClosePublishSessionRequest)(nil), // 2: messaging_pb.ClosePublishSessionRequest
  655. (*ClosePublishSessionResponse)(nil), // 3: messaging_pb.ClosePublishSessionResponse
  656. (*PublishRecordRequest)(nil), // 4: messaging_pb.PublishRecordRequest
  657. (*PublishRecordResponse)(nil), // 5: messaging_pb.PublishRecordResponse
  658. (*SubscribeRecordRequest)(nil), // 6: messaging_pb.SubscribeRecordRequest
  659. (*SubscribeRecordResponse)(nil), // 7: messaging_pb.SubscribeRecordResponse
  660. (*SubscribeRecordRequest_InitSubscribeRecordRequest)(nil), // 8: messaging_pb.SubscribeRecordRequest.InitSubscribeRecordRequest
  661. (*schema_pb.Topic)(nil), // 9: schema_pb.Topic
  662. (*schema_pb.RecordType)(nil), // 10: schema_pb.RecordType
  663. (*schema_pb.RecordValue)(nil), // 11: schema_pb.RecordValue
  664. (*schema_pb.PartitionOffset)(nil), // 12: schema_pb.PartitionOffset
  665. }
  666. var file_mq_agent_proto_depIdxs = []int32{
  667. 9, // 0: messaging_pb.StartPublishSessionRequest.topic:type_name -> schema_pb.Topic
  668. 10, // 1: messaging_pb.StartPublishSessionRequest.record_type:type_name -> schema_pb.RecordType
  669. 11, // 2: messaging_pb.PublishRecordRequest.value:type_name -> schema_pb.RecordValue
  670. 8, // 3: messaging_pb.SubscribeRecordRequest.init:type_name -> messaging_pb.SubscribeRecordRequest.InitSubscribeRecordRequest
  671. 11, // 4: messaging_pb.SubscribeRecordResponse.value:type_name -> schema_pb.RecordValue
  672. 9, // 5: messaging_pb.SubscribeRecordRequest.InitSubscribeRecordRequest.topic:type_name -> schema_pb.Topic
  673. 12, // 6: messaging_pb.SubscribeRecordRequest.InitSubscribeRecordRequest.partition_offsets:type_name -> schema_pb.PartitionOffset
  674. 0, // 7: messaging_pb.SeaweedMessagingAgent.StartPublishSession:input_type -> messaging_pb.StartPublishSessionRequest
  675. 2, // 8: messaging_pb.SeaweedMessagingAgent.ClosePublishSession:input_type -> messaging_pb.ClosePublishSessionRequest
  676. 4, // 9: messaging_pb.SeaweedMessagingAgent.PublishRecord:input_type -> messaging_pb.PublishRecordRequest
  677. 6, // 10: messaging_pb.SeaweedMessagingAgent.SubscribeRecord:input_type -> messaging_pb.SubscribeRecordRequest
  678. 1, // 11: messaging_pb.SeaweedMessagingAgent.StartPublishSession:output_type -> messaging_pb.StartPublishSessionResponse
  679. 3, // 12: messaging_pb.SeaweedMessagingAgent.ClosePublishSession:output_type -> messaging_pb.ClosePublishSessionResponse
  680. 5, // 13: messaging_pb.SeaweedMessagingAgent.PublishRecord:output_type -> messaging_pb.PublishRecordResponse
  681. 7, // 14: messaging_pb.SeaweedMessagingAgent.SubscribeRecord:output_type -> messaging_pb.SubscribeRecordResponse
  682. 11, // [11:15] is the sub-list for method output_type
  683. 7, // [7:11] is the sub-list for method input_type
  684. 7, // [7:7] is the sub-list for extension type_name
  685. 7, // [7:7] is the sub-list for extension extendee
  686. 0, // [0:7] is the sub-list for field type_name
  687. }
  688. func init() { file_mq_agent_proto_init() }
  689. func file_mq_agent_proto_init() {
  690. if File_mq_agent_proto != nil {
  691. return
  692. }
  693. if !protoimpl.UnsafeEnabled {
  694. file_mq_agent_proto_msgTypes[0].Exporter = func(v any, i int) any {
  695. switch v := v.(*StartPublishSessionRequest); i {
  696. case 0:
  697. return &v.state
  698. case 1:
  699. return &v.sizeCache
  700. case 2:
  701. return &v.unknownFields
  702. default:
  703. return nil
  704. }
  705. }
  706. file_mq_agent_proto_msgTypes[1].Exporter = func(v any, i int) any {
  707. switch v := v.(*StartPublishSessionResponse); i {
  708. case 0:
  709. return &v.state
  710. case 1:
  711. return &v.sizeCache
  712. case 2:
  713. return &v.unknownFields
  714. default:
  715. return nil
  716. }
  717. }
  718. file_mq_agent_proto_msgTypes[2].Exporter = func(v any, i int) any {
  719. switch v := v.(*ClosePublishSessionRequest); i {
  720. case 0:
  721. return &v.state
  722. case 1:
  723. return &v.sizeCache
  724. case 2:
  725. return &v.unknownFields
  726. default:
  727. return nil
  728. }
  729. }
  730. file_mq_agent_proto_msgTypes[3].Exporter = func(v any, i int) any {
  731. switch v := v.(*ClosePublishSessionResponse); i {
  732. case 0:
  733. return &v.state
  734. case 1:
  735. return &v.sizeCache
  736. case 2:
  737. return &v.unknownFields
  738. default:
  739. return nil
  740. }
  741. }
  742. file_mq_agent_proto_msgTypes[4].Exporter = func(v any, i int) any {
  743. switch v := v.(*PublishRecordRequest); i {
  744. case 0:
  745. return &v.state
  746. case 1:
  747. return &v.sizeCache
  748. case 2:
  749. return &v.unknownFields
  750. default:
  751. return nil
  752. }
  753. }
  754. file_mq_agent_proto_msgTypes[5].Exporter = func(v any, i int) any {
  755. switch v := v.(*PublishRecordResponse); i {
  756. case 0:
  757. return &v.state
  758. case 1:
  759. return &v.sizeCache
  760. case 2:
  761. return &v.unknownFields
  762. default:
  763. return nil
  764. }
  765. }
  766. file_mq_agent_proto_msgTypes[6].Exporter = func(v any, i int) any {
  767. switch v := v.(*SubscribeRecordRequest); i {
  768. case 0:
  769. return &v.state
  770. case 1:
  771. return &v.sizeCache
  772. case 2:
  773. return &v.unknownFields
  774. default:
  775. return nil
  776. }
  777. }
  778. file_mq_agent_proto_msgTypes[7].Exporter = func(v any, i int) any {
  779. switch v := v.(*SubscribeRecordResponse); i {
  780. case 0:
  781. return &v.state
  782. case 1:
  783. return &v.sizeCache
  784. case 2:
  785. return &v.unknownFields
  786. default:
  787. return nil
  788. }
  789. }
  790. file_mq_agent_proto_msgTypes[8].Exporter = func(v any, i int) any {
  791. switch v := v.(*SubscribeRecordRequest_InitSubscribeRecordRequest); i {
  792. case 0:
  793. return &v.state
  794. case 1:
  795. return &v.sizeCache
  796. case 2:
  797. return &v.unknownFields
  798. default:
  799. return nil
  800. }
  801. }
  802. }
  803. type x struct{}
  804. out := protoimpl.TypeBuilder{
  805. File: protoimpl.DescBuilder{
  806. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  807. RawDescriptor: file_mq_agent_proto_rawDesc,
  808. NumEnums: 0,
  809. NumMessages: 9,
  810. NumExtensions: 0,
  811. NumServices: 1,
  812. },
  813. GoTypes: file_mq_agent_proto_goTypes,
  814. DependencyIndexes: file_mq_agent_proto_depIdxs,
  815. MessageInfos: file_mq_agent_proto_msgTypes,
  816. }.Build()
  817. File_mq_agent_proto = out.File
  818. file_mq_agent_proto_rawDesc = nil
  819. file_mq_agent_proto_goTypes = nil
  820. file_mq_agent_proto_depIdxs = nil
  821. }