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.

1262 lines
38 KiB

11 months ago
11 months ago
11 months ago
10 months ago
11 months ago
10 months ago
10 months ago
11 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
  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_schema.proto
  6. package schema_pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type OffsetType int32
  20. const (
  21. OffsetType_RESET_TO_EARLIEST OffsetType = 0
  22. OffsetType_RESET_TO_LATEST OffsetType = 2
  23. OffsetType_EXACT_TS_NS OffsetType = 3
  24. OffsetType_RESUME_OR_EARLIEST OffsetType = 4
  25. OffsetType_RESUME_OR_LATEST OffsetType = 5
  26. )
  27. // Enum value maps for OffsetType.
  28. var (
  29. OffsetType_name = map[int32]string{
  30. 0: "RESET_TO_EARLIEST",
  31. 2: "RESET_TO_LATEST",
  32. 3: "EXACT_TS_NS",
  33. 4: "RESUME_OR_EARLIEST",
  34. 5: "RESUME_OR_LATEST",
  35. }
  36. OffsetType_value = map[string]int32{
  37. "RESET_TO_EARLIEST": 0,
  38. "RESET_TO_LATEST": 2,
  39. "EXACT_TS_NS": 3,
  40. "RESUME_OR_EARLIEST": 4,
  41. "RESUME_OR_LATEST": 5,
  42. }
  43. )
  44. func (x OffsetType) Enum() *OffsetType {
  45. p := new(OffsetType)
  46. *p = x
  47. return p
  48. }
  49. func (x OffsetType) String() string {
  50. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  51. }
  52. func (OffsetType) Descriptor() protoreflect.EnumDescriptor {
  53. return file_mq_schema_proto_enumTypes[0].Descriptor()
  54. }
  55. func (OffsetType) Type() protoreflect.EnumType {
  56. return &file_mq_schema_proto_enumTypes[0]
  57. }
  58. func (x OffsetType) Number() protoreflect.EnumNumber {
  59. return protoreflect.EnumNumber(x)
  60. }
  61. // Deprecated: Use OffsetType.Descriptor instead.
  62. func (OffsetType) EnumDescriptor() ([]byte, []int) {
  63. return file_mq_schema_proto_rawDescGZIP(), []int{0}
  64. }
  65. type ScalarType int32
  66. const (
  67. ScalarType_BOOL ScalarType = 0
  68. ScalarType_INT32 ScalarType = 1
  69. ScalarType_INT64 ScalarType = 3
  70. ScalarType_FLOAT ScalarType = 4
  71. ScalarType_DOUBLE ScalarType = 5
  72. ScalarType_BYTES ScalarType = 6
  73. ScalarType_STRING ScalarType = 7
  74. )
  75. // Enum value maps for ScalarType.
  76. var (
  77. ScalarType_name = map[int32]string{
  78. 0: "BOOL",
  79. 1: "INT32",
  80. 3: "INT64",
  81. 4: "FLOAT",
  82. 5: "DOUBLE",
  83. 6: "BYTES",
  84. 7: "STRING",
  85. }
  86. ScalarType_value = map[string]int32{
  87. "BOOL": 0,
  88. "INT32": 1,
  89. "INT64": 3,
  90. "FLOAT": 4,
  91. "DOUBLE": 5,
  92. "BYTES": 6,
  93. "STRING": 7,
  94. }
  95. )
  96. func (x ScalarType) Enum() *ScalarType {
  97. p := new(ScalarType)
  98. *p = x
  99. return p
  100. }
  101. func (x ScalarType) String() string {
  102. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  103. }
  104. func (ScalarType) Descriptor() protoreflect.EnumDescriptor {
  105. return file_mq_schema_proto_enumTypes[1].Descriptor()
  106. }
  107. func (ScalarType) Type() protoreflect.EnumType {
  108. return &file_mq_schema_proto_enumTypes[1]
  109. }
  110. func (x ScalarType) Number() protoreflect.EnumNumber {
  111. return protoreflect.EnumNumber(x)
  112. }
  113. // Deprecated: Use ScalarType.Descriptor instead.
  114. func (ScalarType) EnumDescriptor() ([]byte, []int) {
  115. return file_mq_schema_proto_rawDescGZIP(), []int{1}
  116. }
  117. type Topic struct {
  118. state protoimpl.MessageState
  119. sizeCache protoimpl.SizeCache
  120. unknownFields protoimpl.UnknownFields
  121. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  122. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  123. }
  124. func (x *Topic) Reset() {
  125. *x = Topic{}
  126. if protoimpl.UnsafeEnabled {
  127. mi := &file_mq_schema_proto_msgTypes[0]
  128. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  129. ms.StoreMessageInfo(mi)
  130. }
  131. }
  132. func (x *Topic) String() string {
  133. return protoimpl.X.MessageStringOf(x)
  134. }
  135. func (*Topic) ProtoMessage() {}
  136. func (x *Topic) ProtoReflect() protoreflect.Message {
  137. mi := &file_mq_schema_proto_msgTypes[0]
  138. if protoimpl.UnsafeEnabled && x != nil {
  139. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  140. if ms.LoadMessageInfo() == nil {
  141. ms.StoreMessageInfo(mi)
  142. }
  143. return ms
  144. }
  145. return mi.MessageOf(x)
  146. }
  147. // Deprecated: Use Topic.ProtoReflect.Descriptor instead.
  148. func (*Topic) Descriptor() ([]byte, []int) {
  149. return file_mq_schema_proto_rawDescGZIP(), []int{0}
  150. }
  151. func (x *Topic) GetNamespace() string {
  152. if x != nil {
  153. return x.Namespace
  154. }
  155. return ""
  156. }
  157. func (x *Topic) GetName() string {
  158. if x != nil {
  159. return x.Name
  160. }
  161. return ""
  162. }
  163. type Partition struct {
  164. state protoimpl.MessageState
  165. sizeCache protoimpl.SizeCache
  166. unknownFields protoimpl.UnknownFields
  167. RingSize int32 `protobuf:"varint,1,opt,name=ring_size,json=ringSize,proto3" json:"ring_size,omitempty"`
  168. RangeStart int32 `protobuf:"varint,2,opt,name=range_start,json=rangeStart,proto3" json:"range_start,omitempty"`
  169. RangeStop int32 `protobuf:"varint,3,opt,name=range_stop,json=rangeStop,proto3" json:"range_stop,omitempty"`
  170. UnixTimeNs int64 `protobuf:"varint,4,opt,name=unix_time_ns,json=unixTimeNs,proto3" json:"unix_time_ns,omitempty"`
  171. }
  172. func (x *Partition) Reset() {
  173. *x = Partition{}
  174. if protoimpl.UnsafeEnabled {
  175. mi := &file_mq_schema_proto_msgTypes[1]
  176. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  177. ms.StoreMessageInfo(mi)
  178. }
  179. }
  180. func (x *Partition) String() string {
  181. return protoimpl.X.MessageStringOf(x)
  182. }
  183. func (*Partition) ProtoMessage() {}
  184. func (x *Partition) ProtoReflect() protoreflect.Message {
  185. mi := &file_mq_schema_proto_msgTypes[1]
  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 Partition.ProtoReflect.Descriptor instead.
  196. func (*Partition) Descriptor() ([]byte, []int) {
  197. return file_mq_schema_proto_rawDescGZIP(), []int{1}
  198. }
  199. func (x *Partition) GetRingSize() int32 {
  200. if x != nil {
  201. return x.RingSize
  202. }
  203. return 0
  204. }
  205. func (x *Partition) GetRangeStart() int32 {
  206. if x != nil {
  207. return x.RangeStart
  208. }
  209. return 0
  210. }
  211. func (x *Partition) GetRangeStop() int32 {
  212. if x != nil {
  213. return x.RangeStop
  214. }
  215. return 0
  216. }
  217. func (x *Partition) GetUnixTimeNs() int64 {
  218. if x != nil {
  219. return x.UnixTimeNs
  220. }
  221. return 0
  222. }
  223. type Offset struct {
  224. state protoimpl.MessageState
  225. sizeCache protoimpl.SizeCache
  226. unknownFields protoimpl.UnknownFields
  227. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  228. PartitionOffsets []*PartitionOffset `protobuf:"bytes,2,rep,name=partition_offsets,json=partitionOffsets,proto3" json:"partition_offsets,omitempty"`
  229. }
  230. func (x *Offset) Reset() {
  231. *x = Offset{}
  232. if protoimpl.UnsafeEnabled {
  233. mi := &file_mq_schema_proto_msgTypes[2]
  234. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  235. ms.StoreMessageInfo(mi)
  236. }
  237. }
  238. func (x *Offset) String() string {
  239. return protoimpl.X.MessageStringOf(x)
  240. }
  241. func (*Offset) ProtoMessage() {}
  242. func (x *Offset) ProtoReflect() protoreflect.Message {
  243. mi := &file_mq_schema_proto_msgTypes[2]
  244. if protoimpl.UnsafeEnabled && x != nil {
  245. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  246. if ms.LoadMessageInfo() == nil {
  247. ms.StoreMessageInfo(mi)
  248. }
  249. return ms
  250. }
  251. return mi.MessageOf(x)
  252. }
  253. // Deprecated: Use Offset.ProtoReflect.Descriptor instead.
  254. func (*Offset) Descriptor() ([]byte, []int) {
  255. return file_mq_schema_proto_rawDescGZIP(), []int{2}
  256. }
  257. func (x *Offset) GetTopic() *Topic {
  258. if x != nil {
  259. return x.Topic
  260. }
  261. return nil
  262. }
  263. func (x *Offset) GetPartitionOffsets() []*PartitionOffset {
  264. if x != nil {
  265. return x.PartitionOffsets
  266. }
  267. return nil
  268. }
  269. type PartitionOffset struct {
  270. state protoimpl.MessageState
  271. sizeCache protoimpl.SizeCache
  272. unknownFields protoimpl.UnknownFields
  273. Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
  274. StartTsNs int64 `protobuf:"varint,2,opt,name=start_ts_ns,json=startTsNs,proto3" json:"start_ts_ns,omitempty"`
  275. }
  276. func (x *PartitionOffset) Reset() {
  277. *x = PartitionOffset{}
  278. if protoimpl.UnsafeEnabled {
  279. mi := &file_mq_schema_proto_msgTypes[3]
  280. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  281. ms.StoreMessageInfo(mi)
  282. }
  283. }
  284. func (x *PartitionOffset) String() string {
  285. return protoimpl.X.MessageStringOf(x)
  286. }
  287. func (*PartitionOffset) ProtoMessage() {}
  288. func (x *PartitionOffset) ProtoReflect() protoreflect.Message {
  289. mi := &file_mq_schema_proto_msgTypes[3]
  290. if protoimpl.UnsafeEnabled && x != nil {
  291. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  292. if ms.LoadMessageInfo() == nil {
  293. ms.StoreMessageInfo(mi)
  294. }
  295. return ms
  296. }
  297. return mi.MessageOf(x)
  298. }
  299. // Deprecated: Use PartitionOffset.ProtoReflect.Descriptor instead.
  300. func (*PartitionOffset) Descriptor() ([]byte, []int) {
  301. return file_mq_schema_proto_rawDescGZIP(), []int{3}
  302. }
  303. func (x *PartitionOffset) GetPartition() *Partition {
  304. if x != nil {
  305. return x.Partition
  306. }
  307. return nil
  308. }
  309. func (x *PartitionOffset) GetStartTsNs() int64 {
  310. if x != nil {
  311. return x.StartTsNs
  312. }
  313. return 0
  314. }
  315. type RecordType struct {
  316. state protoimpl.MessageState
  317. sizeCache protoimpl.SizeCache
  318. unknownFields protoimpl.UnknownFields
  319. Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
  320. }
  321. func (x *RecordType) Reset() {
  322. *x = RecordType{}
  323. if protoimpl.UnsafeEnabled {
  324. mi := &file_mq_schema_proto_msgTypes[4]
  325. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  326. ms.StoreMessageInfo(mi)
  327. }
  328. }
  329. func (x *RecordType) String() string {
  330. return protoimpl.X.MessageStringOf(x)
  331. }
  332. func (*RecordType) ProtoMessage() {}
  333. func (x *RecordType) ProtoReflect() protoreflect.Message {
  334. mi := &file_mq_schema_proto_msgTypes[4]
  335. if protoimpl.UnsafeEnabled && x != nil {
  336. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  337. if ms.LoadMessageInfo() == nil {
  338. ms.StoreMessageInfo(mi)
  339. }
  340. return ms
  341. }
  342. return mi.MessageOf(x)
  343. }
  344. // Deprecated: Use RecordType.ProtoReflect.Descriptor instead.
  345. func (*RecordType) Descriptor() ([]byte, []int) {
  346. return file_mq_schema_proto_rawDescGZIP(), []int{4}
  347. }
  348. func (x *RecordType) GetFields() []*Field {
  349. if x != nil {
  350. return x.Fields
  351. }
  352. return nil
  353. }
  354. type Field struct {
  355. state protoimpl.MessageState
  356. sizeCache protoimpl.SizeCache
  357. unknownFields protoimpl.UnknownFields
  358. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  359. FieldIndex int32 `protobuf:"varint,2,opt,name=field_index,json=fieldIndex,proto3" json:"field_index,omitempty"`
  360. Type *Type `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
  361. IsRepeated bool `protobuf:"varint,4,opt,name=is_repeated,json=isRepeated,proto3" json:"is_repeated,omitempty"`
  362. IsRequired bool `protobuf:"varint,5,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"`
  363. }
  364. func (x *Field) Reset() {
  365. *x = Field{}
  366. if protoimpl.UnsafeEnabled {
  367. mi := &file_mq_schema_proto_msgTypes[5]
  368. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  369. ms.StoreMessageInfo(mi)
  370. }
  371. }
  372. func (x *Field) String() string {
  373. return protoimpl.X.MessageStringOf(x)
  374. }
  375. func (*Field) ProtoMessage() {}
  376. func (x *Field) ProtoReflect() protoreflect.Message {
  377. mi := &file_mq_schema_proto_msgTypes[5]
  378. if protoimpl.UnsafeEnabled && x != nil {
  379. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  380. if ms.LoadMessageInfo() == nil {
  381. ms.StoreMessageInfo(mi)
  382. }
  383. return ms
  384. }
  385. return mi.MessageOf(x)
  386. }
  387. // Deprecated: Use Field.ProtoReflect.Descriptor instead.
  388. func (*Field) Descriptor() ([]byte, []int) {
  389. return file_mq_schema_proto_rawDescGZIP(), []int{5}
  390. }
  391. func (x *Field) GetName() string {
  392. if x != nil {
  393. return x.Name
  394. }
  395. return ""
  396. }
  397. func (x *Field) GetFieldIndex() int32 {
  398. if x != nil {
  399. return x.FieldIndex
  400. }
  401. return 0
  402. }
  403. func (x *Field) GetType() *Type {
  404. if x != nil {
  405. return x.Type
  406. }
  407. return nil
  408. }
  409. func (x *Field) GetIsRepeated() bool {
  410. if x != nil {
  411. return x.IsRepeated
  412. }
  413. return false
  414. }
  415. func (x *Field) GetIsRequired() bool {
  416. if x != nil {
  417. return x.IsRequired
  418. }
  419. return false
  420. }
  421. type Type struct {
  422. state protoimpl.MessageState
  423. sizeCache protoimpl.SizeCache
  424. unknownFields protoimpl.UnknownFields
  425. // Types that are assignable to Kind:
  426. //
  427. // *Type_ScalarType
  428. // *Type_RecordType
  429. // *Type_ListType
  430. Kind isType_Kind `protobuf_oneof:"kind"`
  431. }
  432. func (x *Type) Reset() {
  433. *x = Type{}
  434. if protoimpl.UnsafeEnabled {
  435. mi := &file_mq_schema_proto_msgTypes[6]
  436. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  437. ms.StoreMessageInfo(mi)
  438. }
  439. }
  440. func (x *Type) String() string {
  441. return protoimpl.X.MessageStringOf(x)
  442. }
  443. func (*Type) ProtoMessage() {}
  444. func (x *Type) ProtoReflect() protoreflect.Message {
  445. mi := &file_mq_schema_proto_msgTypes[6]
  446. if protoimpl.UnsafeEnabled && x != nil {
  447. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  448. if ms.LoadMessageInfo() == nil {
  449. ms.StoreMessageInfo(mi)
  450. }
  451. return ms
  452. }
  453. return mi.MessageOf(x)
  454. }
  455. // Deprecated: Use Type.ProtoReflect.Descriptor instead.
  456. func (*Type) Descriptor() ([]byte, []int) {
  457. return file_mq_schema_proto_rawDescGZIP(), []int{6}
  458. }
  459. func (m *Type) GetKind() isType_Kind {
  460. if m != nil {
  461. return m.Kind
  462. }
  463. return nil
  464. }
  465. func (x *Type) GetScalarType() ScalarType {
  466. if x, ok := x.GetKind().(*Type_ScalarType); ok {
  467. return x.ScalarType
  468. }
  469. return ScalarType_BOOL
  470. }
  471. func (x *Type) GetRecordType() *RecordType {
  472. if x, ok := x.GetKind().(*Type_RecordType); ok {
  473. return x.RecordType
  474. }
  475. return nil
  476. }
  477. func (x *Type) GetListType() *ListType {
  478. if x, ok := x.GetKind().(*Type_ListType); ok {
  479. return x.ListType
  480. }
  481. return nil
  482. }
  483. type isType_Kind interface {
  484. isType_Kind()
  485. }
  486. type Type_ScalarType struct {
  487. ScalarType ScalarType `protobuf:"varint,1,opt,name=scalar_type,json=scalarType,proto3,enum=schema_pb.ScalarType,oneof"`
  488. }
  489. type Type_RecordType struct {
  490. RecordType *RecordType `protobuf:"bytes,2,opt,name=record_type,json=recordType,proto3,oneof"`
  491. }
  492. type Type_ListType struct {
  493. ListType *ListType `protobuf:"bytes,3,opt,name=list_type,json=listType,proto3,oneof"`
  494. }
  495. func (*Type_ScalarType) isType_Kind() {}
  496. func (*Type_RecordType) isType_Kind() {}
  497. func (*Type_ListType) isType_Kind() {}
  498. type ListType struct {
  499. state protoimpl.MessageState
  500. sizeCache protoimpl.SizeCache
  501. unknownFields protoimpl.UnknownFields
  502. ElementType *Type `protobuf:"bytes,1,opt,name=element_type,json=elementType,proto3" json:"element_type,omitempty"`
  503. }
  504. func (x *ListType) Reset() {
  505. *x = ListType{}
  506. if protoimpl.UnsafeEnabled {
  507. mi := &file_mq_schema_proto_msgTypes[7]
  508. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  509. ms.StoreMessageInfo(mi)
  510. }
  511. }
  512. func (x *ListType) String() string {
  513. return protoimpl.X.MessageStringOf(x)
  514. }
  515. func (*ListType) ProtoMessage() {}
  516. func (x *ListType) ProtoReflect() protoreflect.Message {
  517. mi := &file_mq_schema_proto_msgTypes[7]
  518. if protoimpl.UnsafeEnabled && x != nil {
  519. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  520. if ms.LoadMessageInfo() == nil {
  521. ms.StoreMessageInfo(mi)
  522. }
  523. return ms
  524. }
  525. return mi.MessageOf(x)
  526. }
  527. // Deprecated: Use ListType.ProtoReflect.Descriptor instead.
  528. func (*ListType) Descriptor() ([]byte, []int) {
  529. return file_mq_schema_proto_rawDescGZIP(), []int{7}
  530. }
  531. func (x *ListType) GetElementType() *Type {
  532. if x != nil {
  533. return x.ElementType
  534. }
  535. return nil
  536. }
  537. // /////////////////////////
  538. // value definition
  539. // /////////////////////////
  540. type RecordValue struct {
  541. state protoimpl.MessageState
  542. sizeCache protoimpl.SizeCache
  543. unknownFields protoimpl.UnknownFields
  544. Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  545. }
  546. func (x *RecordValue) Reset() {
  547. *x = RecordValue{}
  548. if protoimpl.UnsafeEnabled {
  549. mi := &file_mq_schema_proto_msgTypes[8]
  550. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  551. ms.StoreMessageInfo(mi)
  552. }
  553. }
  554. func (x *RecordValue) String() string {
  555. return protoimpl.X.MessageStringOf(x)
  556. }
  557. func (*RecordValue) ProtoMessage() {}
  558. func (x *RecordValue) ProtoReflect() protoreflect.Message {
  559. mi := &file_mq_schema_proto_msgTypes[8]
  560. if protoimpl.UnsafeEnabled && x != nil {
  561. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  562. if ms.LoadMessageInfo() == nil {
  563. ms.StoreMessageInfo(mi)
  564. }
  565. return ms
  566. }
  567. return mi.MessageOf(x)
  568. }
  569. // Deprecated: Use RecordValue.ProtoReflect.Descriptor instead.
  570. func (*RecordValue) Descriptor() ([]byte, []int) {
  571. return file_mq_schema_proto_rawDescGZIP(), []int{8}
  572. }
  573. func (x *RecordValue) GetFields() map[string]*Value {
  574. if x != nil {
  575. return x.Fields
  576. }
  577. return nil
  578. }
  579. type Value struct {
  580. state protoimpl.MessageState
  581. sizeCache protoimpl.SizeCache
  582. unknownFields protoimpl.UnknownFields
  583. // Types that are assignable to Kind:
  584. //
  585. // *Value_BoolValue
  586. // *Value_Int32Value
  587. // *Value_Int64Value
  588. // *Value_FloatValue
  589. // *Value_DoubleValue
  590. // *Value_BytesValue
  591. // *Value_StringValue
  592. // *Value_ListValue
  593. // *Value_RecordValue
  594. Kind isValue_Kind `protobuf_oneof:"kind"`
  595. }
  596. func (x *Value) Reset() {
  597. *x = Value{}
  598. if protoimpl.UnsafeEnabled {
  599. mi := &file_mq_schema_proto_msgTypes[9]
  600. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  601. ms.StoreMessageInfo(mi)
  602. }
  603. }
  604. func (x *Value) String() string {
  605. return protoimpl.X.MessageStringOf(x)
  606. }
  607. func (*Value) ProtoMessage() {}
  608. func (x *Value) ProtoReflect() protoreflect.Message {
  609. mi := &file_mq_schema_proto_msgTypes[9]
  610. if protoimpl.UnsafeEnabled && x != nil {
  611. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  612. if ms.LoadMessageInfo() == nil {
  613. ms.StoreMessageInfo(mi)
  614. }
  615. return ms
  616. }
  617. return mi.MessageOf(x)
  618. }
  619. // Deprecated: Use Value.ProtoReflect.Descriptor instead.
  620. func (*Value) Descriptor() ([]byte, []int) {
  621. return file_mq_schema_proto_rawDescGZIP(), []int{9}
  622. }
  623. func (m *Value) GetKind() isValue_Kind {
  624. if m != nil {
  625. return m.Kind
  626. }
  627. return nil
  628. }
  629. func (x *Value) GetBoolValue() bool {
  630. if x, ok := x.GetKind().(*Value_BoolValue); ok {
  631. return x.BoolValue
  632. }
  633. return false
  634. }
  635. func (x *Value) GetInt32Value() int32 {
  636. if x, ok := x.GetKind().(*Value_Int32Value); ok {
  637. return x.Int32Value
  638. }
  639. return 0
  640. }
  641. func (x *Value) GetInt64Value() int64 {
  642. if x, ok := x.GetKind().(*Value_Int64Value); ok {
  643. return x.Int64Value
  644. }
  645. return 0
  646. }
  647. func (x *Value) GetFloatValue() float32 {
  648. if x, ok := x.GetKind().(*Value_FloatValue); ok {
  649. return x.FloatValue
  650. }
  651. return 0
  652. }
  653. func (x *Value) GetDoubleValue() float64 {
  654. if x, ok := x.GetKind().(*Value_DoubleValue); ok {
  655. return x.DoubleValue
  656. }
  657. return 0
  658. }
  659. func (x *Value) GetBytesValue() []byte {
  660. if x, ok := x.GetKind().(*Value_BytesValue); ok {
  661. return x.BytesValue
  662. }
  663. return nil
  664. }
  665. func (x *Value) GetStringValue() string {
  666. if x, ok := x.GetKind().(*Value_StringValue); ok {
  667. return x.StringValue
  668. }
  669. return ""
  670. }
  671. func (x *Value) GetListValue() *ListValue {
  672. if x, ok := x.GetKind().(*Value_ListValue); ok {
  673. return x.ListValue
  674. }
  675. return nil
  676. }
  677. func (x *Value) GetRecordValue() *RecordValue {
  678. if x, ok := x.GetKind().(*Value_RecordValue); ok {
  679. return x.RecordValue
  680. }
  681. return nil
  682. }
  683. type isValue_Kind interface {
  684. isValue_Kind()
  685. }
  686. type Value_BoolValue struct {
  687. BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
  688. }
  689. type Value_Int32Value struct {
  690. Int32Value int32 `protobuf:"varint,2,opt,name=int32_value,json=int32Value,proto3,oneof"`
  691. }
  692. type Value_Int64Value struct {
  693. Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
  694. }
  695. type Value_FloatValue struct {
  696. FloatValue float32 `protobuf:"fixed32,4,opt,name=float_value,json=floatValue,proto3,oneof"`
  697. }
  698. type Value_DoubleValue struct {
  699. DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
  700. }
  701. type Value_BytesValue struct {
  702. BytesValue []byte `protobuf:"bytes,6,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
  703. }
  704. type Value_StringValue struct {
  705. StringValue string `protobuf:"bytes,7,opt,name=string_value,json=stringValue,proto3,oneof"`
  706. }
  707. type Value_ListValue struct {
  708. ListValue *ListValue `protobuf:"bytes,14,opt,name=list_value,json=listValue,proto3,oneof"`
  709. }
  710. type Value_RecordValue struct {
  711. RecordValue *RecordValue `protobuf:"bytes,15,opt,name=record_value,json=recordValue,proto3,oneof"`
  712. }
  713. func (*Value_BoolValue) isValue_Kind() {}
  714. func (*Value_Int32Value) isValue_Kind() {}
  715. func (*Value_Int64Value) isValue_Kind() {}
  716. func (*Value_FloatValue) isValue_Kind() {}
  717. func (*Value_DoubleValue) isValue_Kind() {}
  718. func (*Value_BytesValue) isValue_Kind() {}
  719. func (*Value_StringValue) isValue_Kind() {}
  720. func (*Value_ListValue) isValue_Kind() {}
  721. func (*Value_RecordValue) isValue_Kind() {}
  722. type ListValue struct {
  723. state protoimpl.MessageState
  724. sizeCache protoimpl.SizeCache
  725. unknownFields protoimpl.UnknownFields
  726. Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
  727. }
  728. func (x *ListValue) Reset() {
  729. *x = ListValue{}
  730. if protoimpl.UnsafeEnabled {
  731. mi := &file_mq_schema_proto_msgTypes[10]
  732. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  733. ms.StoreMessageInfo(mi)
  734. }
  735. }
  736. func (x *ListValue) String() string {
  737. return protoimpl.X.MessageStringOf(x)
  738. }
  739. func (*ListValue) ProtoMessage() {}
  740. func (x *ListValue) ProtoReflect() protoreflect.Message {
  741. mi := &file_mq_schema_proto_msgTypes[10]
  742. if protoimpl.UnsafeEnabled && x != nil {
  743. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  744. if ms.LoadMessageInfo() == nil {
  745. ms.StoreMessageInfo(mi)
  746. }
  747. return ms
  748. }
  749. return mi.MessageOf(x)
  750. }
  751. // Deprecated: Use ListValue.ProtoReflect.Descriptor instead.
  752. func (*ListValue) Descriptor() ([]byte, []int) {
  753. return file_mq_schema_proto_rawDescGZIP(), []int{10}
  754. }
  755. func (x *ListValue) GetValues() []*Value {
  756. if x != nil {
  757. return x.Values
  758. }
  759. return nil
  760. }
  761. var File_mq_schema_proto protoreflect.FileDescriptor
  762. var file_mq_schema_proto_rawDesc = []byte{
  763. 0x0a, 0x0f, 0x6d, 0x71, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  764. 0x6f, 0x12, 0x09, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x22, 0x39, 0x0a, 0x05,
  765. 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
  766. 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
  767. 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  768. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74,
  769. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69,
  770. 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x69,
  771. 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72,
  772. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74,
  773. 0x61, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x6f,
  774. 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74,
  775. 0x6f, 0x70, 0x12, 0x20, 0x0a, 0x0c, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f,
  776. 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x6e, 0x69, 0x78, 0x54, 0x69,
  777. 0x6d, 0x65, 0x4e, 0x73, 0x22, 0x79, 0x0a, 0x06, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x26,
  778. 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
  779. 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52,
  780. 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x47, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
  781. 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
  782. 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61,
  783. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x52, 0x10, 0x70,
  784. 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x22,
  785. 0x65, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x73,
  786. 0x65, 0x74, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  787. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70,
  788. 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72,
  789. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f,
  790. 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61,
  791. 0x72, 0x74, 0x54, 0x73, 0x4e, 0x73, 0x22, 0x36, 0x0a, 0x0a, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
  792. 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01,
  793. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62,
  794. 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0xa3,
  795. 0x01, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  796. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
  797. 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28,
  798. 0x05, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x23, 0x0a,
  799. 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x63,
  800. 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
  801. 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65,
  802. 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x70, 0x65, 0x61,
  803. 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72,
  804. 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75,
  805. 0x69, 0x72, 0x65, 0x64, 0x22, 0xb6, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a,
  806. 0x0b, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
  807. 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x53,
  808. 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x63, 0x61,
  809. 0x6c, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72,
  810. 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x73,
  811. 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54,
  812. 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70,
  813. 0x65, 0x12, 0x32, 0x0a, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
  814. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62,
  815. 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x69, 0x73,
  816. 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x3e, 0x0a,
  817. 0x08, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x0c, 0x65, 0x6c, 0x65,
  818. 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  819. 0x0f, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x79, 0x70, 0x65,
  820. 0x52, 0x0b, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x96, 0x01,
  821. 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3a, 0x0a,
  822. 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e,
  823. 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
  824. 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72,
  825. 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x4b, 0x0a, 0x0b, 0x46, 0x69, 0x65,
  826. 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
  827. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61,
  828. 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x63, 0x68, 0x65,
  829. 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c,
  830. 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfa, 0x02, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65,
  831. 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01,
  832. 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75,
  833. 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
  834. 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x56,
  835. 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61,
  836. 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6e, 0x74,
  837. 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74,
  838. 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x0a,
  839. 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f,
  840. 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01,
  841. 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
  842. 0x21, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06,
  843. 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c,
  844. 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c,
  845. 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69,
  846. 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f,
  847. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x73, 0x63,
  848. 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75,
  849. 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b,
  850. 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0f,
  851. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62,
  852. 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0b,
  853. 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6b,
  854. 0x69, 0x6e, 0x64, 0x22, 0x35, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
  855. 0x12, 0x28, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  856. 0x32, 0x10, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x61, 0x6c,
  857. 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2a, 0x77, 0x0a, 0x0a, 0x4f, 0x66,
  858. 0x66, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x53, 0x45,
  859. 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x49, 0x45, 0x53, 0x54, 0x10, 0x00, 0x12,
  860. 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x4c, 0x41, 0x54, 0x45,
  861. 0x53, 0x54, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x58, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x53,
  862. 0x5f, 0x4e, 0x53, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x55, 0x4d, 0x45, 0x5f,
  863. 0x4f, 0x52, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x49, 0x45, 0x53, 0x54, 0x10, 0x04, 0x12, 0x14, 0x0a,
  864. 0x10, 0x52, 0x45, 0x53, 0x55, 0x4d, 0x45, 0x5f, 0x4f, 0x52, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x53,
  865. 0x54, 0x10, 0x05, 0x2a, 0x5a, 0x0a, 0x0a, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x79, 0x70,
  866. 0x65, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x49,
  867. 0x4e, 0x54, 0x33, 0x32, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10,
  868. 0x03, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06,
  869. 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x59, 0x54, 0x45,
  870. 0x53, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x42,
  871. 0x32, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65,
  872. 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66,
  873. 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
  874. 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  875. }
  876. var (
  877. file_mq_schema_proto_rawDescOnce sync.Once
  878. file_mq_schema_proto_rawDescData = file_mq_schema_proto_rawDesc
  879. )
  880. func file_mq_schema_proto_rawDescGZIP() []byte {
  881. file_mq_schema_proto_rawDescOnce.Do(func() {
  882. file_mq_schema_proto_rawDescData = protoimpl.X.CompressGZIP(file_mq_schema_proto_rawDescData)
  883. })
  884. return file_mq_schema_proto_rawDescData
  885. }
  886. var file_mq_schema_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  887. var file_mq_schema_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  888. var file_mq_schema_proto_goTypes = []any{
  889. (OffsetType)(0), // 0: schema_pb.OffsetType
  890. (ScalarType)(0), // 1: schema_pb.ScalarType
  891. (*Topic)(nil), // 2: schema_pb.Topic
  892. (*Partition)(nil), // 3: schema_pb.Partition
  893. (*Offset)(nil), // 4: schema_pb.Offset
  894. (*PartitionOffset)(nil), // 5: schema_pb.PartitionOffset
  895. (*RecordType)(nil), // 6: schema_pb.RecordType
  896. (*Field)(nil), // 7: schema_pb.Field
  897. (*Type)(nil), // 8: schema_pb.Type
  898. (*ListType)(nil), // 9: schema_pb.ListType
  899. (*RecordValue)(nil), // 10: schema_pb.RecordValue
  900. (*Value)(nil), // 11: schema_pb.Value
  901. (*ListValue)(nil), // 12: schema_pb.ListValue
  902. nil, // 13: schema_pb.RecordValue.FieldsEntry
  903. }
  904. var file_mq_schema_proto_depIdxs = []int32{
  905. 2, // 0: schema_pb.Offset.topic:type_name -> schema_pb.Topic
  906. 5, // 1: schema_pb.Offset.partition_offsets:type_name -> schema_pb.PartitionOffset
  907. 3, // 2: schema_pb.PartitionOffset.partition:type_name -> schema_pb.Partition
  908. 7, // 3: schema_pb.RecordType.fields:type_name -> schema_pb.Field
  909. 8, // 4: schema_pb.Field.type:type_name -> schema_pb.Type
  910. 1, // 5: schema_pb.Type.scalar_type:type_name -> schema_pb.ScalarType
  911. 6, // 6: schema_pb.Type.record_type:type_name -> schema_pb.RecordType
  912. 9, // 7: schema_pb.Type.list_type:type_name -> schema_pb.ListType
  913. 8, // 8: schema_pb.ListType.element_type:type_name -> schema_pb.Type
  914. 13, // 9: schema_pb.RecordValue.fields:type_name -> schema_pb.RecordValue.FieldsEntry
  915. 12, // 10: schema_pb.Value.list_value:type_name -> schema_pb.ListValue
  916. 10, // 11: schema_pb.Value.record_value:type_name -> schema_pb.RecordValue
  917. 11, // 12: schema_pb.ListValue.values:type_name -> schema_pb.Value
  918. 11, // 13: schema_pb.RecordValue.FieldsEntry.value:type_name -> schema_pb.Value
  919. 14, // [14:14] is the sub-list for method output_type
  920. 14, // [14:14] is the sub-list for method input_type
  921. 14, // [14:14] is the sub-list for extension type_name
  922. 14, // [14:14] is the sub-list for extension extendee
  923. 0, // [0:14] is the sub-list for field type_name
  924. }
  925. func init() { file_mq_schema_proto_init() }
  926. func file_mq_schema_proto_init() {
  927. if File_mq_schema_proto != nil {
  928. return
  929. }
  930. if !protoimpl.UnsafeEnabled {
  931. file_mq_schema_proto_msgTypes[0].Exporter = func(v any, i int) any {
  932. switch v := v.(*Topic); i {
  933. case 0:
  934. return &v.state
  935. case 1:
  936. return &v.sizeCache
  937. case 2:
  938. return &v.unknownFields
  939. default:
  940. return nil
  941. }
  942. }
  943. file_mq_schema_proto_msgTypes[1].Exporter = func(v any, i int) any {
  944. switch v := v.(*Partition); i {
  945. case 0:
  946. return &v.state
  947. case 1:
  948. return &v.sizeCache
  949. case 2:
  950. return &v.unknownFields
  951. default:
  952. return nil
  953. }
  954. }
  955. file_mq_schema_proto_msgTypes[2].Exporter = func(v any, i int) any {
  956. switch v := v.(*Offset); i {
  957. case 0:
  958. return &v.state
  959. case 1:
  960. return &v.sizeCache
  961. case 2:
  962. return &v.unknownFields
  963. default:
  964. return nil
  965. }
  966. }
  967. file_mq_schema_proto_msgTypes[3].Exporter = func(v any, i int) any {
  968. switch v := v.(*PartitionOffset); i {
  969. case 0:
  970. return &v.state
  971. case 1:
  972. return &v.sizeCache
  973. case 2:
  974. return &v.unknownFields
  975. default:
  976. return nil
  977. }
  978. }
  979. file_mq_schema_proto_msgTypes[4].Exporter = func(v any, i int) any {
  980. switch v := v.(*RecordType); i {
  981. case 0:
  982. return &v.state
  983. case 1:
  984. return &v.sizeCache
  985. case 2:
  986. return &v.unknownFields
  987. default:
  988. return nil
  989. }
  990. }
  991. file_mq_schema_proto_msgTypes[5].Exporter = func(v any, i int) any {
  992. switch v := v.(*Field); i {
  993. case 0:
  994. return &v.state
  995. case 1:
  996. return &v.sizeCache
  997. case 2:
  998. return &v.unknownFields
  999. default:
  1000. return nil
  1001. }
  1002. }
  1003. file_mq_schema_proto_msgTypes[6].Exporter = func(v any, i int) any {
  1004. switch v := v.(*Type); i {
  1005. case 0:
  1006. return &v.state
  1007. case 1:
  1008. return &v.sizeCache
  1009. case 2:
  1010. return &v.unknownFields
  1011. default:
  1012. return nil
  1013. }
  1014. }
  1015. file_mq_schema_proto_msgTypes[7].Exporter = func(v any, i int) any {
  1016. switch v := v.(*ListType); i {
  1017. case 0:
  1018. return &v.state
  1019. case 1:
  1020. return &v.sizeCache
  1021. case 2:
  1022. return &v.unknownFields
  1023. default:
  1024. return nil
  1025. }
  1026. }
  1027. file_mq_schema_proto_msgTypes[8].Exporter = func(v any, i int) any {
  1028. switch v := v.(*RecordValue); i {
  1029. case 0:
  1030. return &v.state
  1031. case 1:
  1032. return &v.sizeCache
  1033. case 2:
  1034. return &v.unknownFields
  1035. default:
  1036. return nil
  1037. }
  1038. }
  1039. file_mq_schema_proto_msgTypes[9].Exporter = func(v any, i int) any {
  1040. switch v := v.(*Value); i {
  1041. case 0:
  1042. return &v.state
  1043. case 1:
  1044. return &v.sizeCache
  1045. case 2:
  1046. return &v.unknownFields
  1047. default:
  1048. return nil
  1049. }
  1050. }
  1051. file_mq_schema_proto_msgTypes[10].Exporter = func(v any, i int) any {
  1052. switch v := v.(*ListValue); i {
  1053. case 0:
  1054. return &v.state
  1055. case 1:
  1056. return &v.sizeCache
  1057. case 2:
  1058. return &v.unknownFields
  1059. default:
  1060. return nil
  1061. }
  1062. }
  1063. }
  1064. file_mq_schema_proto_msgTypes[6].OneofWrappers = []any{
  1065. (*Type_ScalarType)(nil),
  1066. (*Type_RecordType)(nil),
  1067. (*Type_ListType)(nil),
  1068. }
  1069. file_mq_schema_proto_msgTypes[9].OneofWrappers = []any{
  1070. (*Value_BoolValue)(nil),
  1071. (*Value_Int32Value)(nil),
  1072. (*Value_Int64Value)(nil),
  1073. (*Value_FloatValue)(nil),
  1074. (*Value_DoubleValue)(nil),
  1075. (*Value_BytesValue)(nil),
  1076. (*Value_StringValue)(nil),
  1077. (*Value_ListValue)(nil),
  1078. (*Value_RecordValue)(nil),
  1079. }
  1080. type x struct{}
  1081. out := protoimpl.TypeBuilder{
  1082. File: protoimpl.DescBuilder{
  1083. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1084. RawDescriptor: file_mq_schema_proto_rawDesc,
  1085. NumEnums: 2,
  1086. NumMessages: 12,
  1087. NumExtensions: 0,
  1088. NumServices: 0,
  1089. },
  1090. GoTypes: file_mq_schema_proto_goTypes,
  1091. DependencyIndexes: file_mq_schema_proto_depIdxs,
  1092. EnumInfos: file_mq_schema_proto_enumTypes,
  1093. MessageInfos: file_mq_schema_proto_msgTypes,
  1094. }.Build()
  1095. File_mq_schema_proto = out.File
  1096. file_mq_schema_proto_rawDesc = nil
  1097. file_mq_schema_proto_goTypes = nil
  1098. file_mq_schema_proto_depIdxs = nil
  1099. }