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/tablet/metadata.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/tablet/metadata.proto
3
4
#ifndef PROTOBUF_yb_2ftablet_2fmetadata_2eproto__INCLUDED
5
#define PROTOBUF_yb_2ftablet_2fmetadata_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/common/common.pb.h"
33
#include "yb/common/common_types.pb.h"
34
#include "yb/tablet/tablet_types.pb.h"
35
#include "yb/util/opid.pb.h"
36
// @@protoc_insertion_point(includes)
37
38
namespace protobuf_yb_2ftablet_2fmetadata_2eproto {
39
// Internal implementation detail -- do not use these members.
40
struct TableStruct {
41
  static const ::google::protobuf::internal::ParseTableField entries[];
42
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43
  static const ::google::protobuf::internal::ParseTable schema[5];
44
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46
  static const ::google::protobuf::uint32 offsets[];
47
};
48
void AddDescriptors();
49
void InitDefaultsTableInfoPBImpl();
50
void InitDefaultsTableInfoPB();
51
void InitDefaultsKvStoreInfoPBImpl();
52
void InitDefaultsKvStoreInfoPB();
53
void InitDefaultsRaftGroupReplicaSuperBlockPBImpl();
54
void InitDefaultsRaftGroupReplicaSuperBlockPB();
55
void InitDefaultsFilePBImpl();
56
void InitDefaultsFilePB();
57
void InitDefaultsSnapshotFilePBImpl();
58
void InitDefaultsSnapshotFilePB();
59
15.8k
inline void InitDefaults() {
60
15.8k
  InitDefaultsTableInfoPB();
61
15.8k
  InitDefaultsKvStoreInfoPB();
62
15.8k
  InitDefaultsRaftGroupReplicaSuperBlockPB();
63
15.8k
  InitDefaultsFilePB();
64
15.8k
  InitDefaultsSnapshotFilePB();
65
15.8k
}
66
}  // namespace protobuf_yb_2ftablet_2fmetadata_2eproto
67
namespace yb {
68
namespace tablet {
69
class FilePB;
70
class FilePBDefaultTypeInternal;
71
extern FilePBDefaultTypeInternal _FilePB_default_instance_;
72
class KvStoreInfoPB;
73
class KvStoreInfoPBDefaultTypeInternal;
74
extern KvStoreInfoPBDefaultTypeInternal _KvStoreInfoPB_default_instance_;
75
class RaftGroupReplicaSuperBlockPB;
76
class RaftGroupReplicaSuperBlockPBDefaultTypeInternal;
77
extern RaftGroupReplicaSuperBlockPBDefaultTypeInternal _RaftGroupReplicaSuperBlockPB_default_instance_;
78
class SnapshotFilePB;
79
class SnapshotFilePBDefaultTypeInternal;
80
extern SnapshotFilePBDefaultTypeInternal _SnapshotFilePB_default_instance_;
81
class TableInfoPB;
82
class TableInfoPBDefaultTypeInternal;
83
extern TableInfoPBDefaultTypeInternal _TableInfoPB_default_instance_;
84
}  // namespace tablet
85
}  // namespace yb
86
namespace yb {
87
namespace tablet {
88
89
// ===================================================================
90
91
class TableInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.TableInfoPB) */ {
92
 public:
93
  TableInfoPB();
94
  virtual ~TableInfoPB();
95
96
  TableInfoPB(const TableInfoPB& from);
97
98
27
  inline TableInfoPB& operator=(const TableInfoPB& from) {
99
27
    CopyFrom(from);
100
27
    return *this;
101
27
  }
102
  #if LANG_CXX11
103
  TableInfoPB(TableInfoPB&& from) noexcept
104
0
    : TableInfoPB() {
105
0
    *this = ::std::move(from);
106
0
  }
107
108
0
  inline TableInfoPB& operator=(TableInfoPB&& from) noexcept {
109
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
110
0
      if (this != &from) InternalSwap(&from);
111
0
    } else {
112
0
      CopyFrom(from);
113
0
    }
114
0
    return *this;
115
0
  }
116
  #endif
117
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
118
0
    return _internal_metadata_.unknown_fields();
119
0
  }
120
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
121
0
    return _internal_metadata_.mutable_unknown_fields();
122
0
  }
123
124
  static const ::google::protobuf::Descriptor* descriptor();
125
  static const TableInfoPB& default_instance();
126
127
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
128
564M
  static inline const TableInfoPB* internal_default_instance() {
129
564M
    return reinterpret_cast<const TableInfoPB*>(
130
564M
               &_TableInfoPB_default_instance_);
131
564M
  }
132
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
133
    0;
134
135
  void Swap(TableInfoPB* other);
136
0
  friend void swap(TableInfoPB& a, TableInfoPB& b) {
137
0
    a.Swap(&b);
138
0
  }
139
140
  // implements Message ----------------------------------------------
141
142
0
  inline TableInfoPB* New() const PROTOBUF_FINAL { return New(NULL); }
143
144
  TableInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
145
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
146
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
147
  void CopyFrom(const TableInfoPB& from);
148
  void MergeFrom(const TableInfoPB& from);
149
  void Clear() PROTOBUF_FINAL;
150
  bool IsInitialized() const PROTOBUF_FINAL;
151
152
  size_t ByteSizeLong() const PROTOBUF_FINAL;
153
  bool MergePartialFromCodedStream(
154
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
155
  void SerializeWithCachedSizes(
156
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
157
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
158
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
159
141M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
160
  private:
161
  void SharedCtor();
162
  void SharedDtor();
163
  void SetCachedSize(int size) const PROTOBUF_FINAL;
164
  void InternalSwap(TableInfoPB* other);
165
  private:
166
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
167
0
    return NULL;
168
0
  }
169
0
  inline void* MaybeArenaPtr() const {
170
0
    return NULL;
171
0
  }
172
  public:
173
174
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
175
176
  // nested types ----------------------------------------------------
177
178
  // accessors -------------------------------------------------------
179
180
  // repeated .yb.IndexInfoPB indexes = 7;
181
  int indexes_size() const;
182
  void clear_indexes();
183
  static const int kIndexesFieldNumber = 7;
184
  const ::yb::IndexInfoPB& indexes(int index) const;
185
  ::yb::IndexInfoPB* mutable_indexes(int index);
186
  ::yb::IndexInfoPB* add_indexes();
187
  ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >*
188
      mutable_indexes();
189
  const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >&
190
      indexes() const;
191
192
  // repeated .yb.DeletedColumnPB deleted_cols = 9;
193
  int deleted_cols_size() const;
194
  void clear_deleted_cols();
195
  static const int kDeletedColsFieldNumber = 9;
196
  const ::yb::DeletedColumnPB& deleted_cols(int index) const;
197
  ::yb::DeletedColumnPB* mutable_deleted_cols(int index);
198
  ::yb::DeletedColumnPB* add_deleted_cols();
199
  ::google::protobuf::RepeatedPtrField< ::yb::DeletedColumnPB >*
200
      mutable_deleted_cols();
201
  const ::google::protobuf::RepeatedPtrField< ::yb::DeletedColumnPB >&
202
      deleted_cols() const;
203
204
  // optional bytes table_id = 1;
205
  bool has_table_id() const;
206
  void clear_table_id();
207
  static const int kTableIdFieldNumber = 1;
208
  const ::std::string& table_id() const;
209
  void set_table_id(const ::std::string& value);
210
  #if LANG_CXX11
211
  void set_table_id(::std::string&& value);
212
  #endif
213
  void set_table_id(const char* value);
214
  void set_table_id(const void* value, size_t size);
215
  ::std::string* mutable_table_id();
216
  ::std::string* release_table_id();
217
  void set_allocated_table_id(::std::string* table_id);
218
219
  // optional string table_name = 2;
220
  bool has_table_name() const;
221
  void clear_table_name();
222
  static const int kTableNameFieldNumber = 2;
223
  const ::std::string& table_name() const;
224
  void set_table_name(const ::std::string& value);
225
  #if LANG_CXX11
226
  void set_table_name(::std::string&& value);
227
  #endif
228
  void set_table_name(const char* value);
229
  void set_table_name(const char* value, size_t size);
230
  ::std::string* mutable_table_name();
231
  ::std::string* release_table_name();
232
  void set_allocated_table_name(::std::string* table_name);
233
234
  // optional string namespace_name = 10;
235
  bool has_namespace_name() const;
236
  void clear_namespace_name();
237
  static const int kNamespaceNameFieldNumber = 10;
238
  const ::std::string& namespace_name() const;
239
  void set_namespace_name(const ::std::string& value);
240
  #if LANG_CXX11
241
  void set_namespace_name(::std::string&& value);
242
  #endif
243
  void set_namespace_name(const char* value);
244
  void set_namespace_name(const char* value, size_t size);
245
  ::std::string* mutable_namespace_name();
246
  ::std::string* release_namespace_name();
247
  void set_allocated_namespace_name(::std::string* namespace_name);
248
249
  // optional .yb.SchemaPB schema = 4;
250
  bool has_schema() const;
251
  void clear_schema();
252
  static const int kSchemaFieldNumber = 4;
253
  const ::yb::SchemaPB& schema() const;
254
  ::yb::SchemaPB* release_schema();
255
  ::yb::SchemaPB* mutable_schema();
256
  void set_allocated_schema(::yb::SchemaPB* schema);
257
258
  // optional .yb.PartitionSchemaPB partition_schema = 6;
259
  bool has_partition_schema() const;
260
  void clear_partition_schema();
261
  static const int kPartitionSchemaFieldNumber = 6;
262
  const ::yb::PartitionSchemaPB& partition_schema() const;
263
  ::yb::PartitionSchemaPB* release_partition_schema();
264
  ::yb::PartitionSchemaPB* mutable_partition_schema();
265
  void set_allocated_partition_schema(::yb::PartitionSchemaPB* partition_schema);
266
267
  // optional .yb.IndexInfoPB index_info = 8;
268
  bool has_index_info() const;
269
  void clear_index_info();
270
  static const int kIndexInfoFieldNumber = 8;
271
  const ::yb::IndexInfoPB& index_info() const;
272
  ::yb::IndexInfoPB* release_index_info();
273
  ::yb::IndexInfoPB* mutable_index_info();
274
  void set_allocated_index_info(::yb::IndexInfoPB* index_info);
275
276
  // optional uint32 schema_version = 5;
277
  bool has_schema_version() const;
278
  void clear_schema_version();
279
  static const int kSchemaVersionFieldNumber = 5;
280
  ::google::protobuf::uint32 schema_version() const;
281
  void set_schema_version(::google::protobuf::uint32 value);
282
283
  // optional .yb.TableType table_type = 3 [default = DEFAULT_TABLE_TYPE];
284
  bool has_table_type() const;
285
  void clear_table_type();
286
  static const int kTableTypeFieldNumber = 3;
287
  ::yb::TableType table_type() const;
288
  void set_table_type(::yb::TableType value);
289
290
  // @@protoc_insertion_point(class_scope:yb.tablet.TableInfoPB)
291
 private:
292
  void set_has_table_id();
293
  void clear_has_table_id();
294
  void set_has_namespace_name();
295
  void clear_has_namespace_name();
296
  void set_has_table_name();
297
  void clear_has_table_name();
298
  void set_has_table_type();
299
  void clear_has_table_type();
300
  void set_has_schema();
301
  void clear_has_schema();
302
  void set_has_schema_version();
303
  void clear_has_schema_version();
304
  void set_has_partition_schema();
305
  void clear_has_partition_schema();
306
  void set_has_index_info();
307
  void clear_has_index_info();
308
309
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
310
  ::google::protobuf::internal::HasBits<1> _has_bits_;
311
  mutable int _cached_size_;
312
  ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB > indexes_;
313
  ::google::protobuf::RepeatedPtrField< ::yb::DeletedColumnPB > deleted_cols_;
314
  ::google::protobuf::internal::ArenaStringPtr table_id_;
315
  ::google::protobuf::internal::ArenaStringPtr table_name_;
316
  ::google::protobuf::internal::ArenaStringPtr namespace_name_;
317
  ::yb::SchemaPB* schema_;
318
  ::yb::PartitionSchemaPB* partition_schema_;
319
  ::yb::IndexInfoPB* index_info_;
320
  ::google::protobuf::uint32 schema_version_;
321
  int table_type_;
322
  friend struct ::protobuf_yb_2ftablet_2fmetadata_2eproto::TableStruct;
323
  friend void ::protobuf_yb_2ftablet_2fmetadata_2eproto::InitDefaultsTableInfoPBImpl();
324
};
325
// -------------------------------------------------------------------
326
327
class KvStoreInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.KvStoreInfoPB) */ {
328
 public:
329
  KvStoreInfoPB();
330
  virtual ~KvStoreInfoPB();
331
332
  KvStoreInfoPB(const KvStoreInfoPB& from);
333
334
0
  inline KvStoreInfoPB& operator=(const KvStoreInfoPB& from) {
335
0
    CopyFrom(from);
336
0
    return *this;
337
0
  }
338
  #if LANG_CXX11
339
  KvStoreInfoPB(KvStoreInfoPB&& from) noexcept
340
0
    : KvStoreInfoPB() {
341
0
    *this = ::std::move(from);
342
0
  }
343
344
0
  inline KvStoreInfoPB& operator=(KvStoreInfoPB&& from) noexcept {
345
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
346
0
      if (this != &from) InternalSwap(&from);
347
0
    } else {
348
0
      CopyFrom(from);
349
0
    }
350
0
    return *this;
351
0
  }
352
  #endif
353
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
354
0
    return _internal_metadata_.unknown_fields();
355
0
  }
356
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
357
0
    return _internal_metadata_.mutable_unknown_fields();
358
0
  }
359
360
  static const ::google::protobuf::Descriptor* descriptor();
361
  static const KvStoreInfoPB& default_instance();
362
363
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
364
857k
  static inline const KvStoreInfoPB* internal_default_instance() {
365
857k
    return reinterpret_cast<const KvStoreInfoPB*>(
366
857k
               &_KvStoreInfoPB_default_instance_);
367
857k
  }
368
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
369
    1;
370
371
  void Swap(KvStoreInfoPB* other);
372
0
  friend void swap(KvStoreInfoPB& a, KvStoreInfoPB& b) {
373
0
    a.Swap(&b);
374
0
  }
375
376
  // implements Message ----------------------------------------------
377
378
0
  inline KvStoreInfoPB* New() const PROTOBUF_FINAL { return New(NULL); }
379
380
  KvStoreInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
381
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
382
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
383
  void CopyFrom(const KvStoreInfoPB& from);
384
  void MergeFrom(const KvStoreInfoPB& from);
385
  void Clear() PROTOBUF_FINAL;
386
  bool IsInitialized() const PROTOBUF_FINAL;
387
388
  size_t ByteSizeLong() const PROTOBUF_FINAL;
389
  bool MergePartialFromCodedStream(
390
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
391
  void SerializeWithCachedSizes(
392
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
393
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
394
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
395
822k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
396
  private:
397
  void SharedCtor();
398
  void SharedDtor();
399
  void SetCachedSize(int size) const PROTOBUF_FINAL;
400
  void InternalSwap(KvStoreInfoPB* other);
401
  private:
402
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
403
0
    return NULL;
404
0
  }
405
0
  inline void* MaybeArenaPtr() const {
406
0
    return NULL;
407
0
  }
408
  public:
409
410
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
411
412
  // nested types ----------------------------------------------------
413
414
  // accessors -------------------------------------------------------
415
416
  // repeated .yb.tablet.FilePB rocksdb_files = 3;
417
  int rocksdb_files_size() const;
418
  void clear_rocksdb_files();
419
  static const int kRocksdbFilesFieldNumber = 3;
420
  const ::yb::tablet::FilePB& rocksdb_files(int index) const;
421
  ::yb::tablet::FilePB* mutable_rocksdb_files(int index);
422
  ::yb::tablet::FilePB* add_rocksdb_files();
423
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::FilePB >*
424
      mutable_rocksdb_files();
425
  const ::google::protobuf::RepeatedPtrField< ::yb::tablet::FilePB >&
426
      rocksdb_files() const;
427
428
  // repeated .yb.tablet.SnapshotFilePB snapshot_files = 4;
429
  int snapshot_files_size() const;
430
  void clear_snapshot_files();
431
  static const int kSnapshotFilesFieldNumber = 4;
432
  const ::yb::tablet::SnapshotFilePB& snapshot_files(int index) const;
433
  ::yb::tablet::SnapshotFilePB* mutable_snapshot_files(int index);
434
  ::yb::tablet::SnapshotFilePB* add_snapshot_files();
435
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::SnapshotFilePB >*
436
      mutable_snapshot_files();
437
  const ::google::protobuf::RepeatedPtrField< ::yb::tablet::SnapshotFilePB >&
438
      snapshot_files() const;
439
440
  // repeated .yb.tablet.TableInfoPB tables = 5;
441
  int tables_size() const;
442
  void clear_tables();
443
  static const int kTablesFieldNumber = 5;
444
  const ::yb::tablet::TableInfoPB& tables(int index) const;
445
  ::yb::tablet::TableInfoPB* mutable_tables(int index);
446
  ::yb::tablet::TableInfoPB* add_tables();
447
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::TableInfoPB >*
448
      mutable_tables();
449
  const ::google::protobuf::RepeatedPtrField< ::yb::tablet::TableInfoPB >&
450
      tables() const;
451
452
  // repeated bytes snapshot_schedules = 9;
453
  int snapshot_schedules_size() const;
454
  void clear_snapshot_schedules();
455
  static const int kSnapshotSchedulesFieldNumber = 9;
456
  const ::std::string& snapshot_schedules(int index) const;
457
  ::std::string* mutable_snapshot_schedules(int index);
458
  void set_snapshot_schedules(int index, const ::std::string& value);
459
  #if LANG_CXX11
460
  void set_snapshot_schedules(int index, ::std::string&& value);
461
  #endif
462
  void set_snapshot_schedules(int index, const char* value);
463
  void set_snapshot_schedules(int index, const void* value, size_t size);
464
  ::std::string* add_snapshot_schedules();
465
  void add_snapshot_schedules(const ::std::string& value);
466
  #if LANG_CXX11
467
  void add_snapshot_schedules(::std::string&& value);
468
  #endif
469
  void add_snapshot_schedules(const char* value);
470
  void add_snapshot_schedules(const void* value, size_t size);
471
  const ::google::protobuf::RepeatedPtrField< ::std::string>& snapshot_schedules() const;
472
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_snapshot_schedules();
473
474
  // required bytes kv_store_id = 1;
475
  bool has_kv_store_id() const;
476
  void clear_kv_store_id();
477
  static const int kKvStoreIdFieldNumber = 1;
478
  const ::std::string& kv_store_id() const;
479
  void set_kv_store_id(const ::std::string& value);
480
  #if LANG_CXX11
481
  void set_kv_store_id(::std::string&& value);
482
  #endif
483
  void set_kv_store_id(const char* value);
484
  void set_kv_store_id(const void* value, size_t size);
485
  ::std::string* mutable_kv_store_id();
486
  ::std::string* release_kv_store_id();
487
  void set_allocated_kv_store_id(::std::string* kv_store_id);
488
489
  // optional string rocksdb_dir = 2;
490
  bool has_rocksdb_dir() const;
491
  void clear_rocksdb_dir();
492
  static const int kRocksdbDirFieldNumber = 2;
493
  const ::std::string& rocksdb_dir() const;
494
  void set_rocksdb_dir(const ::std::string& value);
495
  #if LANG_CXX11
496
  void set_rocksdb_dir(::std::string&& value);
497
  #endif
498
  void set_rocksdb_dir(const char* value);
499
  void set_rocksdb_dir(const char* value, size_t size);
500
  ::std::string* mutable_rocksdb_dir();
501
  ::std::string* release_rocksdb_dir();
502
  void set_allocated_rocksdb_dir(::std::string* rocksdb_dir);
503
504
  // optional bytes lower_bound_key = 6;
505
  bool has_lower_bound_key() const;
506
  void clear_lower_bound_key();
507
  static const int kLowerBoundKeyFieldNumber = 6;
508
  const ::std::string& lower_bound_key() const;
509
  void set_lower_bound_key(const ::std::string& value);
510
  #if LANG_CXX11
511
  void set_lower_bound_key(::std::string&& value);
512
  #endif
513
  void set_lower_bound_key(const char* value);
514
  void set_lower_bound_key(const void* value, size_t size);
515
  ::std::string* mutable_lower_bound_key();
516
  ::std::string* release_lower_bound_key();
517
  void set_allocated_lower_bound_key(::std::string* lower_bound_key);
518
519
  // optional bytes upper_bound_key = 7;
520
  bool has_upper_bound_key() const;
521
  void clear_upper_bound_key();
522
  static const int kUpperBoundKeyFieldNumber = 7;
523
  const ::std::string& upper_bound_key() const;
524
  void set_upper_bound_key(const ::std::string& value);
525
  #if LANG_CXX11
526
  void set_upper_bound_key(::std::string&& value);
527
  #endif
528
  void set_upper_bound_key(const char* value);
529
  void set_upper_bound_key(const void* value, size_t size);
530
  ::std::string* mutable_upper_bound_key();
531
  ::std::string* release_upper_bound_key();
532
  void set_allocated_upper_bound_key(::std::string* upper_bound_key);
533
534
  // optional bool has_been_fully_compacted = 8;
535
  bool has_has_been_fully_compacted() const;
536
  void clear_has_been_fully_compacted();
537
  static const int kHasBeenFullyCompactedFieldNumber = 8;
538
  bool has_been_fully_compacted() const;
539
  void set_has_been_fully_compacted(bool value);
540
541
  // @@protoc_insertion_point(class_scope:yb.tablet.KvStoreInfoPB)
542
 private:
543
  void set_has_kv_store_id();
544
  void clear_has_kv_store_id();
545
  void set_has_rocksdb_dir();
546
  void clear_has_rocksdb_dir();
547
  void set_has_lower_bound_key();
548
  void clear_has_lower_bound_key();
549
  void set_has_upper_bound_key();
550
  void clear_has_upper_bound_key();
551
  void set_has_has_been_fully_compacted();
552
  void clear_has_has_been_fully_compacted();
553
554
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
555
  ::google::protobuf::internal::HasBits<1> _has_bits_;
556
  mutable int _cached_size_;
557
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::FilePB > rocksdb_files_;
558
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::SnapshotFilePB > snapshot_files_;
559
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::TableInfoPB > tables_;
560
  ::google::protobuf::RepeatedPtrField< ::std::string> snapshot_schedules_;
561
  ::google::protobuf::internal::ArenaStringPtr kv_store_id_;
562
  ::google::protobuf::internal::ArenaStringPtr rocksdb_dir_;
563
  ::google::protobuf::internal::ArenaStringPtr lower_bound_key_;
564
  ::google::protobuf::internal::ArenaStringPtr upper_bound_key_;
565
  bool has_been_fully_compacted_;
566
  friend struct ::protobuf_yb_2ftablet_2fmetadata_2eproto::TableStruct;
567
  friend void ::protobuf_yb_2ftablet_2fmetadata_2eproto::InitDefaultsKvStoreInfoPBImpl();
568
};
569
// -------------------------------------------------------------------
570
571
class RaftGroupReplicaSuperBlockPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.RaftGroupReplicaSuperBlockPB) */ {
572
 public:
573
  RaftGroupReplicaSuperBlockPB();
574
  virtual ~RaftGroupReplicaSuperBlockPB();
575
576
  RaftGroupReplicaSuperBlockPB(const RaftGroupReplicaSuperBlockPB& from);
577
578
1.00k
  inline RaftGroupReplicaSuperBlockPB& operator=(const RaftGroupReplicaSuperBlockPB& from) {
579
1.00k
    CopyFrom(from);
580
1.00k
    return *this;
581
1.00k
  }
582
  #if LANG_CXX11
583
  RaftGroupReplicaSuperBlockPB(RaftGroupReplicaSuperBlockPB&& from) noexcept
584
0
    : RaftGroupReplicaSuperBlockPB() {
585
0
    *this = ::std::move(from);
586
0
  }
587
588
0
  inline RaftGroupReplicaSuperBlockPB& operator=(RaftGroupReplicaSuperBlockPB&& from) noexcept {
589
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
590
0
      if (this != &from) InternalSwap(&from);
591
0
    } else {
592
0
      CopyFrom(from);
593
0
    }
594
0
    return *this;
595
0
  }
