YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/fs/fs.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/fs/fs.proto
3
4
#ifndef PROTOBUF_yb_2ffs_2ffs_2eproto__INCLUDED
5
#define PROTOBUF_yb_2ffs_2ffs_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/generated_enum_reflection.h>
32
#include <google/protobuf/unknown_field_set.h>
33
// @@protoc_insertion_point(includes)
34
35
namespace protobuf_yb_2ffs_2ffs_2eproto {
36
// Internal implementation detail -- do not use these members.
37
struct TableStruct {
38
  static const ::google::protobuf::internal::ParseTableField entries[];
39
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
40
  static const ::google::protobuf::internal::ParseTable schema[5];
41
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
42
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
43
  static const ::google::protobuf::uint32 offsets[];
44
};
45
void AddDescriptors();
46
void InitDefaultsInstanceMetadataPBImpl();
47
void InitDefaultsInstanceMetadataPB();
48
void InitDefaultsPathSetPBImpl();
49
void InitDefaultsPathSetPB();
50
void InitDefaultsPathInstanceMetadataPBImpl();
51
void InitDefaultsPathInstanceMetadataPB();
52
void InitDefaultsBlockIdPBImpl();
53
void InitDefaultsBlockIdPB();
54
void InitDefaultsBlockRecordPBImpl();
55
void InitDefaultsBlockRecordPB();
56
17.1k
inline void InitDefaults() {
57
17.1k
  InitDefaultsInstanceMetadataPB();
58
17.1k
  InitDefaultsPathSetPB();
59
17.1k
  InitDefaultsPathInstanceMetadataPB();
60
17.1k
  InitDefaultsBlockIdPB();
61
17.1k
  InitDefaultsBlockRecordPB();
62
17.1k
}
63
}  // namespace protobuf_yb_2ffs_2ffs_2eproto
64
namespace yb {
65
class BlockIdPB;
66
class BlockIdPBDefaultTypeInternal;
67
extern BlockIdPBDefaultTypeInternal _BlockIdPB_default_instance_;
68
class BlockRecordPB;
69
class BlockRecordPBDefaultTypeInternal;
70
extern BlockRecordPBDefaultTypeInternal _BlockRecordPB_default_instance_;
71
class InstanceMetadataPB;
72
class InstanceMetadataPBDefaultTypeInternal;
73
extern InstanceMetadataPBDefaultTypeInternal _InstanceMetadataPB_default_instance_;
74
class PathInstanceMetadataPB;
75
class PathInstanceMetadataPBDefaultTypeInternal;
76
extern PathInstanceMetadataPBDefaultTypeInternal _PathInstanceMetadataPB_default_instance_;
77
class PathSetPB;
78
class PathSetPBDefaultTypeInternal;
79
extern PathSetPBDefaultTypeInternal _PathSetPB_default_instance_;
80
}  // namespace yb
81
namespace yb {
82
83
enum BlockRecordType {
84
  UNKNOWN = 0,
85
  CREATE = 1,
86
  DELETE = 2
87
};
88
bool BlockRecordType_IsValid(int value);
89
const BlockRecordType BlockRecordType_MIN = UNKNOWN;
90
const BlockRecordType BlockRecordType_MAX = DELETE;
91
const int BlockRecordType_ARRAYSIZE = BlockRecordType_MAX + 1;
92
93
const ::google::protobuf::EnumDescriptor* BlockRecordType_descriptor();
94
0
inline const ::std::string& BlockRecordType_Name(BlockRecordType value) {
95
0
  return ::google::protobuf::internal::NameOfEnum(
96
0
    BlockRecordType_descriptor(), value);
97
0
}
98
inline bool BlockRecordType_Parse(
99
0
    const ::std::string& name, BlockRecordType* value) {
100
0
  return ::google::protobuf::internal::ParseNamedEnum<BlockRecordType>(
101
0
    BlockRecordType_descriptor(), name, value);
102
0
}
103
// ===================================================================
104
105
class InstanceMetadataPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.InstanceMetadataPB) */ {
106
 public:
107
  InstanceMetadataPB();
108
  virtual ~InstanceMetadataPB();
109
110
  InstanceMetadataPB(const InstanceMetadataPB& from);
111
112
0
  inline InstanceMetadataPB& operator=(const InstanceMetadataPB& from) {
113
0
    CopyFrom(from);
114
0
    return *this;
115
0
  }
116
  #if LANG_CXX11
117
  InstanceMetadataPB(InstanceMetadataPB&& from) noexcept
118
0
    : InstanceMetadataPB() {
119
0
    *this = ::std::move(from);
120
0
  }
121
122
0
  inline InstanceMetadataPB& operator=(InstanceMetadataPB&& from) noexcept {
123
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
124
0
      if (this != &from) InternalSwap(&from);
125
0
    } else {
126
0
      CopyFrom(from);
127
0
    }
128
0
    return *this;
129
0
  }
130
  #endif
131
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
132
0
    return _internal_metadata_.unknown_fields();
133
0
  }
134
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
135
0
    return _internal_metadata_.mutable_unknown_fields();
136
0
  }
137
138
  static const ::google::protobuf::Descriptor* descriptor();
139
  static const InstanceMetadataPB& default_instance();
140
141
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
142
58.6k
  static inline const InstanceMetadataPB* internal_default_instance() {
143
58.6k
    return reinterpret_cast<const InstanceMetadataPB*>(
144
58.6k
               &_InstanceMetadataPB_default_instance_);
145
58.6k
  }
146
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
147
    0;
148
149
  void Swap(InstanceMetadataPB* other);
150
0
  friend void swap(InstanceMetadataPB& a, InstanceMetadataPB& b) {
151
0
    a.Swap(&b);
152
0
  }
153
154
  // implements Message ----------------------------------------------
155
156
0
  inline InstanceMetadataPB* New() const PROTOBUF_FINAL { return New(NULL); }
157
158
  InstanceMetadataPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
159
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
160
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
161
  void CopyFrom(const InstanceMetadataPB& from);
162
  void MergeFrom(const InstanceMetadataPB& from);
163
  void Clear() PROTOBUF_FINAL;
164
  bool IsInitialized() const PROTOBUF_FINAL;
165
166
  size_t ByteSizeLong() const PROTOBUF_FINAL;
