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_types.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_types.proto
3
4
#ifndef PROTOBUF_yb_2fmaster_2fmaster_5ftypes_2eproto__INCLUDED
5
#define PROTOBUF_yb_2fmaster_2fmaster_5ftypes_2eproto__INCLUDED
6
7
#include <string>
8
9
#include <google/protobuf/stubs/common.h>
10
11
#if GOOGLE_PROTOBUF_VERSION < 3005000
12
#error This file was generated by a newer version of protoc which is
13
#error incompatible with your Protocol Buffer headers.  Please update
14
#error your headers.
15
#endif
16
#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17
#error This file was generated by an older version of protoc which is
18
#error incompatible with your Protocol Buffer headers.  Please
19
#error regenerate this file with a newer version of protoc.
20
#endif
21
22
#include <google/protobuf/io/coded_stream.h>
23
#include <google/protobuf/arena.h>
24
#include <google/protobuf/arenastring.h>
25
#include <google/protobuf/generated_message_table_driven.h>
26
#include <google/protobuf/generated_message_util.h>
27
#include <google/protobuf/metadata.h>
28
#include <google/protobuf/message.h>
29
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
30
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
31
#include <google/protobuf/generated_enum_reflection.h>
32
#include <google/protobuf/unknown_field_set.h>
33
#include "yb/common/common_types.pb.h"
34
#include "yb/common/wire_protocol.pb.h"
35
// @@protoc_insertion_point(includes)
36
37
namespace protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto {
38
// Internal implementation detail -- do not use these members.
39
struct TableStruct {
40
  static const ::google::protobuf::internal::ParseTableField entries[];
41
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
42
  static const ::google::protobuf::internal::ParseTable schema[6];
43
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
44
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
45
  static const ::google::protobuf::uint32 offsets[];
46
};
47
void AddDescriptors();
48
void InitDefaultsMasterErrorPBImpl();
49
void InitDefaultsMasterErrorPB();
50
void InitDefaultsNamespaceIdentifierPBImpl();
51
void InitDefaultsNamespaceIdentifierPB();
52
void InitDefaultsTableIdentifierPBImpl();
53
void InitDefaultsTableIdentifierPB();
54
void InitDefaultsTSRegistrationPBImpl();
55
void InitDefaultsTSRegistrationPB();
56
void InitDefaultsTServerMetricsPB_PathMetricsImpl();
57
void InitDefaultsTServerMetricsPB_PathMetrics();
58
void InitDefaultsTServerMetricsPBImpl();
59
void InitDefaultsTServerMetricsPB();
60
15.8k
inline void InitDefaults() {
61
15.8k
  InitDefaultsMasterErrorPB();
62
15.8k
  InitDefaultsNamespaceIdentifierPB();
63
15.8k
  InitDefaultsTableIdentifierPB();
64
15.8k
  InitDefaultsTSRegistrationPB();
65
15.8k
  InitDefaultsTServerMetricsPB_PathMetrics();
66
15.8k
  InitDefaultsTServerMetricsPB();
67
15.8k
}
68
}  // namespace protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto
69
namespace yb {
70
namespace master {
71
class MasterErrorPB;
72
class MasterErrorPBDefaultTypeInternal;
73
extern MasterErrorPBDefaultTypeInternal _MasterErrorPB_default_instance_;
74
class NamespaceIdentifierPB;
75
class NamespaceIdentifierPBDefaultTypeInternal;
76
extern NamespaceIdentifierPBDefaultTypeInternal _NamespaceIdentifierPB_default_instance_;
77
class TSRegistrationPB;
78
class TSRegistrationPBDefaultTypeInternal;
79
extern TSRegistrationPBDefaultTypeInternal _TSRegistrationPB_default_instance_;
80
class TServerMetricsPB;
81
class TServerMetricsPBDefaultTypeInternal;
82
extern TServerMetricsPBDefaultTypeInternal _TServerMetricsPB_default_instance_;
83
class TServerMetricsPB_PathMetrics;
84
class TServerMetricsPB_PathMetricsDefaultTypeInternal;
85
extern TServerMetricsPB_PathMetricsDefaultTypeInternal _TServerMetricsPB_PathMetrics_default_instance_;
86
class TableIdentifierPB;
87
class TableIdentifierPBDefaultTypeInternal;
88
extern TableIdentifierPBDefaultTypeInternal _TableIdentifierPB_default_instance_;
89
}  // namespace master
90
}  // namespace yb
91
namespace yb {
92
namespace master {
93
94
enum MasterErrorPB_Code {
95
  MasterErrorPB_Code_UNKNOWN_ERROR = 1,
96
  MasterErrorPB_Code_INVALID_SCHEMA = 2,
97
  MasterErrorPB_Code_OBJECT_NOT_FOUND = 3,
98
  MasterErrorPB_Code_OBJECT_ALREADY_PRESENT = 4,
99
  MasterErrorPB_Code_TOO_MANY_TABLETS = 5,
100
  MasterErrorPB_Code_CATALOG_MANAGER_NOT_INITIALIZED = 6,
101
  MasterErrorPB_Code_NOT_THE_LEADER = 7,
102
  MasterErrorPB_Code_REPLICATION_FACTOR_TOO_HIGH = 8,
103
  MasterErrorPB_Code_CONFIG_VERSION_MISMATCH = 9,
104
  MasterErrorPB_Code_IN_TRANSITION_CAN_RETRY = 10,
105
  MasterErrorPB_Code_NAMESPACE_NOT_FOUND = 11,
106
  MasterErrorPB_Code_NAMESPACE_ALREADY_PRESENT = 12,
107
  MasterErrorPB_Code_NO_NAMESPACE_USED = 13,
108
  MasterErrorPB_Code_NAMESPACE_IS_NOT_EMPTY = 14,
109
  MasterErrorPB_Code_INVALID_CLUSTER_CONFIG = 15,
110
  MasterErrorPB_Code_CAN_RETRY_LOAD_BALANCE_CHECK = 16,
111
  MasterErrorPB_Code_TYPE_NOT_FOUND = 17,
112
  MasterErrorPB_Code_INVALID_TYPE = 18,
113
  MasterErrorPB_Code_TYPE_ALREADY_PRESENT = 19,
114
  MasterErrorPB_Code_INVALID_TABLE_TYPE = 20,
115
  MasterErrorPB_Code_TABLE_CREATION_IS_IN_PROGRESS = 21,
116
  MasterErrorPB_Code_SNAPSHOT_NOT_FOUND = 22,
117
  MasterErrorPB_Code_SNAPSHOT_FAILED = 23,
118
  MasterErrorPB_Code_SNAPSHOT_CANCELLED = 24,
119
  MasterErrorPB_Code_PARALLEL_SNAPSHOT_OPERATION = 25,
120
  MasterErrorPB_Code_SNAPSHOT_IS_NOT_READY = 26,
121
  MasterErrorPB_Code_ROLE_ALREADY_PRESENT = 27,
122
  MasterErrorPB_Code_ROLE_NOT_FOUND = 28,
123
  MasterErrorPB_Code_INVALID_REQUEST = 29,
124
  MasterErrorPB_Code_NOT_AUTHORIZED = 32,
125
  MasterErrorPB_Code_CAN_RETRY_ARE_LEADERS_ON_PREFERRED_ONLY_CHECK = 30,
126
  MasterErrorPB_Code_REDIS_CONFIG_NOT_FOUND = 31,
127
  MasterErrorPB_Code_LOAD_BALANCER_RECENTLY_ACTIVE = 33,
128
  MasterErrorPB_Code_INTERNAL_ERROR = 34,
129
  MasterErrorPB_Code_INVALID_TABLE_REPLICATION_INFO = 35,
130
  MasterErrorPB_Code_REACHED_SPLIT_LIMIT = 36,
131
  MasterErrorPB_Code_SPLIT_OR_BACKFILL_IN_PROGRESS = 37,
132
  MasterErrorPB_Code_TABLET_NOT_RUNNING = 38,
133
  MasterErrorPB_Code_TABLE_NOT_RUNNING = 39
134
};
135
bool MasterErrorPB_Code_IsValid(int value);
136
const MasterErrorPB_Code MasterErrorPB_Code_Code_MIN = MasterErrorPB_Code_UNKNOWN_ERROR;
137
const MasterErrorPB_Code MasterErrorPB_Code_Code_MAX = MasterErrorPB_Code_TABLE_NOT_RUNNING;
138
const int MasterErrorPB_Code_Code_ARRAYSIZE = MasterErrorPB_Code_Code_MAX + 1;
139
140
const ::google::protobuf::EnumDescriptor* MasterErrorPB_Code_descriptor();
141
7.77k
inline const ::std::string& MasterErrorPB_Code_Name(MasterErrorPB_Code value) {
142
7.77k
  return ::google::protobuf::internal::NameOfEnum(
143
7.77k
    MasterErrorPB_Code_descriptor(), value);
144
7.77k
}
145
inline bool MasterErrorPB_Code_Parse(
146
0
    const ::std::string& name, MasterErrorPB_Code* value) {
147
0
  return ::google::protobuf::internal::ParseNamedEnum<MasterErrorPB_Code>(
148
0
    MasterErrorPB_Code_descriptor(), name, value);
149
0
}
150
enum RelationType {
151
  SYSTEM_TABLE_RELATION = 1,
152
  USER_TABLE_RELATION = 2,
153
  INDEX_TABLE_RELATION = 3
154
};
155
bool RelationType_IsValid(int value);
156
const RelationType RelationType_MIN = SYSTEM_TABLE_RELATION;
157
const RelationType RelationType_MAX = INDEX_TABLE_RELATION;
158
const int RelationType_ARRAYSIZE = RelationType_MAX + 1;
159
160
const ::google::protobuf::EnumDescriptor* RelationType_descriptor();
161
0
inline const ::std::string& RelationType_Name(RelationType value) {
162
0
  return ::google::protobuf::internal::NameOfEnum(
163
0
    RelationType_descriptor(), value);
164
0
}
165
inline bool RelationType_Parse(
166
0
    const ::std::string& name, RelationType* value) {
167
0
  return ::google::protobuf::internal::ParseNamedEnum<RelationType>(
168
0
    RelationType_descriptor(), name, value);
169
0
}
170
enum SysRowEntryType {
171
  UNKNOWN = 0,
172
  TABLE = 1,
173
  TABLET = 2,
174
  CLUSTER_CONFIG = 3,
175
  NAMESPACE = 4,
176
  UDTYPE = 5,
177
  ROLE = 6,
178
  SNAPSHOT = 7,
179
  REDIS_CONFIG = 8,
180
  SYS_CONFIG = 9,
181
  CDC_STREAM = 10,
182
  UNIVERSE_REPLICATION = 11,
183
  SNAPSHOT_SCHEDULE = 12,
184
  DDL_LOG_ENTRY = 13
185
};
186
bool SysRowEntryType_IsValid(int value);
187
const SysRowEntryType SysRowEntryType_MIN = UNKNOWN;
188
const SysRowEntryType SysRowEntryType_MAX = DDL_LOG_ENTRY;
189
const int SysRowEntryType_ARRAYSIZE = SysRowEntryType_MAX + 1;
190
191
const ::google::protobuf::EnumDescriptor* SysRowEntryType_descriptor();
192
0
inline const ::std::string& SysRowEntryType_Name(SysRowEntryType value) {
193
0
  return ::google::protobuf::internal::NameOfEnum(
194
0
    SysRowEntryType_descriptor(), value);
195
0
}
196
inline bool SysRowEntryType_Parse(
197
0
    const ::std::string& name, SysRowEntryType* value) {
198
0
  return ::google::protobuf::internal::ParseNamedEnum<SysRowEntryType>(
199
0
    SysRowEntryType_descriptor(), name, value);
200
0
}
201
// ===================================================================
202
203
class MasterErrorPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.MasterErrorPB) */ {
204
 public:
205
  MasterErrorPB();
206
  virtual ~MasterErrorPB();
207
208
  MasterErrorPB(const MasterErrorPB& from);
209
210
0
  inline MasterErrorPB& operator=(const MasterErrorPB& from) {
211
0
    CopyFrom(from);
212
0
    return *this;
213
0
  }
214
  #if LANG_CXX11
215
  MasterErrorPB(MasterErrorPB&& from) noexcept
216
0
    : MasterErrorPB() {
217
0
    *this = ::std::move(from);
218
0
  }
219
220
0
  inline MasterErrorPB& operator=(MasterErrorPB&& from) noexcept {
221
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
222
0
      if (this != &from) InternalSwap(&from);
223
0
    } else {
224
0
      CopyFrom(from);
225
0
    }
226
0
    return *this;
227
0
  }
228
  #endif
229
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
230
0
    return _internal_metadata_.unknown_fields();
231
0
  }