596
  #endif
597
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
598
0
    return _internal_metadata_.unknown_fields();
599
0
  }
600
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
601
0
    return _internal_metadata_.mutable_unknown_fields();
602
0
  }
603
604
  static const ::google::protobuf::Descriptor* descriptor();
605
  static const RaftGroupReplicaSuperBlockPB& default_instance();
606
607
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
608
13.2M
  static inline const RaftGroupReplicaSuperBlockPB* internal_default_instance() {
609
13.2M
    return reinterpret_cast<const RaftGroupReplicaSuperBlockPB*>(
610
13.2M
               &_RaftGroupReplicaSuperBlockPB_default_instance_);
611
13.2M
  }
612
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
613
    2;
614
615
  void Swap(RaftGroupReplicaSuperBlockPB* other);
616
0
  friend void swap(RaftGroupReplicaSuperBlockPB& a, RaftGroupReplicaSuperBlockPB& b) {
617
0
    a.Swap(&b);
618
0
  }
619
620
  // implements Message ----------------------------------------------
621
622
0
  inline RaftGroupReplicaSuperBlockPB* New() const PROTOBUF_FINAL { return New(NULL); }
623
624
  RaftGroupReplicaSuperBlockPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
625
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
626
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
627
  void CopyFrom(const RaftGroupReplicaSuperBlockPB& from);
628
  void MergeFrom(const RaftGroupReplicaSuperBlockPB& from);
629
  void Clear() PROTOBUF_FINAL;
630
  bool IsInitialized() const PROTOBUF_FINAL;
631
632
  size_t ByteSizeLong() const PROTOBUF_FINAL;
633
  bool MergePartialFromCodedStream(
634
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
635
  void SerializeWithCachedSizes(
636
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
637
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
638
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
639
1.44k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
640
  private:
641
  void SharedCtor();
642
  void SharedDtor();
643
  void SetCachedSize(int size) const PROTOBUF_FINAL;
644
  void InternalSwap(RaftGroupReplicaSuperBlockPB* other);
645
  private:
646
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
647
0
    return NULL;
648
0
  }
649
0
  inline void* MaybeArenaPtr() const {
650
0
    return NULL;
651
0
  }
652
  public:
653
654
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
655
656
  // nested types ----------------------------------------------------
657
658
  // accessors -------------------------------------------------------
659
660
  // repeated .yb.tablet.FilePB OBSOLETE_rocksdb_files = 17;
661
  int obsolete_rocksdb_files_size() const;
662
  void clear_obsolete_rocksdb_files();
663
  static const int kOBSOLETERocksdbFilesFieldNumber = 17;
664
  const ::yb::tablet::FilePB& obsolete_rocksdb_files(int index) const;
665
  ::yb::tablet::FilePB* mutable_obsolete_rocksdb_files(int index);
666
  ::yb::tablet::FilePB* add_obsolete_rocksdb_files();
667
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::FilePB >*
668
      mutable_obsolete_rocksdb_files();
669
  const ::google::protobuf::RepeatedPtrField< ::yb::tablet::FilePB >&
670
      obsolete_rocksdb_files() const;
671
672
  // repeated .yb.DeletedColumnPB OBSOLETE_deleted_cols = 19;
673
  int obsolete_deleted_cols_size() const;
674
  void clear_obsolete_deleted_cols();
675
  static const int kOBSOLETEDeletedColsFieldNumber = 19;
676
  const ::yb::DeletedColumnPB& obsolete_deleted_cols(int index) const;
677
  ::yb::DeletedColumnPB* mutable_obsolete_deleted_cols(int index);
678
  ::yb::DeletedColumnPB* add_obsolete_deleted_cols();
679
  ::google::protobuf::RepeatedPtrField< ::yb::DeletedColumnPB >*
680
      mutable_obsolete_deleted_cols();
681
  const ::google::protobuf::RepeatedPtrField< ::yb::DeletedColumnPB >&
682
      obsolete_deleted_cols() const;
683
684
  // repeated .yb.tablet.SnapshotFilePB OBSOLETE_snapshot_files = 20;
685
  int obsolete_snapshot_files_size() const;
686
  void clear_obsolete_snapshot_files();
687
  static const int kOBSOLETESnapshotFilesFieldNumber = 20;
688
  const ::yb::tablet::SnapshotFilePB& obsolete_snapshot_files(int index) const;
689
  ::yb::tablet::SnapshotFilePB* mutable_obsolete_snapshot_files(int index);
690
  ::yb::tablet::SnapshotFilePB* add_obsolete_snapshot_files();
691
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::SnapshotFilePB >*
692
      mutable_obsolete_snapshot_files();
693
  const ::google::protobuf::RepeatedPtrField< ::yb::tablet::SnapshotFilePB >&
694
      obsolete_snapshot_files() const;
695
696
  // repeated .yb.IndexInfoPB OBSOLETE_indexes = 21;
697
  int obsolete_indexes_size() const;
698
  void clear_obsolete_indexes();
699
  static const int kOBSOLETEIndexesFieldNumber = 21;
700
  const ::yb::IndexInfoPB& obsolete_indexes(int index) const;
701
  ::yb::IndexInfoPB* mutable_obsolete_indexes(int index);
702
  ::yb::IndexInfoPB* add_obsolete_indexes();
703
  ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >*
704
      mutable_obsolete_indexes();
705
  const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >&
706
      obsolete_indexes() const;
707
708
  // repeated .yb.tablet.TableInfoPB OBSOLETE_tables = 23;
709
  int obsolete_tables_size() const;
710
  void clear_obsolete_tables();
711
  static const int kOBSOLETETablesFieldNumber = 23;
712
  const ::yb::tablet::TableInfoPB& obsolete_tables(int index) const;
713
  ::yb::tablet::TableInfoPB* mutable_obsolete_tables(int index);
714
  ::yb::tablet::TableInfoPB* add_obsolete_tables();
715
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::TableInfoPB >*
716
      mutable_obsolete_tables();
717
  const ::google::protobuf::RepeatedPtrField< ::yb::tablet::TableInfoPB >&
718
      obsolete_tables() const;
719
720
  // repeated bytes split_child_tablet_ids = 30;
721
  int split_child_tablet_ids_size() const;
722
  void clear_split_child_tablet_ids();
723
  static const int kSplitChildTabletIdsFieldNumber = 30;
724
  const ::std::string& split_child_tablet_ids(int index) const;
725
  ::std::string* mutable_split_child_tablet_ids(int index);
726
  void set_split_child_tablet_ids(int index, const ::std::string& value);
727
  #if LANG_CXX11
728
  void set_split_child_tablet_ids(int index, ::std::string&& value);
729
  #endif
730
  void set_split_child_tablet_ids(int index, const char* value);
731
  void set_split_child_tablet_ids(int index, const void* value, size_t size);
732
  ::std::string* add_split_child_tablet_ids();
733
  void add_split_child_tablet_ids(const ::std::string& value);
734
  #if LANG_CXX11
735
  void add_split_child_tablet_ids(::std::string&& value);
736
  #endif
737
  void add_split_child_tablet_ids(const char* value);
738
  void add_split_child_tablet_ids(const void* value, size_t size);
739
  const ::google::protobuf::RepeatedPtrField< ::std::string>& split_child_tablet_ids() const;
740
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_split_child_tablet_ids();
741
742
  // repeated bytes active_restorations = 31;
743
  int active_restorations_size() const;
744
  void clear_active_restorations();
745
  static const int kActiveRestorationsFieldNumber = 31;
746
  const ::std::string& active_restorations(int index) const;
747
  ::std::string* mutable_active_restorations(int index);
748
  void set_active_restorations(int index, const ::std::string& value);
749
  #if LANG_CXX11
750
  void set_active_restorations(int index, ::std::string&& value);
751
  #endif
752
  void set_active_restorations(int index, const char* value);
753
  void set_active_restorations(int index, const void* value, size_t size);
754
  ::std::string* add_active_restorations();
755
  void add_active_restorations(const ::std::string& value);
756
  #if LANG_CXX11
757
  void add_active_restorations(::std::string&& value);
758
  #endif
759
  void add_active_restorations(const char* value);
760
  void add_active_restorations(const void* value, size_t size);
761
  const ::google::protobuf::RepeatedPtrField< ::std::string>& active_restorations() const;
762
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_active_restorations();
763
764
  // required bytes primary_table_id = 1;
765
  bool has_primary_table_id() const;
766
  void clear_primary_table_id();
767
  static const int kPrimaryTableIdFieldNumber = 1;
768
  const ::std::string& primary_table_id() const;
769
  void set_primary_table_id(const ::std::string& value);
770
  #if LANG_CXX11
771
  void set_primary_table_id(::std::string&& value);
772
  #endif
773
  void set_primary_table_id(const char* value);
774
  void set_primary_table_id(const void* value, size_t size);
775
  ::std::string* mutable_primary_table_id();
776
  ::std::string* release_primary_table_id();
777
  void set_allocated_primary_table_id(::std::string* primary_table_id);
778
779
  // required bytes raft_group_id = 2;
780
  bool has_raft_group_id() const;
781
  void clear_raft_group_id();
782
  static const int kRaftGroupIdFieldNumber = 2;
783
  const ::std::string& raft_group_id() const;
784
  void set_raft_group_id(const ::std::string& value);
785
  #if LANG_CXX11
786
  void set_raft_group_id(::std::string&& value);
787
  #endif
788
  void set_raft_group_id(const char* value);
789
  void set_raft_group_id(const void* value, size_t size);
790
  ::std::string* mutable_raft_group_id();
791
  ::std::string* release_raft_group_id();
792
  void set_allocated_raft_group_id(::std::string* raft_group_id);
793
794
  // optional string OBSOLETE_table_name = 7;
795
  bool has_obsolete_table_name() const;
796
  void clear_obsolete_table_name();
797
  static const int kOBSOLETETableNameFieldNumber = 7;
798
  const ::std::string& obsolete_table_name() const;
799
  void set_obsolete_table_name(const ::std::string& value);
800
  #if LANG_CXX11
801
  void set_obsolete_table_name(::std::string&& value);
802
  #endif
803
  void set_obsolete_table_name(const char* value);
804
  void set_obsolete_table_name(const char* value, size_t size);
805
  ::std::string* mutable_obsolete_table_name();
806
  ::std::string* release_obsolete_table_name();
807
  void set_allocated_obsolete_table_name(::std::string* obsolete_table_name);
808
809
  // optional string OBSOLETE_rocksdb_dir = 16;
810
  bool has_obsolete_rocksdb_dir() const;
811
  void clear_obsolete_rocksdb_dir();
812
  static const int kOBSOLETERocksdbDirFieldNumber = 16;
813
  const ::std::string& obsolete_rocksdb_dir() const;
814
  void set_obsolete_rocksdb_dir(const ::std::string& value);
815
  #if LANG_CXX11
816
  void set_obsolete_rocksdb_dir(::std::string&& value);
817
  #endif
818
  void set_obsolete_rocksdb_dir(const char* value);
819
  void set_obsolete_rocksdb_dir(const char* value, size_t size);
820
  ::std::string* mutable_obsolete_rocksdb_dir();
821
  ::std::string* release_obsolete_rocksdb_dir();
822
  void set_allocated_obsolete_rocksdb_dir(::std::string* obsolete_rocksdb_dir);
823
824
  // optional string wal_dir = 18;
825
  bool has_wal_dir() const;
826
  void clear_wal_dir();
827
  static const int kWalDirFieldNumber = 18;
828
  const ::std::string& wal_dir() const;
829
  void set_wal_dir(const ::std::string& value);
830
  #if LANG_CXX11
831
  void set_wal_dir(::std::string&& value);
832
  #endif
833
  void set_wal_dir(const char* value);
834
  void set_wal_dir(const char* value, size_t size);
835
  ::std::string* mutable_wal_dir();
836
  ::std::string* release_wal_dir();
837
  void set_allocated_wal_dir(::std::string* wal_dir);
838
839
  // optional .yb.SchemaPB OBSOLETE_schema = 8;
840
  bool has_obsolete_schema() const;
841
  void clear_obsolete_schema();
842
  static const int kOBSOLETESchemaFieldNumber = 8;
843
  const ::yb::SchemaPB& obsolete_schema() const;
844
  ::yb::SchemaPB* release_obsolete_schema();
845
  ::yb::SchemaPB* mutable_obsolete_schema();
846
  void set_allocated_obsolete_schema(::yb::SchemaPB* obsolete_schema);
847
848
  // optional .yb.OpIdPB tombstone_last_logged_opid = 12;
849
  bool has_tombstone_last_logged_opid() const;
850
  void clear_tombstone_last_logged_opid();
851
  static const int kTombstoneLastLoggedOpidFieldNumber = 12;
852
  const ::yb::OpIdPB& tombstone_last_logged_opid() const;
853
  ::yb::OpIdPB* release_tombstone_last_logged_opid();
854
  ::yb::OpIdPB* mutable_tombstone_last_logged_opid();
855
  void set_allocated_tombstone_last_logged_opid(::yb::OpIdPB* tombstone_last_logged_opid);
856
857
  // optional .yb.PartitionPB partition = 13;
858
  bool has_partition() const;
859
  void clear_partition();
860
  static const int kPartitionFieldNumber = 13;
861
  const ::yb::PartitionPB& partition() const;
862
  ::yb::PartitionPB* release_partition();
863
  ::yb::PartitionPB* mutable_partition();
864
  void set_allocated_partition(::yb::PartitionPB* partition);
865
866
  // optional .yb.PartitionSchemaPB OBSOLETE_partition_schema = 14;
867
  bool has_obsolete_partition_schema() const;
868
  void clear_obsolete_partition_schema();
869
  static const int kOBSOLETEPartitionSchemaFieldNumber = 14;
870
  const ::yb::PartitionSchemaPB& obsolete_partition_schema() const;
871
  ::yb::PartitionSchemaPB* release_obsolete_partition_schema();
872
  ::yb::PartitionSchemaPB* mutable_obsolete_partition_schema();
873
  void set_allocated_obsolete_partition_schema(::yb::PartitionSchemaPB* obsolete_partition_schema);
874
875
  // optional .yb.IndexInfoPB OBSOLETE_index_info = 22;
876
  bool has_obsolete_index_info() const;
877
  void clear_obsolete_index_info();
878
  static const int kOBSOLETEIndexInfoFieldNumber = 22;
879
  const ::yb::IndexInfoPB& obsolete_index_info() const;
880
  ::yb::IndexInfoPB* release_obsolete_index_info();
881
  ::yb::IndexInfoPB* mutable_obsolete_index_info();
882
  void set_allocated_obsolete_index_info(::yb::IndexInfoPB* obsolete_index_info);
883
884
  // optional .yb.tablet.KvStoreInfoPB kv_store = 24;
885
  bool has_kv_store() const;
886
  void clear_kv_store();
887
  static const int kKvStoreFieldNumber = 24;
888
  const ::yb::tablet::KvStoreInfoPB& kv_store() const;
889
  ::yb::tablet::KvStoreInfoPB* release_kv_store();
890
  ::yb::tablet::KvStoreInfoPB* mutable_kv_store();
891
  void set_allocated_kv_store(::yb::tablet::KvStoreInfoPB* kv_store);
892
893
  // optional .yb.OpIdPB split_op_id = 29;
894
  bool has_split_op_id() const;
895
  void clear_split_op_id();
896
  static const int kSplitOpIdFieldNumber = 29;
897
  const ::yb::OpIdPB& split_op_id() const;
898
  ::yb::OpIdPB* release_split_op_id();
899
  ::yb::OpIdPB* mutable_split_op_id();
900
  void set_allocated_split_op_id(::yb::OpIdPB* split_op_id);
901
902
  // optional uint32 OBSOLETE_schema_version = 9;
903
  bool has_obsolete_schema_version() const;
904
  void clear_obsolete_schema_version();
905
  static const int kOBSOLETESchemaVersionFieldNumber = 9;
906
  ::google::protobuf::uint32 obsolete_schema_version() const;
907
  void set_obsolete_schema_version(::google::protobuf::uint32 value);
908
909
  // optional bool colocated = 25 [default = false];
910
  bool has_colocated() const;
911
  void clear_colocated();
912
  static const int kColocatedFieldNumber = 25;
913
  bool colocated() const;
914
  void set_colocated(bool value);
915
916
  // optional bool is_under_twodc_replication = 27;
917
  bool has_is_under_twodc_replication() const;
918
  void clear_is_under_twodc_replication();
919
  static const int kIsUnderTwodcReplicationFieldNumber = 27;
920
  bool is_under_twodc_replication() const;
921
  void set_is_under_twodc_replication(bool value);
922
923
  // optional bool hidden = 28;
924
  bool has_hidden() const;
925
  void clear_hidden();
926
  static const int kHiddenFieldNumber = 28;
927
  bool hidden() const;
928
  void set_hidden(bool value);
929
930
  // optional fixed64 restoration_hybrid_time = 32;
931
  bool has_restoration_hybrid_time() const;
932
  void clear_restoration_hybrid_time();
933
  static const int kRestorationHybridTimeFieldNumber = 32;
934
  ::google::protobuf::uint64 restoration_hybrid_time() const;
935
  void set_restoration_hybrid_time(::google::protobuf::uint64 value);
936
937
  // optional .yb.tablet.TabletDataState tablet_data_state = 10 [default = TABLET_DATA_UNKNOWN];
938
  bool has_tablet_data_state() const;
939
  void clear_tablet_data_state();
940
  static const int kTabletDataStateFieldNumber = 10;
941
  ::yb::tablet::TabletDataState tablet_data_state() const;
942
  void set_tablet_data_state(::yb::tablet::TabletDataState value);
943
944
  // optional .yb.TableType OBSOLETE_table_type = 15 [default = DEFAULT_TABLE_TYPE];
945
  bool has_obsolete_table_type() const;
946
  void clear_obsolete_table_type();
947
  static const int kOBSOLETETableTypeFieldNumber = 15;
948
  ::yb::TableType obsolete_table_type() const;
949
  void set_obsolete_table_type(::yb::TableType value);
950
951
  // optional int64 cdc_min_replicated_index = 26 [default = 9223372036854775807];
952
  bool has_cdc_min_replicated_index() const;
953
  void clear_cdc_min_replicated_index();
954
  static const int kCdcMinReplicatedIndexFieldNumber = 26;
955
  ::google::protobuf::int64 cdc_min_replicated_index() const;
956
  void set_cdc_min_replicated_index(::google::protobuf::int64 value);
957
958
  // @@protoc_insertion_point(class_scope:yb.tablet.RaftGroupReplicaSuperBlockPB)
959
 private:
960
  void set_has_primary_table_id();
961
  void clear_has_primary_table_id();
962
  void set_has_raft_group_id();
963
  void clear_has_raft_group_id();
964
  void set_has_partition();
965
  void clear_has_partition();
966
  void set_has_obsolete_table_name();
967
  void clear_has_obsolete_table_name();
968
  void set_has_obsolete_table_type();
969
  void clear_has_obsolete_table_type();
970
  void set_has_obsolete_schema();
971
  void clear_has_obsolete_schema();
972
  void set_has_obsolete_schema_version();
973
  void clear_has_obsolete_schema_version();
974
  void set_has_obsolete_partition_schema();
975
  void clear_has_obsolete_partition_schema();
976
  void set_has_tablet_data_state();
977
  void clear_has_tablet_data_state();
978
  void set_has_wal_dir();
979
  void clear_has_wal_dir();
980
  void set_has_tombstone_last_logged_opid();
981
  void clear_has_tombstone_last_logged_opid();
982
  void set_has_kv_store();
983
  void clear_has_kv_store();
984
  void set_has_obsolete_rocksdb_dir();
985
  void clear_has_obsolete_rocksdb_dir();
986
  void set_has_obsolete_index_info();
987
  void clear_has_obsolete_index_info();
988
  void set_has_colocated();
989
  void clear_has_colocated();
990
  void set_has_cdc_min_replicated_index();
991
  void clear_has_cdc_min_replicated_index();
992
  void set_has_is_under_twodc_replication();
993
  void clear_has_is_under_twodc_replication();
994
  void set_has_hidden();
995
  void clear_has_hidden();
996
  void set_has_restoration_hybrid_time();
997
  void clear_has_restoration_hybrid_time();
998
  void set_has_split_op_id();
999
  void clear_has_split_op_id();
1000
1001
  // helper for ByteSizeLong()
1002
  size_t RequiredFieldsByteSizeFallback() const;
1003
1004
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1005
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1006
  mutable int _cached_size_;
1007
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::FilePB > obsolete_rocksdb_files_;
1008
  ::google::protobuf::RepeatedPtrField< ::yb::DeletedColumnPB > obsolete_deleted_cols_;
1009
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::SnapshotFilePB > obsolete_snapshot_files_;
1010
  ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB > obsolete_indexes_;
1011
  ::google::protobuf::RepeatedPtrField< ::yb::tablet::TableInfoPB > obsolete_tables_;
1012
  ::google::protobuf::RepeatedPtrField< ::std::string> split_child_tablet_ids_;
1013
  ::google::protobuf::RepeatedPtrField< ::std::string> active_restorations_;
1014
  ::google::protobuf::internal::ArenaStringPtr primary_table_id_;
1015
  ::google::protobuf::internal::ArenaStringPtr raft_group_id_;
1016
  ::google::protobuf::internal::ArenaStringPtr obsolete_table_name_;
1017
  ::google::protobuf::internal::ArenaStringPtr obsolete_rocksdb_dir_;
1018
  ::google::protobuf::internal::ArenaStringPtr wal_dir_;
1019
  ::yb::SchemaPB* obsolete_schema_;
1020
  ::yb::OpIdPB* tombstone_last_logged_opid_;
1021
  ::yb::PartitionPB* partition_;
1022
  ::yb::PartitionSchemaPB* obsolete_partition_schema_;
1023
  ::yb::IndexInfoPB* obsolete_index_info_;
1024
  ::yb::tablet::KvStoreInfoPB* kv_store_;
1025
  ::yb::OpIdPB* split_op_id_;
1026
  ::google::protobuf::uint32 obsolete_schema_version_;
1027
  bool colocated_;
1028
  bool is_under_twodc_replication_;
1029
  bool hidden_;
1030
  ::google::protobuf::uint64 restoration_hybrid_time_;
1031
  int tablet_data_state_;
1032
  int obsolete_table_type_;
1033
  ::google::protobuf::int64 cdc_min_replicated_index_;
1034
  friend struct ::protobuf_yb_2ftablet_2fmetadata_2eproto::TableStruct;
1035
  friend void ::protobuf_yb_2ftablet_2fmetadata_2eproto::InitDefaultsRaftGroupReplicaSuperBlockPBImpl();
1036
};
1037
// -------------------------------------------------------------------
1038
1039
class FilePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.FilePB) */ {
1040
 public:
1041
  FilePB();
1042
  virtual ~FilePB();
1043
1044
  FilePB(const FilePB& from);
1045
1046
0
  inline FilePB& operator=(const FilePB& from) {
1047
0
    CopyFrom(from);
1048
0
    return *this;
1049
0
  }
1050
  #if LANG_CXX11
1051
  FilePB(FilePB&& from) noexcept
1052
0
    : FilePB() {
1053
0
    *this = ::std::move(from);
1054
0
  }
1055
1056
114
  inline FilePB& operator=(FilePB&& from) noexcept {
1057
114
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1058
114
      if (this != &from) InternalSwap(&from);
1059
0
    } else {
1060
0
      CopyFrom(from);
1061
0
    }
1062
114
    return *this;
1063
114
  }