167
  bool MergePartialFromCodedStream(
168
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
169
  void SerializeWithCachedSizes(
170
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
171
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
172
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
173
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
174
  private:
175
  void SharedCtor();
176
  void SharedDtor();
177
  void SetCachedSize(int size) const PROTOBUF_FINAL;
178
  void InternalSwap(InstanceMetadataPB* other);
179
  private:
180
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
181
0
    return NULL;
182
0
  }
183
0
  inline void* MaybeArenaPtr() const {
184
0
    return NULL;
185
0
  }
186
  public:
187
188
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
189
190
  // nested types ----------------------------------------------------
191
192
  // accessors -------------------------------------------------------
193
194
  // required bytes uuid = 1;
195
  bool has_uuid() const;
196
  void clear_uuid();
197
  static const int kUuidFieldNumber = 1;
198
  const ::std::string& uuid() const;
199
  void set_uuid(const ::std::string& value);
200
  #if LANG_CXX11
201
  void set_uuid(::std::string&& value);
202
  #endif
203
  void set_uuid(const char* value);
204
  void set_uuid(const void* value, size_t size);
205
  ::std::string* mutable_uuid();
206
  ::std::string* release_uuid();
207
  void set_allocated_uuid(::std::string* uuid);
208
209
  // required string format_stamp = 2;
210
  bool has_format_stamp() const;
211
  void clear_format_stamp();
212
  static const int kFormatStampFieldNumber = 2;
213
  const ::std::string& format_stamp() const;
214
  void set_format_stamp(const ::std::string& value);
215
  #if LANG_CXX11
216
  void set_format_stamp(::std::string&& value);
217
  #endif
218
  void set_format_stamp(const char* value);
219
  void set_format_stamp(const char* value, size_t size);
220
  ::std::string* mutable_format_stamp();
221
  ::std::string* release_format_stamp();
222
  void set_allocated_format_stamp(::std::string* format_stamp);
223
224
  // @@protoc_insertion_point(class_scope:yb.InstanceMetadataPB)
225
 private:
226
  void set_has_uuid();
227
  void clear_has_uuid();
228
  void set_has_format_stamp();
229
  void clear_has_format_stamp();
230
231
  // helper for ByteSizeLong()
232
  size_t RequiredFieldsByteSizeFallback() const;
233
234
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
235
  ::google::protobuf::internal::HasBits<1> _has_bits_;
236
  mutable int _cached_size_;
237
  ::google::protobuf::internal::ArenaStringPtr uuid_;
238
  ::google::protobuf::internal::ArenaStringPtr format_stamp_;
239
  friend struct ::protobuf_yb_2ffs_2ffs_2eproto::TableStruct;
240
  friend void ::protobuf_yb_2ffs_2ffs_2eproto::InitDefaultsInstanceMetadataPBImpl();
241
};
242
// -------------------------------------------------------------------
243
244
class PathSetPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.PathSetPB) */ {
245
 public:
246
  PathSetPB();
247
  virtual ~PathSetPB();
248
249
  PathSetPB(const PathSetPB& from);
250
251
0
  inline PathSetPB& operator=(const PathSetPB& from) {
252
0
    CopyFrom(from);
253
0
    return *this;
254
0
  }
255
  #if LANG_CXX11
256
  PathSetPB(PathSetPB&& from) noexcept
257
0
    : PathSetPB() {
258
0
    *this = ::std::move(from);
259
0
  }
260
261
0
  inline PathSetPB& operator=(PathSetPB&& from) noexcept {
262
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
263
0
      if (this != &from) InternalSwap(&from);
264
0
    } else {
265
0
      CopyFrom(from);
266
0
    }
267
0
    return *this;
268
0
  }
269
  #endif
270
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
271
0
    return _internal_metadata_.unknown_fields();
272
0
  }
273
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
274
0
    return _internal_metadata_.mutable_unknown_fields();
275
0
  }
276
277
  static const ::google::protobuf::Descriptor* descriptor();
278
  static const PathSetPB& default_instance();
279
280
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
281
34.2k
  static inline const PathSetPB* internal_default_instance() {
282
34.2k
    return reinterpret_cast<const PathSetPB*>(
283
34.2k
               &_PathSetPB_default_instance_);
284
34.2k
  }
285
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
286
    1;
287
288
  void Swap(PathSetPB* other);
289
0
  friend void swap(PathSetPB& a, PathSetPB& b) {
290
0
    a.Swap(&b);
291
0
  }
292
293
  // implements Message ----------------------------------------------
294
295
0
  inline PathSetPB* New() const PROTOBUF_FINAL { return New(NULL); }
296
297
  PathSetPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
298
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
299
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
300
  void CopyFrom(const PathSetPB& from);
301
  void MergeFrom(const PathSetPB& from);
302
  void Clear() PROTOBUF_FINAL;
303
  bool IsInitialized() const PROTOBUF_FINAL;
304
305
  size_t ByteSizeLong() const PROTOBUF_FINAL;
306
  bool MergePartialFromCodedStream(
307
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
308
  void SerializeWithCachedSizes(
309
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
310
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
311
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
312
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
313
  private:
314
  void SharedCtor();
315
  void SharedDtor();
316
  void SetCachedSize(int size) const PROTOBUF_FINAL;
317
  void InternalSwap(PathSetPB* other);
318
  private:
319
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
320
0
    return NULL;
321
0
  }
322
0
  inline void* MaybeArenaPtr() const {
323
0
    return NULL;
324
0
  }
325
  public:
326
327
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
328
329
  // nested types ----------------------------------------------------
330
331
  // accessors -------------------------------------------------------
332
333
  // repeated bytes all_uuids = 2;
334
  int all_uuids_size() const;
335
  void clear_all_uuids();
336
  static const int kAllUuidsFieldNumber = 2;
337
  const ::std::string& all_uuids(int index) const;
338
  ::std::string* mutable_all_uuids(int index);
339
  void set_all_uuids(int index, const ::std::string& value);
340
  #if LANG_CXX11
341
  void set_all_uuids(int index, ::std::string&& value);
342
  #endif
343
  void set_all_uuids(int index, const char* value);
344
  void set_all_uuids(int index, const void* value, size_t size);
345
  ::std::string* add_all_uuids();
346
  void add_all_uuids(const ::std::string& value);
347
  #if LANG_CXX11
348
  void add_all_uuids(::std::string&& value);
349
  #endif
350
  void add_all_uuids(const char* value);
351
  void add_all_uuids(const void* value, size_t size);
352
  const ::google::protobuf::RepeatedPtrField< ::std::string>& all_uuids() const;
353
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_all_uuids();
354
355
  // required bytes uuid = 1;
356
  bool has_uuid() const;
357
  void clear_uuid();
358
  static const int kUuidFieldNumber = 1;
359
  const ::std::string& uuid() const;
360
  void set_uuid(const ::std::string& value);
361
  #if LANG_CXX11
362
  void set_uuid(::std::string&& value);
363
  #endif
364
  void set_uuid(const char* value);
365
  void set_uuid(const void* value, size_t size);
366
  ::std::string* mutable_uuid();
367
  ::std::string* release_uuid();
368
  void set_allocated_uuid(::std::string* uuid);
369
370
  // @@protoc_insertion_point(class_scope:yb.PathSetPB)
371
 private:
372
  void set_has_uuid();
373
  void clear_has_uuid();
374
375
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
376
  ::google::protobuf::internal::HasBits<1> _has_bits_;
377
  mutable int _cached_size_;
378
  ::google::protobuf::RepeatedPtrField< ::std::string> all_uuids_;
379
  ::google::protobuf::internal::ArenaStringPtr uuid_;
380
  friend struct ::protobuf_yb_2ffs_2ffs_2eproto::TableStruct;
381
  friend void ::protobuf_yb_2ffs_2ffs_2eproto::InitDefaultsPathSetPBImpl();
382
};
383
// -------------------------------------------------------------------
384
385
class PathInstanceMetadataPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.PathInstanceMetadataPB) */ {
386
 public:
387
  PathInstanceMetadataPB();
388
  virtual ~PathInstanceMetadataPB();
389
390
  PathInstanceMetadataPB(const PathInstanceMetadataPB& from);
391
392
0
  inline PathInstanceMetadataPB& operator=(const PathInstanceMetadataPB& from) {
393
0
    CopyFrom(from);
394
0
    return *this;
395
0
  }
396
  #if LANG_CXX11
397
  PathInstanceMetadataPB(PathInstanceMetadataPB&& from) noexcept
398
0
    : PathInstanceMetadataPB() {
399
0
    *this = ::std::move(from);
400
0
  }
401
402
0
  inline PathInstanceMetadataPB& operator=(PathInstanceMetadataPB&& from) noexcept {
403
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
404
0
      if (this != &from) InternalSwap(&from);
405
0
    } else {
406
0
      CopyFrom(from);
407
0
    }
408
0
    return *this;
409
0
  }
410
  #endif
411
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
412
0
    return _internal_metadata_.unknown_fields();
413
0
  }