232
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
233
0
    return _internal_metadata_.mutable_unknown_fields();
234
0
  }
235
236
  static const ::google::protobuf::Descriptor* descriptor();
237
  static const MasterErrorPB& default_instance();
238
239
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
240
3.21M
  static inline const MasterErrorPB* internal_default_instance() {
241
3.21M
    return reinterpret_cast<const MasterErrorPB*>(
242
3.21M
               &_MasterErrorPB_default_instance_);
243
3.21M
  }
244
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
245
    0;
246
247
  void Swap(MasterErrorPB* other);
248
0
  friend void swap(MasterErrorPB& a, MasterErrorPB& b) {
249
0
    a.Swap(&b);
250
0
  }
251
252
  // implements Message ----------------------------------------------
253
254
0
  inline MasterErrorPB* New() const PROTOBUF_FINAL { return New(NULL); }
255
256
  MasterErrorPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
257
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
258
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
259
  void CopyFrom(const MasterErrorPB& from);
260
  void MergeFrom(const MasterErrorPB& from);
261
  void Clear() PROTOBUF_FINAL;
262
  bool IsInitialized() const PROTOBUF_FINAL;
263
264
  size_t ByteSizeLong() const PROTOBUF_FINAL;
265
  bool MergePartialFromCodedStream(
266
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
267
  void SerializeWithCachedSizes(
268
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
269
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
270
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
271
424k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
272
  private:
273
  void SharedCtor();
274
  void SharedDtor();
275
  void SetCachedSize(int size) const PROTOBUF_FINAL;
276
  void InternalSwap(MasterErrorPB* other);
277
  private:
278
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
279
0
    return NULL;
280
0
  }
281
0
  inline void* MaybeArenaPtr() const {
282
0
    return NULL;
283
0
  }
284
  public:
285
286
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
287
288
  // nested types ----------------------------------------------------
289
290
  typedef MasterErrorPB_Code Code;
291
  static const Code UNKNOWN_ERROR =
292
    MasterErrorPB_Code_UNKNOWN_ERROR;
293
  static const Code INVALID_SCHEMA =
294
    MasterErrorPB_Code_INVALID_SCHEMA;
295
  static const Code OBJECT_NOT_FOUND =
296
    MasterErrorPB_Code_OBJECT_NOT_FOUND;
297
  static const Code OBJECT_ALREADY_PRESENT =
298
    MasterErrorPB_Code_OBJECT_ALREADY_PRESENT;
299
  static const Code TOO_MANY_TABLETS =
300
    MasterErrorPB_Code_TOO_MANY_TABLETS;
301
  static const Code CATALOG_MANAGER_NOT_INITIALIZED =
302
    MasterErrorPB_Code_CATALOG_MANAGER_NOT_INITIALIZED;
303
  static const Code NOT_THE_LEADER =
304
    MasterErrorPB_Code_NOT_THE_LEADER;
305
  static const Code REPLICATION_FACTOR_TOO_HIGH =
306
    MasterErrorPB_Code_REPLICATION_FACTOR_TOO_HIGH;
307
  static const Code CONFIG_VERSION_MISMATCH =
308
    MasterErrorPB_Code_CONFIG_VERSION_MISMATCH;
309
  static const Code IN_TRANSITION_CAN_RETRY =
310
    MasterErrorPB_Code_IN_TRANSITION_CAN_RETRY;
311
  static const Code NAMESPACE_NOT_FOUND =
312
    MasterErrorPB_Code_NAMESPACE_NOT_FOUND;
313
  static const Code NAMESPACE_ALREADY_PRESENT =
314
    MasterErrorPB_Code_NAMESPACE_ALREADY_PRESENT;
315
  static const Code NO_NAMESPACE_USED =
316
    MasterErrorPB_Code_NO_NAMESPACE_USED;
317
  static const Code NAMESPACE_IS_NOT_EMPTY =
318
    MasterErrorPB_Code_NAMESPACE_IS_NOT_EMPTY;
319
  static const Code INVALID_CLUSTER_CONFIG =
320
    MasterErrorPB_Code_INVALID_CLUSTER_CONFIG;
321
  static const Code CAN_RETRY_LOAD_BALANCE_CHECK =
322
    MasterErrorPB_Code_CAN_RETRY_LOAD_BALANCE_CHECK;
323
  static const Code TYPE_NOT_FOUND =
324
    MasterErrorPB_Code_TYPE_NOT_FOUND;
325
  static const Code INVALID_TYPE =
326
    MasterErrorPB_Code_INVALID_TYPE;
327
  static const Code TYPE_ALREADY_PRESENT =
328
    MasterErrorPB_Code_TYPE_ALREADY_PRESENT;
329
  static const Code INVALID_TABLE_TYPE =
330
    MasterErrorPB_Code_INVALID_TABLE_TYPE;
331
  static const Code TABLE_CREATION_IS_IN_PROGRESS =
332
    MasterErrorPB_Code_TABLE_CREATION_IS_IN_PROGRESS;
333
  static const Code SNAPSHOT_NOT_FOUND =
334
    MasterErrorPB_Code_SNAPSHOT_NOT_FOUND;
335
  static const Code SNAPSHOT_FAILED =
336
    MasterErrorPB_Code_SNAPSHOT_FAILED;
337
  static const Code SNAPSHOT_CANCELLED =
338
    MasterErrorPB_Code_SNAPSHOT_CANCELLED;
339
  static const Code PARALLEL_SNAPSHOT_OPERATION =
340
    MasterErrorPB_Code_PARALLEL_SNAPSHOT_OPERATION;
341
  static const Code SNAPSHOT_IS_NOT_READY =
342
    MasterErrorPB_Code_SNAPSHOT_IS_NOT_READY;
343
  static const Code ROLE_ALREADY_PRESENT =
344
    MasterErrorPB_Code_ROLE_ALREADY_PRESENT;
345
  static const Code ROLE_NOT_FOUND =
346
    MasterErrorPB_Code_ROLE_NOT_FOUND;
347
  static const Code INVALID_REQUEST =
348
    MasterErrorPB_Code_INVALID_REQUEST;
349
  static const Code NOT_AUTHORIZED =
350
    MasterErrorPB_Code_NOT_AUTHORIZED;
351
  static const Code CAN_RETRY_ARE_LEADERS_ON_PREFERRED_ONLY_CHECK =
352
    MasterErrorPB_Code_CAN_RETRY_ARE_LEADERS_ON_PREFERRED_ONLY_CHECK;
353
  static const Code REDIS_CONFIG_NOT_FOUND =
354
    MasterErrorPB_Code_REDIS_CONFIG_NOT_FOUND;
355
  static const Code LOAD_BALANCER_RECENTLY_ACTIVE =
356
    MasterErrorPB_Code_LOAD_BALANCER_RECENTLY_ACTIVE;
357
  static const Code INTERNAL_ERROR =
358
    MasterErrorPB_Code_INTERNAL_ERROR;
359
  static const Code INVALID_TABLE_REPLICATION_INFO =
360
    MasterErrorPB_Code_INVALID_TABLE_REPLICATION_INFO;
361
  static const Code REACHED_SPLIT_LIMIT =
362
    MasterErrorPB_Code_REACHED_SPLIT_LIMIT;
363
  static const Code SPLIT_OR_BACKFILL_IN_PROGRESS =
364
    MasterErrorPB_Code_SPLIT_OR_BACKFILL_IN_PROGRESS;
365
  static const Code TABLET_NOT_RUNNING =
366
    MasterErrorPB_Code_TABLET_NOT_RUNNING;
367
  static const Code TABLE_NOT_RUNNING =
368
    MasterErrorPB_Code_TABLE_NOT_RUNNING;
369
0
  static inline bool Code_IsValid(int value) {
370
0
    return MasterErrorPB_Code_IsValid(value);
371
0
  }
372
  static const Code Code_MIN =
373
    MasterErrorPB_Code_Code_MIN;
374
  static const Code Code_MAX =
375
    MasterErrorPB_Code_Code_MAX;
376
  static const int Code_ARRAYSIZE =
377
    MasterErrorPB_Code_Code_ARRAYSIZE;
378
  static inline const ::google::protobuf::EnumDescriptor*
379
0
  Code_descriptor() {
380
0
    return MasterErrorPB_Code_descriptor();
381
0
  }
382
7.78k
  static inline const ::std::string& Code_Name(Code value) {
383
7.78k
    return MasterErrorPB_Code_Name(value);
384
7.78k
  }
385
  static inline bool Code_Parse(const ::std::string& name,
386
0
      Code* value) {
387
0
    return MasterErrorPB_Code_Parse(name, value);
388
0
  }
389
390
  // accessors -------------------------------------------------------
391
392
  // required .yb.AppStatusPB status = 2;
393
  bool has_status() const;
394
  void clear_status();
395
  static const int kStatusFieldNumber = 2;
396
  const ::yb::AppStatusPB& status() const;
397
  ::yb::AppStatusPB* release_status();
398
  ::yb::AppStatusPB* mutable_status();
399
  void set_allocated_status(::yb::AppStatusPB* status);
400
401
  // required .yb.master.MasterErrorPB.Code code = 1;
402
  bool has_code() const;
403
  void clear_code();
404
  static const int kCodeFieldNumber = 1;
405
  ::yb::master::MasterErrorPB_Code code() const;
406
  void set_code(::yb::master::MasterErrorPB_Code value);
407
408
  // @@protoc_insertion_point(class_scope:yb.master.MasterErrorPB)
409
 private:
410
  void set_has_code();
411
  void clear_has_code();
412
  void set_has_status();
413
  void clear_has_status();
414
415
  // helper for ByteSizeLong()
416
  size_t RequiredFieldsByteSizeFallback() const;
417
418
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
419
  ::google::protobuf::internal::HasBits<1> _has_bits_;
420
  mutable int _cached_size_;
421
  ::yb::AppStatusPB* status_;
422
  int code_;
423
  friend struct ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::TableStruct;
424
  friend void ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPBImpl();
425
};
426
// -------------------------------------------------------------------
427
428
class NamespaceIdentifierPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.NamespaceIdentifierPB) */ {
429
 public:
430
  NamespaceIdentifierPB();
431
  virtual ~NamespaceIdentifierPB();
432
433
  NamespaceIdentifierPB(const NamespaceIdentifierPB& from);
434
435
0
  inline NamespaceIdentifierPB& operator=(const NamespaceIdentifierPB& from) {
436
0
    CopyFrom(from);
437
0
    return *this;
438
0
  }
439
  #if LANG_CXX11
440
  NamespaceIdentifierPB(NamespaceIdentifierPB&& from) noexcept
441
19.4k
    : NamespaceIdentifierPB() {
442
19.4k
    *this = ::std::move(from);
443
19.4k
  }
Unexecuted instantiation: _ZN2yb6master21NamespaceIdentifierPBC2EOS1_
_ZN2yb6master21NamespaceIdentifierPBC1EOS1_
Line
Count
Source
441
19.4k
    : NamespaceIdentifierPB() {
442
19.4k
    *this = ::std::move(from);
443
19.4k
  }
444
445
19.4k
  inline NamespaceIdentifierPB& operator=(NamespaceIdentifierPB&& from) noexcept {
446
19.4k
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
447
19.4k
      if (this != &from) InternalSwap(&from);
448
0
    } else {
449
0
      CopyFrom(from);
450
0
    }
451
19.4k
    return *this;
452
19.4k
  }