1064
  #endif
1065
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1066
0
    return _internal_metadata_.unknown_fields();
1067
0
  }
1068
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1069
0
    return _internal_metadata_.mutable_unknown_fields();
1070
0
  }
1071
1072
  static const ::google::protobuf::Descriptor* descriptor();
1073
  static const FilePB& default_instance();
1074
1075
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1076
48.8k
  static inline const FilePB* internal_default_instance() {
1077
48.8k
    return reinterpret_cast<const FilePB*>(
1078
48.8k
               &_FilePB_default_instance_);
1079
48.8k
  }
1080
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1081
    3;
1082
1083
  void Swap(FilePB* other);
1084
0
  friend void swap(FilePB& a, FilePB& b) {
1085
0
    a.Swap(&b);
1086
0
  }
1087
1088
  // implements Message ----------------------------------------------
1089
1090
0
  inline FilePB* New() const PROTOBUF_FINAL { return New(NULL); }
1091
1092
  FilePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1093
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1094
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1095
  void CopyFrom(const FilePB& from);
1096
  void MergeFrom(const FilePB& from);
1097
  void Clear() PROTOBUF_FINAL;
1098
  bool IsInitialized() const PROTOBUF_FINAL;
1099
1100
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1101
  bool MergePartialFromCodedStream(
1102
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1103
  void SerializeWithCachedSizes(
1104
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1105
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1106
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1107
8.47k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1108
  private:
1109
  void SharedCtor();
1110
  void SharedDtor();
1111
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1112
  void InternalSwap(FilePB* other);
1113
  private:
1114
228
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1115
228
    return NULL;
1116
228
  }
1117
0
  inline void* MaybeArenaPtr() const {
1118
0
    return NULL;
1119
0
  }
1120
  public:
1121
1122
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1123
1124
  // nested types ----------------------------------------------------
1125
1126
  // accessors -------------------------------------------------------
1127
1128
  // optional string name = 1;
1129
  bool has_name() const;
1130
  void clear_name();
1131
  static const int kNameFieldNumber = 1;
1132
  const ::std::string& name() const;
1133
  void set_name(const ::std::string& value);
1134
  #if LANG_CXX11
1135
  void set_name(::std::string&& value);
1136
  #endif
1137
  void set_name(const char* value);
1138
  void set_name(const char* value, size_t size);
1139
  ::std::string* mutable_name();
1140
  ::std::string* release_name();
1141
  void set_allocated_name(::std::string* name);
1142
1143
  // optional uint64 size_bytes = 2;
1144
  bool has_size_bytes() const;
1145
  void clear_size_bytes();
1146
  static const int kSizeBytesFieldNumber = 2;
1147
  ::google::protobuf::uint64 size_bytes() const;
1148
  void set_size_bytes(::google::protobuf::uint64 value);
1149
1150
  // optional uint64 inode = 3;
1151
  bool has_inode() const;
1152
  void clear_inode();
1153
  static const int kInodeFieldNumber = 3;
1154
  ::google::protobuf::uint64 inode() const;
1155
  void set_inode(::google::protobuf::uint64 value);
1156
1157
  // @@protoc_insertion_point(class_scope:yb.tablet.FilePB)
1158
 private:
1159
  void set_has_name();
1160
  void clear_has_name();
1161
  void set_has_size_bytes();
1162
  void clear_has_size_bytes();
1163
  void set_has_inode();
1164
  void clear_has_inode();
1165
1166
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1167
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1168
  mutable int _cached_size_;
1169
  ::google::protobuf::internal::ArenaStringPtr name_;
1170
  ::google::protobuf::uint64 size_bytes_;
1171
  ::google::protobuf::uint64 inode_;
1172
  friend struct ::protobuf_yb_2ftablet_2fmetadata_2eproto::TableStruct;
1173
  friend void ::protobuf_yb_2ftablet_2fmetadata_2eproto::InitDefaultsFilePBImpl();
1174
};
1175
// -------------------------------------------------------------------
1176
1177
class SnapshotFilePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.SnapshotFilePB) */ {
1178
 public:
1179
  SnapshotFilePB();
1180
  virtual ~SnapshotFilePB();
1181
1182
  SnapshotFilePB(const SnapshotFilePB& from);
1183
1184
0
  inline SnapshotFilePB& operator=(const SnapshotFilePB& from) {
1185
0
    CopyFrom(from);
1186
0
    return *this;
1187
0
  }
1188
  #if LANG_CXX11
1189
  SnapshotFilePB(SnapshotFilePB&& from) noexcept
1190
0
    : SnapshotFilePB() {
1191
0
    *this = ::std::move(from);
1192
0
  }
1193
1194
0
  inline SnapshotFilePB& operator=(SnapshotFilePB&& from) noexcept {
1195
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1196
0
      if (this != &from) InternalSwap(&from);
1197
0
    } else {
1198
0
      CopyFrom(from);
1199
0
    }
1200
0
    return *this;
1201
0
  }
1202
  #endif
1203
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1204
0
    return _internal_metadata_.unknown_fields();
1205
0
  }
1206
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1207
0
    return _internal_metadata_.mutable_unknown_fields();
1208
0
  }
1209
1210
  static const ::google::protobuf::Descriptor* descriptor();
1211
  static const SnapshotFilePB& default_instance();
1212
1213
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1214
16.3k
  static inline const SnapshotFilePB* internal_default_instance() {
1215
16.3k
    return reinterpret_cast<const SnapshotFilePB*>(
1216
16.3k
               &_SnapshotFilePB_default_instance_);
1217
16.3k
  }
1218
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1219
    4;
1220
1221
  void Swap(SnapshotFilePB* other);
1222
0
  friend void swap(SnapshotFilePB& a, SnapshotFilePB& b) {
1223
0
    a.Swap(&b);
1224
0
  }
1225
1226
  // implements Message ----------------------------------------------
1227
1228
0
  inline SnapshotFilePB* New() const PROTOBUF_FINAL { return New(NULL); }
1229
1230
  SnapshotFilePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1231
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1232
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1233
  void CopyFrom(const SnapshotFilePB& from);
1234
  void MergeFrom(const SnapshotFilePB& from);
1235
  void Clear() PROTOBUF_FINAL;
1236
  bool IsInitialized() const PROTOBUF_FINAL;
1237
1238
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1239
  bool MergePartialFromCodedStream(
1240
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1241
  void SerializeWithCachedSizes(
1242
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1243
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1244
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1245
60
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1246
  private:
1247
  void SharedCtor();
1248
  void SharedDtor();
1249
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1250
  void InternalSwap(SnapshotFilePB* other);
1251
  private:
1252
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1253
0
    return NULL;
1254
0
  }
1255
0
  inline void* MaybeArenaPtr() const {
1256
0
    return NULL;
1257
0
  }
1258
  public:
1259
1260
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1261
1262
  // nested types ----------------------------------------------------
1263
1264
  // accessors -------------------------------------------------------
1265
1266
  // optional bytes snapshot_id = 2;
1267
  bool has_snapshot_id() const;
1268
  void clear_snapshot_id();
1269
  static const int kSnapshotIdFieldNumber = 2;
1270
  const ::std::string& snapshot_id() const;
1271
  void set_snapshot_id(const ::std::string& value);
1272
  #if LANG_CXX11
1273
  void set_snapshot_id(::std::string&& value);
1274
  #endif
1275
  void set_snapshot_id(const char* value);
1276
  void set_snapshot_id(const void* value, size_t size);
1277
  ::std::string* mutable_snapshot_id();
1278
  ::std::string* release_snapshot_id();
1279
  void set_allocated_snapshot_id(::std::string* snapshot_id);
1280
1281
  // optional .yb.tablet.FilePB file = 1;
1282
  bool has_file() const;
1283
  void clear_file();
1284
  static const int kFileFieldNumber = 1;
1285
  const ::yb::tablet::FilePB& file() const;
1286
  ::yb::tablet::FilePB* release_file();
1287
  ::yb::tablet::FilePB* mutable_file();
1288
  void set_allocated_file(::yb::tablet::FilePB* file);
1289
1290
  // @@protoc_insertion_point(class_scope:yb.tablet.SnapshotFilePB)
1291
 private:
1292
  void set_has_file();
1293
  void clear_has_file();
1294
  void set_has_snapshot_id();
1295
  void clear_has_snapshot_id();
1296
1297
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1298
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1299
  mutable int _cached_size_;
1300
  ::google::protobuf::internal::ArenaStringPtr snapshot_id_;
1301
  ::yb::tablet::FilePB* file_;
1302
  friend struct ::protobuf_yb_2ftablet_2fmetadata_2eproto::TableStruct;
1303
  friend void ::protobuf_yb_2ftablet_2fmetadata_2eproto::InitDefaultsSnapshotFilePBImpl();
1304
};
1305
// ===================================================================
1306
1307
1308
// ===================================================================
1309
1310
#ifdef __GNUC__
1311
  #pragma GCC diagnostic push
1312
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1313
#endif  // __GNUC__
1314
// TableInfoPB
1315
1316
// optional bytes table_id = 1;
1317
142M
inline bool TableInfoPB::has_table_id() const {
1318
142M
  return (_has_bits_[0] & 0x00000001u) != 0;
1319
142M
}
1320
141M
inline void TableInfoPB::set_has_table_id() {
1321
141M
  _has_bits_[0] |= 0x00000001u;
1322
141M
}
1323
0
inline void TableInfoPB::clear_has_table_id() {
1324
0
  _has_bits_[0] &= ~0x00000001u;
1325
0
}
1326
0
inline void TableInfoPB::clear_table_id() {
1327
0
  table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1328
0
  clear_has_table_id();
1329
0
}
1330
283M
inline const ::std::string& TableInfoPB::table_id() const {
1331
  // @@protoc_insertion_point(field_get:yb.tablet.TableInfoPB.table_id)
1332
283M
  return table_id_.GetNoArena();
1333
283M
}
1334
140M
inline void TableInfoPB::set_table_id(const ::std::string& value) {
1335
140M
  set_has_table_id();
1336
140M
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1337
  // @@protoc_insertion_point(field_set:yb.tablet.TableInfoPB.table_id)
1338
140M
}
1339
#if LANG_CXX11
1340
0
inline void TableInfoPB::set_table_id(::std::string&& value) {
1341
0
  set_has_table_id();
1342
0
  table_id_.SetNoArena(
1343
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1344
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TableInfoPB.table_id)
1345
0
}
1346
#endif
1347
0
inline void TableInfoPB::set_table_id(const char* value) {
1348
0
  GOOGLE_DCHECK(value != NULL);
1349
0
  set_has_table_id();
1350
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1351
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.TableInfoPB.table_id)
1352
0
}
1353
0
inline void TableInfoPB::set_table_id(const void* value, size_t size) {
1354
0
  set_has_table_id();
1355
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1356
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1357
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.TableInfoPB.table_id)
1358
0
}
1359
490k
inline ::std::string* TableInfoPB::mutable_table_id() {
1360
490k
  set_has_table_id();
1361
  // @@protoc_insertion_point(field_mutable:yb.tablet.TableInfoPB.table_id)
1362
490k
  return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1363
490k
}
1364
0
inline ::std::string* TableInfoPB::release_table_id() {
1365
0
  // @@protoc_insertion_point(field_release:yb.tablet.TableInfoPB.table_id)
1366
0
  clear_has_table_id();
1367
0
  return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1368
0
}
1369
0
inline void TableInfoPB::set_allocated_table_id(::std::string* table_id) {
1370
0
  if (table_id != NULL) {
1371
0
    set_has_table_id();
1372
0
  } else {
1373
0
    clear_has_table_id();
1374
0
  }
1375
0
  table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id);
1376
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.TableInfoPB.table_id)
1377
0
}
1378
1379
// optional string namespace_name = 10;
1380
142M
inline bool TableInfoPB::has_namespace_name() const {
1381
142M
  return (_has_bits_[0] & 0x00000004u) != 0;
1382
142M
}
1383
140M
inline void TableInfoPB::set_has_namespace_name() {
1384
140M
  _has_bits_[0] |= 0x00000004u;
1385
140M
}
1386
0
inline void TableInfoPB::clear_has_namespace_name() {
1387
0
  _has_bits_[0] &= ~0x00000004u;
1388
0
}
1389
0
inline void TableInfoPB::clear_namespace_name() {
1390
0
  namespace_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1391
0
  clear_has_namespace_name();
1392
0
}
1393
561M
inline const ::std::string& TableInfoPB::namespace_name() const {
1394
  // @@protoc_insertion_point(field_get:yb.tablet.TableInfoPB.namespace_name)
1395
561M
  return namespace_name_.GetNoArena();
1396
561M
}
1397
140M
inline void TableInfoPB::set_namespace_name(const ::std::string& value) {
1398
140M
  set_has_namespace_name();
1399
140M
  namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1400
  // @@protoc_insertion_point(field_set:yb.tablet.TableInfoPB.namespace_name)
1401
140M
}
1402
#if LANG_CXX11
1403
0
inline void TableInfoPB::set_namespace_name(::std::string&& value) {
1404
0
  set_has_namespace_name();
1405
0
  namespace_name_.SetNoArena(
1406
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1407
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TableInfoPB.namespace_name)
1408
0
}
1409
#endif
1410
0
inline void TableInfoPB::set_namespace_name(const char* value) {
1411
0
  GOOGLE_DCHECK(value != NULL);
1412
0
  set_has_namespace_name();
1413
0
  namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1414
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.TableInfoPB.namespace_name)
1415
0
}
1416
0
inline void TableInfoPB::set_namespace_name(const char* value, size_t size) {
1417
0
  set_has_namespace_name();
1418
0
  namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1419
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1420
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.TableInfoPB.namespace_name)
1421
0
}
1422
3.23k
inline ::std::string* TableInfoPB::mutable_namespace_name() {
1423
3.23k
  set_has_namespace_name();
1424
  // @@protoc_insertion_point(field_mutable:yb.tablet.TableInfoPB.namespace_name)
1425
3.23k
  return namespace_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1426
3.23k
}
1427
0
inline ::std::string* TableInfoPB::release_namespace_name() {
1428
0
  // @@protoc_insertion_point(field_release:yb.tablet.TableInfoPB.namespace_name)
1429
0
  clear_has_namespace_name();
1430
0
  return namespace_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1431
0
}
1432
0
inline void TableInfoPB::set_allocated_namespace_name(::std::string* namespace_name) {
1433
0
  if (namespace_name != NULL) {
1434
0
    set_has_namespace_name();
1435
0
  } else {
1436
0
    clear_has_namespace_name();
1437
0
  }
1438
0
  namespace_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_name);
1439
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.TableInfoPB.namespace_name)
1440
0
}
1441
1442
// optional string table_name = 2;
1443
142M
inline bool TableInfoPB::has_table_name() const {
1444
142M
  return (_has_bits_[0] & 0x00000002u) != 0;
1445
142M
}
1446
141M
inline void TableInfoPB::set_has_table_name() {
1447
141M
  _has_bits_[0] |= 0x00000002u;
1448
141M
}
1449
0
inline void TableInfoPB::clear_has_table_name() {
1450
0
  _has_bits_[0] &= ~0x00000002u;
1451
0
}
1452
0
inline void TableInfoPB::clear_table_name() {
1453
0
  table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1454
0
  clear_has_table_name();
1455
0
}
1456
567M
inline const ::std::string& TableInfoPB::table_name() const {
1457
  // @@protoc_insertion_point(field_get:yb.tablet.TableInfoPB.table_name)
1458
567M
  return table_name_.GetNoArena();
1459
567M
}
1460
140M
inline void TableInfoPB::set_table_name(const ::std::string& value) {
1461
140M
  set_has_table_name();
1462
140M
  table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1463
  // @@protoc_insertion_point(field_set:yb.tablet.TableInfoPB.table_name)
1464
140M
}
1465
#if LANG_CXX11
1466
0
inline void TableInfoPB::set_table_name(::std::string&& value) {
1467
0
  set_has_table_name();
1468
0
  table_name_.SetNoArena(
1469
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1470
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TableInfoPB.table_name)
1471
0
}
1472
#endif
1473
0
inline void TableInfoPB::set_table_name(const char* value) {
1474
0
  GOOGLE_DCHECK(value != NULL);
1475
0
  set_has_table_name();
1476
0
  table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1477
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.TableInfoPB.table_name)
1478
0
}
1479
0
inline void TableInfoPB::set_table_name(const char* value, size_t size) {
1480
0
  set_has_table_name();
1481
0
  table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1482
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1483
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.TableInfoPB.table_name)
1484
0
}
1485
490k
inline ::std::string* TableInfoPB::mutable_table_name() {
1486
490k
  set_has_table_name();
1487
  // @@protoc_insertion_point(field_mutable:yb.tablet.TableInfoPB.table_name)
1488
490k
  return table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1489
490k
}
1490
0
inline ::std::string* TableInfoPB::release_table_name() {
1491
0
  // @@protoc_insertion_point(field_release:yb.tablet.TableInfoPB.table_name)
1492
0
  clear_has_table_name();
1493
0
  return table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1494
0
}
1495
0
inline void TableInfoPB::set_allocated_table_name(::std::string* table_name) {
1496
0
  if (table_name != NULL) {
1497
0
    set_has_table_name();
1498
0
  } else {
1499
0
    clear_has_table_name();
1500
0
  }
1501
0
  table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_name);