414
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
415
0
    return _internal_metadata_.mutable_unknown_fields();
416
0
  }
417
418
  static const ::google::protobuf::Descriptor* descriptor();
419
  static const PathInstanceMetadataPB& default_instance();
420
421
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
422
17.1k
  static inline const PathInstanceMetadataPB* internal_default_instance() {
423
17.1k
    return reinterpret_cast<const PathInstanceMetadataPB*>(
424
17.1k
               &_PathInstanceMetadataPB_default_instance_);
425
17.1k
  }
426
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
427
    2;
428
429
  void Swap(PathInstanceMetadataPB* other);
430
0
  friend void swap(PathInstanceMetadataPB& a, PathInstanceMetadataPB& b) {
431
0
    a.Swap(&b);
432
0
  }
433
434
  // implements Message ----------------------------------------------
435
436
0
  inline PathInstanceMetadataPB* New() const PROTOBUF_FINAL { return New(NULL); }
437
438
  PathInstanceMetadataPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
439
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
440
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
441
  void CopyFrom(const PathInstanceMetadataPB& from);
442
  void MergeFrom(const PathInstanceMetadataPB& from);
443
  void Clear() PROTOBUF_FINAL;
444
  bool IsInitialized() const PROTOBUF_FINAL;
445
446
  size_t ByteSizeLong() const PROTOBUF_FINAL;
447
  bool MergePartialFromCodedStream(
448
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
449
  void SerializeWithCachedSizes(
450
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
451
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
452
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
453
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
454
  private:
455
  void SharedCtor();
456
  void SharedDtor();
457
  void SetCachedSize(int size) const PROTOBUF_FINAL;
458
  void InternalSwap(PathInstanceMetadataPB* other);
459
  private:
460
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
461
0
    return NULL;
462
0
  }
463
0
  inline void* MaybeArenaPtr() const {
464
0
    return NULL;
465
0
  }
466
  public:
467
468
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
469
470
  // nested types ----------------------------------------------------
471
472
  // accessors -------------------------------------------------------
473
474
  // required string block_manager_type = 2;
475
  bool has_block_manager_type() const;
476
  void clear_block_manager_type();
477
  static const int kBlockManagerTypeFieldNumber = 2;
478
  const ::std::string& block_manager_type() const;
479
  void set_block_manager_type(const ::std::string& value);
480
  #if LANG_CXX11
481
  void set_block_manager_type(::std::string&& value);
482
  #endif
483
  void set_block_manager_type(const char* value);
484
  void set_block_manager_type(const char* value, size_t size);
485
  ::std::string* mutable_block_manager_type();
486
  ::std::string* release_block_manager_type();
487
  void set_allocated_block_manager_type(::std::string* block_manager_type);
488
489
  // required .yb.PathSetPB path_set = 1;
490
  bool has_path_set() const;
491
  void clear_path_set();
492
  static const int kPathSetFieldNumber = 1;
493
  const ::yb::PathSetPB& path_set() const;
494
  ::yb::PathSetPB* release_path_set();
495
  ::yb::PathSetPB* mutable_path_set();
496
  void set_allocated_path_set(::yb::PathSetPB* path_set);
497
498
  // required uint64 filesystem_block_size_bytes = 3;
499
  bool has_filesystem_block_size_bytes() const;
500
  void clear_filesystem_block_size_bytes();
501
  static const int kFilesystemBlockSizeBytesFieldNumber = 3;
502
  ::google::protobuf::uint64 filesystem_block_size_bytes() const;
503
  void set_filesystem_block_size_bytes(::google::protobuf::uint64 value);
504
505
  // @@protoc_insertion_point(class_scope:yb.PathInstanceMetadataPB)
506
 private:
507
  void set_has_path_set();
508
  void clear_has_path_set();
509
  void set_has_block_manager_type();
510
  void clear_has_block_manager_type();
511
  void set_has_filesystem_block_size_bytes();
512
  void clear_has_filesystem_block_size_bytes();
513
514
  // helper for ByteSizeLong()
515
  size_t RequiredFieldsByteSizeFallback() const;
516
517
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
518
  ::google::protobuf::internal::HasBits<1> _has_bits_;
519
  mutable int _cached_size_;
520
  ::google::protobuf::internal::ArenaStringPtr block_manager_type_;
521
  ::yb::PathSetPB* path_set_;
522
  ::google::protobuf::uint64 filesystem_block_size_bytes_;
523
  friend struct ::protobuf_yb_2ffs_2ffs_2eproto::TableStruct;
524
  friend void ::protobuf_yb_2ffs_2ffs_2eproto::InitDefaultsPathInstanceMetadataPBImpl();
525
};
526
// -------------------------------------------------------------------
527
528
class BlockIdPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.BlockIdPB) */ {
529
 public:
530
  BlockIdPB();
531
  virtual ~BlockIdPB();
532
533
  BlockIdPB(const BlockIdPB& from);
534
535
0
  inline BlockIdPB& operator=(const BlockIdPB& from) {
536
0
    CopyFrom(from);
537
0
    return *this;
538
0
  }
539
  #if LANG_CXX11
540
  BlockIdPB(BlockIdPB&& from) noexcept
541
0
    : BlockIdPB() {
542
0
    *this = ::std::move(from);
543
0
  }
544
545
0
  inline BlockIdPB& operator=(BlockIdPB&& from) noexcept {
546
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
547
0
      if (this != &from) InternalSwap(&from);
548
0
    } else {
549
0
      CopyFrom(from);
550
0
    }
551
0
    return *this;
552
0
  }
553
  #endif
554
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
555
0
    return _internal_metadata_.unknown_fields();
556
0
  }
557
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
558
0
    return _internal_metadata_.mutable_unknown_fields();
559
0
  }
560
561
  static const ::google::protobuf::Descriptor* descriptor();
562
  static const BlockIdPB& default_instance();
563
564
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
565
34.2k
  static inline const BlockIdPB* internal_default_instance() {
566
34.2k
    return reinterpret_cast<const BlockIdPB*>(
567
34.2k
               &_BlockIdPB_default_instance_);
568
34.2k
  }
569
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
570
    3;
571
572
  void Swap(BlockIdPB* other);
573
0
  friend void swap(BlockIdPB& a, BlockIdPB& b) {
574
0
    a.Swap(&b);
575
0
  }
576
577
  // implements Message ----------------------------------------------
578
579
0
  inline BlockIdPB* New() const PROTOBUF_FINAL { return New(NULL); }
580
581
  BlockIdPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
582
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
583
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
584
  void CopyFrom(const BlockIdPB& from);
585
  void MergeFrom(const BlockIdPB& from);
586
  void Clear() PROTOBUF_FINAL;
587
  bool IsInitialized() const PROTOBUF_FINAL;
588
589
  size_t ByteSizeLong() const PROTOBUF_FINAL;
