/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/rocksdb/db/version_edit.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/rocksdb/db/version_edit.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto__INCLUDED |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3005000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata.h> |
28 | | #include <google/protobuf/message.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/unknown_field_set.h> |
32 | | #include "yb/util/opid.pb.h" |
33 | | #include <google/protobuf/any.pb.h> |
34 | | // @@protoc_insertion_point(includes) |
35 | | |
36 | | namespace protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto { |
37 | | // Internal implementation detail -- do not use these members. |
38 | | struct TableStruct { |
39 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
40 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
41 | | static const ::google::protobuf::internal::ParseTable schema[5]; |
42 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
43 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
44 | | static const ::google::protobuf::uint32 offsets[]; |
45 | | }; |
46 | | void AddDescriptors(); |
47 | | void InitDefaultsDeletedFilePBImpl(); |
48 | | void InitDefaultsDeletedFilePB(); |
49 | | void InitDefaultsUserBoundaryValuePBImpl(); |
50 | | void InitDefaultsUserBoundaryValuePB(); |
51 | | void InitDefaultsBoundaryValuesPBImpl(); |
52 | | void InitDefaultsBoundaryValuesPB(); |
53 | | void InitDefaultsNewFilePBImpl(); |
54 | | void InitDefaultsNewFilePB(); |
55 | | void InitDefaultsVersionEditPBImpl(); |
56 | | void InitDefaultsVersionEditPB(); |
57 | 17.1k | inline void InitDefaults() { |
58 | 17.1k | InitDefaultsDeletedFilePB(); |
59 | 17.1k | InitDefaultsUserBoundaryValuePB(); |
60 | 17.1k | InitDefaultsBoundaryValuesPB(); |
61 | 17.1k | InitDefaultsNewFilePB(); |
62 | 17.1k | InitDefaultsVersionEditPB(); |
63 | 17.1k | } |
64 | | } // namespace protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto |
65 | | namespace rocksdb { |
66 | | class BoundaryValuesPB; |
67 | | class BoundaryValuesPBDefaultTypeInternal; |
68 | | extern BoundaryValuesPBDefaultTypeInternal _BoundaryValuesPB_default_instance_; |
69 | | class DeletedFilePB; |
70 | | class DeletedFilePBDefaultTypeInternal; |
71 | | extern DeletedFilePBDefaultTypeInternal _DeletedFilePB_default_instance_; |
72 | | class NewFilePB; |
73 | | class NewFilePBDefaultTypeInternal; |
74 | | extern NewFilePBDefaultTypeInternal _NewFilePB_default_instance_; |
75 | | class UserBoundaryValuePB; |
76 | | class UserBoundaryValuePBDefaultTypeInternal; |
77 | | extern UserBoundaryValuePBDefaultTypeInternal _UserBoundaryValuePB_default_instance_; |
78 | | class VersionEditPB; |
79 | | class VersionEditPBDefaultTypeInternal; |
80 | | extern VersionEditPBDefaultTypeInternal _VersionEditPB_default_instance_; |
81 | | } // namespace rocksdb |
82 | | namespace rocksdb { |
83 | | |
84 | | // =================================================================== |
85 | | |
86 | | class DeletedFilePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rocksdb.DeletedFilePB) */ { |
87 | | public: |
88 | | DeletedFilePB(); |
89 | | virtual ~DeletedFilePB(); |
90 | | |
91 | | DeletedFilePB(const DeletedFilePB& from); |
92 | | |
93 | 0 | inline DeletedFilePB& operator=(const DeletedFilePB& from) { |
94 | 0 | CopyFrom(from); |
95 | 0 | return *this; |
96 | 0 | } |
97 | | #if LANG_CXX11 |
98 | | DeletedFilePB(DeletedFilePB&& from) noexcept |
99 | 0 | : DeletedFilePB() { |
100 | 0 | *this = ::std::move(from); |
101 | 0 | } |
102 | | |
103 | 0 | inline DeletedFilePB& operator=(DeletedFilePB&& from) noexcept { |
104 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
105 | 0 | if (this != &from) InternalSwap(&from); |
106 | 0 | } else { |
107 | 0 | CopyFrom(from); |
108 | 0 | } |
109 | 0 | return *this; |
110 | 0 | } |
111 | | #endif |
112 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
113 | 0 | return _internal_metadata_.unknown_fields(); |
114 | 0 | } |
115 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
116 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
117 | 0 | } |
118 | | |
119 | | static const ::google::protobuf::Descriptor* descriptor(); |
120 | | static const DeletedFilePB& default_instance(); |
121 | | |
122 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
123 | 93.6k | static inline const DeletedFilePB* internal_default_instance() { |
124 | 93.6k | return reinterpret_cast<const DeletedFilePB*>( |
125 | 93.6k | &_DeletedFilePB_default_instance_); |
126 | 93.6k | } |
127 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
128 | | 0; |
129 | | |
130 | | void Swap(DeletedFilePB* other); |
131 | 0 | friend void swap(DeletedFilePB& a, DeletedFilePB& b) { |
132 | 0 | a.Swap(&b); |
133 | 0 | } |
134 | | |
135 | | // implements Message ---------------------------------------------- |
136 | | |
137 | 0 | inline DeletedFilePB* New() const PROTOBUF_FINAL { return New(NULL); } |
138 | | |
139 | | DeletedFilePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
140 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
141 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
142 | | void CopyFrom(const DeletedFilePB& from); |
143 | | void MergeFrom(const DeletedFilePB& from); |
144 | | void Clear() PROTOBUF_FINAL; |
145 | | bool IsInitialized() const PROTOBUF_FINAL; |
146 | | |
147 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
148 | | bool MergePartialFromCodedStream( |
149 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
150 | | void SerializeWithCachedSizes( |
151 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
152 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
153 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
154 | 60.7k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
155 | | private: |
156 | | void SharedCtor(); |
157 | | void SharedDtor(); |
158 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
159 | | void InternalSwap(DeletedFilePB* other); |
160 | | private: |
161 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
162 | 0 | return NULL; |
163 | 0 | } |
164 | 0 | inline void* MaybeArenaPtr() const { |
165 | 0 | return NULL; |
166 | 0 | } |
167 | | public: |
168 | | |
169 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
170 | | |
171 | | // nested types ---------------------------------------------------- |
172 | | |
173 | | // accessors ------------------------------------------------------- |
174 | | |
175 | | // optional uint64 file_number = 2; |
176 | | bool has_file_number() const; |
177 | | void clear_file_number(); |
178 | | static const int kFileNumberFieldNumber = 2; |
179 | | ::google::protobuf::uint64 file_number() const; |
180 | | void set_file_number(::google::protobuf::uint64 value); |
181 | | |
182 | | // optional uint32 level = 1; |
183 | | bool has_level() const; |
184 | | void clear_level(); |
185 | | static const int kLevelFieldNumber = 1; |
186 | | ::google::protobuf::uint32 level() const; |
187 | | void set_level(::google::protobuf::uint32 value); |
188 | | |
189 | | // @@protoc_insertion_point(class_scope:rocksdb.DeletedFilePB) |
190 | | private: |
191 | | void set_has_level(); |
192 | | void clear_has_level(); |
193 | | void set_has_file_number(); |
194 | | void clear_has_file_number(); |
195 | | |
196 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
197 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
198 | | mutable int _cached_size_; |
199 | | ::google::protobuf::uint64 file_number_; |
200 | | ::google::protobuf::uint32 level_; |
201 | | friend struct ::protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto::TableStruct; |
202 | | friend void ::protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto::InitDefaultsDeletedFilePBImpl(); |
203 | | }; |
204 | | // ------------------------------------------------------------------- |
205 | | |
206 | | class UserBoundaryValuePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rocksdb.UserBoundaryValuePB) */ { |
207 | | public: |
208 | | UserBoundaryValuePB(); |
209 | | virtual ~UserBoundaryValuePB(); |
210 | | |
211 | | UserBoundaryValuePB(const UserBoundaryValuePB& from); |
212 | | |
213 | 0 | inline UserBoundaryValuePB& operator=(const UserBoundaryValuePB& from) { |
214 | 0 | CopyFrom(from); |
215 | 0 | return *this; |
216 | 0 | } |
217 | | #if LANG_CXX11 |
218 | | UserBoundaryValuePB(UserBoundaryValuePB&& from) noexcept |
219 | 0 | : UserBoundaryValuePB() { |
220 | 0 | *this = ::std::move(from); |
221 | 0 | } |
222 | | |
223 | 0 | inline UserBoundaryValuePB& operator=(UserBoundaryValuePB&& from) noexcept { |
224 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
225 | 0 | if (this != &from) InternalSwap(&from); |
226 | 0 | } else { |
227 | 0 | CopyFrom(from); |
228 | 0 | } |
229 | 0 | return *this; |
230 | 0 | } |
231 | | #endif |
232 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
233 | 0 | return _internal_metadata_.unknown_fields(); |
234 | 0 | } |
235 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
236 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
237 | 0 | } |
238 | | |
239 | | static const ::google::protobuf::Descriptor* descriptor(); |
240 | | static const UserBoundaryValuePB& default_instance(); |
241 | | |
242 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
243 | 190k | static inline const UserBoundaryValuePB* internal_default_instance() { |
244 | 190k | return reinterpret_cast<const UserBoundaryValuePB*>( |
245 | 190k | &_UserBoundaryValuePB_default_instance_); |
246 | 190k | } |
247 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
248 | | 1; |
249 | | |
250 | | void Swap(UserBoundaryValuePB* other); |
251 | 0 | friend void swap(UserBoundaryValuePB& a, UserBoundaryValuePB& b) { |
252 | 0 | a.Swap(&b); |
253 | 0 | } |
254 | | |
255 | | // implements Message ---------------------------------------------- |
256 | | |
257 | 0 | inline UserBoundaryValuePB* New() const PROTOBUF_FINAL { return New(NULL); } |
258 | | |
259 | | UserBoundaryValuePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
260 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
261 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
262 | | void CopyFrom(const UserBoundaryValuePB& from); |
263 | | void MergeFrom(const UserBoundaryValuePB& from); |
264 | | void Clear() PROTOBUF_FINAL; |
265 | | bool IsInitialized() const PROTOBUF_FINAL; |
266 | | |
267 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
268 | | bool MergePartialFromCodedStream( |
269 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
270 | | void SerializeWithCachedSizes( |
271 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
272 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
273 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
274 | 76.5k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
275 | | private: |
276 | | void SharedCtor(); |
277 | | void SharedDtor(); |
278 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
279 | | void InternalSwap(UserBoundaryValuePB* other); |
280 | | private: |
281 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
282 | 0 | return NULL; |
283 | 0 | } |
284 | 0 | inline void* MaybeArenaPtr() const { |
285 | 0 | return NULL; |
286 | 0 | } |
287 | | public: |
288 | | |
289 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
290 | | |
291 | | // nested types ---------------------------------------------------- |
292 | | |
293 | | // accessors ------------------------------------------------------- |
294 | | |
295 | | // optional bytes data = 2; |
296 | | bool has_data() const; |
297 | | void clear_data(); |
298 | | static const int kDataFieldNumber = 2; |
299 | | const ::std::string& data() const; |
300 | | void set_data(const ::std::string& value); |
301 | | #if LANG_CXX11 |
302 | | void set_data(::std::string&& value); |
303 | | #endif |
304 | | void set_data(const char* value); |
305 | | void set_data(const void* value, size_t size); |
306 | | ::std::string* mutable_data(); |
307 | | ::std::string* release_data(); |
308 | | void set_allocated_data(::std::string* data); |
309 | | |
310 | | // optional uint32 tag = 1; |
311 | | bool has_tag() const; |
312 | | void clear_tag(); |
313 | | static const int kTagFieldNumber = 1; |
314 | | ::google::protobuf::uint32 tag() const; |
315 | | void set_tag(::google::protobuf::uint32 value); |
316 | | |
317 | | // @@protoc_insertion_point(class_scope:rocksdb.UserBoundaryValuePB) |
318 | | private: |
319 | | void set_has_tag(); |
320 | | void clear_has_tag(); |
321 | | void set_has_data(); |
322 | | void clear_has_data(); |
323 | | |
324 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
325 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
326 | | mutable int _cached_size_; |
327 | | ::google::protobuf::internal::ArenaStringPtr data_; |
328 | | ::google::protobuf::uint32 tag_; |
329 | | friend struct ::protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto::TableStruct; |
330 | | friend void ::protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto::InitDefaultsUserBoundaryValuePBImpl(); |
331 | | }; |
332 | | // ------------------------------------------------------------------- |
333 | | |
334 | | class BoundaryValuesPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rocksdb.BoundaryValuesPB) */ { |
335 | | public: |
336 | | BoundaryValuesPB(); |
337 | | virtual ~BoundaryValuesPB(); |
338 | | |
339 | | BoundaryValuesPB(const BoundaryValuesPB& from); |
340 | | |
341 | 0 | inline BoundaryValuesPB& operator=(const BoundaryValuesPB& from) { |
342 | 0 | CopyFrom(from); |
343 | 0 | return *this; |
344 | 0 | } |
345 | | #if LANG_CXX11 |
346 | | BoundaryValuesPB(BoundaryValuesPB&& from) noexcept |
347 | 0 | : BoundaryValuesPB() { |
348 | 0 | *this = ::std::move(from); |
349 | 0 | } |
350 | | |
351 | 0 | inline BoundaryValuesPB& operator=(BoundaryValuesPB&& from) noexcept { |
352 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
353 | 0 | if (this != &from) InternalSwap(&from); |
354 | 0 | } else { |
355 | 0 | CopyFrom(from); |
356 | 0 | } |
357 | 0 | return *this; |
358 | 0 | } |
359 | | #endif |
360 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
361 | 0 | return _internal_metadata_.unknown_fields(); |
362 | 0 | } |
363 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
364 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
365 | 0 | } |
366 | | |
367 | | static const ::google::protobuf::Descriptor* descriptor(); |
368 | | static const BoundaryValuesPB& default_instance(); |
369 | | |
370 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
371 | 678k | static inline const BoundaryValuesPB* internal_default_instance() { |
372 | 678k | return reinterpret_cast<const BoundaryValuesPB*>( |
373 | 678k | &_BoundaryValuesPB_default_instance_); |
374 | 678k | } |
375 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
376 | | 2; |
377 | | |
378 | | void Swap(BoundaryValuesPB* other); |
379 | 0 | friend void swap(BoundaryValuesPB& a, BoundaryValuesPB& b) { |
380 | 0 | a.Swap(&b); |
381 | 0 | } |
382 | | |
383 | | // implements Message ---------------------------------------------- |
384 | | |
385 | 0 | inline BoundaryValuesPB* New() const PROTOBUF_FINAL { return New(NULL); } |
386 | | |
387 | | BoundaryValuesPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
388 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
389 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
390 | | void CopyFrom(const BoundaryValuesPB& from); |
391 | | void MergeFrom(const BoundaryValuesPB& from); |
392 | | void Clear() PROTOBUF_FINAL; |
393 | | bool IsInitialized() const PROTOBUF_FINAL; |
394 | | |
395 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
396 | | bool MergePartialFromCodedStream( |
397 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
398 | | void SerializeWithCachedSizes( |
399 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
400 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
401 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
402 | 190k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
403 | | private: |
404 | | void SharedCtor(); |
405 | | void SharedDtor(); |
406 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
407 | | void InternalSwap(BoundaryValuesPB* other); |
408 | | private: |
409 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
410 | 0 | return NULL; |
411 | 0 | } |
412 | 0 | inline void* MaybeArenaPtr() const { |
413 | 0 | return NULL; |
414 | 0 | } |
415 | | public: |
416 | | |
417 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
418 | | |
419 | | // nested types ---------------------------------------------------- |
420 | | |
421 | | // accessors ------------------------------------------------------- |
422 | | |
423 | | // repeated .rocksdb.UserBoundaryValuePB user_values = 3; |
424 | | int user_values_size() const; |
425 | | void clear_user_values(); |
426 | | static const int kUserValuesFieldNumber = 3; |
427 | | const ::rocksdb::UserBoundaryValuePB& user_values(int index) const; |
428 | | ::rocksdb::UserBoundaryValuePB* mutable_user_values(int index); |
429 | | ::rocksdb::UserBoundaryValuePB* add_user_values(); |
430 | | ::google::protobuf::RepeatedPtrField< ::rocksdb::UserBoundaryValuePB >* |
431 | | mutable_user_values(); |
432 | | const ::google::protobuf::RepeatedPtrField< ::rocksdb::UserBoundaryValuePB >& |
433 | | user_values() const; |
434 | | |
435 | | // optional bytes key = 1; |
436 | | bool has_key() const; |
437 | | void clear_key(); |
438 | | static const int kKeyFieldNumber = 1; |
439 | | const ::std::string& key() const; |
440 | | void set_key(const ::std::string& value); |
441 | | #if LANG_CXX11 |
442 | | void set_key(::std::string&& value); |
443 | | #endif |
444 | | void set_key(const char* value); |
445 | | void set_key(const void* value, size_t size); |
446 | | ::std::string* mutable_key(); |
447 | | ::std::string* release_key(); |
448 | | void set_allocated_key(::std::string* key); |
449 | | |
450 | | // optional .google.protobuf.Any user_frontier = 4; |
451 | | bool has_user_frontier() const; |
452 | | void clear_user_frontier(); |
453 | | static const int kUserFrontierFieldNumber = 4; |
454 | | const ::google::protobuf::Any& user_frontier() const; |
455 | | ::google::protobuf::Any* release_user_frontier(); |
456 | | ::google::protobuf::Any* mutable_user_frontier(); |
457 | | void set_allocated_user_frontier(::google::protobuf::Any* user_frontier); |
458 | | |
459 | | // optional uint64 seqno = 2; |
460 | | bool has_seqno() const; |
461 | | void clear_seqno(); |
462 | | static const int kSeqnoFieldNumber = 2; |
463 | | ::google::protobuf::uint64 seqno() const; |
464 | | void set_seqno(::google::protobuf::uint64 value); |
465 | | |
466 | | // @@protoc_insertion_point(class_scope:rocksdb.BoundaryValuesPB) |
467 | | private: |
468 | | void set_has_key(); |
469 | | void clear_has_key(); |
470 | | void set_has_seqno(); |
471 | | void clear_has_seqno(); |
472 | | void set_has_user_frontier(); |
473 | | void clear_has_user_frontier(); |
474 | | |
475 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
476 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
477 | | mutable int _cached_size_; |
478 | | ::google::protobuf::RepeatedPtrField< ::rocksdb::UserBoundaryValuePB > user_values_; |
479 | | ::google::protobuf::internal::ArenaStringPtr key_; |
480 | | ::google::protobuf::Any* user_frontier_; |
481 | | ::google::protobuf::uint64 seqno_; |
482 | | friend struct ::protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto::TableStruct; |
483 | | friend void ::protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto::InitDefaultsBoundaryValuesPBImpl(); |
484 | | }; |
485 | | // ------------------------------------------------------------------- |
486 | | |
487 | | class NewFilePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rocksdb.NewFilePB) */ { |
488 | | public: |
489 | | NewFilePB(); |
490 | | virtual ~NewFilePB(); |
491 | | |
492 | | NewFilePB(const NewFilePB& from); |
493 | | |
494 | 0 | inline NewFilePB& operator=(const NewFilePB& from) { |
495 | 0 | CopyFrom(from); |
496 | 0 | return *this; |
497 | 0 | } |
498 | | #if LANG_CXX11 |
499 | | NewFilePB(NewFilePB&& from) noexcept |
500 | 0 | : NewFilePB() { |
501 | 0 | *this = ::std::move(from); |
502 | 0 | } |
503 | | |
504 | 0 | inline NewFilePB& operator=(NewFilePB&& from) noexcept { |
505 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
506 | 0 | if (this != &from) InternalSwap(&from); |
507 | 0 | } else { |
508 | 0 | CopyFrom(from); |
509 | 0 | } |
510 | 0 | return *this; |
511 | 0 | } |
512 | | #endif |
513 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
514 | 0 | return _internal_metadata_.unknown_fields(); |
515 | 0 | } |
516 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
517 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
518 | 0 | } |
519 | | |
520 | | static const ::google::protobuf::Descriptor* descriptor(); |
521 | | static const NewFilePB& default_instance(); |
522 | | |
523 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
524 | 644k | static inline const NewFilePB* internal_default_instance() { |
525 | 644k | return reinterpret_cast<const NewFilePB*>( |
526 | 644k | &_NewFilePB_default_instance_); |
527 | 644k | } |
528 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
529 | | 3; |
530 | | |
531 | | void Swap(NewFilePB* other); |
532 | 0 | friend void swap(NewFilePB& a, NewFilePB& b) { |
533 | 0 | a.Swap(&b); |
534 | 0 | } |
535 | | |
536 | | // implements Message ---------------------------------------------- |
537 | | |
538 | 0 | inline NewFilePB* New() const PROTOBUF_FINAL { return New(NULL); } |
539 | | |
540 | | NewFilePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
541 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
542 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
543 | | void CopyFrom(const NewFilePB& from); |
544 | | void MergeFrom(const NewFilePB& from); |
545 | | void Clear() PROTOBUF_FINAL; |
546 | | bool IsInitialized() const PROTOBUF_FINAL; |
547 | | |
548 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
549 | | bool MergePartialFromCodedStream( |
550 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
551 | | void SerializeWithCachedSizes( |
552 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
553 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
554 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
555 | 95.4k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
556 | | private: |
557 | | void SharedCtor(); |
558 | | void SharedDtor(); |
559 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
560 | | void InternalSwap(NewFilePB* other); |
561 | | private: |
562 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
563 | 0 | return NULL; |
564 | 0 | } |
565 | 0 | inline void* MaybeArenaPtr() const { |
566 | 0 | return NULL; |
567 | 0 | } |
568 | | public: |
569 | | |
570 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
571 | | |
572 | | // nested types ---------------------------------------------------- |
573 | | |
574 | | // accessors ------------------------------------------------------- |
575 | | |
576 | | // optional .rocksdb.BoundaryValuesPB smallest = 5; |
577 | | bool has_smallest() const; |
578 | | void clear_smallest(); |
579 | | static const int kSmallestFieldNumber = 5; |
580 | | const ::rocksdb::BoundaryValuesPB& smallest() const; |
581 | | ::rocksdb::BoundaryValuesPB* release_smallest(); |
582 | | ::rocksdb::BoundaryValuesPB* mutable_smallest(); |
583 | | void set_allocated_smallest(::rocksdb::BoundaryValuesPB* smallest); |
584 | | |
585 | | // optional .rocksdb.BoundaryValuesPB largest = 6; |
586 | | bool has_largest() const; |
587 | | void clear_largest(); |
588 | | static const int kLargestFieldNumber = 6; |
589 | | const ::rocksdb::BoundaryValuesPB& largest() const; |
590 | | ::rocksdb::BoundaryValuesPB* release_largest(); |
591 | | ::rocksdb::BoundaryValuesPB* mutable_largest(); |
592 | | void set_allocated_largest(::rocksdb::BoundaryValuesPB* largest); |
593 | | |
594 | | // optional .yb.OpIdPB obsolete_last_op_id = 9; |
595 | | bool has_obsolete_last_op_id() const; |
596 | | void clear_obsolete_last_op_id(); |
597 | | static const int kObsoleteLastOpIdFieldNumber = 9; |
598 | | const ::yb::OpIdPB& obsolete_last_op_id() const; |
599 | | ::yb::OpIdPB* release_obsolete_last_op_id(); |
600 | | ::yb::OpIdPB* mutable_obsolete_last_op_id(); |
601 | | void set_allocated_obsolete_last_op_id(::yb::OpIdPB* obsolete_last_op_id); |
602 | | |
603 | | // optional uint64 number = 2; |
604 | | bool has_number() const; |
605 | | void clear_number(); |
606 | | static const int kNumberFieldNumber = 2; |
607 | | ::google::protobuf::uint64 number() const; |
608 | | void set_number(::google::protobuf::uint64 value); |
609 | | |
610 | | // optional uint64 total_file_size = 3; |
611 | | bool has_total_file_size() const; |
612 | | void clear_total_file_size(); |
613 | | static const int kTotalFileSizeFieldNumber = 3; |
614 | | ::google::protobuf::uint64 total_file_size() const; |
615 | | void set_total_file_size(::google::protobuf::uint64 value); |
616 | | |
617 | | // optional uint64 base_file_size = 4; |
618 | | bool has_base_file_size() const; |
619 | | void clear_base_file_size(); |
620 | | static const int kBaseFileSizeFieldNumber = 4; |
621 | | ::google::protobuf::uint64 base_file_size() const; |
622 | | void set_base_file_size(::google::protobuf::uint64 value); |
623 | | |
624 | | // optional uint32 level = 1; |
625 | | bool has_level() const; |
626 | | void clear_level(); |
627 | | static const int kLevelFieldNumber = 1; |
628 | | ::google::protobuf::uint32 level() const; |
629 | | void set_level(::google::protobuf::uint32 value); |
630 | | |
631 | | // optional uint32 path_id = 7; |
632 | | bool has_path_id() const; |
633 | | void clear_path_id(); |
634 | | static const int kPathIdFieldNumber = 7; |
635 | | ::google::protobuf::uint32 path_id() const; |
636 | | void set_path_id(::google::protobuf::uint32 value); |
637 | | |
638 | | // optional bool marked_for_compaction = 8; |
639 | | bool has_marked_for_compaction() const; |
640 | | void clear_marked_for_compaction(); |
641 | | static const int kMarkedForCompactionFieldNumber = 8; |
642 | | bool marked_for_compaction() const; |
643 | | void set_marked_for_compaction(bool value); |
644 | | |
645 | | // optional bool imported = 10; |
646 | | bool has_imported() const; |
647 | | void clear_imported(); |
648 | | static const int kImportedFieldNumber = 10; |
649 | | bool imported() const; |
650 | | void set_imported(bool value); |
651 | | |
652 | | // @@protoc_insertion_point(class_scope:rocksdb.NewFilePB) |
653 | | private: |
654 | | void set_has_level(); |
655 | | void clear_has_level(); |
656 | | void set_has_number(); |
657 | | void clear_has_number(); |
658 | | void set_has_total_file_size(); |
659 | | void clear_has_total_file_size(); |
660 | | void set_has_base_file_size(); |
661 | | void clear_has_base_file_size(); |
662 | | void set_has_smallest(); |
663 | | void clear_has_smallest(); |
664 | | void set_has_largest(); |
665 | | void clear_has_largest(); |
666 | | void set_has_path_id(); |
667 | | void clear_has_path_id(); |
668 | | void set_has_marked_for_compaction(); |
669 | | void clear_has_marked_for_compaction(); |
670 | | void set_has_obsolete_last_op_id(); |
671 | | void clear_has_obsolete_last_op_id(); |
672 | | void set_has_imported(); |
673 | | void clear_has_imported(); |
674 | | |
675 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
676 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
677 | | mutable int _cached_size_; |
678 | | ::rocksdb::BoundaryValuesPB* smallest_; |
679 | | ::rocksdb::BoundaryValuesPB* largest_; |
680 | | ::yb::OpIdPB* obsolete_last_op_id_; |
681 | | ::google::protobuf::uint64 number_; |
682 | | ::google::protobuf::uint64 total_file_size_; |
683 | | ::google::protobuf::uint64 base_file_size_; |
684 | | ::google::protobuf::uint32 level_; |
685 | | ::google::protobuf::uint32 path_id_; |
686 | | bool marked_for_compaction_; |
687 | | bool imported_; |
688 | | friend struct ::protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto::TableStruct; |
689 | | friend void ::protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto::InitDefaultsNewFilePBImpl(); |
690 | | }; |
691 | | // ------------------------------------------------------------------- |
692 | | |
693 | | class VersionEditPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rocksdb.VersionEditPB) */ { |
694 | | public: |
695 | | VersionEditPB(); |
696 | | virtual ~VersionEditPB(); |
697 | | |
698 | | VersionEditPB(const VersionEditPB& from); |
699 | | |
700 | 0 | inline VersionEditPB& operator=(const VersionEditPB& from) { |
701 | 0 | CopyFrom(from); |
702 | 0 | return *this; |
703 | 0 | } |
704 | | #if LANG_CXX11 |
705 | | VersionEditPB(VersionEditPB&& from) noexcept |
706 | 0 | : VersionEditPB() { |
707 | 0 | *this = ::std::move(from); |
708 | 0 | } |
709 | | |
710 | 0 | inline VersionEditPB& operator=(VersionEditPB&& from) noexcept { |
711 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
712 | 0 | if (this != &from) InternalSwap(&from); |
713 | 0 | } else { |
714 | 0 | CopyFrom(from); |
715 | 0 | } |
716 | 0 | return *this; |
717 | 0 | } |
718 | | #endif |
719 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
720 | 0 | return _internal_metadata_.unknown_fields(); |
721 | 0 | } |
722 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
723 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
724 | 0 | } |
725 | | |
726 | | static const ::google::protobuf::Descriptor* descriptor(); |
727 | | static const VersionEditPB& default_instance(); |
728 | | |
729 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
730 | 6.17M | static inline const VersionEditPB* internal_default_instance() { |
731 | 6.17M | return reinterpret_cast<const VersionEditPB*>( |
732 | 6.17M | &_VersionEditPB_default_instance_); |
733 | 6.17M | } |
734 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
735 | | 4; |
736 | | |
737 | | void Swap(VersionEditPB* other); |
738 | 0 | friend void swap(VersionEditPB& a, VersionEditPB& b) { |
739 | 0 | a.Swap(&b); |
740 | 0 | } |
741 | | |
742 | | // implements Message ---------------------------------------------- |
743 | | |
744 | 0 | inline VersionEditPB* New() const PROTOBUF_FINAL { return New(NULL); } |
745 | | |
746 | | VersionEditPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
747 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
748 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
749 | | void CopyFrom(const VersionEditPB& from); |
750 | | void MergeFrom(const VersionEditPB& from); |
751 | | void Clear() PROTOBUF_FINAL; |
752 | | bool IsInitialized() const PROTOBUF_FINAL; |
753 | | |
754 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
755 | | bool MergePartialFromCodedStream( |
756 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
757 | | void SerializeWithCachedSizes( |
758 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
759 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
760 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
761 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
762 | | private: |
763 | | void SharedCtor(); |
764 | | void SharedDtor(); |
765 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
766 | | void InternalSwap(VersionEditPB* other); |
767 | | private: |
768 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
769 | 0 | return NULL; |
770 | 0 | } |
771 | 0 | inline void* MaybeArenaPtr() const { |
772 | 0 | return NULL; |
773 | 0 | } |
774 | | public: |
775 | | |
776 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
777 | | |
778 | | // nested types ---------------------------------------------------- |
779 | | |
780 | | // accessors ------------------------------------------------------- |
781 | | |
782 | | // repeated .rocksdb.DeletedFilePB deleted_files = 7; |
783 | | int deleted_files_size() const; |
784 | | void clear_deleted_files(); |
785 | | static const int kDeletedFilesFieldNumber = 7; |
786 | | const ::rocksdb::DeletedFilePB& deleted_files(int index) const; |
787 | | ::rocksdb::DeletedFilePB* mutable_deleted_files(int index); |
788 | | ::rocksdb::DeletedFilePB* add_deleted_files(); |
789 | | ::google::protobuf::RepeatedPtrField< ::rocksdb::DeletedFilePB >* |
790 | | mutable_deleted_files(); |
791 | | const ::google::protobuf::RepeatedPtrField< ::rocksdb::DeletedFilePB >& |
792 | | deleted_files() const; |
793 | | |
794 | | // repeated .rocksdb.NewFilePB new_files = 8; |
795 | | int new_files_size() const; |
796 | | void clear_new_files(); |
797 | | static const int kNewFilesFieldNumber = 8; |
798 | | const ::rocksdb::NewFilePB& new_files(int index) const; |
799 | | ::rocksdb::NewFilePB* mutable_new_files(int index); |
800 | | ::rocksdb::NewFilePB* add_new_files(); |
801 | | ::google::protobuf::RepeatedPtrField< ::rocksdb::NewFilePB >* |
802 | | mutable_new_files(); |
803 | | const ::google::protobuf::RepeatedPtrField< ::rocksdb::NewFilePB >& |
804 | | new_files() const; |
805 | | |
806 | | // optional string comparator = 1; |
807 | | bool has_comparator() const; |
808 | | void clear_comparator(); |
809 | | static const int kComparatorFieldNumber = 1; |
810 | | const ::std::string& comparator() const; |
811 | | void set_comparator(const ::std::string& value); |
812 | | #if LANG_CXX11 |
813 | | void set_comparator(::std::string&& value); |
814 | | #endif |
815 | | void set_comparator(const char* value); |
816 | | void set_comparator(const char* value, size_t size); |
817 | | ::std::string* mutable_comparator(); |
818 | | ::std::string* release_comparator(); |
819 | | void set_allocated_comparator(::std::string* comparator); |
820 | | |
821 | | // optional string column_family_name = 10; |
822 | | bool has_column_family_name() const; |
823 | | void clear_column_family_name(); |
824 | | static const int kColumnFamilyNameFieldNumber = 10; |
825 | | const ::std::string& column_family_name() const; |
826 | | void set_column_family_name(const ::std::string& value); |
827 | | #if LANG_CXX11 |
828 | | void set_column_family_name(::std::string&& value); |
829 | | #endif |
830 | | void set_column_family_name(const char* value); |
831 | | void set_column_family_name(const char* value, size_t size); |
832 | | ::std::string* mutable_column_family_name(); |
833 | | ::std::string* release_column_family_name(); |
834 | | void set_allocated_column_family_name(::std::string* column_family_name); |
835 | | |
836 | | // optional .yb.OpIdPB obsolete_last_op_id = 12; |
837 | | bool has_obsolete_last_op_id() const; |
838 | | void clear_obsolete_last_op_id(); |
839 | | static const int kObsoleteLastOpIdFieldNumber = 12; |
840 | | const ::yb::OpIdPB& obsolete_last_op_id() const; |
841 | | ::yb::OpIdPB* release_obsolete_last_op_id(); |
842 | | ::yb::OpIdPB* mutable_obsolete_last_op_id(); |
843 | | void set_allocated_obsolete_last_op_id(::yb::OpIdPB* obsolete_last_op_id); |
844 | | |
845 | | // optional .google.protobuf.Any flushed_frontier = 13; |
846 | | bool has_flushed_frontier() const; |
847 | | void clear_flushed_frontier(); |
848 | | static const int kFlushedFrontierFieldNumber = 13; |
849 | | const ::google::protobuf::Any& flushed_frontier() const; |
850 | | ::google::protobuf::Any* release_flushed_frontier(); |
851 | | ::google::protobuf::Any* mutable_flushed_frontier(); |
852 | | void set_allocated_flushed_frontier(::google::protobuf::Any* flushed_frontier); |
853 | | |
854 | | // optional uint64 log_number = 2; |
855 | | bool has_log_number() const; |
856 | | void clear_log_number(); |
857 | | static const int kLogNumberFieldNumber = 2; |
858 | | ::google::protobuf::uint64 log_number() const; |
859 | | void set_log_number(::google::protobuf::uint64 value); |
860 | | |
861 | | // optional uint64 prev_log_number = 3; |
862 | | bool has_prev_log_number() const; |
863 | | void clear_prev_log_number(); |
864 | | static const int kPrevLogNumberFieldNumber = 3; |
865 | | ::google::protobuf::uint64 prev_log_number() const; |
866 | | void set_prev_log_number(::google::protobuf::uint64 value); |
867 | | |
868 | | // optional uint64 next_file_number = 4; |
869 | | bool has_next_file_number() const; |
870 | | void clear_next_file_number(); |
871 | | static const int kNextFileNumberFieldNumber = 4; |
872 | | ::google::protobuf::uint64 next_file_number() const; |
873 | | void set_next_file_number(::google::protobuf::uint64 value); |
874 | | |
875 | | // optional uint64 last_sequence = 6; |
876 | | bool has_last_sequence() const; |
877 | | void clear_last_sequence(); |
878 | | static const int kLastSequenceFieldNumber = 6; |
879 | | ::google::protobuf::uint64 last_sequence() const; |
880 | | void set_last_sequence(::google::protobuf::uint64 value); |
881 | | |
882 | | // optional uint32 max_column_family = 5; |
883 | | bool has_max_column_family() const; |
884 | | void clear_max_column_family(); |
885 | | static const int kMaxColumnFamilyFieldNumber = 5; |
886 | | ::google::protobuf::uint32 max_column_family() const; |
887 | | void set_max_column_family(::google::protobuf::uint32 value); |
888 | | |
889 | | // optional uint32 column_family = 9; |
890 | | bool has_column_family() const; |
891 | | void clear_column_family(); |
892 | | static const int kColumnFamilyFieldNumber = 9; |
893 | | ::google::protobuf::uint32 column_family() const; |
894 | | void set_column_family(::google::protobuf::uint32 value); |
895 | | |
896 | | // optional bool is_column_family_drop = 11; |
897 | | bool has_is_column_family_drop() const; |
898 | | void clear_is_column_family_drop(); |
899 | | static const int kIsColumnFamilyDropFieldNumber = 11; |
900 | | bool is_column_family_drop() const; |
901 | | void set_is_column_family_drop(bool value); |
902 | | |
903 | | // @@protoc_insertion_point(class_scope:rocksdb.VersionEditPB) |
904 | | private: |
905 | | void set_has_comparator(); |
906 | | void clear_has_comparator(); |
907 | | void set_has_log_number(); |
908 | | void clear_has_log_number(); |
909 | | void set_has_prev_log_number(); |
910 | | void clear_has_prev_log_number(); |
911 | | void set_has_next_file_number(); |
912 | | void clear_has_next_file_number(); |
913 | | void set_has_max_column_family(); |
914 | | void clear_has_max_column_family(); |
915 | | void set_has_last_sequence(); |
916 | | void clear_has_last_sequence(); |
917 | | void set_has_column_family(); |
918 | | void clear_has_column_family(); |
919 | | void set_has_column_family_name(); |
920 | | void clear_has_column_family_name(); |
921 | | void set_has_is_column_family_drop(); |
922 | | void clear_has_is_column_family_drop(); |
923 | | void set_has_obsolete_last_op_id(); |
924 | | void clear_has_obsolete_last_op_id(); |
925 | | void set_has_flushed_frontier(); |
926 | | void clear_has_flushed_frontier(); |
927 | | |
928 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
929 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
930 | | mutable int _cached_size_; |
931 | | ::google::protobuf::RepeatedPtrField< ::rocksdb::DeletedFilePB > deleted_files_; |
932 | | ::google::protobuf::RepeatedPtrField< ::rocksdb::NewFilePB > new_files_; |
933 | | ::google::protobuf::internal::ArenaStringPtr comparator_; |
934 | | ::google::protobuf::internal::ArenaStringPtr column_family_name_; |
935 | | ::yb::OpIdPB* obsolete_last_op_id_; |
936 | | ::google::protobuf::Any* flushed_frontier_; |
937 | | ::google::protobuf::uint64 log_number_; |
938 | | ::google::protobuf::uint64 prev_log_number_; |
939 | | ::google::protobuf::uint64 next_file_number_; |
940 | | ::google::protobuf::uint64 last_sequence_; |
941 | | ::google::protobuf::uint32 max_column_family_; |
942 | | ::google::protobuf::uint32 column_family_; |
943 | | bool is_column_family_drop_; |
944 | | friend struct ::protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto::TableStruct; |
945 | | friend void ::protobuf_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto::InitDefaultsVersionEditPBImpl(); |
946 | | }; |
947 | | // =================================================================== |
948 | | |
949 | | |
950 | | // =================================================================== |
951 | | |
952 | | #ifdef __GNUC__ |
953 | | #pragma GCC diagnostic push |
954 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
955 | | #endif // __GNUC__ |
956 | | // DeletedFilePB |
957 | | |
958 | | // optional uint32 level = 1; |
959 | 60.7k | inline bool DeletedFilePB::has_level() const { |
960 | 60.7k | return (_has_bits_[0] & 0x00000002u) != 0; |
961 | 60.7k | } |
962 | 76.5k | inline void DeletedFilePB::set_has_level() { |
963 | 76.5k | _has_bits_[0] |= 0x00000002u; |
964 | 76.5k | } |
965 | 0 | inline void DeletedFilePB::clear_has_level() { |
966 | 0 | _has_bits_[0] &= ~0x00000002u; |
967 | 0 | } |
968 | 0 | inline void DeletedFilePB::clear_level() { |
969 | 0 | level_ = 0u; |
970 | 0 | clear_has_level(); |
971 | 0 | } |
972 | 137k | inline ::google::protobuf::uint32 DeletedFilePB::level() const { |
973 | | // @@protoc_insertion_point(field_get:rocksdb.DeletedFilePB.level) |
974 | 137k | return level_; |
975 | 137k | } |
976 | 60.8k | inline void DeletedFilePB::set_level(::google::protobuf::uint32 value) { |
977 | 60.8k | set_has_level(); |
978 | 60.8k | level_ = value; |
979 | | // @@protoc_insertion_point(field_set:rocksdb.DeletedFilePB.level) |
980 | 60.8k | } |
981 | | |
982 | | // optional uint64 file_number = 2; |
983 | 60.7k | inline bool DeletedFilePB::has_file_number() const { |
984 | 60.7k | return (_has_bits_[0] & 0x00000001u) != 0; |
985 | 60.7k | } |
986 | 76.5k | inline void DeletedFilePB::set_has_file_number() { |
987 | 76.5k | _has_bits_[0] |= 0x00000001u; |
988 | 76.5k | } |
989 | 0 | inline void DeletedFilePB::clear_has_file_number() { |
990 | 0 | _has_bits_[0] &= ~0x00000001u; |
991 | 0 | } |
992 | 0 | inline void DeletedFilePB::clear_file_number() { |
993 | 0 | file_number_ = GOOGLE_ULONGLONG(0); |
994 | 0 | clear_has_file_number(); |
995 | 0 | } |
996 | 137k | inline ::google::protobuf::uint64 DeletedFilePB::file_number() const { |
997 | | // @@protoc_insertion_point(field_get:rocksdb.DeletedFilePB.file_number) |
998 | 137k | return file_number_; |
999 | 137k | } |
1000 | 60.8k | inline void DeletedFilePB::set_file_number(::google::protobuf::uint64 value) { |
1001 | 60.8k | set_has_file_number(); |
1002 | 60.8k | file_number_ = value; |
1003 | | // @@protoc_insertion_point(field_set:rocksdb.DeletedFilePB.file_number) |
1004 | 60.8k | } |
1005 | | |
1006 | | // ------------------------------------------------------------------- |
1007 | | |
1008 | | // UserBoundaryValuePB |
1009 | | |
1010 | | // optional uint32 tag = 1; |
1011 | 76.7k | inline bool UserBoundaryValuePB::has_tag() const { |
1012 | 76.7k | return (_has_bits_[0] & 0x00000002u) != 0; |
1013 | 76.7k | } |
1014 | 173k | inline void UserBoundaryValuePB::set_has_tag() { |
1015 | 173k | _has_bits_[0] |= 0x00000002u; |
1016 | 173k | } |
1017 | 0 | inline void UserBoundaryValuePB::clear_has_tag() { |
1018 | 0 | _has_bits_[0] &= ~0x00000002u; |
1019 | 0 | } |
1020 | 0 | inline void UserBoundaryValuePB::clear_tag() { |
1021 | 0 | tag_ = 0u; |
1022 | 0 | clear_has_tag(); |
1023 | 0 | } |
1024 | 205k | inline ::google::protobuf::uint32 UserBoundaryValuePB::tag() const { |
1025 | | // @@protoc_insertion_point(field_get:rocksdb.UserBoundaryValuePB.tag) |
1026 | 205k | return tag_; |
1027 | 205k | } |
1028 | 121k | inline void UserBoundaryValuePB::set_tag(::google::protobuf::uint32 value) { |
1029 | 121k | set_has_tag(); |
1030 | 121k | tag_ = value; |
1031 | | // @@protoc_insertion_point(field_set:rocksdb.UserBoundaryValuePB.tag) |
1032 | 121k | } |
1033 | | |
1034 | | // optional bytes data = 2; |
1035 | 76.7k | inline bool UserBoundaryValuePB::has_data() const { |
1036 | 76.7k | return (_has_bits_[0] & 0x00000001u) != 0; |
1037 | 76.7k | } |
1038 | 173k | inline void UserBoundaryValuePB::set_has_data() { |
1039 | 173k | _has_bits_[0] |= 0x00000001u; |
1040 | 173k | } |
1041 | 0 | inline void UserBoundaryValuePB::clear_has_data() { |
1042 | 0 | _has_bits_[0] &= ~0x00000001u; |
1043 | 0 | } |
1044 | 0 | inline void UserBoundaryValuePB::clear_data() { |
1045 | 0 | data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1046 | 0 | clear_has_data(); |
1047 | 0 | } |
1048 | 205k | inline const ::std::string& UserBoundaryValuePB::data() const { |
1049 | | // @@protoc_insertion_point(field_get:rocksdb.UserBoundaryValuePB.data) |
1050 | 205k | return data_.GetNoArena(); |
1051 | 205k | } |
1052 | 0 | inline void UserBoundaryValuePB::set_data(const ::std::string& value) { |
1053 | 0 | set_has_data(); |
1054 | 0 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1055 | 0 | // @@protoc_insertion_point(field_set:rocksdb.UserBoundaryValuePB.data) |
1056 | 0 | } |
1057 | | #if LANG_CXX11 |
1058 | 0 | inline void UserBoundaryValuePB::set_data(::std::string&& value) { |
1059 | 0 | set_has_data(); |
1060 | 0 | data_.SetNoArena( |
1061 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1062 | 0 | // @@protoc_insertion_point(field_set_rvalue:rocksdb.UserBoundaryValuePB.data) |
1063 | 0 | } |
1064 | | #endif |
1065 | 0 | inline void UserBoundaryValuePB::set_data(const char* value) { |
1066 | 0 | GOOGLE_DCHECK(value != NULL); |
1067 | 0 | set_has_data(); |
1068 | 0 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1069 | 0 | // @@protoc_insertion_point(field_set_char:rocksdb.UserBoundaryValuePB.data) |
1070 | 0 | } |
1071 | 121k | inline void UserBoundaryValuePB::set_data(const void* value, size_t size) { |
1072 | 121k | set_has_data(); |
1073 | 121k | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1074 | 121k | ::std::string(reinterpret_cast<const char*>(value), size)); |
1075 | | // @@protoc_insertion_point(field_set_pointer:rocksdb.UserBoundaryValuePB.data) |
1076 | 121k | } |
1077 | 51.9k | inline ::std::string* UserBoundaryValuePB::mutable_data() { |
1078 | 51.9k | set_has_data(); |
1079 | | // @@protoc_insertion_point(field_mutable:rocksdb.UserBoundaryValuePB.data) |
1080 | 51.9k | return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1081 | 51.9k | } |
1082 | 0 | inline ::std::string* UserBoundaryValuePB::release_data() { |
1083 | 0 | // @@protoc_insertion_point(field_release:rocksdb.UserBoundaryValuePB.data) |
1084 | 0 | clear_has_data(); |
1085 | 0 | return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1086 | 0 | } |
1087 | 0 | inline void UserBoundaryValuePB::set_allocated_data(::std::string* data) { |
1088 | 0 | if (data != NULL) { |
1089 | 0 | set_has_data(); |
1090 | 0 | } else { |
1091 | 0 | clear_has_data(); |
1092 | 0 | } |
1093 | 0 | data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data); |
1094 | 0 | // @@protoc_insertion_point(field_set_allocated:rocksdb.UserBoundaryValuePB.data) |
1095 | 0 | } |
1096 | | |
1097 | | // ------------------------------------------------------------------- |
1098 | | |
1099 | | // BoundaryValuesPB |
1100 | | |
1101 | | // optional bytes key = 1; |
1102 | 190k | inline bool BoundaryValuesPB::has_key() const { |
1103 | 190k | return (_has_bits_[0] & 0x00000001u) != 0; |
1104 | 190k | } |
1105 | 313k | inline void BoundaryValuesPB::set_has_key() { |
1106 | 313k | _has_bits_[0] |= 0x00000001u; |
1107 | 313k | } |
1108 | 0 | inline void BoundaryValuesPB::clear_has_key() { |
1109 | 0 | _has_bits_[0] &= ~0x00000001u; |
1110 | 0 | } |
1111 | 0 | inline void BoundaryValuesPB::clear_key() { |
1112 | 0 | key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1113 | 0 | clear_has_key(); |
1114 | 0 | } |
1115 | 454k | inline const ::std::string& BoundaryValuesPB::key() const { |
1116 | | // @@protoc_insertion_point(field_get:rocksdb.BoundaryValuesPB.key) |
1117 | 454k | return key_.GetNoArena(); |
1118 | 454k | } |
1119 | 0 | inline void BoundaryValuesPB::set_key(const ::std::string& value) { |
1120 | 0 | set_has_key(); |
1121 | 0 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1122 | 0 | // @@protoc_insertion_point(field_set:rocksdb.BoundaryValuesPB.key) |
1123 | 0 | } |
1124 | | #if LANG_CXX11 |
1125 | 0 | inline void BoundaryValuesPB::set_key(::std::string&& value) { |
1126 | 0 | set_has_key(); |
1127 | 0 | key_.SetNoArena( |
1128 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1129 | 0 | // @@protoc_insertion_point(field_set_rvalue:rocksdb.BoundaryValuesPB.key) |
1130 | 0 | } |
1131 | | #endif |
1132 | 0 | inline void BoundaryValuesPB::set_key(const char* value) { |
1133 | 0 | GOOGLE_DCHECK(value != NULL); |
1134 | 0 | set_has_key(); |
1135 | 0 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1136 | 0 | // @@protoc_insertion_point(field_set_char:rocksdb.BoundaryValuesPB.key) |
1137 | 0 | } |
1138 | 240k | inline void BoundaryValuesPB::set_key(const void* value, size_t size) { |
1139 | 240k | set_has_key(); |
1140 | 240k | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1141 | 240k | ::std::string(reinterpret_cast<const char*>(value), size)); |
1142 | | // @@protoc_insertion_point(field_set_pointer:rocksdb.BoundaryValuesPB.key) |
1143 | 240k | } |
1144 | 72.8k | inline ::std::string* BoundaryValuesPB::mutable_key() { |
1145 | 72.8k | set_has_key(); |
1146 | | // @@protoc_insertion_point(field_mutable:rocksdb.BoundaryValuesPB.key) |
1147 | 72.8k | return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1148 | 72.8k | } |
1149 | 0 | inline ::std::string* BoundaryValuesPB::release_key() { |
1150 | 0 | // @@protoc_insertion_point(field_release:rocksdb.BoundaryValuesPB.key) |
1151 | 0 | clear_has_key(); |
1152 | 0 | return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1153 | 0 | } |
1154 | 0 | inline void BoundaryValuesPB::set_allocated_key(::std::string* key) { |
1155 | 0 | if (key != NULL) { |
1156 | 0 | set_has_key(); |
1157 | 0 | } else { |
1158 | 0 | clear_has_key(); |
1159 | 0 | } |
1160 | 0 | key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); |
1161 | 0 | // @@protoc_insertion_point(field_set_allocated:rocksdb.BoundaryValuesPB.key) |
1162 | 0 | } |
1163 | | |
1164 | | // optional uint64 seqno = 2; |
1165 | 190k | inline bool BoundaryValuesPB::has_seqno() const { |
1166 | 190k | return (_has_bits_[0] & 0x00000004u) != 0; |
1167 | 190k | } |
1168 | 313k | inline void BoundaryValuesPB::set_has_seqno() { |
1169 | 313k | _has_bits_[0] |= 0x00000004u; |
1170 | 313k | } |
1171 | 0 | inline void BoundaryValuesPB::clear_has_seqno() { |
1172 | 0 | _has_bits_[0] &= ~0x00000004u; |
1173 | 0 | } |
1174 | 0 | inline void BoundaryValuesPB::clear_seqno() { |
1175 | 0 | seqno_ = GOOGLE_ULONGLONG(0); |
1176 | 0 | clear_has_seqno(); |
1177 | 0 | } |
1178 | 454k | inline ::google::protobuf::uint64 BoundaryValuesPB::seqno() const { |
1179 | | // @@protoc_insertion_point(field_get:rocksdb.BoundaryValuesPB.seqno) |
1180 | 454k | return seqno_; |
1181 | 454k | } |
1182 | 240k | inline void BoundaryValuesPB::set_seqno(::google::protobuf::uint64 value) { |
1183 | 240k | set_has_seqno(); |
1184 | 240k | seqno_ = value; |
1185 | | // @@protoc_insertion_point(field_set:rocksdb.BoundaryValuesPB.seqno) |
1186 | 240k | } |
1187 | | |
1188 | | // optional .google.protobuf.Any user_frontier = 4; |
1189 | 263k | inline bool BoundaryValuesPB::has_user_frontier() const { |
1190 | 263k | return (_has_bits_[0] & 0x00000002u) != 0; |
1191 | 263k | } |
1192 | 39.8k | inline void BoundaryValuesPB::set_has_user_frontier() { |
1193 | 39.8k | _has_bits_[0] |= 0x00000002u; |
1194 | 39.8k | } |
1195 | 0 | inline void BoundaryValuesPB::clear_has_user_frontier() { |
1196 | 0 | _has_bits_[0] &= ~0x00000002u; |
1197 | 0 | } |
1198 | 12.5k | inline const ::google::protobuf::Any& BoundaryValuesPB::user_frontier() const { |
1199 | 12.5k | const ::google::protobuf::Any* p = user_frontier_; |
1200 | | // @@protoc_insertion_point(field_get:rocksdb.BoundaryValuesPB.user_frontier) |
1201 | 12.5k | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Any*>( |
1202 | 0 | &::google::protobuf::_Any_default_instance_); |
1203 | 12.5k | } |
1204 | 0 | inline ::google::protobuf::Any* BoundaryValuesPB::release_user_frontier() { |
1205 | 0 | // @@protoc_insertion_point(field_release:rocksdb.BoundaryValuesPB.user_frontier) |
1206 | 0 | clear_has_user_frontier(); |
1207 | 0 | ::google::protobuf::Any* temp = user_frontier_; |
1208 | 0 | user_frontier_ = NULL; |
1209 | 0 | return temp; |
1210 | 0 | } |
1211 | 39.8k | inline ::google::protobuf::Any* BoundaryValuesPB::mutable_user_frontier() { |
1212 | 39.8k | set_has_user_frontier(); |
1213 | 39.8k | if (user_frontier_ == NULL) { |
1214 | 39.8k | user_frontier_ = new ::google::protobuf::Any; |
1215 | 39.8k | } |
1216 | | // @@protoc_insertion_point(field_mutable:rocksdb.BoundaryValuesPB.user_frontier) |
1217 | 39.8k | return user_frontier_; |
1218 | 39.8k | } |
1219 | 0 | inline void BoundaryValuesPB::set_allocated_user_frontier(::google::protobuf::Any* user_frontier) { |
1220 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1221 | 0 | if (message_arena == NULL) { |
1222 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(user_frontier_); |
1223 | 0 | } |
1224 | 0 | if (user_frontier) { |
1225 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
1226 | 0 | if (message_arena != submessage_arena) { |
1227 | 0 | user_frontier = ::google::protobuf::internal::GetOwnedMessage( |
1228 | 0 | message_arena, user_frontier, submessage_arena); |
1229 | 0 | } |
1230 | 0 | set_has_user_frontier(); |
1231 | 0 | } else { |
1232 | 0 | clear_has_user_frontier(); |
1233 | 0 | } |
1234 | 0 | user_frontier_ = user_frontier; |
1235 | 0 | // @@protoc_insertion_point(field_set_allocated:rocksdb.BoundaryValuesPB.user_frontier) |
1236 | 0 | } |
1237 | | |
1238 | | // repeated .rocksdb.UserBoundaryValuePB user_values = 3; |
1239 | 381k | inline int BoundaryValuesPB::user_values_size() const { |
1240 | 381k | return user_values_.size(); |
1241 | 381k | } |
1242 | 0 | inline void BoundaryValuesPB::clear_user_values() { |
1243 | 0 | user_values_.Clear(); |
1244 | 0 | } |
1245 | 153k | inline const ::rocksdb::UserBoundaryValuePB& BoundaryValuesPB::user_values(int index) const { |
1246 | | // @@protoc_insertion_point(field_get:rocksdb.BoundaryValuesPB.user_values) |
1247 | 153k | return user_values_.Get(index); |
1248 | 153k | } |
1249 | 0 | inline ::rocksdb::UserBoundaryValuePB* BoundaryValuesPB::mutable_user_values(int index) { |
1250 | 0 | // @@protoc_insertion_point(field_mutable:rocksdb.BoundaryValuesPB.user_values) |
1251 | 0 | return user_values_.Mutable(index); |
1252 | 0 | } |
1253 | 173k | inline ::rocksdb::UserBoundaryValuePB* BoundaryValuesPB::add_user_values() { |
1254 | | // @@protoc_insertion_point(field_add:rocksdb.BoundaryValuesPB.user_values) |
1255 | 173k | return user_values_.Add(); |
1256 | 173k | } |
1257 | | inline ::google::protobuf::RepeatedPtrField< ::rocksdb::UserBoundaryValuePB >* |
1258 | 0 | BoundaryValuesPB::mutable_user_values() { |
1259 | 0 | // @@protoc_insertion_point(field_mutable_list:rocksdb.BoundaryValuesPB.user_values) |
1260 | 0 | return &user_values_; |
1261 | 0 | } |
1262 | | inline const ::google::protobuf::RepeatedPtrField< ::rocksdb::UserBoundaryValuePB >& |
1263 | 12.6k | BoundaryValuesPB::user_values() const { |
1264 | | // @@protoc_insertion_point(field_list:rocksdb.BoundaryValuesPB.user_values) |
1265 | 12.6k | return user_values_; |
1266 | 12.6k | } |
1267 | | |
1268 | | // ------------------------------------------------------------------- |
1269 | | |
1270 | | // NewFilePB |
1271 | | |
1272 | | // optional uint32 level = 1; |
1273 | 95.4k | inline bool NewFilePB::has_level() const { |
1274 | 95.4k | return (_has_bits_[0] & 0x00000040u) != 0; |
1275 | 95.4k | } |
1276 | 156k | inline void NewFilePB::set_has_level() { |
1277 | 156k | _has_bits_[0] |= 0x00000040u; |
1278 | 156k | } |
1279 | 0 | inline void NewFilePB::clear_has_level() { |
1280 | 0 | _has_bits_[0] &= ~0x00000040u; |
1281 | 0 | } |
1282 | 0 | inline void NewFilePB::clear_level() { |
1283 | 0 | level_ = 0u; |
1284 | 0 | clear_has_level(); |
1285 | 0 | } |
1286 | 227k | inline ::google::protobuf::uint32 NewFilePB::level() const { |
1287 | | // @@protoc_insertion_point(field_get:rocksdb.NewFilePB.level) |
1288 | 227k | return level_; |
1289 | 227k | } |
1290 | 120k | inline void NewFilePB::set_level(::google::protobuf::uint32 value) { |
1291 | 120k | set_has_level(); |
1292 | 120k | level_ = value; |
1293 | | // @@protoc_insertion_point(field_set:rocksdb.NewFilePB.level) |
1294 | 120k | } |
1295 | | |
1296 | | // optional uint64 number = 2; |
1297 | 95.4k | inline bool NewFilePB::has_number() const { |
1298 | 95.4k | return (_has_bits_[0] & 0x00000008u) != 0; |
1299 | 95.4k | } |
1300 | 156k | inline void NewFilePB::set_has_number() { |
1301 | 156k | _has_bits_[0] |= 0x00000008u; |
1302 | 156k | } |
1303 | 0 | inline void NewFilePB::clear_has_number() { |
1304 | 0 | _has_bits_[0] &= ~0x00000008u; |
1305 | 0 | } |
1306 | 0 | inline void NewFilePB::clear_number() { |
1307 | 0 | number_ = GOOGLE_ULONGLONG(0); |
1308 | 0 | clear_has_number(); |
1309 | 0 | } |
1310 | 227k | inline ::google::protobuf::uint64 NewFilePB::number() const { |
1311 | | // @@protoc_insertion_point(field_get:rocksdb.NewFilePB.number) |
1312 | 227k | return number_; |
1313 | 227k | } |
1314 | 120k | inline void NewFilePB::set_number(::google::protobuf::uint64 value) { |
1315 | 120k | set_has_number(); |
1316 | 120k | number_ = value; |
1317 | | // @@protoc_insertion_point(field_set:rocksdb.NewFilePB.number) |
1318 | 120k | } |
1319 | | |
1320 | | // optional uint64 total_file_size = 3; |
1321 | 95.4k | inline bool NewFilePB::has_total_file_size() const { |
1322 | 95.4k | return (_has_bits_[0] & 0x00000010u) != 0; |
1323 | 95.4k | } |
1324 | 156k | inline void NewFilePB::set_has_total_file_size() { |
1325 | 156k | _has_bits_[0] |= 0x00000010u; |
1326 | 156k | } |
1327 | 0 | inline void NewFilePB::clear_has_total_file_size() { |
1328 | 0 | _has_bits_[0] &= ~0x00000010u; |
1329 | 0 | } |
1330 | 0 | inline void NewFilePB::clear_total_file_size() { |
1331 | 0 | total_file_size_ = GOOGLE_ULONGLONG(0); |
1332 | 0 | clear_has_total_file_size(); |
1333 | 0 | } |
1334 | 227k | inline ::google::protobuf::uint64 NewFilePB::total_file_size() const { |
1335 | | // @@protoc_insertion_point(field_get:rocksdb.NewFilePB.total_file_size) |
1336 | 227k | return total_file_size_; |
1337 | 227k | } |
1338 | 120k | inline void NewFilePB::set_total_file_size(::google::protobuf::uint64 value) { |
1339 | 120k | set_has_total_file_size(); |
1340 | 120k | total_file_size_ = value; |
1341 | | // @@protoc_insertion_point(field_set:rocksdb.NewFilePB.total_file_size) |
1342 | 120k | } |
1343 | | |
1344 | | // optional uint64 base_file_size = 4; |
1345 | 95.4k | inline bool NewFilePB::has_base_file_size() const { |
1346 | 95.4k | return (_has_bits_[0] & 0x00000020u) != 0; |
1347 | 95.4k | } |
1348 | 156k | inline void NewFilePB::set_has_base_file_size() { |
1349 | 156k | _has_bits_[0] |= 0x00000020u; |
1350 | 156k | } |
1351 | 0 | inline void NewFilePB::clear_has_base_file_size() { |
1352 | 0 | _has_bits_[0] &= ~0x00000020u; |
1353 | 0 | } |
1354 | 0 | inline void NewFilePB::clear_base_file_size() { |
1355 | 0 | base_file_size_ = GOOGLE_ULONGLONG(0); |
1356 | 0 | clear_has_base_file_size(); |
1357 | 0 | } |
1358 | 227k | inline ::google::protobuf::uint64 NewFilePB::base_file_size() const { |
1359 | | // @@protoc_insertion_point(field_get:rocksdb.NewFilePB.base_file_size) |
1360 | 227k | return base_file_size_; |
1361 | 227k | } |
1362 | 120k | inline void NewFilePB::set_base_file_size(::google::protobuf::uint64 value) { |
1363 | 120k | set_has_base_file_size(); |
1364 | 120k | base_file_size_ = value; |
1365 | | // @@protoc_insertion_point(field_set:rocksdb.NewFilePB.base_file_size) |
1366 | 120k | } |
1367 | | |
1368 | | // optional .rocksdb.BoundaryValuesPB smallest = 5; |
1369 | 95.4k | inline bool NewFilePB::has_smallest() const { |
1370 | 95.4k | return (_has_bits_[0] & 0x00000001u) != 0; |
1371 | 95.4k | } |
1372 | 156k | inline void NewFilePB::set_has_smallest() { |
1373 | 156k | _has_bits_[0] |= 0x00000001u; |
1374 | 156k | } |
1375 | 0 | inline void NewFilePB::clear_has_smallest() { |
1376 | 0 | _has_bits_[0] &= ~0x00000001u; |
1377 | 0 | } |
1378 | 0 | inline void NewFilePB::clear_smallest() { |
1379 | 0 | if (smallest_ != NULL) smallest_->Clear(); |
1380 | 0 | clear_has_smallest(); |
1381 | 0 | } |
1382 | 36.4k | inline const ::rocksdb::BoundaryValuesPB& NewFilePB::smallest() const { |
1383 | 36.4k | const ::rocksdb::BoundaryValuesPB* p = smallest_; |
1384 | | // @@protoc_insertion_point(field_get:rocksdb.NewFilePB.smallest) |
1385 | 18.4E | return p != NULL ? *p : *reinterpret_cast<const ::rocksdb::BoundaryValuesPB*>( |
1386 | 18.4E | &::rocksdb::_BoundaryValuesPB_default_instance_); |
1387 | 36.4k | } |
1388 | 0 | inline ::rocksdb::BoundaryValuesPB* NewFilePB::release_smallest() { |
1389 | 0 | // @@protoc_insertion_point(field_release:rocksdb.NewFilePB.smallest) |
1390 | 0 | clear_has_smallest(); |
1391 | 0 | ::rocksdb::BoundaryValuesPB* temp = smallest_; |
1392 | 0 | smallest_ = NULL; |
1393 | 0 | return temp; |
1394 | 0 | } |
1395 | 156k | inline ::rocksdb::BoundaryValuesPB* NewFilePB::mutable_smallest() { |
1396 | 156k | set_has_smallest(); |
1397 | 156k | if (smallest_ == NULL) { |
1398 | 156k | smallest_ = new ::rocksdb::BoundaryValuesPB; |
1399 | 156k | } |
1400 | | // @@protoc_insertion_point(field_mutable:rocksdb.NewFilePB.smallest) |
1401 | 156k | return smallest_; |
1402 | 156k | } |
1403 | 0 | inline void NewFilePB::set_allocated_smallest(::rocksdb::BoundaryValuesPB* smallest) { |
1404 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1405 | 0 | if (message_arena == NULL) { |
1406 | 0 | delete smallest_; |
1407 | 0 | } |
1408 | 0 | if (smallest) { |
1409 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
1410 | 0 | if (message_arena != submessage_arena) { |
1411 | 0 | smallest = ::google::protobuf::internal::GetOwnedMessage( |
1412 | 0 | message_arena, smallest, submessage_arena); |
1413 | 0 | } |
1414 | 0 | set_has_smallest(); |
1415 | 0 | } else { |
1416 | 0 | clear_has_smallest(); |
1417 | 0 | } |
1418 | 0 | smallest_ = smallest; |
1419 | 0 | // @@protoc_insertion_point(field_set_allocated:rocksdb.NewFilePB.smallest) |
1420 | 0 | } |
1421 | | |
1422 | | // optional .rocksdb.BoundaryValuesPB largest = 6; |
1423 | 95.4k | inline bool NewFilePB::has_largest() const { |
1424 | 95.4k | return (_has_bits_[0] & 0x00000002u) != 0; |
1425 | 95.4k | } |
1426 | 156k | inline void NewFilePB::set_has_largest() { |
1427 | 156k | _has_bits_[0] |= 0x00000002u; |
1428 | 156k | } |
1429 | 0 | inline void NewFilePB::clear_has_largest() { |
1430 | 0 | _has_bits_[0] &= ~0x00000002u; |
1431 | 0 | } |
1432 | 0 | inline void NewFilePB::clear_largest() { |
1433 | 0 | if (largest_ != NULL) largest_->Clear(); |
1434 | 0 | clear_has_largest(); |
1435 | 0 | } |
1436 | 36.4k | inline const ::rocksdb::BoundaryValuesPB& NewFilePB::largest() const { |
1437 | 36.4k | const ::rocksdb::BoundaryValuesPB* p = largest_; |
1438 | | // @@protoc_insertion_point(field_get:rocksdb.NewFilePB.largest) |
1439 | 18.4E | return p != NULL ? *p : *reinterpret_cast<const ::rocksdb::BoundaryValuesPB*>( |
1440 | 18.4E | &::rocksdb::_BoundaryValuesPB_default_instance_); |
1441 | 36.4k | } |
1442 | 0 | inline ::rocksdb::BoundaryValuesPB* NewFilePB::release_largest() { |
1443 | 0 | // @@protoc_insertion_point(field_release:rocksdb.NewFilePB.largest) |
1444 | 0 | clear_has_largest(); |
1445 | 0 | ::rocksdb::BoundaryValuesPB* temp = largest_; |
1446 | 0 | largest_ = NULL; |
1447 | 0 | return temp; |
1448 | 0 | } |
1449 | 156k | inline ::rocksdb::BoundaryValuesPB* NewFilePB::mutable_largest() { |
1450 | 156k | set_has_largest(); |
1451 | 156k | if (largest_ == NULL) { |
1452 | 156k | largest_ = new ::rocksdb::BoundaryValuesPB; |
1453 | 156k | } |
1454 | | // @@protoc_insertion_point(field_mutable:rocksdb.NewFilePB.largest) |
1455 | 156k | return largest_; |
1456 | 156k | } |
1457 | 0 | inline void NewFilePB::set_allocated_largest(::rocksdb::BoundaryValuesPB* largest) { |
1458 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1459 | 0 | if (message_arena == NULL) { |
1460 | 0 | delete largest_; |
1461 | 0 | } |
1462 | 0 | if (largest) { |
1463 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
1464 | 0 | if (message_arena != submessage_arena) { |
1465 | 0 | largest = ::google::protobuf::internal::GetOwnedMessage( |
1466 | 0 | message_arena, largest, submessage_arena); |
1467 | 0 | } |
1468 | 0 | set_has_largest(); |
1469 | 0 | } else { |
1470 | 0 | clear_has_largest(); |
1471 | 0 | } |
1472 | 0 | largest_ = largest; |
1473 | 0 | // @@protoc_insertion_point(field_set_allocated:rocksdb.NewFilePB.largest) |
1474 | 0 | } |
1475 | | |
1476 | | // optional uint32 path_id = 7; |
1477 | 95.4k | inline bool NewFilePB::has_path_id() const { |
1478 | 95.4k | return (_has_bits_[0] & 0x00000080u) != 0; |
1479 | 95.4k | } |
1480 | 581 | inline void NewFilePB::set_has_path_id() { |
1481 | 581 | _has_bits_[0] |= 0x00000080u; |
1482 | 581 | } |
1483 | 0 | inline void NewFilePB::clear_has_path_id() { |
1484 | 0 | _has_bits_[0] &= ~0x00000080u; |
1485 | 0 | } |
1486 | 0 | inline void NewFilePB::clear_path_id() { |
1487 | 0 | path_id_ = 0u; |
1488 | 0 | clear_has_path_id(); |
1489 | 0 | } |
1490 | 37.0k | inline ::google::protobuf::uint32 NewFilePB::path_id() const { |
1491 | | // @@protoc_insertion_point(field_get:rocksdb.NewFilePB.path_id) |
1492 | 37.0k | return path_id_; |
1493 | 37.0k | } |
1494 | 402 | inline void NewFilePB::set_path_id(::google::protobuf::uint32 value) { |
1495 | 402 | set_has_path_id(); |
1496 | 402 | path_id_ = value; |
1497 | | // @@protoc_insertion_point(field_set:rocksdb.NewFilePB.path_id) |
1498 | 402 | } |
1499 | | |
1500 | | // optional bool marked_for_compaction = 8; |
1501 | 14 | inline bool NewFilePB::has_marked_for_compaction() const { |
1502 | 14 | return (_has_bits_[0] & 0x00000100u) != 0; |
1503 | 14 | } |
1504 | 26 | inline void NewFilePB::set_has_marked_for_compaction() { |
1505 | 26 | _has_bits_[0] |= 0x00000100u; |
1506 | 26 | } |
1507 | 0 | inline void NewFilePB::clear_has_marked_for_compaction() { |
1508 | 0 | _has_bits_[0] &= ~0x00000100u; |
1509 | 0 | } |
1510 | 0 | inline void NewFilePB::clear_marked_for_compaction() { |
1511 | 0 | marked_for_compaction_ = false; |
1512 | 0 | clear_has_marked_for_compaction(); |
1513 | 0 | } |
1514 | 36.4k | inline bool NewFilePB::marked_for_compaction() const { |
1515 | | // @@protoc_insertion_point(field_get:rocksdb.NewFilePB.marked_for_compaction) |
1516 | 36.4k | return marked_for_compaction_; |
1517 | 36.4k | } |
1518 | 19 | inline void NewFilePB::set_marked_for_compaction(bool value) { |
1519 | 19 | set_has_marked_for_compaction(); |
1520 | 19 | marked_for_compaction_ = value; |
1521 | | // @@protoc_insertion_point(field_set:rocksdb.NewFilePB.marked_for_compaction) |
1522 | 19 | } |
1523 | | |
1524 | | // optional .yb.OpIdPB obsolete_last_op_id = 9; |
1525 | 263k | inline bool NewFilePB::has_obsolete_last_op_id() const { |
1526 | 263k | return (_has_bits_[0] & 0x00000004u) != 0; |
1527 | 263k | } |
1528 | 0 | inline void NewFilePB::set_has_obsolete_last_op_id() { |
1529 | 0 | _has_bits_[0] |= 0x00000004u; |
1530 | 0 | } |
1531 | 0 | inline void NewFilePB::clear_has_obsolete_last_op_id() { |
1532 | 0 | _has_bits_[0] &= ~0x00000004u; |
1533 | 0 | } |
1534 | 0 | inline const ::yb::OpIdPB& NewFilePB::obsolete_last_op_id() const { |
1535 | 0 | const ::yb::OpIdPB* p = obsolete_last_op_id_; |
1536 | 0 | // @@protoc_insertion_point(field_get:rocksdb.NewFilePB.obsolete_last_op_id) |
1537 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>( |
1538 | 0 | &::yb::_OpIdPB_default_instance_); |
1539 | 0 | } |
1540 | 0 | inline ::yb::OpIdPB* NewFilePB::release_obsolete_last_op_id() { |
1541 | 0 | // @@protoc_insertion_point(field_release:rocksdb.NewFilePB.obsolete_last_op_id) |
1542 | 0 | clear_has_obsolete_last_op_id(); |
1543 | 0 | ::yb::OpIdPB* temp = obsolete_last_op_id_; |
1544 | 0 | obsolete_last_op_id_ = NULL; |
1545 | 0 | return temp; |
1546 | 0 | } |
1547 | 0 | inline ::yb::OpIdPB* NewFilePB::mutable_obsolete_last_op_id() { |
1548 | 0 | set_has_obsolete_last_op_id(); |
1549 | 0 | if (obsolete_last_op_id_ == NULL) { |
1550 | 0 | obsolete_last_op_id_ = new ::yb::OpIdPB; |
1551 | 0 | } |
1552 | 0 | // @@protoc_insertion_point(field_mutable:rocksdb.NewFilePB.obsolete_last_op_id) |
1553 | 0 | return obsolete_last_op_id_; |
1554 | 0 | } |
1555 | 0 | inline void NewFilePB::set_allocated_obsolete_last_op_id(::yb::OpIdPB* obsolete_last_op_id) { |
1556 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1557 | 0 | if (message_arena == NULL) { |
1558 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(obsolete_last_op_id_); |
1559 | 0 | } |
1560 | 0 | if (obsolete_last_op_id) { |
1561 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
1562 | 0 | if (message_arena != submessage_arena) { |
1563 | 0 | obsolete_last_op_id = ::google::protobuf::internal::GetOwnedMessage( |
1564 | 0 | message_arena, obsolete_last_op_id, submessage_arena); |
1565 | 0 | } |
1566 | 0 | set_has_obsolete_last_op_id(); |
1567 | 0 | } else { |
1568 | 0 | clear_has_obsolete_last_op_id(); |
1569 | 0 | } |
1570 | 0 | obsolete_last_op_id_ = obsolete_last_op_id; |
1571 | 0 | // @@protoc_insertion_point(field_set_allocated:rocksdb.NewFilePB.obsolete_last_op_id) |
1572 | 0 | } |
1573 | | |
1574 | | // optional bool imported = 10; |
1575 | 14 | inline bool NewFilePB::has_imported() const { |
1576 | 14 | return (_has_bits_[0] & 0x00000200u) != 0; |
1577 | 14 | } |
1578 | 0 | inline void NewFilePB::set_has_imported() { |
1579 | 0 | _has_bits_[0] |= 0x00000200u; |
1580 | 0 | } |
1581 | 0 | inline void NewFilePB::clear_has_imported() { |
1582 | 0 | _has_bits_[0] &= ~0x00000200u; |
1583 | 0 | } |
1584 | 0 | inline void NewFilePB::clear_imported() { |
1585 | 0 | imported_ = false; |
1586 | 0 | clear_has_imported(); |
1587 | 0 | } |
1588 | 36.4k | inline bool NewFilePB::imported() const { |
1589 | | // @@protoc_insertion_point(field_get:rocksdb.NewFilePB.imported) |
1590 | 36.4k | return imported_; |
1591 | 36.4k | } |
1592 | 0 | inline void NewFilePB::set_imported(bool value) { |
1593 | 0 | set_has_imported(); |
1594 | 0 | imported_ = value; |
1595 | 0 | // @@protoc_insertion_point(field_set:rocksdb.NewFilePB.imported) |
1596 | 0 | } |
1597 | | |
1598 | | // ------------------------------------------------------------------- |
1599 | | |
1600 | | // VersionEditPB |
1601 | | |
1602 | | // optional string comparator = 1; |
1603 | 1.53M | inline bool VersionEditPB::has_comparator() const { |
1604 | 1.53M | return (_has_bits_[0] & 0x00000001u) != 0; |
1605 | 1.53M | } |
1606 | 542k | inline void VersionEditPB::set_has_comparator() { |
1607 | 542k | _has_bits_[0] |= 0x00000001u; |
1608 | 542k | } |
1609 | 0 | inline void VersionEditPB::clear_has_comparator() { |
1610 | 0 | _has_bits_[0] &= ~0x00000001u; |
1611 | 0 | } |
1612 | 0 | inline void VersionEditPB::clear_comparator() { |
1613 | 0 | comparator_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1614 | 0 | clear_has_comparator(); |
1615 | 0 | } |
1616 | 1.06M | inline const ::std::string& VersionEditPB::comparator() const { |
1617 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.comparator) |
1618 | 1.06M | return comparator_.GetNoArena(); |
1619 | 1.06M | } |
1620 | 519k | inline void VersionEditPB::set_comparator(const ::std::string& value) { |
1621 | 519k | set_has_comparator(); |
1622 | 519k | comparator_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1623 | | // @@protoc_insertion_point(field_set:rocksdb.VersionEditPB.comparator) |
1624 | 519k | } |
1625 | | #if LANG_CXX11 |
1626 | 0 | inline void VersionEditPB::set_comparator(::std::string&& value) { |
1627 | 0 | set_has_comparator(); |
1628 | 0 | comparator_.SetNoArena( |
1629 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1630 | 0 | // @@protoc_insertion_point(field_set_rvalue:rocksdb.VersionEditPB.comparator) |
1631 | 0 | } |
1632 | | #endif |
1633 | 0 | inline void VersionEditPB::set_comparator(const char* value) { |
1634 | 0 | GOOGLE_DCHECK(value != NULL); |
1635 | 0 | set_has_comparator(); |
1636 | 0 | comparator_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1637 | 0 | // @@protoc_insertion_point(field_set_char:rocksdb.VersionEditPB.comparator) |
1638 | 0 | } |
1639 | 0 | inline void VersionEditPB::set_comparator(const char* value, size_t size) { |
1640 | 0 | set_has_comparator(); |
1641 | 0 | comparator_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1642 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1643 | 0 | // @@protoc_insertion_point(field_set_pointer:rocksdb.VersionEditPB.comparator) |
1644 | 0 | } |
1645 | 23.2k | inline ::std::string* VersionEditPB::mutable_comparator() { |
1646 | 23.2k | set_has_comparator(); |
1647 | | // @@protoc_insertion_point(field_mutable:rocksdb.VersionEditPB.comparator) |
1648 | 23.2k | return comparator_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1649 | 23.2k | } |
1650 | 0 | inline ::std::string* VersionEditPB::release_comparator() { |
1651 | 0 | // @@protoc_insertion_point(field_release:rocksdb.VersionEditPB.comparator) |
1652 | 0 | clear_has_comparator(); |
1653 | 0 | return comparator_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1654 | 0 | } |
1655 | 0 | inline void VersionEditPB::set_allocated_comparator(::std::string* comparator) { |
1656 | 0 | if (comparator != NULL) { |
1657 | 0 | set_has_comparator(); |
1658 | 0 | } else { |
1659 | 0 | clear_has_comparator(); |
1660 | 0 | } |
1661 | 0 | comparator_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), comparator); |
1662 | 0 | // @@protoc_insertion_point(field_set_allocated:rocksdb.VersionEditPB.comparator) |
1663 | 0 | } |
1664 | | |
1665 | | // optional uint64 log_number = 2; |
1666 | 1.53M | inline bool VersionEditPB::has_log_number() const { |
1667 | 1.53M | return (_has_bits_[0] & 0x00000010u) != 0; |
1668 | 1.53M | } |
1669 | 1.24M | inline void VersionEditPB::set_has_log_number() { |
1670 | 1.24M | _has_bits_[0] |= 0x00000010u; |
1671 | 1.24M | } |
1672 | 0 | inline void VersionEditPB::clear_has_log_number() { |
1673 | 0 | _has_bits_[0] &= ~0x00000010u; |
1674 | 0 | } |
1675 | 0 | inline void VersionEditPB::clear_log_number() { |
1676 | 0 | log_number_ = GOOGLE_ULONGLONG(0); |
1677 | 0 | clear_has_log_number(); |
1678 | 0 | } |
1679 | 1.61M | inline ::google::protobuf::uint64 VersionEditPB::log_number() const { |
1680 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.log_number) |
1681 | 1.61M | return log_number_; |
1682 | 1.61M | } |
1683 | 886k | inline void VersionEditPB::set_log_number(::google::protobuf::uint64 value) { |
1684 | 886k | set_has_log_number(); |
1685 | 886k | log_number_ = value; |
1686 | | // @@protoc_insertion_point(field_set:rocksdb.VersionEditPB.log_number) |
1687 | 886k | } |
1688 | | |
1689 | | // optional uint64 prev_log_number = 3; |
1690 | 1.53M | inline bool VersionEditPB::has_prev_log_number() const { |
1691 | 1.53M | return (_has_bits_[0] & 0x00000020u) != 0; |
1692 | 1.53M | } |
1693 | 328k | inline void VersionEditPB::set_has_prev_log_number() { |
1694 | 328k | _has_bits_[0] |= 0x00000020u; |
1695 | 328k | } |
1696 | 0 | inline void VersionEditPB::clear_has_prev_log_number() { |
1697 | 0 | _has_bits_[0] &= ~0x00000020u; |
1698 | 0 | } |
1699 | 0 | inline void VersionEditPB::clear_prev_log_number() { |
1700 | 0 | prev_log_number_ = GOOGLE_ULONGLONG(0); |
1701 | 0 | clear_has_prev_log_number(); |
1702 | 0 | } |
1703 | 636k | inline ::google::protobuf::uint64 VersionEditPB::prev_log_number() const { |
1704 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.prev_log_number) |
1705 | 636k | return prev_log_number_; |
1706 | 636k | } |
1707 | 307k | inline void VersionEditPB::set_prev_log_number(::google::protobuf::uint64 value) { |
1708 | 307k | set_has_prev_log_number(); |
1709 | 307k | prev_log_number_ = value; |
1710 | | // @@protoc_insertion_point(field_set:rocksdb.VersionEditPB.prev_log_number) |
1711 | 307k | } |
1712 | | |
1713 | | // optional uint64 next_file_number = 4; |
1714 | 1.53M | inline bool VersionEditPB::has_next_file_number() const { |
1715 | 1.53M | return (_has_bits_[0] & 0x00000040u) != 0; |
1716 | 1.53M | } |
1717 | 998k | inline void VersionEditPB::set_has_next_file_number() { |
1718 | 998k | _has_bits_[0] |= 0x00000040u; |
1719 | 998k | } |
1720 | 0 | inline void VersionEditPB::clear_has_next_file_number() { |
1721 | 0 | _has_bits_[0] &= ~0x00000040u; |
1722 | 0 | } |
1723 | 0 | inline void VersionEditPB::clear_next_file_number() { |
1724 | 0 | next_file_number_ = GOOGLE_ULONGLONG(0); |
1725 | 0 | clear_has_next_file_number(); |
1726 | 0 | } |
1727 | 1.64M | inline ::google::protobuf::uint64 VersionEditPB::next_file_number() const { |
1728 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.next_file_number) |
1729 | 1.64M | return next_file_number_; |
1730 | 1.64M | } |
1731 | 642k | inline void VersionEditPB::set_next_file_number(::google::protobuf::uint64 value) { |
1732 | 642k | set_has_next_file_number(); |
1733 | 642k | next_file_number_ = value; |
1734 | | // @@protoc_insertion_point(field_set:rocksdb.VersionEditPB.next_file_number) |
1735 | 642k | } |
1736 | | |
1737 | | // optional uint32 max_column_family = 5; |
1738 | 404k | inline bool VersionEditPB::has_max_column_family() const { |
1739 | 404k | return (_has_bits_[0] & 0x00000100u) != 0; |
1740 | 404k | } |
1741 | 6.87k | inline void VersionEditPB::set_has_max_column_family() { |
1742 | 6.87k | _has_bits_[0] |= 0x00000100u; |
1743 | 6.87k | } |
1744 | 0 | inline void VersionEditPB::clear_has_max_column_family() { |
1745 | 0 | _has_bits_[0] &= ~0x00000100u; |
1746 | 0 | } |
1747 | 0 | inline void VersionEditPB::clear_max_column_family() { |
1748 | 0 | max_column_family_ = 0u; |
1749 | 0 | clear_has_max_column_family(); |
1750 | 0 | } |
1751 | 11.1k | inline ::google::protobuf::uint32 VersionEditPB::max_column_family() const { |
1752 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.max_column_family) |
1753 | 11.1k | return max_column_family_; |
1754 | 11.1k | } |
1755 | 4.26k | inline void VersionEditPB::set_max_column_family(::google::protobuf::uint32 value) { |
1756 | 4.26k | set_has_max_column_family(); |
1757 | 4.26k | max_column_family_ = value; |
1758 | | // @@protoc_insertion_point(field_set:rocksdb.VersionEditPB.max_column_family) |
1759 | 4.26k | } |
1760 | | |
1761 | | // optional uint64 last_sequence = 6; |
1762 | 1.53M | inline bool VersionEditPB::has_last_sequence() const { |
1763 | 1.53M | return (_has_bits_[0] & 0x00000080u) != 0; |
1764 | 1.53M | } |
1765 | 998k | inline void VersionEditPB::set_has_last_sequence() { |
1766 | 998k | _has_bits_[0] |= 0x00000080u; |
1767 | 998k | } |
1768 | 0 | inline void VersionEditPB::clear_has_last_sequence() { |
1769 | 0 | _has_bits_[0] &= ~0x00000080u; |
1770 | 0 | } |
1771 | 0 | inline void VersionEditPB::clear_last_sequence() { |
1772 | 0 | last_sequence_ = GOOGLE_ULONGLONG(0); |
1773 | 0 | clear_has_last_sequence(); |
1774 | 0 | } |
1775 | 1.64M | inline ::google::protobuf::uint64 VersionEditPB::last_sequence() const { |
1776 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.last_sequence) |
1777 | 1.64M | return last_sequence_; |
1778 | 1.64M | } |
1779 | 642k | inline void VersionEditPB::set_last_sequence(::google::protobuf::uint64 value) { |
1780 | 642k | set_has_last_sequence(); |
1781 | 642k | last_sequence_ = value; |
1782 | | // @@protoc_insertion_point(field_set:rocksdb.VersionEditPB.last_sequence) |
1783 | 642k | } |
1784 | | |
1785 | | // repeated .rocksdb.DeletedFilePB deleted_files = 7; |
1786 | 2.31M | inline int VersionEditPB::deleted_files_size() const { |
1787 | 2.31M | return deleted_files_.size(); |
1788 | 2.31M | } |
1789 | 0 | inline void VersionEditPB::clear_deleted_files() { |
1790 | 0 | deleted_files_.Clear(); |
1791 | 0 | } |
1792 | 121k | inline const ::rocksdb::DeletedFilePB& VersionEditPB::deleted_files(int index) const { |
1793 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.deleted_files) |
1794 | 121k | return deleted_files_.Get(index); |
1795 | 121k | } |
1796 | 0 | inline ::rocksdb::DeletedFilePB* VersionEditPB::mutable_deleted_files(int index) { |
1797 | 0 | // @@protoc_insertion_point(field_mutable:rocksdb.VersionEditPB.deleted_files) |
1798 | 0 | return deleted_files_.Mutable(index); |
1799 | 0 | } |
1800 | 76.5k | inline ::rocksdb::DeletedFilePB* VersionEditPB::add_deleted_files() { |
1801 | | // @@protoc_insertion_point(field_add:rocksdb.VersionEditPB.deleted_files) |
1802 | 76.5k | return deleted_files_.Add(); |
1803 | 76.5k | } |
1804 | | inline ::google::protobuf::RepeatedPtrField< ::rocksdb::DeletedFilePB >* |
1805 | 0 | VersionEditPB::mutable_deleted_files() { |
1806 | 0 | // @@protoc_insertion_point(field_mutable_list:rocksdb.VersionEditPB.deleted_files) |
1807 | 0 | return &deleted_files_; |
1808 | 0 | } |
1809 | | inline const ::google::protobuf::RepeatedPtrField< ::rocksdb::DeletedFilePB >& |
1810 | 376k | VersionEditPB::deleted_files() const { |
1811 | | // @@protoc_insertion_point(field_list:rocksdb.VersionEditPB.deleted_files) |
1812 | 376k | return deleted_files_; |
1813 | 376k | } |
1814 | | |
1815 | | // repeated .rocksdb.NewFilePB new_files = 8; |
1816 | 2.69M | inline int VersionEditPB::new_files_size() const { |
1817 | 2.69M | return new_files_.size(); |
1818 | 2.69M | } |
1819 | 0 | inline void VersionEditPB::clear_new_files() { |
1820 | 0 | new_files_.Clear(); |
1821 | 0 | } |
1822 | 227k | inline const ::rocksdb::NewFilePB& VersionEditPB::new_files(int index) const { |
1823 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.new_files) |
1824 | 227k | return new_files_.Get(index); |
1825 | 227k | } |
1826 | 0 | inline ::rocksdb::NewFilePB* VersionEditPB::mutable_new_files(int index) { |
1827 | 0 | // @@protoc_insertion_point(field_mutable:rocksdb.VersionEditPB.new_files) |
1828 | 0 | return new_files_.Mutable(index); |
1829 | 0 | } |
1830 | 156k | inline ::rocksdb::NewFilePB* VersionEditPB::add_new_files() { |
1831 | | // @@protoc_insertion_point(field_add:rocksdb.VersionEditPB.new_files) |
1832 | 156k | return new_files_.Add(); |
1833 | 156k | } |
1834 | | inline ::google::protobuf::RepeatedPtrField< ::rocksdb::NewFilePB >* |
1835 | 0 | VersionEditPB::mutable_new_files() { |
1836 | 0 | // @@protoc_insertion_point(field_mutable_list:rocksdb.VersionEditPB.new_files) |
1837 | 0 | return &new_files_; |
1838 | 0 | } |
1839 | | inline const ::google::protobuf::RepeatedPtrField< ::rocksdb::NewFilePB >& |
1840 | 1.53M | VersionEditPB::new_files() const { |
1841 | | // @@protoc_insertion_point(field_list:rocksdb.VersionEditPB.new_files) |
1842 | 1.53M | return new_files_; |
1843 | 1.53M | } |
1844 | | |
1845 | | // optional uint32 column_family = 9; |
1846 | 28.2k | inline bool VersionEditPB::has_column_family() const { |
1847 | 28.2k | return (_has_bits_[0] & 0x00000200u) != 0; |
1848 | 28.2k | } |
1849 | 39.7k | inline void VersionEditPB::set_has_column_family() { |
1850 | 39.7k | _has_bits_[0] |= 0x00000200u; |
1851 | 39.7k | } |
1852 | 0 | inline void VersionEditPB::clear_has_column_family() { |
1853 | 0 | _has_bits_[0] &= ~0x00000200u; |
1854 | 0 | } |
1855 | 0 | inline void VersionEditPB::clear_column_family() { |
1856 | 0 | column_family_ = 0u; |
1857 | 0 | clear_has_column_family(); |
1858 | 0 | } |
1859 | 427k | inline ::google::protobuf::uint32 VersionEditPB::column_family() const { |
1860 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.column_family) |
1861 | 427k | return column_family_; |
1862 | 427k | } |
1863 | 32.7k | inline void VersionEditPB::set_column_family(::google::protobuf::uint32 value) { |
1864 | 32.7k | set_has_column_family(); |
1865 | 32.7k | column_family_ = value; |
1866 | | // @@protoc_insertion_point(field_set:rocksdb.VersionEditPB.column_family) |
1867 | 32.7k | } |
1868 | | |
1869 | | // optional string column_family_name = 10; |
1870 | 1.15M | inline bool VersionEditPB::has_column_family_name() const { |
1871 | 1.15M | return (_has_bits_[0] & 0x00000002u) != 0; |
1872 | 1.15M | } |
1873 | 11.7k | inline void VersionEditPB::set_has_column_family_name() { |
1874 | 11.7k | _has_bits_[0] |= 0x00000002u; |
1875 | 11.7k | } |
1876 | 0 | inline void VersionEditPB::clear_has_column_family_name() { |
1877 | 0 | _has_bits_[0] &= ~0x00000002u; |
1878 | 0 | } |
1879 | 0 | inline void VersionEditPB::clear_column_family_name() { |
1880 | 0 | column_family_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1881 | 0 | clear_has_column_family_name(); |
1882 | 0 | } |
1883 | 406k | inline const ::std::string& VersionEditPB::column_family_name() const { |
1884 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.column_family_name) |
1885 | 406k | return column_family_name_.GetNoArena(); |
1886 | 406k | } |
1887 | 8.80k | inline void VersionEditPB::set_column_family_name(const ::std::string& value) { |
1888 | 8.80k | set_has_column_family_name(); |
1889 | 8.80k | column_family_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1890 | | // @@protoc_insertion_point(field_set:rocksdb.VersionEditPB.column_family_name) |
1891 | 8.80k | } |
1892 | | #if LANG_CXX11 |
1893 | 0 | inline void VersionEditPB::set_column_family_name(::std::string&& value) { |
1894 | 0 | set_has_column_family_name(); |
1895 | 0 | column_family_name_.SetNoArena( |
1896 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1897 | 0 | // @@protoc_insertion_point(field_set_rvalue:rocksdb.VersionEditPB.column_family_name) |
1898 | 0 | } |
1899 | | #endif |
1900 | 0 | inline void VersionEditPB::set_column_family_name(const char* value) { |
1901 | 0 | GOOGLE_DCHECK(value != NULL); |
1902 | 0 | set_has_column_family_name(); |
1903 | 0 | column_family_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1904 | 0 | // @@protoc_insertion_point(field_set_char:rocksdb.VersionEditPB.column_family_name) |
1905 | 0 | } |
1906 | 0 | inline void VersionEditPB::set_column_family_name(const char* value, size_t size) { |
1907 | 0 | set_has_column_family_name(); |
1908 | 0 | column_family_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1909 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1910 | 0 | // @@protoc_insertion_point(field_set_pointer:rocksdb.VersionEditPB.column_family_name) |
1911 | 0 | } |
1912 | 2.95k | inline ::std::string* VersionEditPB::mutable_column_family_name() { |
1913 | 2.95k | set_has_column_family_name(); |
1914 | | // @@protoc_insertion_point(field_mutable:rocksdb.VersionEditPB.column_family_name) |
1915 | 2.95k | return column_family_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1916 | 2.95k | } |
1917 | 0 | inline ::std::string* VersionEditPB::release_column_family_name() { |
1918 | 0 | // @@protoc_insertion_point(field_release:rocksdb.VersionEditPB.column_family_name) |
1919 | 0 | clear_has_column_family_name(); |
1920 | 0 | return column_family_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1921 | 0 | } |
1922 | 0 | inline void VersionEditPB::set_allocated_column_family_name(::std::string* column_family_name) { |
1923 | 0 | if (column_family_name != NULL) { |
1924 | 0 | set_has_column_family_name(); |
1925 | 0 | } else { |
1926 | 0 | clear_has_column_family_name(); |
1927 | 0 | } |
1928 | 0 | column_family_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), column_family_name); |
1929 | 0 | // @@protoc_insertion_point(field_set_allocated:rocksdb.VersionEditPB.column_family_name) |
1930 | 0 | } |
1931 | | |
1932 | | // optional bool is_column_family_drop = 11; |
1933 | 28.2k | inline bool VersionEditPB::has_is_column_family_drop() const { |
1934 | 28.2k | return (_has_bits_[0] & 0x00000400u) != 0; |
1935 | 28.2k | } |
1936 | 41 | inline void VersionEditPB::set_has_is_column_family_drop() { |
1937 | 41 | _has_bits_[0] |= 0x00000400u; |
1938 | 41 | } |
1939 | 0 | inline void VersionEditPB::clear_has_is_column_family_drop() { |
1940 | 0 | _has_bits_[0] &= ~0x00000400u; |
1941 | 0 | } |
1942 | 0 | inline void VersionEditPB::clear_is_column_family_drop() { |
1943 | 0 | is_column_family_drop_ = false; |
1944 | 0 | clear_has_is_column_family_drop(); |
1945 | 0 | } |
1946 | 376k | inline bool VersionEditPB::is_column_family_drop() const { |
1947 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.is_column_family_drop) |
1948 | 376k | return is_column_family_drop_; |
1949 | 376k | } |
1950 | 30 | inline void VersionEditPB::set_is_column_family_drop(bool value) { |
1951 | 30 | set_has_is_column_family_drop(); |
1952 | 30 | is_column_family_drop_ = value; |
1953 | | // @@protoc_insertion_point(field_set:rocksdb.VersionEditPB.is_column_family_drop) |
1954 | 30 | } |
1955 | | |
1956 | | // optional .yb.OpIdPB obsolete_last_op_id = 12; |
1957 | 3.03M | inline bool VersionEditPB::has_obsolete_last_op_id() const { |
1958 | 3.03M | return (_has_bits_[0] & 0x00000004u) != 0; |
1959 | 3.03M | } |
1960 | 0 | inline void VersionEditPB::set_has_obsolete_last_op_id() { |
1961 | 0 | _has_bits_[0] |= 0x00000004u; |
1962 | 0 | } |
1963 | 0 | inline void VersionEditPB::clear_has_obsolete_last_op_id() { |
1964 | 0 | _has_bits_[0] &= ~0x00000004u; |
1965 | 0 | } |
1966 | 0 | inline const ::yb::OpIdPB& VersionEditPB::obsolete_last_op_id() const { |
1967 | 0 | const ::yb::OpIdPB* p = obsolete_last_op_id_; |
1968 | 0 | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.obsolete_last_op_id) |
1969 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>( |
1970 | 0 | &::yb::_OpIdPB_default_instance_); |
1971 | 0 | } |
1972 | 0 | inline ::yb::OpIdPB* VersionEditPB::release_obsolete_last_op_id() { |
1973 | 0 | // @@protoc_insertion_point(field_release:rocksdb.VersionEditPB.obsolete_last_op_id) |
1974 | 0 | clear_has_obsolete_last_op_id(); |
1975 | 0 | ::yb::OpIdPB* temp = obsolete_last_op_id_; |
1976 | 0 | obsolete_last_op_id_ = NULL; |
1977 | 0 | return temp; |
1978 | 0 | } |
1979 | 0 | inline ::yb::OpIdPB* VersionEditPB::mutable_obsolete_last_op_id() { |
1980 | 0 | set_has_obsolete_last_op_id(); |
1981 | 0 | if (obsolete_last_op_id_ == NULL) { |
1982 | 0 | obsolete_last_op_id_ = new ::yb::OpIdPB; |
1983 | 0 | } |
1984 | 0 | // @@protoc_insertion_point(field_mutable:rocksdb.VersionEditPB.obsolete_last_op_id) |
1985 | 0 | return obsolete_last_op_id_; |
1986 | 0 | } |
1987 | 0 | inline void VersionEditPB::set_allocated_obsolete_last_op_id(::yb::OpIdPB* obsolete_last_op_id) { |
1988 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1989 | 0 | if (message_arena == NULL) { |
1990 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(obsolete_last_op_id_); |
1991 | 0 | } |
1992 | 0 | if (obsolete_last_op_id) { |
1993 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
1994 | 0 | if (message_arena != submessage_arena) { |
1995 | 0 | obsolete_last_op_id = ::google::protobuf::internal::GetOwnedMessage( |
1996 | 0 | message_arena, obsolete_last_op_id, submessage_arena); |
1997 | 0 | } |
1998 | 0 | set_has_obsolete_last_op_id(); |
1999 | 0 | } else { |
2000 | 0 | clear_has_obsolete_last_op_id(); |
2001 | 0 | } |
2002 | 0 | obsolete_last_op_id_ = obsolete_last_op_id; |
2003 | 0 | // @@protoc_insertion_point(field_set_allocated:rocksdb.VersionEditPB.obsolete_last_op_id) |
2004 | 0 | } |
2005 | | |
2006 | | // optional .google.protobuf.Any flushed_frontier = 13; |
2007 | 1.49M | inline bool VersionEditPB::has_flushed_frontier() const { |
2008 | 1.49M | return (_has_bits_[0] & 0x00000008u) != 0; |
2009 | 1.49M | } |
2010 | 260k | inline void VersionEditPB::set_has_flushed_frontier() { |
2011 | 260k | _has_bits_[0] |= 0x00000008u; |
2012 | 260k | } |
2013 | 0 | inline void VersionEditPB::clear_has_flushed_frontier() { |
2014 | 0 | _has_bits_[0] &= ~0x00000008u; |
2015 | 0 | } |
2016 | 6.12k | inline const ::google::protobuf::Any& VersionEditPB::flushed_frontier() const { |
2017 | 6.12k | const ::google::protobuf::Any* p = flushed_frontier_; |
2018 | | // @@protoc_insertion_point(field_get:rocksdb.VersionEditPB.flushed_frontier) |
2019 | 6.12k | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Any*>( |
2020 | 0 | &::google::protobuf::_Any_default_instance_); |
2021 | 6.12k | } |
2022 | 0 | inline ::google::protobuf::Any* VersionEditPB::release_flushed_frontier() { |
2023 | 0 | // @@protoc_insertion_point(field_release:rocksdb.VersionEditPB.flushed_frontier) |
2024 | 0 | clear_has_flushed_frontier(); |
2025 | 0 | ::google::protobuf::Any* temp = flushed_frontier_; |
2026 | 0 | flushed_frontier_ = NULL; |
2027 | 0 | return temp; |
2028 | 0 | } |
2029 | 260k | inline ::google::protobuf::Any* VersionEditPB::mutable_flushed_frontier() { |
2030 | 260k | set_has_flushed_frontier(); |
2031 | 260k | if (flushed_frontier_ == NULL) { |
2032 | 260k | flushed_frontier_ = new ::google::protobuf::Any; |
2033 | 260k | } |
2034 | | // @@protoc_insertion_point(field_mutable:rocksdb.VersionEditPB.flushed_frontier) |
2035 | 260k | return flushed_frontier_; |
2036 | 260k | } |
2037 | 0 | inline void VersionEditPB::set_allocated_flushed_frontier(::google::protobuf::Any* flushed_frontier) { |
2038 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2039 | 0 | if (message_arena == NULL) { |
2040 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(flushed_frontier_); |
2041 | 0 | } |
2042 | 0 | if (flushed_frontier) { |
2043 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
2044 | 0 | if (message_arena != submessage_arena) { |
2045 | 0 | flushed_frontier = ::google::protobuf::internal::GetOwnedMessage( |
2046 | 0 | message_arena, flushed_frontier, submessage_arena); |
2047 | 0 | } |
2048 | 0 | set_has_flushed_frontier(); |
2049 | 0 | } else { |
2050 | 0 | clear_has_flushed_frontier(); |
2051 | 0 | } |
2052 | 0 | flushed_frontier_ = flushed_frontier; |
2053 | 0 | // @@protoc_insertion_point(field_set_allocated:rocksdb.VersionEditPB.flushed_frontier) |
2054 | 0 | } |
2055 | | |
2056 | | #ifdef __GNUC__ |
2057 | | #pragma GCC diagnostic pop |
2058 | | #endif // __GNUC__ |
2059 | | // ------------------------------------------------------------------- |
2060 | | |
2061 | | // ------------------------------------------------------------------- |
2062 | | |
2063 | | // ------------------------------------------------------------------- |
2064 | | |
2065 | | // ------------------------------------------------------------------- |
2066 | | |
2067 | | |
2068 | | // @@protoc_insertion_point(namespace_scope) |
2069 | | |
2070 | | } // namespace rocksdb |
2071 | | |
2072 | | // @@protoc_insertion_point(global_scope) |
2073 | | |
2074 | | #endif // PROTOBUF_yb_2frocksdb_2fdb_2fversion_5fedit_2eproto__INCLUDED |