1502
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.TableInfoPB.table_name)
1503
0
}
1504
1505
// optional .yb.TableType table_type = 3 [default = DEFAULT_TABLE_TYPE];
1506
142M
inline bool TableInfoPB::has_table_type() const {
1507
142M
  return (_has_bits_[0] & 0x00000080u) != 0;
1508
142M
}
1509
140M
inline void TableInfoPB::set_has_table_type() {
1510
140M
  _has_bits_[0] |= 0x00000080u;
1511
140M
}
1512
0
inline void TableInfoPB::clear_has_table_type() {
1513
0
  _has_bits_[0] &= ~0x00000080u;
1514
0
}
1515
0
inline void TableInfoPB::clear_table_type() {
1516
0
  table_type_ = 2;
1517
0
  clear_has_table_type();
1518
0
}
1519
283M
inline ::yb::TableType TableInfoPB::table_type() const {
1520
  // @@protoc_insertion_point(field_get:yb.tablet.TableInfoPB.table_type)
1521
283M
  return static_cast< ::yb::TableType >(table_type_);
1522
283M
}
1523
140M
inline void TableInfoPB::set_table_type(::yb::TableType value) {
1524
140M
  assert(::yb::TableType_IsValid(value));
1525
140M
  set_has_table_type();
1526
140M
  table_type_ = value;
1527
  // @@protoc_insertion_point(field_set:yb.tablet.TableInfoPB.table_type)
1528
140M
}
1529
1530
// optional .yb.SchemaPB schema = 4;
1531
284M
inline bool TableInfoPB::has_schema() const {
1532
284M
  return (_has_bits_[0] & 0x00000008u) != 0;
1533
284M
}
1534
141M
inline void TableInfoPB::set_has_schema() {
1535
141M
  _has_bits_[0] |= 0x00000008u;
1536
141M
}
1537
0
inline void TableInfoPB::clear_has_schema() {
1538
0
  _has_bits_[0] &= ~0x00000008u;
1539
0
}
1540
698k
inline const ::yb::SchemaPB& TableInfoPB::schema() const {
1541
698k
  const ::yb::SchemaPB* p = schema_;
1542
  // @@protoc_insertion_point(field_get:yb.tablet.TableInfoPB.schema)
1543
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::SchemaPB*>(
1544
18.4E
      &::yb::_SchemaPB_default_instance_);
1545
698k
}
1546
0
inline ::yb::SchemaPB* TableInfoPB::release_schema() {
1547
0
  // @@protoc_insertion_point(field_release:yb.tablet.TableInfoPB.schema)
1548
0
  clear_has_schema();
1549
0
  ::yb::SchemaPB* temp = schema_;
1550
0
  schema_ = NULL;
1551
0
  return temp;
1552
0
}
1553
141M
inline ::yb::SchemaPB* TableInfoPB::mutable_schema() {
1554
141M
  set_has_schema();
1555
141M
  if (schema_ == NULL) {
1556
141M
    schema_ = new ::yb::SchemaPB;
1557
141M
  }
1558
  // @@protoc_insertion_point(field_mutable:yb.tablet.TableInfoPB.schema)
1559
141M
  return schema_;
1560
141M
}
1561
0
inline void TableInfoPB::set_allocated_schema(::yb::SchemaPB* schema) {
1562
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1563
0
  if (message_arena == NULL) {
1564
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(schema_);
1565
0
  }
1566
0
  if (schema) {
1567
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1568
0
    if (message_arena != submessage_arena) {
1569
0
      schema = ::google::protobuf::internal::GetOwnedMessage(
1570
0
          message_arena, schema, submessage_arena);
1571
0
    }
1572
0
    set_has_schema();
1573
0
  } else {
1574
0
    clear_has_schema();
1575
0
  }
1576
0
  schema_ = schema;
1577
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.TableInfoPB.schema)
1578
0
}
1579
1580
// optional uint32 schema_version = 5;
1581
142M
inline bool TableInfoPB::has_schema_version() const {
1582
142M
  return (_has_bits_[0] & 0x00000040u) != 0;
1583
142M
}
1584
140M
inline void TableInfoPB::set_has_schema_version() {
1585
140M
  _has_bits_[0] |= 0x00000040u;
1586
140M
}
1587
0
inline void TableInfoPB::clear_has_schema_version() {
1588
0
  _has_bits_[0] &= ~0x00000040u;
1589
0
}
1590
0
inline void TableInfoPB::clear_schema_version() {
1591
0
  schema_version_ = 0u;
1592
0
  clear_has_schema_version();
1593
0
}
1594
283M
inline ::google::protobuf::uint32 TableInfoPB::schema_version() const {
1595
  // @@protoc_insertion_point(field_get:yb.tablet.TableInfoPB.schema_version)
1596
283M
  return schema_version_;
1597
283M
}
1598
140M
inline void TableInfoPB::set_schema_version(::google::protobuf::uint32 value) {
1599
140M
  set_has_schema_version();
1600
140M
  schema_version_ = value;
1601
  // @@protoc_insertion_point(field_set:yb.tablet.TableInfoPB.schema_version)
1602
140M
}
1603
1604
// optional .yb.PartitionSchemaPB partition_schema = 6;
1605
284M
inline bool TableInfoPB::has_partition_schema() const {
1606
284M
  return (_has_bits_[0] & 0x00000010u) != 0;
1607
284M
}
1608
141M
inline void TableInfoPB::set_has_partition_schema() {
1609
141M
  _has_bits_[0] |= 0x00000010u;
1610
141M
}
1611
0
inline void TableInfoPB::clear_has_partition_schema() {
1612
0
  _has_bits_[0] &= ~0x00000010u;
1613
0
}
1614
698k
inline const ::yb::PartitionSchemaPB& TableInfoPB::partition_schema() const {
1615
698k
  const ::yb::PartitionSchemaPB* p = partition_schema_;
1616
  // @@protoc_insertion_point(field_get:yb.tablet.TableInfoPB.partition_schema)
1617
698k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::PartitionSchemaPB*>(
1618
0
      &::yb::_PartitionSchemaPB_default_instance_);
1619
698k
}
1620
0
inline ::yb::PartitionSchemaPB* TableInfoPB::release_partition_schema() {
1621
0
  // @@protoc_insertion_point(field_release:yb.tablet.TableInfoPB.partition_schema)
1622
0
  clear_has_partition_schema();
1623
0
  ::yb::PartitionSchemaPB* temp = partition_schema_;
1624
0
  partition_schema_ = NULL;
1625
0
  return temp;
1626
0
}
1627
141M
inline ::yb::PartitionSchemaPB* TableInfoPB::mutable_partition_schema() {
1628
141M
  set_has_partition_schema();
1629
141M
  if (partition_schema_ == NULL) {
1630
141M
    partition_schema_ = new ::yb::PartitionSchemaPB;
1631
141M
  }
1632
  // @@protoc_insertion_point(field_mutable:yb.tablet.TableInfoPB.partition_schema)
1633
141M
  return partition_schema_;
1634
141M
}
1635
0
inline void TableInfoPB::set_allocated_partition_schema(::yb::PartitionSchemaPB* partition_schema) {
1636
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1637
0
  if (message_arena == NULL) {
1638
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(partition_schema_);
1639
0
  }
1640
0
  if (partition_schema) {
1641
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1642
0
    if (message_arena != submessage_arena) {
1643
0
      partition_schema = ::google::protobuf::internal::GetOwnedMessage(
1644
0
          message_arena, partition_schema, submessage_arena);
1645
0
    }
1646
0
    set_has_partition_schema();
1647
0
  } else {
1648
0
    clear_has_partition_schema();
1649
0
  }
1650
0
  partition_schema_ = partition_schema;
1651
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.TableInfoPB.partition_schema)
1652
0
}
1653
1654
// repeated .yb.IndexInfoPB indexes = 7;
1655
283M
inline int TableInfoPB::indexes_size() const {
1656
283M
  return indexes_.size();
1657
283M
}
1658
139k
inline const ::yb::IndexInfoPB& TableInfoPB::indexes(int index) const {
1659
  // @@protoc_insertion_point(field_get:yb.tablet.TableInfoPB.indexes)
1660
139k
  return indexes_.Get(index);
1661
139k
}
1662
0
inline ::yb::IndexInfoPB* TableInfoPB::mutable_indexes(int index) {
1663
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.TableInfoPB.indexes)
1664
0
  return indexes_.Mutable(index);
1665
0
}
1666
431
inline ::yb::IndexInfoPB* TableInfoPB::add_indexes() {
1667
  // @@protoc_insertion_point(field_add:yb.tablet.TableInfoPB.indexes)
1668
431
  return indexes_.Add();
1669
431
}
1670
inline ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >*
1671
140M
TableInfoPB::mutable_indexes() {
1672
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.TableInfoPB.indexes)
1673
140M
  return &indexes_;
1674
140M
}
1675
inline const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >&
1676
142M
TableInfoPB::indexes() const {
1677
  // @@protoc_insertion_point(field_list:yb.tablet.TableInfoPB.indexes)
1678
142M
  return indexes_;
1679
142M
}
1680
1681
// optional .yb.IndexInfoPB index_info = 8;
1682
284M
inline bool TableInfoPB::has_index_info() const {
1683
284M
  return (_has_bits_[0] & 0x00000020u) != 0;
1684
284M
}
1685
45.0k
inline void TableInfoPB::set_has_index_info() {
1686
45.0k
  _has_bits_[0] |= 0x00000020u;
1687
45.0k
}
1688
0
inline void TableInfoPB::clear_has_index_info() {
1689
0
  _has_bits_[0] &= ~0x00000020u;
1690
0
}
1691
430
inline const ::yb::IndexInfoPB& TableInfoPB::index_info() const {
1692
430
  const ::yb::IndexInfoPB* p = index_info_;
1693
  // @@protoc_insertion_point(field_get:yb.tablet.TableInfoPB.index_info)
1694
430
  return p != NULL ? *p : *reinterpret_cast<const ::yb::IndexInfoPB*>(
1695
0
      &::yb::_IndexInfoPB_default_instance_);
1696
430
}
1697
0
inline ::yb::IndexInfoPB* TableInfoPB::release_index_info() {
1698
0
  // @@protoc_insertion_point(field_release:yb.tablet.TableInfoPB.index_info)
1699
0
  clear_has_index_info();
1700
0
  ::yb::IndexInfoPB* temp = index_info_;
1701
0
  index_info_ = NULL;
1702
0
  return temp;
1703
0
}
1704
44.9k
inline ::yb::IndexInfoPB* TableInfoPB::mutable_index_info() {
1705
44.9k
  set_has_index_info();
1706
44.9k
  if (index_info_ == NULL) {
1707
44.9k
    index_info_ = new ::yb::IndexInfoPB;
1708
44.9k
  }
1709
  // @@protoc_insertion_point(field_mutable:yb.tablet.TableInfoPB.index_info)
1710
44.9k
  return index_info_;
1711
44.9k
}
1712
0
inline void TableInfoPB::set_allocated_index_info(::yb::IndexInfoPB* index_info) {
1713
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1714
0
  if (message_arena == NULL) {
1715
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(index_info_);
1716
0
  }
1717
0
  if (index_info) {
1718
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1719
0
    if (message_arena != submessage_arena) {
1720
0
      index_info = ::google::protobuf::internal::GetOwnedMessage(
1721
0
          message_arena, index_info, submessage_arena);
1722
0
    }
1723
0
    set_has_index_info();
1724
0
  } else {
1725
0
    clear_has_index_info();
1726
0
  }
1727
0
  index_info_ = index_info;
1728
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.TableInfoPB.index_info)
1729
0
}
1730
1731
// repeated .yb.DeletedColumnPB deleted_cols = 9;
1732
283M
inline int TableInfoPB::deleted_cols_size() const {
1733
283M
  return deleted_cols_.size();
1734
283M
}
1735
24.9k
inline const ::yb::DeletedColumnPB& TableInfoPB::deleted_cols(int index) const {
1736
  // @@protoc_insertion_point(field_get:yb.tablet.TableInfoPB.deleted_cols)
1737
24.9k
  return deleted_cols_.Get(index);
1738
24.9k
}
1739
0
inline ::yb::DeletedColumnPB* TableInfoPB::mutable_deleted_cols(int index) {
1740
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.TableInfoPB.deleted_cols)
1741
0
  return deleted_cols_.Mutable(index);
1742
0
}
1743
657
inline ::yb::DeletedColumnPB* TableInfoPB::add_deleted_cols() {
1744
  // @@protoc_insertion_point(field_add:yb.tablet.TableInfoPB.deleted_cols)
1745
657
  return deleted_cols_.Add();
1746
657
}
1747
inline ::google::protobuf::RepeatedPtrField< ::yb::DeletedColumnPB >*
1748
12.5k
TableInfoPB::mutable_deleted_cols() {
1749
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.TableInfoPB.deleted_cols)
1750
12.5k
  return &deleted_cols_;
1751
12.5k
}
1752
inline const ::google::protobuf::RepeatedPtrField< ::yb::DeletedColumnPB >&
1753
2.36k
TableInfoPB::deleted_cols() const {
1754
  // @@protoc_insertion_point(field_list:yb.tablet.TableInfoPB.deleted_cols)
1755
2.36k
  return deleted_cols_;
1756
2.36k
}
1757
1758
// -------------------------------------------------------------------
1759
1760
// KvStoreInfoPB
1761
1762
// required bytes kv_store_id = 1;
1763
823k
inline bool KvStoreInfoPB::has_kv_store_id() const {
1764
823k
  return (_has_bits_[0] & 0x00000001u) != 0;
1765
823k
}
1766
825k
inline void KvStoreInfoPB::set_has_kv_store_id() {
1767
825k
  _has_bits_[0] |= 0x00000001u;
1768
825k
}
1769
0
inline void KvStoreInfoPB::clear_has_kv_store_id() {
1770
0
  _has_bits_[0] &= ~0x00000001u;
1771
0
}
1772
0
inline void KvStoreInfoPB::clear_kv_store_id() {
1773
0
  kv_store_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1774
0
  clear_has_kv_store_id();
1775
0
}
1776
1.64M
inline const ::std::string& KvStoreInfoPB::kv_store_id() const {
1777
  // @@protoc_insertion_point(field_get:yb.tablet.KvStoreInfoPB.kv_store_id)
1778
1.64M
  return kv_store_id_.GetNoArena();
1779
1.64M
}
1780
819k
inline void KvStoreInfoPB::set_kv_store_id(const ::std::string& value) {
1781
819k
  set_has_kv_store_id();
1782
819k
  kv_store_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1783
  // @@protoc_insertion_point(field_set:yb.tablet.KvStoreInfoPB.kv_store_id)
1784
819k
}
1785
#if LANG_CXX11
1786
0
inline void KvStoreInfoPB::set_kv_store_id(::std::string&& value) {
1787
0
  set_has_kv_store_id();
1788
0
  kv_store_id_.SetNoArena(
1789
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1790
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.KvStoreInfoPB.kv_store_id)
1791
0
}
1792
#endif
1793
0
inline void KvStoreInfoPB::set_kv_store_id(const char* value) {
1794
0
  GOOGLE_DCHECK(value != NULL);
1795
0
  set_has_kv_store_id();
1796
0
  kv_store_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1797
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.KvStoreInfoPB.kv_store_id)
1798
0
}
1799
0
inline void KvStoreInfoPB::set_kv_store_id(const void* value, size_t size) {
1800
0
  set_has_kv_store_id();
1801
0
  kv_store_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1802
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1803
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.KvStoreInfoPB.kv_store_id)
1804
0
}
1805
3.22k
inline ::std::string* KvStoreInfoPB::mutable_kv_store_id() {
1806
3.22k
  set_has_kv_store_id();
1807
  // @@protoc_insertion_point(field_mutable:yb.tablet.KvStoreInfoPB.kv_store_id)
1808
3.22k
  return kv_store_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1809
3.22k
}
1810
0
inline ::std::string* KvStoreInfoPB::release_kv_store_id() {
1811
0
  // @@protoc_insertion_point(field_release:yb.tablet.KvStoreInfoPB.kv_store_id)
1812
0
  clear_has_kv_store_id();
1813
0
  return kv_store_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1814
0
}
1815
0
inline void KvStoreInfoPB::set_allocated_kv_store_id(::std::string* kv_store_id) {
1816
0
  if (kv_store_id != NULL) {
1817
0
    set_has_kv_store_id();
1818
0
  } else {
1819
0
    clear_has_kv_store_id();
1820
0
  }
1821
0
  kv_store_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), kv_store_id);
1822
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.KvStoreInfoPB.kv_store_id)
1823
0
}
1824
1825
// optional string rocksdb_dir = 2;
1826
823k
inline bool KvStoreInfoPB::has_rocksdb_dir() const {
1827
823k
  return (_has_bits_[0] & 0x00000002u) != 0;
1828
823k
}
1829
827k
inline void KvStoreInfoPB::set_has_rocksdb_dir() {
1830
827k
  _has_bits_[0] |= 0x00000002u;
1831
827k
}
1832
1.43k
inline void KvStoreInfoPB::clear_has_rocksdb_dir() {
1833
1.43k
  _has_bits_[0] &= ~0x00000002u;
1834
1.43k
}
1835
1.43k
inline void KvStoreInfoPB::clear_rocksdb_dir() {
1836
1.43k
  rocksdb_dir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1837
1.43k
  clear_has_rocksdb_dir();
1838
1.43k
}
1839
3.29M
inline const ::std::string& KvStoreInfoPB::rocksdb_dir() const {
1840
  // @@protoc_insertion_point(field_get:yb.tablet.KvStoreInfoPB.rocksdb_dir)
1841
3.29M
  return rocksdb_dir_.GetNoArena();
1842
3.29M
}
1843
821k
inline void KvStoreInfoPB::set_rocksdb_dir(const ::std::string& value) {
1844
821k
  set_has_rocksdb_dir();
1845
821k
  rocksdb_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1846
  // @@protoc_insertion_point(field_set:yb.tablet.KvStoreInfoPB.rocksdb_dir)
1847
821k
}
1848
#if LANG_CXX11
1849
0
inline void KvStoreInfoPB::set_rocksdb_dir(::std::string&& value) {
1850
0
  set_has_rocksdb_dir();
1851
0
  rocksdb_dir_.SetNoArena(
1852
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1853
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.KvStoreInfoPB.rocksdb_dir)
1854
0
}
1855
#endif
1856
0
inline void KvStoreInfoPB::set_rocksdb_dir(const char* value) {
1857
0
  GOOGLE_DCHECK(value != NULL);
1858
0
  set_has_rocksdb_dir();
1859
0
  rocksdb_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1860
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.KvStoreInfoPB.rocksdb_dir)
1861
0
}
1862
0
inline void KvStoreInfoPB::set_rocksdb_dir(const char* value, size_t size) {
1863
0
  set_has_rocksdb_dir();
1864
0
  rocksdb_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1865
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1866
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.KvStoreInfoPB.rocksdb_dir)
1867
0
}
1868
3.22k
inline ::std::string* KvStoreInfoPB::mutable_rocksdb_dir() {
1869
3.22k
  set_has_rocksdb_dir();
1870
  // @@protoc_insertion_point(field_mutable:yb.tablet.KvStoreInfoPB.rocksdb_dir)
1871
3.22k
  return rocksdb_dir_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1872
3.22k
}
1873
0
inline ::std::string* KvStoreInfoPB::release_rocksdb_dir() {
1874
0
  // @@protoc_insertion_point(field_release:yb.tablet.KvStoreInfoPB.rocksdb_dir)
1875
0
  clear_has_rocksdb_dir();
1876
0
  return rocksdb_dir_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1877
0
}
1878
0
inline void KvStoreInfoPB::set_allocated_rocksdb_dir(::std::string* rocksdb_dir) {
1879
0
  if (rocksdb_dir != NULL) {
1880
0
    set_has_rocksdb_dir();
1881
0
  } else {
1882
0
    clear_has_rocksdb_dir();
1883
0
  }
1884
0
  rocksdb_dir_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), rocksdb_dir);
1885
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.KvStoreInfoPB.rocksdb_dir)
1886
0
}
1887
1888
// repeated .yb.tablet.FilePB rocksdb_files = 3;
1889
1.64M
inline int KvStoreInfoPB::rocksdb_files_size() const {
1890
1.64M
  return rocksdb_files_.size();
1891
1.64M
}
1892
1.44k
inline void KvStoreInfoPB::clear_rocksdb_files() {
1893
1.44k
  rocksdb_files_.Clear();
1894
1.44k
}
1895
21.2k
inline const ::yb::tablet::FilePB& KvStoreInfoPB::rocksdb_files(int index) const {
1896
  // @@protoc_insertion_point(field_get:yb.tablet.KvStoreInfoPB.rocksdb_files)
1897
21.2k
  return rocksdb_files_.Get(index);
1898
21.2k
}
1899
0
inline ::yb::tablet::FilePB* KvStoreInfoPB::mutable_rocksdb_files(int index) {
1900
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.KvStoreInfoPB.rocksdb_files)
1901
0
  return rocksdb_files_.Mutable(index);
1902
0
}
1903
4.42k
inline ::yb::tablet::FilePB* KvStoreInfoPB::add_rocksdb_files() {
1904
  // @@protoc_insertion_point(field_add:yb.tablet.KvStoreInfoPB.rocksdb_files)
1905
4.42k
  return rocksdb_files_.Add();
1906
4.42k
}
1907
inline ::google::protobuf::RepeatedPtrField< ::yb::tablet::FilePB >*
1908
1.28k
KvStoreInfoPB::mutable_rocksdb_files() {
1909
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.KvStoreInfoPB.rocksdb_files)
1910
1.28k
  return &rocksdb_files_;
1911
1.28k
}
1912
inline const ::google::protobuf::RepeatedPtrField< ::yb::tablet::FilePB >&
1913
2.44k
KvStoreInfoPB::rocksdb_files() const {
1914
  // @@protoc_insertion_point(field_list:yb.tablet.KvStoreInfoPB.rocksdb_files)
1915
2.44k
  return rocksdb_files_;
1916
2.44k
}
1917
1918
// repeated .yb.tablet.SnapshotFilePB snapshot_files = 4;
1919
1.64M
inline int KvStoreInfoPB::snapshot_files_size() const {
1920
1.64M
  return snapshot_files_.size();
1921
1.64M
}
1922
1.44k
inline void KvStoreInfoPB::clear_snapshot_files() {
1923
1.44k
  snapshot_files_.Clear();
1924
1.44k
}
1925
184
inline const ::yb::tablet::SnapshotFilePB& KvStoreInfoPB::snapshot_files(int index) const {
1926
  // @@protoc_insertion_point(field_get:yb.tablet.KvStoreInfoPB.snapshot_files)
1927
184
  return snapshot_files_.Get(index);
1928
184
}
1929
0
inline ::yb::tablet::SnapshotFilePB* KvStoreInfoPB::mutable_snapshot_files(int index) {
1930
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.KvStoreInfoPB.snapshot_files)
1931
0
  return snapshot_files_.Mutable(index);