453
  #endif
454
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
455
0
    return _internal_metadata_.unknown_fields();
456
0
  }
457
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
458
0
    return _internal_metadata_.mutable_unknown_fields();
459
0
  }
460
461
  static const ::google::protobuf::Descriptor* descriptor();
462
  static const NamespaceIdentifierPB& default_instance();
463
464
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
465
953k
  static inline const NamespaceIdentifierPB* internal_default_instance() {
466
953k
    return reinterpret_cast<const NamespaceIdentifierPB*>(
467
953k
               &_NamespaceIdentifierPB_default_instance_);
468
953k
  }
469
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
470
    1;
471
472
  void Swap(NamespaceIdentifierPB* other);
473
0
  friend void swap(NamespaceIdentifierPB& a, NamespaceIdentifierPB& b) {
474
0
    a.Swap(&b);
475
0
  }
476
477
  // implements Message ----------------------------------------------
478
479
0
  inline NamespaceIdentifierPB* New() const PROTOBUF_FINAL { return New(NULL); }
480
481
  NamespaceIdentifierPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
482
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
483
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
484
  void CopyFrom(const NamespaceIdentifierPB& from);
485
  void MergeFrom(const NamespaceIdentifierPB& from);
486
  void Clear() PROTOBUF_FINAL;
487
  bool IsInitialized() const PROTOBUF_FINAL;
488
489
  size_t ByteSizeLong() const PROTOBUF_FINAL;
490
  bool MergePartialFromCodedStream(
491
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
492
  void SerializeWithCachedSizes(
493
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
494
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
495
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
496
293k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
497
  private:
498
  void SharedCtor();
499
  void SharedDtor();
500
  void SetCachedSize(int size) const PROTOBUF_FINAL;
501
  void InternalSwap(NamespaceIdentifierPB* other);
502
  private:
503
38.8k
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
504
38.8k
    return NULL;
505
38.8k
  }
506
0
  inline void* MaybeArenaPtr() const {
507
0
    return NULL;
508
0
  }
509
  public:
510
511
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
512
513
  // nested types ----------------------------------------------------
514
515
  // accessors -------------------------------------------------------
516
517
  // optional bytes id = 1;
518
  bool has_id() const;
519
  void clear_id();
520
  static const int kIdFieldNumber = 1;
521
  const ::std::string& id() const;
522
  void set_id(const ::std::string& value);
523
  #if LANG_CXX11
524
  void set_id(::std::string&& value);
525
  #endif
526
  void set_id(const char* value);
527
  void set_id(const void* value, size_t size);
528
  ::std::string* mutable_id();
529
  ::std::string* release_id();
530
  void set_allocated_id(::std::string* id);
531
532
  // optional string name = 2;
533
  bool has_name() const;
534
  void clear_name();
535
  static const int kNameFieldNumber = 2;
536
  const ::std::string& name() const;
537
  void set_name(const ::std::string& value);
538
  #if LANG_CXX11
539
  void set_name(::std::string&& value);
540
  #endif
541
  void set_name(const char* value);
542
  void set_name(const char* value, size_t size);
543
  ::std::string* mutable_name();
544
  ::std::string* release_name();
545
  void set_allocated_name(::std::string* name);
546
547
  // optional .yb.YQLDatabase database_type = 3 [default = YQL_DATABASE_CQL];
548
  bool has_database_type() const;
549
  void clear_database_type();
550
  static const int kDatabaseTypeFieldNumber = 3;
551
  ::yb::YQLDatabase database_type() const;
552
  void set_database_type(::yb::YQLDatabase value);
553
554
  // @@protoc_insertion_point(class_scope:yb.master.NamespaceIdentifierPB)
555
 private:
556
  void set_has_id();
557
  void clear_has_id();
558
  void set_has_name();
559
  void clear_has_name();
560
  void set_has_database_type();
561
  void clear_has_database_type();
562
563
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
564
  ::google::protobuf::internal::HasBits<1> _has_bits_;
565
  mutable int _cached_size_;
566
  ::google::protobuf::internal::ArenaStringPtr id_;
567
  ::google::protobuf::internal::ArenaStringPtr name_;
568
  int database_type_;
569
  friend struct ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::TableStruct;
570
  friend void ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPBImpl();
571
};
572
// -------------------------------------------------------------------
573
574
class TableIdentifierPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TableIdentifierPB) */ {
575
 public:
576
  TableIdentifierPB();
577
  virtual ~TableIdentifierPB();
578
579
  TableIdentifierPB(const TableIdentifierPB& from);
580
581
0
  inline TableIdentifierPB& operator=(const TableIdentifierPB& from) {
582
0
    CopyFrom(from);
583
0
    return *this;
584
0
  }
585
  #if LANG_CXX11
586
  TableIdentifierPB(TableIdentifierPB&& from) noexcept
587
0
    : TableIdentifierPB() {
588
0
    *this = ::std::move(from);
589
0
  }
590
591
0
  inline TableIdentifierPB& operator=(TableIdentifierPB&& from) noexcept {
592
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
593
0
      if (this != &from) InternalSwap(&from);
594
0
    } else {
595
0
      CopyFrom(from);
596
0
    }
597
0
    return *this;
598
0
  }
599
  #endif
600
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
601
0
    return _internal_metadata_.unknown_fields();
602
0
  }
603
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
604
0
    return _internal_metadata_.mutable_unknown_fields();
605
0
  }
606
607
  static const ::google::protobuf::Descriptor* descriptor();
608
  static const TableIdentifierPB& default_instance();
609
610
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
611
2.39M
  static inline const TableIdentifierPB* internal_default_instance() {
612
2.39M
    return reinterpret_cast<const TableIdentifierPB*>(
613
2.39M
               &_TableIdentifierPB_default_instance_);
614
2.39M
  }
615
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
616
    2;
617
618
  void Swap(TableIdentifierPB* other);
619
0
  friend void swap(TableIdentifierPB& a, TableIdentifierPB& b) {
620
0
    a.Swap(&b);
621
0
  }
622
623
  // implements Message ----------------------------------------------
624
625
0
  inline TableIdentifierPB* New() const PROTOBUF_FINAL { return New(NULL); }
626
627
  TableIdentifierPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
628
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
629
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
630
  void CopyFrom(const TableIdentifierPB& from);
631
  void MergeFrom(const TableIdentifierPB& from);
632
  void Clear() PROTOBUF_FINAL;
633
  bool IsInitialized() const PROTOBUF_FINAL;
634
635
  size_t ByteSizeLong() const PROTOBUF_FINAL;
636
  bool MergePartialFromCodedStream(
637
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
638
  void SerializeWithCachedSizes(
639
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
640
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
641
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
642
470k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
643
  private:
644
  void SharedCtor();
645
  void SharedDtor();
646
  void SetCachedSize(int size) const PROTOBUF_FINAL;
647
  void InternalSwap(TableIdentifierPB* other);
648
  private:
649
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
650
0
    return NULL;
651
0
  }
652
0
  inline void* MaybeArenaPtr() const {
653
0
    return NULL;
654
0
  }
655
  public:
656
657
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
658
659
  // nested types ----------------------------------------------------
660
661
  // accessors -------------------------------------------------------
662
663
  // optional bytes table_id = 1;
664
  bool has_table_id() const;
665
  void clear_table_id();
666
  static const int kTableIdFieldNumber = 1;
667
  const ::std::string& table_id() const;
668
  void set_table_id(const ::std::string& value);
669
  #if LANG_CXX11
670
  void set_table_id(::std::string&& value);
671
  #endif
672
  void set_table_id(const char* value);
673
  void set_table_id(const void* value, size_t size);
674
  ::std::string* mutable_table_id();
675
  ::std::string* release_table_id();
676
  void set_allocated_table_id(::std::string* table_id);
677
678
  // optional string table_name = 2;
679
  bool has_table_name() const;
680
  void clear_table_name();
681
  static const int kTableNameFieldNumber = 2;
682
  const ::std::string& table_name() const;
683
  void set_table_name(const ::std::string& value);
684
  #if LANG_CXX11
685
  void set_table_name(::std::string&& value);
686
  #endif
687
  void set_table_name(const char* value);
688
  void set_table_name(const char* value, size_t size);
689
  ::std::string* mutable_table_name();
690
  ::std::string* release_table_name();
691
  void set_allocated_table_name(::std::string* table_name);
692
693
  // optional .yb.master.NamespaceIdentifierPB namespace = 3;
694
  bool has_namespace_() const;
695
  void clear_namespace_();
696
  static const int kNamespaceFieldNumber = 3;
697
  const ::yb::master::NamespaceIdentifierPB& namespace_() const;
698
  ::yb::master::NamespaceIdentifierPB* release_namespace_();
699
  ::yb::master::NamespaceIdentifierPB* mutable_namespace_();
700
  void set_allocated_namespace_(::yb::master::NamespaceIdentifierPB* namespace_);
701
702
  // @@protoc_insertion_point(class_scope:yb.master.TableIdentifierPB)
703
 private:
704
  void set_has_table_id();
705
  void clear_has_table_id();
706
  void set_has_table_name();
707
  void clear_has_table_name();
708
  void set_has_namespace_();
709
  void clear_has_namespace_();
710
711
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
712
  ::google::protobuf::internal::HasBits<1> _has_bits_;
713
  mutable int _cached_size_;
714
  ::google::protobuf::internal::ArenaStringPtr table_id_;
715
  ::google::protobuf::internal::ArenaStringPtr table_name_;
716
  ::yb::master::NamespaceIdentifierPB* namespace__;
717
  friend struct ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::TableStruct;
718
  friend void ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPBImpl();
719
};
720
// -------------------------------------------------------------------
721
722
class TSRegistrationPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TSRegistrationPB) */ {
723
 public:
724
  TSRegistrationPB();
725
  virtual ~TSRegistrationPB();
726
727
  TSRegistrationPB(const TSRegistrationPB& from);
728
729
0
  inline TSRegistrationPB& operator=(const TSRegistrationPB& from) {
730
0
    CopyFrom(from);
731
0
    return *this;
732
0
  }
733
  #if LANG_CXX11
734
  TSRegistrationPB(TSRegistrationPB&& from) noexcept
735
0
    : TSRegistrationPB() {
736
0
    *this = ::std::move(from);
737
0
  }
738
739
20.4k
  inline TSRegistrationPB& operator=(TSRegistrationPB&& from) noexcept {
740
20.4k
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
741
20.4k
      if (this != &from) InternalSwap(&from);
742
0
    } else {
743
0
      CopyFrom(from);
744
0
    }
745
20.4k
    return *this;
746
20.4k
  }
747
  #endif
748
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
749
0
    return _internal_metadata_.unknown_fields();
750
0
  }
751
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
752
0
    return _internal_metadata_.mutable_unknown_fields();
753
0
  }
754
755
  static const ::google::protobuf::Descriptor* descriptor();
756
  static const TSRegistrationPB& default_instance();
757
758
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
759
6.94M
  static inline const TSRegistrationPB* internal_default_instance() {
760
6.94M
    return reinterpret_cast<const TSRegistrationPB*>(
761
6.94M
               &_TSRegistrationPB_default_instance_);
762
6.94M
  }
763
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
764
    3;
765
766
  void Swap(TSRegistrationPB* other);
767
0
  friend void swap(TSRegistrationPB& a, TSRegistrationPB& b) {
768
0
    a.Swap(&b);
769
0
  }
770
771
  // implements Message ----------------------------------------------
772
773
0
  inline TSRegistrationPB* New() const PROTOBUF_FINAL { return New(NULL); }
774
775
  TSRegistrationPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
776
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
777
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
778
  void CopyFrom(const TSRegistrationPB& from);
