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/master/master_heartbeat.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/master/master_heartbeat.proto
3
4
#ifndef PROTOBUF_yb_2fmaster_2fmaster_5fheartbeat_2eproto__INCLUDED
5
#define PROTOBUF_yb_2fmaster_2fmaster_5fheartbeat_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/cdc/cdc_consumer.pb.h"
33
#include "yb/common/wire_protocol.pb.h"
34
#include "yb/consensus/metadata.pb.h"
35
#include "yb/encryption/encryption.pb.h"
36
#include "yb/master/master_types.pb.h"
37
#include "yb/tablet/tablet_types.pb.h"
38
#include "yb/rpc/service.pb.h"
39
// @@protoc_insertion_point(includes)
40
41
namespace protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto {
42
// Internal implementation detail -- do not use these members.
43
struct TableStruct {
44
  static const ::google::protobuf::internal::ParseTableField entries[];
45
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
46
  static const ::google::protobuf::internal::ParseTable schema[13];
47
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
48
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
49
  static const ::google::protobuf::uint32 offsets[];
50
};
51
void AddDescriptors();
52
void InitDefaultsTSToMasterCommonPBImpl();
53
void InitDefaultsTSToMasterCommonPB();
54
void InitDefaultsReportedTabletPBImpl();
55
void InitDefaultsReportedTabletPB();
56
void InitDefaultsTabletReportPBImpl();
57
void InitDefaultsTabletReportPB();
58
void InitDefaultsTabletForSplitPBImpl();
59
void InitDefaultsTabletForSplitPB();
60
void InitDefaultsTabletDriveStorageMetadataPBImpl();
61
void InitDefaultsTabletDriveStorageMetadataPB();
62
void InitDefaultsReportedTabletUpdatesPBImpl();
63
void InitDefaultsReportedTabletUpdatesPB();
64
void InitDefaultsTabletReportUpdatesPBImpl();
65
void InitDefaultsTabletReportUpdatesPB();
66
void InitDefaultsTSInformationPBImpl();
67
void InitDefaultsTSInformationPB();
68
void InitDefaultsTSSnapshotScheduleInfoPBImpl();
69
void InitDefaultsTSSnapshotScheduleInfoPB();
70
void InitDefaultsTSSnapshotRestorationInfoPBImpl();
71
void InitDefaultsTSSnapshotRestorationInfoPB();
72
void InitDefaultsTSSnapshotsInfoPBImpl();
73
void InitDefaultsTSSnapshotsInfoPB();
74
void InitDefaultsTSHeartbeatRequestPBImpl();
75
void InitDefaultsTSHeartbeatRequestPB();
76
void InitDefaultsTSHeartbeatResponsePBImpl();
77
void InitDefaultsTSHeartbeatResponsePB();
78
15.8k
inline void InitDefaults() {
79
15.8k
  InitDefaultsTSToMasterCommonPB();
80
15.8k
  InitDefaultsReportedTabletPB();
81
15.8k
  InitDefaultsTabletReportPB();
82
15.8k
  InitDefaultsTabletForSplitPB();
83
15.8k
  InitDefaultsTabletDriveStorageMetadataPB();
84
15.8k
  InitDefaultsReportedTabletUpdatesPB();
85
15.8k
  InitDefaultsTabletReportUpdatesPB();
86
15.8k
  InitDefaultsTSInformationPB();
87
15.8k
  InitDefaultsTSSnapshotScheduleInfoPB();
88
15.8k
  InitDefaultsTSSnapshotRestorationInfoPB();
89
15.8k
  InitDefaultsTSSnapshotsInfoPB();
90
15.8k
  InitDefaultsTSHeartbeatRequestPB();
91
15.8k
  InitDefaultsTSHeartbeatResponsePB();
92
15.8k
}
93
}  // namespace protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto
94
namespace yb {
95
namespace master {
96
class ReportedTabletPB;
97
class ReportedTabletPBDefaultTypeInternal;
98
extern ReportedTabletPBDefaultTypeInternal _ReportedTabletPB_default_instance_;
99
class ReportedTabletUpdatesPB;
100
class ReportedTabletUpdatesPBDefaultTypeInternal;
101
extern ReportedTabletUpdatesPBDefaultTypeInternal _ReportedTabletUpdatesPB_default_instance_;
102
class TSHeartbeatRequestPB;
103
class TSHeartbeatRequestPBDefaultTypeInternal;
104
extern TSHeartbeatRequestPBDefaultTypeInternal _TSHeartbeatRequestPB_default_instance_;
105
class TSHeartbeatResponsePB;
106
class TSHeartbeatResponsePBDefaultTypeInternal;
107
extern TSHeartbeatResponsePBDefaultTypeInternal _TSHeartbeatResponsePB_default_instance_;
108
class TSInformationPB;
109
class TSInformationPBDefaultTypeInternal;
110
extern TSInformationPBDefaultTypeInternal _TSInformationPB_default_instance_;
111
class TSSnapshotRestorationInfoPB;
112
class TSSnapshotRestorationInfoPBDefaultTypeInternal;
113
extern TSSnapshotRestorationInfoPBDefaultTypeInternal _TSSnapshotRestorationInfoPB_default_instance_;
114
class TSSnapshotScheduleInfoPB;
115
class TSSnapshotScheduleInfoPBDefaultTypeInternal;
116
extern TSSnapshotScheduleInfoPBDefaultTypeInternal _TSSnapshotScheduleInfoPB_default_instance_;
117
class TSSnapshotsInfoPB;
118
class TSSnapshotsInfoPBDefaultTypeInternal;
119
extern TSSnapshotsInfoPBDefaultTypeInternal _TSSnapshotsInfoPB_default_instance_;
120
class TSToMasterCommonPB;
121
class TSToMasterCommonPBDefaultTypeInternal;
122
extern TSToMasterCommonPBDefaultTypeInternal _TSToMasterCommonPB_default_instance_;
123
class TabletDriveStorageMetadataPB;
124
class TabletDriveStorageMetadataPBDefaultTypeInternal;
125
extern TabletDriveStorageMetadataPBDefaultTypeInternal _TabletDriveStorageMetadataPB_default_instance_;
126
class TabletForSplitPB;
127
class TabletForSplitPBDefaultTypeInternal;
128
extern TabletForSplitPBDefaultTypeInternal _TabletForSplitPB_default_instance_;
129
class TabletReportPB;
130
class TabletReportPBDefaultTypeInternal;
131
extern TabletReportPBDefaultTypeInternal _TabletReportPB_default_instance_;
132
class TabletReportUpdatesPB;
133
class TabletReportUpdatesPBDefaultTypeInternal;
134
extern TabletReportUpdatesPBDefaultTypeInternal _TabletReportUpdatesPB_default_instance_;
135
}  // namespace master
136
}  // namespace yb
137
namespace yb {
138
namespace master {
139
140
// ===================================================================
141
142
class TSToMasterCommonPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TSToMasterCommonPB) */ {
143
 public:
144
  TSToMasterCommonPB();
145
  virtual ~TSToMasterCommonPB();
146
147
  TSToMasterCommonPB(const TSToMasterCommonPB& from);
148
149
0
  inline TSToMasterCommonPB& operator=(const TSToMasterCommonPB& from) {
150
0
    CopyFrom(from);
151
0
    return *this;
152
0
  }
153
  #if LANG_CXX11
154
  TSToMasterCommonPB(TSToMasterCommonPB&& from) noexcept
155
0
    : TSToMasterCommonPB() {
156
0
    *this = ::std::move(from);
157
0
  }
158
159
0
  inline TSToMasterCommonPB& operator=(TSToMasterCommonPB&& from) noexcept {
160
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
161
0
      if (this != &from) InternalSwap(&from);
162
0
    } else {
163
0
      CopyFrom(from);
164
0
    }
165
0
    return *this;
166
0
  }
167
  #endif
168
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
169
0
    return _internal_metadata_.unknown_fields();
170
0
  }
171
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
172
0
    return _internal_metadata_.mutable_unknown_fields();
173
0
  }
174
175
  static const ::google::protobuf::Descriptor* descriptor();
176
  static const TSToMasterCommonPB& default_instance();
177
178
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
179
1.60M
  static inline const TSToMasterCommonPB* internal_default_instance() {
180
1.60M
    return reinterpret_cast<const TSToMasterCommonPB*>(
181
1.60M
               &_TSToMasterCommonPB_default_instance_);
182
1.60M
  }
183
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
184
    0;
185
186
  void Swap(TSToMasterCommonPB* other);
187
0
  friend void swap(TSToMasterCommonPB& a, TSToMasterCommonPB& b) {
188
0
    a.Swap(&b);
189
0
  }
190
191
  // implements Message ----------------------------------------------
192
193
0
  inline TSToMasterCommonPB* New() const PROTOBUF_FINAL { return New(NULL); }
194
195
  TSToMasterCommonPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
196
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
197
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
198
  void CopyFrom(const TSToMasterCommonPB& from);
199
  void MergeFrom(const TSToMasterCommonPB& from);
200
  void Clear() PROTOBUF_FINAL;
201
  bool IsInitialized() const PROTOBUF_FINAL;
202
203
  size_t ByteSizeLong() const PROTOBUF_FINAL;
204
  bool MergePartialFromCodedStream(
205
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
206
  void SerializeWithCachedSizes(
207
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
208
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
209
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
210
403k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
211
  private:
212
  void SharedCtor();
213
  void SharedDtor();
214
  void SetCachedSize(int size) const PROTOBUF_FINAL;
215
  void InternalSwap(TSToMasterCommonPB* other);
216
  private:
217
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
218
0
    return NULL;
219
0
  }
220
0
  inline void* MaybeArenaPtr() const {
221
0
    return NULL;
222
0
  }
223
  public:
224
225
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
226
227
  // nested types ----------------------------------------------------
228
229
  // accessors -------------------------------------------------------
230
231
  // required .yb.NodeInstancePB ts_instance = 1;
232
  bool has_ts_instance() const;
233
  void clear_ts_instance();
234
  static const int kTsInstanceFieldNumber = 1;
235
  const ::yb::NodeInstancePB& ts_instance() const;
236
  ::yb::NodeInstancePB* release_ts_instance();
237
  ::yb::NodeInstancePB* mutable_ts_instance();
238
  void set_allocated_ts_instance(::yb::NodeInstancePB* ts_instance);
239
240
  // @@protoc_insertion_point(class_scope:yb.master.TSToMasterCommonPB)
241
 private:
242
  void set_has_ts_instance();
243
  void clear_has_ts_instance();
244
245
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
246
  ::google::protobuf::internal::HasBits<1> _has_bits_;
247
  mutable int _cached_size_;
248
  ::yb::NodeInstancePB* ts_instance_;
249
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
250
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTSToMasterCommonPBImpl();
251
};
252
// -------------------------------------------------------------------
253
254
class ReportedTabletPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ReportedTabletPB) */ {
255
 public:
256
  ReportedTabletPB();
257
  virtual ~ReportedTabletPB();
258
259
  ReportedTabletPB(const ReportedTabletPB& from);
260
261
0
  inline ReportedTabletPB& operator=(const ReportedTabletPB& from) {
262
0
    CopyFrom(from);
263
0
    return *this;
264
0
  }
265
  #if LANG_CXX11
266
  ReportedTabletPB(ReportedTabletPB&& from) noexcept
267
0
    : ReportedTabletPB() {
268
0
    *this = ::std::move(from);
269
0
  }
270
271
0
  inline ReportedTabletPB& operator=(ReportedTabletPB&& from) noexcept {
272
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
273
0
      if (this != &from) InternalSwap(&from);
274
0
    } else {
275
0
      CopyFrom(from);
276
0
    }
277
0
    return *this;
278
0
  }
279
  #endif
280
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
281
0
    return _internal_metadata_.unknown_fields();
282
0
  }
283
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
284
0
    return _internal_metadata_.mutable_unknown_fields();
285
0
  }
286
287
  static const ::google::protobuf::Descriptor* descriptor();
288
  static const ReportedTabletPB& default_instance();
289
290
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
291
1.59M
  static inline const ReportedTabletPB* internal_default_instance() {
292
1.59M
    return reinterpret_cast<const ReportedTabletPB*>(
293
1.59M
               &_ReportedTabletPB_default_instance_);
294
1.59M
  }
295
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
296
    1;
297
298
  void Swap(ReportedTabletPB* other);
299
0
  friend void swap(ReportedTabletPB& a, ReportedTabletPB& b) {
300
0
    a.Swap(&b);
301
0
  }
302
303
  // implements Message ----------------------------------------------
304
305
0
  inline ReportedTabletPB* New() const PROTOBUF_FINAL { return New(NULL); }
306
307
  ReportedTabletPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
308
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
309
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
310
  void CopyFrom(const ReportedTabletPB& from);
311
  void MergeFrom(const ReportedTabletPB& from);
312
  void Clear() PROTOBUF_FINAL;
313
  bool IsInitialized() const PROTOBUF_FINAL;
314
315
  size_t ByteSizeLong() const PROTOBUF_FINAL;
316
  bool MergePartialFromCodedStream(
317
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
318
  void SerializeWithCachedSizes(
319
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
320
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
321
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
322
263k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
323
  private:
324
  void SharedCtor();
325
  void SharedDtor();
326
  void SetCachedSize(int size) const PROTOBUF_FINAL;
327
  void InternalSwap(ReportedTabletPB* other);
328
  private:
329
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
330
0
    return NULL;
331
0
  }
332
0
  inline void* MaybeArenaPtr() const {
333
0
    return NULL;
334
0
  }
335
  public:
336
337
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
338
339
  // nested types ----------------------------------------------------
340
341
  // accessors -------------------------------------------------------
342
343
  // required bytes tablet_id = 1;
344
  bool has_tablet_id() const;
345
  void clear_tablet_id();
346
  static const int kTabletIdFieldNumber = 1;
347
  const ::std::string& tablet_id() const;
348
  void set_tablet_id(const ::std::string& value);
349
  #if LANG_CXX11
350
  void set_tablet_id(::std::string&& value);
351
  #endif
352
  void set_tablet_id(const char* value);
353
  void set_tablet_id(const void* value, size_t size);
354
  ::std::string* mutable_tablet_id();
355
  ::std::string* release_tablet_id();
356
  void set_allocated_tablet_id(::std::string* tablet_id);
357
358
  // optional bytes fs_data_dir = 8;
359
  bool has_fs_data_dir() const;
360
  void clear_fs_data_dir();
361
  static const int kFsDataDirFieldNumber = 8;
362
  const ::std::string& fs_data_dir() const;
363
  void set_fs_data_dir(const ::std::string& value);
364
  #if LANG_CXX11
365
  void set_fs_data_dir(::std::string&& value);
366
  #endif
367
  void set_fs_data_dir(const char* value);
368
  void set_fs_data_dir(const void* value, size_t size);
369
  ::std::string* mutable_fs_data_dir();
370
  ::std::string* release_fs_data_dir();
371
  void set_allocated_fs_data_dir(::std::string* fs_data_dir);
372
373
  // optional .yb.consensus.ConsensusStatePB committed_consensus_state = 3;
374
  bool has_committed_consensus_state() const;
375
  void clear_committed_consensus_state();
376
  static const int kCommittedConsensusStateFieldNumber = 3;
377
  const ::yb::consensus::ConsensusStatePB& committed_consensus_state() const;
378
  ::yb::consensus::ConsensusStatePB* release_committed_consensus_state();
379
  ::yb::consensus::ConsensusStatePB* mutable_committed_consensus_state();
380
  void set_allocated_committed_consensus_state(::yb::consensus::ConsensusStatePB* committed_consensus_state);
381
382
  // optional .yb.AppStatusPB error = 4;
383
  bool has_error() const;
384
  void clear_error();
385
  static const int kErrorFieldNumber = 4;
386
  const ::yb::AppStatusPB& error() const;
387
  ::yb::AppStatusPB* release_error();
388
  ::yb::AppStatusPB* mutable_error();
389
  void set_allocated_error(::yb::AppStatusPB* error);
390
391
  // optional uint32 schema_version = 5;
392
  bool has_schema_version() const;
393
  void clear_schema_version();
394
  static const int kSchemaVersionFieldNumber = 5;
395
  ::google::protobuf::uint32 schema_version() const;
396
  void set_schema_version(::google::protobuf::uint32 value);
397
398
  // optional bool should_disable_lb_move = 7;
399
  bool has_should_disable_lb_move() const;
400
  void clear_should_disable_lb_move();
401
  static const int kShouldDisableLbMoveFieldNumber = 7;
402
  bool should_disable_lb_move() const;
403
  void set_should_disable_lb_move(bool value);
404
405
  // optional bool is_hidden = 9;
406
  bool has_is_hidden() const;
407
  void clear_is_hidden();
408
  static const int kIsHiddenFieldNumber = 9;
409
  bool is_hidden() const;
410
  void set_is_hidden(bool value);
411
412
  // optional .yb.tablet.RaftGroupStatePB state = 2 [default = UNKNOWN];
413
  bool has_state() const;
414
  void clear_state();
415
  static const int kStateFieldNumber = 2;
416
  ::yb::tablet::RaftGroupStatePB state() const;
417
  void set_state(::yb::tablet::RaftGroupStatePB value);
418
419
  // optional .yb.tablet.TabletDataState tablet_data_state = 6 [default = TABLET_DATA_UNKNOWN];
420
  bool has_tablet_data_state() const;
421
  void clear_tablet_data_state();
422
  static const int kTabletDataStateFieldNumber = 6;
423
  ::yb::tablet::TabletDataState tablet_data_state() const;
424
  void set_tablet_data_state(::yb::tablet::TabletDataState value);
425
426
  // @@protoc_insertion_point(class_scope:yb.master.ReportedTabletPB)
427
 private:
428
  void set_has_tablet_id();
429
  void clear_has_tablet_id();
430
  void set_has_state();
431
  void clear_has_state();
432
  void set_has_tablet_data_state();
433
  void clear_has_tablet_data_state();
434
  void set_has_committed_consensus_state();
435
  void clear_has_committed_consensus_state();
436
  void set_has_error();
437
  void clear_has_error();
438
  void set_has_schema_version();
439
  void clear_has_schema_version();
440
  void set_has_should_disable_lb_move();
441
  void clear_has_should_disable_lb_move();
442
  void set_has_fs_data_dir();
443
  void clear_has_fs_data_dir();
444
  void set_has_is_hidden();
445
  void clear_has_is_hidden();
446
447
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
448
  ::google::protobuf::internal::HasBits<1> _has_bits_;
449
  mutable int _cached_size_;
450
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
451
  ::google::protobuf::internal::ArenaStringPtr fs_data_dir_;
452
  ::yb::consensus::ConsensusStatePB* committed_consensus_state_;
453
  ::yb::AppStatusPB* error_;
454
  ::google::protobuf::uint32 schema_version_;
455
  bool should_disable_lb_move_;
456
  bool is_hidden_;
457
  int state_;
458
  int tablet_data_state_;
459
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
460
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsReportedTabletPBImpl();
461
};
462
// -------------------------------------------------------------------
463
464
class TabletReportPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TabletReportPB) */ {
465
 public:
466
  TabletReportPB();
467
  virtual ~TabletReportPB();
468
469
  TabletReportPB(const TabletReportPB& from);
470
471
0
  inline TabletReportPB& operator=(const TabletReportPB& from) {
472
0
    CopyFrom(from);
473
0
    return *this;
474
0
  }
475
  #if LANG_CXX11
476
  TabletReportPB(TabletReportPB&& from) noexcept
477
0
    : TabletReportPB() {
478
0
    *this = ::std::move(from);
479
0
  }
480
481
0
  inline TabletReportPB& operator=(TabletReportPB&& from) noexcept {
482
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
483
0
      if (this != &from) InternalSwap(&from);
484
0
    } else {
485
0
      CopyFrom(from);
486
0
    }
487
0
    return *this;
488
0
  }
489
  #endif
490
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
491
0
    return _internal_metadata_.unknown_fields();
492
0
  }
493
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
494
0
    return _internal_metadata_.mutable_unknown_fields();
495
0
  }
496
497
  static const ::google::protobuf::Descriptor* descriptor();
498
  static const TabletReportPB& default_instance();
499
500
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
501
818k
  static inline const TabletReportPB* internal_default_instance() {
502
818k
    return reinterpret_cast<const TabletReportPB*>(
503
818k
               &_TabletReportPB_default_instance_);
504
818k
  }
505
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
506
    2;
507
508
  void Swap(TabletReportPB* other);
509
0
  friend void swap(TabletReportPB& a, TabletReportPB& b) {
510
0
    a.Swap(&b);
511
0
  }
512
513
  // implements Message ----------------------------------------------
514
515
0
  inline TabletReportPB* New() const PROTOBUF_FINAL { return New(NULL); }
516
517
  TabletReportPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
518
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
519
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
520
  void CopyFrom(const TabletReportPB& from);
521
  void MergeFrom(const TabletReportPB& from);
522
  void Clear() PROTOBUF_FINAL;
523
  bool IsInitialized() const PROTOBUF_FINAL;
524
525
  size_t ByteSizeLong() const PROTOBUF_FINAL;
526
  bool MergePartialFromCodedStream(
527
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
528
  void SerializeWithCachedSizes(
529
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
530
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
531
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
532
403k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
533
  private:
534
  void SharedCtor();
535
  void SharedDtor();
536
  void SetCachedSize(int size) const PROTOBUF_FINAL;
537
  void InternalSwap(TabletReportPB* other);
538
  private:
539
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
540
0
    return NULL;
541
0
  }
542
0
  inline void* MaybeArenaPtr() const {
543
0
    return NULL;
544
0
  }
545
  public:
546
547
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
548
549
  // nested types ----------------------------------------------------
550
551
  // accessors -------------------------------------------------------
552
553
  // repeated .yb.master.ReportedTabletPB updated_tablets = 2;
554
  int updated_tablets_size() const;
555
  void clear_updated_tablets();
556
  static const int kUpdatedTabletsFieldNumber = 2;
557
  const ::yb::master::ReportedTabletPB& updated_tablets(int index) const;
558
  ::yb::master::ReportedTabletPB* mutable_updated_tablets(int index);
559
  ::yb::master::ReportedTabletPB* add_updated_tablets();
560
  ::google::protobuf::RepeatedPtrField< ::yb::master::ReportedTabletPB >*
561
      mutable_updated_tablets();
562
  const ::google::protobuf::RepeatedPtrField< ::yb::master::ReportedTabletPB >&
563
      updated_tablets() const;
564
565
  // repeated bytes removed_tablet_ids = 3;
566
  int removed_tablet_ids_size() const;
567
  void clear_removed_tablet_ids();
568
  static const int kRemovedTabletIdsFieldNumber = 3;
569
  const ::std::string& removed_tablet_ids(int index) const;
570
  ::std::string* mutable_removed_tablet_ids(int index);
571
  void set_removed_tablet_ids(int index, const ::std::string& value);
572
  #if LANG_CXX11
573
  void set_removed_tablet_ids(int index, ::std::string&& value);
574
  #endif
575
  void set_removed_tablet_ids(int index, const char* value);
576
  void set_removed_tablet_ids(int index, const void* value, size_t size);
577
  ::std::string* add_removed_tablet_ids();
578
  void add_removed_tablet_ids(const ::std::string& value);
579
  #if LANG_CXX11
580
  void add_removed_tablet_ids(::std::string&& value);
581
  #endif
582
  void add_removed_tablet_ids(const char* value);
583
  void add_removed_tablet_ids(const void* value, size_t size);
584
  const ::google::protobuf::RepeatedPtrField< ::std::string>& removed_tablet_ids() const;
585
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_removed_tablet_ids();
586
587
  // required bool is_incremental = 1;
588
  bool has_is_incremental() const;
589
  void clear_is_incremental();
590
  static const int kIsIncrementalFieldNumber = 1;
591
  bool is_incremental() const;
592
  void set_is_incremental(bool value);
593
594
  // required int32 sequence_number = 4;
595
  bool has_sequence_number() const;
596
  void clear_sequence_number();
597
  static const int kSequenceNumberFieldNumber = 4;
598
  ::google::protobuf::int32 sequence_number() const;
599
  void set_sequence_number(::google::protobuf::int32 value);
600
601
  // optional int32 remaining_tablet_count = 5;
602
  bool has_remaining_tablet_count() const;
603
  void clear_remaining_tablet_count();
604
  static const int kRemainingTabletCountFieldNumber = 5;
605
  ::google::protobuf::int32 remaining_tablet_count() const;
606
  void set_remaining_tablet_count(::google::protobuf::int32 value);
607
608
  // @@protoc_insertion_point(class_scope:yb.master.TabletReportPB)
609
 private:
610
  void set_has_is_incremental();
611
  void clear_has_is_incremental();
612
  void set_has_sequence_number();
613
  void clear_has_sequence_number();
614
  void set_has_remaining_tablet_count();
615
  void clear_has_remaining_tablet_count();
616
617
  // helper for ByteSizeLong()
618
  size_t RequiredFieldsByteSizeFallback() const;
619
620
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
621
  ::google::protobuf::internal::HasBits<1> _has_bits_;
622
  mutable int _cached_size_;
623
  ::google::protobuf::RepeatedPtrField< ::yb::master::ReportedTabletPB > updated_tablets_;
624
  ::google::protobuf::RepeatedPtrField< ::std::string> removed_tablet_ids_;
625
  bool is_incremental_;
626
  ::google::protobuf::int32 sequence_number_;
627
  ::google::protobuf::int32 remaining_tablet_count_;
628
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
629
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTabletReportPBImpl();
630
};
631
// -------------------------------------------------------------------
632
633
class TabletForSplitPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TabletForSplitPB) */ {
634
 public:
635
  TabletForSplitPB();
636
  virtual ~TabletForSplitPB();
637
638
  TabletForSplitPB(const TabletForSplitPB& from);
639
640
0
  inline TabletForSplitPB& operator=(const TabletForSplitPB& from) {
641
0
    CopyFrom(from);
642
0
    return *this;
643
0
  }
644
  #if LANG_CXX11
645
  TabletForSplitPB(TabletForSplitPB&& from) noexcept
646
0
    : TabletForSplitPB() {
647
0
    *this = ::std::move(from);
648
0
  }
649
650
0
  inline TabletForSplitPB& operator=(TabletForSplitPB&& from) noexcept {
651
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
652
0
      if (this != &from) InternalSwap(&from);
653
0
    } else {
654
0
      CopyFrom(from);
655
0
    }
656
0
    return *this;
657
0
  }
658
  #endif
659
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
660
0
    return _internal_metadata_.unknown_fields();
661
0
  }
662
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
663
0
    return _internal_metadata_.mutable_unknown_fields();
664
0
  }
665
666
  static const ::google::protobuf::Descriptor* descriptor();
667
  static const TabletForSplitPB& default_instance();
668
669
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
670
15.8k
  static inline const TabletForSplitPB* internal_default_instance() {
671
15.8k
    return reinterpret_cast<const TabletForSplitPB*>(
672
15.8k
               &_TabletForSplitPB_default_instance_);
673
15.8k
  }
674
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
675
    3;
676
677
  void Swap(TabletForSplitPB* other);
678
0
  friend void swap(TabletForSplitPB& a, TabletForSplitPB& b) {
679
0
    a.Swap(&b);
680
0
  }
681
682
  // implements Message ----------------------------------------------
683
684
0
  inline TabletForSplitPB* New() const PROTOBUF_FINAL { return New(NULL); }
685
686
  TabletForSplitPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
687
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
688
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
689
  void CopyFrom(const TabletForSplitPB& from);
690
  void MergeFrom(const TabletForSplitPB& from);
691
  void Clear() PROTOBUF_FINAL;
692
  bool IsInitialized() const PROTOBUF_FINAL;
693
694
  size_t ByteSizeLong() const PROTOBUF_FINAL;
