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.

195 lines
5.8 KiB

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