590
  bool MergePartialFromCodedStream(
591
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
592
  void SerializeWithCachedSizes(
593
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
594
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
595
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
596
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
597
  private:
598
  void SharedCtor();
599
  void SharedDtor();
600
  void SetCachedSize(int size) const PROTOBUF_FINAL;
601
  void InternalSwap(BlockIdPB* other);
602
  private:
603
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
604
0
    return NULL;
605
0
  }
606
0
  inline void* MaybeArenaPtr() const {
607
0
    return NULL;
608
0
  }
609
  public:
610
611
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
612
613
  // nested types ----------------------------------------------------
614
615
  // accessors -------------------------------------------------------
616
617
  // required fixed64 id = 1;
618
  bool has_id() const;
619
  void clear_id();
620
  static const int kIdFieldNumber = 1;
621
  ::google::protobuf::uint64 id() const;
622
  void set_id(::google::protobuf::uint64 value);
623
624
  // @@protoc_insertion_point(class_scope:yb.BlockIdPB)
625
 private:
626
  void set_has_id();
627
  void clear_has_id();
628
629
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
630
  ::google::protobuf::internal::HasBits<1> _has_bits_;
631
  mutable int _cached_size_;
632
  ::google::protobuf::uint64 id_;
633
  friend struct ::protobuf_yb_2ffs_2ffs_2eproto::TableStruct;
634
  friend void ::protobuf_yb_2ffs_2ffs_2eproto::InitDefaultsBlockIdPBImpl();
635
};
636
// -------------------------------------------------------------------
637
638
class BlockRecordPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.BlockRecordPB) */ {
639
 public:
640
  BlockRecordPB();
641
  virtual ~BlockRecordPB();
642
643
  BlockRecordPB(const BlockRecordPB& from);
644
645
0
  inline BlockRecordPB& operator=(const BlockRecordPB& from) {
646
0
    CopyFrom(from);
647
0
    return *this;
648
0
  }
649
  #if LANG_CXX11
650
  BlockRecordPB(BlockRecordPB&& from) noexcept
651
0
    : BlockRecordPB() {
652
0
    *this = ::std::move(from);
653
0
  }
654
655
0
  inline BlockRecordPB& operator=(BlockRecordPB&& from) noexcept {
656
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
657
0
      if (this != &from) InternalSwap(&from);
658
0
    } else {
659
0
      CopyFrom(from);
660
0
    }
661
0
    return *this;
662
0
  }
663
  #endif
664
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
665
0
    return _internal_metadata_.unknown_fields();
666
0
  }
667
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
668
0
    return _internal_metadata_.mutable_unknown_fields();
669
0
  }
670
671
  static const ::google::protobuf::Descriptor* descriptor();
672
  static const BlockRecordPB& default_instance();
673
674
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
675
17.1k
  static inline const BlockRecordPB* internal_default_instance() {
676
17.1k
    return reinterpret_cast<const BlockRecordPB*>(
677
17.1k
               &_BlockRecordPB_default_instance_);
678
17.1k
  }
679
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
680
    4;
681
682
  void Swap(BlockRecordPB* other);
683
0
  friend void swap(BlockRecordPB& a, BlockRecordPB& b) {
684
0
    a.Swap(&b);
685
0
  }
686
687
  // implements Message ----------------------------------------------
688
689
0
  inline BlockRecordPB* New() const PROTOBUF_FINAL { return New(NULL); }
690
691
  BlockRecordPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
692
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
693
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
694
  void CopyFrom(const BlockRecordPB& from);
695
  void MergeFrom(const BlockRecordPB& from);
696
  void Clear() PROTOBUF_FINAL;
697
  bool IsInitialized() const PROTOBUF_FINAL;
698
699
  size_t ByteSizeLong() const PROTOBUF_FINAL;
700
  bool MergePartialFromCodedStream(
701
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
702
  void SerializeWithCachedSizes(
703
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
704
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
705
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
706
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
707
  private:
708
  void SharedCtor();
709
  void SharedDtor();
710
  void SetCachedSize(int size) const PROTOBUF_FINAL;
711
  void InternalSwap(BlockRecordPB* other);
712
  private:
713
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
714
0
    return NULL;
715
0
  }
716
0
  inline void* MaybeArenaPtr() const {
717
0
    return NULL;
718
0
  }
719
  public:
720
721
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
722
723
  // nested types ----------------------------------------------------
724
725
  // accessors -------------------------------------------------------
726
727
  // required .yb.BlockIdPB block_id = 1;
728
  bool has_block_id() const;
729
  void clear_block_id();
730
  static const int kBlockIdFieldNumber = 1;
731
  const ::yb::BlockIdPB& block_id() const;
732
  ::yb::BlockIdPB* release_block_id();
733
  ::yb::BlockIdPB* mutable_block_id();
734
  void set_allocated_block_id(::yb::BlockIdPB* block_id);
735
736
  // required uint64 timestamp_us = 3;
737
  bool has_timestamp_us() const;
738
  void clear_timestamp_us();
739
  static const int kTimestampUsFieldNumber = 3;
740
  ::google::protobuf::uint64 timestamp_us() const;
741
  void set_timestamp_us(::google::protobuf::uint64 value);
742
743
  // optional int64 offset = 4;
744
  bool has_offset() const;
745
  void clear_offset();
746
  static const int kOffsetFieldNumber = 4;
747
  ::google::protobuf::int64 offset() const;
748
  void set_offset(::google::protobuf::int64 value);
749
750
  // optional int64 length = 5;
751
  bool has_length() const;
752
  void clear_length();
753
  static const int kLengthFieldNumber = 5;
754
  ::google::protobuf::int64 length() const;
755
  void set_length(::google::protobuf::int64 value);
756
757
  // required .yb.BlockRecordType op_type = 2;
758
  bool has_op_type() const;
759
  void clear_op_type();
760
  static const int kOpTypeFieldNumber = 2;
761
  ::yb::BlockRecordType op_type() const;
762
  void set_op_type(::yb::BlockRecordType value);
763
764
  // @@protoc_insertion_point(class_scope:yb.BlockRecordPB)
765
 private:
766
  void set_has_block_id();
767
  void clear_has_block_id();
768
  void set_has_op_type();
769
  void clear_has_op_type();
770
  void set_has_timestamp_us();
771
  void clear_has_timestamp_us();
772
  void set_has_offset();
773
  void clear_has_offset();
774
  void set_has_length();
775
  void clear_has_length();
776
777
  // helper for ByteSizeLong()
778
  size_t RequiredFieldsByteSizeFallback() const;
779
780
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
781
  ::google::protobuf::internal::HasBits<1> _has_bits_;
782
  mutable int _cached_size_;
783
  ::yb::BlockIdPB* block_id_;
784
  ::google::protobuf::uint64 timestamp_us_;
785
  ::google::protobuf::int64 offset_;
786
  ::google::protobuf::int64 length_;
787
  int op_type_;
788
  friend struct ::protobuf_yb_2ffs_2ffs_2eproto::TableStruct;
789
  friend void ::protobuf_yb_2ffs_2ffs_2eproto::InitDefaultsBlockRecordPBImpl();
790
};
791
// ===================================================================
792
793
794
// ===================================================================
795
796
#ifdef __GNUC__
797
  #pragma GCC diagnostic push