779
  void MergeFrom(const TSRegistrationPB& from);
780
  void Clear() PROTOBUF_FINAL;
781
  bool IsInitialized() const PROTOBUF_FINAL;
782
783
  size_t ByteSizeLong() const PROTOBUF_FINAL;
784
  bool MergePartialFromCodedStream(
785
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
786
  void SerializeWithCachedSizes(
787
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
788
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
789
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
790
1.28M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
791
  private:
792
  void SharedCtor();
793
  void SharedDtor();
794
  void SetCachedSize(int size) const PROTOBUF_FINAL;
795
  void InternalSwap(TSRegistrationPB* other);
796
  private:
797
40.8k
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
798
40.8k
    return NULL;
799
40.8k
  }
800
0
  inline void* MaybeArenaPtr() const {
801
0
    return NULL;
802
0
  }
803
  public:
804
805
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
806
807
  // nested types ----------------------------------------------------
808
809
  // accessors -------------------------------------------------------
810
811
  // repeated fixed32 capabilities = 2;
812
  int capabilities_size() const;
813
  void clear_capabilities();
814
  static const int kCapabilitiesFieldNumber = 2;
815
  ::google::protobuf::uint32 capabilities(int index) const;
816
  void set_capabilities(int index, ::google::protobuf::uint32 value);
817
  void add_capabilities(::google::protobuf::uint32 value);
818
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
819
      capabilities() const;
820
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
821
      mutable_capabilities();
822
823
  // optional .yb.ServerRegistrationPB common = 1;
824
  bool has_common() const;
825
  void clear_common();
826
  static const int kCommonFieldNumber = 1;
827
  const ::yb::ServerRegistrationPB& common() const;
828
  ::yb::ServerRegistrationPB* release_common();
829
  ::yb::ServerRegistrationPB* mutable_common();
830
  void set_allocated_common(::yb::ServerRegistrationPB* common);
831
832
  // @@protoc_insertion_point(class_scope:yb.master.TSRegistrationPB)
833
 private:
834
  void set_has_common();
835
  void clear_has_common();
836
837
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
838
  ::google::protobuf::internal::HasBits<1> _has_bits_;
839
  mutable int _cached_size_;
840
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > capabilities_;
841
  ::yb::ServerRegistrationPB* common_;
842
  friend struct ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::TableStruct;
843
  friend void ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTSRegistrationPBImpl();
844
};
845
// -------------------------------------------------------------------
846
847
class TServerMetricsPB_PathMetrics : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TServerMetricsPB.PathMetrics) */ {
848
 public:
849
  TServerMetricsPB_PathMetrics();
850
  virtual ~TServerMetricsPB_PathMetrics();
851
852
  TServerMetricsPB_PathMetrics(const TServerMetricsPB_PathMetrics& from);
853
854
0
  inline TServerMetricsPB_PathMetrics& operator=(const TServerMetricsPB_PathMetrics& from) {
855
0
    CopyFrom(from);
856
0
    return *this;
857
0
  }
858
  #if LANG_CXX11
859
  TServerMetricsPB_PathMetrics(TServerMetricsPB_PathMetrics&& from) noexcept
860
0
    : TServerMetricsPB_PathMetrics() {
861
0
    *this = ::std::move(from);
862
0
  }
863
864
0
  inline TServerMetricsPB_PathMetrics& operator=(TServerMetricsPB_PathMetrics&& from) noexcept {
865
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
866
0
      if (this != &from) InternalSwap(&from);
867
0
    } else {
868
0
      CopyFrom(from);
869
0
    }
870
0
    return *this;
871
0
  }
872
  #endif
873
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
874
0
    return _internal_metadata_.unknown_fields();
875
0
  }
876
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
877
0
    return _internal_metadata_.mutable_unknown_fields();
878
0
  }
879
880
  static const ::google::protobuf::Descriptor* descriptor();
881
  static const TServerMetricsPB_PathMetrics& default_instance();
882
883
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
884
94.5k
  static inline const TServerMetricsPB_PathMetrics* internal_default_instance() {
885
94.5k
    return reinterpret_cast<const TServerMetricsPB_PathMetrics*>(
886
94.5k
               &_TServerMetricsPB_PathMetrics_default_instance_);
887
94.5k
  }
888
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
889
    4;
890
891
  void Swap(TServerMetricsPB_PathMetrics* other);
892
0
  friend void swap(TServerMetricsPB_PathMetrics& a, TServerMetricsPB_PathMetrics& b) {
893
0
    a.Swap(&b);
894
0
  }
895
896
  // implements Message ----------------------------------------------
897
898
0
  inline TServerMetricsPB_PathMetrics* New() const PROTOBUF_FINAL { return New(NULL); }
899
900
  TServerMetricsPB_PathMetrics* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
901
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
902
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
903
  void CopyFrom(const TServerMetricsPB_PathMetrics& from);
904
  void MergeFrom(const TServerMetricsPB_PathMetrics& from);
905
  void Clear() PROTOBUF_FINAL;
906
  bool IsInitialized() const PROTOBUF_FINAL;
907
908
  size_t ByteSizeLong() const PROTOBUF_FINAL;
909
  bool MergePartialFromCodedStream(
910
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
911
  void SerializeWithCachedSizes(
912
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
913
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
914
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
915
42.8k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
916
  private:
917
  void SharedCtor();
918
  void SharedDtor();
919
  void SetCachedSize(int size) const PROTOBUF_FINAL;
920
  void InternalSwap(TServerMetricsPB_PathMetrics* other);
921
  private:
922
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
923
0
    return NULL;
924
0
  }
925
0
  inline void* MaybeArenaPtr() const {
926
0
    return NULL;
927
0
  }
928
  public:
929
930
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
931
932
  // nested types ----------------------------------------------------
933
934
  // accessors -------------------------------------------------------
935
936
  // required bytes path_id = 1;
937
  bool has_path_id() const;
938
  void clear_path_id();
939
  static const int kPathIdFieldNumber = 1;
940
  const ::std::string& path_id() const;
941
  void set_path_id(const ::std::string& value);
942
  #if LANG_CXX11
943
  void set_path_id(::std::string&& value);
944
  #endif
945
  void set_path_id(const char* value);
946
  void set_path_id(const void* value, size_t size);
947
  ::std::string* mutable_path_id();
948
  ::std::string* release_path_id();
949
  void set_allocated_path_id(::std::string* path_id);
950
951
  // optional uint64 used_space = 2;
952
  bool has_used_space() const;
953
  void clear_used_space();
954
  static const int kUsedSpaceFieldNumber = 2;
955
  ::google::protobuf::uint64 used_space() const;
956
  void set_used_space(::google::protobuf::uint64 value);
957
958
  // optional uint64 total_space = 3;
959
  bool has_total_space() const;
960
  void clear_total_space();
961
  static const int kTotalSpaceFieldNumber = 3;
962
  ::google::protobuf::uint64 total_space() const;
963
  void set_total_space(::google::protobuf::uint64 value);
964
965
  // @@protoc_insertion_point(class_scope:yb.master.TServerMetricsPB.PathMetrics)
966
 private:
967
  void set_has_path_id();
968
  void clear_has_path_id();
969
  void set_has_used_space();
970
  void clear_has_used_space();
971
  void set_has_total_space();
972
  void clear_has_total_space();
973
974
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
975
  ::google::protobuf::internal::HasBits<1> _has_bits_;
976
  mutable int _cached_size_;
977
  ::google::protobuf::internal::ArenaStringPtr path_id_;
978
  ::google::protobuf::uint64 used_space_;
979
  ::google::protobuf::uint64 total_space_;
980
  friend struct ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::TableStruct;
981
  friend void ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTServerMetricsPB_PathMetricsImpl();
982
};
983
// -------------------------------------------------------------------
984
985
class TServerMetricsPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TServerMetricsPB) */ {
986
 public:
987
  TServerMetricsPB();
988
  virtual ~TServerMetricsPB();
989
990
  TServerMetricsPB(const TServerMetricsPB& from);
991
992
0
  inline TServerMetricsPB& operator=(const TServerMetricsPB& from) {
993
0
    CopyFrom(from);
994
0
    return *this;
995
0
  }
996
  #if LANG_CXX11
997
  TServerMetricsPB(TServerMetricsPB&& from) noexcept
998
0
    : TServerMetricsPB() {
999
0
    *this = ::std::move(from);
1000
0
  }
1001
1002
0
  inline TServerMetricsPB& operator=(TServerMetricsPB&& from) noexcept {
1003
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1004
0
      if (this != &from) InternalSwap(&from);
1005
0
    } else {
1006
0
      CopyFrom(from);
1007
0
    }
1008
0
    return *this;
1009
0
  }
1010
  #endif
1011
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1012
0
    return _internal_metadata_.unknown_fields();
1013
0
  }
1014
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1015
0
    return _internal_metadata_.mutable_unknown_fields();
1016
0
  }
1017
1018
  static const ::google::protobuf::Descriptor* descriptor();
1019
  static const TServerMetricsPB& default_instance();
1020
1021
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1022
154k
  static inline const TServerMetricsPB* internal_default_instance() {
1023
154k
    return reinterpret_cast<const TServerMetricsPB*>(
1024
154k
               &_TServerMetricsPB_default_instance_);
1025
154k
  }
1026
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1027
    5;
1028
1029
  void Swap(TServerMetricsPB* other);
1030
0
  friend void swap(TServerMetricsPB& a, TServerMetricsPB& b) {
1031
0
    a.Swap(&b);
1032
0
  }
1033
1034
  // implements Message ----------------------------------------------
1035
1036
0
  inline TServerMetricsPB* New() const PROTOBUF_FINAL { return New(NULL); }
1037
1038
  TServerMetricsPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1039
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1040
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1041
  void CopyFrom(const TServerMetricsPB& from);
1042
  void MergeFrom(const TServerMetricsPB& from);
1043
  void Clear() PROTOBUF_FINAL;
1044
  bool IsInitialized() const PROTOBUF_FINAL;