695
  bool MergePartialFromCodedStream(
696
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
697
  void SerializeWithCachedSizes(
698
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
699
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
700
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
701
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
702
  private:
703
  void SharedCtor();
704
  void SharedDtor();
705
  void SetCachedSize(int size) const PROTOBUF_FINAL;
706
  void InternalSwap(TabletForSplitPB* other);
707
  private:
708
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
709
0
    return NULL;
710
0
  }
711
0
  inline void* MaybeArenaPtr() const {
712
0
    return NULL;
713
0
  }
714
  public:
715
716
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
717
718
  // nested types ----------------------------------------------------
719
720
  // accessors -------------------------------------------------------
721
722
  // required bytes tablet_id = 1;
723
  bool has_tablet_id() const;
724
  void clear_tablet_id();
725
  static const int kTabletIdFieldNumber = 1;
726
  const ::std::string& tablet_id() const;
727
  void set_tablet_id(const ::std::string& value);
728
  #if LANG_CXX11
729
  void set_tablet_id(::std::string&& value);
730
  #endif
731
  void set_tablet_id(const char* value);
732
  void set_tablet_id(const void* value, size_t size);
733
  ::std::string* mutable_tablet_id();
734
  ::std::string* release_tablet_id();
735
  void set_allocated_tablet_id(::std::string* tablet_id);
736
737
  // optional bytes OBSOLETE_split_partition_key = 2;
738
  bool has_obsolete_split_partition_key() const;
739
  void clear_obsolete_split_partition_key();
740
  static const int kOBSOLETESplitPartitionKeyFieldNumber = 2;
741
  const ::std::string& obsolete_split_partition_key() const;
742
  void set_obsolete_split_partition_key(const ::std::string& value);
743
  #if LANG_CXX11
744
  void set_obsolete_split_partition_key(::std::string&& value);
745
  #endif
746
  void set_obsolete_split_partition_key(const char* value);
747
  void set_obsolete_split_partition_key(const void* value, size_t size);
748
  ::std::string* mutable_obsolete_split_partition_key();
749
  ::std::string* release_obsolete_split_partition_key();
750
  void set_allocated_obsolete_split_partition_key(::std::string* obsolete_split_partition_key);
751
752
  // optional bytes OBSOLETE_split_encoded_key = 3;
753
  bool has_obsolete_split_encoded_key() const;
754
  void clear_obsolete_split_encoded_key();
755
  static const int kOBSOLETESplitEncodedKeyFieldNumber = 3;
756
  const ::std::string& obsolete_split_encoded_key() const;
757
  void set_obsolete_split_encoded_key(const ::std::string& value);
758
  #if LANG_CXX11
759
  void set_obsolete_split_encoded_key(::std::string&& value);
760
  #endif
761
  void set_obsolete_split_encoded_key(const char* value);
762
  void set_obsolete_split_encoded_key(const void* value, size_t size);
763
  ::std::string* mutable_obsolete_split_encoded_key();
764
  ::std::string* release_obsolete_split_encoded_key();
765
  void set_allocated_obsolete_split_encoded_key(::std::string* obsolete_split_encoded_key);
766
767
  // @@protoc_insertion_point(class_scope:yb.master.TabletForSplitPB)
768
 private:
769
  void set_has_tablet_id();
770
  void clear_has_tablet_id();
771
  void set_has_obsolete_split_partition_key();
772
  void clear_has_obsolete_split_partition_key();
773
  void set_has_obsolete_split_encoded_key();
774
  void clear_has_obsolete_split_encoded_key();
775
776
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
777
  ::google::protobuf::internal::HasBits<1> _has_bits_;
778
  mutable int _cached_size_;
779
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
780
  ::google::protobuf::internal::ArenaStringPtr obsolete_split_partition_key_;
781
  ::google::protobuf::internal::ArenaStringPtr obsolete_split_encoded_key_;
782
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
783
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTabletForSplitPBImpl();
784
};
785
// -------------------------------------------------------------------
786
787
class TabletDriveStorageMetadataPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TabletDriveStorageMetadataPB) */ {
788
 public:
789
  TabletDriveStorageMetadataPB();
790
  virtual ~TabletDriveStorageMetadataPB();
791
792
  TabletDriveStorageMetadataPB(const TabletDriveStorageMetadataPB& from);
793
794
0
  inline TabletDriveStorageMetadataPB& operator=(const TabletDriveStorageMetadataPB& from) {
795
0
    CopyFrom(from);
796
0
    return *this;
797
0
  }
798
  #if LANG_CXX11
799
  TabletDriveStorageMetadataPB(TabletDriveStorageMetadataPB&& from) noexcept
800
0
    : TabletDriveStorageMetadataPB() {
801
0
    *this = ::std::move(from);
802
0
  }
803
804
0
  inline TabletDriveStorageMetadataPB& operator=(TabletDriveStorageMetadataPB&& from) noexcept {
805
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
806
0
      if (this != &from) InternalSwap(&from);
807
0
    } else {
808
0
      CopyFrom(from);
809
0
    }
810
0
    return *this;
811
0
  }
812
  #endif
813
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
814
0
    return _internal_metadata_.unknown_fields();
815
0
  }
816
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
817
0
    return _internal_metadata_.mutable_unknown_fields();
818
0
  }
819
820
  static const ::google::protobuf::Descriptor* descriptor();
821
  static const TabletDriveStorageMetadataPB& default_instance();
822
823
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
824
602k
  static inline const TabletDriveStorageMetadataPB* internal_default_instance() {
825
602k
    return reinterpret_cast<const TabletDriveStorageMetadataPB*>(
826
602k
               &_TabletDriveStorageMetadataPB_default_instance_);
827
602k
  }
828
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
829
    4;
830
831
  void Swap(TabletDriveStorageMetadataPB* other);
832
0
  friend void swap(TabletDriveStorageMetadataPB& a, TabletDriveStorageMetadataPB& b) {
833
0
    a.Swap(&b);
834
0
  }
835
836
  // implements Message ----------------------------------------------
837
838
0
  inline TabletDriveStorageMetadataPB* New() const PROTOBUF_FINAL { return New(NULL); }
839
840
  TabletDriveStorageMetadataPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
841
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
842
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
843
  void CopyFrom(const TabletDriveStorageMetadataPB& from);
844
  void MergeFrom(const TabletDriveStorageMetadataPB& from);
845
  void Clear() PROTOBUF_FINAL;
846
  bool IsInitialized() const PROTOBUF_FINAL;
847
848
  size_t ByteSizeLong() const PROTOBUF_FINAL;
849
  bool MergePartialFromCodedStream(
850
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
851
  void SerializeWithCachedSizes(
852
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
853
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
854
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
855
295k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
856
  private:
857
  void SharedCtor();
858
  void SharedDtor();
859
  void SetCachedSize(int size) const PROTOBUF_FINAL;
860
  void InternalSwap(TabletDriveStorageMetadataPB* other);
861
  private:
862
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
863
0
    return NULL;
864
0
  }
865
0
  inline void* MaybeArenaPtr() const {
866
0
    return NULL;
867
0
  }
868
  public:
869
870
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
871
872
  // nested types ----------------------------------------------------
873
874
  // accessors -------------------------------------------------------
875
876
  // required bytes tablet_id = 1;
877
  bool has_tablet_id() const;
878
  void clear_tablet_id();
879
  static const int kTabletIdFieldNumber = 1;
880
  const ::std::string& tablet_id() const;
881
  void set_tablet_id(const ::std::string& value);
882
  #if LANG_CXX11
883
  void set_tablet_id(::std::string&& value);
884
  #endif
885
  void set_tablet_id(const char* value);
886
  void set_tablet_id(const void* value, size_t size);
887
  ::std::string* mutable_tablet_id();
888
  ::std::string* release_tablet_id();
889
  void set_allocated_tablet_id(::std::string* tablet_id);
890
891
  // optional uint64 sst_file_size = 2;
892
  bool has_sst_file_size() const;
893
  void clear_sst_file_size();
894
  static const int kSstFileSizeFieldNumber = 2;
895
  ::google::protobuf::uint64 sst_file_size() const;
896
  void set_sst_file_size(::google::protobuf::uint64 value);
897
898
  // optional uint64 wal_file_size = 3;
899
  bool has_wal_file_size() const;
900
  void clear_wal_file_size();
901
  static const int kWalFileSizeFieldNumber = 3;
902
  ::google::protobuf::uint64 wal_file_size() const;
903
  void set_wal_file_size(::google::protobuf::uint64 value);
904
905
  // optional uint64 uncompressed_sst_file_size = 4;
906
  bool has_uncompressed_sst_file_size() const;
907
  void clear_uncompressed_sst_file_size();
908
  static const int kUncompressedSstFileSizeFieldNumber = 4;
909
  ::google::protobuf::uint64 uncompressed_sst_file_size() const;
910
  void set_uncompressed_sst_file_size(::google::protobuf::uint64 value);
911
912
  // optional bool may_have_orphaned_post_split_data = 5 [default = true];
913
  bool has_may_have_orphaned_post_split_data() const;
914
  void clear_may_have_orphaned_post_split_data();
915
  static const int kMayHaveOrphanedPostSplitDataFieldNumber = 5;
916
  bool may_have_orphaned_post_split_data() const;
917
  void set_may_have_orphaned_post_split_data(bool value);
918
919
  // @@protoc_insertion_point(class_scope:yb.master.TabletDriveStorageMetadataPB)
920
 private:
921
  void set_has_tablet_id();
922
  void clear_has_tablet_id();
923
  void set_has_sst_file_size();
924
  void clear_has_sst_file_size();
925
  void set_has_wal_file_size();
926
  void clear_has_wal_file_size();
927
  void set_has_uncompressed_sst_file_size();
928
  void clear_has_uncompressed_sst_file_size();
929
  void set_has_may_have_orphaned_post_split_data();
930
  void clear_has_may_have_orphaned_post_split_data();
931
932
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
933
  ::google::protobuf::internal::HasBits<1> _has_bits_;
934
  mutable int _cached_size_;
935
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
936
  ::google::protobuf::uint64 sst_file_size_;
937
  ::google::protobuf::uint64 wal_file_size_;
938
  ::google::protobuf::uint64 uncompressed_sst_file_size_;
939
  bool may_have_orphaned_post_split_data_;
940
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
941
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTabletDriveStorageMetadataPBImpl();
942
};
943
// -------------------------------------------------------------------
944
945
class ReportedTabletUpdatesPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ReportedTabletUpdatesPB) */ {
946
 public:
947
  ReportedTabletUpdatesPB();
948
  virtual ~ReportedTabletUpdatesPB();
949
950
  ReportedTabletUpdatesPB(const ReportedTabletUpdatesPB& from);
951
952
0
  inline ReportedTabletUpdatesPB& operator=(const ReportedTabletUpdatesPB& from) {
953
0
    CopyFrom(from);
954
0
    return *this;
955
0
  }
956
  #if LANG_CXX11
957
  ReportedTabletUpdatesPB(ReportedTabletUpdatesPB&& from) noexcept
958
0
    : ReportedTabletUpdatesPB() {
959
0
    *this = ::std::move(from);
960
0
  }
961
962
0
  inline ReportedTabletUpdatesPB& operator=(ReportedTabletUpdatesPB&& from) noexcept {
963
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
964
0
      if (this != &from) InternalSwap(&from);
965
0
    } else {
966
0
      CopyFrom(from);
967
0
    }
968
0
    return *this;
969
0
  }
970
  #endif
971
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
972
0
    return _internal_metadata_.unknown_fields();
973
0
  }
974
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
975
0
    return _internal_metadata_.mutable_unknown_fields();
976
0
  }
977
978
  static const ::google::protobuf::Descriptor* descriptor();
979
  static const ReportedTabletUpdatesPB& default_instance();
980
981
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
982
535k
  static inline const ReportedTabletUpdatesPB* internal_default_instance() {
983
535k
    return reinterpret_cast<const ReportedTabletUpdatesPB*>(
984
535k
               &_ReportedTabletUpdatesPB_default_instance_);
985
535k
  }
986
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
987
    5;
988
989
  void Swap(ReportedTabletUpdatesPB* other);
990
0
  friend void swap(ReportedTabletUpdatesPB& a, ReportedTabletUpdatesPB& b) {
991
0
    a.Swap(&b);
992
0
  }
993
994
  // implements Message ----------------------------------------------
995
996
0
  inline ReportedTabletUpdatesPB* New() const PROTOBUF_FINAL { return New(NULL); }
997
998
  ReportedTabletUpdatesPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
999
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1000
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1001
  void CopyFrom(const ReportedTabletUpdatesPB& from);
1002
  void MergeFrom(const ReportedTabletUpdatesPB& from);
1003
  void Clear() PROTOBUF_FINAL;
1004
  bool IsInitialized() const PROTOBUF_FINAL;
1005
1006
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1007
  bool MergePartialFromCodedStream(
1008
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1009
  void SerializeWithCachedSizes(
1010
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1011
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1012
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1013
259k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1014
  private:
1015
  void SharedCtor();
1016
  void SharedDtor();
1017
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1018
  void InternalSwap(ReportedTabletUpdatesPB* other);
1019
  private:
1020
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1021
0
    return NULL;
1022
0
  }
1023
0
  inline void* MaybeArenaPtr() const {
1024
0
    return NULL;
1025
0
  }
1026
  public:
1027
1028
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1029
1030
  // nested types ----------------------------------------------------
1031
1032
  // accessors -------------------------------------------------------
1033
1034
  // required bytes tablet_id = 1;
1035
  bool has_tablet_id() const;
1036
  void clear_tablet_id();
1037
  static const int kTabletIdFieldNumber = 1;
1038
  const ::std::string& tablet_id() const;
1039
  void set_tablet_id(const ::std::string& value);
1040
  #if LANG_CXX11
1041
  void set_tablet_id(::std::string&& value);
1042
  #endif
1043
  void set_tablet_id(const char* value);
1044
  void set_tablet_id(const void* value, size_t size);
1045
  ::std::string* mutable_tablet_id();
1046
  ::std::string* release_tablet_id();
1047
  void set_allocated_tablet_id(::std::string* tablet_id);
1048
1049
  // optional string state_msg = 2;
1050
  bool has_state_msg() const;
1051
  void clear_state_msg();
1052
  static const int kStateMsgFieldNumber = 2;
1053
  const ::std::string& state_msg() const;
1054
  void set_state_msg(const ::std::string& value);
1055
  #if LANG_CXX11
1056
  void set_state_msg(::std::string&& value);
1057
  #endif
1058
  void set_state_msg(const char* value);
1059
  void set_state_msg(const char* value, size_t size);
1060
  ::std::string* mutable_state_msg();
1061
  ::std::string* release_state_msg();
1062
  void set_allocated_state_msg(::std::string* state_msg);
1063
1064
  // @@protoc_insertion_point(class_scope:yb.master.ReportedTabletUpdatesPB)
1065
 private:
1066
  void set_has_tablet_id();
1067
  void clear_has_tablet_id();
1068
  void set_has_state_msg();
1069
  void clear_has_state_msg();
1070
1071
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1072
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1073
  mutable int _cached_size_;
1074
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
1075
  ::google::protobuf::internal::ArenaStringPtr state_msg_;
1076
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
1077
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsReportedTabletUpdatesPBImpl();
1078
};
1079
// -------------------------------------------------------------------
1080
1081
class TabletReportUpdatesPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TabletReportUpdatesPB) */ {
1082
 public:
1083
  TabletReportUpdatesPB();
1084
  virtual ~TabletReportUpdatesPB();
1085
1086
  TabletReportUpdatesPB(const TabletReportUpdatesPB& from);
1087
1088
0
  inline TabletReportUpdatesPB& operator=(const TabletReportUpdatesPB& from) {
1089
0
    CopyFrom(from);
1090
0
    return *this;
1091
0
  }
1092
  #if LANG_CXX11
1093
  TabletReportUpdatesPB(TabletReportUpdatesPB&& from) noexcept
1094
0
    : TabletReportUpdatesPB() {
1095
0
    *this = ::std::move(from);
1096
0
  }
1097
1098
0
  inline TabletReportUpdatesPB& operator=(TabletReportUpdatesPB&& from) noexcept {
1099
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1100
0
      if (this != &from) InternalSwap(&from);
1101
0
    } else {
1102
0
      CopyFrom(from);
1103
0
    }
1104
0
    return *this;
1105
0
  }
1106
  #endif
1107
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1108
0
    return _internal_metadata_.unknown_fields();
1109
0
  }
1110
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1111
0
    return _internal_metadata_.mutable_unknown_fields();
1112
0
  }
1113
1114
  static const ::google::protobuf::Descriptor* descriptor();
1115
  static const TabletReportUpdatesPB& default_instance();
1116
1117
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1118
816k
  static inline const TabletReportUpdatesPB* internal_default_instance() {
1119
816k
    return reinterpret_cast<const TabletReportUpdatesPB*>(
1120
816k
               &_TabletReportUpdatesPB_default_instance_);
1121
816k
  }
1122
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1123
    6;
1124
1125
  void Swap(TabletReportUpdatesPB* other);
1126
0
  friend void swap(TabletReportUpdatesPB& a, TabletReportUpdatesPB& b) {
1127
0
    a.Swap(&b);
1128
0
  }
1129
1130
  // implements Message ----------------------------------------------
1131
1132
0
  inline TabletReportUpdatesPB* New() const PROTOBUF_FINAL { return New(NULL); }
1133
1134
  TabletReportUpdatesPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1135
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1136
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1137
  void CopyFrom(const TabletReportUpdatesPB& from);
1138
  void MergeFrom(const TabletReportUpdatesPB& from);
1139
  void Clear() PROTOBUF_FINAL;
1140
  bool IsInitialized() const PROTOBUF_FINAL;
1141
1142
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1143
  bool MergePartialFromCodedStream(
1144
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1145
  void SerializeWithCachedSizes(
1146
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1147
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1148
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1149
382k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1150
  private:
1151
  void SharedCtor();
1152
  void SharedDtor();
1153
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1154
  void InternalSwap(TabletReportUpdatesPB* other);
1155
  private:
1156
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1157
0
    return NULL;
1158
0
  }
1159
0
  inline void* MaybeArenaPtr() const {
1160
0
    return NULL;
1161
0
  }
1162
  public:
1163
1164
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1165
1166
  // nested types ----------------------------------------------------
1167
1168
  // accessors -------------------------------------------------------
1169
1170
  // repeated .yb.master.ReportedTabletUpdatesPB tablets = 1;
1171
  int tablets_size() const;
1172
  void clear_tablets();
1173
  static const int kTabletsFieldNumber = 1;
1174
  const ::yb::master::ReportedTabletUpdatesPB& tablets(int index) const;
1175
  ::yb::master::ReportedTabletUpdatesPB* mutable_tablets(int index);
1176
  ::yb::master::ReportedTabletUpdatesPB* add_tablets();
1177
  ::google::protobuf::RepeatedPtrField< ::yb::master::ReportedTabletUpdatesPB >*
1178
      mutable_tablets();
1179
  const ::google::protobuf::RepeatedPtrField< ::yb::master::ReportedTabletUpdatesPB >&
1180
      tablets() const;
1181
1182
  // optional bool processing_truncated = 2 [default = false];
1183
  bool has_processing_truncated() const;
1184
  void clear_processing_truncated();
1185
  static const int kProcessingTruncatedFieldNumber = 2;
1186
  bool processing_truncated() const;
1187
  void set_processing_truncated(bool value);
1188
1189
  // @@protoc_insertion_point(class_scope:yb.master.TabletReportUpdatesPB)
1190
 private:
1191
  void set_has_processing_truncated();
1192
  void clear_has_processing_truncated();
1193
1194
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1195
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1196
  mutable int _cached_size_;
1197
  ::google::protobuf::RepeatedPtrField< ::yb::master::ReportedTabletUpdatesPB > tablets_;
1198
  bool processing_truncated_;
1199
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
1200
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTabletReportUpdatesPBImpl();
1201
};
1202
// -------------------------------------------------------------------
1203
1204
class TSInformationPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TSInformationPB) */ {
1205
 public:
1206
  TSInformationPB();
1207
  virtual ~TSInformationPB();
1208
1209
  TSInformationPB(const TSInformationPB& from);
1210
1211
2.57M
  inline TSInformationPB& operator=(const TSInformationPB& from) {
1212
2.57M
    CopyFrom(from);
1213
2.57M
    return *this;
1214
2.57M
  }
1215
  #if LANG_CXX11
1216
  TSInformationPB(TSInformationPB&& from) noexcept
1217
330k
    : TSInformationPB() {
1218
330k
    *this = ::std::move(from);
1219
330k
  }
Unexecuted instantiation: _ZN2yb6master15TSInformationPBC2EOS1_
_ZN2yb6master15TSInformationPBC1EOS1_
Line
Count
Source
1217
330k
    : TSInformationPB() {
1218
330k
    *this = ::std::move(from);
1219
330k
  }
1220
1221
330k
  inline TSInformationPB& operator=(TSInformationPB&& from) noexcept {
1222
330k
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1223
330k
      if (this != &from) InternalSwap(&from);
1224
18.4E
    } else {
1225
18.4E
      CopyFrom(from);
1226
18.4E
    }
1227
330k
    return *this;
1228
330k
  }
1229
  #endif
1230
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1231
0
    return _internal_metadata_.unknown_fields();
1232
0
  }
1233
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1234
0
    return _internal_metadata_.mutable_unknown_fields();
1235
0
  }
1236
1237
  static const ::google::protobuf::Descriptor* descriptor();
1238
  static const TSInformationPB& default_instance();
1239
1240
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1241
9.66M
  static inline const TSInformationPB* internal_default_instance() {
1242
9.66M
    return reinterpret_cast<const TSInformationPB*>(
1243
9.66M
               &_TSInformationPB_default_instance_);
1244
9.66M
  }
1245
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1246
    7;
1247
1248
  void Swap(TSInformationPB* other);
1249
0
  friend void swap(TSInformationPB& a, TSInformationPB& b) {
1250
0
    a.Swap(&b);
1251
0
  }
1252
1253
  // implements Message ----------------------------------------------
1254
1255
0
  inline TSInformationPB* New() const PROTOBUF_FINAL { return New(NULL); }
1256
1257
  TSInformationPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1258
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1259
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1260
  void CopyFrom(const TSInformationPB& from);
1261
  void MergeFrom(const TSInformationPB& from);
1262
  void Clear() PROTOBUF_FINAL;
1263
  bool IsInitialized() const PROTOBUF_FINAL;
1264
1265
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1266
  bool MergePartialFromCodedStream(
1267
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1268
  void SerializeWithCachedSizes(
1269
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1270
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1271
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1272
1.25M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1273
  private:
1274
  void SharedCtor();
1275
  void SharedDtor();
1276
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1277
  void InternalSwap(TSInformationPB* other);
1278
  private:
1279
661k
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1280
661k
    return NULL;
1281
661k
  }
1282
0
  inline void* MaybeArenaPtr() const {
1283
0
    return NULL;
1284
0
  }
1285
  public:
1286
1287
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1288
1289
  // nested types ----------------------------------------------------
1290
1291
  // accessors -------------------------------------------------------
1292
1293
  // required .yb.master.TSRegistrationPB registration = 1;
1294
  bool has_registration() const;
1295
  void clear_registration();
1296
  static const int kRegistrationFieldNumber = 1;
1297
  const ::yb::master::TSRegistrationPB& registration() const;
1298
  ::yb::master::TSRegistrationPB* release_registration();
1299
  ::yb::master::TSRegistrationPB* mutable_registration();
1300
  void set_allocated_registration(::yb::master::TSRegistrationPB* registration);
1301
1302
  // required .yb.NodeInstancePB tserver_instance = 2;
1303
  bool has_tserver_instance() const;
1304
  void clear_tserver_instance();
1305
  static const int kTserverInstanceFieldNumber = 2;
1306
  const ::yb::NodeInstancePB& tserver_instance() const;
1307
  ::yb::NodeInstancePB* release_tserver_instance();
1308
  ::yb::NodeInstancePB* mutable_tserver_instance();
1309
  void set_allocated_tserver_instance(::yb::NodeInstancePB* tserver_instance);
1310
1311
  // @@protoc_insertion_point(class_scope:yb.master.TSInformationPB)
1312
 private:
1313
  void set_has_registration();
1314
  void clear_has_registration();
1315
  void set_has_tserver_instance();
1316
  void clear_has_tserver_instance();
1317
1318
  // helper for ByteSizeLong()
1319
  size_t RequiredFieldsByteSizeFallback() const;
1320
1321
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1322
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1323
  mutable int _cached_size_;
1324
  ::yb::master::TSRegistrationPB* registration_;
1325
  ::yb::NodeInstancePB* tserver_instance_;
1326
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
1327
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTSInformationPBImpl();
1328
};
1329
// -------------------------------------------------------------------
1330
1331
class TSSnapshotScheduleInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TSSnapshotScheduleInfoPB) */ {
1332
 public:
1333
  TSSnapshotScheduleInfoPB();
1334
  virtual ~TSSnapshotScheduleInfoPB();
1335
1336
  TSSnapshotScheduleInfoPB(const TSSnapshotScheduleInfoPB& from);
1337
1338
0
  inline TSSnapshotScheduleInfoPB& operator=(const TSSnapshotScheduleInfoPB& from) {
1339
0
    CopyFrom(from);
1340
0
    return *this;
1341
0
  }
1342
  #if LANG_CXX11
1343
  TSSnapshotScheduleInfoPB(TSSnapshotScheduleInfoPB&& from) noexcept
1344
0
    : TSSnapshotScheduleInfoPB() {
1345
0
    *this = ::std::move(from);
1346
0
  }
1347
1348
0
  inline TSSnapshotScheduleInfoPB& operator=(TSSnapshotScheduleInfoPB&& from) noexcept {
1349
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1350
0
      if (this != &from) InternalSwap(&from);
1351
0
    } else {
1352
0
      CopyFrom(from);
1353
0
    }
1354
0
    return *this;
1355
0
  }
1356
  #endif
1357
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1358
0
    return _internal_metadata_.unknown_fields();
1359
0
  }
1360
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1361
0
    return _internal_metadata_.mutable_unknown_fields();
1362
0
  }
1363
1364
  static const ::google::protobuf::Descriptor* descriptor();
1365
  static const TSSnapshotScheduleInfoPB& default_instance();
1366
1367
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1368
15.8k
  static inline const TSSnapshotScheduleInfoPB* internal_default_instance() {
1369
15.8k
    return reinterpret_cast<const TSSnapshotScheduleInfoPB*>(
1370
15.8k
               &_TSSnapshotScheduleInfoPB_default_instance_);
1371
15.8k
  }
1372
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1373
    8;
1374
1375
  void Swap(TSSnapshotScheduleInfoPB* other);
1376
0
  friend void swap(TSSnapshotScheduleInfoPB& a, TSSnapshotScheduleInfoPB& b) {
1377
0
    a.Swap(&b);
1378
0
  }
1379
1380
  // implements Message ----------------------------------------------
1381
1382
0
  inline TSSnapshotScheduleInfoPB* New() const PROTOBUF_FINAL { return New(NULL); }
1383
1384
  TSSnapshotScheduleInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1385
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1386
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1387
  void CopyFrom(const TSSnapshotScheduleInfoPB& from);
1388
  void MergeFrom(const TSSnapshotScheduleInfoPB& from);
1389
  void Clear() PROTOBUF_FINAL;
1390
  bool IsInitialized() const PROTOBUF_FINAL;
1391
1392
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1393
  bool MergePartialFromCodedStream(
1394
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1395
  void SerializeWithCachedSizes(
1396
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1397
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1398
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1399
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1400
  private:
1401
  void SharedCtor();
1402
  void SharedDtor();
1403
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1404
  void InternalSwap(TSSnapshotScheduleInfoPB* other);
1405
  private:
1406
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1407
0
    return NULL;
1408
0
  }
1409
0
  inline void* MaybeArenaPtr() const {
1410
0
    return NULL;
1411
0
  }
1412
  public:
1413
1414
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1415
1416
  // nested types ----------------------------------------------------
1417
1418
  // accessors -------------------------------------------------------
1419
1420
  // optional bytes id = 1;
1421
  bool has_id() const;
1422
  void clear_id();
1423
  static const int kIdFieldNumber = 1;
1424
  const ::std::string& id() const;
1425
  void set_id(const ::std::string& value);
1426
  #if LANG_CXX11
1427
  void set_id(::std::string&& value);
1428
  #endif
1429
  void set_id(const char* value);
1430
  void set_id(const void* value, size_t size);
1431
  ::std::string* mutable_id();
1432
  ::std::string* release_id();
1433
  void set_allocated_id(::std::string* id);
1434
1435
  // optional fixed64 last_snapshot_hybrid_time = 2;
1436
  bool has_last_snapshot_hybrid_time() const;
1437
  void clear_last_snapshot_hybrid_time();
1438
  static const int kLastSnapshotHybridTimeFieldNumber = 2;
1439
  ::google::protobuf::uint64 last_snapshot_hybrid_time() const;
1440
  void set_last_snapshot_hybrid_time(::google::protobuf::uint64 value);
1441
1442
  // @@protoc_insertion_point(class_scope:yb.master.TSSnapshotScheduleInfoPB)
1443
 private:
1444
  void set_has_id();
1445
  void clear_has_id();
1446
  void set_has_last_snapshot_hybrid_time();
1447
  void clear_has_last_snapshot_hybrid_time();
1448
1449
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1450
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1451
  mutable int _cached_size_;
1452
  ::google::protobuf::internal::ArenaStringPtr id_;
1453
  ::google::protobuf::uint64 last_snapshot_hybrid_time_;
1454
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
1455
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTSSnapshotScheduleInfoPBImpl();
1456
};
1457
// -------------------------------------------------------------------
1458
1459
class TSSnapshotRestorationInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TSSnapshotRestorationInfoPB) */ {
1460
 public:
1461
  TSSnapshotRestorationInfoPB();
1462
  virtual ~TSSnapshotRestorationInfoPB();
1463
1464
  TSSnapshotRestorationInfoPB(const TSSnapshotRestorationInfoPB& from);
1465
1466
0
  inline TSSnapshotRestorationInfoPB& operator=(const TSSnapshotRestorationInfoPB& from) {
1467
0
    CopyFrom(from);
1468
0
    return *this;
1469
0
  }
1470
  #if LANG_CXX11
1471
  TSSnapshotRestorationInfoPB(TSSnapshotRestorationInfoPB&& from) noexcept
1472
0
    : TSSnapshotRestorationInfoPB() {
1473
0
    *this = ::std::move(from);
1474
0
  }
1475
1476
0
  inline TSSnapshotRestorationInfoPB& operator=(TSSnapshotRestorationInfoPB&& from) noexcept {
1477
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1478
0
      if (this != &from) InternalSwap(&from);
1479
0
    } else {
1480
0
      CopyFrom(from);
1481
0
    }
1482
0
    return *this;
1483
0
  }
1484
  #endif
1485
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1486
0
    return _internal_metadata_.unknown_fields();
1487
0
  }
1488
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1489
0
    return _internal_metadata_.mutable_unknown_fields();
1490
0
  }
1491
1492
  static const ::google::protobuf::Descriptor* descriptor();
1493
  static const TSSnapshotRestorationInfoPB& default_instance();
1494
1495
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1496
15.8k
  static inline const TSSnapshotRestorationInfoPB* internal_default_instance() {
1497
15.8k
    return reinterpret_cast<const TSSnapshotRestorationInfoPB*>(
1498
15.8k
               &_TSSnapshotRestorationInfoPB_default_instance_);
1499
15.8k
  }
1500
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1501
    9;
