github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/pkg/graveler/committed/committed.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc (unknown) 5 // source: graveler/committed/committed.proto 6 7 package committed 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type RangeData struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 // First key of range, must be >= key of range in SSTable. If missing, == key of range in SSTable. 29 MinKey []byte `protobuf:"bytes,1,opt,name=min_key,json=minKey,proto3" json:"min_key,omitempty"` 30 MaxKey []byte `protobuf:"bytes,2,opt,name=max_key,json=maxKey,proto3" json:"max_key,omitempty"` 31 EstimatedSize uint64 `protobuf:"varint,3,opt,name=estimated_size,json=estimatedSize,proto3" json:"estimated_size,omitempty"` 32 Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` 33 } 34 35 func (x *RangeData) Reset() { 36 *x = RangeData{} 37 if protoimpl.UnsafeEnabled { 38 mi := &file_graveler_committed_committed_proto_msgTypes[0] 39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 40 ms.StoreMessageInfo(mi) 41 } 42 } 43 44 func (x *RangeData) String() string { 45 return protoimpl.X.MessageStringOf(x) 46 } 47 48 func (*RangeData) ProtoMessage() {} 49 50 func (x *RangeData) ProtoReflect() protoreflect.Message { 51 mi := &file_graveler_committed_committed_proto_msgTypes[0] 52 if protoimpl.UnsafeEnabled && x != nil { 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 if ms.LoadMessageInfo() == nil { 55 ms.StoreMessageInfo(mi) 56 } 57 return ms 58 } 59 return mi.MessageOf(x) 60 } 61 62 // Deprecated: Use RangeData.ProtoReflect.Descriptor instead. 63 func (*RangeData) Descriptor() ([]byte, []int) { 64 return file_graveler_committed_committed_proto_rawDescGZIP(), []int{0} 65 } 66 67 func (x *RangeData) GetMinKey() []byte { 68 if x != nil { 69 return x.MinKey 70 } 71 return nil 72 } 73 74 func (x *RangeData) GetMaxKey() []byte { 75 if x != nil { 76 return x.MaxKey 77 } 78 return nil 79 } 80 81 func (x *RangeData) GetEstimatedSize() uint64 { 82 if x != nil { 83 return x.EstimatedSize 84 } 85 return 0 86 } 87 88 func (x *RangeData) GetCount() int64 { 89 if x != nil { 90 return x.Count 91 } 92 return 0 93 } 94 95 var File_graveler_committed_committed_proto protoreflect.FileDescriptor 96 97 var file_graveler_committed_committed_proto_rawDesc = []byte{ 98 0x0a, 0x22, 0x67, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 99 0x74, 0x74, 0x65, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x2e, 0x70, 100 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x22, 101 0x7a, 0x0a, 0x09, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x17, 0x0a, 0x07, 102 0x6d, 0x69, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6d, 103 0x69, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x6b, 0x65, 0x79, 104 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x4b, 0x65, 0x79, 0x12, 0x25, 105 0x0a, 0x0e, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 106 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 107 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 108 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x30, 0x5a, 0x2e, 0x67, 109 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x65, 0x65, 0x76, 0x65, 110 0x72, 0x73, 0x65, 0x2f, 0x6c, 0x61, 0x6b, 0x65, 0x66, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x65, 111 0x6c, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x62, 0x06, 0x70, 112 0x72, 0x6f, 0x74, 0x6f, 0x33, 113 } 114 115 var ( 116 file_graveler_committed_committed_proto_rawDescOnce sync.Once 117 file_graveler_committed_committed_proto_rawDescData = file_graveler_committed_committed_proto_rawDesc 118 ) 119 120 func file_graveler_committed_committed_proto_rawDescGZIP() []byte { 121 file_graveler_committed_committed_proto_rawDescOnce.Do(func() { 122 file_graveler_committed_committed_proto_rawDescData = protoimpl.X.CompressGZIP(file_graveler_committed_committed_proto_rawDescData) 123 }) 124 return file_graveler_committed_committed_proto_rawDescData 125 } 126 127 var file_graveler_committed_committed_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 128 var file_graveler_committed_committed_proto_goTypes = []interface{}{ 129 (*RangeData)(nil), // 0: committed.RangeData 130 } 131 var file_graveler_committed_committed_proto_depIdxs = []int32{ 132 0, // [0:0] is the sub-list for method output_type 133 0, // [0:0] is the sub-list for method input_type 134 0, // [0:0] is the sub-list for extension type_name 135 0, // [0:0] is the sub-list for extension extendee 136 0, // [0:0] is the sub-list for field type_name 137 } 138 139 func init() { file_graveler_committed_committed_proto_init() } 140 func file_graveler_committed_committed_proto_init() { 141 if File_graveler_committed_committed_proto != nil { 142 return 143 } 144 if !protoimpl.UnsafeEnabled { 145 file_graveler_committed_committed_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 146 switch v := v.(*RangeData); i { 147 case 0: 148 return &v.state 149 case 1: 150 return &v.sizeCache 151 case 2: 152 return &v.unknownFields 153 default: 154 return nil 155 } 156 } 157 } 158 type x struct{} 159 out := protoimpl.TypeBuilder{ 160 File: protoimpl.DescBuilder{ 161 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 162 RawDescriptor: file_graveler_committed_committed_proto_rawDesc, 163 NumEnums: 0, 164 NumMessages: 1, 165 NumExtensions: 0, 166 NumServices: 0, 167 }, 168 GoTypes: file_graveler_committed_committed_proto_goTypes, 169 DependencyIndexes: file_graveler_committed_committed_proto_depIdxs, 170 MessageInfos: file_graveler_committed_committed_proto_msgTypes, 171 }.Build() 172 File_graveler_committed_committed_proto = out.File 173 file_graveler_committed_committed_proto_rawDesc = nil 174 file_graveler_committed_committed_proto_goTypes = nil 175 file_graveler_committed_committed_proto_depIdxs = nil 176 }