798
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
799
#endif  // __GNUC__
800
// InstanceMetadataPB
801
802
// required bytes uuid = 1;
803
0
inline bool InstanceMetadataPB::has_uuid() const {
804
0
  return (_has_bits_[0] & 0x00000001u) != 0;
805
0
}
806
29.9k
inline void InstanceMetadataPB::set_has_uuid() {
807
29.9k
  _has_bits_[0] |= 0x00000001u;
808
29.9k
}
809
0
inline void InstanceMetadataPB::clear_has_uuid() {
810
0
  _has_bits_[0] &= ~0x00000001u;
811
0
}
812
0
inline void InstanceMetadataPB::clear_uuid() {
813
0
  uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
814
0
  clear_has_uuid();
815
0
}
816
147M
inline const ::std::string& InstanceMetadataPB::uuid() const {
817
  // @@protoc_insertion_point(field_get:yb.InstanceMetadataPB.uuid)
818
147M
  return uuid_.GetNoArena();
819
147M
}
820
0
inline void InstanceMetadataPB::set_uuid(const ::std::string& value) {
821
0
  set_has_uuid();
822
0
  uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
823
0
  // @@protoc_insertion_point(field_set:yb.InstanceMetadataPB.uuid)
824
0
}
825
#if LANG_CXX11
826
12.0k
inline void InstanceMetadataPB::set_uuid(::std::string&& value) {
827
12.0k
  set_has_uuid();
828
12.0k
  uuid_.SetNoArena(
829
12.0k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
830
  // @@protoc_insertion_point(field_set_rvalue:yb.InstanceMetadataPB.uuid)
831
12.0k
}
832
#endif
833
0
inline void InstanceMetadataPB::set_uuid(const char* value) {
834
0
  GOOGLE_DCHECK(value != NULL);
835
0
  set_has_uuid();
836
0
  uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
837
0
  // @@protoc_insertion_point(field_set_char:yb.InstanceMetadataPB.uuid)
838
0
}
839
0
inline void InstanceMetadataPB::set_uuid(const void* value, size_t size) {
840
0
  set_has_uuid();
841
0
  uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
842
0
      ::std::string(reinterpret_cast<const char*>(value), size));
843
0
  // @@protoc_insertion_point(field_set_pointer:yb.InstanceMetadataPB.uuid)
844
0
}
845
17.8k
inline ::std::string* InstanceMetadataPB::mutable_uuid() {
846
17.8k
  set_has_uuid();
847
  // @@protoc_insertion_point(field_mutable:yb.InstanceMetadataPB.uuid)
848
17.8k
  return uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
849
17.8k
}
850
0
inline ::std::string* InstanceMetadataPB::release_uuid() {
851
0
  // @@protoc_insertion_point(field_release:yb.InstanceMetadataPB.uuid)
852
0
  clear_has_uuid();
853
0
  return uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
854
0
}
855
0
inline void InstanceMetadataPB::set_allocated_uuid(::std::string* uuid) {
856
0
  if (uuid != NULL) {
857
0
    set_has_uuid();
858
0
  } else {
859
0
    clear_has_uuid();
860
0
  }
861
0
  uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uuid);
862
0
  // @@protoc_insertion_point(field_set_allocated:yb.InstanceMetadataPB.uuid)
863
0
}
864
865
// required string format_stamp = 2;
866
0
inline bool InstanceMetadataPB::has_format_stamp() const {
867
0
  return (_has_bits_[0] & 0x00000002u) != 0;
868
0
}
869
29.9k
inline void InstanceMetadataPB::set_has_format_stamp() {
870
29.9k
  _has_bits_[0] |= 0x00000002u;
871
29.9k
}
872
0
inline void InstanceMetadataPB::clear_has_format_stamp() {
873
0
  _has_bits_[0] &= ~0x00000002u;
874
0
}
875
0
inline void InstanceMetadataPB::clear_format_stamp() {
876
0
  format_stamp_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
877
0
  clear_has_format_stamp();
878
0
}
879
84.2k
inline const ::std::string& InstanceMetadataPB::format_stamp() const {
880
  // @@protoc_insertion_point(field_get:yb.InstanceMetadataPB.format_stamp)
881
84.2k
  return format_stamp_.GetNoArena();
882
84.2k
}
883
0
inline void InstanceMetadataPB::set_format_stamp(const ::std::string& value) {
884
0
  set_has_format_stamp();
885
0
  format_stamp_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
886
0
  // @@protoc_insertion_point(field_set:yb.InstanceMetadataPB.format_stamp)
887
0
}
888
#if LANG_CXX11
889
12.0k
inline void InstanceMetadataPB::set_format_stamp(::std::string&& value) {
890
12.0k
  set_has_format_stamp();
891
12.0k
  format_stamp_.SetNoArena(
892
12.0k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
893
  // @@protoc_insertion_point(field_set_rvalue:yb.InstanceMetadataPB.format_stamp)
894
12.0k
}
895
#endif
896
0
inline void InstanceMetadataPB::set_format_stamp(const char* value) {
897
0
  GOOGLE_DCHECK(value != NULL);
898
0
  set_has_format_stamp();
899
0
  format_stamp_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
900
0
  // @@protoc_insertion_point(field_set_char:yb.InstanceMetadataPB.format_stamp)
901
0
}
902
0
inline void InstanceMetadataPB::set_format_stamp(const char* value, size_t size) {
903
0
  set_has_format_stamp();
904
0
  format_stamp_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
905
0
      ::std::string(reinterpret_cast<const char*>(value), size));
906
0
  // @@protoc_insertion_point(field_set_pointer:yb.InstanceMetadataPB.format_stamp)
907
0
}
908
17.8k
inline ::std::string* InstanceMetadataPB::mutable_format_stamp() {
909
17.8k
  set_has_format_stamp();
910
  // @@protoc_insertion_point(field_mutable:yb.InstanceMetadataPB.format_stamp)
911
17.8k
  return format_stamp_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
912
17.8k
}
913
0
inline ::std::string* InstanceMetadataPB::release_format_stamp() {
914
0
  // @@protoc_insertion_point(field_release:yb.InstanceMetadataPB.format_stamp)
915
0
  clear_has_format_stamp();
916
0
  return format_stamp_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
917
0
}
918
0
inline void InstanceMetadataPB::set_allocated_format_stamp(::std::string* format_stamp) {
919
0
  if (format_stamp != NULL) {
920
0
    set_has_format_stamp();
921
0
  } else {
922
0
    clear_has_format_stamp();
923
0
  }
924
0
  format_stamp_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), format_stamp);
925
0
  // @@protoc_insertion_point(field_set_allocated:yb.InstanceMetadataPB.format_stamp)
926
0
}
927
928
// -------------------------------------------------------------------
929
930
// PathSetPB
931
932
// required bytes uuid = 1;
933
0
inline bool PathSetPB::has_uuid() const {
934
0
  return (_has_bits_[0] & 0x00000001u) != 0;
935
0
}
936
0
inline void PathSetPB::set_has_uuid() {
937
0
  _has_bits_[0] |= 0x00000001u;
938
0
}
939
0
inline void PathSetPB::clear_has_uuid() {
940
0
  _has_bits_[0] &= ~0x00000001u;
941
0
}
942
0
inline void PathSetPB::clear_uuid() {
943
0
  uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
944
0
  clear_has_uuid();
945
0
}
946
0
inline const ::std::string& PathSetPB::uuid() const {
947
  // @@protoc_insertion_point(field_get:yb.PathSetPB.uuid)
948
0
  return uuid_.GetNoArena();
949
0
}
950
0
inline void PathSetPB::set_uuid(const ::std::string& value) {
951
0
  set_has_uuid();
952
0
  uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
953
0
  // @@protoc_insertion_point(field_set:yb.PathSetPB.uuid)
954
0
}
955
#if LANG_CXX11
956
0
inline void PathSetPB::set_uuid(::std::string&& value) {
957
0
  set_has_uuid();
958
0
  uuid_.SetNoArena(
959
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
960
0
  // @@protoc_insertion_point(field_set_rvalue:yb.PathSetPB.uuid)
961
0
}
962
#endif
963
0
inline void PathSetPB::set_uuid(const char* value) {
964
0
  GOOGLE_DCHECK(value != NULL);
965
0
  set_has_uuid();
966
0
  uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
967
0
  // @@protoc_insertion_point(field_set_char:yb.PathSetPB.uuid)
968
0
}
969
0
inline void PathSetPB::set_uuid(const void* value, size_t size) {
970
0
  set_has_uuid();
971
0
  uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
972
0
      ::std::string(reinterpret_cast<const char*>(value), size));
973
0
  // @@protoc_insertion_point(field_set_pointer:yb.PathSetPB.uuid)
974
0
}
975
0
inline ::std::string* PathSetPB::mutable_uuid() {
976
0
  set_has_uuid();
977
  // @@protoc_insertion_point(field_mutable:yb.PathSetPB.uuid)
978
0
  return uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
979
0
}
980
0
inline ::std::string* PathSetPB::release_uuid() {
981
0
  // @@protoc_insertion_point(field_release:yb.PathSetPB.uuid)
982
0
  clear_has_uuid();
983
0
  return uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
984
0
}
985
0
inline void PathSetPB::set_allocated_uuid(::std::string* uuid) {
986
0
  if (uuid != NULL) {
987
0
    set_has_uuid();
988
0
  } else {
989
0
    clear_has_uuid();
990
0
  }
991
0
  uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uuid);