1502
1503
  void Swap(TSSnapshotRestorationInfoPB* other);
1504
0
  friend void swap(TSSnapshotRestorationInfoPB& a, TSSnapshotRestorationInfoPB& b) {
1505
0
    a.Swap(&b);
1506
0
  }
1507
1508
  // implements Message ----------------------------------------------
1509
1510
0
  inline TSSnapshotRestorationInfoPB* New() const PROTOBUF_FINAL { return New(NULL); }
1511
1512
  TSSnapshotRestorationInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1513
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1514
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1515
  void CopyFrom(const TSSnapshotRestorationInfoPB& from);
1516
  void MergeFrom(const TSSnapshotRestorationInfoPB& from);
1517
  void Clear() PROTOBUF_FINAL;
1518
  bool IsInitialized() const PROTOBUF_FINAL;
1519
1520
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1521
  bool MergePartialFromCodedStream(
1522
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1523
  void SerializeWithCachedSizes(
1524
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1525
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1526
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1527
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1528
  private:
1529
  void SharedCtor();
1530
  void SharedDtor();
1531
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1532
  void InternalSwap(TSSnapshotRestorationInfoPB* other);
1533
  private:
1534
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1535
0
    return NULL;
1536
0
  }
1537
0
  inline void* MaybeArenaPtr() const {
1538
0
    return NULL;
1539
0
  }
1540
  public:
1541
1542
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1543
1544
  // nested types ----------------------------------------------------
1545
1546
  // accessors -------------------------------------------------------
1547
1548
  // optional bytes id = 1;
1549
  bool has_id() const;
1550
  void clear_id();
1551
  static const int kIdFieldNumber = 1;
1552
  const ::std::string& id() const;
1553
  void set_id(const ::std::string& value);
1554
  #if LANG_CXX11
1555
  void set_id(::std::string&& value);
1556
  #endif
1557
  void set_id(const char* value);
1558
  void set_id(const void* value, size_t size);
1559
  ::std::string* mutable_id();
1560
  ::std::string* release_id();
1561
  void set_allocated_id(::std::string* id);
1562
1563
  // optional fixed64 complete_time_ht = 2;
1564
  bool has_complete_time_ht() const;
1565
  void clear_complete_time_ht();
1566
  static const int kCompleteTimeHtFieldNumber = 2;
1567
  ::google::protobuf::uint64 complete_time_ht() const;
1568
  void set_complete_time_ht(::google::protobuf::uint64 value);
1569
1570
  // @@protoc_insertion_point(class_scope:yb.master.TSSnapshotRestorationInfoPB)
1571
 private:
1572
  void set_has_id();
1573
  void clear_has_id();
1574
  void set_has_complete_time_ht();
1575
  void clear_has_complete_time_ht();
1576
1577
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1578
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1579
  mutable int _cached_size_;
1580
  ::google::protobuf::internal::ArenaStringPtr id_;
1581
  ::google::protobuf::uint64 complete_time_ht_;
1582
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
1583
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTSSnapshotRestorationInfoPBImpl();
1584
};
1585
// -------------------------------------------------------------------
1586
1587
class TSSnapshotsInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TSSnapshotsInfoPB) */ {
1588
 public:
1589
  TSSnapshotsInfoPB();
1590
  virtual ~TSSnapshotsInfoPB();
1591
1592
  TSSnapshotsInfoPB(const TSSnapshotsInfoPB& from);
1593
1594
0
  inline TSSnapshotsInfoPB& operator=(const TSSnapshotsInfoPB& from) {
1595
0
    CopyFrom(from);
1596
0
    return *this;
1597
0
  }
1598
  #if LANG_CXX11
1599
  TSSnapshotsInfoPB(TSSnapshotsInfoPB&& from) noexcept
1600
0
    : TSSnapshotsInfoPB() {
1601
0
    *this = ::std::move(from);
1602
0
  }
1603
1604
0
  inline TSSnapshotsInfoPB& operator=(TSSnapshotsInfoPB&& from) noexcept {
1605
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1606
0
      if (this != &from) InternalSwap(&from);
1607
0
    } else {
1608
0
      CopyFrom(from);
1609
0
    }
1610
0
    return *this;
1611
0
  }
1612
  #endif
1613
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1614
0
    return _internal_metadata_.unknown_fields();
1615
0
  }
1616
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1617
0
    return _internal_metadata_.mutable_unknown_fields();
1618
0
  }
1619
1620
  static const ::google::protobuf::Descriptor* descriptor();
1621
  static const TSSnapshotsInfoPB& default_instance();
1622
1623
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1624
818k
  static inline const TSSnapshotsInfoPB* internal_default_instance() {
1625
818k
    return reinterpret_cast<const TSSnapshotsInfoPB*>(
1626
818k
               &_TSSnapshotsInfoPB_default_instance_);
1627
818k
  }
1628
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1629
    10;
1630
1631
  void Swap(TSSnapshotsInfoPB* other);
1632
0
  friend void swap(TSSnapshotsInfoPB& a, TSSnapshotsInfoPB& b) {
1633
0
    a.Swap(&b);
1634
0
  }
1635
1636
  // implements Message ----------------------------------------------
1637
1638
0
  inline TSSnapshotsInfoPB* New() const PROTOBUF_FINAL { return New(NULL); }
1639
1640
  TSSnapshotsInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1641
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1642
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1643
  void CopyFrom(const TSSnapshotsInfoPB& from);
1644
  void MergeFrom(const TSSnapshotsInfoPB& from);
1645
  void Clear() PROTOBUF_FINAL;
1646
  bool IsInitialized() const PROTOBUF_FINAL;
1647
1648
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1649
  bool MergePartialFromCodedStream(
1650
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1651
  void SerializeWithCachedSizes(
1652
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1653
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1654
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1655
383k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1656
  private:
1657
  void SharedCtor();
1658
  void SharedDtor();
1659
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1660
  void InternalSwap(TSSnapshotsInfoPB* other);
1661
  private:
1662
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1663
0
    return NULL;
1664
0
  }
1665
0
  inline void* MaybeArenaPtr() const {
1666
0
    return NULL;
1667
0
  }
1668
  public:
1669
1670
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1671
1672
  // nested types ----------------------------------------------------
1673
1674
  // accessors -------------------------------------------------------
1675
1676
  // repeated .yb.master.TSSnapshotScheduleInfoPB schedules = 1;
1677
  int schedules_size() const;
1678
  void clear_schedules();
1679
  static const int kSchedulesFieldNumber = 1;
1680
  const ::yb::master::TSSnapshotScheduleInfoPB& schedules(int index) const;
1681
  ::yb::master::TSSnapshotScheduleInfoPB* mutable_schedules(int index);
1682
  ::yb::master::TSSnapshotScheduleInfoPB* add_schedules();
1683
  ::google::protobuf::RepeatedPtrField< ::yb::master::TSSnapshotScheduleInfoPB >*
1684
      mutable_schedules();
1685
  const ::google::protobuf::RepeatedPtrField< ::yb::master::TSSnapshotScheduleInfoPB >&
1686
      schedules() const;
1687
1688
  // repeated .yb.master.TSSnapshotRestorationInfoPB restorations = 3;
1689
  int restorations_size() const;
1690
  void clear_restorations();
1691
  static const int kRestorationsFieldNumber = 3;
1692
  const ::yb::master::TSSnapshotRestorationInfoPB& restorations(int index) const;
1693
  ::yb::master::TSSnapshotRestorationInfoPB* mutable_restorations(int index);
1694
  ::yb::master::TSSnapshotRestorationInfoPB* add_restorations();
1695
  ::google::protobuf::RepeatedPtrField< ::yb::master::TSSnapshotRestorationInfoPB >*
1696
      mutable_restorations();
1697
  const ::google::protobuf::RepeatedPtrField< ::yb::master::TSSnapshotRestorationInfoPB >&
1698
      restorations() const;
1699
1700
  // optional fixed64 last_restorations_update_ht = 2;
1701
  bool has_last_restorations_update_ht() const;
1702
  void clear_last_restorations_update_ht();
1703
  static const int kLastRestorationsUpdateHtFieldNumber = 2;
1704
  ::google::protobuf::uint64 last_restorations_update_ht() const;
1705
  void set_last_restorations_update_ht(::google::protobuf::uint64 value);
1706
1707
  // @@protoc_insertion_point(class_scope:yb.master.TSSnapshotsInfoPB)
1708
 private:
1709
  void set_has_last_restorations_update_ht();
1710
  void clear_has_last_restorations_update_ht();
1711
1712
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1713
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1714
  mutable int _cached_size_;
1715
  ::google::protobuf::RepeatedPtrField< ::yb::master::TSSnapshotScheduleInfoPB > schedules_;
1716
  ::google::protobuf::RepeatedPtrField< ::yb::master::TSSnapshotRestorationInfoPB > restorations_;
1717
  ::google::protobuf::uint64 last_restorations_update_ht_;
1718
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
1719
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTSSnapshotsInfoPBImpl();
1720
};
1721
// -------------------------------------------------------------------
1722
1723
class TSHeartbeatRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TSHeartbeatRequestPB) */ {
1724
 public:
1725
  TSHeartbeatRequestPB();
1726
  virtual ~TSHeartbeatRequestPB();
1727
1728
  TSHeartbeatRequestPB(const TSHeartbeatRequestPB& from);
1729
1730
0
  inline TSHeartbeatRequestPB& operator=(const TSHeartbeatRequestPB& from) {
1731
0
    CopyFrom(from);
1732
0
    return *this;
1733
0
  }
1734
  #if LANG_CXX11
1735
  TSHeartbeatRequestPB(TSHeartbeatRequestPB&& from) noexcept
1736
0
    : TSHeartbeatRequestPB() {
1737
0
    *this = ::std::move(from);
1738
0
  }
1739
1740
0
  inline TSHeartbeatRequestPB& operator=(TSHeartbeatRequestPB&& from) noexcept {
1741
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1742
0
      if (this != &from) InternalSwap(&from);
1743
0
    } else {
1744
0
      CopyFrom(from);
1745
0
    }
1746
0
    return *this;
1747
0
  }
1748
  #endif
1749
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1750
0
    return _internal_metadata_.unknown_fields();
1751
0
  }
1752
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1753
0
    return _internal_metadata_.mutable_unknown_fields();
1754
0
  }
1755
1756
  static const ::google::protobuf::Descriptor* descriptor();
1757
  static const TSHeartbeatRequestPB& default_instance();
1758
1759
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1760
3.95M
  static inline const TSHeartbeatRequestPB* internal_default_instance() {
1761
3.95M
    return reinterpret_cast<const TSHeartbeatRequestPB*>(
1762
3.95M
               &_TSHeartbeatRequestPB_default_instance_);
1763
3.95M
  }
1764
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1765
    11;
1766
1767
  void Swap(TSHeartbeatRequestPB* other);
1768
0
  friend void swap(TSHeartbeatRequestPB& a, TSHeartbeatRequestPB& b) {
1769
0
    a.Swap(&b);
1770
0
  }
1771
1772
  // implements Message ----------------------------------------------
1773
1774
0
  inline TSHeartbeatRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1775
1776
  TSHeartbeatRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1777
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1778
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1779
  void CopyFrom(const TSHeartbeatRequestPB& from);
1780
  void MergeFrom(const TSHeartbeatRequestPB& from);
1781
  void Clear() PROTOBUF_FINAL;
1782
  bool IsInitialized() const PROTOBUF_FINAL;
1783
1784
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1785
  bool MergePartialFromCodedStream(
1786
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1787
  void SerializeWithCachedSizes(
1788
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1789
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1790
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1791
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1792
  private:
1793
  void SharedCtor();
1794
  void SharedDtor();
1795
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1796
  void InternalSwap(TSHeartbeatRequestPB* other);
1797
  private:
1798
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1799
0
    return NULL;
1800
0
  }
1801
0
  inline void* MaybeArenaPtr() const {
1802
0
    return NULL;
1803
0
  }
1804
  public:
1805
1806
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1807
1808
  // nested types ----------------------------------------------------
1809
1810
  // accessors -------------------------------------------------------
1811
1812
  // repeated .yb.master.TabletForSplitPB DEPRECATED_tablets_for_split = 9;
1813
  int deprecated_tablets_for_split_size() const;
1814
  void clear_deprecated_tablets_for_split();
1815
  static const int kDEPRECATEDTabletsForSplitFieldNumber = 9;
1816
  const ::yb::master::TabletForSplitPB& deprecated_tablets_for_split(int index) const;
1817
  ::yb::master::TabletForSplitPB* mutable_deprecated_tablets_for_split(int index);
1818
  ::yb::master::TabletForSplitPB* add_deprecated_tablets_for_split();
1819
  ::google::protobuf::RepeatedPtrField< ::yb::master::TabletForSplitPB >*
1820
      mutable_deprecated_tablets_for_split();
1821
  const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletForSplitPB >&
1822
      deprecated_tablets_for_split() const;
1823
1824
  // repeated .yb.master.TabletDriveStorageMetadataPB storage_metadata = 14;
1825
  int storage_metadata_size() const;
1826
  void clear_storage_metadata();
1827
  static const int kStorageMetadataFieldNumber = 14;
1828
  const ::yb::master::TabletDriveStorageMetadataPB& storage_metadata(int index) const;
1829
  ::yb::master::TabletDriveStorageMetadataPB* mutable_storage_metadata(int index);
1830
  ::yb::master::TabletDriveStorageMetadataPB* add_storage_metadata();
1831
  ::google::protobuf::RepeatedPtrField< ::yb::master::TabletDriveStorageMetadataPB >*
1832
      mutable_storage_metadata();
1833
  const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletDriveStorageMetadataPB >&
1834
      storage_metadata() const;
1835
1836
  // required .yb.master.TSToMasterCommonPB common = 1;
1837
  bool has_common() const;
1838
  void clear_common();
1839
  static const int kCommonFieldNumber = 1;
1840
  const ::yb::master::TSToMasterCommonPB& common() const;
1841
  ::yb::master::TSToMasterCommonPB* release_common();
1842
  ::yb::master::TSToMasterCommonPB* mutable_common();
1843
  void set_allocated_common(::yb::master::TSToMasterCommonPB* common);
1844
1845
  // optional .yb.master.TSRegistrationPB registration = 2;
1846
  bool has_registration() const;
1847
  void clear_registration();
1848
  static const int kRegistrationFieldNumber = 2;
1849
  const ::yb::master::TSRegistrationPB& registration() const;
1850
  ::yb::master::TSRegistrationPB* release_registration();
1851
  ::yb::master::TSRegistrationPB* mutable_registration();
1852
  void set_allocated_registration(::yb::master::TSRegistrationPB* registration);
1853
1854
  // optional .yb.master.TabletReportPB tablet_report = 3;
1855
  bool has_tablet_report() const;
1856
  void clear_tablet_report();
1857
  static const int kTabletReportFieldNumber = 3;
1858
  const ::yb::master::TabletReportPB& tablet_report() const;
1859
  ::yb::master::TabletReportPB* release_tablet_report();
1860
  ::yb::master::TabletReportPB* mutable_tablet_report();
1861
  void set_allocated_tablet_report(::yb::master::TabletReportPB* tablet_report);
1862
1863
  // optional .yb.master.TServerMetricsPB metrics = 6;
1864
  bool has_metrics() const;
1865
  void clear_metrics();
1866
  static const int kMetricsFieldNumber = 6;
1867
  const ::yb::master::TServerMetricsPB& metrics() const;
1868
  ::yb::master::TServerMetricsPB* release_metrics();
1869
  ::yb::master::TServerMetricsPB* mutable_metrics();
1870
  void set_allocated_metrics(::yb::master::TServerMetricsPB* metrics);
1871
1872
  // optional int64 config_index = 5;
1873
  bool has_config_index() const;
1874
  void clear_config_index();
1875
  static const int kConfigIndexFieldNumber = 5;
1876
  ::google::protobuf::int64 config_index() const;
1877
  void set_config_index(::google::protobuf::int64 value);
1878
1879
  // optional int32 num_live_tablets = 4;
1880
  bool has_num_live_tablets() const;
1881
  void clear_num_live_tablets();
1882
  static const int kNumLiveTabletsFieldNumber = 4;
1883
  ::google::protobuf::int32 num_live_tablets() const;
1884
  void set_num_live_tablets(::google::protobuf::int32 value);
1885
1886
  // optional int32 leader_count = 7;
1887
  bool has_leader_count() const;
1888
  void clear_leader_count();
1889
  static const int kLeaderCountFieldNumber = 7;
1890
  ::google::protobuf::int32 leader_count() const;
1891
  void set_leader_count(::google::protobuf::int32 value);
1892
1893
  // optional fixed64 ts_physical_time = 10;
1894
  bool has_ts_physical_time() const;
1895
  void clear_ts_physical_time();
1896
  static const int kTsPhysicalTimeFieldNumber = 10;
1897
  ::google::protobuf::uint64 ts_physical_time() const;
1898
  void set_ts_physical_time(::google::protobuf::uint64 value);
1899
1900
  // optional fixed64 ts_hybrid_time = 11;
1901
  bool has_ts_hybrid_time() const;
1902
  void clear_ts_hybrid_time();
1903
  static const int kTsHybridTimeFieldNumber = 11;
1904
  ::google::protobuf::uint64 ts_hybrid_time() const;
1905
  void set_ts_hybrid_time(::google::protobuf::uint64 value);
1906
1907
  // optional int64 rtt_us = 12;
1908
  bool has_rtt_us() const;
1909
  void clear_rtt_us();
1910
  static const int kRttUsFieldNumber = 12;
1911
  ::google::protobuf::int64 rtt_us() const;
1912
  void set_rtt_us(::google::protobuf::int64 value);
1913
1914
  // optional int32 cluster_config_version = 8;
1915
  bool has_cluster_config_version() const;
1916
  void clear_cluster_config_version();
1917
  static const int kClusterConfigVersionFieldNumber = 8;
1918
  ::google::protobuf::int32 cluster_config_version() const;
1919
  void set_cluster_config_version(::google::protobuf::int32 value);
1920
1921
  // @@protoc_insertion_point(class_scope:yb.master.TSHeartbeatRequestPB)
1922
 private:
1923
  void set_has_common();
1924
  void clear_has_common();
1925
  void set_has_registration();
1926
  void clear_has_registration();
1927
  void set_has_tablet_report();
1928
  void clear_has_tablet_report();
1929
  void set_has_num_live_tablets();
1930
  void clear_has_num_live_tablets();
1931
  void set_has_config_index();
1932
  void clear_has_config_index();
1933
  void set_has_metrics();
1934
  void clear_has_metrics();
1935
  void set_has_leader_count();
1936
  void clear_has_leader_count();
1937
  void set_has_cluster_config_version();
1938
  void clear_has_cluster_config_version();
1939
  void set_has_ts_physical_time();
1940
  void clear_has_ts_physical_time();
1941
  void set_has_ts_hybrid_time();
1942
  void clear_has_ts_hybrid_time();
1943
  void set_has_rtt_us();
1944
  void clear_has_rtt_us();
1945
1946
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1947
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1948
  mutable int _cached_size_;
1949
  ::google::protobuf::RepeatedPtrField< ::yb::master::TabletForSplitPB > deprecated_tablets_for_split_;
1950
  ::google::protobuf::RepeatedPtrField< ::yb::master::TabletDriveStorageMetadataPB > storage_metadata_;
1951
  ::yb::master::TSToMasterCommonPB* common_;
1952
  ::yb::master::TSRegistrationPB* registration_;
1953
  ::yb::master::TabletReportPB* tablet_report_;
1954
  ::yb::master::TServerMetricsPB* metrics_;
1955
  ::google::protobuf::int64 config_index_;
1956
  ::google::protobuf::int32 num_live_tablets_;
1957
  ::google::protobuf::int32 leader_count_;
1958
  ::google::protobuf::uint64 ts_physical_time_;
1959
  ::google::protobuf::uint64 ts_hybrid_time_;
1960
  ::google::protobuf::int64 rtt_us_;
1961
  ::google::protobuf::int32 cluster_config_version_;
1962
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
1963
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTSHeartbeatRequestPBImpl();
1964
};
1965
// -------------------------------------------------------------------
1966
1967
class TSHeartbeatResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TSHeartbeatResponsePB) */ {
1968
 public:
1969
  TSHeartbeatResponsePB();
1970
  virtual ~TSHeartbeatResponsePB();
1971
1972
  TSHeartbeatResponsePB(const TSHeartbeatResponsePB& from);
1973
1974
0
  inline TSHeartbeatResponsePB& operator=(const TSHeartbeatResponsePB& from) {
1975
0
    CopyFrom(from);
1976
0
    return *this;
1977
0
  }
1978
  #if LANG_CXX11
1979
  TSHeartbeatResponsePB(TSHeartbeatResponsePB&& from) noexcept
1980
0
    : TSHeartbeatResponsePB() {
1981
0
    *this = ::std::move(from);
1982
0
  }
1983
1984
0
  inline TSHeartbeatResponsePB& operator=(TSHeartbeatResponsePB&& from) noexcept {
1985
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1986
0
      if (this != &from) InternalSwap(&from);
1987
0
    } else {
1988
0
      CopyFrom(from);
1989
0
    }
1990
0
    return *this;
1991
0
  }
1992
  #endif
1993
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1994
0
    return _internal_metadata_.unknown_fields();
1995
0
  }
1996
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1997
0
    return _internal_metadata_.mutable_unknown_fields();
1998
0
  }
1999
2000
  static const ::google::protobuf::Descriptor* descriptor();
2001
  static const TSHeartbeatResponsePB& default_instance();
2002
2003
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2004
6.32M
  static inline const TSHeartbeatResponsePB* internal_default_instance() {
2005
6.32M
    return reinterpret_cast<const TSHeartbeatResponsePB*>(
2006
6.32M
               &_TSHeartbeatResponsePB_default_instance_);
2007
6.32M
  }
2008
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2009
    12;
2010
2011
  void Swap(TSHeartbeatResponsePB* other);
2012
0
  friend void swap(TSHeartbeatResponsePB& a, TSHeartbeatResponsePB& b) {
2013
0
    a.Swap(&b);
2014
0
  }
2015
2016
  // implements Message ----------------------------------------------
2017
2018
0
  inline TSHeartbeatResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
2019
2020
  TSHeartbeatResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2021
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2022
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2023
  void CopyFrom(const TSHeartbeatResponsePB& from);
2024
  void MergeFrom(const TSHeartbeatResponsePB& from);
2025
  void Clear() PROTOBUF_FINAL;
2026
  bool IsInitialized() const PROTOBUF_FINAL;
2027
2028
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2029
  bool MergePartialFromCodedStream(
2030
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2031
  void SerializeWithCachedSizes(
2032
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2033
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2034
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2035
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2036
  private:
2037
  void SharedCtor();
2038
  void SharedDtor();
2039
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2040
  void InternalSwap(TSHeartbeatResponsePB* other);
2041
  private:
2042
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2043
0
    return NULL;
2044
0
  }
2045
0
  inline void* MaybeArenaPtr() const {
2046
0
    return NULL;
2047
0
  }
2048
  public:
2049
2050
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2051
2052
  // nested types ----------------------------------------------------
2053
2054
  // accessors -------------------------------------------------------
2055
2056
  // repeated .yb.master.TSInformationPB tservers = 8;
2057
  int tservers_size() const;
2058
  void clear_tservers();
2059
  static const int kTserversFieldNumber = 8;
2060
  const ::yb::master::TSInformationPB& tservers(int index) const;
2061
  ::yb::master::TSInformationPB* mutable_tservers(int index);
2062
  ::yb::master::TSInformationPB* add_tservers();
2063
  ::google::protobuf::RepeatedPtrField< ::yb::master::TSInformationPB >*
2064
      mutable_tservers();
2065
  const ::google::protobuf::RepeatedPtrField< ::yb::master::TSInformationPB >&
2066
      tservers() const;
2067
2068
  // optional string cluster_uuid = 9;
2069
  bool has_cluster_uuid() const;
2070
  void clear_cluster_uuid();
2071
  static const int kClusterUuidFieldNumber = 9;
2072
  const ::std::string& cluster_uuid() const;
2073
  void set_cluster_uuid(const ::std::string& value);
2074
  #if LANG_CXX11
2075
  void set_cluster_uuid(::std::string&& value);
2076
  #endif
2077
  void set_cluster_uuid(const char* value);
2078
  void set_cluster_uuid(const char* value, size_t size);
2079
  ::std::string* mutable_cluster_uuid();
2080
  ::std::string* release_cluster_uuid();
2081
  void set_allocated_cluster_uuid(::std::string* cluster_uuid);
2082
2083
  // optional .yb.master.MasterErrorPB error = 1;
2084
  bool has_error() const;
2085
  void clear_error();
2086
  static const int kErrorFieldNumber = 1;
2087
  const ::yb::master::MasterErrorPB& error() const;
2088
  ::yb::master::MasterErrorPB* release_error();
2089
  ::yb::master::MasterErrorPB* mutable_error();
2090
  void set_allocated_error(::yb::master::MasterErrorPB* error);
2091
2092
  // optional .yb.NodeInstancePB master_instance = 2;
2093
  bool has_master_instance() const;
2094
  void clear_master_instance();
2095
  static const int kMasterInstanceFieldNumber = 2;
2096
  const ::yb::NodeInstancePB& master_instance() const;
2097
  ::yb::NodeInstancePB* release_master_instance();
2098
  ::yb::NodeInstancePB* mutable_master_instance();
2099
  void set_allocated_master_instance(::yb::NodeInstancePB* master_instance);
2100
2101
  // optional .yb.master.TabletReportUpdatesPB tablet_report = 5;
2102
  bool has_tablet_report() const;
2103
  void clear_tablet_report();
2104
  static const int kTabletReportFieldNumber = 5;
2105
  const ::yb::master::TabletReportUpdatesPB& tablet_report() const;
2106
  ::yb::master::TabletReportUpdatesPB* release_tablet_report();
2107
  ::yb::master::TabletReportUpdatesPB* mutable_tablet_report();
2108
  void set_allocated_tablet_report(::yb::master::TabletReportUpdatesPB* tablet_report);
2109
2110
  // optional .yb.consensus.RaftConfigPB master_config = 7;
2111
  bool has_master_config() const;
2112
  void clear_master_config();
2113
  static const int kMasterConfigFieldNumber = 7;
2114
  const ::yb::consensus::RaftConfigPB& master_config() const;
2115
  ::yb::consensus::RaftConfigPB* release_master_config();
2116
  ::yb::consensus::RaftConfigPB* mutable_master_config();
2117
  void set_allocated_master_config(::yb::consensus::RaftConfigPB* master_config);
2118
2119
  // optional .yb.encryption.UniverseKeyRegistryPB universe_key_registry = 11;
2120
  bool has_universe_key_registry() const;
2121
  void clear_universe_key_registry();
2122
  static const int kUniverseKeyRegistryFieldNumber = 11;
2123
  const ::yb::encryption::UniverseKeyRegistryPB& universe_key_registry() const;
2124
  ::yb::encryption::UniverseKeyRegistryPB* release_universe_key_registry();
2125
  ::yb::encryption::UniverseKeyRegistryPB* mutable_universe_key_registry();
2126
  void set_allocated_universe_key_registry(::yb::encryption::UniverseKeyRegistryPB* universe_key_registry);
2127
2128
  // optional .yb.cdc.ConsumerRegistryPB consumer_registry = 12;
2129
  bool has_consumer_registry() const;
2130
  void clear_consumer_registry();
2131
  static const int kConsumerRegistryFieldNumber = 12;
2132
  const ::yb::cdc::ConsumerRegistryPB& consumer_registry() const;
2133
  ::yb::cdc::ConsumerRegistryPB* release_consumer_registry();
2134
  ::yb::cdc::ConsumerRegistryPB* mutable_consumer_registry();
2135
  void set_allocated_consumer_registry(::yb::cdc::ConsumerRegistryPB* consumer_registry);
2136
2137
  // optional .yb.master.TSSnapshotsInfoPB snapshots_info = 17;
2138
  bool has_snapshots_info() const;
2139
  void clear_snapshots_info();
2140
  static const int kSnapshotsInfoFieldNumber = 17;
2141
  const ::yb::master::TSSnapshotsInfoPB& snapshots_info() const;
2142
  ::yb::master::TSSnapshotsInfoPB* release_snapshots_info();
2143
  ::yb::master::TSSnapshotsInfoPB* mutable_snapshots_info();
2144
  void set_allocated_snapshots_info(::yb::master::TSSnapshotsInfoPB* snapshots_info);
2145
2146
  // optional bool needs_reregister = 3 [default = false];
2147
  bool has_needs_reregister() const;
2148
  void clear_needs_reregister();
2149
  static const int kNeedsReregisterFieldNumber = 3;
2150
  bool needs_reregister() const;
2151
  void set_needs_reregister(bool value);
2152
2153
  // optional bool needs_full_tablet_report = 4 [default = false];
2154
  bool has_needs_full_tablet_report() const;
2155
  void clear_needs_full_tablet_report();
2156
  static const int kNeedsFullTabletReportFieldNumber = 4;
2157
  bool needs_full_tablet_report() const;
2158
  void set_needs_full_tablet_report(bool value);
2159
2160
  // optional bool leader_master = 6;
2161
  bool has_leader_master() const;
2162
  void clear_leader_master();
2163
  static const int kLeaderMasterFieldNumber = 6;
2164
  bool leader_master() const;
2165
  void set_leader_master(bool value);
2166
2167
  // optional int32 cluster_config_version = 13;
2168
  bool has_cluster_config_version() const;
2169
  void clear_cluster_config_version();
2170
  static const int kClusterConfigVersionFieldNumber = 13;
2171
  ::google::protobuf::int32 cluster_config_version() const;
2172
  void set_cluster_config_version(::google::protobuf::int32 value);
2173
2174
  // optional uint64 ysql_catalog_version = 10;
2175
  bool has_ysql_catalog_version() const;
2176
  void clear_ysql_catalog_version();
2177
  static const int kYsqlCatalogVersionFieldNumber = 10;
2178
  ::google::protobuf::uint64 ysql_catalog_version() const;
2179
  void set_ysql_catalog_version(::google::protobuf::uint64 value);
2180
2181
  // optional int64 DEPRECATED_tablet_split_size_threshold_bytes = 14;
2182
  bool has_deprecated_tablet_split_size_threshold_bytes() const;
2183
  void clear_deprecated_tablet_split_size_threshold_bytes();
2184
  static const int kDEPRECATEDTabletSplitSizeThresholdBytesFieldNumber = 14;
2185
  ::google::protobuf::int64 deprecated_tablet_split_size_threshold_bytes() const;
2186
  void set_deprecated_tablet_split_size_threshold_bytes(::google::protobuf::int64 value);
2187
2188
  // optional uint64 ysql_last_breaking_catalog_version = 15;
2189
  bool has_ysql_last_breaking_catalog_version() const;
2190
  void clear_ysql_last_breaking_catalog_version();
2191
  static const int kYsqlLastBreakingCatalogVersionFieldNumber = 15;
2192
  ::google::protobuf::uint64 ysql_last_breaking_catalog_version() const;
2193
  void set_ysql_last_breaking_catalog_version(::google::protobuf::uint64 value);
2194
2195
  // optional uint64 transaction_tables_version = 18;
2196
  bool has_transaction_tables_version() const;
2197
  void clear_transaction_tables_version();
2198
  static const int kTransactionTablesVersionFieldNumber = 18;
2199
  ::google::protobuf::uint64 transaction_tables_version() const;
2200
  void set_transaction_tables_version(::google::protobuf::uint64 value);
2201
2202
  // optional int32 tablet_report_limit = 16;
2203
  bool has_tablet_report_limit() const;
2204
  void clear_tablet_report_limit();
2205
  static const int kTabletReportLimitFieldNumber = 16;
2206
  ::google::protobuf::int32 tablet_report_limit() const;
2207
  void set_tablet_report_limit(::google::protobuf::int32 value);
2208
2209
  // @@protoc_insertion_point(class_scope:yb.master.TSHeartbeatResponsePB)
2210
 private:
2211
  void set_has_error();
2212
  void clear_has_error();
2213
  void set_has_master_instance();
2214
  void clear_has_master_instance();
2215
  void set_has_needs_reregister();
2216
  void clear_has_needs_reregister();
2217
  void set_has_needs_full_tablet_report();
2218
  void clear_has_needs_full_tablet_report();
2219
  void set_has_tablet_report();
2220
  void clear_has_tablet_report();
2221
  void set_has_leader_master();
2222
  void clear_has_leader_master();
2223
  void set_has_master_config();
2224
  void clear_has_master_config();
2225
  void set_has_cluster_uuid();
2226
  void clear_has_cluster_uuid();
2227
  void set_has_ysql_catalog_version();
2228
  void clear_has_ysql_catalog_version();
2229
  void set_has_ysql_last_breaking_catalog_version();
2230
  void clear_has_ysql_last_breaking_catalog_version();
2231
  void set_has_universe_key_registry();
2232
  void clear_has_universe_key_registry();
2233
  void set_has_consumer_registry();
2234
  void clear_has_consumer_registry();
2235
  void set_has_cluster_config_version();
2236
  void clear_has_cluster_config_version();
2237
  void set_has_tablet_report_limit();
2238
  void clear_has_tablet_report_limit();
2239
  void set_has_snapshots_info();
2240
  void clear_has_snapshots_info();
2241
  void set_has_deprecated_tablet_split_size_threshold_bytes();
2242
  void clear_has_deprecated_tablet_split_size_threshold_bytes();
2243
  void set_has_transaction_tables_version();
2244
  void clear_has_transaction_tables_version();
2245
2246
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2247
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2248
  mutable int _cached_size_;
2249
  ::google::protobuf::RepeatedPtrField< ::yb::master::TSInformationPB > tservers_;
2250
  ::google::protobuf::internal::ArenaStringPtr cluster_uuid_;
2251
  ::yb::master::MasterErrorPB* error_;
2252
  ::yb::NodeInstancePB* master_instance_;
2253
  ::yb::master::TabletReportUpdatesPB* tablet_report_;
2254
  ::yb::consensus::RaftConfigPB* master_config_;
2255
  ::yb::encryption::UniverseKeyRegistryPB* universe_key_registry_;
2256
  ::yb::cdc::ConsumerRegistryPB* consumer_registry_;
2257
  ::yb::master::TSSnapshotsInfoPB* snapshots_info_;
2258
  bool needs_reregister_;
2259
  bool needs_full_tablet_report_;
2260
  bool leader_master_;
2261
  ::google::protobuf::int32 cluster_config_version_;
2262
  ::google::protobuf::uint64 ysql_catalog_version_;
2263
  ::google::protobuf::int64 deprecated_tablet_split_size_threshold_bytes_;
2264
  ::google::protobuf::uint64 ysql_last_breaking_catalog_version_;
2265
  ::google::protobuf::uint64 transaction_tables_version_;
2266
  ::google::protobuf::int32 tablet_report_limit_;
2267
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::TableStruct;
2268
  friend void ::protobuf_yb_2fmaster_2fmaster_5fheartbeat_2eproto::InitDefaultsTSHeartbeatResponsePBImpl();
2269
};
2270
// ===================================================================
2271
2272
2273
// ===================================================================
2274
2275
#ifdef __GNUC__
2276
  #pragma GCC diagnostic push
