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.

186 lines
5.6 KiB

4 years ago
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0
  4. // protoc v3.12.3
  5. // source: bptree.proto
  6. package bptree
  7. import (
  8. proto "github.com/golang/protobuf/proto"
  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. // This is a compile-time assertion that a sufficiently up-to-date version
  21. // of the legacy proto package is being used.
  22. const _ = proto.ProtoPackageIsVersion4
  23. type ProtoNode struct {
  24. state protoimpl.MessageState
  25. sizeCache protoimpl.SizeCache
  26. unknownFields protoimpl.UnknownFields
  27. Keys [][]byte `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
  28. Values [][]byte `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
  29. Pointers []int64 `protobuf:"varint,3,rep,packed,name=pointers,proto3" json:"pointers,omitempty"`
  30. Next int64 `protobuf:"varint,4,opt,name=next,proto3" json:"next,omitempty"`
  31. Prev int64 `protobuf:"varint,5,opt,name=prev,proto3" json:"prev,omitempty"`
  32. }
  33. func (x *ProtoNode) Reset() {
  34. *x = ProtoNode{}
  35. if protoimpl.UnsafeEnabled {
  36. mi := &file_bptree_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. }
  41. func (x *ProtoNode) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*ProtoNode) ProtoMessage() {}
  45. func (x *ProtoNode) ProtoReflect() protoreflect.Message {
  46. mi := &file_bptree_proto_msgTypes[0]
  47. if protoimpl.UnsafeEnabled && x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use ProtoNode.ProtoReflect.Descriptor instead.
  57. func (*ProtoNode) Descriptor() ([]byte, []int) {
  58. return file_bptree_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *ProtoNode) GetKeys() [][]byte {
  61. if x != nil {
  62. return x.Keys
  63. }
  64. return nil
  65. }
  66. func (x *ProtoNode) GetValues() [][]byte {
  67. if x != nil {
  68. return x.Values
  69. }
  70. return nil
  71. }
  72. func (x *ProtoNode) GetPointers() []int64 {
  73. if x != nil {
  74. return x.Pointers
  75. }
  76. return nil
  77. }
  78. func (x *ProtoNode) GetNext() int64 {
  79. if x != nil {
  80. return x.Next
  81. }
  82. return 0
  83. }
  84. func (x *ProtoNode) GetPrev() int64 {
  85. if x != nil {
  86. return x.Prev
  87. }
  88. return 0
  89. }
  90. var File_bptree_proto protoreflect.FileDescriptor
  91. var file_bptree_proto_rawDesc = []byte{
  92. 0x0a, 0x0c, 0x62, 0x70, 0x74, 0x72, 0x65, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
  93. 0x62, 0x70, 0x74, 0x72, 0x65, 0x65, 0x22, 0x7b, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x4e,
  94. 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
  95. 0x0c, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65,
  96. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
  97. 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
  98. 0x03, 0x52, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e,
  99. 0x65, 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x12,
  100. 0x12, 0x0a, 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70,
  101. 0x72, 0x65, 0x76, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
  102. 0x6d, 0x2f, 0x63, 0x68, 0x72, 0x69, 0x73, 0x6c, 0x75, 0x73, 0x66, 0x2f, 0x73, 0x65, 0x61, 0x77,
  103. 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x2f,
  104. 0x62, 0x70, 0x74, 0x72, 0x65, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  105. }
  106. var (
  107. file_bptree_proto_rawDescOnce sync.Once
  108. file_bptree_proto_rawDescData = file_bptree_proto_rawDesc
  109. )
  110. func file_bptree_proto_rawDescGZIP() []byte {
  111. file_bptree_proto_rawDescOnce.Do(func() {
  112. file_bptree_proto_rawDescData = protoimpl.X.CompressGZIP(file_bptree_proto_rawDescData)
  113. })
  114. return file_bptree_proto_rawDescData
  115. }
  116. var file_bptree_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  117. var file_bptree_proto_goTypes = []interface{}{
  118. (*ProtoNode)(nil), // 0: bptree.ProtoNode
  119. }
  120. var file_bptree_proto_depIdxs = []int32{
  121. 0, // [0:0] is the sub-list for method output_type
  122. 0, // [0:0] is the sub-list for method input_type
  123. 0, // [0:0] is the sub-list for extension type_name
  124. 0, // [0:0] is the sub-list for extension extendee
  125. 0, // [0:0] is the sub-list for field type_name
  126. }
  127. func init() { file_bptree_proto_init() }
  128. func file_bptree_proto_init() {
  129. if File_bptree_proto != nil {
  130. return
  131. }
  132. if !protoimpl.UnsafeEnabled {
  133. file_bptree_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  134. switch v := v.(*ProtoNode); i {
  135. case 0:
  136. return &v.state
  137. case 1:
  138. return &v.sizeCache
  139. case 2:
  140. return &v.unknownFields
  141. default:
  142. return nil
  143. }
  144. }
  145. }
  146. type x struct{}
  147. out := protoimpl.TypeBuilder{
  148. File: protoimpl.DescBuilder{
  149. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  150. RawDescriptor: file_bptree_proto_rawDesc,
  151. NumEnums: 0,
  152. NumMessages: 1,
  153. NumExtensions: 0,
  154. NumServices: 0,
  155. },
  156. GoTypes: file_bptree_proto_goTypes,
  157. DependencyIndexes: file_bptree_proto_depIdxs,
  158. MessageInfos: file_bptree_proto_msgTypes,
  159. }.Build()
  160. File_bptree_proto = out.File
  161. file_bptree_proto_rawDesc = nil
  162. file_bptree_proto_goTypes = nil
  163. file_bptree_proto_depIdxs = nil
  164. }