1045
1046
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1047
  bool MergePartialFromCodedStream(
1048
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1049
  void SerializeWithCachedSizes(
1050
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1051
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1052
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1053
58.1k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1054
  private:
1055
  void SharedCtor();
1056
  void SharedDtor();
1057
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1058
  void InternalSwap(TServerMetricsPB* other);
1059
  private:
1060
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1061
0
    return NULL;
1062
0
  }
1063
0
  inline void* MaybeArenaPtr() const {
1064
0
    return NULL;
1065
0
  }
1066
  public:
1067
1068
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1069
1070
  // nested types ----------------------------------------------------
1071
1072
  typedef TServerMetricsPB_PathMetrics PathMetrics;
1073
1074
  // accessors -------------------------------------------------------
1075
1076
  // repeated .yb.master.TServerMetricsPB.PathMetrics path_metrics = 8;
1077
  int path_metrics_size() const;
1078
  void clear_path_metrics();
1079
  static const int kPathMetricsFieldNumber = 8;
1080
  const ::yb::master::TServerMetricsPB_PathMetrics& path_metrics(int index) const;
1081
  ::yb::master::TServerMetricsPB_PathMetrics* mutable_path_metrics(int index);
1082
  ::yb::master::TServerMetricsPB_PathMetrics* add_path_metrics();
1083
  ::google::protobuf::RepeatedPtrField< ::yb::master::TServerMetricsPB_PathMetrics >*
1084
      mutable_path_metrics();
1085
  const ::google::protobuf::RepeatedPtrField< ::yb::master::TServerMetricsPB_PathMetrics >&
1086
      path_metrics() const;
1087
1088
  // optional int64 total_sst_file_size = 1;
1089
  bool has_total_sst_file_size() const;
1090
  void clear_total_sst_file_size();
1091
  static const int kTotalSstFileSizeFieldNumber = 1;
1092
  ::google::protobuf::int64 total_sst_file_size() const;
1093
  void set_total_sst_file_size(::google::protobuf::int64 value);
1094
1095
  // optional int64 total_ram_usage = 2;
1096
  bool has_total_ram_usage() const;
1097
  void clear_total_ram_usage();
1098
  static const int kTotalRamUsageFieldNumber = 2;
1099
  ::google::protobuf::int64 total_ram_usage() const;
1100
  void set_total_ram_usage(::google::protobuf::int64 value);
1101
1102
  // optional double read_ops_per_sec = 3;
1103
  bool has_read_ops_per_sec() const;
1104
  void clear_read_ops_per_sec();
1105
  static const int kReadOpsPerSecFieldNumber = 3;
1106
  double read_ops_per_sec() const;
1107
  void set_read_ops_per_sec(double value);
1108
1109
  // optional double write_ops_per_sec = 4;
1110
  bool has_write_ops_per_sec() const;
1111
  void clear_write_ops_per_sec();
1112
  static const int kWriteOpsPerSecFieldNumber = 4;
1113
  double write_ops_per_sec() const;
1114
  void set_write_ops_per_sec(double value);
1115
1116
  // optional int64 uncompressed_sst_file_size = 5;
1117
  bool has_uncompressed_sst_file_size() const;
1118
  void clear_uncompressed_sst_file_size();
1119
  static const int kUncompressedSstFileSizeFieldNumber = 5;
1120
  ::google::protobuf::int64 uncompressed_sst_file_size() const;
1121
  void set_uncompressed_sst_file_size(::google::protobuf::int64 value);
1122
1123
  // optional uint64 uptime_seconds = 6;
1124
  bool has_uptime_seconds() const;
1125
  void clear_uptime_seconds();
1126
  static const int kUptimeSecondsFieldNumber = 6;
1127
  ::google::protobuf::uint64 uptime_seconds() const;
1128
  void set_uptime_seconds(::google::protobuf::uint64 value);
1129
1130
  // optional uint64 num_sst_files = 7;
1131
  bool has_num_sst_files() const;
1132
  void clear_num_sst_files();
1133
  static const int kNumSstFilesFieldNumber = 7;
1134
  ::google::protobuf::uint64 num_sst_files() const;
1135
  void set_num_sst_files(::google::protobuf::uint64 value);
1136
1137
  // @@protoc_insertion_point(class_scope:yb.master.TServerMetricsPB)
1138
 private:
1139
  void set_has_total_sst_file_size();
1140
  void clear_has_total_sst_file_size();
1141
  void set_has_total_ram_usage();
1142
  void clear_has_total_ram_usage();
1143
  void set_has_read_ops_per_sec();
1144
  void clear_has_read_ops_per_sec();
1145
  void set_has_write_ops_per_sec();
1146
  void clear_has_write_ops_per_sec();
1147
  void set_has_uncompressed_sst_file_size();
1148
  void clear_has_uncompressed_sst_file_size();
1149
  void set_has_uptime_seconds();
1150
  void clear_has_uptime_seconds();
1151
  void set_has_num_sst_files();
1152
  void clear_has_num_sst_files();
1153
1154
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1155
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1156
  mutable int _cached_size_;
1157
  ::google::protobuf::RepeatedPtrField< ::yb::master::TServerMetricsPB_PathMetrics > path_metrics_;
1158
  ::google::protobuf::int64 total_sst_file_size_;
1159
  ::google::protobuf::int64 total_ram_usage_;
1160
  double read_ops_per_sec_;
1161
  double write_ops_per_sec_;
1162
  ::google::protobuf::int64 uncompressed_sst_file_size_;
1163
  ::google::protobuf::uint64 uptime_seconds_;
1164
  ::google::protobuf::uint64 num_sst_files_;
1165
  friend struct ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::TableStruct;
1166
  friend void ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTServerMetricsPBImpl();
1167
};
1168
// ===================================================================
1169
1170
1171
// ===================================================================
1172
1173
#ifdef __GNUC__
1174
  #pragma GCC diagnostic push
1175
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1176
#endif  // __GNUC__
1177
// MasterErrorPB
1178
1179
// required .yb.master.MasterErrorPB.Code code = 1;
1180
0
inline bool MasterErrorPB::has_code() const {
1181
0
  return (_has_bits_[0] & 0x00000002u) != 0;
1182
0
}
1183
846k
inline void MasterErrorPB::set_has_code() {
1184
846k
  _has_bits_[0] |= 0x00000002u;
1185
846k
}
1186
0
inline void MasterErrorPB::clear_has_code() {
1187
0
  _has_bits_[0] &= ~0x00000002u;
1188
0
}
1189
0
inline void MasterErrorPB::clear_code() {
1190
0
  code_ = 1;
1191
0
  clear_has_code();
1192
0
}
1193
1.70M
inline ::yb::master::MasterErrorPB_Code MasterErrorPB::code() const {
1194
  // @@protoc_insertion_point(field_get:yb.master.MasterErrorPB.code)
1195
1.70M
  return static_cast< ::yb::master::MasterErrorPB_Code >(code_);
1196
1.70M
}
1197
847k
inline void MasterErrorPB::set_code(::yb::master::MasterErrorPB_Code value) {
1198
847k
  assert(::yb::master::MasterErrorPB_Code_IsValid(value));
1199
847k
  set_has_code();
1200
847k
  code_ = value;
1201
  // @@protoc_insertion_point(field_set:yb.master.MasterErrorPB.code)
1202
847k
}
1203
1204
// required .yb.AppStatusPB status = 2;
1205
845k
inline bool MasterErrorPB::has_status() const {
1206
845k
  return (_has_bits_[0] & 0x00000001u) != 0;
1207
845k
}
1208
847k
inline void MasterErrorPB::set_has_status() {
1209
847k
  _has_bits_[0] |= 0x00000001u;
1210
847k
}
1211
0
inline void MasterErrorPB::clear_has_status() {
1212
0
  _has_bits_[0] &= ~0x00000001u;
1213
0
}
1214
13.6k
inline const ::yb::AppStatusPB& MasterErrorPB::status() const {
1215
13.6k
  const ::yb::AppStatusPB* p = status_;
1216
  // @@protoc_insertion_point(field_get:yb.master.MasterErrorPB.status)
1217
13.6k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::AppStatusPB*>(
1218
1
      &::yb::_AppStatusPB_default_instance_);
1219
13.6k
}
1220
0
inline ::yb::AppStatusPB* MasterErrorPB::release_status() {
1221
0
  // @@protoc_insertion_point(field_release:yb.master.MasterErrorPB.status)
1222
0
  clear_has_status();
1223
0
  ::yb::AppStatusPB* temp = status_;
1224
0
  status_ = NULL;
1225
0
  return temp;
1226
0
}
1227
848k
inline ::yb::AppStatusPB* MasterErrorPB::mutable_status() {
1228
848k
  set_has_status();
1229
848k
  if (status_ == NULL) {
1230
839k
    status_ = new ::yb::AppStatusPB;
1231
839k
  }
1232
  // @@protoc_insertion_point(field_mutable:yb.master.MasterErrorPB.status)
1233
848k
  return status_;
1234
848k
}
1235
0
inline void MasterErrorPB::set_allocated_status(::yb::AppStatusPB* status) {
1236
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1237
0
  if (message_arena == NULL) {
1238
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(status_);
1239
0
  }
1240
0
  if (status) {
1241
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1242
0
    if (message_arena != submessage_arena) {
1243
0
      status = ::google::protobuf::internal::GetOwnedMessage(
1244
0
          message_arena, status, submessage_arena);
1245
0
    }
1246
0
    set_has_status();
1247
0
  } else {
1248
0
    clear_has_status();
1249
0
  }
1250
0
  status_ = status;
1251
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.MasterErrorPB.status)
1252
0
}
1253
1254
// -------------------------------------------------------------------
1255
1256
// NamespaceIdentifierPB
1257
1258
// optional bytes id = 1;
1259
957k
inline bool NamespaceIdentifierPB::has_id() const {
1260
957k
  return (_has_bits_[0] & 0x00000001u) != 0;
1261
957k
}
1262
490k
inline void NamespaceIdentifierPB::set_has_id() {
1263
490k
  _has_bits_[0] |= 0x00000001u;
1264
490k
}
1265
52.3k
inline void NamespaceIdentifierPB::clear_has_id() {
1266
52.3k
  _has_bits_[0] &= ~0x00000001u;
1267
52.3k
}
1268
52.3k
inline void NamespaceIdentifierPB::clear_id() {
1269
52.3k
  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1270
52.3k
  clear_has_id();
1271
52.3k
}
1272
899k
inline const ::std::string& NamespaceIdentifierPB::id() const {
1273
  // @@protoc_insertion_point(field_get:yb.master.NamespaceIdentifierPB.id)
1274
899k
  return id_.GetNoArena();
1275
899k
}
1276
201k
inline void NamespaceIdentifierPB::set_id(const ::std::string& value) {
1277
201k
  set_has_id();
1278
201k
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1279
  // @@protoc_insertion_point(field_set:yb.master.NamespaceIdentifierPB.id)
1280
201k
}
1281
#if LANG_CXX11
1282
0
inline void NamespaceIdentifierPB::set_id(::std::string&& value) {
1283
0
  set_has_id();
1284
0
  id_.SetNoArena(
1285
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1286
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.NamespaceIdentifierPB.id)
1287
0
}
1288
#endif
1289
1
inline void NamespaceIdentifierPB::set_id(const char* value) {
1290
1
  GOOGLE_DCHECK(value != NULL);
1291
1
  set_has_id();
1292
1
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1293
  // @@protoc_insertion_point(field_set_char:yb.master.NamespaceIdentifierPB.id)
1294
1
}
1295
0
inline void NamespaceIdentifierPB::set_id(const void* value, size_t size) {
1296
0
  set_has_id();
1297
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1298
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1299
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.NamespaceIdentifierPB.id)
1300
0
}
1301
224k
inline ::std::string* NamespaceIdentifierPB::mutable_id() {
1302
224k
  set_has_id();
1303
  // @@protoc_insertion_point(field_mutable:yb.master.NamespaceIdentifierPB.id)
1304
224k
  return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1305
224k
}
1306
0
inline ::std::string* NamespaceIdentifierPB::release_id() {
1307
0
  // @@protoc_insertion_point(field_release:yb.master.NamespaceIdentifierPB.id)
1308
0
  clear_has_id();
1309
0
  return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1310
0
}
1311
0
inline void NamespaceIdentifierPB::set_allocated_id(::std::string* id) {
1312
0
  if (id != NULL) {
1313
0
    set_has_id();
1314
0
  } else {
1315
0
    clear_has_id();
1316
0
  }
1317
0
  id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
1318
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.NamespaceIdentifierPB.id)
1319
0
}
1320
1321
// optional string name = 2;
1322
787k
inline bool NamespaceIdentifierPB::has_name() const {
1323
787k
  return (_has_bits_[0] & 0x00000002u) != 0;
1324
787k
}
1325
746k
inline void NamespaceIdentifierPB::set_has_name() {
1326
746k
  _has_bits_[0] |= 0x00000002u;
1327
746k
}
1328
0
inline void NamespaceIdentifierPB::clear_has_name() {
1329
0
  _has_bits_[0] &= ~0x00000002u;
1330
0
}
1331
0
inline void NamespaceIdentifierPB::clear_name() {
1332
0
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1333
0
  clear_has_name();
1334
0
}
1335
2.36M
inline const ::std::string& NamespaceIdentifierPB::name() const {
1336
  // @@protoc_insertion_point(field_get:yb.master.NamespaceIdentifierPB.name)
1337
2.36M
  return name_.GetNoArena();
1338
2.36M
}
1339
342k
inline void NamespaceIdentifierPB::set_name(const ::std::string& value) {
1340
342k
  set_has_name();
1341
342k
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1342
  // @@protoc_insertion_point(field_set:yb.master.NamespaceIdentifierPB.name)
1343
342k
}
1344
#if LANG_CXX11
1345
1
inline void NamespaceIdentifierPB::set_name(::std::string&& value) {
1346
1
  set_has_name();
1347
1
  name_.SetNoArena(
1348
1
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1349
  // @@protoc_insertion_point(field_set_rvalue:yb.master.NamespaceIdentifierPB.name)
1350
1
}
1351
#endif
1352
5.19k
inline void NamespaceIdentifierPB::set_name(const char* value) {
1353
5.19k
  GOOGLE_DCHECK(value != NULL);
1354
5.19k
  set_has_name();
1355
5.19k
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1356
  // @@protoc_insertion_point(field_set_char:yb.master.NamespaceIdentifierPB.name)
1357
5.19k
}
1358
0
inline void NamespaceIdentifierPB::set_name(const char* value, size_t size) {
1359
0
  set_has_name();
1360
0
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1361
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1362
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.NamespaceIdentifierPB.name)
1363
0
}
1364
284k
inline ::std::string* NamespaceIdentifierPB::mutable_name() {
1365
284k
  set_has_name();
1366
  // @@protoc_insertion_point(field_mutable:yb.master.NamespaceIdentifierPB.name)
1367
284k
  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1368
284k
}
1369
0
inline ::std::string* NamespaceIdentifierPB::release_name() {
1370
0
  // @@protoc_insertion_point(field_release:yb.master.NamespaceIdentifierPB.name)
1371
0
  clear_has_name();
1372
0
  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1373
0
}
1374
0
inline void NamespaceIdentifierPB::set_allocated_name(::std::string* name) {
1375
0
  if (name != NULL) {
1376
0
    set_has_name();
1377
0
  } else {
1378
0
    clear_has_name();
1379
0
  }
1380
0
  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1381
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.NamespaceIdentifierPB.name)
1382
0
}
1383
1384
// optional .yb.YQLDatabase database_type = 3 [default = YQL_DATABASE_CQL];
1385
860k
inline bool NamespaceIdentifierPB::has_database_type() const {
1386
860k
  return (_has_bits_[0] & 0x00000004u) != 0;
1387
860k
}
1388
214k
inline void NamespaceIdentifierPB::set_has_database_type() {
1389
214k
  _has_bits_[0] |= 0x00000004u;
1390
214k
}
1391
0
inline void NamespaceIdentifierPB::clear_has_database_type() {
1392
0
  _has_bits_[0] &= ~0x00000004u;
1393
0
}
1394
0
inline void NamespaceIdentifierPB::clear_database_type() {
1395
0
  database_type_ = 2;
1396
0
  clear_has_database_type();
1397
0
}
1398
429k
inline ::yb::YQLDatabase NamespaceIdentifierPB::database_type() const {
1399
  // @@protoc_insertion_point(field_get:yb.master.NamespaceIdentifierPB.database_type)
1400
429k
  return static_cast< ::yb::YQLDatabase >(database_type_);
1401
429k
}
1402
214k
inline void NamespaceIdentifierPB::set_database_type(::yb::YQLDatabase value) {
1403
214k
  assert(::yb::YQLDatabase_IsValid(value));
1404
214k
  set_has_database_type();
1405
214k
  database_type_ = value;
1406
  // @@protoc_insertion_point(field_set:yb.master.NamespaceIdentifierPB.database_type)
1407
214k
}
1408
1409
// -------------------------------------------------------------------
1410
1411
// TableIdentifierPB
1412
1413
// optional bytes table_id = 1;
1414
1.61M
inline bool TableIdentifierPB::has_table_id() const {
1415
1.61M
  return (_has_bits_[0] & 0x00000001u) != 0;
1416
1.61M
}
1417
878k
inline void TableIdentifierPB::set_has_table_id() {
1418
878k
  _has_bits_[0] |= 0x00000001u;
1419
878k
}
1420
50.4k
inline void TableIdentifierPB::clear_has_table_id() {
1421
50.4k
  _has_bits_[0] &= ~0x00000001u;
1422
50.4k
}
1423
50.3k
inline void TableIdentifierPB::clear_table_id() {
1424
50.3k
  table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1425
50.3k
  clear_has_table_id();
1426
50.3k
}
1427
1.89M
inline const ::std::string& TableIdentifierPB::table_id() const {
1428
  // @@protoc_insertion_point(field_get:yb.master.TableIdentifierPB.table_id)
1429
1.89M
  return table_id_.GetNoArena();
1430
1.89M
}
1431
352k
inline void TableIdentifierPB::set_table_id(const ::std::string& value) {
1432
352k
  set_has_table_id();
1433
352k
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1434
  // @@protoc_insertion_point(field_set:yb.master.TableIdentifierPB.table_id)
1435
352k
}
1436
#if LANG_CXX11
1437
0
inline void TableIdentifierPB::set_table_id(::std::string&& value) {
1438
0
  set_has_table_id();
1439
0
  table_id_.SetNoArena(
1440
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1441
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TableIdentifierPB.table_id)
1442
0
}
1443
#endif
1444
0
inline void TableIdentifierPB::set_table_id(const char* value) {
1445
0
  GOOGLE_DCHECK(value != NULL);
1446
0
  set_has_table_id();
1447
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1448
0
  // @@protoc_insertion_point(field_set_char:yb.master.TableIdentifierPB.table_id)
1449
0
}
1450
0
inline void TableIdentifierPB::set_table_id(const void* value, size_t size) {
1451
0
  set_has_table_id();
1452
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1453
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1454
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TableIdentifierPB.table_id)
1455
0
}
1456
418k
inline ::std::string* TableIdentifierPB::mutable_table_id() {
1457
418k
  set_has_table_id();
1458
  // @@protoc_insertion_point(field_mutable:yb.master.TableIdentifierPB.table_id)
1459
418k
  return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1460
418k
}
1461
0
inline ::std::string* TableIdentifierPB::release_table_id() {
1462
0
  // @@protoc_insertion_point(field_release:yb.master.TableIdentifierPB.table_id)
1463
0
  clear_has_table_id();
1464
0
  return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1465
0
}
1466
0
inline void TableIdentifierPB::set_allocated_table_id(::std::string* table_id) {
1467
0
  if (table_id != NULL) {
1468
0
    set_has_table_id();
1469
0
  } else {
1470
0
    clear_has_table_id();
1471
0
  }
1472
0
  table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id);