2277
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2278
#endif  // __GNUC__
2279
// TSToMasterCommonPB
2280
2281
// required .yb.NodeInstancePB ts_instance = 1;
2282
1.59M
inline bool TSToMasterCommonPB::has_ts_instance() const {
2283
1.59M
  return (_has_bits_[0] & 0x00000001u) != 0;
2284
1.59M
}
2285
784k
inline void TSToMasterCommonPB::set_has_ts_instance() {
2286
784k
  _has_bits_[0] |= 0x00000001u;
2287
784k
}
2288
0
inline void TSToMasterCommonPB::clear_has_ts_instance() {
2289
0
  _has_bits_[0] &= ~0x00000001u;
2290
0
}
2291
773k
inline const ::yb::NodeInstancePB& TSToMasterCommonPB::ts_instance() const {
2292
773k
  const ::yb::NodeInstancePB* p = ts_instance_;
2293
  // @@protoc_insertion_point(field_get:yb.master.TSToMasterCommonPB.ts_instance)
2294
773k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::NodeInstancePB*>(
2295
18
      &::yb::_NodeInstancePB_default_instance_);
2296
773k
}
2297
0
inline ::yb::NodeInstancePB* TSToMasterCommonPB::release_ts_instance() {
2298
0
  // @@protoc_insertion_point(field_release:yb.master.TSToMasterCommonPB.ts_instance)
2299
0
  clear_has_ts_instance();
2300
0
  ::yb::NodeInstancePB* temp = ts_instance_;
2301
0
  ts_instance_ = NULL;
2302
0
  return temp;
2303
0
}
2304
788k
inline ::yb::NodeInstancePB* TSToMasterCommonPB::mutable_ts_instance() {
2305
788k
  set_has_ts_instance();
2306
788k
  if (ts_instance_ == NULL) {
2307
788k
    ts_instance_ = new ::yb::NodeInstancePB;
2308
788k
  }
2309
  // @@protoc_insertion_point(field_mutable:yb.master.TSToMasterCommonPB.ts_instance)
2310
788k
  return ts_instance_;
2311
788k
}
2312
0
inline void TSToMasterCommonPB::set_allocated_ts_instance(::yb::NodeInstancePB* ts_instance) {
2313
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2314
0
  if (message_arena == NULL) {
2315
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(ts_instance_);
2316
0
  }
2317
0
  if (ts_instance) {
2318
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2319
0
    if (message_arena != submessage_arena) {
2320
0
      ts_instance = ::google::protobuf::internal::GetOwnedMessage(
2321
0
          message_arena, ts_instance, submessage_arena);
2322
0
    }
2323
0
    set_has_ts_instance();
2324
0
  } else {
2325
0
    clear_has_ts_instance();
2326
0
  }
2327
0
  ts_instance_ = ts_instance;
2328
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSToMasterCommonPB.ts_instance)
2329
0
}
2330
2331
// -------------------------------------------------------------------
2332
2333
// ReportedTabletPB
2334
2335
// required bytes tablet_id = 1;
2336
526k
inline bool ReportedTabletPB::has_tablet_id() const {
2337
526k
  return (_has_bits_[0] & 0x00000001u) != 0;
2338
526k
}
2339
525k
inline void ReportedTabletPB::set_has_tablet_id() {
2340
525k
  _has_bits_[0] |= 0x00000001u;
2341
525k
}
2342
0
inline void ReportedTabletPB::clear_has_tablet_id() {
2343
0
  _has_bits_[0] &= ~0x00000001u;
2344
0
}
2345
0
inline void ReportedTabletPB::clear_tablet_id() {
2346
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2347
0
  clear_has_tablet_id();
2348
0
}
2349
1.05M
inline const ::std::string& ReportedTabletPB::tablet_id() const {
2350
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletPB.tablet_id)
2351
1.05M
  return tablet_id_.GetNoArena();
2352
1.05M
}
2353
263k
inline void ReportedTabletPB::set_tablet_id(const ::std::string& value) {
2354
263k
  set_has_tablet_id();
2355
263k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2356
  // @@protoc_insertion_point(field_set:yb.master.ReportedTabletPB.tablet_id)
2357
263k
}
2358
#if LANG_CXX11
2359
0
inline void ReportedTabletPB::set_tablet_id(::std::string&& value) {
2360
0
  set_has_tablet_id();
2361
0
  tablet_id_.SetNoArena(
2362
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2363
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ReportedTabletPB.tablet_id)
2364
0
}
2365
#endif
2366
0
inline void ReportedTabletPB::set_tablet_id(const char* value) {
2367
0
  GOOGLE_DCHECK(value != NULL);
2368
0
  set_has_tablet_id();
2369
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2370
0
  // @@protoc_insertion_point(field_set_char:yb.master.ReportedTabletPB.tablet_id)
2371
0
}
2372
0
inline void ReportedTabletPB::set_tablet_id(const void* value, size_t size) {
2373
0
  set_has_tablet_id();
2374
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2375
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2376
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ReportedTabletPB.tablet_id)
2377
0
}
2378
262k
inline ::std::string* ReportedTabletPB::mutable_tablet_id() {
2379
262k
  set_has_tablet_id();
2380
  // @@protoc_insertion_point(field_mutable:yb.master.ReportedTabletPB.tablet_id)
2381
262k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2382
262k
}
2383
0
inline ::std::string* ReportedTabletPB::release_tablet_id() {
2384
0
  // @@protoc_insertion_point(field_release:yb.master.ReportedTabletPB.tablet_id)
2385
0
  clear_has_tablet_id();
2386
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2387
0
}
2388
0
inline void ReportedTabletPB::set_allocated_tablet_id(::std::string* tablet_id) {
2389
0
  if (tablet_id != NULL) {
2390
0
    set_has_tablet_id();
2391
0
  } else {
2392
0
    clear_has_tablet_id();
2393
0
  }
2394
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
2395
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ReportedTabletPB.tablet_id)
2396
0
}
2397
2398
// optional .yb.tablet.RaftGroupStatePB state = 2 [default = UNKNOWN];
2399
526k
inline bool ReportedTabletPB::has_state() const {
2400
526k
  return (_has_bits_[0] & 0x00000080u) != 0;
2401
526k
}
2402
525k
inline void ReportedTabletPB::set_has_state() {
2403
525k
  _has_bits_[0] |= 0x00000080u;
2404
525k
}
2405
0
inline void ReportedTabletPB::clear_has_state() {
2406
0
  _has_bits_[0] &= ~0x00000080u;
2407
0
}
2408
0
inline void ReportedTabletPB::clear_state() {
2409
0
  state_ = 999;
2410
0
  clear_has_state();
2411
0
}
2412
1.29M
inline ::yb::tablet::RaftGroupStatePB ReportedTabletPB::state() const {
2413
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletPB.state)
2414
1.29M
  return static_cast< ::yb::tablet::RaftGroupStatePB >(state_);
2415
1.29M
}
2416
525k
inline void ReportedTabletPB::set_state(::yb::tablet::RaftGroupStatePB value) {
2417
525k
  assert(::yb::tablet::RaftGroupStatePB_IsValid(value));
2418
525k
  set_has_state();
2419
525k
  state_ = value;
2420
  // @@protoc_insertion_point(field_set:yb.master.ReportedTabletPB.state)
2421
525k
}
2422
2423
// optional .yb.tablet.TabletDataState tablet_data_state = 6 [default = TABLET_DATA_UNKNOWN];
2424
526k
inline bool ReportedTabletPB::has_tablet_data_state() const {
2425
526k
  return (_has_bits_[0] & 0x00000100u) != 0;
2426
526k
}
2427
525k
inline void ReportedTabletPB::set_has_tablet_data_state() {
2428
525k
  _has_bits_[0] |= 0x00000100u;
2429
525k
}
2430
0
inline void ReportedTabletPB::clear_has_tablet_data_state() {
2431
0
  _has_bits_[0] &= ~0x00000100u;
2432
0
}
2433
0
inline void ReportedTabletPB::clear_tablet_data_state() {
2434
0
  tablet_data_state_ = 999;
2435
0
  clear_has_tablet_data_state();
2436
0
}
2437
1.30M
inline ::yb::tablet::TabletDataState ReportedTabletPB::tablet_data_state() const {
2438
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletPB.tablet_data_state)
2439
1.30M
  return static_cast< ::yb::tablet::TabletDataState >(tablet_data_state_);
2440
1.30M
}
2441
525k
inline void ReportedTabletPB::set_tablet_data_state(::yb::tablet::TabletDataState value) {
2442
525k
  assert(::yb::tablet::TabletDataState_IsValid(value));
2443
525k
  set_has_tablet_data_state();
2444
525k
  tablet_data_state_ = value;
2445
  // @@protoc_insertion_point(field_set:yb.master.ReportedTabletPB.tablet_data_state)
2446
525k
}
2447
2448
// optional .yb.consensus.ConsensusStatePB committed_consensus_state = 3;
2449
1.82M
inline bool ReportedTabletPB::has_committed_consensus_state() const {
2450
1.82M
  return (_has_bits_[0] & 0x00000004u) != 0;
2451
1.82M
}
2452
520k
inline void ReportedTabletPB::set_has_committed_consensus_state() {
2453
520k
  _has_bits_[0] |= 0x00000004u;
2454
520k
}
2455
0
inline void ReportedTabletPB::clear_has_committed_consensus_state() {
2456
0
  _has_bits_[0] &= ~0x00000004u;
2457
0
}
2458
1.27M
inline const ::yb::consensus::ConsensusStatePB& ReportedTabletPB::committed_consensus_state() const {
2459
1.27M
  const ::yb::consensus::ConsensusStatePB* p = committed_consensus_state_;
2460
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletPB.committed_consensus_state)
2461
1.27M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::ConsensusStatePB*>(
2462
0
      &::yb::consensus::_ConsensusStatePB_default_instance_);
2463
1.27M
}
2464
0
inline ::yb::consensus::ConsensusStatePB* ReportedTabletPB::release_committed_consensus_state() {
2465
0
  // @@protoc_insertion_point(field_release:yb.master.ReportedTabletPB.committed_consensus_state)
2466
0
  clear_has_committed_consensus_state();
2467
0
  ::yb::consensus::ConsensusStatePB* temp = committed_consensus_state_;
2468
0
  committed_consensus_state_ = NULL;
2469
0
  return temp;
2470
0
}
2471
520k
inline ::yb::consensus::ConsensusStatePB* ReportedTabletPB::mutable_committed_consensus_state() {
2472
520k
  set_has_committed_consensus_state();
2473
520k
  if (committed_consensus_state_ == NULL) {
2474
519k
    committed_consensus_state_ = new ::yb::consensus::ConsensusStatePB;
2475
519k
  }
2476
  // @@protoc_insertion_point(field_mutable:yb.master.ReportedTabletPB.committed_consensus_state)
2477
520k
  return committed_consensus_state_;
2478
520k
}
2479
0
inline void ReportedTabletPB::set_allocated_committed_consensus_state(::yb::consensus::ConsensusStatePB* committed_consensus_state) {
2480
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2481
0
  if (message_arena == NULL) {
2482
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(committed_consensus_state_);
2483
0
  }
2484
0
  if (committed_consensus_state) {
2485
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2486
0
    if (message_arena != submessage_arena) {
2487
0
      committed_consensus_state = ::google::protobuf::internal::GetOwnedMessage(
2488
0
          message_arena, committed_consensus_state, submessage_arena);
2489
0
    }
2490
0
    set_has_committed_consensus_state();
2491
0
  } else {
2492
0
    clear_has_committed_consensus_state();
2493
0
  }
2494
0
  committed_consensus_state_ = committed_consensus_state;
2495
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ReportedTabletPB.committed_consensus_state)
2496
0
}
2497
2498
// optional .yb.AppStatusPB error = 4;
2499
1.31M
inline bool ReportedTabletPB::has_error() const {
2500
1.31M
  return (_has_bits_[0] & 0x00000008u) != 0;
2501
1.31M
}
2502
0
inline void ReportedTabletPB::set_has_error() {
2503
0
  _has_bits_[0] |= 0x00000008u;
2504
0
}
2505
0
inline void ReportedTabletPB::clear_has_error() {
2506
0
  _has_bits_[0] &= ~0x00000008u;
2507
0
}
2508
0
inline const ::yb::AppStatusPB& ReportedTabletPB::error() const {
2509
0
  const ::yb::AppStatusPB* p = error_;
2510
0
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletPB.error)
2511
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::AppStatusPB*>(
2512
0
      &::yb::_AppStatusPB_default_instance_);
2513
0
}
2514
0
inline ::yb::AppStatusPB* ReportedTabletPB::release_error() {
2515
0
  // @@protoc_insertion_point(field_release:yb.master.ReportedTabletPB.error)
2516
0
  clear_has_error();
2517
0
  ::yb::AppStatusPB* temp = error_;
2518
0
  error_ = NULL;
2519
0
  return temp;
2520
0
}
2521
0
inline ::yb::AppStatusPB* ReportedTabletPB::mutable_error() {
2522
0
  set_has_error();
2523
0
  if (error_ == NULL) {
2524
0
    error_ = new ::yb::AppStatusPB;
2525
0
  }
2526
0
  // @@protoc_insertion_point(field_mutable:yb.master.ReportedTabletPB.error)
2527
0
  return error_;
2528
0
}
2529
0
inline void ReportedTabletPB::set_allocated_error(::yb::AppStatusPB* error) {
2530
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2531
0
  if (message_arena == NULL) {
2532
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
2533
0
  }
2534
0
  if (error) {
2535
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2536
0
    if (message_arena != submessage_arena) {
2537
0
      error = ::google::protobuf::internal::GetOwnedMessage(
2538
0
          message_arena, error, submessage_arena);
2539
0
    }
2540
0
    set_has_error();
2541
0
  } else {
2542
0
    clear_has_error();
2543
0
  }
2544
0
  error_ = error;
2545
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ReportedTabletPB.error)
2546
0
}
2547
2548
// optional uint32 schema_version = 5;
2549
1.03M
inline bool ReportedTabletPB::has_schema_version() const {
2550
1.03M
  return (_has_bits_[0] & 0x00000010u) != 0;
2551
1.03M
}
2552
525k
inline void ReportedTabletPB::set_has_schema_version() {
2553
525k
  _has_bits_[0] |= 0x00000010u;
2554
525k
}
2555
0
inline void ReportedTabletPB::clear_has_schema_version() {
2556
0
  _has_bits_[0] &= ~0x00000010u;
2557
0
}
2558
0
inline void ReportedTabletPB::clear_schema_version() {
2559
0
  schema_version_ = 0u;
2560
0
  clear_has_schema_version();
2561
0
}
2562
1.07M
inline ::google::protobuf::uint32 ReportedTabletPB::schema_version() const {
2563
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletPB.schema_version)
2564
1.07M
  return schema_version_;
2565
1.07M
}
2566
263k
inline void ReportedTabletPB::set_schema_version(::google::protobuf::uint32 value) {
2567
263k
  set_has_schema_version();
2568
263k
  schema_version_ = value;
2569
  // @@protoc_insertion_point(field_set:yb.master.ReportedTabletPB.schema_version)
2570
263k
}
2571
2572
// optional bool should_disable_lb_move = 7;
2573
905k
inline bool ReportedTabletPB::has_should_disable_lb_move() const {
2574
905k
  return (_has_bits_[0] & 0x00000020u) != 0;
2575
905k
}
2576
520k
inline void ReportedTabletPB::set_has_should_disable_lb_move() {
2577
520k
  _has_bits_[0] |= 0x00000020u;
2578
520k
}
2579
0
inline void ReportedTabletPB::clear_has_should_disable_lb_move() {
2580
0
  _has_bits_[0] &= ~0x00000020u;
2581
0
}
2582
0
inline void ReportedTabletPB::clear_should_disable_lb_move() {
2583
0
  should_disable_lb_move_ = false;
2584
0
  clear_has_should_disable_lb_move();
2585
0
}
2586
637k
inline bool ReportedTabletPB::should_disable_lb_move() const {
2587
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletPB.should_disable_lb_move)
2588
637k
  return should_disable_lb_move_;
2589
637k
}
2590
260k
inline void ReportedTabletPB::set_should_disable_lb_move(bool value) {
2591
260k
  set_has_should_disable_lb_move();
2592
260k
  should_disable_lb_move_ = value;
2593
  // @@protoc_insertion_point(field_set:yb.master.ReportedTabletPB.should_disable_lb_move)
2594
260k
}
2595
2596
// optional bytes fs_data_dir = 8;
2597
905k
inline bool ReportedTabletPB::has_fs_data_dir() const {
2598
905k
  return (_has_bits_[0] & 0x00000002u) != 0;
2599
905k
}
2600
525k
inline void ReportedTabletPB::set_has_fs_data_dir() {
2601
525k
  _has_bits_[0] |= 0x00000002u;
2602
525k
}
2603
0
inline void ReportedTabletPB::clear_has_fs_data_dir() {
2604
0
  _has_bits_[0] &= ~0x00000002u;
2605
0
}
2606
0
inline void ReportedTabletPB::clear_fs_data_dir() {
2607
0
  fs_data_dir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2608
0
  clear_has_fs_data_dir();
2609
0
}
2610
1.16M
inline const ::std::string& ReportedTabletPB::fs_data_dir() const {
2611
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletPB.fs_data_dir)
2612
1.16M
  return fs_data_dir_.GetNoArena();
2613
1.16M
}
2614
0
inline void ReportedTabletPB::set_fs_data_dir(const ::std::string& value) {
2615
0
  set_has_fs_data_dir();
2616
0
  fs_data_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2617
0
  // @@protoc_insertion_point(field_set:yb.master.ReportedTabletPB.fs_data_dir)
2618
0
}
2619
#if LANG_CXX11
2620
263k
inline void ReportedTabletPB::set_fs_data_dir(::std::string&& value) {
2621
263k
  set_has_fs_data_dir();
2622
263k
  fs_data_dir_.SetNoArena(
2623
263k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2624
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ReportedTabletPB.fs_data_dir)
2625
263k
}
2626
#endif
2627
0
inline void ReportedTabletPB::set_fs_data_dir(const char* value) {
2628
0
  GOOGLE_DCHECK(value != NULL);
2629
0
  set_has_fs_data_dir();
2630
0
  fs_data_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2631
0
  // @@protoc_insertion_point(field_set_char:yb.master.ReportedTabletPB.fs_data_dir)
2632
0
}
2633
0
inline void ReportedTabletPB::set_fs_data_dir(const void* value, size_t size) {
2634
0
  set_has_fs_data_dir();
2635
0
  fs_data_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2636
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2637
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ReportedTabletPB.fs_data_dir)
2638
0
}
2639
262k
inline ::std::string* ReportedTabletPB::mutable_fs_data_dir() {
2640
262k
  set_has_fs_data_dir();
2641
  // @@protoc_insertion_point(field_mutable:yb.master.ReportedTabletPB.fs_data_dir)
2642
262k
  return fs_data_dir_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2643
262k
}
2644
0
inline ::std::string* ReportedTabletPB::release_fs_data_dir() {
2645
0
  // @@protoc_insertion_point(field_release:yb.master.ReportedTabletPB.fs_data_dir)
2646
0
  clear_has_fs_data_dir();
2647
0
  return fs_data_dir_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2648
0
}
2649
0
inline void ReportedTabletPB::set_allocated_fs_data_dir(::std::string* fs_data_dir) {
2650
0
  if (fs_data_dir != NULL) {
2651
0
    set_has_fs_data_dir();
2652
0
  } else {
2653
0
    clear_has_fs_data_dir();
2654
0
  }
2655
0
  fs_data_dir_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fs_data_dir);
2656
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ReportedTabletPB.fs_data_dir)
2657
0
}
2658
2659
// optional bool is_hidden = 9;
2660
526k
inline bool ReportedTabletPB::has_is_hidden() const {
2661
526k
  return (_has_bits_[0] & 0x00000040u) != 0;
2662
526k
}
2663
525k
inline void ReportedTabletPB::set_has_is_hidden() {
2664
525k
  _has_bits_[0] |= 0x00000040u;
2665
525k
}
2666
0
inline void ReportedTabletPB::clear_has_is_hidden() {
2667
0
  _has_bits_[0] &= ~0x00000040u;
2668
0
}
2669
0
inline void ReportedTabletPB::clear_is_hidden() {
2670
0
  is_hidden_ = false;
2671
0
  clear_has_is_hidden();
2672
0
}
2673
263k
inline bool ReportedTabletPB::is_hidden() const {
2674
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletPB.is_hidden)
2675
263k
  return is_hidden_;
2676
263k
}
2677
263k
inline void ReportedTabletPB::set_is_hidden(bool value) {
2678
263k
  set_has_is_hidden();
2679
263k
  is_hidden_ = value;
2680
  // @@protoc_insertion_point(field_set:yb.master.ReportedTabletPB.is_hidden)
2681
263k
}
2682
2683
// -------------------------------------------------------------------
2684
2685
// TabletReportPB
2686
2687
// required bool is_incremental = 1;
2688
0
inline bool TabletReportPB::has_is_incremental() const {
2689
0
  return (_has_bits_[0] & 0x00000001u) != 0;
2690
0
}
2691
787k
inline void TabletReportPB::set_has_is_incremental() {
2692
787k
  _has_bits_[0] |= 0x00000001u;
2693
787k
}
2694
0
inline void TabletReportPB::clear_has_is_incremental() {
2695
0
  _has_bits_[0] &= ~0x00000001u;
2696
0
}
2697
0
inline void TabletReportPB::clear_is_incremental() {
2698
0
  is_incremental_ = false;
2699
0
  clear_has_is_incremental();
2700
0
}
2701
1.47M
inline bool TabletReportPB::is_incremental() const {
2702
  // @@protoc_insertion_point(field_get:yb.master.TabletReportPB.is_incremental)
2703
1.47M
  return is_incremental_;
2704
1.47M
}
2705
403k
inline void TabletReportPB::set_is_incremental(bool value) {
2706
403k
  set_has_is_incremental();
2707
403k
  is_incremental_ = value;
2708
  // @@protoc_insertion_point(field_set:yb.master.TabletReportPB.is_incremental)
2709
403k
}
2710
2711
// repeated .yb.master.ReportedTabletPB updated_tablets = 2;
2712
2.64M
inline int TabletReportPB::updated_tablets_size() const {
2713
2.64M
  return updated_tablets_.size();
2714
2.64M
}
2715
0
inline void TabletReportPB::clear_updated_tablets() {
2716
0
  updated_tablets_.Clear();
2717
0
}
2718
789k
inline const ::yb::master::ReportedTabletPB& TabletReportPB::updated_tablets(int index) const {
2719
  // @@protoc_insertion_point(field_get:yb.master.TabletReportPB.updated_tablets)
2720
789k
  return updated_tablets_.Get(index);
2721
789k
}
2722
0
inline ::yb::master::ReportedTabletPB* TabletReportPB::mutable_updated_tablets(int index) {
2723
0
  // @@protoc_insertion_point(field_mutable:yb.master.TabletReportPB.updated_tablets)
2724
0
  return updated_tablets_.Mutable(index);
2725
0
}
2726
525k
inline ::yb::master::ReportedTabletPB* TabletReportPB::add_updated_tablets() {
2727
  // @@protoc_insertion_point(field_add:yb.master.TabletReportPB.updated_tablets)
2728
525k
  return updated_tablets_.Add();
2729
525k
}
2730
inline ::google::protobuf::RepeatedPtrField< ::yb::master::ReportedTabletPB >*
2731
0
TabletReportPB::mutable_updated_tablets() {
2732
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.TabletReportPB.updated_tablets)
2733
0
  return &updated_tablets_;