1932
0
}
1933
60
inline ::yb::tablet::SnapshotFilePB* KvStoreInfoPB::add_snapshot_files() {
1934
  // @@protoc_insertion_point(field_add:yb.tablet.KvStoreInfoPB.snapshot_files)
1935
60
  return snapshot_files_.Add();
1936
60
}
1937
inline ::google::protobuf::RepeatedPtrField< ::yb::tablet::SnapshotFilePB >*
1938
11
KvStoreInfoPB::mutable_snapshot_files() {
1939
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.KvStoreInfoPB.snapshot_files)
1940
11
  return &snapshot_files_;
1941
11
}
1942
inline const ::google::protobuf::RepeatedPtrField< ::yb::tablet::SnapshotFilePB >&
1943
2.44k
KvStoreInfoPB::snapshot_files() const {
1944
  // @@protoc_insertion_point(field_list:yb.tablet.KvStoreInfoPB.snapshot_files)
1945
2.44k
  return snapshot_files_;
1946
2.44k
}
1947
1948
// repeated .yb.tablet.TableInfoPB tables = 5;
1949
1.64M
inline int KvStoreInfoPB::tables_size() const {
1950
1.64M
  return tables_.size();
1951
1.64M
}
1952
0
inline void KvStoreInfoPB::clear_tables() {
1953
0
  tables_.Clear();
1954
0
}
1955
280M
inline const ::yb::tablet::TableInfoPB& KvStoreInfoPB::tables(int index) const {
1956
  // @@protoc_insertion_point(field_get:yb.tablet.KvStoreInfoPB.tables)
1957
280M
  return tables_.Get(index);
1958
280M
}
1959
0
inline ::yb::tablet::TableInfoPB* KvStoreInfoPB::mutable_tables(int index) {
1960
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.KvStoreInfoPB.tables)
1961
0
  return tables_.Mutable(index);
1962
0
}
1963
140M
inline ::yb::tablet::TableInfoPB* KvStoreInfoPB::add_tables() {
1964
  // @@protoc_insertion_point(field_add:yb.tablet.KvStoreInfoPB.tables)
1965
140M
  return tables_.Add();
1966
140M
}
1967
inline ::google::protobuf::RepeatedPtrField< ::yb::tablet::TableInfoPB >*
1968
0
KvStoreInfoPB::mutable_tables() {
1969
0
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.KvStoreInfoPB.tables)
1970
0
  return &tables_;
1971
0
}
1972
inline const ::google::protobuf::RepeatedPtrField< ::yb::tablet::TableInfoPB >&
1973
828k
KvStoreInfoPB::tables() const {
1974
  // @@protoc_insertion_point(field_list:yb.tablet.KvStoreInfoPB.tables)
1975
828k
  return tables_;
1976
828k
}
1977
1978
// optional bytes lower_bound_key = 6;
1979
822k
inline bool KvStoreInfoPB::has_lower_bound_key() const {
1980
822k
  return (_has_bits_[0] & 0x00000004u) != 0;
1981
822k
}
1982
212
inline void KvStoreInfoPB::set_has_lower_bound_key() {
1983
212
  _has_bits_[0] |= 0x00000004u;
1984
212
}
1985
819k
inline void KvStoreInfoPB::clear_has_lower_bound_key() {
1986
819k
  _has_bits_[0] &= ~0x00000004u;
1987
819k
}
1988
818k
inline void KvStoreInfoPB::clear_lower_bound_key() {
1989
818k
  lower_bound_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1990
818k
  clear_has_lower_bound_key();
1991
818k
}
1992
1.84k
inline const ::std::string& KvStoreInfoPB::lower_bound_key() const {
1993
  // @@protoc_insertion_point(field_get:yb.tablet.KvStoreInfoPB.lower_bound_key)
1994
1.84k
  return lower_bound_key_.GetNoArena();
1995
1.84k
}
1996
193
inline void KvStoreInfoPB::set_lower_bound_key(const ::std::string& value) {
1997
193
  set_has_lower_bound_key();
1998
193
  lower_bound_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1999
  // @@protoc_insertion_point(field_set:yb.tablet.KvStoreInfoPB.lower_bound_key)
2000
193
}
2001
#if LANG_CXX11
2002
0
inline void KvStoreInfoPB::set_lower_bound_key(::std::string&& value) {
2003
0
  set_has_lower_bound_key();
2004
0
  lower_bound_key_.SetNoArena(
2005
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2006
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.KvStoreInfoPB.lower_bound_key)
2007
0
}
2008
#endif
2009
0
inline void KvStoreInfoPB::set_lower_bound_key(const char* value) {
2010
0
  GOOGLE_DCHECK(value != NULL);
2011
0
  set_has_lower_bound_key();
2012
0
  lower_bound_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2013
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.KvStoreInfoPB.lower_bound_key)
2014
0
}
2015
0
inline void KvStoreInfoPB::set_lower_bound_key(const void* value, size_t size) {
2016
0
  set_has_lower_bound_key();
2017
0
  lower_bound_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2018
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2019
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.KvStoreInfoPB.lower_bound_key)
2020
0
}
2021
14
inline ::std::string* KvStoreInfoPB::mutable_lower_bound_key() {
2022
14
  set_has_lower_bound_key();
2023
  // @@protoc_insertion_point(field_mutable:yb.tablet.KvStoreInfoPB.lower_bound_key)
2024
14
  return lower_bound_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2025
14
}
2026
0
inline ::std::string* KvStoreInfoPB::release_lower_bound_key() {
2027
0
  // @@protoc_insertion_point(field_release:yb.tablet.KvStoreInfoPB.lower_bound_key)
2028
0
  clear_has_lower_bound_key();
2029
0
  return lower_bound_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2030
0
}
2031
0
inline void KvStoreInfoPB::set_allocated_lower_bound_key(::std::string* lower_bound_key) {
2032
0
  if (lower_bound_key != NULL) {
2033
0
    set_has_lower_bound_key();
2034
0
  } else {
2035
0
    clear_has_lower_bound_key();
2036
0
  }
2037
0
  lower_bound_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), lower_bound_key);
2038
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.KvStoreInfoPB.lower_bound_key)
2039
0
}
2040
2041
// optional bytes upper_bound_key = 7;
2042
822k
inline bool KvStoreInfoPB::has_upper_bound_key() const {
2043
822k
  return (_has_bits_[0] & 0x00000008u) != 0;
2044
822k
}
2045
328
inline void KvStoreInfoPB::set_has_upper_bound_key() {
2046
328
  _has_bits_[0] |= 0x00000008u;
2047
328
}
2048
819k
inline void KvStoreInfoPB::clear_has_upper_bound_key() {
2049
819k
  _has_bits_[0] &= ~0x00000008u;
2050
819k
}
2051
818k
inline void KvStoreInfoPB::clear_upper_bound_key() {
2052
818k
  upper_bound_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2053
818k
  clear_has_upper_bound_key();
2054
818k
}
2055
2.01k
inline const ::std::string& KvStoreInfoPB::upper_bound_key() const {
2056
  // @@protoc_insertion_point(field_get:yb.tablet.KvStoreInfoPB.upper_bound_key)
2057
2.01k
  return upper_bound_key_.GetNoArena();
2058
2.01k
}
2059
308
inline void KvStoreInfoPB::set_upper_bound_key(const ::std::string& value) {
2060
308
  set_has_upper_bound_key();
2061
308
  upper_bound_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2062
  // @@protoc_insertion_point(field_set:yb.tablet.KvStoreInfoPB.upper_bound_key)
2063
308
}
2064
#if LANG_CXX11
2065
0
inline void KvStoreInfoPB::set_upper_bound_key(::std::string&& value) {
2066
0
  set_has_upper_bound_key();
2067
0
  upper_bound_key_.SetNoArena(
2068
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2069
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.KvStoreInfoPB.upper_bound_key)
2070
0
}
2071
#endif
2072
0
inline void KvStoreInfoPB::set_upper_bound_key(const char* value) {
2073
0
  GOOGLE_DCHECK(value != NULL);
2074
0
  set_has_upper_bound_key();
2075
0
  upper_bound_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2076
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.KvStoreInfoPB.upper_bound_key)
2077
0
}
2078
0
inline void KvStoreInfoPB::set_upper_bound_key(const void* value, size_t size) {
2079
0
  set_has_upper_bound_key();
2080
0
  upper_bound_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2081
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2082
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.KvStoreInfoPB.upper_bound_key)
2083
0
}
2084
15
inline ::std::string* KvStoreInfoPB::mutable_upper_bound_key() {
2085
15
  set_has_upper_bound_key();
2086
  // @@protoc_insertion_point(field_mutable:yb.tablet.KvStoreInfoPB.upper_bound_key)
2087
15
  return upper_bound_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2088
15
}
2089
0
inline ::std::string* KvStoreInfoPB::release_upper_bound_key() {
2090
0
  // @@protoc_insertion_point(field_release:yb.tablet.KvStoreInfoPB.upper_bound_key)
2091
0
  clear_has_upper_bound_key();
2092
0
  return upper_bound_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2093
0
}
2094
0
inline void KvStoreInfoPB::set_allocated_upper_bound_key(::std::string* upper_bound_key) {
2095
0
  if (upper_bound_key != NULL) {
2096
0
    set_has_upper_bound_key();
2097
0
  } else {
2098
0
    clear_has_upper_bound_key();
2099
0
  }
2100
0
  upper_bound_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), upper_bound_key);
2101
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.KvStoreInfoPB.upper_bound_key)
2102
0
}
2103
2104
// optional bool has_been_fully_compacted = 8;
2105
822k
inline bool KvStoreInfoPB::has_has_been_fully_compacted() const {
2106
822k
  return (_has_bits_[0] & 0x00000010u) != 0;
2107
822k
}
2108
822k
inline void KvStoreInfoPB::set_has_has_been_fully_compacted() {
2109
822k
  _has_bits_[0] |= 0x00000010u;
2110
822k
}
2111
0
inline void KvStoreInfoPB::clear_has_has_been_fully_compacted() {
2112
0
  _has_bits_[0] &= ~0x00000010u;
2113
0
}
2114
0
inline void KvStoreInfoPB::clear_has_been_fully_compacted() {
2115
0
  has_been_fully_compacted_ = false;
2116
0
  clear_has_has_been_fully_compacted();
2117
0
}
2118
823k
inline bool KvStoreInfoPB::has_been_fully_compacted() const {
2119
  // @@protoc_insertion_point(field_get:yb.tablet.KvStoreInfoPB.has_been_fully_compacted)
2120
823k
  return has_been_fully_compacted_;
2121
823k
}
2122
819k
inline void KvStoreInfoPB::set_has_been_fully_compacted(bool value) {
2123
819k
  set_has_has_been_fully_compacted();
2124
819k
  has_been_fully_compacted_ = value;
2125
  // @@protoc_insertion_point(field_set:yb.tablet.KvStoreInfoPB.has_been_fully_compacted)
2126
819k
}
2127
2128
// repeated bytes snapshot_schedules = 9;
2129
2.46M
inline int KvStoreInfoPB::snapshot_schedules_size() const {
2130
2.46M
  return snapshot_schedules_.size();
2131
2.46M
}
2132
0
inline void KvStoreInfoPB::clear_snapshot_schedules() {
2133
0
  snapshot_schedules_.Clear();
2134
0
}
2135
0
inline const ::std::string& KvStoreInfoPB::snapshot_schedules(int index) const {
2136
0
  // @@protoc_insertion_point(field_get:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2137
0
  return snapshot_schedules_.Get(index);
2138
0
}
2139
0
inline ::std::string* KvStoreInfoPB::mutable_snapshot_schedules(int index) {
2140
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2141
0
  return snapshot_schedules_.Mutable(index);
2142
0
}
2143
0
inline void KvStoreInfoPB::set_snapshot_schedules(int index, const ::std::string& value) {
2144
0
  // @@protoc_insertion_point(field_set:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2145
0
  snapshot_schedules_.Mutable(index)->assign(value);
2146
0
}
2147
#if LANG_CXX11
2148
0
inline void KvStoreInfoPB::set_snapshot_schedules(int index, ::std::string&& value) {
2149
0
  // @@protoc_insertion_point(field_set:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2150
0
  snapshot_schedules_.Mutable(index)->assign(std::move(value));
2151
0
}
2152
#endif
2153
0
inline void KvStoreInfoPB::set_snapshot_schedules(int index, const char* value) {
2154
0
  GOOGLE_DCHECK(value != NULL);
2155
0
  snapshot_schedules_.Mutable(index)->assign(value);
2156
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2157
0
}
2158
0
inline void KvStoreInfoPB::set_snapshot_schedules(int index, const void* value, size_t size) {
2159
0
  snapshot_schedules_.Mutable(index)->assign(
2160
0
    reinterpret_cast<const char*>(value), size);
2161
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2162
0
}
2163
0
inline ::std::string* KvStoreInfoPB::add_snapshot_schedules() {
2164
0
  // @@protoc_insertion_point(field_add_mutable:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2165
0
  return snapshot_schedules_.Add();
2166
0
}
2167
0
inline void KvStoreInfoPB::add_snapshot_schedules(const ::std::string& value) {
2168
0
  snapshot_schedules_.Add()->assign(value);
2169
0
  // @@protoc_insertion_point(field_add:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2170
0
}
2171
#if LANG_CXX11
2172
0
inline void KvStoreInfoPB::add_snapshot_schedules(::std::string&& value) {
2173
0
  snapshot_schedules_.Add(std::move(value));
2174
0
  // @@protoc_insertion_point(field_add:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2175
0
}
2176
#endif
2177
0
inline void KvStoreInfoPB::add_snapshot_schedules(const char* value) {
2178
0
  GOOGLE_DCHECK(value != NULL);
2179
0
  snapshot_schedules_.Add()->assign(value);
2180
0
  // @@protoc_insertion_point(field_add_char:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2181
0
}
2182
0
inline void KvStoreInfoPB::add_snapshot_schedules(const void* value, size_t size) {
2183
0
  snapshot_schedules_.Add()->assign(reinterpret_cast<const char*>(value), size);
2184
0
  // @@protoc_insertion_point(field_add_pointer:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2185
0
}
2186
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2187
1.45k
KvStoreInfoPB::snapshot_schedules() const {
2188
  // @@protoc_insertion_point(field_list:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2189
1.45k
  return snapshot_schedules_;
2190
1.45k
}
2191
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2192
0
KvStoreInfoPB::mutable_snapshot_schedules() {
2193
0
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.KvStoreInfoPB.snapshot_schedules)
2194
0
  return &snapshot_schedules_;
2195
0
}
2196
2197
// -------------------------------------------------------------------
2198
2199
// RaftGroupReplicaSuperBlockPB
2200
2201
// required bytes primary_table_id = 1;
2202
2
inline bool RaftGroupReplicaSuperBlockPB::has_primary_table_id() const {
2203
2
  return (_has_bits_[0] & 0x00000001u) != 0;
2204
2
}
2205
824k
inline void RaftGroupReplicaSuperBlockPB::set_has_primary_table_id() {
2206
824k
  _has_bits_[0] |= 0x00000001u;
2207
824k
}
2208
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_primary_table_id() {
2209
0
  _has_bits_[0] &= ~0x00000001u;
2210
0
}
2211
0
inline void RaftGroupReplicaSuperBlockPB::clear_primary_table_id() {
2212
0
  primary_table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2213
0
  clear_has_primary_table_id();
2214
0
}
2215
1.64M
inline const ::std::string& RaftGroupReplicaSuperBlockPB::primary_table_id() const {
2216
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.primary_table_id)
2217
1.64M
  return primary_table_id_.GetNoArena();
2218
1.64M
}
2219
818k
inline void RaftGroupReplicaSuperBlockPB::set_primary_table_id(const ::std::string& value) {
2220
818k
  set_has_primary_table_id();
2221
818k
  primary_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2222
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.primary_table_id)
2223
818k
}
2224
#if LANG_CXX11
2225
0
inline void RaftGroupReplicaSuperBlockPB::set_primary_table_id(::std::string&& value) {
2226
0
  set_has_primary_table_id();
2227
0
  primary_table_id_.SetNoArena(
2228
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2229
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.RaftGroupReplicaSuperBlockPB.primary_table_id)
2230
0
}
2231
#endif
2232
0
inline void RaftGroupReplicaSuperBlockPB::set_primary_table_id(const char* value) {
2233
0
  GOOGLE_DCHECK(value != NULL);
2234
0
  set_has_primary_table_id();
2235
0
  primary_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2236
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.RaftGroupReplicaSuperBlockPB.primary_table_id)
2237
0
}
2238
0
inline void RaftGroupReplicaSuperBlockPB::set_primary_table_id(const void* value, size_t size) {
2239
0
  set_has_primary_table_id();
2240
0
  primary_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2241
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2242
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.RaftGroupReplicaSuperBlockPB.primary_table_id)
2243
0
}
2244
3.22k
inline ::std::string* RaftGroupReplicaSuperBlockPB::mutable_primary_table_id() {
2245
3.22k
  set_has_primary_table_id();
2246
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.primary_table_id)
2247
3.22k
  return primary_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2248
3.22k
}
2249
0
inline ::std::string* RaftGroupReplicaSuperBlockPB::release_primary_table_id() {
2250
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.primary_table_id)
2251
0
  clear_has_primary_table_id();
2252
0
  return primary_table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2253
0
}
2254
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_primary_table_id(::std::string* primary_table_id) {
2255
0
  if (primary_table_id != NULL) {
2256
0
    set_has_primary_table_id();
2257
0
  } else {
2258
0
    clear_has_primary_table_id();
2259
0
  }
2260
0
  primary_table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), primary_table_id);
2261
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.primary_table_id)
2262
0
}
2263
2264
// required bytes raft_group_id = 2;
2265
2
inline bool RaftGroupReplicaSuperBlockPB::has_raft_group_id() const {
2266
2
  return (_has_bits_[0] & 0x00000002u) != 0;
2267
2
}
2268
825k
inline void RaftGroupReplicaSuperBlockPB::set_has_raft_group_id() {
2269
825k
  _has_bits_[0] |= 0x00000002u;
2270
825k
}
2271
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_raft_group_id() {
2272
0
  _has_bits_[0] &= ~0x00000002u;
2273
0
}
2274
0
inline void RaftGroupReplicaSuperBlockPB::clear_raft_group_id() {
2275
0
  raft_group_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2276
0
  clear_has_raft_group_id();
2277
0
}
2278
1.64M
inline const ::std::string& RaftGroupReplicaSuperBlockPB::raft_group_id() const {
2279
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.raft_group_id)
2280
1.64M
  return raft_group_id_.GetNoArena();
2281
1.64M
}
2282
819k
inline void RaftGroupReplicaSuperBlockPB::set_raft_group_id(const ::std::string& value) {
2283
819k
  set_has_raft_group_id();
2284
819k
  raft_group_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2285
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.raft_group_id)
2286
819k
}
2287
#if LANG_CXX11
2288
0
inline void RaftGroupReplicaSuperBlockPB::set_raft_group_id(::std::string&& value) {
2289
0
  set_has_raft_group_id();
2290
0
  raft_group_id_.SetNoArena(
2291
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2292
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.RaftGroupReplicaSuperBlockPB.raft_group_id)
2293
0
}
2294
#endif
2295
0
inline void RaftGroupReplicaSuperBlockPB::set_raft_group_id(const char* value) {
2296
0
  GOOGLE_DCHECK(value != NULL);
2297
0
  set_has_raft_group_id();
2298
0
  raft_group_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2299
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.RaftGroupReplicaSuperBlockPB.raft_group_id)
2300
0
}
2301
0
inline void RaftGroupReplicaSuperBlockPB::set_raft_group_id(const void* value, size_t size) {
2302
0
  set_has_raft_group_id();
2303
0
  raft_group_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2304
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2305
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.RaftGroupReplicaSuperBlockPB.raft_group_id)
2306
0
}
2307
3.22k
inline ::std::string* RaftGroupReplicaSuperBlockPB::mutable_raft_group_id() {
2308
3.22k
  set_has_raft_group_id();
2309
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.raft_group_id)
2310
3.22k
  return raft_group_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2311
3.22k
}
2312
0
inline ::std::string* RaftGroupReplicaSuperBlockPB::release_raft_group_id() {
2313
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.raft_group_id)
2314
0
  clear_has_raft_group_id();
2315
0
  return raft_group_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2316
0
}
2317
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_raft_group_id(::std::string* raft_group_id) {
2318
0
  if (raft_group_id != NULL) {
2319
0
    set_has_raft_group_id();
2320
0
  } else {
2321
0
    clear_has_raft_group_id();
2322
0
  }
2323
0
  raft_group_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), raft_group_id);
2324
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.raft_group_id)
2325
0
}
2326
2327
// optional .yb.PartitionPB partition = 13;
2328
823k
inline bool RaftGroupReplicaSuperBlockPB::has_partition() const {
2329
823k
  return (_has_bits_[0] & 0x00000080u) != 0;
2330
823k
}
2331
825k
inline void RaftGroupReplicaSuperBlockPB::set_has_partition() {
2332
825k
  _has_bits_[0] |= 0x00000080u;
2333
825k
}
2334
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_partition() {
2335
0
  _has_bits_[0] &= ~0x00000080u;
2336
0
}
2337
5.23k
inline const ::yb::PartitionPB& RaftGroupReplicaSuperBlockPB::partition() const {
2338
5.23k
  const ::yb::PartitionPB* p = partition_;
2339
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.partition)
2340
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::PartitionPB*>(
2341
18.4E
      &::yb::_PartitionPB_default_instance_);