1473
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TableIdentifierPB.table_id)
1474
0
}
1475
1476
// optional string table_name = 2;
1477
1.14M
inline bool TableIdentifierPB::has_table_name() const {
1478
1.14M
  return (_has_bits_[0] & 0x00000002u) != 0;
1479
1.14M
}
1480
513k
inline void TableIdentifierPB::set_has_table_name() {
1481
513k
  _has_bits_[0] |= 0x00000002u;
1482
513k
}
1483
0
inline void TableIdentifierPB::clear_has_table_name() {
1484
0
  _has_bits_[0] &= ~0x00000002u;
1485
0
}
1486
0
inline void TableIdentifierPB::clear_table_name() {
1487
0
  table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1488
0
  clear_has_table_name();
1489
0
}
1490
1.88M
inline const ::std::string& TableIdentifierPB::table_name() const {
1491
  // @@protoc_insertion_point(field_get:yb.master.TableIdentifierPB.table_name)
1492
1.88M
  return table_name_.GetNoArena();
1493
1.88M
}
1494
169k
inline void TableIdentifierPB::set_table_name(const ::std::string& value) {
1495
169k
  set_has_table_name();
1496
169k
  table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1497
  // @@protoc_insertion_point(field_set:yb.master.TableIdentifierPB.table_name)
1498
169k
}
1499
#if LANG_CXX11
1500
0
inline void TableIdentifierPB::set_table_name(::std::string&& value) {
1501
0
  set_has_table_name();
1502
0
  table_name_.SetNoArena(
1503
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1504
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TableIdentifierPB.table_name)
1505
0
}
1506
#endif
1507
4.10k
inline void TableIdentifierPB::set_table_name(const char* value) {
1508
4.10k
  GOOGLE_DCHECK(value != NULL);
1509
4.10k
  set_has_table_name();
1510
4.10k
  table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1511
  // @@protoc_insertion_point(field_set_char:yb.master.TableIdentifierPB.table_name)
1512
4.10k
}
1513
0
inline void TableIdentifierPB::set_table_name(const char* value, size_t size) {
1514
0
  set_has_table_name();
1515
0
  table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1516
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1517
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TableIdentifierPB.table_name)
1518
0
}
1519
226k
inline ::std::string* TableIdentifierPB::mutable_table_name() {
1520
226k
  set_has_table_name();
1521
  // @@protoc_insertion_point(field_mutable:yb.master.TableIdentifierPB.table_name)
1522
226k
  return table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1523
226k
}
1524
0
inline ::std::string* TableIdentifierPB::release_table_name() {
1525
0
  // @@protoc_insertion_point(field_release:yb.master.TableIdentifierPB.table_name)
1526
0
  clear_has_table_name();
1527
0
  return table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1528
0
}
1529
0
inline void TableIdentifierPB::set_allocated_table_name(::std::string* table_name) {
1530
0
  if (table_name != NULL) {
1531
0
    set_has_table_name();
1532
0
  } else {
1533
0
    clear_has_table_name();
1534
0
  }
1535
0
  table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_name);