2734
0
}
2735
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::ReportedTabletPB >&
2736
1.16M
TabletReportPB::updated_tablets() const {
2737
  // @@protoc_insertion_point(field_list:yb.master.TabletReportPB.updated_tablets)
2738
1.16M
  return updated_tablets_;
2739
1.16M
}
2740
2741
// repeated bytes removed_tablet_ids = 3;
2742
2.01M
inline int TabletReportPB::removed_tablet_ids_size() const {
2743
2.01M
  return removed_tablet_ids_.size();
2744
2.01M
}
2745
0
inline void TabletReportPB::clear_removed_tablet_ids() {
2746
0
  removed_tablet_ids_.Clear();
2747
0
}
2748
0
inline const ::std::string& TabletReportPB::removed_tablet_ids(int index) const {
2749
0
  // @@protoc_insertion_point(field_get:yb.master.TabletReportPB.removed_tablet_ids)
2750
0
  return removed_tablet_ids_.Get(index);
2751
0
}
2752
0
inline ::std::string* TabletReportPB::mutable_removed_tablet_ids(int index) {
2753
0
  // @@protoc_insertion_point(field_mutable:yb.master.TabletReportPB.removed_tablet_ids)
2754
0
  return removed_tablet_ids_.Mutable(index);
2755
0
}
2756
0
inline void TabletReportPB::set_removed_tablet_ids(int index, const ::std::string& value) {
2757
0
  // @@protoc_insertion_point(field_set:yb.master.TabletReportPB.removed_tablet_ids)
2758
0
  removed_tablet_ids_.Mutable(index)->assign(value);
2759
0
}
2760
#if LANG_CXX11
2761
0
inline void TabletReportPB::set_removed_tablet_ids(int index, ::std::string&& value) {
2762
0
  // @@protoc_insertion_point(field_set:yb.master.TabletReportPB.removed_tablet_ids)
2763
0
  removed_tablet_ids_.Mutable(index)->assign(std::move(value));
2764
0
}
2765
#endif
2766
0
inline void TabletReportPB::set_removed_tablet_ids(int index, const char* value) {
2767
0
  GOOGLE_DCHECK(value != NULL);
2768
0
  removed_tablet_ids_.Mutable(index)->assign(value);
2769
0
  // @@protoc_insertion_point(field_set_char:yb.master.TabletReportPB.removed_tablet_ids)
2770
0
}
2771
0
inline void TabletReportPB::set_removed_tablet_ids(int index, const void* value, size_t size) {
2772
0
  removed_tablet_ids_.Mutable(index)->assign(
2773
0
    reinterpret_cast<const char*>(value), size);
2774
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TabletReportPB.removed_tablet_ids)
2775
0
}
2776
0
inline ::std::string* TabletReportPB::add_removed_tablet_ids() {
2777
0
  // @@protoc_insertion_point(field_add_mutable:yb.master.TabletReportPB.removed_tablet_ids)
2778
0
  return removed_tablet_ids_.Add();
2779
0
}
2780
0
inline void TabletReportPB::add_removed_tablet_ids(const ::std::string& value) {
2781
0
  removed_tablet_ids_.Add()->assign(value);
2782
0
  // @@protoc_insertion_point(field_add:yb.master.TabletReportPB.removed_tablet_ids)
2783
0
}
2784
#if LANG_CXX11
2785
0
inline void TabletReportPB::add_removed_tablet_ids(::std::string&& value) {
2786
0
  removed_tablet_ids_.Add(std::move(value));
2787
0
  // @@protoc_insertion_point(field_add:yb.master.TabletReportPB.removed_tablet_ids)
2788
0
}
2789
#endif
2790
0
inline void TabletReportPB::add_removed_tablet_ids(const char* value) {
2791
0
  GOOGLE_DCHECK(value != NULL);
2792
0
  removed_tablet_ids_.Add()->assign(value);
2793
0
  // @@protoc_insertion_point(field_add_char:yb.master.TabletReportPB.removed_tablet_ids)
2794
0
}
2795
0
inline void TabletReportPB::add_removed_tablet_ids(const void* value, size_t size) {
2796
0
  removed_tablet_ids_.Add()->assign(reinterpret_cast<const char*>(value), size);
2797
0
  // @@protoc_insertion_point(field_add_pointer:yb.master.TabletReportPB.removed_tablet_ids)
2798
0
}
2799
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2800
0
TabletReportPB::removed_tablet_ids() const {
2801
0
  // @@protoc_insertion_point(field_list:yb.master.TabletReportPB.removed_tablet_ids)
2802
0
  return removed_tablet_ids_;
2803
0
}
2804
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2805
0
TabletReportPB::mutable_removed_tablet_ids() {
2806
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.TabletReportPB.removed_tablet_ids)
2807
0
  return &removed_tablet_ids_;
2808
0
}
2809
2810
// required int32 sequence_number = 4;
2811
0
inline bool TabletReportPB::has_sequence_number() const {
2812
0
  return (_has_bits_[0] & 0x00000002u) != 0;
2813
0
}
2814
788k
inline void TabletReportPB::set_has_sequence_number() {
2815
788k
  _has_bits_[0] |= 0x00000002u;
2816
788k
}
2817
0
inline void TabletReportPB::clear_has_sequence_number() {
2818
0
  _has_bits_[0] &= ~0x00000002u;
2819
0
}
2820
0
inline void TabletReportPB::clear_sequence_number() {
2821
0
  sequence_number_ = 0;
2822
0
  clear_has_sequence_number();
2823
0
}
2824
1.60M
inline ::google::protobuf::int32 TabletReportPB::sequence_number() const {
2825
  // @@protoc_insertion_point(field_get:yb.master.TabletReportPB.sequence_number)
2826
1.60M
  return sequence_number_;
2827
1.60M
}
2828
403k
inline void TabletReportPB::set_sequence_number(::google::protobuf::int32 value) {
2829
403k
  set_has_sequence_number();
2830
403k
  sequence_number_ = value;
2831
  // @@protoc_insertion_point(field_set:yb.master.TabletReportPB.sequence_number)
2832
403k
}
2833
2834
// optional int32 remaining_tablet_count = 5;
2835
813k
inline bool TabletReportPB::has_remaining_tablet_count() const {
2836
813k
  return (_has_bits_[0] & 0x00000004u) != 0;
2837
813k
}
2838
788k
inline void TabletReportPB::set_has_remaining_tablet_count() {
2839
788k
  _has_bits_[0] |= 0x00000004u;
2840
788k
}
2841
0
inline void TabletReportPB::clear_has_remaining_tablet_count() {
2842
0
  _has_bits_[0] &= ~0x00000004u;
2843
0
}
2844
0
inline void TabletReportPB::clear_remaining_tablet_count() {
2845
0
  remaining_tablet_count_ = 0;
2846
0
  clear_has_remaining_tablet_count();
2847
0
}
2848
1.61M
inline ::google::protobuf::int32 TabletReportPB::remaining_tablet_count() const {
2849
  // @@protoc_insertion_point(field_get:yb.master.TabletReportPB.remaining_tablet_count)
2850
1.61M
  return remaining_tablet_count_;
2851
1.61M
}
2852
403k
inline void TabletReportPB::set_remaining_tablet_count(::google::protobuf::int32 value) {
2853
403k
  set_has_remaining_tablet_count();
2854
403k
  remaining_tablet_count_ = value;
2855
  // @@protoc_insertion_point(field_set:yb.master.TabletReportPB.remaining_tablet_count)
2856
403k
}
2857
2858
// -------------------------------------------------------------------
2859
2860
// TabletForSplitPB
2861
2862
// required bytes tablet_id = 1;
2863
0
inline bool TabletForSplitPB::has_tablet_id() const {
2864
0
  return (_has_bits_[0] & 0x00000001u) != 0;
2865
0
}
2866
0
inline void TabletForSplitPB::set_has_tablet_id() {
2867
0
  _has_bits_[0] |= 0x00000001u;
2868
0
}
2869
0
inline void TabletForSplitPB::clear_has_tablet_id() {
2870
0
  _has_bits_[0] &= ~0x00000001u;
2871
0
}
2872
0
inline void TabletForSplitPB::clear_tablet_id() {
2873
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2874
0
  clear_has_tablet_id();
2875
0
}
2876
0
inline const ::std::string& TabletForSplitPB::tablet_id() const {
2877
0
  // @@protoc_insertion_point(field_get:yb.master.TabletForSplitPB.tablet_id)
2878
0
  return tablet_id_.GetNoArena();
2879
0
}
2880
0
inline void TabletForSplitPB::set_tablet_id(const ::std::string& value) {
2881
0
  set_has_tablet_id();
2882
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2883
0
  // @@protoc_insertion_point(field_set:yb.master.TabletForSplitPB.tablet_id)
2884
0
}
2885
#if LANG_CXX11
2886
0
inline void TabletForSplitPB::set_tablet_id(::std::string&& value) {
2887
0
  set_has_tablet_id();
2888
0
  tablet_id_.SetNoArena(
2889
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2890
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TabletForSplitPB.tablet_id)
2891
0
}
2892
#endif
2893
0
inline void TabletForSplitPB::set_tablet_id(const char* value) {
2894
0
  GOOGLE_DCHECK(value != NULL);
2895
0
  set_has_tablet_id();
2896
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2897
0
  // @@protoc_insertion_point(field_set_char:yb.master.TabletForSplitPB.tablet_id)
2898
0
}
2899
0
inline void TabletForSplitPB::set_tablet_id(const void* value, size_t size) {
2900
0
  set_has_tablet_id();
2901
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2902
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2903
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TabletForSplitPB.tablet_id)
2904
0
}
2905
0
inline ::std::string* TabletForSplitPB::mutable_tablet_id() {
2906
0
  set_has_tablet_id();
2907
0
  // @@protoc_insertion_point(field_mutable:yb.master.TabletForSplitPB.tablet_id)
2908
0
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2909
0
}
2910
0
inline ::std::string* TabletForSplitPB::release_tablet_id() {
2911
0
  // @@protoc_insertion_point(field_release:yb.master.TabletForSplitPB.tablet_id)
2912
0
  clear_has_tablet_id();
2913
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2914
0
}
2915
0
inline void TabletForSplitPB::set_allocated_tablet_id(::std::string* tablet_id) {
2916
0
  if (tablet_id != NULL) {
2917
0
    set_has_tablet_id();
2918
0
  } else {
2919
0
    clear_has_tablet_id();
2920
0
  }
2921
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
2922
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TabletForSplitPB.tablet_id)
2923
0
}
2924
2925
// optional bytes OBSOLETE_split_partition_key = 2;
2926
0
inline bool TabletForSplitPB::has_obsolete_split_partition_key() const {
2927
0
  return (_has_bits_[0] & 0x00000002u) != 0;
2928
0
}
2929
0
inline void TabletForSplitPB::set_has_obsolete_split_partition_key() {
2930
0
  _has_bits_[0] |= 0x00000002u;
2931
0
}
2932
0
inline void TabletForSplitPB::clear_has_obsolete_split_partition_key() {
2933
0
  _has_bits_[0] &= ~0x00000002u;
2934
0
}
2935
0
inline void TabletForSplitPB::clear_obsolete_split_partition_key() {
2936
0
  obsolete_split_partition_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2937
0
  clear_has_obsolete_split_partition_key();
2938
0
}
2939
0
inline const ::std::string& TabletForSplitPB::obsolete_split_partition_key() const {
2940
0
  // @@protoc_insertion_point(field_get:yb.master.TabletForSplitPB.OBSOLETE_split_partition_key)
2941
0
  return obsolete_split_partition_key_.GetNoArena();
2942
0
}
2943
0
inline void TabletForSplitPB::set_obsolete_split_partition_key(const ::std::string& value) {
2944
0
  set_has_obsolete_split_partition_key();
2945
0
  obsolete_split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2946
0
  // @@protoc_insertion_point(field_set:yb.master.TabletForSplitPB.OBSOLETE_split_partition_key)
2947
0
}
2948
#if LANG_CXX11
2949
0
inline void TabletForSplitPB::set_obsolete_split_partition_key(::std::string&& value) {
2950
0
  set_has_obsolete_split_partition_key();
2951
0
  obsolete_split_partition_key_.SetNoArena(
2952
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2953
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TabletForSplitPB.OBSOLETE_split_partition_key)
2954
0
}
2955
#endif
2956
0
inline void TabletForSplitPB::set_obsolete_split_partition_key(const char* value) {
2957
0
  GOOGLE_DCHECK(value != NULL);
2958
0
  set_has_obsolete_split_partition_key();
2959
0
  obsolete_split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2960
0
  // @@protoc_insertion_point(field_set_char:yb.master.TabletForSplitPB.OBSOLETE_split_partition_key)
2961
0
}
2962
0
inline void TabletForSplitPB::set_obsolete_split_partition_key(const void* value, size_t size) {
2963
0
  set_has_obsolete_split_partition_key();
2964
0
  obsolete_split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2965
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2966
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TabletForSplitPB.OBSOLETE_split_partition_key)
2967
0
}
2968
0
inline ::std::string* TabletForSplitPB::mutable_obsolete_split_partition_key() {
2969
0
  set_has_obsolete_split_partition_key();
2970
0
  // @@protoc_insertion_point(field_mutable:yb.master.TabletForSplitPB.OBSOLETE_split_partition_key)
2971
0
  return obsolete_split_partition_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2972
0
}
2973
0
inline ::std::string* TabletForSplitPB::release_obsolete_split_partition_key() {
2974
0
  // @@protoc_insertion_point(field_release:yb.master.TabletForSplitPB.OBSOLETE_split_partition_key)
2975
0
  clear_has_obsolete_split_partition_key();
2976
0
  return obsolete_split_partition_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2977
0
}
2978
0
inline void TabletForSplitPB::set_allocated_obsolete_split_partition_key(::std::string* obsolete_split_partition_key) {
2979
0
  if (obsolete_split_partition_key != NULL) {
2980
0
    set_has_obsolete_split_partition_key();
2981
0
  } else {
2982
0
    clear_has_obsolete_split_partition_key();
2983
0
  }
2984
0
  obsolete_split_partition_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), obsolete_split_partition_key);
2985
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TabletForSplitPB.OBSOLETE_split_partition_key)
2986
0
}
2987
2988
// optional bytes OBSOLETE_split_encoded_key = 3;
2989
0
inline bool TabletForSplitPB::has_obsolete_split_encoded_key() const {
2990
0
  return (_has_bits_[0] & 0x00000004u) != 0;
2991
0
}
2992
0
inline void TabletForSplitPB::set_has_obsolete_split_encoded_key() {
2993
0
  _has_bits_[0] |= 0x00000004u;
2994
0
}
2995
0
inline void TabletForSplitPB::clear_has_obsolete_split_encoded_key() {
2996
0
  _has_bits_[0] &= ~0x00000004u;
2997
0
}
2998
0
inline void TabletForSplitPB::clear_obsolete_split_encoded_key() {
2999
0
  obsolete_split_encoded_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3000
0
  clear_has_obsolete_split_encoded_key();
3001
0
}
3002
0
inline const ::std::string& TabletForSplitPB::obsolete_split_encoded_key() const {
3003
0
  // @@protoc_insertion_point(field_get:yb.master.TabletForSplitPB.OBSOLETE_split_encoded_key)
3004
0
  return obsolete_split_encoded_key_.GetNoArena();
3005
0
}
3006
0
inline void TabletForSplitPB::set_obsolete_split_encoded_key(const ::std::string& value) {
3007
0
  set_has_obsolete_split_encoded_key();
3008
0
  obsolete_split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3009
0
  // @@protoc_insertion_point(field_set:yb.master.TabletForSplitPB.OBSOLETE_split_encoded_key)
3010
0
}
3011
#if LANG_CXX11
3012
0
inline void TabletForSplitPB::set_obsolete_split_encoded_key(::std::string&& value) {
3013
0
  set_has_obsolete_split_encoded_key();
3014
0
  obsolete_split_encoded_key_.SetNoArena(
3015
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3016
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TabletForSplitPB.OBSOLETE_split_encoded_key)
3017
0
}
3018
#endif
3019
0
inline void TabletForSplitPB::set_obsolete_split_encoded_key(const char* value) {
3020
0
  GOOGLE_DCHECK(value != NULL);
3021
0
  set_has_obsolete_split_encoded_key();
3022
0
  obsolete_split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3023
0
  // @@protoc_insertion_point(field_set_char:yb.master.TabletForSplitPB.OBSOLETE_split_encoded_key)
3024
0
}
3025
0
inline void TabletForSplitPB::set_obsolete_split_encoded_key(const void* value, size_t size) {
3026
0
  set_has_obsolete_split_encoded_key();
3027
0
  obsolete_split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3028
0
      ::std::string(reinterpret_cast<const char*>(value), size));
3029
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TabletForSplitPB.OBSOLETE_split_encoded_key)
3030
0
}
3031
0
inline ::std::string* TabletForSplitPB::mutable_obsolete_split_encoded_key() {
3032
0
  set_has_obsolete_split_encoded_key();
3033
0
  // @@protoc_insertion_point(field_mutable:yb.master.TabletForSplitPB.OBSOLETE_split_encoded_key)
3034
0
  return obsolete_split_encoded_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3035
0
}
3036
0
inline ::std::string* TabletForSplitPB::release_obsolete_split_encoded_key() {
3037
0
  // @@protoc_insertion_point(field_release:yb.master.TabletForSplitPB.OBSOLETE_split_encoded_key)
3038
0
  clear_has_obsolete_split_encoded_key();
3039
0
  return obsolete_split_encoded_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3040
0
}
3041
0
inline void TabletForSplitPB::set_allocated_obsolete_split_encoded_key(::std::string* obsolete_split_encoded_key) {
3042
0
  if (obsolete_split_encoded_key != NULL) {
3043
0
    set_has_obsolete_split_encoded_key();
3044
0
  } else {
3045
0
    clear_has_obsolete_split_encoded_key();
3046
0
  }
3047
0
  obsolete_split_encoded_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), obsolete_split_encoded_key);
3048
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TabletForSplitPB.OBSOLETE_split_encoded_key)
3049
0
}
3050
3051
// -------------------------------------------------------------------
3052
3053
// TabletDriveStorageMetadataPB
3054
3055
// required bytes tablet_id = 1;
3056
590k
inline bool TabletDriveStorageMetadataPB::has_tablet_id() const {
3057
590k
  return (_has_bits_[0] & 0x00000001u) != 0;
3058
590k
}
3059
587k
inline void TabletDriveStorageMetadataPB::set_has_tablet_id() {
3060
587k
  _has_bits_[0] |= 0x00000001u;
3061
587k
}
3062
0
inline void TabletDriveStorageMetadataPB::clear_has_tablet_id() {
3063
0
  _has_bits_[0] &= ~0x00000001u;
3064
0
}
3065
0
inline void TabletDriveStorageMetadataPB::clear_tablet_id() {
3066
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3067
0
  clear_has_tablet_id();
3068
0
}
3069
1.17M
inline const ::std::string& TabletDriveStorageMetadataPB::tablet_id() const {
3070
  // @@protoc_insertion_point(field_get:yb.master.TabletDriveStorageMetadataPB.tablet_id)
3071
1.17M
  return tablet_id_.GetNoArena();
3072
1.17M
}
3073
295k
inline void TabletDriveStorageMetadataPB::set_tablet_id(const ::std::string& value) {
3074
295k
  set_has_tablet_id();
3075
295k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3076
  // @@protoc_insertion_point(field_set:yb.master.TabletDriveStorageMetadataPB.tablet_id)
3077
295k
}
3078
#if LANG_CXX11
3079
0
inline void TabletDriveStorageMetadataPB::set_tablet_id(::std::string&& value) {
3080
0
  set_has_tablet_id();
3081
0
  tablet_id_.SetNoArena(
3082
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3083
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TabletDriveStorageMetadataPB.tablet_id)
3084
0
}
3085
#endif
3086
0
inline void TabletDriveStorageMetadataPB::set_tablet_id(const char* value) {
3087
0
  GOOGLE_DCHECK(value != NULL);
3088
0
  set_has_tablet_id();
3089
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3090
0
  // @@protoc_insertion_point(field_set_char:yb.master.TabletDriveStorageMetadataPB.tablet_id)
3091
0
}
3092
0
inline void TabletDriveStorageMetadataPB::set_tablet_id(const void* value, size_t size) {
3093
0
  set_has_tablet_id();
3094
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3095
0
      ::std::string(reinterpret_cast<const char*>(value), size));
3096
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TabletDriveStorageMetadataPB.tablet_id)
3097
0
}
3098
291k
inline ::std::string* TabletDriveStorageMetadataPB::mutable_tablet_id() {
3099
291k
  set_has_tablet_id();
3100
  // @@protoc_insertion_point(field_mutable:yb.master.TabletDriveStorageMetadataPB.tablet_id)
3101
291k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3102
291k
}
3103
0
inline ::std::string* TabletDriveStorageMetadataPB::release_tablet_id() {
3104
0
  // @@protoc_insertion_point(field_release:yb.master.TabletDriveStorageMetadataPB.tablet_id)
3105
0
  clear_has_tablet_id();
3106
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3107
0
}
3108
0
inline void TabletDriveStorageMetadataPB::set_allocated_tablet_id(::std::string* tablet_id) {
3109
0
  if (tablet_id != NULL) {
3110
0
    set_has_tablet_id();
3111
0
  } else {
3112
0
    clear_has_tablet_id();
3113
0
  }
3114
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
3115
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TabletDriveStorageMetadataPB.tablet_id)
3116
0
}
3117
3118
// optional uint64 sst_file_size = 2;
3119
590k
inline bool TabletDriveStorageMetadataPB::has_sst_file_size() const {
3120
590k
  return (_has_bits_[0] & 0x00000002u) != 0;
3121
590k
}
3122
587k
inline void TabletDriveStorageMetadataPB::set_has_sst_file_size() {
3123
587k
  _has_bits_[0] |= 0x00000002u;
3124
587k
}
3125
0
inline void TabletDriveStorageMetadataPB::clear_has_sst_file_size() {
3126
0
  _has_bits_[0] &= ~0x00000002u;
3127
0
}
3128
0
inline void TabletDriveStorageMetadataPB::clear_sst_file_size() {
3129
0
  sst_file_size_ = GOOGLE_ULONGLONG(0);
3130
0
  clear_has_sst_file_size();
3131
0
}
3132
1.17M
inline ::google::protobuf::uint64 TabletDriveStorageMetadataPB::sst_file_size() const {
3133
  // @@protoc_insertion_point(field_get:yb.master.TabletDriveStorageMetadataPB.sst_file_size)
3134
1.17M
  return sst_file_size_;
3135
1.17M
}
3136
295k
inline void TabletDriveStorageMetadataPB::set_sst_file_size(::google::protobuf::uint64 value) {
3137
295k
  set_has_sst_file_size();
3138
295k
  sst_file_size_ = value;
3139
  // @@protoc_insertion_point(field_set:yb.master.TabletDriveStorageMetadataPB.sst_file_size)
3140
295k
}
3141
3142
// optional uint64 wal_file_size = 3;
3143
590k
inline bool TabletDriveStorageMetadataPB::has_wal_file_size() const {
3144
590k
  return (_has_bits_[0] & 0x00000004u) != 0;
3145
590k
}
3146
587k
inline void TabletDriveStorageMetadataPB::set_has_wal_file_size() {
3147
587k
  _has_bits_[0] |= 0x00000004u;
3148
587k
}
3149
0
inline void TabletDriveStorageMetadataPB::clear_has_wal_file_size() {
3150
0
  _has_bits_[0] &= ~0x00000004u;
3151
0
}
3152
0
inline void TabletDriveStorageMetadataPB::clear_wal_file_size() {
3153
0
  wal_file_size_ = GOOGLE_ULONGLONG(0);
3154
0
  clear_has_wal_file_size();
3155
0
}
3156
1.17M
inline ::google::protobuf::uint64 TabletDriveStorageMetadataPB::wal_file_size() const {
3157
  // @@protoc_insertion_point(field_get:yb.master.TabletDriveStorageMetadataPB.wal_file_size)
3158
1.17M
  return wal_file_size_;
3159
1.17M
}
3160
295k
inline void TabletDriveStorageMetadataPB::set_wal_file_size(::google::protobuf::uint64 value) {
3161
295k
  set_has_wal_file_size();
3162
295k
  wal_file_size_ = value;
3163
  // @@protoc_insertion_point(field_set:yb.master.TabletDriveStorageMetadataPB.wal_file_size)
3164
295k
}
3165
3166
// optional uint64 uncompressed_sst_file_size = 4;
3167
590k
inline bool TabletDriveStorageMetadataPB::has_uncompressed_sst_file_size() const {
3168
590k
  return (_has_bits_[0] & 0x00000008u) != 0;
3169
590k
}
3170
587k
inline void TabletDriveStorageMetadataPB::set_has_uncompressed_sst_file_size() {
3171
587k
  _has_bits_[0] |= 0x00000008u;
3172
587k
}
3173
0
inline void TabletDriveStorageMetadataPB::clear_has_uncompressed_sst_file_size() {
3174
0
  _has_bits_[0] &= ~0x00000008u;
3175
0
}
3176
0
inline void TabletDriveStorageMetadataPB::clear_uncompressed_sst_file_size() {
3177
0
  uncompressed_sst_file_size_ = GOOGLE_ULONGLONG(0);
3178
0
  clear_has_uncompressed_sst_file_size();
3179
0
}
3180
1.17M
inline ::google::protobuf::uint64 TabletDriveStorageMetadataPB::uncompressed_sst_file_size() const {
3181
  // @@protoc_insertion_point(field_get:yb.master.TabletDriveStorageMetadataPB.uncompressed_sst_file_size)
3182
1.17M
  return uncompressed_sst_file_size_;
3183
1.17M
}
3184
295k
inline void TabletDriveStorageMetadataPB::set_uncompressed_sst_file_size(::google::protobuf::uint64 value) {
3185
295k
  set_has_uncompressed_sst_file_size();
3186
295k
  uncompressed_sst_file_size_ = value;
3187
  // @@protoc_insertion_point(field_set:yb.master.TabletDriveStorageMetadataPB.uncompressed_sst_file_size)
3188
295k
}
3189
3190
// optional bool may_have_orphaned_post_split_data = 5 [default = true];
3191
590k
inline bool TabletDriveStorageMetadataPB::has_may_have_orphaned_post_split_data() const {
3192
590k
  return (_has_bits_[0] & 0x00000010u) != 0;
3193
590k
}
3194
587k
inline void TabletDriveStorageMetadataPB::set_has_may_have_orphaned_post_split_data() {
3195
587k
  _has_bits_[0] |= 0x00000010u;
3196
587k
}
3197
0
inline void TabletDriveStorageMetadataPB::clear_has_may_have_orphaned_post_split_data() {
3198
0
  _has_bits_[0] &= ~0x00000010u;
3199
0
}
3200
0
inline void TabletDriveStorageMetadataPB::clear_may_have_orphaned_post_split_data() {
3201
0
  may_have_orphaned_post_split_data_ = true;
3202
0
  clear_has_may_have_orphaned_post_split_data();
3203
0
}
3204
581k
inline bool TabletDriveStorageMetadataPB::may_have_orphaned_post_split_data() const {
3205
  // @@protoc_insertion_point(field_get:yb.master.TabletDriveStorageMetadataPB.may_have_orphaned_post_split_data)
3206
581k
  return may_have_orphaned_post_split_data_;
3207
581k
}
3208
295k
inline void TabletDriveStorageMetadataPB::set_may_have_orphaned_post_split_data(bool value) {
3209
295k
  set_has_may_have_orphaned_post_split_data();
3210
295k
  may_have_orphaned_post_split_data_ = value;
3211
  // @@protoc_insertion_point(field_set:yb.master.TabletDriveStorageMetadataPB.may_have_orphaned_post_split_data)
3212
295k
}
3213
3214
// -------------------------------------------------------------------
3215
3216
// ReportedTabletUpdatesPB
3217
3218
// required bytes tablet_id = 1;
3219
518k
inline bool ReportedTabletUpdatesPB::has_tablet_id() const {
3220
518k
  return (_has_bits_[0] & 0x00000001u) != 0;
3221
518k
}
3222
520k
inline void ReportedTabletUpdatesPB::set_has_tablet_id() {
3223
520k
  _has_bits_[0] |= 0x00000001u;
3224
520k
}
3225
0
inline void ReportedTabletUpdatesPB::clear_has_tablet_id() {
3226
0
  _has_bits_[0] &= ~0x00000001u;
3227
0
}
3228
0
inline void ReportedTabletUpdatesPB::clear_tablet_id() {
3229
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3230
0
  clear_has_tablet_id();
3231
0
}
3232
1.03M
inline const ::std::string& ReportedTabletUpdatesPB::tablet_id() const {
3233
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletUpdatesPB.tablet_id)
3234
1.03M
  return tablet_id_.GetNoArena();
3235
1.03M
}
3236
259k
inline void ReportedTabletUpdatesPB::set_tablet_id(const ::std::string& value) {
3237
259k
  set_has_tablet_id();
3238
259k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3239
  // @@protoc_insertion_point(field_set:yb.master.ReportedTabletUpdatesPB.tablet_id)
3240
259k
}
3241
#if LANG_CXX11
3242
0
inline void ReportedTabletUpdatesPB::set_tablet_id(::std::string&& value) {
3243
0
  set_has_tablet_id();
3244
0
  tablet_id_.SetNoArena(
3245
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3246
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ReportedTabletUpdatesPB.tablet_id)
3247
0
}
3248
#endif
3249
0
inline void ReportedTabletUpdatesPB::set_tablet_id(const char* value) {
3250
0
  GOOGLE_DCHECK(value != NULL);
3251
0
  set_has_tablet_id();
3252
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3253
0
  // @@protoc_insertion_point(field_set_char:yb.master.ReportedTabletUpdatesPB.tablet_id)
3254
0
}
3255
0
inline void ReportedTabletUpdatesPB::set_tablet_id(const void* value, size_t size) {
3256
0
  set_has_tablet_id();
3257
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3258
0
      ::std::string(reinterpret_cast<const char*>(value), size));