2342
5.23k
}
2343
0
inline ::yb::PartitionPB* RaftGroupReplicaSuperBlockPB::release_partition() {
2344
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.partition)
2345
0
  clear_has_partition();
2346
0
  ::yb::PartitionPB* temp = partition_;
2347
0
  partition_ = NULL;
2348
0
  return temp;
2349
0
}
2350
825k
inline ::yb::PartitionPB* RaftGroupReplicaSuperBlockPB::mutable_partition() {
2351
825k
  set_has_partition();
2352
825k
  if (partition_ == NULL) {
2353
824k
    partition_ = new ::yb::PartitionPB;
2354
824k
  }
2355
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.partition)
2356
825k
  return partition_;
2357
825k
}
2358
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_partition(::yb::PartitionPB* partition) {
2359
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2360
0
  if (message_arena == NULL) {
2361
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(partition_);
2362
0
  }
2363
0
  if (partition) {
2364
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2365
0
    if (message_arena != submessage_arena) {
2366
0
      partition = ::google::protobuf::internal::GetOwnedMessage(
2367
0
          message_arena, partition, submessage_arena);
2368
0
    }
2369
0
    set_has_partition();
2370
0
  } else {
2371
0
    clear_has_partition();
2372
0
  }
2373
0
  partition_ = partition;
2374
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.partition)
2375
0
}
2376
2377
// optional string OBSOLETE_table_name = 7;
2378
823k
inline bool RaftGroupReplicaSuperBlockPB::has_obsolete_table_name() const {
2379
823k
  return (_has_bits_[0] & 0x00000004u) != 0;
2380
823k
}
2381
0
inline void RaftGroupReplicaSuperBlockPB::set_has_obsolete_table_name() {
2382
0
  _has_bits_[0] |= 0x00000004u;
2383
0
}
2384
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_obsolete_table_name() {
2385
0
  _has_bits_[0] &= ~0x00000004u;
2386
0
}
2387
0
inline void RaftGroupReplicaSuperBlockPB::clear_obsolete_table_name() {
2388
0
  obsolete_table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2389
0
  clear_has_obsolete_table_name();
2390
0
}
2391
0
inline const ::std::string& RaftGroupReplicaSuperBlockPB::obsolete_table_name() const {
2392
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_table_name)
2393
0
  return obsolete_table_name_.GetNoArena();
2394
0
}
2395
0
inline void RaftGroupReplicaSuperBlockPB::set_obsolete_table_name(const ::std::string& value) {
2396
0
  set_has_obsolete_table_name();
2397
0
  obsolete_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2398
0
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_table_name)
2399
0
}
2400
#if LANG_CXX11
2401
0
inline void RaftGroupReplicaSuperBlockPB::set_obsolete_table_name(::std::string&& value) {
2402
0
  set_has_obsolete_table_name();
2403
0
  obsolete_table_name_.SetNoArena(
2404
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2405
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_table_name)
2406
0
}
2407
#endif
2408
0
inline void RaftGroupReplicaSuperBlockPB::set_obsolete_table_name(const char* value) {
2409
0
  GOOGLE_DCHECK(value != NULL);
2410
0
  set_has_obsolete_table_name();
2411
0
  obsolete_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2412
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_table_name)
2413
0
}
2414
0
inline void RaftGroupReplicaSuperBlockPB::set_obsolete_table_name(const char* value, size_t size) {
2415
0
  set_has_obsolete_table_name();
2416
0
  obsolete_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2417
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2418
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_table_name)
2419
0
}
2420
0
inline ::std::string* RaftGroupReplicaSuperBlockPB::mutable_obsolete_table_name() {
2421
0
  set_has_obsolete_table_name();
2422
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_table_name)
2423
0
  return obsolete_table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2424
0
}
2425
0
inline ::std::string* RaftGroupReplicaSuperBlockPB::release_obsolete_table_name() {
2426
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_table_name)
2427
0
  clear_has_obsolete_table_name();
2428
0
  return obsolete_table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2429
0
}
2430
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_obsolete_table_name(::std::string* obsolete_table_name) {
2431
0
  if (obsolete_table_name != NULL) {
2432
0
    set_has_obsolete_table_name();
2433
0
  } else {
2434
0
    clear_has_obsolete_table_name();
2435
0
  }
2436
0
  obsolete_table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), obsolete_table_name);
2437
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_table_name)
2438
0
}
2439
2440
// optional .yb.TableType OBSOLETE_table_type = 15 [default = DEFAULT_TABLE_TYPE];
2441
822k
inline bool RaftGroupReplicaSuperBlockPB::has_obsolete_table_type() const {
2442
822k
  return (_has_bits_[0] & 0x00040000u) != 0;
2443
822k
}
2444
0
inline void RaftGroupReplicaSuperBlockPB::set_has_obsolete_table_type() {
2445
0
  _has_bits_[0] |= 0x00040000u;
2446
0
}
2447
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_obsolete_table_type() {
2448
0
  _has_bits_[0] &= ~0x00040000u;
2449
0
}
2450
0
inline void RaftGroupReplicaSuperBlockPB::clear_obsolete_table_type() {
2451
0
  obsolete_table_type_ = 2;
2452
0
  clear_has_obsolete_table_type();
2453
0
}
2454
1.71k
inline ::yb::TableType RaftGroupReplicaSuperBlockPB::obsolete_table_type() const {
2455
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_table_type)
2456
1.71k
  return static_cast< ::yb::TableType >(obsolete_table_type_);
2457
1.71k
}
2458
0
inline void RaftGroupReplicaSuperBlockPB::set_obsolete_table_type(::yb::TableType value) {
2459
0
  assert(::yb::TableType_IsValid(value));
2460
0
  set_has_obsolete_table_type();
2461
0
  obsolete_table_type_ = value;
2462
0
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_table_type)
2463
0
}
2464
2465
// optional .yb.SchemaPB OBSOLETE_schema = 8;
2466
1.64M
inline bool RaftGroupReplicaSuperBlockPB::has_obsolete_schema() const {
2467
1.64M
  return (_has_bits_[0] & 0x00000020u) != 0;
2468
1.64M
}
2469
0
inline void RaftGroupReplicaSuperBlockPB::set_has_obsolete_schema() {
2470
0
  _has_bits_[0] |= 0x00000020u;
2471
0
}
2472
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_obsolete_schema() {
2473
0
  _has_bits_[0] &= ~0x00000020u;
2474
0
}
2475
0
inline const ::yb::SchemaPB& RaftGroupReplicaSuperBlockPB::obsolete_schema() const {
2476
0
  const ::yb::SchemaPB* p = obsolete_schema_;
2477
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_schema)
2478
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::SchemaPB*>(
2479
0
      &::yb::_SchemaPB_default_instance_);
2480
0
}
2481
0
inline ::yb::SchemaPB* RaftGroupReplicaSuperBlockPB::release_obsolete_schema() {
2482
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_schema)
2483
0
  clear_has_obsolete_schema();
2484
0
  ::yb::SchemaPB* temp = obsolete_schema_;
2485
0
  obsolete_schema_ = NULL;
2486
0
  return temp;
2487
0
}
2488
0
inline ::yb::SchemaPB* RaftGroupReplicaSuperBlockPB::mutable_obsolete_schema() {
2489
0
  set_has_obsolete_schema();
2490
0
  if (obsolete_schema_ == NULL) {
2491
0
    obsolete_schema_ = new ::yb::SchemaPB;
2492
0
  }
2493
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_schema)
2494
0
  return obsolete_schema_;
2495
0
}
2496
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_obsolete_schema(::yb::SchemaPB* obsolete_schema) {
2497
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2498
0
  if (message_arena == NULL) {
2499
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(obsolete_schema_);
2500
0
  }
2501
0
  if (obsolete_schema) {
2502
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2503
0
    if (message_arena != submessage_arena) {
2504
0
      obsolete_schema = ::google::protobuf::internal::GetOwnedMessage(
2505
0
          message_arena, obsolete_schema, submessage_arena);
2506
0
    }
2507
0
    set_has_obsolete_schema();
2508
0
  } else {
2509
0
    clear_has_obsolete_schema();
2510
0
  }
2511
0
  obsolete_schema_ = obsolete_schema;
2512
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_schema)
2513
0
}
2514
2515
// optional uint32 OBSOLETE_schema_version = 9;
2516
823k
inline bool RaftGroupReplicaSuperBlockPB::has_obsolete_schema_version() const {
2517
823k
  return (_has_bits_[0] & 0x00001000u) != 0;
2518
823k
}
2519
0
inline void RaftGroupReplicaSuperBlockPB::set_has_obsolete_schema_version() {
2520
0
  _has_bits_[0] |= 0x00001000u;
2521
0
}
2522
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_obsolete_schema_version() {
2523
0
  _has_bits_[0] &= ~0x00001000u;
2524
0
}
2525
0
inline void RaftGroupReplicaSuperBlockPB::clear_obsolete_schema_version() {
2526
0
  obsolete_schema_version_ = 0u;
2527
0
  clear_has_obsolete_schema_version();
2528
0
}
2529
0
inline ::google::protobuf::uint32 RaftGroupReplicaSuperBlockPB::obsolete_schema_version() const {
2530
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_schema_version)
2531
0
  return obsolete_schema_version_;
2532
0
}
2533
0
inline void RaftGroupReplicaSuperBlockPB::set_obsolete_schema_version(::google::protobuf::uint32 value) {
2534
0
  set_has_obsolete_schema_version();
2535
0
  obsolete_schema_version_ = value;
2536
0
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_schema_version)
2537
0
}
2538
2539
// optional .yb.PartitionSchemaPB OBSOLETE_partition_schema = 14;
2540
1.64M
inline bool RaftGroupReplicaSuperBlockPB::has_obsolete_partition_schema() const {
2541
1.64M
  return (_has_bits_[0] & 0x00000100u) != 0;
2542
1.64M
}
2543
0
inline void RaftGroupReplicaSuperBlockPB::set_has_obsolete_partition_schema() {
2544
0
  _has_bits_[0] |= 0x00000100u;
2545
0
}
2546
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_obsolete_partition_schema() {
2547
0
  _has_bits_[0] &= ~0x00000100u;
2548
0
}
2549
0
inline const ::yb::PartitionSchemaPB& RaftGroupReplicaSuperBlockPB::obsolete_partition_schema() const {
2550
0
  const ::yb::PartitionSchemaPB* p = obsolete_partition_schema_;
2551
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_partition_schema)
2552
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::PartitionSchemaPB*>(
2553
0
      &::yb::_PartitionSchemaPB_default_instance_);
2554
0
}
2555
0
inline ::yb::PartitionSchemaPB* RaftGroupReplicaSuperBlockPB::release_obsolete_partition_schema() {
2556
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_partition_schema)
2557
0
  clear_has_obsolete_partition_schema();
2558
0
  ::yb::PartitionSchemaPB* temp = obsolete_partition_schema_;
2559
0
  obsolete_partition_schema_ = NULL;
2560
0
  return temp;
2561
0
}
2562
0
inline ::yb::PartitionSchemaPB* RaftGroupReplicaSuperBlockPB::mutable_obsolete_partition_schema() {
2563
0
  set_has_obsolete_partition_schema();
2564
0
  if (obsolete_partition_schema_ == NULL) {
2565
0
    obsolete_partition_schema_ = new ::yb::PartitionSchemaPB;
2566
0
  }
2567
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_partition_schema)
2568
0
  return obsolete_partition_schema_;
2569
0
}
2570
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_obsolete_partition_schema(::yb::PartitionSchemaPB* obsolete_partition_schema) {
2571
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2572
0
  if (message_arena == NULL) {
2573
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(obsolete_partition_schema_);
2574
0
  }
2575
0
  if (obsolete_partition_schema) {
2576
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2577
0
    if (message_arena != submessage_arena) {
2578
0
      obsolete_partition_schema = ::google::protobuf::internal::GetOwnedMessage(
2579
0
          message_arena, obsolete_partition_schema, submessage_arena);
2580
0
    }
2581
0
    set_has_obsolete_partition_schema();
2582
0
  } else {
2583
0
    clear_has_obsolete_partition_schema();
2584
0
  }
2585
0
  obsolete_partition_schema_ = obsolete_partition_schema;
2586
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_partition_schema)
2587
0
}
2588
2589
// optional .yb.tablet.TabletDataState tablet_data_state = 10 [default = TABLET_DATA_UNKNOWN];
2590
822k
inline bool RaftGroupReplicaSuperBlockPB::has_tablet_data_state() const {
2591
822k
  return (_has_bits_[0] & 0x00020000u) != 0;
2592
822k
}
2593
824k
inline void RaftGroupReplicaSuperBlockPB::set_has_tablet_data_state() {
2594
824k
  _has_bits_[0] |= 0x00020000u;
2595
824k
}
2596
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_tablet_data_state() {
2597
0
  _has_bits_[0] &= ~0x00020000u;
2598
0
}
2599
0
inline void RaftGroupReplicaSuperBlockPB::clear_tablet_data_state() {
2600
0
  tablet_data_state_ = 999;
2601
0
  clear_has_tablet_data_state();
2602
0
}
2603
1.64M
inline ::yb::tablet::TabletDataState RaftGroupReplicaSuperBlockPB::tablet_data_state() const {
2604
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.tablet_data_state)
2605
1.64M
  return static_cast< ::yb::tablet::TabletDataState >(tablet_data_state_);
2606
1.64M
}
2607
824k
inline void RaftGroupReplicaSuperBlockPB::set_tablet_data_state(::yb::tablet::TabletDataState value) {
2608
824k
  assert(::yb::tablet::TabletDataState_IsValid(value));
2609
824k
  set_has_tablet_data_state();
2610
824k
  tablet_data_state_ = value;
2611
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.tablet_data_state)
2612
824k
}
2613
2614
// optional string wal_dir = 18;
2615
823k
inline bool RaftGroupReplicaSuperBlockPB::has_wal_dir() const {
2616
823k
  return (_has_bits_[0] & 0x00000010u) != 0;
2617
823k
}
2618
826k
inline void RaftGroupReplicaSuperBlockPB::set_has_wal_dir() {
2619
826k
  _has_bits_[0] |= 0x00000010u;
2620
826k
}
2621
1.43k
inline void RaftGroupReplicaSuperBlockPB::clear_has_wal_dir() {
2622
1.43k
  _has_bits_[0] &= ~0x00000010u;
2623
1.43k
}
2624
1.43k
inline void RaftGroupReplicaSuperBlockPB::clear_wal_dir() {
2625
1.43k
  wal_dir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2626
1.43k
  clear_has_wal_dir();
2627
1.43k
}
2628
3.29M
inline const ::std::string& RaftGroupReplicaSuperBlockPB::wal_dir() const {
2629
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.wal_dir)
2630
3.29M
  return wal_dir_.GetNoArena();
2631
3.29M
}
2632
820k
inline void RaftGroupReplicaSuperBlockPB::set_wal_dir(const ::std::string& value) {
2633
820k
  set_has_wal_dir();
2634
820k
  wal_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2635
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.wal_dir)
2636
820k
}
2637
#if LANG_CXX11
2638
0
inline void RaftGroupReplicaSuperBlockPB::set_wal_dir(::std::string&& value) {
2639
0
  set_has_wal_dir();
2640
0
  wal_dir_.SetNoArena(
2641
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2642
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.RaftGroupReplicaSuperBlockPB.wal_dir)
2643
0
}
2644
#endif
2645
0
inline void RaftGroupReplicaSuperBlockPB::set_wal_dir(const char* value) {
2646
0
  GOOGLE_DCHECK(value != NULL);
2647
0
  set_has_wal_dir();
2648
0
  wal_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2649
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.RaftGroupReplicaSuperBlockPB.wal_dir)
2650
0
}
2651
0
inline void RaftGroupReplicaSuperBlockPB::set_wal_dir(const char* value, size_t size) {
2652
0
  set_has_wal_dir();
2653
0
  wal_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2654
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2655
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.RaftGroupReplicaSuperBlockPB.wal_dir)
2656
0
}
2657
3.22k
inline ::std::string* RaftGroupReplicaSuperBlockPB::mutable_wal_dir() {
2658
3.22k
  set_has_wal_dir();
2659
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.wal_dir)
2660
3.22k
  return wal_dir_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2661
3.22k
}
2662
0
inline ::std::string* RaftGroupReplicaSuperBlockPB::release_wal_dir() {
2663
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.wal_dir)
2664
0
  clear_has_wal_dir();
2665
0
  return wal_dir_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2666
0
}
2667
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_wal_dir(::std::string* wal_dir) {
2668
0
  if (wal_dir != NULL) {
2669
0
    set_has_wal_dir();
2670
0
  } else {
2671
0
    clear_has_wal_dir();
2672
0
  }
2673
0
  wal_dir_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), wal_dir);
2674
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.wal_dir)
2675
0
}
2676
2677
// optional .yb.OpIdPB tombstone_last_logged_opid = 12;
2678
1.64M
inline bool RaftGroupReplicaSuperBlockPB::has_tombstone_last_logged_opid() const {
2679
1.64M
  return (_has_bits_[0] & 0x00000040u) != 0;
2680
1.64M
}
2681
94.8k
inline void RaftGroupReplicaSuperBlockPB::set_has_tombstone_last_logged_opid() {
2682
94.8k
  _has_bits_[0] |= 0x00000040u;
2683
94.8k
}
2684
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_tombstone_last_logged_opid() {
2685
0
  _has_bits_[0] &= ~0x00000040u;
2686
0
}
2687
8
inline const ::yb::OpIdPB& RaftGroupReplicaSuperBlockPB::tombstone_last_logged_opid() const {
2688
8
  const ::yb::OpIdPB* p = tombstone_last_logged_opid_;
2689
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.tombstone_last_logged_opid)
2690
8
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
2691
0
      &::yb::_OpIdPB_default_instance_);
2692
8
}
2693
0
inline ::yb::OpIdPB* RaftGroupReplicaSuperBlockPB::release_tombstone_last_logged_opid() {
2694
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.tombstone_last_logged_opid)
2695
0
  clear_has_tombstone_last_logged_opid();
2696
0
  ::yb::OpIdPB* temp = tombstone_last_logged_opid_;
2697
0
  tombstone_last_logged_opid_ = NULL;
2698
0
  return temp;
2699
0
}
2700
94.7k
inline ::yb::OpIdPB* RaftGroupReplicaSuperBlockPB::mutable_tombstone_last_logged_opid() {
2701
94.7k
  set_has_tombstone_last_logged_opid();
2702
94.7k
  if (tombstone_last_logged_opid_ == NULL) {
2703
94.7k
    tombstone_last_logged_opid_ = new ::yb::OpIdPB;
2704
94.7k
  }
2705
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.tombstone_last_logged_opid)
2706
94.7k
  return tombstone_last_logged_opid_;
2707
94.7k
}
2708
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_tombstone_last_logged_opid(::yb::OpIdPB* tombstone_last_logged_opid) {
2709
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2710
0
  if (message_arena == NULL) {
2711
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(tombstone_last_logged_opid_);
2712
0
  }
2713
0
  if (tombstone_last_logged_opid) {
2714
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2715
0
    if (message_arena != submessage_arena) {
2716
0
      tombstone_last_logged_opid = ::google::protobuf::internal::GetOwnedMessage(
2717
0
          message_arena, tombstone_last_logged_opid, submessage_arena);
2718
0
    }
2719
0
    set_has_tombstone_last_logged_opid();
2720
0
  } else {
2721
0
    clear_has_tombstone_last_logged_opid();
2722
0
  }
2723
0
  tombstone_last_logged_opid_ = tombstone_last_logged_opid;
2724
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.tombstone_last_logged_opid)
2725
0
}
2726
2727
// optional .yb.tablet.KvStoreInfoPB kv_store = 24;
2728
1.65M
inline bool RaftGroupReplicaSuperBlockPB::has_kv_store() const {
2729
1.65M
  return (_has_bits_[0] & 0x00000400u) != 0;
2730
1.65M
}
2731
830k
inline void RaftGroupReplicaSuperBlockPB::set_has_kv_store() {
2732
830k
  _has_bits_[0] |= 0x00000400u;
2733
830k
}
2734
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_kv_store() {
2735
0
  _has_bits_[0] &= ~0x00000400u;
2736
0
}
2737
0
inline void RaftGroupReplicaSuperBlockPB::clear_kv_store() {
2738
0
  if (kv_store_ != NULL) kv_store_->Clear();
2739
0
  clear_has_kv_store();
2740
0
}
2741
5.99k
inline const ::yb::tablet::KvStoreInfoPB& RaftGroupReplicaSuperBlockPB::kv_store() const {
2742
5.99k
  const ::yb::tablet::KvStoreInfoPB* p = kv_store_;
2743
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.kv_store)
2744
5.99k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::KvStoreInfoPB*>(
2745
0
      &::yb::tablet::_KvStoreInfoPB_default_instance_);
2746
5.99k
}
2747
0
inline ::yb::tablet::KvStoreInfoPB* RaftGroupReplicaSuperBlockPB::release_kv_store() {
2748
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.kv_store)
2749
0
  clear_has_kv_store();
2750
0
  ::yb::tablet::KvStoreInfoPB* temp = kv_store_;
2751
0
  kv_store_ = NULL;
2752
0
  return temp;
2753
0
}
2754
830k
inline ::yb::tablet::KvStoreInfoPB* RaftGroupReplicaSuperBlockPB::mutable_kv_store() {
2755
830k
  set_has_kv_store();
2756
830k
  if (kv_store_ == NULL) {
2757
824k
    kv_store_ = new ::yb::tablet::KvStoreInfoPB;
2758
824k
  }
2759
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.kv_store)
2760
830k
  return kv_store_;