992
0
  // @@protoc_insertion_point(field_set_allocated:yb.PathSetPB.uuid)
993
0
}
994
995
// repeated bytes all_uuids = 2;
996
0
inline int PathSetPB::all_uuids_size() const {
997
0
  return all_uuids_.size();
998
0
}
999
0
inline void PathSetPB::clear_all_uuids() {
1000
0
  all_uuids_.Clear();
1001
0
}
1002
0
inline const ::std::string& PathSetPB::all_uuids(int index) const {
1003
  // @@protoc_insertion_point(field_get:yb.PathSetPB.all_uuids)
1004
0
  return all_uuids_.Get(index);
1005
0
}
1006
0
inline ::std::string* PathSetPB::mutable_all_uuids(int index) {
1007
0
  // @@protoc_insertion_point(field_mutable:yb.PathSetPB.all_uuids)
1008
0
  return all_uuids_.Mutable(index);
1009
0
}
1010
0
inline void PathSetPB::set_all_uuids(int index, const ::std::string& value) {
1011
0
  // @@protoc_insertion_point(field_set:yb.PathSetPB.all_uuids)
1012
0
  all_uuids_.Mutable(index)->assign(value);
1013
0
}
1014
#if LANG_CXX11
1015
0
inline void PathSetPB::set_all_uuids(int index, ::std::string&& value) {
1016
0
  // @@protoc_insertion_point(field_set:yb.PathSetPB.all_uuids)
1017
0
  all_uuids_.Mutable(index)->assign(std::move(value));
1018
0
}
1019
#endif
1020
0
inline void PathSetPB::set_all_uuids(int index, const char* value) {
1021
0
  GOOGLE_DCHECK(value != NULL);
1022
0
  all_uuids_.Mutable(index)->assign(value);
1023
0
  // @@protoc_insertion_point(field_set_char:yb.PathSetPB.all_uuids)
1024
0
}
1025
0
inline void PathSetPB::set_all_uuids(int index, const void* value, size_t size) {
1026
0
  all_uuids_.Mutable(index)->assign(
1027
0
    reinterpret_cast<const char*>(value), size);
1028
0
  // @@protoc_insertion_point(field_set_pointer:yb.PathSetPB.all_uuids)
1029
0
}
1030
0
inline ::std::string* PathSetPB::add_all_uuids() {
1031
  // @@protoc_insertion_point(field_add_mutable:yb.PathSetPB.all_uuids)
1032
0
  return all_uuids_.Add();
1033
0
}
1034
0
inline void PathSetPB::add_all_uuids(const ::std::string& value) {
1035
0
  all_uuids_.Add()->assign(value);
1036
0
  // @@protoc_insertion_point(field_add:yb.PathSetPB.all_uuids)
1037
0
}
1038
#if LANG_CXX11
1039
0
inline void PathSetPB::add_all_uuids(::std::string&& value) {
1040
0
  all_uuids_.Add(std::move(value));
1041
0
  // @@protoc_insertion_point(field_add:yb.PathSetPB.all_uuids)
1042
0
}
1043
#endif
1044
0
inline void PathSetPB::add_all_uuids(const char* value) {
1045
0
  GOOGLE_DCHECK(value != NULL);
1046
0
  all_uuids_.Add()->assign(value);
1047
0
  // @@protoc_insertion_point(field_add_char:yb.PathSetPB.all_uuids)
1048
0
}
1049
0
inline void PathSetPB::add_all_uuids(const void* value, size_t size) {
1050
0
  all_uuids_.Add()->assign(reinterpret_cast<const char*>(value), size);
1051
0
  // @@protoc_insertion_point(field_add_pointer:yb.PathSetPB.all_uuids)
1052
0
}
1053
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1054
0
PathSetPB::all_uuids() const {
1055
0
  // @@protoc_insertion_point(field_list:yb.PathSetPB.all_uuids)
1056
0
  return all_uuids_;
1057
0
}
1058
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1059
0
PathSetPB::mutable_all_uuids() {
1060
0
  // @@protoc_insertion_point(field_mutable_list:yb.PathSetPB.all_uuids)
1061
0
  return &all_uuids_;
1062
0
}
1063
1064
// -------------------------------------------------------------------
1065
1066
// PathInstanceMetadataPB
1067
1068
// required .yb.PathSetPB path_set = 1;
1069
0
inline bool PathInstanceMetadataPB::has_path_set() const {
1070
0
  return (_has_bits_[0] & 0x00000002u) != 0;
1071
0
}
1072
0
inline void PathInstanceMetadataPB::set_has_path_set() {
1073
0
  _has_bits_[0] |= 0x00000002u;
1074
0
}
1075
0
inline void PathInstanceMetadataPB::clear_has_path_set() {
1076
0
  _has_bits_[0] &= ~0x00000002u;
1077
0
}
1078
0
inline void PathInstanceMetadataPB::clear_path_set() {
1079
0
  if (path_set_ != NULL) path_set_->Clear();
1080
0
  clear_has_path_set();
1081
0
}
1082
0
inline const ::yb::PathSetPB& PathInstanceMetadataPB::path_set() const {
1083
0
  const ::yb::PathSetPB* p = path_set_;
1084
  // @@protoc_insertion_point(field_get:yb.PathInstanceMetadataPB.path_set)
1085
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::PathSetPB*>(
1086
0
      &::yb::_PathSetPB_default_instance_);
1087
0
}
1088
0
inline ::yb::PathSetPB* PathInstanceMetadataPB::release_path_set() {
1089
0
  // @@protoc_insertion_point(field_release:yb.PathInstanceMetadataPB.path_set)
1090
0
  clear_has_path_set();
1091
0
  ::yb::PathSetPB* temp = path_set_;
1092
0
  path_set_ = NULL;
1093
0
  return temp;
1094
0
}
1095
0
inline ::yb::PathSetPB* PathInstanceMetadataPB::mutable_path_set() {
1096
0
  set_has_path_set();
1097
0
  if (path_set_ == NULL) {
1098
0
    path_set_ = new ::yb::PathSetPB;
1099
0
  }
1100
  // @@protoc_insertion_point(field_mutable:yb.PathInstanceMetadataPB.path_set)
1101
0
  return path_set_;
1102
0
}
1103
0
inline void PathInstanceMetadataPB::set_allocated_path_set(::yb::PathSetPB* path_set) {
1104
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1105
0
  if (message_arena == NULL) {
1106
0
    delete path_set_;
1107
0
  }
1108
0
  if (path_set) {
1109
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1110
0
    if (message_arena != submessage_arena) {
1111
0
      path_set = ::google::protobuf::internal::GetOwnedMessage(
1112
0
          message_arena, path_set, submessage_arena);
1113
0
    }
1114
0
    set_has_path_set();
1115
0
  } else {
1116
0
    clear_has_path_set();
1117
0
  }
1118
0
  path_set_ = path_set;
1119
0
  // @@protoc_insertion_point(field_set_allocated:yb.PathInstanceMetadataPB.path_set)
1120
0
}
1121
1122
// required string block_manager_type = 2;
1123
0
inline bool PathInstanceMetadataPB::has_block_manager_type() const {
1124
0
  return (_has_bits_[0] & 0x00000001u) != 0;
1125
0
}
1126
0
inline void PathInstanceMetadataPB::set_has_block_manager_type() {
1127
0
  _has_bits_[0] |= 0x00000001u;
1128
0
}
1129
0
inline void PathInstanceMetadataPB::clear_has_block_manager_type() {
1130
0
  _has_bits_[0] &= ~0x00000001u;
1131
0
}
1132
0
inline void PathInstanceMetadataPB::clear_block_manager_type() {
1133
0
  block_manager_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1134
0
  clear_has_block_manager_type();
1135
0
}
1136
0
inline const ::std::string& PathInstanceMetadataPB::block_manager_type() const {
1137
  // @@protoc_insertion_point(field_get:yb.PathInstanceMetadataPB.block_manager_type)
1138
0
  return block_manager_type_.GetNoArena();
1139
0
}
1140
0
inline void PathInstanceMetadataPB::set_block_manager_type(const ::std::string& value) {
1141
0
  set_has_block_manager_type();
1142
0
  block_manager_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1143
0
  // @@protoc_insertion_point(field_set:yb.PathInstanceMetadataPB.block_manager_type)
1144
0
}
1145
#if LANG_CXX11
1146
0
inline void PathInstanceMetadataPB::set_block_manager_type(::std::string&& value) {
1147
0
  set_has_block_manager_type();
1148
0
  block_manager_type_.SetNoArena(
1149
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1150
0
  // @@protoc_insertion_point(field_set_rvalue:yb.PathInstanceMetadataPB.block_manager_type)
1151
0
}
1152
#endif
1153
0
inline void PathInstanceMetadataPB::set_block_manager_type(const char* value) {
1154
0
  GOOGLE_DCHECK(value != NULL);
1155
0
  set_has_block_manager_type();
1156
0
  block_manager_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1157
0
  // @@protoc_insertion_point(field_set_char:yb.PathInstanceMetadataPB.block_manager_type)
1158
0
}
1159
0
inline void PathInstanceMetadataPB::set_block_manager_type(const char* value, size_t size) {
1160
0
  set_has_block_manager_type();
1161
0
  block_manager_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1162
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1163
0
  // @@protoc_insertion_point(field_set_pointer:yb.PathInstanceMetadataPB.block_manager_type)
1164
0
}
1165
0
inline ::std::string* PathInstanceMetadataPB::mutable_block_manager_type() {
1166
0
  set_has_block_manager_type();
1167
  // @@protoc_insertion_point(field_mutable:yb.PathInstanceMetadataPB.block_manager_type)
1168
0
  return block_manager_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1169
0
}
1170
0
inline ::std::string* PathInstanceMetadataPB::release_block_manager_type() {
1171
0
  // @@protoc_insertion_point(field_release:yb.PathInstanceMetadataPB.block_manager_type)
1172
0
  clear_has_block_manager_type();
1173
0
  return block_manager_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1174
0
}
1175
0
inline void PathInstanceMetadataPB::set_allocated_block_manager_type(::std::string* block_manager_type) {
1176
0
  if (block_manager_type != NULL) {
1177
0
    set_has_block_manager_type();
1178
0
  } else {
1179
0
    clear_has_block_manager_type();
1180
0
  }
1181
0
  block_manager_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), block_manager_type);