3259
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ReportedTabletUpdatesPB.tablet_id)
3260
0
}
3261
260k
inline ::std::string* ReportedTabletUpdatesPB::mutable_tablet_id() {
3262
260k
  set_has_tablet_id();
3263
  // @@protoc_insertion_point(field_mutable:yb.master.ReportedTabletUpdatesPB.tablet_id)
3264
260k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3265
260k
}
3266
0
inline ::std::string* ReportedTabletUpdatesPB::release_tablet_id() {
3267
0
  // @@protoc_insertion_point(field_release:yb.master.ReportedTabletUpdatesPB.tablet_id)
3268
0
  clear_has_tablet_id();
3269
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3270
0
}
3271
0
inline void ReportedTabletUpdatesPB::set_allocated_tablet_id(::std::string* tablet_id) {
3272
0
  if (tablet_id != NULL) {
3273
0
    set_has_tablet_id();
3274
0
  } else {
3275
0
    clear_has_tablet_id();
3276
0
  }
3277
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
3278
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ReportedTabletUpdatesPB.tablet_id)
3279
0
}
3280
3281
// optional string state_msg = 2;
3282
517k
inline bool ReportedTabletUpdatesPB::has_state_msg() const {
3283
517k
  return (_has_bits_[0] & 0x00000002u) != 0;
3284
517k
}
3285
488
inline void ReportedTabletUpdatesPB::set_has_state_msg() {
3286
488
  _has_bits_[0] |= 0x00000002u;
3287
488
}
3288
0
inline void ReportedTabletUpdatesPB::clear_has_state_msg() {
3289
0
  _has_bits_[0] &= ~0x00000002u;
3290
0
}
3291
0
inline void ReportedTabletUpdatesPB::clear_state_msg() {
3292
0
  state_msg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3293
0
  clear_has_state_msg();
3294
0
}
3295
1.70k
inline const ::std::string& ReportedTabletUpdatesPB::state_msg() const {
3296
  // @@protoc_insertion_point(field_get:yb.master.ReportedTabletUpdatesPB.state_msg)
3297
1.70k
  return state_msg_.GetNoArena();
3298
1.70k
}
3299
244
inline void ReportedTabletUpdatesPB::set_state_msg(const ::std::string& value) {
3300
244
  set_has_state_msg();
3301
244
  state_msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3302
  // @@protoc_insertion_point(field_set:yb.master.ReportedTabletUpdatesPB.state_msg)
3303
244
}
3304
#if LANG_CXX11
3305
0
inline void ReportedTabletUpdatesPB::set_state_msg(::std::string&& value) {
3306
0
  set_has_state_msg();
3307
0
  state_msg_.SetNoArena(
3308
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3309
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ReportedTabletUpdatesPB.state_msg)
3310
0
}
3311
#endif
3312
0
inline void ReportedTabletUpdatesPB::set_state_msg(const char* value) {
3313
0
  GOOGLE_DCHECK(value != NULL);
3314
0
  set_has_state_msg();
3315
0
  state_msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3316
0
  // @@protoc_insertion_point(field_set_char:yb.master.ReportedTabletUpdatesPB.state_msg)
3317
0
}
3318
0
inline void ReportedTabletUpdatesPB::set_state_msg(const char* value, size_t size) {
3319
0
  set_has_state_msg();
3320
0
  state_msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3321
0
      ::std::string(reinterpret_cast<const char*>(value), size));
3322
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ReportedTabletUpdatesPB.state_msg)
3323
0
}
3324
244
inline ::std::string* ReportedTabletUpdatesPB::mutable_state_msg() {
3325
244
  set_has_state_msg();
3326
  // @@protoc_insertion_point(field_mutable:yb.master.ReportedTabletUpdatesPB.state_msg)
3327
244
  return state_msg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3328
244
}
3329
0
inline ::std::string* ReportedTabletUpdatesPB::release_state_msg() {
3330
0
  // @@protoc_insertion_point(field_release:yb.master.ReportedTabletUpdatesPB.state_msg)
3331
0
  clear_has_state_msg();
3332
0
  return state_msg_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3333
0
}
3334
0
inline void ReportedTabletUpdatesPB::set_allocated_state_msg(::std::string* state_msg) {
3335
0
  if (state_msg != NULL) {
3336
0
    set_has_state_msg();
3337
0
  } else {
3338
0
    clear_has_state_msg();
3339
0
  }
3340
0
  state_msg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), state_msg);
3341
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ReportedTabletUpdatesPB.state_msg)
3342
0
}
3343
3344
// -------------------------------------------------------------------
3345
3346
// TabletReportUpdatesPB
3347
3348
// repeated .yb.master.ReportedTabletUpdatesPB tablets = 1;
3349
1.14M
inline int TabletReportUpdatesPB::tablets_size() const {
3350
1.14M
  return tablets_.size();
3351
1.14M
}
3352
0
inline void TabletReportUpdatesPB::clear_tablets() {
3353
0
  tablets_.Clear();
3354
0
}
3355
775k
inline const ::yb::master::ReportedTabletUpdatesPB& TabletReportUpdatesPB::tablets(int index) const {
3356
  // @@protoc_insertion_point(field_get:yb.master.TabletReportUpdatesPB.tablets)
3357
775k
  return tablets_.Get(index);
3358
775k
}
3359
0
inline ::yb::master::ReportedTabletUpdatesPB* TabletReportUpdatesPB::mutable_tablets(int index) {
3360
0
  // @@protoc_insertion_point(field_mutable:yb.master.TabletReportUpdatesPB.tablets)
3361
0
  return tablets_.Mutable(index);
3362
0
}
3363
520k
inline ::yb::master::ReportedTabletUpdatesPB* TabletReportUpdatesPB::add_tablets() {
3364
  // @@protoc_insertion_point(field_add:yb.master.TabletReportUpdatesPB.tablets)
3365
520k
  return tablets_.Add();
3366
520k
}
3367
inline ::google::protobuf::RepeatedPtrField< ::yb::master::ReportedTabletUpdatesPB >*
3368
378k
TabletReportUpdatesPB::mutable_tablets() {
3369
  // @@protoc_insertion_point(field_mutable_list:yb.master.TabletReportUpdatesPB.tablets)
3370
378k
  return &tablets_;
3371
378k
}
3372
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::ReportedTabletUpdatesPB >&
3373
1.18M
TabletReportUpdatesPB::tablets() const {
3374
  // @@protoc_insertion_point(field_list:yb.master.TabletReportUpdatesPB.tablets)
3375
1.18M
  return tablets_;
3376
1.18M
}
3377
3378
// optional bool processing_truncated = 2 [default = false];
3379
764k
inline bool TabletReportUpdatesPB::has_processing_truncated() const {
3380
764k
  return (_has_bits_[0] & 0x00000001u) != 0;
3381
764k
}
3382
1.68k
inline void TabletReportUpdatesPB::set_has_processing_truncated() {
3383
1.68k
  _has_bits_[0] |= 0x00000001u;
3384
1.68k
}
3385
0
inline void TabletReportUpdatesPB::clear_has_processing_truncated() {
3386
0
  _has_bits_[0] &= ~0x00000001u;
3387
0
}
3388
0
inline void TabletReportUpdatesPB::clear_processing_truncated() {
3389
0
  processing_truncated_ = false;
3390
0
  clear_has_processing_truncated();
3391
0
}
3392
397k
inline bool TabletReportUpdatesPB::processing_truncated() const {
3393
  // @@protoc_insertion_point(field_get:yb.master.TabletReportUpdatesPB.processing_truncated)
3394
397k
  return processing_truncated_;
3395
397k
}
3396
842
inline void TabletReportUpdatesPB::set_processing_truncated(bool value) {
3397
842
  set_has_processing_truncated();
3398
842
  processing_truncated_ = value;
3399
  // @@protoc_insertion_point(field_set:yb.master.TabletReportUpdatesPB.processing_truncated)
3400
842
}
3401
3402
// -------------------------------------------------------------------
3403
3404
// TSInformationPB
3405
3406
// required .yb.master.TSRegistrationPB registration = 1;
3407
3.04M
inline bool TSInformationPB::has_registration() const {
3408
3.04M
  return (_has_bits_[0] & 0x00000001u) != 0;
3409
3.04M
}
3410
3.95M
inline void TSInformationPB::set_has_registration() {
3411
3.95M
  _has_bits_[0] |= 0x00000001u;
3412
3.95M
}
3413
0
inline void TSInformationPB::clear_has_registration() {
3414
0
  _has_bits_[0] &= ~0x00000001u;
3415
0
}
3416
5.69M
inline const ::yb::master::TSRegistrationPB& TSInformationPB::registration() const {
3417
5.69M
  const ::yb::master::TSRegistrationPB* p = registration_;
3418
  // @@protoc_insertion_point(field_get:yb.master.TSInformationPB.registration)
3419
5.69M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TSRegistrationPB*>(
3420
36
      &::yb::master::_TSRegistrationPB_default_instance_);
3421
5.69M
}
3422
0
inline ::yb::master::TSRegistrationPB* TSInformationPB::release_registration() {
3423
0
  // @@protoc_insertion_point(field_release:yb.master.TSInformationPB.registration)
3424
0
  clear_has_registration();
3425
0
  ::yb::master::TSRegistrationPB* temp = registration_;
3426
0
  registration_ = NULL;
3427
0
  return temp;
3428
0
}
3429
3.95M
inline ::yb::master::TSRegistrationPB* TSInformationPB::mutable_registration() {
3430
3.95M
  set_has_registration();
3431
3.95M
  if (registration_ == NULL) {
3432
2.61M
    registration_ = new ::yb::master::TSRegistrationPB;
3433
2.61M
  }
3434
  // @@protoc_insertion_point(field_mutable:yb.master.TSInformationPB.registration)
3435
3.95M
  return registration_;
3436
3.95M
}
3437
0
inline void TSInformationPB::set_allocated_registration(::yb::master::TSRegistrationPB* registration) {
3438
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3439
0
  if (message_arena == NULL) {
3440
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(registration_);
3441
0
  }
3442
0
  if (registration) {
3443
0
    ::google::protobuf::Arena* submessage_arena = NULL;
3444
0
    if (message_arena != submessage_arena) {
3445
0
      registration = ::google::protobuf::internal::GetOwnedMessage(
3446
0
          message_arena, registration, submessage_arena);
3447
0
    }
3448
0
    set_has_registration();
3449
0
  } else {
3450
0
    clear_has_registration();
3451
0
  }
3452
0
  registration_ = registration;
3453
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSInformationPB.registration)
3454
0
}
3455
3456
// required .yb.NodeInstancePB tserver_instance = 2;
3457
3.04M
inline bool TSInformationPB::has_tserver_instance() const {
3458
3.04M
  return (_has_bits_[0] & 0x00000002u) != 0;
3459
3.04M
}
3460
3.95M
inline void TSInformationPB::set_has_tserver_instance() {
3461
3.95M
  _has_bits_[0] |= 0x00000002u;
3462
3.95M
}
3463
0
inline void TSInformationPB::clear_has_tserver_instance() {
3464
0
  _has_bits_[0] &= ~0x00000002u;
3465
0
}
3466
3.70M
inline const ::yb::NodeInstancePB& TSInformationPB::tserver_instance() const {
3467
3.70M
  const ::yb::NodeInstancePB* p = tserver_instance_;
3468
  // @@protoc_insertion_point(field_get:yb.master.TSInformationPB.tserver_instance)
3469
3.70M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::NodeInstancePB*>(
3470
200
      &::yb::_NodeInstancePB_default_instance_);
3471
3.70M
}
3472
0
inline ::yb::NodeInstancePB* TSInformationPB::release_tserver_instance() {
3473
0
  // @@protoc_insertion_point(field_release:yb.master.TSInformationPB.tserver_instance)
3474
0
  clear_has_tserver_instance();
3475
0
  ::yb::NodeInstancePB* temp = tserver_instance_;
3476
0
  tserver_instance_ = NULL;
3477
0
  return temp;
3478
0
}
3479
3.95M
inline ::yb::NodeInstancePB* TSInformationPB::mutable_tserver_instance() {
3480
3.95M
  set_has_tserver_instance();
3481
3.95M
  if (tserver_instance_ == NULL) {
3482
2.61M
    tserver_instance_ = new ::yb::NodeInstancePB;
3483
2.61M
  }
3484
  // @@protoc_insertion_point(field_mutable:yb.master.TSInformationPB.tserver_instance)
3485
3.95M
  return tserver_instance_;
3486
3.95M
}
3487
0
inline void TSInformationPB::set_allocated_tserver_instance(::yb::NodeInstancePB* tserver_instance) {
3488
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3489
0
  if (message_arena == NULL) {
3490
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(tserver_instance_);
3491
0
  }
3492
0
  if (tserver_instance) {
3493
0
    ::google::protobuf::Arena* submessage_arena = NULL;
3494
0
    if (message_arena != submessage_arena) {
3495
0
      tserver_instance = ::google::protobuf::internal::GetOwnedMessage(
3496
0
          message_arena, tserver_instance, submessage_arena);
3497
0
    }
3498
0
    set_has_tserver_instance();
3499
0
  } else {
3500
0
    clear_has_tserver_instance();
3501
0
  }
3502
0
  tserver_instance_ = tserver_instance;
3503
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSInformationPB.tserver_instance)
3504
0
}
3505
3506
// -------------------------------------------------------------------
3507
3508
// TSSnapshotScheduleInfoPB
3509
3510
// optional bytes id = 1;
3511
0
inline bool TSSnapshotScheduleInfoPB::has_id() const {
3512
0
  return (_has_bits_[0] & 0x00000001u) != 0;
3513
0
}
3514
0
inline void TSSnapshotScheduleInfoPB::set_has_id() {
3515
0
  _has_bits_[0] |= 0x00000001u;
3516
0
}
3517
0
inline void TSSnapshotScheduleInfoPB::clear_has_id() {
3518
0
  _has_bits_[0] &= ~0x00000001u;
3519
0
}
3520
0
inline void TSSnapshotScheduleInfoPB::clear_id() {
3521
0
  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3522
0
  clear_has_id();
3523
0
}
3524
0
inline const ::std::string& TSSnapshotScheduleInfoPB::id() const {
3525
0
  // @@protoc_insertion_point(field_get:yb.master.TSSnapshotScheduleInfoPB.id)
3526
0
  return id_.GetNoArena();
3527
0
}
3528
0
inline void TSSnapshotScheduleInfoPB::set_id(const ::std::string& value) {
3529
0
  set_has_id();
3530
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3531
0
  // @@protoc_insertion_point(field_set:yb.master.TSSnapshotScheduleInfoPB.id)
3532
0
}
3533
#if LANG_CXX11
3534
0
inline void TSSnapshotScheduleInfoPB::set_id(::std::string&& value) {
3535
0
  set_has_id();
3536
0
  id_.SetNoArena(
3537
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3538
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TSSnapshotScheduleInfoPB.id)
3539
0
}
3540
#endif
3541
0
inline void TSSnapshotScheduleInfoPB::set_id(const char* value) {
3542
0
  GOOGLE_DCHECK(value != NULL);
3543
0
  set_has_id();
3544
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3545
0
  // @@protoc_insertion_point(field_set_char:yb.master.TSSnapshotScheduleInfoPB.id)
3546
0
}
3547
0
inline void TSSnapshotScheduleInfoPB::set_id(const void* value, size_t size) {
3548
0
  set_has_id();
3549
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3550
0
      ::std::string(reinterpret_cast<const char*>(value), size));
3551
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TSSnapshotScheduleInfoPB.id)
3552
0
}
3553
0
inline ::std::string* TSSnapshotScheduleInfoPB::mutable_id() {
3554
0
  set_has_id();
3555
0
  // @@protoc_insertion_point(field_mutable:yb.master.TSSnapshotScheduleInfoPB.id)
3556
0
  return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3557
0
}
3558
0
inline ::std::string* TSSnapshotScheduleInfoPB::release_id() {
3559
0
  // @@protoc_insertion_point(field_release:yb.master.TSSnapshotScheduleInfoPB.id)
3560
0
  clear_has_id();
3561
0
  return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3562
0
}
3563
0
inline void TSSnapshotScheduleInfoPB::set_allocated_id(::std::string* id) {
3564
0
  if (id != NULL) {
3565
0
    set_has_id();
3566
0
  } else {
3567
0
    clear_has_id();
3568
0
  }
3569
0
  id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
3570
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSSnapshotScheduleInfoPB.id)
3571
0
}
3572
3573
// optional fixed64 last_snapshot_hybrid_time = 2;
3574
0
inline bool TSSnapshotScheduleInfoPB::has_last_snapshot_hybrid_time() const {
3575
0
  return (_has_bits_[0] & 0x00000002u) != 0;
3576
0
}
3577
0
inline void TSSnapshotScheduleInfoPB::set_has_last_snapshot_hybrid_time() {
3578
0
  _has_bits_[0] |= 0x00000002u;
3579
0
}
3580
0
inline void TSSnapshotScheduleInfoPB::clear_has_last_snapshot_hybrid_time() {
3581
0
  _has_bits_[0] &= ~0x00000002u;
3582
0
}
3583
0
inline void TSSnapshotScheduleInfoPB::clear_last_snapshot_hybrid_time() {
3584
0
  last_snapshot_hybrid_time_ = GOOGLE_ULONGLONG(0);
3585
0
  clear_has_last_snapshot_hybrid_time();
3586
0
}
3587
0
inline ::google::protobuf::uint64 TSSnapshotScheduleInfoPB::last_snapshot_hybrid_time() const {
3588
0
  // @@protoc_insertion_point(field_get:yb.master.TSSnapshotScheduleInfoPB.last_snapshot_hybrid_time)
3589
0
  return last_snapshot_hybrid_time_;
3590
0
}
3591
0
inline void TSSnapshotScheduleInfoPB::set_last_snapshot_hybrid_time(::google::protobuf::uint64 value) {
3592
0
  set_has_last_snapshot_hybrid_time();
3593
0
  last_snapshot_hybrid_time_ = value;
3594
0
  // @@protoc_insertion_point(field_set:yb.master.TSSnapshotScheduleInfoPB.last_snapshot_hybrid_time)
3595
0
}
3596
3597
// -------------------------------------------------------------------
3598
3599
// TSSnapshotRestorationInfoPB
3600
3601
// optional bytes id = 1;
3602
0
inline bool TSSnapshotRestorationInfoPB::has_id() const {
3603
0
  return (_has_bits_[0] & 0x00000001u) != 0;
3604
0
}
3605
0
inline void TSSnapshotRestorationInfoPB::set_has_id() {
3606
0
  _has_bits_[0] |= 0x00000001u;
3607
0
}
3608
0
inline void TSSnapshotRestorationInfoPB::clear_has_id() {
3609
0
  _has_bits_[0] &= ~0x00000001u;
3610
0
}
3611
0
inline void TSSnapshotRestorationInfoPB::clear_id() {
3612
0
  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3613
0
  clear_has_id();
3614
0
}
3615
0
inline const ::std::string& TSSnapshotRestorationInfoPB::id() const {
3616
0
  // @@protoc_insertion_point(field_get:yb.master.TSSnapshotRestorationInfoPB.id)
3617
0
  return id_.GetNoArena();
3618
0
}
3619
0
inline void TSSnapshotRestorationInfoPB::set_id(const ::std::string& value) {
3620
0
  set_has_id();
3621
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3622
0
  // @@protoc_insertion_point(field_set:yb.master.TSSnapshotRestorationInfoPB.id)
3623
0
}
3624
#if LANG_CXX11
3625
0
inline void TSSnapshotRestorationInfoPB::set_id(::std::string&& value) {
3626
0
  set_has_id();
3627
0
  id_.SetNoArena(
3628
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3629
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TSSnapshotRestorationInfoPB.id)
3630
0
}
3631
#endif
3632
0
inline void TSSnapshotRestorationInfoPB::set_id(const char* value) {
3633
0
  GOOGLE_DCHECK(value != NULL);
3634
0
  set_has_id();
3635
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3636
0
  // @@protoc_insertion_point(field_set_char:yb.master.TSSnapshotRestorationInfoPB.id)
3637
0
}
3638
0
inline void TSSnapshotRestorationInfoPB::set_id(const void* value, size_t size) {
3639
0
  set_has_id();
3640
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3641
0
      ::std::string(reinterpret_cast<const char*>(value), size));
3642
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TSSnapshotRestorationInfoPB.id)
3643
0
}
3644
0
inline ::std::string* TSSnapshotRestorationInfoPB::mutable_id() {
3645
0
  set_has_id();
3646
0
  // @@protoc_insertion_point(field_mutable:yb.master.TSSnapshotRestorationInfoPB.id)
3647
0
  return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3648
0
}
3649
0
inline ::std::string* TSSnapshotRestorationInfoPB::release_id() {
3650
0
  // @@protoc_insertion_point(field_release:yb.master.TSSnapshotRestorationInfoPB.id)
3651
0
  clear_has_id();
3652
0
  return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3653
0
}
3654
0
inline void TSSnapshotRestorationInfoPB::set_allocated_id(::std::string* id) {
3655
0
  if (id != NULL) {
3656
0
    set_has_id();
3657
0
  } else {
3658
0
    clear_has_id();
3659
0
  }
3660
0
  id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
3661
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSSnapshotRestorationInfoPB.id)
3662
0
}
3663
3664
// optional fixed64 complete_time_ht = 2;
3665
0
inline bool TSSnapshotRestorationInfoPB::has_complete_time_ht() const {
3666
0
  return (_has_bits_[0] & 0x00000002u) != 0;
3667
0
}
3668
0
inline void TSSnapshotRestorationInfoPB::set_has_complete_time_ht() {
3669
0
  _has_bits_[0] |= 0x00000002u;
3670
0
}
3671
0
inline void TSSnapshotRestorationInfoPB::clear_has_complete_time_ht() {
3672
0
  _has_bits_[0] &= ~0x00000002u;
3673
0
}
3674
0
inline void TSSnapshotRestorationInfoPB::clear_complete_time_ht() {
3675
0
  complete_time_ht_ = GOOGLE_ULONGLONG(0);
3676
0
  clear_has_complete_time_ht();
3677
0
}
3678
0
inline ::google::protobuf::uint64 TSSnapshotRestorationInfoPB::complete_time_ht() const {
3679
0
  // @@protoc_insertion_point(field_get:yb.master.TSSnapshotRestorationInfoPB.complete_time_ht)
3680
0
  return complete_time_ht_;
3681
0
}
3682
0
inline void TSSnapshotRestorationInfoPB::set_complete_time_ht(::google::protobuf::uint64 value) {
3683
0
  set_has_complete_time_ht();
3684
0
  complete_time_ht_ = value;
3685
0
  // @@protoc_insertion_point(field_set:yb.master.TSSnapshotRestorationInfoPB.complete_time_ht)
3686
0
}
3687
3688
// -------------------------------------------------------------------
3689
3690
// TSSnapshotsInfoPB
3691
3692
// repeated .yb.master.TSSnapshotScheduleInfoPB schedules = 1;
3693
1.14M
inline int TSSnapshotsInfoPB::schedules_size() const {
3694
1.14M
  return schedules_.size();
3695
1.14M
}
3696
0
inline void TSSnapshotsInfoPB::clear_schedules() {
3697
0
  schedules_.Clear();
3698
0
}
3699
0
inline const ::yb::master::TSSnapshotScheduleInfoPB& TSSnapshotsInfoPB::schedules(int index) const {
3700
0
  // @@protoc_insertion_point(field_get:yb.master.TSSnapshotsInfoPB.schedules)
3701
0
  return schedules_.Get(index);
3702
0
}
3703
0
inline ::yb::master::TSSnapshotScheduleInfoPB* TSSnapshotsInfoPB::mutable_schedules(int index) {
3704
0
  // @@protoc_insertion_point(field_mutable:yb.master.TSSnapshotsInfoPB.schedules)
3705
0
  return schedules_.Mutable(index);
3706
0
}
3707
0
inline ::yb::master::TSSnapshotScheduleInfoPB* TSSnapshotsInfoPB::add_schedules() {
3708
0
  // @@protoc_insertion_point(field_add:yb.master.TSSnapshotsInfoPB.schedules)
3709
0
  return schedules_.Add();
3710
0
}
3711
inline ::google::protobuf::RepeatedPtrField< ::yb::master::TSSnapshotScheduleInfoPB >*
3712
0
TSSnapshotsInfoPB::mutable_schedules() {
3713
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.TSSnapshotsInfoPB.schedules)
3714
0
  return &schedules_;
3715
0
}
3716
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TSSnapshotScheduleInfoPB >&
3717
396k
TSSnapshotsInfoPB::schedules() const {
3718
  // @@protoc_insertion_point(field_list:yb.master.TSSnapshotsInfoPB.schedules)
3719
396k
  return schedules_;
3720
396k
}
3721
3722
// optional fixed64 last_restorations_update_ht = 2;
3723
760k
inline bool TSSnapshotsInfoPB::has_last_restorations_update_ht() const {
3724
760k
  return (_has_bits_[0] & 0x00000001u) != 0;
3725
760k
}
3726
786k
inline void TSSnapshotsInfoPB::set_has_last_restorations_update_ht() {
3727
786k
  _has_bits_[0] |= 0x00000001u;
3728
786k
}
3729
0
inline void TSSnapshotsInfoPB::clear_has_last_restorations_update_ht() {
3730
0
  _has_bits_[0] &= ~0x00000001u;
3731
0
}
3732
0
inline void TSSnapshotsInfoPB::clear_last_restorations_update_ht() {
3733
0
  last_restorations_update_ht_ = GOOGLE_ULONGLONG(0);
3734
0
  clear_has_last_restorations_update_ht();
3735
0
}
3736
780k
inline ::google::protobuf::uint64 TSSnapshotsInfoPB::last_restorations_update_ht() const {
3737
  // @@protoc_insertion_point(field_get:yb.master.TSSnapshotsInfoPB.last_restorations_update_ht)
3738
780k
  return last_restorations_update_ht_;
3739
780k
}
3740
384k
inline void TSSnapshotsInfoPB::set_last_restorations_update_ht(::google::protobuf::uint64 value) {
3741
384k
  set_has_last_restorations_update_ht();
3742
384k
  last_restorations_update_ht_ = value;
3743
  // @@protoc_insertion_point(field_set:yb.master.TSSnapshotsInfoPB.last_restorations_update_ht)
3744
384k
}
3745
3746
// repeated .yb.master.TSSnapshotRestorationInfoPB restorations = 3;
3747
1.13M
inline int TSSnapshotsInfoPB::restorations_size() const {
3748
1.13M
  return restorations_.size();
3749
1.13M
}
3750
0
inline void TSSnapshotsInfoPB::clear_restorations() {
3751
0
  restorations_.Clear();
3752
0
}
3753
0
inline const ::yb::master::TSSnapshotRestorationInfoPB& TSSnapshotsInfoPB::restorations(int index) const {
3754
0
  // @@protoc_insertion_point(field_get:yb.master.TSSnapshotsInfoPB.restorations)
3755
0
  return restorations_.Get(index);
3756
0
}
3757
0
inline ::yb::master::TSSnapshotRestorationInfoPB* TSSnapshotsInfoPB::mutable_restorations(int index) {
3758
0
  // @@protoc_insertion_point(field_mutable:yb.master.TSSnapshotsInfoPB.restorations)
3759
0
  return restorations_.Mutable(index);
3760
0
}
3761
0
inline ::yb::master::TSSnapshotRestorationInfoPB* TSSnapshotsInfoPB::add_restorations() {
3762
0
  // @@protoc_insertion_point(field_add:yb.master.TSSnapshotsInfoPB.restorations)
3763
0
  return restorations_.Add();
3764
0
}
3765
inline ::google::protobuf::RepeatedPtrField< ::yb::master::TSSnapshotRestorationInfoPB >*
3766
0
TSSnapshotsInfoPB::mutable_restorations() {
3767
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.TSSnapshotsInfoPB.restorations)
3768
0
  return &restorations_;
3769
0
}
3770
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TSSnapshotRestorationInfoPB >&
3771
5.58k
TSSnapshotsInfoPB::restorations() const {
3772
  // @@protoc_insertion_point(field_list:yb.master.TSSnapshotsInfoPB.restorations)
3773
5.58k
  return restorations_;
3774
5.58k
}
3775
3776
// -------------------------------------------------------------------
3777
3778
// TSHeartbeatRequestPB
3779
3780
// required .yb.master.TSToMasterCommonPB common = 1;
3781
1.59M
inline bool TSHeartbeatRequestPB::has_common() const {
3782
1.59M
  return (_has_bits_[0] & 0x00000001u) != 0;
3783
1.59M
}
3784
788k
inline void TSHeartbeatRequestPB::set_has_common() {
3785
788k
  _has_bits_[0] |= 0x00000001u;
3786
788k
}
3787
0
inline void TSHeartbeatRequestPB::clear_has_common() {
3788
0
  _has_bits_[0] &= ~0x00000001u;
3789
0
}
3790
0
inline void TSHeartbeatRequestPB::clear_common() {
3791
0
  if (common_ != NULL) common_->Clear();
3792
0
  clear_has_common();
3793
0
}
3794
773k
inline const ::yb::master::TSToMasterCommonPB& TSHeartbeatRequestPB::common() const {
3795
773k
  const ::yb::master::TSToMasterCommonPB* p = common_;
3796
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.common)
3797
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TSToMasterCommonPB*>(
3798
18.4E
      &::yb::master::_TSToMasterCommonPB_default_instance_);
3799
773k
}
3800
0
inline ::yb::master::TSToMasterCommonPB* TSHeartbeatRequestPB::release_common() {
3801
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatRequestPB.common)
3802
0
  clear_has_common();
3803
0
  ::yb::master::TSToMasterCommonPB* temp = common_;