2761
830k
}
2762
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_kv_store(::yb::tablet::KvStoreInfoPB* kv_store) {
2763
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2764
0
  if (message_arena == NULL) {
2765
0
    delete kv_store_;
2766
0
  }
2767
0
  if (kv_store) {
2768
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2769
0
    if (message_arena != submessage_arena) {
2770
0
      kv_store = ::google::protobuf::internal::GetOwnedMessage(
2771
0
          message_arena, kv_store, submessage_arena);
2772
0
    }
2773
0
    set_has_kv_store();
2774
0
  } else {
2775
0
    clear_has_kv_store();
2776
0
  }
2777
0
  kv_store_ = kv_store;
2778
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.kv_store)
2779
0
}
2780
2781
// optional string OBSOLETE_rocksdb_dir = 16;
2782
823k
inline bool RaftGroupReplicaSuperBlockPB::has_obsolete_rocksdb_dir() const {
2783
823k
  return (_has_bits_[0] & 0x00000008u) != 0;
2784
823k
}
2785
0
inline void RaftGroupReplicaSuperBlockPB::set_has_obsolete_rocksdb_dir() {
2786
0
  _has_bits_[0] |= 0x00000008u;
2787
0
}
2788
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_obsolete_rocksdb_dir() {
2789
0
  _has_bits_[0] &= ~0x00000008u;
2790
0
}
2791
0
inline void RaftGroupReplicaSuperBlockPB::clear_obsolete_rocksdb_dir() {
2792
0
  obsolete_rocksdb_dir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2793
0
  clear_has_obsolete_rocksdb_dir();
2794
0
}
2795
0
inline const ::std::string& RaftGroupReplicaSuperBlockPB::obsolete_rocksdb_dir() const {
2796
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_dir)
2797
0
  return obsolete_rocksdb_dir_.GetNoArena();
2798
0
}
2799
0
inline void RaftGroupReplicaSuperBlockPB::set_obsolete_rocksdb_dir(const ::std::string& value) {
2800
0
  set_has_obsolete_rocksdb_dir();
2801
0
  obsolete_rocksdb_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2802
0
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_dir)
2803
0
}
2804
#if LANG_CXX11
2805
0
inline void RaftGroupReplicaSuperBlockPB::set_obsolete_rocksdb_dir(::std::string&& value) {
2806
0
  set_has_obsolete_rocksdb_dir();
2807
0
  obsolete_rocksdb_dir_.SetNoArena(
2808
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2809
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_dir)
2810
0
}
2811
#endif
2812
0
inline void RaftGroupReplicaSuperBlockPB::set_obsolete_rocksdb_dir(const char* value) {
2813
0
  GOOGLE_DCHECK(value != NULL);
2814
0
  set_has_obsolete_rocksdb_dir();
2815
0
  obsolete_rocksdb_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2816
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_dir)
2817
0
}
2818
0
inline void RaftGroupReplicaSuperBlockPB::set_obsolete_rocksdb_dir(const char* value, size_t size) {
2819
0
  set_has_obsolete_rocksdb_dir();
2820
0
  obsolete_rocksdb_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2821
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2822
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_dir)
2823
0
}
2824
0
inline ::std::string* RaftGroupReplicaSuperBlockPB::mutable_obsolete_rocksdb_dir() {
2825
0
  set_has_obsolete_rocksdb_dir();
2826
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_dir)
2827
0
  return obsolete_rocksdb_dir_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2828
0
}
2829
0
inline ::std::string* RaftGroupReplicaSuperBlockPB::release_obsolete_rocksdb_dir() {
2830
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_dir)
2831
0
  clear_has_obsolete_rocksdb_dir();
2832
0
  return obsolete_rocksdb_dir_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2833
0
}
2834
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_obsolete_rocksdb_dir(::std::string* obsolete_rocksdb_dir) {
2835
0
  if (obsolete_rocksdb_dir != NULL) {
2836
0
    set_has_obsolete_rocksdb_dir();
2837
0
  } else {
2838
0
    clear_has_obsolete_rocksdb_dir();
2839
0
  }
2840
0
  obsolete_rocksdb_dir_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), obsolete_rocksdb_dir);
2841
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_dir)
2842
0
}
2843
2844
// repeated .yb.tablet.FilePB OBSOLETE_rocksdb_files = 17;
2845
1.64M
inline int RaftGroupReplicaSuperBlockPB::obsolete_rocksdb_files_size() const {
2846
1.64M
  return obsolete_rocksdb_files_.size();
2847
1.64M
}
2848
0
inline void RaftGroupReplicaSuperBlockPB::clear_obsolete_rocksdb_files() {
2849
0
  obsolete_rocksdb_files_.Clear();
2850
0
}
2851
0
inline const ::yb::tablet::FilePB& RaftGroupReplicaSuperBlockPB::obsolete_rocksdb_files(int index) const {
2852
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_files)
2853
0
  return obsolete_rocksdb_files_.Get(index);
2854
0
}
2855
0
inline ::yb::tablet::FilePB* RaftGroupReplicaSuperBlockPB::mutable_obsolete_rocksdb_files(int index) {
2856
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_files)
2857
0
  return obsolete_rocksdb_files_.Mutable(index);
2858
0
}
2859
0
inline ::yb::tablet::FilePB* RaftGroupReplicaSuperBlockPB::add_obsolete_rocksdb_files() {
2860
0
  // @@protoc_insertion_point(field_add:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_files)
2861
0
  return obsolete_rocksdb_files_.Add();
2862
0
}
2863
inline ::google::protobuf::RepeatedPtrField< ::yb::tablet::FilePB >*
2864
0
RaftGroupReplicaSuperBlockPB::mutable_obsolete_rocksdb_files() {
2865
0
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_files)
2866
0
  return &obsolete_rocksdb_files_;
2867
0
}
2868
inline const ::google::protobuf::RepeatedPtrField< ::yb::tablet::FilePB >&
2869
0
RaftGroupReplicaSuperBlockPB::obsolete_rocksdb_files() const {
2870
0
  // @@protoc_insertion_point(field_list:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_rocksdb_files)
2871
0
  return obsolete_rocksdb_files_;
2872
0
}
2873
2874
// repeated .yb.tablet.SnapshotFilePB OBSOLETE_snapshot_files = 20;
2875
1.64M
inline int RaftGroupReplicaSuperBlockPB::obsolete_snapshot_files_size() const {
2876
1.64M
  return obsolete_snapshot_files_.size();
2877
1.64M
}
2878
0
inline void RaftGroupReplicaSuperBlockPB::clear_obsolete_snapshot_files() {
2879
0
  obsolete_snapshot_files_.Clear();
2880
0
}
2881
0
inline const ::yb::tablet::SnapshotFilePB& RaftGroupReplicaSuperBlockPB::obsolete_snapshot_files(int index) const {
2882
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_snapshot_files)
2883
0
  return obsolete_snapshot_files_.Get(index);
2884
0
}
2885
0
inline ::yb::tablet::SnapshotFilePB* RaftGroupReplicaSuperBlockPB::mutable_obsolete_snapshot_files(int index) {
2886
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_snapshot_files)
2887
0
  return obsolete_snapshot_files_.Mutable(index);
2888
0
}
2889
0
inline ::yb::tablet::SnapshotFilePB* RaftGroupReplicaSuperBlockPB::add_obsolete_snapshot_files() {
2890
0
  // @@protoc_insertion_point(field_add:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_snapshot_files)
2891
0
  return obsolete_snapshot_files_.Add();
2892
0
}
2893
inline ::google::protobuf::RepeatedPtrField< ::yb::tablet::SnapshotFilePB >*
2894
0
RaftGroupReplicaSuperBlockPB::mutable_obsolete_snapshot_files() {
2895
0
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_snapshot_files)
2896
0
  return &obsolete_snapshot_files_;
2897
0
}
2898
inline const ::google::protobuf::RepeatedPtrField< ::yb::tablet::SnapshotFilePB >&
2899
0
RaftGroupReplicaSuperBlockPB::obsolete_snapshot_files() const {
2900
0
  // @@protoc_insertion_point(field_list:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_snapshot_files)
2901
0
  return obsolete_snapshot_files_;
2902
0
}
2903
2904
// repeated .yb.DeletedColumnPB OBSOLETE_deleted_cols = 19;
2905
1.64M
inline int RaftGroupReplicaSuperBlockPB::obsolete_deleted_cols_size() const {
2906
1.64M
  return obsolete_deleted_cols_.size();
2907
1.64M
}
2908
0
inline const ::yb::DeletedColumnPB& RaftGroupReplicaSuperBlockPB::obsolete_deleted_cols(int index) const {
2909
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_deleted_cols)
2910
0
  return obsolete_deleted_cols_.Get(index);
2911
0
}
2912
0
inline ::yb::DeletedColumnPB* RaftGroupReplicaSuperBlockPB::mutable_obsolete_deleted_cols(int index) {
2913
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_deleted_cols)
2914
0
  return obsolete_deleted_cols_.Mutable(index);
2915
0
}
2916
0
inline ::yb::DeletedColumnPB* RaftGroupReplicaSuperBlockPB::add_obsolete_deleted_cols() {
2917
0
  // @@protoc_insertion_point(field_add:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_deleted_cols)
2918
0
  return obsolete_deleted_cols_.Add();
2919
0
}
2920
inline ::google::protobuf::RepeatedPtrField< ::yb::DeletedColumnPB >*
2921
0
RaftGroupReplicaSuperBlockPB::mutable_obsolete_deleted_cols() {
2922
0
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_deleted_cols)
2923
0
  return &obsolete_deleted_cols_;
2924
0
}
2925
inline const ::google::protobuf::RepeatedPtrField< ::yb::DeletedColumnPB >&
2926
0
RaftGroupReplicaSuperBlockPB::obsolete_deleted_cols() const {
2927
0
  // @@protoc_insertion_point(field_list:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_deleted_cols)
2928
0
  return obsolete_deleted_cols_;
2929
0
}
2930
2931
// repeated .yb.IndexInfoPB OBSOLETE_indexes = 21;
2932
1.64M
inline int RaftGroupReplicaSuperBlockPB::obsolete_indexes_size() const {
2933
1.64M
  return obsolete_indexes_.size();
2934
1.64M
}
2935
0
inline const ::yb::IndexInfoPB& RaftGroupReplicaSuperBlockPB::obsolete_indexes(int index) const {
2936
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_indexes)
2937
0
  return obsolete_indexes_.Get(index);
2938
0
}
2939
0
inline ::yb::IndexInfoPB* RaftGroupReplicaSuperBlockPB::mutable_obsolete_indexes(int index) {
2940
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_indexes)
2941
0
  return obsolete_indexes_.Mutable(index);
2942
0
}
2943
0
inline ::yb::IndexInfoPB* RaftGroupReplicaSuperBlockPB::add_obsolete_indexes() {
2944
0
  // @@protoc_insertion_point(field_add:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_indexes)
2945
0
  return obsolete_indexes_.Add();
2946
0
}
2947
inline ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >*
2948
0
RaftGroupReplicaSuperBlockPB::mutable_obsolete_indexes() {
2949
0
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_indexes)
2950
0
  return &obsolete_indexes_;
2951
0
}
2952
inline const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >&
2953
825k
RaftGroupReplicaSuperBlockPB::obsolete_indexes() const {
2954
  // @@protoc_insertion_point(field_list:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_indexes)
2955
825k
  return obsolete_indexes_;
2956
825k
}
2957
2958
// optional .yb.IndexInfoPB OBSOLETE_index_info = 22;
2959
1.64M
inline bool RaftGroupReplicaSuperBlockPB::has_obsolete_index_info() const {
2960
1.64M
  return (_has_bits_[0] & 0x00000200u) != 0;
2961
1.64M
}
2962
0
inline void RaftGroupReplicaSuperBlockPB::set_has_obsolete_index_info() {
2963
0
  _has_bits_[0] |= 0x00000200u;
2964
0
}
2965
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_obsolete_index_info() {
2966
0
  _has_bits_[0] &= ~0x00000200u;
2967
0
}
2968
0
inline const ::yb::IndexInfoPB& RaftGroupReplicaSuperBlockPB::obsolete_index_info() const {
2969
0
  const ::yb::IndexInfoPB* p = obsolete_index_info_;
2970
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_index_info)
2971
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::IndexInfoPB*>(
2972
0
      &::yb::_IndexInfoPB_default_instance_);
2973
0
}
2974
0
inline ::yb::IndexInfoPB* RaftGroupReplicaSuperBlockPB::release_obsolete_index_info() {
2975
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_index_info)
2976
0
  clear_has_obsolete_index_info();
2977
0
  ::yb::IndexInfoPB* temp = obsolete_index_info_;
2978
0
  obsolete_index_info_ = NULL;
2979
0
  return temp;
2980
0
}
2981
0
inline ::yb::IndexInfoPB* RaftGroupReplicaSuperBlockPB::mutable_obsolete_index_info() {
2982
0
  set_has_obsolete_index_info();
2983
0
  if (obsolete_index_info_ == NULL) {
2984
0
    obsolete_index_info_ = new ::yb::IndexInfoPB;
2985
0
  }
2986
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_index_info)
2987
0
  return obsolete_index_info_;
2988
0
}
2989
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_obsolete_index_info(::yb::IndexInfoPB* obsolete_index_info) {
2990
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2991
0
  if (message_arena == NULL) {
2992
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(obsolete_index_info_);
2993
0
  }
2994
0
  if (obsolete_index_info) {
2995
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2996
0
    if (message_arena != submessage_arena) {
2997
0
      obsolete_index_info = ::google::protobuf::internal::GetOwnedMessage(
2998
0
          message_arena, obsolete_index_info, submessage_arena);
2999
0
    }
3000
0
    set_has_obsolete_index_info();
3001
0
  } else {
3002
0
    clear_has_obsolete_index_info();
3003
0
  }
3004
0
  obsolete_index_info_ = obsolete_index_info;
3005
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_index_info)
3006
0
}
3007
3008
// repeated .yb.tablet.TableInfoPB OBSOLETE_tables = 23;
3009
1.64M
inline int RaftGroupReplicaSuperBlockPB::obsolete_tables_size() const {
3010
1.64M
  return obsolete_tables_.size();
3011
1.64M
}
3012
0
inline void RaftGroupReplicaSuperBlockPB::clear_obsolete_tables() {
3013
0
  obsolete_tables_.Clear();
3014
0
}
3015
0
inline const ::yb::tablet::TableInfoPB& RaftGroupReplicaSuperBlockPB::obsolete_tables(int index) const {
3016
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_tables)
3017
0
  return obsolete_tables_.Get(index);
3018
0
}
3019
0
inline ::yb::tablet::TableInfoPB* RaftGroupReplicaSuperBlockPB::mutable_obsolete_tables(int index) {
3020
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_tables)
3021
0
  return obsolete_tables_.Mutable(index);
3022
0
}
3023
0
inline ::yb::tablet::TableInfoPB* RaftGroupReplicaSuperBlockPB::add_obsolete_tables() {
3024
0
  // @@protoc_insertion_point(field_add:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_tables)
3025
0
  return obsolete_tables_.Add();
3026
0
}
3027
inline ::google::protobuf::RepeatedPtrField< ::yb::tablet::TableInfoPB >*
3028
0
RaftGroupReplicaSuperBlockPB::mutable_obsolete_tables() {
3029
0
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_tables)
3030
0
  return &obsolete_tables_;
3031
0
}
3032
inline const ::google::protobuf::RepeatedPtrField< ::yb::tablet::TableInfoPB >&
3033
825k
RaftGroupReplicaSuperBlockPB::obsolete_tables() const {
3034
  // @@protoc_insertion_point(field_list:yb.tablet.RaftGroupReplicaSuperBlockPB.OBSOLETE_tables)
3035
825k
  return obsolete_tables_;
3036
825k
}
3037
3038
// optional bool colocated = 25 [default = false];
3039
823k
inline bool RaftGroupReplicaSuperBlockPB::has_colocated() const {
3040
823k
  return (_has_bits_[0] & 0x00002000u) != 0;
3041
823k
}
3042
822k
inline void RaftGroupReplicaSuperBlockPB::set_has_colocated() {
3043
822k
  _has_bits_[0] |= 0x00002000u;
3044
822k
}
3045
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_colocated() {
3046
0
  _has_bits_[0] &= ~0x00002000u;
3047
0
}
3048
0
inline void RaftGroupReplicaSuperBlockPB::clear_colocated() {
3049
0
  colocated_ = false;
3050
0
  clear_has_colocated();
3051
0
}
3052
824k
inline bool RaftGroupReplicaSuperBlockPB::colocated() const {
3053
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.colocated)
3054
824k
  return colocated_;
3055
824k
}
3056
818k
inline void RaftGroupReplicaSuperBlockPB::set_colocated(bool value) {
3057
818k
  set_has_colocated();
3058
818k
  colocated_ = value;
3059
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.colocated)
3060
818k
}
3061
3062
// optional int64 cdc_min_replicated_index = 26 [default = 9223372036854775807];
3063
822k
inline bool RaftGroupReplicaSuperBlockPB::has_cdc_min_replicated_index() const {
3064
822k
  return (_has_bits_[0] & 0x00080000u) != 0;
3065
822k
}
3066
822k
inline void RaftGroupReplicaSuperBlockPB::set_has_cdc_min_replicated_index() {
3067
822k
  _has_bits_[0] |= 0x00080000u;
3068
822k
}
3069
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_cdc_min_replicated_index() {
3070
0
  _has_bits_[0] &= ~0x00080000u;
3071
0
}
3072
0
inline void RaftGroupReplicaSuperBlockPB::clear_cdc_min_replicated_index() {
3073
0
  cdc_min_replicated_index_ = GOOGLE_LONGLONG(9223372036854775807);
3074
0
  clear_has_cdc_min_replicated_index();
3075
0
}
3076
1.64M
inline ::google::protobuf::int64 RaftGroupReplicaSuperBlockPB::cdc_min_replicated_index() const {
3077
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.cdc_min_replicated_index)
3078
1.64M
  return cdc_min_replicated_index_;
3079
1.64M
}
3080
818k
inline void RaftGroupReplicaSuperBlockPB::set_cdc_min_replicated_index(::google::protobuf::int64 value) {
3081
818k
  set_has_cdc_min_replicated_index();
3082
818k
  cdc_min_replicated_index_ = value;
3083
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.cdc_min_replicated_index)
3084
818k
}
3085
3086
// optional bool is_under_twodc_replication = 27;
3087
823k
inline bool RaftGroupReplicaSuperBlockPB::has_is_under_twodc_replication() const {
3088
823k
  return (_has_bits_[0] & 0x00004000u) != 0;
3089
823k
}
3090
822k
inline void RaftGroupReplicaSuperBlockPB::set_has_is_under_twodc_replication() {
3091
822k
  _has_bits_[0] |= 0x00004000u;
3092
822k
}
3093
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_is_under_twodc_replication() {
3094
0
  _has_bits_[0] &= ~0x00004000u;
3095
0
}
3096
0
inline void RaftGroupReplicaSuperBlockPB::clear_is_under_twodc_replication() {
3097
0
  is_under_twodc_replication_ = false;
3098
0
  clear_has_is_under_twodc_replication();
3099
0
}
3100
822k
inline bool RaftGroupReplicaSuperBlockPB::is_under_twodc_replication() const {
3101
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.is_under_twodc_replication)
3102
822k
  return is_under_twodc_replication_;
3103
822k
}
3104
819k
inline void RaftGroupReplicaSuperBlockPB::set_is_under_twodc_replication(bool value) {
3105
819k
  set_has_is_under_twodc_replication();
3106
819k
  is_under_twodc_replication_ = value;
3107
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.is_under_twodc_replication)
3108
819k
}
3109
3110
// optional bool hidden = 28;
3111
823k
inline bool RaftGroupReplicaSuperBlockPB::has_hidden() const {
3112
823k
  return (_has_bits_[0] & 0x00008000u) != 0;
3113
823k
}
3114
822k
inline void RaftGroupReplicaSuperBlockPB::set_has_hidden() {
3115
822k
  _has_bits_[0] |= 0x00008000u;
3116
822k
}
3117
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_hidden() {
3118
0
  _has_bits_[0] &= ~0x00008000u;
3119
0
}
3120
0
inline void RaftGroupReplicaSuperBlockPB::clear_hidden() {
3121
0
  hidden_ = false;
3122
0
  clear_has_hidden();
3123
0
}
3124
822k
inline bool RaftGroupReplicaSuperBlockPB::hidden() const {
3125
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.hidden)
3126
822k
  return hidden_;
3127
822k
}
3128
819k
inline void RaftGroupReplicaSuperBlockPB::set_hidden(bool value) {
3129
819k
  set_has_hidden();
3130
819k
  hidden_ = value;
3131
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.hidden)
3132
819k
}
3133
3134
// optional fixed64 restoration_hybrid_time = 32;
3135
823k
inline bool RaftGroupReplicaSuperBlockPB::has_restoration_hybrid_time() const {
3136
823k
  return (_has_bits_[0] & 0x00010000u) != 0;
3137
823k
}
3138
821k
inline void RaftGroupReplicaSuperBlockPB::set_has_restoration_hybrid_time() {
3139
821k
  _has_bits_[0] |= 0x00010000u;
3140
821k
}
3141
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_restoration_hybrid_time() {
3142
0
  _has_bits_[0] &= ~0x00010000u;
3143
0
}
3144
0
inline void RaftGroupReplicaSuperBlockPB::clear_restoration_hybrid_time() {
3145
0
  restoration_hybrid_time_ = GOOGLE_ULONGLONG(0);
3146
0
  clear_has_restoration_hybrid_time();
3147
0
}
3148
823k
inline ::google::protobuf::uint64 RaftGroupReplicaSuperBlockPB::restoration_hybrid_time() const {
3149
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.restoration_hybrid_time)
3150
823k
  return restoration_hybrid_time_;