1536
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TableIdentifierPB.table_name)
1537
0
}
1538
1539
// optional .yb.master.NamespaceIdentifierPB namespace = 3;
1540
1.03M
inline bool TableIdentifierPB::has_namespace_() const {
1541
1.03M
  return (_has_bits_[0] & 0x00000004u) != 0;
1542
1.03M
}
1543
744k
inline void TableIdentifierPB::set_has_namespace_() {
1544
744k
  _has_bits_[0] |= 0x00000004u;
1545
744k
}
1546
0
inline void TableIdentifierPB::clear_has_namespace_() {
1547
0
  _has_bits_[0] &= ~0x00000004u;
1548
0
}
1549
0
inline void TableIdentifierPB::clear_namespace_() {
1550
0
  if (namespace__ != NULL) namespace__->Clear();
1551
0
  clear_has_namespace_();
1552
0
}
1553
382k
inline const ::yb::master::NamespaceIdentifierPB& TableIdentifierPB::namespace_() const {
1554
382k
  const ::yb::master::NamespaceIdentifierPB* p = namespace__;
1555
  // @@protoc_insertion_point(field_get:yb.master.TableIdentifierPB.namespace)
1556
381k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::NamespaceIdentifierPB*>(
1557
1.32k
      &::yb::master::_NamespaceIdentifierPB_default_instance_);
1558
382k
}
1559
0
inline ::yb::master::NamespaceIdentifierPB* TableIdentifierPB::release_namespace_() {
1560
0
  // @@protoc_insertion_point(field_release:yb.master.TableIdentifierPB.namespace)
1561
0
  clear_has_namespace_();
1562
0
  ::yb::master::NamespaceIdentifierPB* temp = namespace__;
1563
0
  namespace__ = NULL;
1564
0
  return temp;
1565
0
}
1566
744k
inline ::yb::master::NamespaceIdentifierPB* TableIdentifierPB::mutable_namespace_() {
1567
744k
  set_has_namespace_();
1568
744k
  if (namespace__ == NULL) {
1569
513k
    namespace__ = new ::yb::master::NamespaceIdentifierPB;
1570
513k
  }
1571
  // @@protoc_insertion_point(field_mutable:yb.master.TableIdentifierPB.namespace)
1572
744k
  return namespace__;
1573
744k
}
1574
0
inline void TableIdentifierPB::set_allocated_namespace_(::yb::master::NamespaceIdentifierPB* namespace_) {
1575
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1576
0
  if (message_arena == NULL) {
1577
0
    delete namespace__;
1578
0
  }
1579
0
  if (namespace_) {
1580
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1581
0
    if (message_arena != submessage_arena) {
1582
0
      namespace_ = ::google::protobuf::internal::GetOwnedMessage(
1583
0
          message_arena, namespace_, submessage_arena);
1584
0
    }
1585
0
    set_has_namespace_();
1586
0
  } else {
1587
0
    clear_has_namespace_();
1588
0
  }
1589
0
  namespace__ = namespace_;
1590
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TableIdentifierPB.namespace)
1591
0
}
1592
1593
// -------------------------------------------------------------------
1594
1595
// TSRegistrationPB
1596
1597
// optional .yb.ServerRegistrationPB common = 1;
1598
8.94M
inline bool TSRegistrationPB::has_common() const {
1599
8.94M
  return (_has_bits_[0] & 0x00000001u) != 0;
1600
8.94M
}
1601
4.04M
inline void TSRegistrationPB::set_has_common() {
1602
4.04M
  _has_bits_[0] |= 0x00000001u;
1603
4.04M
}
1604
0
inline void TSRegistrationPB::clear_has_common() {
1605
0
  _has_bits_[0] &= ~0x00000001u;
1606
0
}
1607
8.07M
inline const ::yb::ServerRegistrationPB& TSRegistrationPB::common() const {
1608
8.07M
  const ::yb::ServerRegistrationPB* p = common_;
1609
  // @@protoc_insertion_point(field_get:yb.master.TSRegistrationPB.common)
1610
8.07M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::ServerRegistrationPB*>(
1611
138
      &::yb::_ServerRegistrationPB_default_instance_);
1612
8.07M
}
1613
0
inline ::yb::ServerRegistrationPB* TSRegistrationPB::release_common() {
1614
0
  // @@protoc_insertion_point(field_release:yb.master.TSRegistrationPB.common)
1615
0
  clear_has_common();
1616
0
  ::yb::ServerRegistrationPB* temp = common_;
1617
0
  common_ = NULL;
1618
0
  return temp;
1619
0
}
1620
4.04M
inline ::yb::ServerRegistrationPB* TSRegistrationPB::mutable_common() {
1621
4.04M
  set_has_common();
1622
4.04M
  if (common_ == NULL) {
1623
2.64M
    common_ = new ::yb::ServerRegistrationPB;
1624
2.64M
  }
1625
  // @@protoc_insertion_point(field_mutable:yb.master.TSRegistrationPB.common)
1626
4.04M
  return common_;
1627
4.04M
}
1628
0
inline void TSRegistrationPB::set_allocated_common(::yb::ServerRegistrationPB* common) {
1629
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1630
0
  if (message_arena == NULL) {
1631
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(common_);
1632
0
  }
1633
0
  if (common) {
1634
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1635
0
    if (message_arena != submessage_arena) {
1636
0
      common = ::google::protobuf::internal::GetOwnedMessage(
1637
0
          message_arena, common, submessage_arena);
1638
0
    }
1639
0
    set_has_common();
1640
0
  } else {
1641
0
    clear_has_common();
1642
0
  }
1643
0
  common_ = common;
1644
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TSRegistrationPB.common)
1645
0
}
1646
1647
// repeated fixed32 capabilities = 2;
1648
5.11M
inline int TSRegistrationPB::capabilities_size() const {
1649
5.11M
  return capabilities_.size();
1650
5.11M
}
1651
0
inline void TSRegistrationPB::clear_capabilities() {
1652
0
  capabilities_.Clear();
1653
0
}
1654
0
inline ::google::protobuf::uint32 TSRegistrationPB::capabilities(int index) const {
1655
0
  // @@protoc_insertion_point(field_get:yb.master.TSRegistrationPB.capabilities)
1656
0
  return capabilities_.Get(index);
1657
0
}
1658
0
inline void TSRegistrationPB::set_capabilities(int index, ::google::protobuf::uint32 value) {
1659
0
  capabilities_.Set(index, value);
1660
0
  // @@protoc_insertion_point(field_set:yb.master.TSRegistrationPB.capabilities)
1661
0
}
1662
0
inline void TSRegistrationPB::add_capabilities(::google::protobuf::uint32 value) {
1663
0
  capabilities_.Add(value);
1664
0
  // @@protoc_insertion_point(field_add:yb.master.TSRegistrationPB.capabilities)
1665
0
}
1666
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1667
595k
TSRegistrationPB::capabilities() const {
1668
  // @@protoc_insertion_point(field_list:yb.master.TSRegistrationPB.capabilities)
1669
595k
  return capabilities_;
1670
595k
}
1671
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1672
1.38M
TSRegistrationPB::mutable_capabilities() {
1673
  // @@protoc_insertion_point(field_mutable_list:yb.master.TSRegistrationPB.capabilities)
1674
1.38M
  return &capabilities_;
1675
1.38M
}
1676
1677
// -------------------------------------------------------------------
1678
1679
// TServerMetricsPB_PathMetrics
1680
1681
// required bytes path_id = 1;
1682
85.7k
inline bool TServerMetricsPB_PathMetrics::has_path_id() const {
1683
85.7k
  return (_has_bits_[0] & 0x00000001u) != 0;
1684
85.7k
}
1685
78.9k
inline void TServerMetricsPB_PathMetrics::set_has_path_id() {
1686
78.9k
  _has_bits_[0] |= 0x00000001u;
1687
78.9k
}
1688
0
inline void TServerMetricsPB_PathMetrics::clear_has_path_id() {
1689
0
  _has_bits_[0] &= ~0x00000001u;
1690
0
}
1691
0
inline void TServerMetricsPB_PathMetrics::clear_path_id() {
1692
0
  path_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1693
0
  clear_has_path_id();
1694
0
}
1695
151k
inline const ::std::string& TServerMetricsPB_PathMetrics::path_id() const {
1696
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.PathMetrics.path_id)
1697
151k
  return path_id_.GetNoArena();
1698
151k
}
1699
42.8k
inline void TServerMetricsPB_PathMetrics::set_path_id(const ::std::string& value) {
1700
42.8k
  set_has_path_id();
1701
42.8k
  path_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1702
  // @@protoc_insertion_point(field_set:yb.master.TServerMetricsPB.PathMetrics.path_id)
1703
42.8k
}
1704
#if LANG_CXX11
1705
0
inline void TServerMetricsPB_PathMetrics::set_path_id(::std::string&& value) {
1706
0
  set_has_path_id();
1707
0
  path_id_.SetNoArena(
1708
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1709
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TServerMetricsPB.PathMetrics.path_id)
1710
0
}
1711
#endif
1712
0
inline void TServerMetricsPB_PathMetrics::set_path_id(const char* value) {
1713
0
  GOOGLE_DCHECK(value != NULL);
1714
0
  set_has_path_id();
1715
0
  path_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1716
0
  // @@protoc_insertion_point(field_set_char:yb.master.TServerMetricsPB.PathMetrics.path_id)
1717
0
}
1718
0
inline void TServerMetricsPB_PathMetrics::set_path_id(const void* value, size_t size) {
1719
0
  set_has_path_id();
1720
0
  path_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1721
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1722
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TServerMetricsPB.PathMetrics.path_id)
1723
0
}
1724
36.1k
inline ::std::string* TServerMetricsPB_PathMetrics::mutable_path_id() {
1725
36.1k
  set_has_path_id();
1726
  // @@protoc_insertion_point(field_mutable:yb.master.TServerMetricsPB.PathMetrics.path_id)
1727
36.1k
  return path_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1728
36.1k
}
1729
0
inline ::std::string* TServerMetricsPB_PathMetrics::release_path_id() {
1730
0
  // @@protoc_insertion_point(field_release:yb.master.TServerMetricsPB.PathMetrics.path_id)
1731
0
  clear_has_path_id();
1732
0
  return path_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1733
0
}
1734
0
inline void TServerMetricsPB_PathMetrics::set_allocated_path_id(::std::string* path_id) {
1735
0
  if (path_id != NULL) {
1736
0
    set_has_path_id();
1737
0
  } else {
1738
0
    clear_has_path_id();
1739
0
  }
1740
0
  path_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path_id);
1741
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TServerMetricsPB.PathMetrics.path_id)
1742
0
}
1743
1744
// optional uint64 used_space = 2;
1745
85.7k
inline bool TServerMetricsPB_PathMetrics::has_used_space() const {
1746
85.7k
  return (_has_bits_[0] & 0x00000002u) != 0;
1747
85.7k
}
1748
78.9k
inline void TServerMetricsPB_PathMetrics::set_has_used_space() {
1749
78.9k
  _has_bits_[0] |= 0x00000002u;
1750
78.9k
}
1751
0
inline void TServerMetricsPB_PathMetrics::clear_has_used_space() {
1752
0
  _has_bits_[0] &= ~0x00000002u;
1753
0
}
1754
0
inline void TServerMetricsPB_PathMetrics::clear_used_space() {
1755
0
  used_space_ = GOOGLE_ULONGLONG(0);
1756
0
  clear_has_used_space();
1757
0
}
1758
151k
inline ::google::protobuf::uint64 TServerMetricsPB_PathMetrics::used_space() const {
1759
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.PathMetrics.used_space)
1760
151k
  return used_space_;
1761
151k
}
1762
42.8k
inline void TServerMetricsPB_PathMetrics::set_used_space(::google::protobuf::uint64 value) {
1763
42.8k
  set_has_used_space();
1764
42.8k
  used_space_ = value;
1765
  // @@protoc_insertion_point(field_set:yb.master.TServerMetricsPB.PathMetrics.used_space)
1766
42.8k
}
1767
1768
// optional uint64 total_space = 3;
1769
85.7k
inline bool TServerMetricsPB_PathMetrics::has_total_space() const {
1770
85.7k
  return (_has_bits_[0] & 0x00000004u) != 0;
1771
85.7k
}
1772
78.9k
inline void TServerMetricsPB_PathMetrics::set_has_total_space() {
1773
78.9k
  _has_bits_[0] |= 0x00000004u;
1774
78.9k
}
1775
0
inline void TServerMetricsPB_PathMetrics::clear_has_total_space() {
1776
0
  _has_bits_[0] &= ~0x00000004u;
1777
0
}
1778
0
inline void TServerMetricsPB_PathMetrics::clear_total_space() {
1779
0
  total_space_ = GOOGLE_ULONGLONG(0);
1780
0
  clear_has_total_space();
1781
0
}
1782
151k
inline ::google::protobuf::uint64 TServerMetricsPB_PathMetrics::total_space() const {
1783
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.PathMetrics.total_space)
1784
151k
  return total_space_;
1785
151k
}
1786
42.8k
inline void TServerMetricsPB_PathMetrics::set_total_space(::google::protobuf::uint64 value) {
1787
42.8k
  set_has_total_space();
1788
42.8k
  total_space_ = value;
1789
  // @@protoc_insertion_point(field_set:yb.master.TServerMetricsPB.PathMetrics.total_space)
1790
42.8k
}
1791
1792
// -------------------------------------------------------------------
1793
1794
// TServerMetricsPB
1795
1796
// optional int64 total_sst_file_size = 1;
1797
116k
inline bool TServerMetricsPB::has_total_sst_file_size() const {
1798
116k
  return (_has_bits_[0] & 0x00000001u) != 0;
1799
116k
}
1800
107k
inline void TServerMetricsPB::set_has_total_sst_file_size() {
1801
107k
  _has_bits_[0] |= 0x00000001u;
1802
107k
}
1803
0
inline void TServerMetricsPB::clear_has_total_sst_file_size() {
1804
0
  _has_bits_[0] &= ~0x00000001u;
1805
0
}
1806
0
inline void TServerMetricsPB::clear_total_sst_file_size() {
1807
0
  total_sst_file_size_ = GOOGLE_LONGLONG(0);
1808
0
  clear_has_total_sst_file_size();
1809
0
}
1810
208k
inline ::google::protobuf::int64 TServerMetricsPB::total_sst_file_size() const {
1811
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.total_sst_file_size)
1812
208k
  return total_sst_file_size_;