3804
0
  common_ = NULL;
3805
0
  return temp;
3806
0
}
3807
788k
inline ::yb::master::TSToMasterCommonPB* TSHeartbeatRequestPB::mutable_common() {
3808
788k
  set_has_common();
3809
788k
  if (common_ == NULL) {
3810
785k
    common_ = new ::yb::master::TSToMasterCommonPB;
3811
785k
  }
3812
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatRequestPB.common)
3813
788k
  return common_;
3814
788k
}
3815
0
inline void TSHeartbeatRequestPB::set_allocated_common(::yb::master::TSToMasterCommonPB* common) {
3816
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3817
0
  if (message_arena == NULL) {
3818
0
    delete common_;
3819
0
  }
3820
0
  if (common) {
3821
0
    ::google::protobuf::Arena* submessage_arena = NULL;
3822
0
    if (message_arena != submessage_arena) {
3823
0
      common = ::google::protobuf::internal::GetOwnedMessage(
3824
0
          message_arena, common, submessage_arena);
3825
0
    }
3826
0
    set_has_common();
3827
0
  } else {
3828
0
    clear_has_common();
3829
0
  }
3830
0
  common_ = common;
3831
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatRequestPB.common)
3832
0
}
3833
3834
// optional .yb.master.TSRegistrationPB registration = 2;
3835
1.98M
inline bool TSHeartbeatRequestPB::has_registration() const {
3836
1.98M
  return (_has_bits_[0] & 0x00000002u) != 0;
3837
1.98M
}
3838
17.8k
inline void TSHeartbeatRequestPB::set_has_registration() {
3839
17.8k
  _has_bits_[0] |= 0x00000002u;
3840
17.8k
}
3841
0
inline void TSHeartbeatRequestPB::clear_has_registration() {
3842
0
  _has_bits_[0] &= ~0x00000002u;
3843
0
}
3844
5.59k
inline const ::yb::master::TSRegistrationPB& TSHeartbeatRequestPB::registration() const {
3845
5.59k
  const ::yb::master::TSRegistrationPB* p = registration_;
3846
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.registration)
3847
5.59k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TSRegistrationPB*>(
3848
0
      &::yb::master::_TSRegistrationPB_default_instance_);
3849
5.59k
}
3850
0
inline ::yb::master::TSRegistrationPB* TSHeartbeatRequestPB::release_registration() {
3851
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatRequestPB.registration)
3852
0
  clear_has_registration();
3853
0
  ::yb::master::TSRegistrationPB* temp = registration_;
3854
0
  registration_ = NULL;
3855
0
  return temp;
3856
0
}
3857
17.8k
inline ::yb::master::TSRegistrationPB* TSHeartbeatRequestPB::mutable_registration() {
3858
17.8k
  set_has_registration();
3859
17.8k
  if (registration_ == NULL) {
3860
11.9k
    registration_ = new ::yb::master::TSRegistrationPB;
3861
11.9k
  }
3862
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatRequestPB.registration)
3863
17.8k
  return registration_;
3864
17.8k
}
3865
0
inline void TSHeartbeatRequestPB::set_allocated_registration(::yb::master::TSRegistrationPB* registration) {
3866
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3867
0
  if (message_arena == NULL) {
3868
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(registration_);
3869
0
  }
3870
0
  if (registration) {
3871
0
    ::google::protobuf::Arena* submessage_arena = NULL;
3872
0
    if (message_arena != submessage_arena) {
3873
0
      registration = ::google::protobuf::internal::GetOwnedMessage(
3874
0
          message_arena, registration, submessage_arena);
3875
0
    }
3876
0
    set_has_registration();
3877
0
  } else {
3878
0
    clear_has_registration();
3879
0
  }
3880
0
  registration_ = registration;
3881
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatRequestPB.registration)
3882
0
}
3883
3884
// optional .yb.master.TabletReportPB tablet_report = 3;
3885
2.40M
inline bool TSHeartbeatRequestPB::has_tablet_report() const {
3886
2.40M
  return (_has_bits_[0] & 0x00000004u) != 0;
3887
2.40M
}
3888
1.19M
inline void TSHeartbeatRequestPB::set_has_tablet_report() {
3889
1.19M
  _has_bits_[0] |= 0x00000004u;
3890
1.19M
}
3891
0
inline void TSHeartbeatRequestPB::clear_has_tablet_report() {
3892
0
  _has_bits_[0] &= ~0x00000004u;
3893
0
}
3894
0
inline void TSHeartbeatRequestPB::clear_tablet_report() {
3895
0
  if (tablet_report_ != NULL) tablet_report_->Clear();
3896
0
  clear_has_tablet_report();
3897
0
}
3898
1.59M
inline const ::yb::master::TabletReportPB& TSHeartbeatRequestPB::tablet_report() const {
3899
1.59M
  const ::yb::master::TabletReportPB* p = tablet_report_;
3900
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.tablet_report)
3901
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TabletReportPB*>(
3902
18.4E
      &::yb::master::_TabletReportPB_default_instance_);
3903
1.59M
}
3904
0
inline ::yb::master::TabletReportPB* TSHeartbeatRequestPB::release_tablet_report() {
3905
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatRequestPB.tablet_report)
3906
0
  clear_has_tablet_report();
3907
0
  ::yb::master::TabletReportPB* temp = tablet_report_;
3908
0
  tablet_report_ = NULL;
3909
0
  return temp;
3910
0
}
3911
1.19M
inline ::yb::master::TabletReportPB* TSHeartbeatRequestPB::mutable_tablet_report() {
3912
1.19M
  set_has_tablet_report();
3913
1.19M
  if (tablet_report_ == NULL) {
3914
787k
    tablet_report_ = new ::yb::master::TabletReportPB;
3915
787k
  }
3916
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatRequestPB.tablet_report)
3917
1.19M
  return tablet_report_;
3918
1.19M
}
3919
0
inline void TSHeartbeatRequestPB::set_allocated_tablet_report(::yb::master::TabletReportPB* tablet_report) {
3920
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3921
0
  if (message_arena == NULL) {
3922
0
    delete tablet_report_;
3923
0
  }
3924
0
  if (tablet_report) {
3925
0
    ::google::protobuf::Arena* submessage_arena = NULL;
3926
0
    if (message_arena != submessage_arena) {
3927
0
      tablet_report = ::google::protobuf::internal::GetOwnedMessage(
3928
0
          message_arena, tablet_report, submessage_arena);
3929
0
    }
3930
0
    set_has_tablet_report();
3931
0
  } else {
3932
0
    clear_has_tablet_report();
3933
0
  }
3934
0
  tablet_report_ = tablet_report;
3935
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatRequestPB.tablet_report)
3936
0
}
3937
3938
// optional int32 num_live_tablets = 4;
3939
807k
inline bool TSHeartbeatRequestPB::has_num_live_tablets() const {
3940
807k
  return (_has_bits_[0] & 0x00000020u) != 0;
3941
807k
}
3942
787k
inline void TSHeartbeatRequestPB::set_has_num_live_tablets() {
3943
787k
  _has_bits_[0] |= 0x00000020u;
3944
787k
}
3945
0
inline void TSHeartbeatRequestPB::clear_has_num_live_tablets() {
3946
0
  _has_bits_[0] &= ~0x00000020u;
3947
0
}
3948
0
inline void TSHeartbeatRequestPB::clear_num_live_tablets() {
3949
0
  num_live_tablets_ = 0;
3950
0
  clear_has_num_live_tablets();
3951
0
}
3952
1.97M
inline ::google::protobuf::int32 TSHeartbeatRequestPB::num_live_tablets() const {
3953
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.num_live_tablets)
3954
1.97M
  return num_live_tablets_;
3955
1.97M
}
3956
403k
inline void TSHeartbeatRequestPB::set_num_live_tablets(::google::protobuf::int32 value) {
3957
403k
  set_has_num_live_tablets();
3958
403k
  num_live_tablets_ = value;
3959
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatRequestPB.num_live_tablets)
3960
403k
}
3961
3962
// optional int64 config_index = 5;
3963
807k
inline bool TSHeartbeatRequestPB::has_config_index() const {
3964
807k
  return (_has_bits_[0] & 0x00000010u) != 0;
3965
807k
}
3966
787k
inline void TSHeartbeatRequestPB::set_has_config_index() {
3967
787k
  _has_bits_[0] |= 0x00000010u;
3968
787k
}
3969
0
inline void TSHeartbeatRequestPB::clear_has_config_index() {
3970
0
  _has_bits_[0] &= ~0x00000010u;
3971
0
}
3972
0
inline void TSHeartbeatRequestPB::clear_config_index() {
3973
0
  config_index_ = GOOGLE_LONGLONG(0);
3974
0
  clear_has_config_index();
3975
0
}
3976
1.59M
inline ::google::protobuf::int64 TSHeartbeatRequestPB::config_index() const {
3977
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.config_index)
3978
1.59M
  return config_index_;
3979
1.59M
}
3980
403k
inline void TSHeartbeatRequestPB::set_config_index(::google::protobuf::int64 value) {
3981
403k
  set_has_config_index();
3982
403k
  config_index_ = value;
3983
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatRequestPB.config_index)
3984
403k
}
3985
3986
// optional .yb.master.TServerMetricsPB metrics = 6;
3987
1.97M
inline bool TSHeartbeatRequestPB::has_metrics() const {
3988
1.97M
  return (_has_bits_[0] & 0x00000008u) != 0;
3989
1.97M
}
3990
71.7k
inline void TSHeartbeatRequestPB::set_has_metrics() {
3991
71.7k
  _has_bits_[0] |= 0x00000008u;
3992
71.7k
}
3993
0
inline void TSHeartbeatRequestPB::clear_has_metrics() {
3994
0
  _has_bits_[0] &= ~0x00000008u;
3995
0
}
3996
33.7k
inline const ::yb::master::TServerMetricsPB& TSHeartbeatRequestPB::metrics() const {
3997
33.7k
  const ::yb::master::TServerMetricsPB* p = metrics_;
3998
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.metrics)
3999
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TServerMetricsPB*>(
4000
18.4E
      &::yb::master::_TServerMetricsPB_default_instance_);
4001
33.7k
}
4002
0
inline ::yb::master::TServerMetricsPB* TSHeartbeatRequestPB::release_metrics() {
4003
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatRequestPB.metrics)
4004
0
  clear_has_metrics();
4005
0
  ::yb::master::TServerMetricsPB* temp = metrics_;
4006
0
  metrics_ = NULL;
4007
0
  return temp;
4008
0
}
4009
71.7k
inline ::yb::master::TServerMetricsPB* TSHeartbeatRequestPB::mutable_metrics() {
4010
71.7k
  set_has_metrics();
4011
71.7k
  if (metrics_ == NULL) {
4012
71.5k
    metrics_ = new ::yb::master::TServerMetricsPB;
4013
71.5k
  }
4014
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatRequestPB.metrics)
4015
71.7k
  return metrics_;
4016
71.7k
}
4017
0
inline void TSHeartbeatRequestPB::set_allocated_metrics(::yb::master::TServerMetricsPB* metrics) {
4018
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4019
0
  if (message_arena == NULL) {
4020
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(metrics_);
4021
0
  }
4022
0
  if (metrics) {
4023
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4024
0
    if (message_arena != submessage_arena) {
4025
0
      metrics = ::google::protobuf::internal::GetOwnedMessage(
4026
0
          message_arena, metrics, submessage_arena);
4027
0
    }
4028
0
    set_has_metrics();
4029
0
  } else {
4030
0
    clear_has_metrics();
4031
0
  }
4032
0
  metrics_ = metrics;
4033
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatRequestPB.metrics)
4034
0
}
4035
4036
// optional int32 leader_count = 7;
4037
807k
inline bool TSHeartbeatRequestPB::has_leader_count() const {
4038
807k
  return (_has_bits_[0] & 0x00000040u) != 0;
4039
807k
}
4040
788k
inline void TSHeartbeatRequestPB::set_has_leader_count() {
4041
788k
  _has_bits_[0] |= 0x00000040u;
4042
788k
}
4043
0
inline void TSHeartbeatRequestPB::clear_has_leader_count() {
4044
0
  _has_bits_[0] &= ~0x00000040u;
4045
0
}
4046
0
inline void TSHeartbeatRequestPB::clear_leader_count() {
4047
0
  leader_count_ = 0;
4048
0
  clear_has_leader_count();
4049
0
}
4050
1.97M
inline ::google::protobuf::int32 TSHeartbeatRequestPB::leader_count() const {
4051
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.leader_count)
4052
1.97M
  return leader_count_;
4053
1.97M
}
4054
403k
inline void TSHeartbeatRequestPB::set_leader_count(::google::protobuf::int32 value) {
4055
403k
  set_has_leader_count();
4056
403k
  leader_count_ = value;
4057
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatRequestPB.leader_count)
4058
403k
}
4059
4060
// optional int32 cluster_config_version = 8;
4061
807k
inline bool TSHeartbeatRequestPB::has_cluster_config_version() const {
4062
807k
  return (_has_bits_[0] & 0x00000400u) != 0;
4063
807k
}
4064
787k
inline void TSHeartbeatRequestPB::set_has_cluster_config_version() {
4065
787k
  _has_bits_[0] |= 0x00000400u;
4066
787k
}
4067
0
inline void TSHeartbeatRequestPB::clear_has_cluster_config_version() {
4068
0
  _has_bits_[0] &= ~0x00000400u;
4069
0
}
4070
0
inline void TSHeartbeatRequestPB::clear_cluster_config_version() {
4071
0
  cluster_config_version_ = 0;
4072
0
  clear_has_cluster_config_version();
4073
0
}
4074
1.21M
inline ::google::protobuf::int32 TSHeartbeatRequestPB::cluster_config_version() const {
4075
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.cluster_config_version)
4076
1.21M
  return cluster_config_version_;
4077
1.21M
}
4078
403k
inline void TSHeartbeatRequestPB::set_cluster_config_version(::google::protobuf::int32 value) {
4079
403k
  set_has_cluster_config_version();
4080
403k
  cluster_config_version_ = value;
4081
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatRequestPB.cluster_config_version)
4082
403k
}
4083
4084
// repeated .yb.master.TabletForSplitPB DEPRECATED_tablets_for_split = 9;
4085
1.21M
inline int TSHeartbeatRequestPB::deprecated_tablets_for_split_size() const {
4086
1.21M
  return deprecated_tablets_for_split_.size();
4087
1.21M
}
4088
0
inline void TSHeartbeatRequestPB::clear_deprecated_tablets_for_split() {
4089
0
  deprecated_tablets_for_split_.Clear();
4090
0
}
4091
0
inline const ::yb::master::TabletForSplitPB& TSHeartbeatRequestPB::deprecated_tablets_for_split(int index) const {
4092
0
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.DEPRECATED_tablets_for_split)
4093
0
  return deprecated_tablets_for_split_.Get(index);
4094
0
}
4095
0
inline ::yb::master::TabletForSplitPB* TSHeartbeatRequestPB::mutable_deprecated_tablets_for_split(int index) {
4096
0
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatRequestPB.DEPRECATED_tablets_for_split)
4097
0
  return deprecated_tablets_for_split_.Mutable(index);
4098
0
}
4099
0
inline ::yb::master::TabletForSplitPB* TSHeartbeatRequestPB::add_deprecated_tablets_for_split() {
4100
0
  // @@protoc_insertion_point(field_add:yb.master.TSHeartbeatRequestPB.DEPRECATED_tablets_for_split)
4101
0
  return deprecated_tablets_for_split_.Add();
4102
0
}
4103
inline ::google::protobuf::RepeatedPtrField< ::yb::master::TabletForSplitPB >*
4104
0
TSHeartbeatRequestPB::mutable_deprecated_tablets_for_split() {
4105
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.TSHeartbeatRequestPB.DEPRECATED_tablets_for_split)
4106
0
  return &deprecated_tablets_for_split_;
4107
0
}
4108
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletForSplitPB >&
4109
788k
TSHeartbeatRequestPB::deprecated_tablets_for_split() const {
4110
  // @@protoc_insertion_point(field_list:yb.master.TSHeartbeatRequestPB.DEPRECATED_tablets_for_split)
4111
788k
  return deprecated_tablets_for_split_;
4112
788k
}
4113
4114
// optional fixed64 ts_physical_time = 10;
4115
807k
inline bool TSHeartbeatRequestPB::has_ts_physical_time() const {
4116
807k
  return (_has_bits_[0] & 0x00000080u) != 0;
4117
807k
}
4118
788k
inline void TSHeartbeatRequestPB::set_has_ts_physical_time() {
4119
788k
  _has_bits_[0] |= 0x00000080u;
4120
788k
}
4121
0
inline void TSHeartbeatRequestPB::clear_has_ts_physical_time() {
4122
0
  _has_bits_[0] &= ~0x00000080u;
4123
0
}
4124
0
inline void TSHeartbeatRequestPB::clear_ts_physical_time() {
4125
0
  ts_physical_time_ = GOOGLE_ULONGLONG(0);
4126
0
  clear_has_ts_physical_time();
4127
0
}
4128
787k
inline ::google::protobuf::uint64 TSHeartbeatRequestPB::ts_physical_time() const {
4129
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.ts_physical_time)
4130
787k
  return ts_physical_time_;
4131
787k
}
4132
403k
inline void TSHeartbeatRequestPB::set_ts_physical_time(::google::protobuf::uint64 value) {
4133
403k
  set_has_ts_physical_time();
4134
403k
  ts_physical_time_ = value;
4135
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatRequestPB.ts_physical_time)
4136
403k
}
4137
4138
// optional fixed64 ts_hybrid_time = 11;
4139
807k
inline bool TSHeartbeatRequestPB::has_ts_hybrid_time() const {
4140
807k
  return (_has_bits_[0] & 0x00000100u) != 0;
4141
807k
}
4142
788k
inline void TSHeartbeatRequestPB::set_has_ts_hybrid_time() {
4143
788k
  _has_bits_[0] |= 0x00000100u;
4144
788k
}
4145
0
inline void TSHeartbeatRequestPB::clear_has_ts_hybrid_time() {
4146
0
  _has_bits_[0] &= ~0x00000100u;
4147
0
}
4148
0
inline void TSHeartbeatRequestPB::clear_ts_hybrid_time() {
4149
0
  ts_hybrid_time_ = GOOGLE_ULONGLONG(0);
4150
0
  clear_has_ts_hybrid_time();
4151
0
}
4152
787k
inline ::google::protobuf::uint64 TSHeartbeatRequestPB::ts_hybrid_time() const {
4153
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.ts_hybrid_time)
4154
787k
  return ts_hybrid_time_;
4155
787k
}
4156
403k
inline void TSHeartbeatRequestPB::set_ts_hybrid_time(::google::protobuf::uint64 value) {
4157
403k
  set_has_ts_hybrid_time();
4158
403k
  ts_hybrid_time_ = value;
4159
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatRequestPB.ts_hybrid_time)
4160
403k
}
4161
4162
// optional int64 rtt_us = 12;
4163
807k
inline bool TSHeartbeatRequestPB::has_rtt_us() const {
4164
807k
  return (_has_bits_[0] & 0x00000200u) != 0;
4165
807k
}
4166
787k
inline void TSHeartbeatRequestPB::set_has_rtt_us() {
4167
787k
  _has_bits_[0] |= 0x00000200u;
4168
787k
}
4169
0
inline void TSHeartbeatRequestPB::clear_has_rtt_us() {
4170
0
  _has_bits_[0] &= ~0x00000200u;
4171
0
}
4172
0
inline void TSHeartbeatRequestPB::clear_rtt_us() {
4173
0
  rtt_us_ = GOOGLE_LONGLONG(0);
4174
0
  clear_has_rtt_us();
4175
0
}
4176
1.59M
inline ::google::protobuf::int64 TSHeartbeatRequestPB::rtt_us() const {
4177
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.rtt_us)
4178
1.59M
  return rtt_us_;
4179
1.59M
}
4180
403k
inline void TSHeartbeatRequestPB::set_rtt_us(::google::protobuf::int64 value) {
4181
403k
  set_has_rtt_us();
4182
403k
  rtt_us_ = value;
4183
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatRequestPB.rtt_us)
4184
403k
}
4185
4186
// repeated .yb.master.TabletDriveStorageMetadataPB storage_metadata = 14;
4187
1.21M
inline int TSHeartbeatRequestPB::storage_metadata_size() const {
4188
1.21M
  return storage_metadata_.size();
4189
1.21M
}
4190
0
inline void TSHeartbeatRequestPB::clear_storage_metadata() {
4191
0
  storage_metadata_.Clear();
4192
0
}
4193
885k
inline const ::yb::master::TabletDriveStorageMetadataPB& TSHeartbeatRequestPB::storage_metadata(int index) const {
4194
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatRequestPB.storage_metadata)
4195
885k
  return storage_metadata_.Get(index);
4196
885k
}
4197
0
inline ::yb::master::TabletDriveStorageMetadataPB* TSHeartbeatRequestPB::mutable_storage_metadata(int index) {
4198
0
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatRequestPB.storage_metadata)
4199
0
  return storage_metadata_.Mutable(index);
4200
0
}
4201
587k
inline ::yb::master::TabletDriveStorageMetadataPB* TSHeartbeatRequestPB::add_storage_metadata() {
4202
  // @@protoc_insertion_point(field_add:yb.master.TSHeartbeatRequestPB.storage_metadata)
4203
587k
  return storage_metadata_.Add();
4204
587k
}
4205
inline ::google::protobuf::RepeatedPtrField< ::yb::master::TabletDriveStorageMetadataPB >*
4206
0
TSHeartbeatRequestPB::mutable_storage_metadata() {
4207
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.TSHeartbeatRequestPB.storage_metadata)
4208
0
  return &storage_metadata_;
4209
0
}
4210
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletDriveStorageMetadataPB >&
4211
1.16M
TSHeartbeatRequestPB::storage_metadata() const {
4212
  // @@protoc_insertion_point(field_list:yb.master.TSHeartbeatRequestPB.storage_metadata)
4213
1.16M
  return storage_metadata_;
4214
1.16M
}
4215
4216
// -------------------------------------------------------------------
4217
4218
// TSHeartbeatResponsePB
4219
4220
// optional .yb.master.MasterErrorPB error = 1;
4221
1.95M
inline bool TSHeartbeatResponsePB::has_error() const {
4222
1.95M
  return (_has_bits_[0] & 0x00000002u) != 0;
4223
1.95M
}
4224
2.11k
inline void TSHeartbeatResponsePB::set_has_error() {
4225
2.11k
  _has_bits_[0] |= 0x00000002u;
4226
2.11k
}
4227
0
inline void TSHeartbeatResponsePB::clear_has_error() {
4228
0
  _has_bits_[0] &= ~0x00000002u;
4229
0
}
4230
1.39k
inline const ::yb::master::MasterErrorPB& TSHeartbeatResponsePB::error() const {
4231
1.39k
  const ::yb::master::MasterErrorPB* p = error_;
4232
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.error)
4233
1.39k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
4234
0
      &::yb::master::_MasterErrorPB_default_instance_);
4235
1.39k
}
4236
0
inline ::yb::master::MasterErrorPB* TSHeartbeatResponsePB::release_error() {
4237
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatResponsePB.error)
4238
0
  clear_has_error();
4239
0
  ::yb::master::MasterErrorPB* temp = error_;
4240
0
  error_ = NULL;
4241
0
  return temp;
4242
0
}
4243
2.11k
inline ::yb::master::MasterErrorPB* TSHeartbeatResponsePB::mutable_error() {
4244
2.11k
  set_has_error();
4245
2.11k
  if (error_ == NULL) {
4246
1.40k
    error_ = new ::yb::master::MasterErrorPB;
4247
1.40k
  }
4248
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatResponsePB.error)
4249
2.11k
  return error_;
4250
2.11k
}
4251
0
inline void TSHeartbeatResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
4252
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4253
0
  if (message_arena == NULL) {
4254
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
4255
0
  }
4256
0
  if (error) {
4257
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4258
0
    if (message_arena != submessage_arena) {
4259
0
      error = ::google::protobuf::internal::GetOwnedMessage(
4260
0
          message_arena, error, submessage_arena);
4261
0
    }
4262
0
    set_has_error();
4263
0
  } else {
4264
0
    clear_has_error();
4265
0
  }
4266
0
  error_ = error;
4267
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatResponsePB.error)
4268
0
}
4269
4270
// optional .yb.NodeInstancePB master_instance = 2;
4271
1.55M
inline bool TSHeartbeatResponsePB::has_master_instance() const {
4272
1.55M
  return (_has_bits_[0] & 0x00000004u) != 0;
4273
1.55M
}
4274
786k
inline void TSHeartbeatResponsePB::set_has_master_instance() {
4275
786k
  _has_bits_[0] |= 0x00000004u;
4276
786k
}
4277
0
inline void TSHeartbeatResponsePB::clear_has_master_instance() {
4278
0
  _has_bits_[0] &= ~0x00000004u;
4279
0
}
4280
0
inline const ::yb::NodeInstancePB& TSHeartbeatResponsePB::master_instance() const {
4281
0
  const ::yb::NodeInstancePB* p = master_instance_;
4282
0
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.master_instance)
4283
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::NodeInstancePB*>(
4284
0
      &::yb::_NodeInstancePB_default_instance_);
4285
0
}
4286
0
inline ::yb::NodeInstancePB* TSHeartbeatResponsePB::release_master_instance() {
4287
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatResponsePB.master_instance)
4288
0
  clear_has_master_instance();
4289
0
  ::yb::NodeInstancePB* temp = master_instance_;
4290
0
  master_instance_ = NULL;
4291
0
  return temp;
4292
0
}
4293
786k
inline ::yb::NodeInstancePB* TSHeartbeatResponsePB::mutable_master_instance() {
4294
786k
  set_has_master_instance();
4295
786k
  if (master_instance_ == NULL) {
4296
786k
    master_instance_ = new ::yb::NodeInstancePB;
4297
786k
  }
4298
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatResponsePB.master_instance)
4299
786k
  return master_instance_;
4300
786k
}
4301
0
inline void TSHeartbeatResponsePB::set_allocated_master_instance(::yb::NodeInstancePB* master_instance) {
4302
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4303
0
  if (message_arena == NULL) {
4304
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(master_instance_);
4305
0
  }
4306
0
  if (master_instance) {
4307
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4308
0
    if (message_arena != submessage_arena) {
4309
0
      master_instance = ::google::protobuf::internal::GetOwnedMessage(
4310
0
          message_arena, master_instance, submessage_arena);
4311
0
    }
4312
0
    set_has_master_instance();
4313
0
  } else {
4314
0
    clear_has_master_instance();
4315
0
  }
4316
0
  master_instance_ = master_instance;
4317
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatResponsePB.master_instance)
4318
0
}
4319
4320
// optional bool needs_reregister = 3 [default = false];
4321
761k
inline bool TSHeartbeatResponsePB::has_needs_reregister() const {
4322
761k
  return (_has_bits_[0] & 0x00000100u) != 0;
4323
761k
}
4324
6.07k
inline void TSHeartbeatResponsePB::set_has_needs_reregister() {
4325
6.07k
  _has_bits_[0] |= 0x00000100u;
4326
6.07k
}
4327
0
inline void TSHeartbeatResponsePB::clear_has_needs_reregister() {
4328
0
  _has_bits_[0] &= ~0x00000100u;
4329
0
}
4330
0
inline void TSHeartbeatResponsePB::clear_needs_reregister() {
4331
0
  needs_reregister_ = false;
4332
0
  clear_has_needs_reregister();
4333
0
}
4334
1.22M
inline bool TSHeartbeatResponsePB::needs_reregister() const {
4335
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.needs_reregister)
4336
1.22M
  return needs_reregister_;
4337
1.22M
}
4338
5.94k
inline void TSHeartbeatResponsePB::set_needs_reregister(bool value) {
4339
5.94k
  set_has_needs_reregister();
4340
5.94k
  needs_reregister_ = value;
4341
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatResponsePB.needs_reregister)
4342
5.94k
}
4343
4344
// optional bool needs_full_tablet_report = 4 [default = false];
4345
761k
inline bool TSHeartbeatResponsePB::has_needs_full_tablet_report() const {
4346
761k
  return (_has_bits_[0] & 0x00000200u) != 0;
4347
761k
}
4348
17.0k
inline void TSHeartbeatResponsePB::set_has_needs_full_tablet_report() {
4349
17.0k
  _has_bits_[0] |= 0x00000200u;
4350
17.0k
}
4351
0
inline void TSHeartbeatResponsePB::clear_has_needs_full_tablet_report() {
4352
0
  _has_bits_[0] &= ~0x00000200u;
4353
0
}
4354
0
inline void TSHeartbeatResponsePB::clear_needs_full_tablet_report() {
4355
0
  needs_full_tablet_report_ = false;
4356
0
  clear_has_needs_full_tablet_report();
4357
0
}
4358
1.20M
inline bool TSHeartbeatResponsePB::needs_full_tablet_report() const {
4359
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.needs_full_tablet_report)
4360
1.20M
  return needs_full_tablet_report_;