3151
823k
}
3152
817k
inline void RaftGroupReplicaSuperBlockPB::set_restoration_hybrid_time(::google::protobuf::uint64 value) {
3153
817k
  set_has_restoration_hybrid_time();
3154
817k
  restoration_hybrid_time_ = value;
3155
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.restoration_hybrid_time)
3156
817k
}
3157
3158
// optional .yb.OpIdPB split_op_id = 29;
3159
1.64M
inline bool RaftGroupReplicaSuperBlockPB::has_split_op_id() const {
3160
1.64M
  return (_has_bits_[0] & 0x00000800u) != 0;
3161
1.64M
}
3162
96
inline void RaftGroupReplicaSuperBlockPB::set_has_split_op_id() {
3163
96
  _has_bits_[0] |= 0x00000800u;
3164
96
}
3165
0
inline void RaftGroupReplicaSuperBlockPB::clear_has_split_op_id() {
3166
0
  _has_bits_[0] &= ~0x00000800u;
3167
0
}
3168
6
inline const ::yb::OpIdPB& RaftGroupReplicaSuperBlockPB::split_op_id() const {
3169
6
  const ::yb::OpIdPB* p = split_op_id_;
3170
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.split_op_id)
3171
6
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
3172
0
      &::yb::_OpIdPB_default_instance_);
3173
6
}
3174
0
inline ::yb::OpIdPB* RaftGroupReplicaSuperBlockPB::release_split_op_id() {
3175
0
  // @@protoc_insertion_point(field_release:yb.tablet.RaftGroupReplicaSuperBlockPB.split_op_id)
3176
0
  clear_has_split_op_id();
3177
0
  ::yb::OpIdPB* temp = split_op_id_;
3178
0
  split_op_id_ = NULL;
3179
0
  return temp;
3180
0
}
3181
96
inline ::yb::OpIdPB* RaftGroupReplicaSuperBlockPB::mutable_split_op_id() {
3182
96
  set_has_split_op_id();
3183
96
  if (split_op_id_ == NULL) {
3184
96
    split_op_id_ = new ::yb::OpIdPB;
3185
96
  }
3186
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.split_op_id)
3187
96
  return split_op_id_;
3188
96
}
3189
0
inline void RaftGroupReplicaSuperBlockPB::set_allocated_split_op_id(::yb::OpIdPB* split_op_id) {
3190
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3191
0
  if (message_arena == NULL) {
3192
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(split_op_id_);
3193
0
  }
3194
0
  if (split_op_id) {
3195
0
    ::google::protobuf::Arena* submessage_arena = NULL;
3196
0
    if (message_arena != submessage_arena) {
3197
0
      split_op_id = ::google::protobuf::internal::GetOwnedMessage(
3198
0
          message_arena, split_op_id, submessage_arena);
3199
0
    }
3200
0
    set_has_split_op_id();
3201
0
  } else {
3202
0
    clear_has_split_op_id();
3203
0
  }
3204
0
  split_op_id_ = split_op_id;
3205
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.RaftGroupReplicaSuperBlockPB.split_op_id)
3206
0
}
3207
3208
// repeated bytes split_child_tablet_ids = 30;
3209
2.46M
inline int RaftGroupReplicaSuperBlockPB::split_child_tablet_ids_size() const {
3210
2.46M
  return split_child_tablet_ids_.size();
3211
2.46M
}
3212
0
inline void RaftGroupReplicaSuperBlockPB::clear_split_child_tablet_ids() {
3213
0
  split_child_tablet_ids_.Clear();
3214
0
}
3215
374
inline const ::std::string& RaftGroupReplicaSuperBlockPB::split_child_tablet_ids(int index) const {
3216
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3217
374
  return split_child_tablet_ids_.Get(index);
3218
374
}
3219
0
inline ::std::string* RaftGroupReplicaSuperBlockPB::mutable_split_child_tablet_ids(int index) {
3220
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3221
0
  return split_child_tablet_ids_.Mutable(index);
3222
0
}
3223
0
inline void RaftGroupReplicaSuperBlockPB::set_split_child_tablet_ids(int index, const ::std::string& value) {
3224
0
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3225
0
  split_child_tablet_ids_.Mutable(index)->assign(value);
3226
0
}
3227
#if LANG_CXX11
3228
0
inline void RaftGroupReplicaSuperBlockPB::set_split_child_tablet_ids(int index, ::std::string&& value) {
3229
0
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3230
0
  split_child_tablet_ids_.Mutable(index)->assign(std::move(value));
3231
0
}
3232
#endif
3233
0
inline void RaftGroupReplicaSuperBlockPB::set_split_child_tablet_ids(int index, const char* value) {
3234
0
  GOOGLE_DCHECK(value != NULL);
3235
0
  split_child_tablet_ids_.Mutable(index)->assign(value);
3236
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3237
0
}
3238
0
inline void RaftGroupReplicaSuperBlockPB::set_split_child_tablet_ids(int index, const void* value, size_t size) {
3239
0
  split_child_tablet_ids_.Mutable(index)->assign(
3240
0
    reinterpret_cast<const char*>(value), size);
3241
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3242
0
}
3243
10
inline ::std::string* RaftGroupReplicaSuperBlockPB::add_split_child_tablet_ids() {
3244
  // @@protoc_insertion_point(field_add_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3245
10
  return split_child_tablet_ids_.Add();
3246
10
}
3247
0
inline void RaftGroupReplicaSuperBlockPB::add_split_child_tablet_ids(const ::std::string& value) {
3248
0
  split_child_tablet_ids_.Add()->assign(value);
3249
0
  // @@protoc_insertion_point(field_add:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3250
0
}
3251
#if LANG_CXX11
3252
0
inline void RaftGroupReplicaSuperBlockPB::add_split_child_tablet_ids(::std::string&& value) {
3253
0
  split_child_tablet_ids_.Add(std::move(value));
3254
0
  // @@protoc_insertion_point(field_add:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3255
0
}
3256
#endif
3257
0
inline void RaftGroupReplicaSuperBlockPB::add_split_child_tablet_ids(const char* value) {
3258
0
  GOOGLE_DCHECK(value != NULL);
3259
0
  split_child_tablet_ids_.Add()->assign(value);
3260
0
  // @@protoc_insertion_point(field_add_char:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3261
0
}
3262
0
inline void RaftGroupReplicaSuperBlockPB::add_split_child_tablet_ids(const void* value, size_t size) {
3263
0
  split_child_tablet_ids_.Add()->assign(reinterpret_cast<const char*>(value), size);
3264
0
  // @@protoc_insertion_point(field_add_pointer:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3265
0
}
3266
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3267
4
RaftGroupReplicaSuperBlockPB::split_child_tablet_ids() const {
3268
  // @@protoc_insertion_point(field_list:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3269
4
  return split_child_tablet_ids_;
3270
4
}
3271
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3272
89
RaftGroupReplicaSuperBlockPB::mutable_split_child_tablet_ids() {
3273
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.RaftGroupReplicaSuperBlockPB.split_child_tablet_ids)
3274
89
  return &split_child_tablet_ids_;
3275
89
}
3276
3277
// repeated bytes active_restorations = 31;
3278
2.46M
inline int RaftGroupReplicaSuperBlockPB::active_restorations_size() const {
3279
2.46M
  return active_restorations_.size();
3280
2.46M
}
3281
0
inline void RaftGroupReplicaSuperBlockPB::clear_active_restorations() {
3282
0
  active_restorations_.Clear();
3283
0
}
3284
0
inline const ::std::string& RaftGroupReplicaSuperBlockPB::active_restorations(int index) const {
3285
0
  // @@protoc_insertion_point(field_get:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3286
0
  return active_restorations_.Get(index);
3287
0
}
3288
0
inline ::std::string* RaftGroupReplicaSuperBlockPB::mutable_active_restorations(int index) {
3289
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3290
0
  return active_restorations_.Mutable(index);
3291
0
}
3292
0
inline void RaftGroupReplicaSuperBlockPB::set_active_restorations(int index, const ::std::string& value) {
3293
0
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3294
0
  active_restorations_.Mutable(index)->assign(value);
3295
0
}
3296
#if LANG_CXX11
3297
0
inline void RaftGroupReplicaSuperBlockPB::set_active_restorations(int index, ::std::string&& value) {
3298
0
  // @@protoc_insertion_point(field_set:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3299
0
  active_restorations_.Mutable(index)->assign(std::move(value));
3300
0
}
3301
#endif
3302
0
inline void RaftGroupReplicaSuperBlockPB::set_active_restorations(int index, const char* value) {
3303
0
  GOOGLE_DCHECK(value != NULL);
3304
0
  active_restorations_.Mutable(index)->assign(value);
3305
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3306
0
}
3307
0
inline void RaftGroupReplicaSuperBlockPB::set_active_restorations(int index, const void* value, size_t size) {
3308
0
  active_restorations_.Mutable(index)->assign(
3309
0
    reinterpret_cast<const char*>(value), size);
3310
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3311
0
}
3312
0
inline ::std::string* RaftGroupReplicaSuperBlockPB::add_active_restorations() {
3313
0
  // @@protoc_insertion_point(field_add_mutable:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3314
0
  return active_restorations_.Add();
3315
0
}
3316
0
inline void RaftGroupReplicaSuperBlockPB::add_active_restorations(const ::std::string& value) {
3317
0
  active_restorations_.Add()->assign(value);
3318
0
  // @@protoc_insertion_point(field_add:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3319
0
}
3320
#if LANG_CXX11
3321
0
inline void RaftGroupReplicaSuperBlockPB::add_active_restorations(::std::string&& value) {
3322
0
  active_restorations_.Add(std::move(value));
3323
0
  // @@protoc_insertion_point(field_add:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3324
0
}
3325
#endif
3326
0
inline void RaftGroupReplicaSuperBlockPB::add_active_restorations(const char* value) {
3327
0
  GOOGLE_DCHECK(value != NULL);
3328
0
  active_restorations_.Add()->assign(value);
3329
0
  // @@protoc_insertion_point(field_add_char:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3330
0
}
3331
0
inline void RaftGroupReplicaSuperBlockPB::add_active_restorations(const void* value, size_t size) {
3332
0
  active_restorations_.Add()->assign(reinterpret_cast<const char*>(value), size);
3333
0
  // @@protoc_insertion_point(field_add_pointer:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3334
0
}
3335
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3336
1.45k
RaftGroupReplicaSuperBlockPB::active_restorations() const {
3337
  // @@protoc_insertion_point(field_list:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3338
1.45k
  return active_restorations_;
3339
1.45k
}
3340
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3341
0
RaftGroupReplicaSuperBlockPB::mutable_active_restorations() {
3342
0
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.RaftGroupReplicaSuperBlockPB.active_restorations)
3343
0
  return &active_restorations_;
3344
0
}
3345
3346
// -------------------------------------------------------------------
3347
3348
// FilePB
3349
3350
// optional string name = 1;
3351
12.9k
inline bool FilePB::has_name() const {
3352
12.9k
  return (_has_bits_[0] & 0x00000001u) != 0;
3353
12.9k
}
3354
17.1k
inline void FilePB::set_has_name() {
3355
17.1k
  _has_bits_[0] |= 0x00000001u;
3356
17.1k
}
3357
0
inline void FilePB::clear_has_name() {
3358
0
  _has_bits_[0] &= ~0x00000001u;
3359
0
}
3360
0
inline void FilePB::clear_name() {
3361
0
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3362
0
  clear_has_name();
3363
0
}
3364
58.0k
inline const ::std::string& FilePB::name() const {
3365
  // @@protoc_insertion_point(field_get:yb.tablet.FilePB.name)
3366
58.0k
  return name_.GetNoArena();
3367
58.0k
}
3368
4.50k
inline void FilePB::set_name(const ::std::string& value) {
3369
4.50k
  set_has_name();
3370
4.50k
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3371
  // @@protoc_insertion_point(field_set:yb.tablet.FilePB.name)
3372
4.50k
}
3373
#if LANG_CXX11
3374
114
inline void FilePB::set_name(::std::string&& value) {
3375
114
  set_has_name();
3376
114
  name_.SetNoArena(
3377
114
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3378
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.FilePB.name)
3379
114
}
3380
#endif
3381
0
inline void FilePB::set_name(const char* value) {
3382
0
  GOOGLE_DCHECK(value != NULL);
3383
0
  set_has_name();
3384
0
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3385
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.FilePB.name)
3386
0
}
3387
0
inline void FilePB::set_name(const char* value, size_t size) {
3388
0
  set_has_name();
3389
0
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3390
0
      ::std::string(reinterpret_cast<const char*>(value), size));
3391
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.FilePB.name)
3392
0
}
3393
4.48k
inline ::std::string* FilePB::mutable_name() {
3394
4.48k
  set_has_name();
3395
  // @@protoc_insertion_point(field_mutable:yb.tablet.FilePB.name)
3396
4.48k
  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3397
4.48k
}
3398
0
inline ::std::string* FilePB::release_name() {
3399
0
  // @@protoc_insertion_point(field_release:yb.tablet.FilePB.name)
3400
0
  clear_has_name();
3401
0
  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3402
0
}
3403
0
inline void FilePB::set_allocated_name(::std::string* name) {
3404
0
  if (name != NULL) {
3405
0
    set_has_name();
3406
0
  } else {
3407
0
    clear_has_name();
3408
0
  }
3409
0
  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
3410
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.FilePB.name)
3411
0
}
3412
3413
// optional uint64 size_bytes = 2;
3414
12.9k
inline bool FilePB::has_size_bytes() const {
3415
12.9k
  return (_has_bits_[0] & 0x00000002u) != 0;
3416
12.9k
}
3417
8.99k
inline void FilePB::set_has_size_bytes() {
3418
8.99k
  _has_bits_[0] |= 0x00000002u;
3419
8.99k
}
3420
0
inline void FilePB::clear_has_size_bytes() {
3421
0
  _has_bits_[0] &= ~0x00000002u;
3422
0
}
3423
0
inline void FilePB::clear_size_bytes() {
3424
0
  size_bytes_ = GOOGLE_ULONGLONG(0);
3425
0
  clear_has_size_bytes();
3426
0
}
3427
24.9k
inline ::google::protobuf::uint64 FilePB::size_bytes() const {
3428
  // @@protoc_insertion_point(field_get:yb.tablet.FilePB.size_bytes)
3429
24.9k
  return size_bytes_;
3430
24.9k
}
3431
4.50k
inline void FilePB::set_size_bytes(::google::protobuf::uint64 value) {
3432
4.50k
  set_has_size_bytes();
3433
4.50k
  size_bytes_ = value;
3434
  // @@protoc_insertion_point(field_set:yb.tablet.FilePB.size_bytes)
3435
4.50k
}
3436
3437
// optional uint64 inode = 3;
3438
12.9k
inline bool FilePB::has_inode() const {
3439
12.9k
  return (_has_bits_[0] & 0x00000004u) != 0;
3440
12.9k
}
3441
8.99k
inline void FilePB::set_has_inode() {
3442
8.99k
  _has_bits_[0] |= 0x00000004u;
3443
8.99k
}
3444
0
inline void FilePB::clear_has_inode() {
3445
0
  _has_bits_[0] &= ~0x00000004u;
3446
0
}
3447
0
inline void FilePB::clear_inode() {
3448
0
  inode_ = GOOGLE_ULONGLONG(0);
3449
0
  clear_has_inode();
3450
0
}
3451
35.5k
inline ::google::protobuf::uint64 FilePB::inode() const {
3452
  // @@protoc_insertion_point(field_get:yb.tablet.FilePB.inode)
3453
35.5k
  return inode_;
3454
35.5k
}
3455
4.50k
inline void FilePB::set_inode(::google::protobuf::uint64 value) {
3456
4.50k
  set_has_inode();
3457
4.50k
  inode_ = value;
3458
  // @@protoc_insertion_point(field_set:yb.tablet.FilePB.inode)
3459
4.50k
}
3460
3461
// -------------------------------------------------------------------
3462
3463
// SnapshotFilePB
3464
3465
// optional .yb.tablet.FilePB file = 1;
3466
120
inline bool SnapshotFilePB::has_file() const {
3467
120
  return (_has_bits_[0] & 0x00000002u) != 0;
3468
120
}
3469
248
inline void SnapshotFilePB::set_has_file() {
3470
248
  _has_bits_[0] |= 0x00000002u;
3471
248
}
3472
0
inline void SnapshotFilePB::clear_has_file() {
3473
0
  _has_bits_[0] &= ~0x00000002u;
3474
0
}
3475
0
inline void SnapshotFilePB::clear_file() {
3476
0
  if (file_ != NULL) file_->Clear();
3477
0
  clear_has_file();
3478
0
}
3479
248
inline const ::yb::tablet::FilePB& SnapshotFilePB::file() const {
3480
248
  const ::yb::tablet::FilePB* p = file_;
3481
  // @@protoc_insertion_point(field_get:yb.tablet.SnapshotFilePB.file)
3482
248
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::FilePB*>(
3483
0
      &::yb::tablet::_FilePB_default_instance_);
3484
248
}
3485
0
inline ::yb::tablet::FilePB* SnapshotFilePB::release_file() {
3486
0
  // @@protoc_insertion_point(field_release:yb.tablet.SnapshotFilePB.file)
3487
0
  clear_has_file();
3488
0
  ::yb::tablet::FilePB* temp = file_;
3489
0
  file_ = NULL;
3490
0
  return temp;
3491
0
}
3492
248
inline ::yb::tablet::FilePB* SnapshotFilePB::mutable_file() {
3493
248
  set_has_file();
3494
248
  if (file_ == NULL) {
3495
248
    file_ = new ::yb::tablet::FilePB;
3496
248
  }
3497
  // @@protoc_insertion_point(field_mutable:yb.tablet.SnapshotFilePB.file)
3498
248
  return file_;
3499
248
}
3500
0
inline void SnapshotFilePB::set_allocated_file(::yb::tablet::FilePB* file) {
3501
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3502
0
  if (message_arena == NULL) {
3503
0
    delete file_;
3504
0
  }
3505
0
  if (file) {
3506
0
    ::google::protobuf::Arena* submessage_arena = NULL;
3507
0
    if (message_arena != submessage_arena) {
3508
0
      file = ::google::protobuf::internal::GetOwnedMessage(
3509
0
          message_arena, file, submessage_arena);
3510
0
    }
3511
0
    set_has_file();
3512
0
  } else {
3513
0
    clear_has_file();
3514
0
  }
3515
0
  file_ = file;
3516
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.SnapshotFilePB.file)
3517
0
}
3518
3519
// optional bytes snapshot_id = 2;
3520
120
inline bool SnapshotFilePB::has_snapshot_id() const {
3521
120
  return (_has_bits_[0] & 0x00000001u) != 0;
3522
120
}
3523
248
inline void SnapshotFilePB::set_has_snapshot_id() {
3524
248
  _has_bits_[0] |= 0x00000001u;
3525
248
}
3526
0
inline void SnapshotFilePB::clear_has_snapshot_id() {
3527
0
  _has_bits_[0] &= ~0x00000001u;
3528
0
}
3529
0
inline void SnapshotFilePB::clear_snapshot_id() {
3530
0
  snapshot_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3531
0
  clear_has_snapshot_id();
3532
0
}
3533
416
inline const ::std::string& SnapshotFilePB::snapshot_id() const {
3534
  // @@protoc_insertion_point(field_get:yb.tablet.SnapshotFilePB.snapshot_id)
3535
416
  return snapshot_id_.GetNoArena();
3536
416
}
3537
64
inline void SnapshotFilePB::set_snapshot_id(const ::std::string& value) {
3538
64
  set_has_snapshot_id();
3539
64
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3540
  // @@protoc_insertion_point(field_set:yb.tablet.SnapshotFilePB.snapshot_id)
3541
64
}
3542
#if LANG_CXX11
3543
0
inline void SnapshotFilePB::set_snapshot_id(::std::string&& value) {
3544
0
  set_has_snapshot_id();
3545
0
  snapshot_id_.SetNoArena(
3546
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3547
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SnapshotFilePB.snapshot_id)
3548
0
}
3549
#endif
3550
0
inline void SnapshotFilePB::set_snapshot_id(const char* value) {
3551
0
  GOOGLE_DCHECK(value != NULL);
3552
0
  set_has_snapshot_id();
3553
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3554
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.SnapshotFilePB.snapshot_id)
3555
0
}
3556
0
inline void SnapshotFilePB::set_snapshot_id(const void* value, size_t size) {
3557
0
  set_has_snapshot_id();
3558
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3559
0
      ::std::string(reinterpret_cast<const char*>(value), size));
3560
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.SnapshotFilePB.snapshot_id)
3561
0
}
3562
60
inline ::std::string* SnapshotFilePB::mutable_snapshot_id() {
3563
60
  set_has_snapshot_id();
3564
  // @@protoc_insertion_point(field_mutable:yb.tablet.SnapshotFilePB.snapshot_id)
3565
60
  return snapshot_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3566
60
}
3567
0
inline ::std::string* SnapshotFilePB::release_snapshot_id() {
3568
0
  // @@protoc_insertion_point(field_release:yb.tablet.SnapshotFilePB.snapshot_id)
3569
0
  clear_has_snapshot_id();
3570
0
  return snapshot_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3571
0
}
3572
0
inline void SnapshotFilePB::set_allocated_snapshot_id(::std::string* snapshot_id) {
3573
0
  if (snapshot_id != NULL) {
3574
0
    set_has_snapshot_id();
3575
0
  } else {
3576
0
    clear_has_snapshot_id();
3577
0
  }
3578
0
  snapshot_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_id);
3579
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.SnapshotFilePB.snapshot_id)
3580
0
}
3581
3582
#ifdef __GNUC__
3583
  #pragma GCC diagnostic pop
3584
#endif  // __GNUC__
3585
// -------------------------------------------------------------------
3586
3587
// -------------------------------------------------------------------
3588
3589
// -------------------------------------------------------------------
3590
3591
// -------------------------------------------------------------------
3592
3593
3594
// @@protoc_insertion_point(namespace_scope)
3595
3596
}  // namespace tablet
3597
}  // namespace yb
3598
3599
// @@protoc_insertion_point(global_scope)
3600
3601
#endif  // PROTOBUF_yb_2ftablet_2fmetadata_2eproto__INCLUDED