1813
208k
}
1814
58.1k
inline void TServerMetricsPB::set_total_sst_file_size(::google::protobuf::int64 value) {
1815
58.1k
  set_has_total_sst_file_size();
1816
58.1k
  total_sst_file_size_ = value;
1817
  // @@protoc_insertion_point(field_set:yb.master.TServerMetricsPB.total_sst_file_size)
1818
58.1k
}
1819
1820
// optional int64 total_ram_usage = 2;
1821
116k
inline bool TServerMetricsPB::has_total_ram_usage() const {
1822
116k
  return (_has_bits_[0] & 0x00000002u) != 0;
1823
116k
}
1824
107k
inline void TServerMetricsPB::set_has_total_ram_usage() {
1825
107k
  _has_bits_[0] |= 0x00000002u;
1826
107k
}
1827
0
inline void TServerMetricsPB::clear_has_total_ram_usage() {
1828
0
  _has_bits_[0] &= ~0x00000002u;
1829
0
}
1830
0
inline void TServerMetricsPB::clear_total_ram_usage() {
1831
0
  total_ram_usage_ = GOOGLE_LONGLONG(0);
1832
0
  clear_has_total_ram_usage();
1833
0
}
1834
208k
inline ::google::protobuf::int64 TServerMetricsPB::total_ram_usage() const {
1835
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.total_ram_usage)
1836
208k
  return total_ram_usage_;
1837
208k
}
1838
58.1k
inline void TServerMetricsPB::set_total_ram_usage(::google::protobuf::int64 value) {
1839
58.1k
  set_has_total_ram_usage();
1840
58.1k
  total_ram_usage_ = value;
1841
  // @@protoc_insertion_point(field_set:yb.master.TServerMetricsPB.total_ram_usage)
1842
58.1k
}
1843
1844
// optional double read_ops_per_sec = 3;
1845
116k
inline bool TServerMetricsPB::has_read_ops_per_sec() const {
1846
116k
  return (_has_bits_[0] & 0x00000004u) != 0;
1847
116k
}
1848
107k
inline void TServerMetricsPB::set_has_read_ops_per_sec() {
1849
107k
  _has_bits_[0] |= 0x00000004u;
1850
107k
}
1851
0
inline void TServerMetricsPB::clear_has_read_ops_per_sec() {
1852
0
  _has_bits_[0] &= ~0x00000004u;
1853
0
}
1854
0
inline void TServerMetricsPB::clear_read_ops_per_sec() {
1855
0
  read_ops_per_sec_ = 0;
1856
0
  clear_has_read_ops_per_sec();
1857
0
}
1858
91.9k
inline double TServerMetricsPB::read_ops_per_sec() const {
1859
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.read_ops_per_sec)
1860
91.9k
  return read_ops_per_sec_;
1861
91.9k
}
1862
58.1k
inline void TServerMetricsPB::set_read_ops_per_sec(double value) {
1863
58.1k
  set_has_read_ops_per_sec();
1864
58.1k
  read_ops_per_sec_ = value;
1865
  // @@protoc_insertion_point(field_set:yb.master.TServerMetricsPB.read_ops_per_sec)
1866
58.1k
}
1867
1868
// optional double write_ops_per_sec = 4;
1869
116k
inline bool TServerMetricsPB::has_write_ops_per_sec() const {
1870
116k
  return (_has_bits_[0] & 0x00000008u) != 0;
1871
116k
}
1872
107k
inline void TServerMetricsPB::set_has_write_ops_per_sec() {
1873
107k
  _has_bits_[0] |= 0x00000008u;
1874
107k
}
1875
0
inline void TServerMetricsPB::clear_has_write_ops_per_sec() {
1876
0
  _has_bits_[0] &= ~0x00000008u;
1877
0
}
1878
0
inline void TServerMetricsPB::clear_write_ops_per_sec() {
1879
0
  write_ops_per_sec_ = 0;
1880
0
  clear_has_write_ops_per_sec();
1881
0
}
1882
91.9k
inline double TServerMetricsPB::write_ops_per_sec() const {
1883
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.write_ops_per_sec)
1884
91.9k
  return write_ops_per_sec_;
1885
91.9k
}
1886
58.1k
inline void TServerMetricsPB::set_write_ops_per_sec(double value) {
1887
58.1k
  set_has_write_ops_per_sec();
1888
58.1k
  write_ops_per_sec_ = value;
1889
  // @@protoc_insertion_point(field_set:yb.master.TServerMetricsPB.write_ops_per_sec)
1890
58.1k
}
1891
1892
// optional int64 uncompressed_sst_file_size = 5;
1893
116k
inline bool TServerMetricsPB::has_uncompressed_sst_file_size() const {
1894
116k
  return (_has_bits_[0] & 0x00000010u) != 0;
1895
116k
}
1896
107k
inline void TServerMetricsPB::set_has_uncompressed_sst_file_size() {
1897
107k
  _has_bits_[0] |= 0x00000010u;
1898
107k
}
1899
0
inline void TServerMetricsPB::clear_has_uncompressed_sst_file_size() {
1900
0
  _has_bits_[0] &= ~0x00000010u;
1901
0
}
1902
0
inline void TServerMetricsPB::clear_uncompressed_sst_file_size() {
1903
0
  uncompressed_sst_file_size_ = GOOGLE_LONGLONG(0);
1904
0
  clear_has_uncompressed_sst_file_size();
1905
0
}
1906
208k
inline ::google::protobuf::int64 TServerMetricsPB::uncompressed_sst_file_size() const {
1907
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.uncompressed_sst_file_size)
1908
208k
  return uncompressed_sst_file_size_;
1909
208k
}
1910
58.1k
inline void TServerMetricsPB::set_uncompressed_sst_file_size(::google::protobuf::int64 value) {
1911
58.1k
  set_has_uncompressed_sst_file_size();
1912
58.1k
  uncompressed_sst_file_size_ = value;
1913
  // @@protoc_insertion_point(field_set:yb.master.TServerMetricsPB.uncompressed_sst_file_size)
1914
58.1k
}
1915
1916
// optional uint64 uptime_seconds = 6;
1917
116k
inline bool TServerMetricsPB::has_uptime_seconds() const {
1918
116k
  return (_has_bits_[0] & 0x00000020u) != 0;
1919
116k
}
1920
107k
inline void TServerMetricsPB::set_has_uptime_seconds() {
1921
107k
  _has_bits_[0] |= 0x00000020u;
1922
107k
}
1923
0
inline void TServerMetricsPB::clear_has_uptime_seconds() {
1924
0
  _has_bits_[0] &= ~0x00000020u;
1925
0
}
1926
0
inline void TServerMetricsPB::clear_uptime_seconds() {
1927
0
  uptime_seconds_ = GOOGLE_ULONGLONG(0);
1928
0
  clear_has_uptime_seconds();
1929
0
}
1930
208k
inline ::google::protobuf::uint64 TServerMetricsPB::uptime_seconds() const {
1931
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.uptime_seconds)
1932
208k
  return uptime_seconds_;
1933
208k
}
1934
58.1k
inline void TServerMetricsPB::set_uptime_seconds(::google::protobuf::uint64 value) {
1935
58.1k
  set_has_uptime_seconds();
1936
58.1k
  uptime_seconds_ = value;
1937
  // @@protoc_insertion_point(field_set:yb.master.TServerMetricsPB.uptime_seconds)
1938
58.1k
}
1939
1940
// optional uint64 num_sst_files = 7;
1941
116k
inline bool TServerMetricsPB::has_num_sst_files() const {
1942
116k
  return (_has_bits_[0] & 0x00000040u) != 0;
1943
116k
}
1944
107k
inline void TServerMetricsPB::set_has_num_sst_files() {
1945
107k
  _has_bits_[0] |= 0x00000040u;
1946
107k
}
1947
0
inline void TServerMetricsPB::clear_has_num_sst_files() {
1948
0
  _has_bits_[0] &= ~0x00000040u;
1949
0
}
1950
0
inline void TServerMetricsPB::clear_num_sst_files() {
1951
0
  num_sst_files_ = GOOGLE_ULONGLONG(0);
1952
0
  clear_has_num_sst_files();
1953
0
}
1954
208k
inline ::google::protobuf::uint64 TServerMetricsPB::num_sst_files() const {
1955
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.num_sst_files)
1956
208k
  return num_sst_files_;
1957
208k
}
1958
58.1k
inline void TServerMetricsPB::set_num_sst_files(::google::protobuf::uint64 value) {
1959
58.1k
  set_has_num_sst_files();
1960
58.1k
  num_sst_files_ = value;
1961
  // @@protoc_insertion_point(field_set:yb.master.TServerMetricsPB.num_sst_files)
1962
58.1k
}
1963
1964
// repeated .yb.master.TServerMetricsPB.PathMetrics path_metrics = 8;
1965
174k
inline int TServerMetricsPB::path_metrics_size() const {
1966
174k
  return path_metrics_.size();
1967
174k
}
1968
0
inline void TServerMetricsPB::clear_path_metrics() {
1969
0
  path_metrics_.Clear();
1970
0
}
1971
128k
inline const ::yb::master::TServerMetricsPB_PathMetrics& TServerMetricsPB::path_metrics(int index) const {
1972
  // @@protoc_insertion_point(field_get:yb.master.TServerMetricsPB.path_metrics)
1973
128k
  return path_metrics_.Get(index);
1974
128k
}
1975
0
inline ::yb::master::TServerMetricsPB_PathMetrics* TServerMetricsPB::mutable_path_metrics(int index) {
1976
0
  // @@protoc_insertion_point(field_mutable:yb.master.TServerMetricsPB.path_metrics)
1977
0
  return path_metrics_.Mutable(index);
1978
0
}
1979
78.9k
inline ::yb::master::TServerMetricsPB_PathMetrics* TServerMetricsPB::add_path_metrics() {
1980
  // @@protoc_insertion_point(field_add:yb.master.TServerMetricsPB.path_metrics)
1981
78.9k
  return path_metrics_.Add();
1982
78.9k
}
1983
inline ::google::protobuf::RepeatedPtrField< ::yb::master::TServerMetricsPB_PathMetrics >*
1984
0
TServerMetricsPB::mutable_path_metrics() {
1985
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.TServerMetricsPB.path_metrics)
1986
0
  return &path_metrics_;
1987
0
}
1988
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TServerMetricsPB_PathMetrics >&
1989
141k
TServerMetricsPB::path_metrics() const {
1990
  // @@protoc_insertion_point(field_list:yb.master.TServerMetricsPB.path_metrics)
1991
141k
  return path_metrics_;
1992
141k
}
1993
1994
#ifdef __GNUC__
1995
  #pragma GCC diagnostic pop
1996
#endif  // __GNUC__
1997
// -------------------------------------------------------------------
1998
1999
// -------------------------------------------------------------------
2000
2001
// -------------------------------------------------------------------
2002
2003
// -------------------------------------------------------------------
2004
2005
// -------------------------------------------------------------------
2006
2007
2008
// @@protoc_insertion_point(namespace_scope)
2009
2010
}  // namespace master
2011
}  // namespace yb
2012
2013
namespace google {
2014
namespace protobuf {
2015
2016
template <> struct is_proto_enum< ::yb::master::MasterErrorPB_Code> : ::google::protobuf::internal::true_type {};
2017
template <>
2018
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::MasterErrorPB_Code>() {
2019
0
  return ::yb::master::MasterErrorPB_Code_descriptor();
2020
0
}
2021
template <> struct is_proto_enum< ::yb::master::RelationType> : ::google::protobuf::internal::true_type {};
2022
template <>
2023
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::RelationType>() {
2024
0
  return ::yb::master::RelationType_descriptor();
2025
0
}
2026
template <> struct is_proto_enum< ::yb::master::SysRowEntryType> : ::google::protobuf::internal::true_type {};
2027
template <>
2028
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::SysRowEntryType>() {
2029
0
  return ::yb::master::SysRowEntryType_descriptor();
2030
0
}
2031
2032
}  // namespace protobuf
2033
}  // namespace google
2034
2035
// @@protoc_insertion_point(global_scope)
2036
2037
#endif  // PROTOBUF_yb_2fmaster_2fmaster_5ftypes_2eproto__INCLUDED