4361
1.20M
}
4362
11.4k
inline void TSHeartbeatResponsePB::set_needs_full_tablet_report(bool value) {
4363
11.4k
  set_has_needs_full_tablet_report();
4364
11.4k
  needs_full_tablet_report_ = value;
4365
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatResponsePB.needs_full_tablet_report)
4366
11.4k
}
4367
4368
// optional .yb.master.TabletReportUpdatesPB tablet_report = 5;
4369
1.54M
inline bool TSHeartbeatResponsePB::has_tablet_report() const {
4370
1.54M
  return (_has_bits_[0] & 0x00000008u) != 0;
4371
1.54M
}
4372
785k
inline void TSHeartbeatResponsePB::set_has_tablet_report() {
4373
785k
  _has_bits_[0] |= 0x00000008u;
4374
785k
}
4375
0
inline void TSHeartbeatResponsePB::clear_has_tablet_report() {
4376
0
  _has_bits_[0] &= ~0x00000008u;
4377
0
}
4378
0
inline void TSHeartbeatResponsePB::clear_tablet_report() {
4379
0
  if (tablet_report_ != NULL) tablet_report_->Clear();
4380
0
  clear_has_tablet_report();
4381
0
}
4382
793k
inline const ::yb::master::TabletReportUpdatesPB& TSHeartbeatResponsePB::tablet_report() const {
4383
793k
  const ::yb::master::TabletReportUpdatesPB* p = tablet_report_;
4384
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.tablet_report)
4385
793k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TabletReportUpdatesPB*>(
4386
0
      &::yb::master::_TabletReportUpdatesPB_default_instance_);
4387
793k
}
4388
0
inline ::yb::master::TabletReportUpdatesPB* TSHeartbeatResponsePB::release_tablet_report() {
4389
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatResponsePB.tablet_report)
4390
0
  clear_has_tablet_report();
4391
0
  ::yb::master::TabletReportUpdatesPB* temp = tablet_report_;
4392
0
  tablet_report_ = NULL;
4393
0
  return temp;
4394
0
}
4395
785k
inline ::yb::master::TabletReportUpdatesPB* TSHeartbeatResponsePB::mutable_tablet_report() {
4396
785k
  set_has_tablet_report();
4397
785k
  if (tablet_report_ == NULL) {
4398
785k
    tablet_report_ = new ::yb::master::TabletReportUpdatesPB;
4399
785k
  }
4400
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatResponsePB.tablet_report)
4401
785k
  return tablet_report_;
4402
785k
}
4403
0
inline void TSHeartbeatResponsePB::set_allocated_tablet_report(::yb::master::TabletReportUpdatesPB* tablet_report) {
4404
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4405
0
  if (message_arena == NULL) {
4406
0
    delete tablet_report_;
4407
0
  }
4408
0
  if (tablet_report) {
4409
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4410
0
    if (message_arena != submessage_arena) {
4411
0
      tablet_report = ::google::protobuf::internal::GetOwnedMessage(
4412
0
          message_arena, tablet_report, submessage_arena);
4413
0
    }
4414
0
    set_has_tablet_report();
4415
0
  } else {
4416
0
    clear_has_tablet_report();
4417
0
  }
4418
0
  tablet_report_ = tablet_report;
4419
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatResponsePB.tablet_report)
4420
0
}
4421
4422
// optional bool leader_master = 6;
4423
761k
inline bool TSHeartbeatResponsePB::has_leader_master() const {
4424
761k
  return (_has_bits_[0] & 0x00000400u) != 0;
4425
761k
}
4426
786k
inline void TSHeartbeatResponsePB::set_has_leader_master() {
4427
786k
  _has_bits_[0] |= 0x00000400u;
4428
786k
}
4429
0
inline void TSHeartbeatResponsePB::clear_has_leader_master() {
4430
0
  _has_bits_[0] &= ~0x00000400u;
4431
0
}
4432
0
inline void TSHeartbeatResponsePB::clear_leader_master() {
4433
0
  leader_master_ = false;
4434
0
  clear_has_leader_master();
4435
0
}
4436
787k
inline bool TSHeartbeatResponsePB::leader_master() const {
4437
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.leader_master)
4438
787k
  return leader_master_;
4439
787k
}
4440
384k
inline void TSHeartbeatResponsePB::set_leader_master(bool value) {
4441
384k
  set_has_leader_master();
4442
384k
  leader_master_ = value;
4443
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatResponsePB.leader_master)
4444
384k
}
4445
4446
// optional .yb.consensus.RaftConfigPB master_config = 7;
4447
1.95M
inline bool TSHeartbeatResponsePB::has_master_config() const {
4448
1.95M
  return (_has_bits_[0] & 0x00000010u) != 0;
4449
1.95M
}
4450
270
inline void TSHeartbeatResponsePB::set_has_master_config() {
4451
270
  _has_bits_[0] |= 0x00000010u;
4452
270
}
4453
0
inline void TSHeartbeatResponsePB::clear_has_master_config() {
4454
0
  _has_bits_[0] &= ~0x00000010u;
4455
0
}
4456
270
inline const ::yb::consensus::RaftConfigPB& TSHeartbeatResponsePB::master_config() const {
4457
270
  const ::yb::consensus::RaftConfigPB* p = master_config_;
4458
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.master_config)
4459
270
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::RaftConfigPB*>(
4460
0
      &::yb::consensus::_RaftConfigPB_default_instance_);
4461
270
}
4462
0
inline ::yb::consensus::RaftConfigPB* TSHeartbeatResponsePB::release_master_config() {
4463
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatResponsePB.master_config)
4464
0
  clear_has_master_config();
4465
0
  ::yb::consensus::RaftConfigPB* temp = master_config_;
4466
0
  master_config_ = NULL;
4467
0
  return temp;
4468
0
}
4469
270
inline ::yb::consensus::RaftConfigPB* TSHeartbeatResponsePB::mutable_master_config() {
4470
270
  set_has_master_config();
4471
270
  if (master_config_ == NULL) {
4472
270
    master_config_ = new ::yb::consensus::RaftConfigPB;
4473
270
  }
4474
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatResponsePB.master_config)
4475
270
  return master_config_;
4476
270
}
4477
0
inline void TSHeartbeatResponsePB::set_allocated_master_config(::yb::consensus::RaftConfigPB* master_config) {
4478
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4479
0
  if (message_arena == NULL) {
4480
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(master_config_);
4481
0
  }
4482
0
  if (master_config) {
4483
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4484
0
    if (message_arena != submessage_arena) {
4485
0
      master_config = ::google::protobuf::internal::GetOwnedMessage(
4486
0
          message_arena, master_config, submessage_arena);
4487
0
    }
4488
0
    set_has_master_config();
4489
0
  } else {
4490
0
    clear_has_master_config();
4491
0
  }
4492
0
  master_config_ = master_config;
4493
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatResponsePB.master_config)
4494
0
}
4495
4496
// repeated .yb.master.TSInformationPB tservers = 8;
4497
1.14M
inline int TSHeartbeatResponsePB::tservers_size() const {
4498
1.14M
  return tservers_.size();
4499
1.14M
}
4500
0
inline void TSHeartbeatResponsePB::clear_tservers() {
4501
0
  tservers_.Clear();
4502
0
}
4503
3.75M
inline const ::yb::master::TSInformationPB& TSHeartbeatResponsePB::tservers(int index) const {
4504
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.tservers)
4505
3.75M
  return tservers_.Get(index);
4506
3.75M
}
4507
0
inline ::yb::master::TSInformationPB* TSHeartbeatResponsePB::mutable_tservers(int index) {
4508
0
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatResponsePB.tservers)
4509
0
  return tservers_.Mutable(index);
4510
0
}
4511
2.61M
inline ::yb::master::TSInformationPB* TSHeartbeatResponsePB::add_tservers() {
4512
  // @@protoc_insertion_point(field_add:yb.master.TSHeartbeatResponsePB.tservers)
4513
2.61M
  return tservers_.Add();
4514
2.61M
}
4515
inline ::google::protobuf::RepeatedPtrField< ::yb::master::TSInformationPB >*
4516
0
TSHeartbeatResponsePB::mutable_tservers() {
4517
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.TSHeartbeatResponsePB.tservers)
4518
0
  return &tservers_;
4519
0
}
4520
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TSInformationPB >&
4521
1.58M
TSHeartbeatResponsePB::tservers() const {
4522
  // @@protoc_insertion_point(field_list:yb.master.TSHeartbeatResponsePB.tservers)
4523
1.58M
  return tservers_;
4524
1.58M
}
4525
4526
// optional string cluster_uuid = 9;
4527
1.16M
inline bool TSHeartbeatResponsePB::has_cluster_uuid() const {
4528
1.16M
  return (_has_bits_[0] & 0x00000001u) != 0;
4529
1.16M
}
4530
11.1k
inline void TSHeartbeatResponsePB::set_has_cluster_uuid() {
4531
11.1k
  _has_bits_[0] |= 0x00000001u;
4532
11.1k
}
4533
0
inline void TSHeartbeatResponsePB::clear_has_cluster_uuid() {
4534
0
  _has_bits_[0] &= ~0x00000001u;
4535
0
}
4536
0
inline void TSHeartbeatResponsePB::clear_cluster_uuid() {
4537
0
  cluster_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4538
0
  clear_has_cluster_uuid();
4539
0
}
4540
50.3k
inline const ::std::string& TSHeartbeatResponsePB::cluster_uuid() const {
4541
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.cluster_uuid)
4542
50.3k
  return cluster_uuid_.GetNoArena();
4543
50.3k
}
4544
5.59k
inline void TSHeartbeatResponsePB::set_cluster_uuid(const ::std::string& value) {
4545
5.59k
  set_has_cluster_uuid();
4546
5.59k
  cluster_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4547
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatResponsePB.cluster_uuid)
4548
5.59k
}
4549
#if LANG_CXX11
4550
0
inline void TSHeartbeatResponsePB::set_cluster_uuid(::std::string&& value) {
4551
0
  set_has_cluster_uuid();
4552
0
  cluster_uuid_.SetNoArena(
4553
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4554
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TSHeartbeatResponsePB.cluster_uuid)
4555
0
}
4556
#endif
4557
0
inline void TSHeartbeatResponsePB::set_cluster_uuid(const char* value) {
4558
0
  GOOGLE_DCHECK(value != NULL);
4559
0
  set_has_cluster_uuid();
4560
0
  cluster_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4561
0
  // @@protoc_insertion_point(field_set_char:yb.master.TSHeartbeatResponsePB.cluster_uuid)
4562
0
}
4563
0
inline void TSHeartbeatResponsePB::set_cluster_uuid(const char* value, size_t size) {
4564
0
  set_has_cluster_uuid();
4565
0
  cluster_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4566
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4567
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TSHeartbeatResponsePB.cluster_uuid)
4568
0
}
4569
5.59k
inline ::std::string* TSHeartbeatResponsePB::mutable_cluster_uuid() {
4570
5.59k
  set_has_cluster_uuid();
4571
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatResponsePB.cluster_uuid)
4572
5.59k
  return cluster_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4573
5.59k
}
4574
0
inline ::std::string* TSHeartbeatResponsePB::release_cluster_uuid() {
4575
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatResponsePB.cluster_uuid)
4576
0
  clear_has_cluster_uuid();
4577
0
  return cluster_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4578
0
}
4579
0
inline void TSHeartbeatResponsePB::set_allocated_cluster_uuid(::std::string* cluster_uuid) {
4580
0
  if (cluster_uuid != NULL) {
4581
0
    set_has_cluster_uuid();
4582
0
  } else {
4583
0
    clear_has_cluster_uuid();
4584
0
  }
4585
0
  cluster_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cluster_uuid);
4586
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatResponsePB.cluster_uuid)
4587
0
}
4588
4589
// optional uint64 ysql_catalog_version = 10;
4590
1.15M
inline bool TSHeartbeatResponsePB::has_ysql_catalog_version() const {
4591
1.15M
  return (_has_bits_[0] & 0x00001000u) != 0;
4592
1.15M
}
4593
785k
inline void TSHeartbeatResponsePB::set_has_ysql_catalog_version() {
4594
785k
  _has_bits_[0] |= 0x00001000u;
4595
785k
}
4596
0
inline void TSHeartbeatResponsePB::clear_has_ysql_catalog_version() {
4597
0
  _has_bits_[0] &= ~0x00001000u;
4598
0
}
4599
0
inline void TSHeartbeatResponsePB::clear_ysql_catalog_version() {
4600
0
  ysql_catalog_version_ = GOOGLE_ULONGLONG(0);
4601
0
  clear_has_ysql_catalog_version();
4602
0
}
4603
1.54M
inline ::google::protobuf::uint64 TSHeartbeatResponsePB::ysql_catalog_version() const {
4604
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.ysql_catalog_version)
4605
1.54M
  return ysql_catalog_version_;
4606
1.54M
}
4607
383k
inline void TSHeartbeatResponsePB::set_ysql_catalog_version(::google::protobuf::uint64 value) {
4608
383k
  set_has_ysql_catalog_version();
4609
383k
  ysql_catalog_version_ = value;
4610
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatResponsePB.ysql_catalog_version)
4611
383k
}
4612
4613
// optional uint64 ysql_last_breaking_catalog_version = 15;
4614
1.16M
inline bool TSHeartbeatResponsePB::has_ysql_last_breaking_catalog_version() const {
4615
1.16M
  return (_has_bits_[0] & 0x00004000u) != 0;
4616
1.16M
}
4617
784k
inline void TSHeartbeatResponsePB::set_has_ysql_last_breaking_catalog_version() {
4618
784k
  _has_bits_[0] |= 0x00004000u;
4619
784k
}
4620
0
inline void TSHeartbeatResponsePB::clear_has_ysql_last_breaking_catalog_version() {
4621
0
  _has_bits_[0] &= ~0x00004000u;
4622
0
}
4623
0
inline void TSHeartbeatResponsePB::clear_ysql_last_breaking_catalog_version() {
4624
0
  ysql_last_breaking_catalog_version_ = GOOGLE_ULONGLONG(0);
4625
0
  clear_has_ysql_last_breaking_catalog_version();
4626
0
}
4627
1.54M
inline ::google::protobuf::uint64 TSHeartbeatResponsePB::ysql_last_breaking_catalog_version() const {
4628
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.ysql_last_breaking_catalog_version)
4629
1.54M
  return ysql_last_breaking_catalog_version_;
4630
1.54M
}
4631
381k
inline void TSHeartbeatResponsePB::set_ysql_last_breaking_catalog_version(::google::protobuf::uint64 value) {
4632
381k
  set_has_ysql_last_breaking_catalog_version();
4633
381k
  ysql_last_breaking_catalog_version_ = value;
4634
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatResponsePB.ysql_last_breaking_catalog_version)
4635
381k
}
4636
4637
// optional .yb.encryption.UniverseKeyRegistryPB universe_key_registry = 11;
4638
1.16M
inline bool TSHeartbeatResponsePB::has_universe_key_registry() const {
4639
1.16M
  return (_has_bits_[0] & 0x00000020u) != 0;
4640
1.16M
}
4641
6
inline void TSHeartbeatResponsePB::set_has_universe_key_registry() {
4642
6
  _has_bits_[0] |= 0x00000020u;
4643
6
}
4644
0
inline void TSHeartbeatResponsePB::clear_has_universe_key_registry() {
4645
0
  _has_bits_[0] &= ~0x00000020u;
4646
0
}
4647
3
inline const ::yb::encryption::UniverseKeyRegistryPB& TSHeartbeatResponsePB::universe_key_registry() const {
4648
3
  const ::yb::encryption::UniverseKeyRegistryPB* p = universe_key_registry_;
4649
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.universe_key_registry)
4650
3
  return p != NULL ? *p : *reinterpret_cast<const ::yb::encryption::UniverseKeyRegistryPB*>(
4651
0
      &::yb::encryption::_UniverseKeyRegistryPB_default_instance_);
4652
3
}
4653
0
inline ::yb::encryption::UniverseKeyRegistryPB* TSHeartbeatResponsePB::release_universe_key_registry() {
4654
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatResponsePB.universe_key_registry)
4655
0
  clear_has_universe_key_registry();
4656
0
  ::yb::encryption::UniverseKeyRegistryPB* temp = universe_key_registry_;
4657
0
  universe_key_registry_ = NULL;
4658
0
  return temp;
4659
0
}
4660
6
inline ::yb::encryption::UniverseKeyRegistryPB* TSHeartbeatResponsePB::mutable_universe_key_registry() {
4661
6
  set_has_universe_key_registry();
4662
6
  if (universe_key_registry_ == NULL) {
4663
6
    universe_key_registry_ = new ::yb::encryption::UniverseKeyRegistryPB;
4664
6
  }
4665
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatResponsePB.universe_key_registry)
4666
6
  return universe_key_registry_;
4667
6
}
4668
0
inline void TSHeartbeatResponsePB::set_allocated_universe_key_registry(::yb::encryption::UniverseKeyRegistryPB* universe_key_registry) {
4669
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4670
0
  if (message_arena == NULL) {
4671
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(universe_key_registry_);
4672
0
  }
4673
0
  if (universe_key_registry) {
4674
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4675
0
    if (message_arena != submessage_arena) {
4676
0
      universe_key_registry = ::google::protobuf::internal::GetOwnedMessage(
4677
0
          message_arena, universe_key_registry, submessage_arena);
4678
0
    }
4679
0
    set_has_universe_key_registry();
4680
0
  } else {
4681
0
    clear_has_universe_key_registry();
4682
0
  }
4683
0
  universe_key_registry_ = universe_key_registry;
4684
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatResponsePB.universe_key_registry)
4685
0
}
4686
4687
// optional .yb.cdc.ConsumerRegistryPB consumer_registry = 12;
4688
1.95M
inline bool TSHeartbeatResponsePB::has_consumer_registry() const {
4689
1.95M
  return (_has_bits_[0] & 0x00000040u) != 0;
4690
1.95M
}
4691
0
inline void TSHeartbeatResponsePB::set_has_consumer_registry() {
4692
0
  _has_bits_[0] |= 0x00000040u;
4693
0
}
4694
0
inline void TSHeartbeatResponsePB::clear_has_consumer_registry() {
4695
0
  _has_bits_[0] &= ~0x00000040u;
4696
0
}
4697
0
inline const ::yb::cdc::ConsumerRegistryPB& TSHeartbeatResponsePB::consumer_registry() const {
4698
0
  const ::yb::cdc::ConsumerRegistryPB* p = consumer_registry_;
4699
0
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.consumer_registry)
4700
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::ConsumerRegistryPB*>(
4701
0
      &::yb::cdc::_ConsumerRegistryPB_default_instance_);
4702
0
}
4703
0
inline ::yb::cdc::ConsumerRegistryPB* TSHeartbeatResponsePB::release_consumer_registry() {
4704
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatResponsePB.consumer_registry)
4705
0
  clear_has_consumer_registry();
4706
0
  ::yb::cdc::ConsumerRegistryPB* temp = consumer_registry_;
4707
0
  consumer_registry_ = NULL;
4708
0
  return temp;
4709
0
}
4710
0
inline ::yb::cdc::ConsumerRegistryPB* TSHeartbeatResponsePB::mutable_consumer_registry() {
4711
0
  set_has_consumer_registry();
4712
0
  if (consumer_registry_ == NULL) {
4713
0
    consumer_registry_ = new ::yb::cdc::ConsumerRegistryPB;
4714
0
  }
4715
0
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatResponsePB.consumer_registry)
4716
0
  return consumer_registry_;
4717
0
}
4718
0
inline void TSHeartbeatResponsePB::set_allocated_consumer_registry(::yb::cdc::ConsumerRegistryPB* consumer_registry) {
4719
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4720
0
  if (message_arena == NULL) {
4721
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(consumer_registry_);
4722
0
  }
4723
0
  if (consumer_registry) {
4724
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4725
0
    if (message_arena != submessage_arena) {
4726
0
      consumer_registry = ::google::protobuf::internal::GetOwnedMessage(
4727
0
          message_arena, consumer_registry, submessage_arena);
4728
0
    }
4729
0
    set_has_consumer_registry();
4730
0
  } else {
4731
0
    clear_has_consumer_registry();
4732
0
  }
4733
0
  consumer_registry_ = consumer_registry;
4734
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatResponsePB.consumer_registry)
4735
0
}
4736
4737
// optional int32 cluster_config_version = 13;
4738
1.16M
inline bool TSHeartbeatResponsePB::has_cluster_config_version() const {
4739
1.16M
  return (_has_bits_[0] & 0x00000800u) != 0;
4740
1.16M
}
4741
786k
inline void TSHeartbeatResponsePB::set_has_cluster_config_version() {
4742
786k
  _has_bits_[0] |= 0x00000800u;
4743
786k
}
4744
0
inline void TSHeartbeatResponsePB::clear_has_cluster_config_version() {
4745
0
  _has_bits_[0] &= ~0x00000800u;
4746
0
}
4747
0
inline void TSHeartbeatResponsePB::clear_cluster_config_version() {
4748
0
  cluster_config_version_ = 0;
4749
0
  clear_has_cluster_config_version();
4750
0
}
4751
1.54M
inline ::google::protobuf::int32 TSHeartbeatResponsePB::cluster_config_version() const {
4752
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.cluster_config_version)
4753
1.54M
  return cluster_config_version_;
4754
1.54M
}
4755
384k
inline void TSHeartbeatResponsePB::set_cluster_config_version(::google::protobuf::int32 value) {
4756
384k
  set_has_cluster_config_version();
4757
384k
  cluster_config_version_ = value;
4758
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatResponsePB.cluster_config_version)
4759
384k
}
4760
4761
// optional int32 tablet_report_limit = 16;
4762
1.16M
inline bool TSHeartbeatResponsePB::has_tablet_report_limit() const {
4763
1.16M
  return (_has_bits_[0] & 0x00010000u) != 0;
4764
1.16M
}
4765
785k
inline void TSHeartbeatResponsePB::set_has_tablet_report_limit() {
4766
785k
  _has_bits_[0] |= 0x00010000u;
4767
785k
}
4768
0
inline void TSHeartbeatResponsePB::clear_has_tablet_report_limit() {
4769
0
  _has_bits_[0] &= ~0x00010000u;
4770
0
}
4771
0
inline void TSHeartbeatResponsePB::clear_tablet_report_limit() {
4772
0
  tablet_report_limit_ = 0;
4773
0
  clear_has_tablet_report_limit();
4774
0
}
4775
1.54M
inline ::google::protobuf::int32 TSHeartbeatResponsePB::tablet_report_limit() const {
4776
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.tablet_report_limit)
4777
1.54M
  return tablet_report_limit_;
4778
1.54M
}
4779
383k
inline void TSHeartbeatResponsePB::set_tablet_report_limit(::google::protobuf::int32 value) {
4780
383k
  set_has_tablet_report_limit();
4781
383k
  tablet_report_limit_ = value;
4782
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatResponsePB.tablet_report_limit)
4783
383k
}
4784
4785
// optional .yb.master.TSSnapshotsInfoPB snapshots_info = 17;
4786
767k
inline bool TSHeartbeatResponsePB::has_snapshots_info() const {
4787
767k
  return (_has_bits_[0] & 0x00000080u) != 0;
4788
767k
}
4789
786k
inline void TSHeartbeatResponsePB::set_has_snapshots_info() {
4790
786k
  _has_bits_[0] |= 0x00000080u;
4791
786k
}
4792
0
inline void TSHeartbeatResponsePB::clear_has_snapshots_info() {
4793
0
  _has_bits_[0] &= ~0x00000080u;
4794
0
}
4795
0
inline void TSHeartbeatResponsePB::clear_snapshots_info() {
4796
0
  if (snapshots_info_ != NULL) snapshots_info_->Clear();
4797
0
  clear_has_snapshots_info();
4798
0
}
4799
396k
inline const ::yb::master::TSSnapshotsInfoPB& TSHeartbeatResponsePB::snapshots_info() const {
4800
396k
  const ::yb::master::TSSnapshotsInfoPB* p = snapshots_info_;
4801
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.snapshots_info)
4802
396k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TSSnapshotsInfoPB*>(
4803
0
      &::yb::master::_TSSnapshotsInfoPB_default_instance_);
4804
396k
}
4805
0
inline ::yb::master::TSSnapshotsInfoPB* TSHeartbeatResponsePB::release_snapshots_info() {
4806
0
  // @@protoc_insertion_point(field_release:yb.master.TSHeartbeatResponsePB.snapshots_info)
4807
0
  clear_has_snapshots_info();
4808
0
  ::yb::master::TSSnapshotsInfoPB* temp = snapshots_info_;
4809
0
  snapshots_info_ = NULL;
4810
0
  return temp;
4811
0
}
4812
786k
inline ::yb::master::TSSnapshotsInfoPB* TSHeartbeatResponsePB::mutable_snapshots_info() {
4813
786k
  set_has_snapshots_info();
4814
786k
  if (snapshots_info_ == NULL) {
4815
786k
    snapshots_info_ = new ::yb::master::TSSnapshotsInfoPB;
4816
786k
  }
4817
  // @@protoc_insertion_point(field_mutable:yb.master.TSHeartbeatResponsePB.snapshots_info)
4818
786k
  return snapshots_info_;
4819
786k
}
4820
0
inline void TSHeartbeatResponsePB::set_allocated_snapshots_info(::yb::master::TSSnapshotsInfoPB* snapshots_info) {
4821
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4822
0
  if (message_arena == NULL) {
4823
0
    delete snapshots_info_;
4824
0
  }
4825
0
  if (snapshots_info) {
4826
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4827
0
    if (message_arena != submessage_arena) {
4828
0
      snapshots_info = ::google::protobuf::internal::GetOwnedMessage(
4829
0
          message_arena, snapshots_info, submessage_arena);
4830
0
    }
4831
0
    set_has_snapshots_info();
4832
0
  } else {
4833
0
    clear_has_snapshots_info();
4834
0
  }
4835
0
  snapshots_info_ = snapshots_info;
4836
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSHeartbeatResponsePB.snapshots_info)
4837
0
}
4838
4839
// optional int64 DEPRECATED_tablet_split_size_threshold_bytes = 14;
4840
762k
inline bool TSHeartbeatResponsePB::has_deprecated_tablet_split_size_threshold_bytes() const {
4841
762k
  return (_has_bits_[0] & 0x00002000u) != 0;
4842
762k
}
4843
0
inline void TSHeartbeatResponsePB::set_has_deprecated_tablet_split_size_threshold_bytes() {
4844
0
  _has_bits_[0] |= 0x00002000u;
4845
0
}
4846
0
inline void TSHeartbeatResponsePB::clear_has_deprecated_tablet_split_size_threshold_bytes() {
4847
0
  _has_bits_[0] &= ~0x00002000u;
4848
0
}
4849
0
inline void TSHeartbeatResponsePB::clear_deprecated_tablet_split_size_threshold_bytes() {
4850
0
  deprecated_tablet_split_size_threshold_bytes_ = GOOGLE_LONGLONG(0);
4851
0
  clear_has_deprecated_tablet_split_size_threshold_bytes();
4852
0
}
4853
0
inline ::google::protobuf::int64 TSHeartbeatResponsePB::deprecated_tablet_split_size_threshold_bytes() const {
4854
0
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.DEPRECATED_tablet_split_size_threshold_bytes)
4855
0
  return deprecated_tablet_split_size_threshold_bytes_;
4856
0
}
4857
0
inline void TSHeartbeatResponsePB::set_deprecated_tablet_split_size_threshold_bytes(::google::protobuf::int64 value) {
4858
0
  set_has_deprecated_tablet_split_size_threshold_bytes();
4859
0
  deprecated_tablet_split_size_threshold_bytes_ = value;
4860
0
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatResponsePB.DEPRECATED_tablet_split_size_threshold_bytes)
4861
0
}
4862
4863
// optional uint64 transaction_tables_version = 18;
4864
1.16M
inline bool TSHeartbeatResponsePB::has_transaction_tables_version() const {
4865
1.16M
  return (_has_bits_[0] & 0x00008000u) != 0;
4866
1.16M
}
4867
786k
inline void TSHeartbeatResponsePB::set_has_transaction_tables_version() {
4868
786k
  _has_bits_[0] |= 0x00008000u;
4869
786k
}
4870
0
inline void TSHeartbeatResponsePB::clear_has_transaction_tables_version() {
4871
0
  _has_bits_[0] &= ~0x00008000u;
4872
0
}
4873
0
inline void TSHeartbeatResponsePB::clear_transaction_tables_version() {
4874
0
  transaction_tables_version_ = GOOGLE_ULONGLONG(0);
4875
0
  clear_has_transaction_tables_version();
4876
0
}
4877
1.53M
inline ::google::protobuf::uint64 TSHeartbeatResponsePB::transaction_tables_version() const {
4878
  // @@protoc_insertion_point(field_get:yb.master.TSHeartbeatResponsePB.transaction_tables_version)
4879
1.53M
  return transaction_tables_version_;
4880
1.53M
}
4881
383k
inline void TSHeartbeatResponsePB::set_transaction_tables_version(::google::protobuf::uint64 value) {
4882
383k
  set_has_transaction_tables_version();
4883
383k
  transaction_tables_version_ = value;
4884
  // @@protoc_insertion_point(field_set:yb.master.TSHeartbeatResponsePB.transaction_tables_version)
4885
383k
}
4886
4887
#ifdef __GNUC__
4888
  #pragma GCC diagnostic pop
4889
#endif  // __GNUC__
4890
// -------------------------------------------------------------------
4891
4892
// -------------------------------------------------------------------
4893
4894
// -------------------------------------------------------------------
4895
4896
// -------------------------------------------------------------------
4897
4898
// -------------------------------------------------------------------
4899
4900
// -------------------------------------------------------------------
4901
4902
// -------------------------------------------------------------------
4903
4904
// -------------------------------------------------------------------
4905
4906
// -------------------------------------------------------------------
4907
4908
// -------------------------------------------------------------------
4909
4910
// -------------------------------------------------------------------
4911
4912
// -------------------------------------------------------------------
4913
4914
4915
// @@protoc_insertion_point(namespace_scope)
4916
4917
}  // namespace master
4918
}  // namespace yb
4919
4920
// @@protoc_insertion_point(global_scope)
4921
4922
#endif  // PROTOBUF_yb_2fmaster_2fmaster_5fheartbeat_2eproto__INCLUDED