1182
0
  // @@protoc_insertion_point(field_set_allocated:yb.PathInstanceMetadataPB.block_manager_type)
1183
0
}
1184
1185
// required uint64 filesystem_block_size_bytes = 3;
1186
0
inline bool PathInstanceMetadataPB::has_filesystem_block_size_bytes() const {
1187
0
  return (_has_bits_[0] & 0x00000004u) != 0;
1188
0
}
1189
0
inline void PathInstanceMetadataPB::set_has_filesystem_block_size_bytes() {
1190
0
  _has_bits_[0] |= 0x00000004u;
1191
0
}
1192
0
inline void PathInstanceMetadataPB::clear_has_filesystem_block_size_bytes() {
1193
0
  _has_bits_[0] &= ~0x00000004u;
1194
0
}
1195
0
inline void PathInstanceMetadataPB::clear_filesystem_block_size_bytes() {
1196
0
  filesystem_block_size_bytes_ = GOOGLE_ULONGLONG(0);
1197
0
  clear_has_filesystem_block_size_bytes();
1198
0
}
1199
0
inline ::google::protobuf::uint64 PathInstanceMetadataPB::filesystem_block_size_bytes() const {
1200
  // @@protoc_insertion_point(field_get:yb.PathInstanceMetadataPB.filesystem_block_size_bytes)
1201
0
  return filesystem_block_size_bytes_;
1202
0
}
1203
0
inline void PathInstanceMetadataPB::set_filesystem_block_size_bytes(::google::protobuf::uint64 value) {
1204
0
  set_has_filesystem_block_size_bytes();
1205
0
  filesystem_block_size_bytes_ = value;
1206
0
  // @@protoc_insertion_point(field_set:yb.PathInstanceMetadataPB.filesystem_block_size_bytes)
1207
0
}
1208
1209
// -------------------------------------------------------------------
1210
1211
// BlockIdPB
1212
1213
// required fixed64 id = 1;
1214
0
inline bool BlockIdPB::has_id() const {
1215
0
  return (_has_bits_[0] & 0x00000001u) != 0;
1216
0
}
1217
0
inline void BlockIdPB::set_has_id() {
1218
0
  _has_bits_[0] |= 0x00000001u;
1219
0
}
1220
0
inline void BlockIdPB::clear_has_id() {
1221
0
  _has_bits_[0] &= ~0x00000001u;
1222
0
}
1223
0
inline void BlockIdPB::clear_id() {
1224
0
  id_ = GOOGLE_ULONGLONG(0);
1225
0
  clear_has_id();
1226
0
}
1227
0
inline ::google::protobuf::uint64 BlockIdPB::id() const {
1228
  // @@protoc_insertion_point(field_get:yb.BlockIdPB.id)
1229
0
  return id_;
1230
0
}
1231
0
inline void BlockIdPB::set_id(::google::protobuf::uint64 value) {
1232
0
  set_has_id();
1233
0
  id_ = value;
1234
  // @@protoc_insertion_point(field_set:yb.BlockIdPB.id)
1235
0
}
1236
1237
// -------------------------------------------------------------------
1238
1239
// BlockRecordPB
1240
1241
// required .yb.BlockIdPB block_id = 1;
1242
0
inline bool BlockRecordPB::has_block_id() const {
1243
0
  return (_has_bits_[0] & 0x00000001u) != 0;
1244
0
}
1245
0
inline void BlockRecordPB::set_has_block_id() {
1246
0
  _has_bits_[0] |= 0x00000001u;
1247
0
}
1248
0
inline void BlockRecordPB::clear_has_block_id() {
1249
0
  _has_bits_[0] &= ~0x00000001u;
1250
0
}
1251
0
inline void BlockRecordPB::clear_block_id() {
1252
0
  if (block_id_ != NULL) block_id_->Clear();
1253
0
  clear_has_block_id();
1254
0
}
1255
0
inline const ::yb::BlockIdPB& BlockRecordPB::block_id() const {
1256
0
  const ::yb::BlockIdPB* p = block_id_;
1257
  // @@protoc_insertion_point(field_get:yb.BlockRecordPB.block_id)
1258
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::BlockIdPB*>(
1259
0
      &::yb::_BlockIdPB_default_instance_);
1260
0
}
1261
0
inline ::yb::BlockIdPB* BlockRecordPB::release_block_id() {
1262
0
  // @@protoc_insertion_point(field_release:yb.BlockRecordPB.block_id)
1263
0
  clear_has_block_id();
1264
0
  ::yb::BlockIdPB* temp = block_id_;
1265
0
  block_id_ = NULL;
1266
0
  return temp;
1267
0
}
1268
0
inline ::yb::BlockIdPB* BlockRecordPB::mutable_block_id() {
1269
0
  set_has_block_id();
1270
0
  if (block_id_ == NULL) {
1271
0
    block_id_ = new ::yb::BlockIdPB;
1272
0
  }
1273
  // @@protoc_insertion_point(field_mutable:yb.BlockRecordPB.block_id)
1274
0
  return block_id_;
1275
0
}
1276
0
inline void BlockRecordPB::set_allocated_block_id(::yb::BlockIdPB* block_id) {
1277
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1278
0
  if (message_arena == NULL) {
1279
0
    delete block_id_;
1280
0
  }
1281
0
  if (block_id) {
1282
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1283
0
    if (message_arena != submessage_arena) {
1284
0
      block_id = ::google::protobuf::internal::GetOwnedMessage(
1285
0
          message_arena, block_id, submessage_arena);
1286
0
    }
1287
0
    set_has_block_id();
1288
0
  } else {
1289
0
    clear_has_block_id();
1290
0
  }
1291
0
  block_id_ = block_id;
1292
0
  // @@protoc_insertion_point(field_set_allocated:yb.BlockRecordPB.block_id)
1293
0
}
1294
1295
// required .yb.BlockRecordType op_type = 2;
1296
0
inline bool BlockRecordPB::has_op_type() const {
1297
0
  return (_has_bits_[0] & 0x00000010u) != 0;
1298
0
}
1299
0
inline void BlockRecordPB::set_has_op_type() {
1300
0
  _has_bits_[0] |= 0x00000010u;
1301
0
}
1302
0
inline void BlockRecordPB::clear_has_op_type() {
1303
0
  _has_bits_[0] &= ~0x00000010u;
1304
0
}
1305
0
inline void BlockRecordPB::clear_op_type() {
1306
0
  op_type_ = 0;
1307
0
  clear_has_op_type();
1308
0
}
1309
0
inline ::yb::BlockRecordType BlockRecordPB::op_type() const {
1310
  // @@protoc_insertion_point(field_get:yb.BlockRecordPB.op_type)
1311
0
  return static_cast< ::yb::BlockRecordType >(op_type_);
1312
0
}
1313
0
inline void BlockRecordPB::set_op_type(::yb::BlockRecordType value) {
1314
0
  assert(::yb::BlockRecordType_IsValid(value));
1315
0
  set_has_op_type();
1316
0
  op_type_ = value;
1317
  // @@protoc_insertion_point(field_set:yb.BlockRecordPB.op_type)
1318
0
}
1319
1320
// required uint64 timestamp_us = 3;
1321
0
inline bool BlockRecordPB::has_timestamp_us() const {
1322
0
  return (_has_bits_[0] & 0x00000002u) != 0;
1323
0
}
1324
0
inline void BlockRecordPB::set_has_timestamp_us() {
1325
0
  _has_bits_[0] |= 0x00000002u;
1326
0
}
1327
0
inline void BlockRecordPB::clear_has_timestamp_us() {
1328
0
  _has_bits_[0] &= ~0x00000002u;
1329
0
}
1330
0
inline void BlockRecordPB::clear_timestamp_us() {
1331
0
  timestamp_us_ = GOOGLE_ULONGLONG(0);
1332
0
  clear_has_timestamp_us();
1333
0
}
1334
0
inline ::google::protobuf::uint64 BlockRecordPB::timestamp_us() const {
1335
  // @@protoc_insertion_point(field_get:yb.BlockRecordPB.timestamp_us)
1336
0
  return timestamp_us_;
1337
0
}
1338
0
inline void BlockRecordPB::set_timestamp_us(::google::protobuf::uint64 value) {
1339
0
  set_has_timestamp_us();
1340
0
  timestamp_us_ = value;
1341
0
  // @@protoc_insertion_point(field_set:yb.BlockRecordPB.timestamp_us)
1342
0
}
1343
1344
// optional int64 offset = 4;
1345
0
inline bool BlockRecordPB::has_offset() const {
1346
0
  return (_has_bits_[0] & 0x00000004u) != 0;
1347
0
}
1348
0
inline void BlockRecordPB::set_has_offset() {
1349
0
  _has_bits_[0] |= 0x00000004u;
1350
0
}
1351
0
inline void BlockRecordPB::clear_has_offset() {
1352
0
  _has_bits_[0] &= ~0x00000004u;
1353
0
}
1354
0
inline void BlockRecordPB::clear_offset() {
1355
0
  offset_ = GOOGLE_LONGLONG(0);
1356
0
  clear_has_offset();
1357
0
}
1358
0
inline ::google::protobuf::int64 BlockRecordPB::offset() const {
1359
  // @@protoc_insertion_point(field_get:yb.BlockRecordPB.offset)
1360
0
  return offset_;
1361
0
}
1362
0
inline void BlockRecordPB::set_offset(::google::protobuf::int64 value) {
1363
0
  set_has_offset();
1364
0
  offset_ = value;
1365
0
  // @@protoc_insertion_point(field_set:yb.BlockRecordPB.offset)
1366
0
}
1367
1368
// optional int64 length = 5;
1369
0
inline bool BlockRecordPB::has_length() const {
1370
0
  return (_has_bits_[0] & 0x00000008u) != 0;
1371
0
}
1372
0
inline void BlockRecordPB::set_has_length() {
1373
0
  _has_bits_[0] |= 0x00000008u;
1374
0
}
1375
0
inline void BlockRecordPB::clear_has_length() {
1376
0
  _has_bits_[0] &= ~0x00000008u;
1377
0
}
1378
0
inline void BlockRecordPB::clear_length() {
1379
0
  length_ = GOOGLE_LONGLONG(0);
1380
0
  clear_has_length();
1381
0
}
1382
0
inline ::google::protobuf::int64 BlockRecordPB::length() const {
1383
  // @@protoc_insertion_point(field_get:yb.BlockRecordPB.length)
1384
0
  return length_;
1385
0
}
1386
0
inline void BlockRecordPB::set_length(::google::protobuf::int64 value) {
1387
0
  set_has_length();
1388
0
  length_ = value;
1389
0
  // @@protoc_insertion_point(field_set:yb.BlockRecordPB.length)
1390
0
}
1391
1392
#ifdef __GNUC__
1393
  #pragma GCC diagnostic pop
1394
#endif  // __GNUC__
1395
// -------------------------------------------------------------------
1396
1397
// -------------------------------------------------------------------
1398
1399
// -------------------------------------------------------------------
1400
1401
// -------------------------------------------------------------------
1402
1403
1404
// @@protoc_insertion_point(namespace_scope)
1405
1406
}  // namespace yb
1407
1408
namespace google {
1409
namespace protobuf {
1410
1411
template <> struct is_proto_enum< ::yb::BlockRecordType> : ::google::protobuf::internal::true_type {};
1412
template <>
1413
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::BlockRecordType>() {
1414
0
  return ::yb::BlockRecordType_descriptor();
1415
0
}
1416
1417
}  // namespace protobuf
1418
}  // namespace google
1419
1420
// @@protoc_insertion_point(global_scope)
1421
1422
#endif  // PROTOBUF_yb_2ffs_2ffs_2eproto__INCLUDED