YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/common/wire_protocol.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/common/wire_protocol.proto
3
4
#ifndef PROTOBUF_yb_2fcommon_2fwire_5fprotocol_2eproto__INCLUDED
5
#define PROTOBUF_yb_2fcommon_2fwire_5fprotocol_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_net.pb.h"
34
#include "yb/common/common_types.pb.h"
35
// @@protoc_insertion_point(includes)
36
37
namespace protobuf_yb_2fcommon_2fwire_5fprotocol_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[4];
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 InitDefaultsAppStatusPBImpl();
49
void InitDefaultsAppStatusPB();
50
void InitDefaultsNodeInstancePBImpl();
51
void InitDefaultsNodeInstancePB();
52
void InitDefaultsServerRegistrationPBImpl();
53
void InitDefaultsServerRegistrationPB();
54
void InitDefaultsServerEntryPBImpl();
55
void InitDefaultsServerEntryPB();
56
28.1k
inline void InitDefaults() {
57
28.1k
  InitDefaultsAppStatusPB();
58
28.1k
  InitDefaultsNodeInstancePB();
59
28.1k
  InitDefaultsServerRegistrationPB();
60
28.1k
  InitDefaultsServerEntryPB();
61
28.1k
}
62
}  // namespace protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto
63
namespace yb {
64
class AppStatusPB;
65
class AppStatusPBDefaultTypeInternal;
66
extern AppStatusPBDefaultTypeInternal _AppStatusPB_default_instance_;
67
class NodeInstancePB;
68
class NodeInstancePBDefaultTypeInternal;
69
extern NodeInstancePBDefaultTypeInternal _NodeInstancePB_default_instance_;
70
class ServerEntryPB;
71
class ServerEntryPBDefaultTypeInternal;
72
extern ServerEntryPBDefaultTypeInternal _ServerEntryPB_default_instance_;
73
class ServerRegistrationPB;
74
class ServerRegistrationPBDefaultTypeInternal;
75
extern ServerRegistrationPBDefaultTypeInternal _ServerRegistrationPB_default_instance_;
76
}  // namespace yb
77
namespace yb {
78
79
enum AppStatusPB_ErrorCode {
80
  AppStatusPB_ErrorCode_UNKNOWN_ERROR = 999,
81
  AppStatusPB_ErrorCode_OK = 0,
82
  AppStatusPB_ErrorCode_NOT_FOUND = 1,
83
  AppStatusPB_ErrorCode_CORRUPTION = 2,
84
  AppStatusPB_ErrorCode_NOT_SUPPORTED = 3,
85
  AppStatusPB_ErrorCode_INVALID_ARGUMENT = 4,
86
  AppStatusPB_ErrorCode_IO_ERROR = 5,
87
  AppStatusPB_ErrorCode_ALREADY_PRESENT = 6,
88
  AppStatusPB_ErrorCode_RUNTIME_ERROR = 7,
89
  AppStatusPB_ErrorCode_NETWORK_ERROR = 8,
90
  AppStatusPB_ErrorCode_ILLEGAL_STATE = 9,
91
  AppStatusPB_ErrorCode_NOT_AUTHORIZED = 10,
92
  AppStatusPB_ErrorCode_ABORTED = 11,
93
  AppStatusPB_ErrorCode_REMOTE_ERROR = 12,
94
  AppStatusPB_ErrorCode_SERVICE_UNAVAILABLE = 13,
95
  AppStatusPB_ErrorCode_TIMED_OUT = 14,
96
  AppStatusPB_ErrorCode_UNINITIALIZED = 15,
97
  AppStatusPB_ErrorCode_CONFIGURATION_ERROR = 16,
98
  AppStatusPB_ErrorCode_INCOMPLETE = 17,
99
  AppStatusPB_ErrorCode_END_OF_FILE = 18,
100
  AppStatusPB_ErrorCode_INVALID_COMMAND = 19,
101
  AppStatusPB_ErrorCode_QL_ERROR = 20,
102
  AppStatusPB_ErrorCode_INTERNAL_ERROR = 21,
103
  AppStatusPB_ErrorCode_EXPIRED = 22,
104
  AppStatusPB_ErrorCode_LEADER_NOT_READY_TO_SERVE = 23,
105
  AppStatusPB_ErrorCode_LEADER_HAS_NO_LEASE = 24,
106
  AppStatusPB_ErrorCode_TRY_AGAIN_CODE = 25,
107
  AppStatusPB_ErrorCode_BUSY = 26,
108
  AppStatusPB_ErrorCode_SHUTDOWN_IN_PROGRESS = 27,
109
  AppStatusPB_ErrorCode_MERGE_IN_PROGRESS = 28,
110
  AppStatusPB_ErrorCode_COMBINED_ERROR = 29,
111
  AppStatusPB_ErrorCode_SNAPSHOT_TOO_OLD = 30
112
};
113
bool AppStatusPB_ErrorCode_IsValid(int value);
114
const AppStatusPB_ErrorCode AppStatusPB_ErrorCode_ErrorCode_MIN = AppStatusPB_ErrorCode_OK;
115
const AppStatusPB_ErrorCode AppStatusPB_ErrorCode_ErrorCode_MAX = AppStatusPB_ErrorCode_UNKNOWN_ERROR;
116
const int AppStatusPB_ErrorCode_ErrorCode_ARRAYSIZE = AppStatusPB_ErrorCode_ErrorCode_MAX + 1;
117
118
const ::google::protobuf::EnumDescriptor* AppStatusPB_ErrorCode_descriptor();
119
2
inline const ::std::string& AppStatusPB_ErrorCode_Name(AppStatusPB_ErrorCode value) {
120
2
  return ::google::protobuf::internal::NameOfEnum(
121
2
    AppStatusPB_ErrorCode_descriptor(), value);
122
2
}
123
inline bool AppStatusPB_ErrorCode_Parse(
124
0
    const ::std::string& name, AppStatusPB_ErrorCode* value) {
125
0
  return ::google::protobuf::internal::ParseNamedEnum<AppStatusPB_ErrorCode>(
126
0
    AppStatusPB_ErrorCode_descriptor(), name, value);
127
0
}
128
// ===================================================================
129
130
class AppStatusPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.AppStatusPB) */ {
131
 public:
132
  AppStatusPB();
133
  virtual ~AppStatusPB();
134
135
  AppStatusPB(const AppStatusPB& from);
136
137
0
  inline AppStatusPB& operator=(const AppStatusPB& from) {
138
0
    CopyFrom(from);
139
0
    return *this;
140
0
  }
141
  #if LANG_CXX11
142
  AppStatusPB(AppStatusPB&& from) noexcept
143
0
    : AppStatusPB() {
144
0
    *this = ::std::move(from);
145
0
  }
146
147
0
  inline AppStatusPB& operator=(AppStatusPB&& from) noexcept {
148
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
149
0
      if (this != &from) InternalSwap(&from);
150
0
    } else {
151
0
      CopyFrom(from);
152
0
    }
153
0
    return *this;
154
0
  }
155
  #endif
156
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
157
0
    return _internal_metadata_.unknown_fields();
158
0
  }
159
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
160
0
    return _internal_metadata_.mutable_unknown_fields();
161
0
  }
162
163
  static const ::google::protobuf::Descriptor* descriptor();
164
  static const AppStatusPB& default_instance();
165
166
  enum ErrorCodesCase {
167
    kPosixCode = 4,
168
    kQlErrorCode = 5,
169
    ERROR_CODES_NOT_SET = 0,
170
  };
171
172
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
173
4.63M
  static inline const AppStatusPB* internal_default_instance() {
174
4.63M
    return reinterpret_cast<const AppStatusPB*>(
175
4.63M
               &_AppStatusPB_default_instance_);
176
4.63M
  }
177
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
178
    0;
179
180
  void Swap(AppStatusPB* other);
181
0
  friend void swap(AppStatusPB& a, AppStatusPB& b) {
182
0
    a.Swap(&b);
183
0
  }
184
185
  // implements Message ----------------------------------------------
186
187
0
  inline AppStatusPB* New() const PROTOBUF_FINAL { return New(NULL); }
188
189
  AppStatusPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
190
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
191
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
192
  void CopyFrom(const AppStatusPB& from);
193
  void MergeFrom(const AppStatusPB& from);
194
  void Clear() PROTOBUF_FINAL;
195
  bool IsInitialized() const PROTOBUF_FINAL;
196
197
  size_t ByteSizeLong() const PROTOBUF_FINAL;
198
  bool MergePartialFromCodedStream(
199
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
200
  void SerializeWithCachedSizes(
201
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
202
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
203
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
204
1.70M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
205
  private:
206
  void SharedCtor();
207
  void SharedDtor();
208
  void SetCachedSize(int size) const PROTOBUF_FINAL;
209
  void InternalSwap(AppStatusPB* other);
210
  private:
211
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
212
0
    return NULL;
213
0
  }
214
0
  inline void* MaybeArenaPtr() const {
215
0
    return NULL;
216
0
  }
217
  public:
218
219
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
220
221
  // nested types ----------------------------------------------------
222
223
  typedef AppStatusPB_ErrorCode ErrorCode;
224
  static const ErrorCode UNKNOWN_ERROR =
225
    AppStatusPB_ErrorCode_UNKNOWN_ERROR;
226
  static const ErrorCode OK =
227
    AppStatusPB_ErrorCode_OK;
228
  static const ErrorCode NOT_FOUND =
229
    AppStatusPB_ErrorCode_NOT_FOUND;
230
  static const ErrorCode CORRUPTION =
231
    AppStatusPB_ErrorCode_CORRUPTION;
232
  static const ErrorCode NOT_SUPPORTED =
233
    AppStatusPB_ErrorCode_NOT_SUPPORTED;
234
  static const ErrorCode INVALID_ARGUMENT =
235
    AppStatusPB_ErrorCode_INVALID_ARGUMENT;
236
  static const ErrorCode IO_ERROR =
237
    AppStatusPB_ErrorCode_IO_ERROR;
238
  static const ErrorCode ALREADY_PRESENT =
239
    AppStatusPB_ErrorCode_ALREADY_PRESENT;
240
  static const ErrorCode RUNTIME_ERROR =
241
    AppStatusPB_ErrorCode_RUNTIME_ERROR;
242
  static const ErrorCode NETWORK_ERROR =
243
    AppStatusPB_ErrorCode_NETWORK_ERROR;
244
  static const ErrorCode ILLEGAL_STATE =
245
    AppStatusPB_ErrorCode_ILLEGAL_STATE;
246
  static const ErrorCode NOT_AUTHORIZED =
247
    AppStatusPB_ErrorCode_NOT_AUTHORIZED;
248
  static const ErrorCode ABORTED =
249
    AppStatusPB_ErrorCode_ABORTED;
250
  static const ErrorCode REMOTE_ERROR =
251
    AppStatusPB_ErrorCode_REMOTE_ERROR;
252
  static const ErrorCode SERVICE_UNAVAILABLE =
253
    AppStatusPB_ErrorCode_SERVICE_UNAVAILABLE;
254
  static const ErrorCode TIMED_OUT =
255
    AppStatusPB_ErrorCode_TIMED_OUT;
256
  static const ErrorCode UNINITIALIZED =
257
    AppStatusPB_ErrorCode_UNINITIALIZED;
258
  static const ErrorCode CONFIGURATION_ERROR =
259
    AppStatusPB_ErrorCode_CONFIGURATION_ERROR;
260
  static const ErrorCode INCOMPLETE =
261
    AppStatusPB_ErrorCode_INCOMPLETE;
262
  static const ErrorCode END_OF_FILE =
263
    AppStatusPB_ErrorCode_END_OF_FILE;
264
  static const ErrorCode INVALID_COMMAND =
265
    AppStatusPB_ErrorCode_INVALID_COMMAND;
266
  static const ErrorCode QL_ERROR =
267
    AppStatusPB_ErrorCode_QL_ERROR;
268
  static const ErrorCode INTERNAL_ERROR =
269
    AppStatusPB_ErrorCode_INTERNAL_ERROR;
270
  static const ErrorCode EXPIRED =
271
    AppStatusPB_ErrorCode_EXPIRED;
272
  static const ErrorCode LEADER_NOT_READY_TO_SERVE =
273
    AppStatusPB_ErrorCode_LEADER_NOT_READY_TO_SERVE;
274
  static const ErrorCode LEADER_HAS_NO_LEASE =
275
    AppStatusPB_ErrorCode_LEADER_HAS_NO_LEASE;
276
  static const ErrorCode TRY_AGAIN_CODE =
277
    AppStatusPB_ErrorCode_TRY_AGAIN_CODE;
278
  static const ErrorCode BUSY =
279
    AppStatusPB_ErrorCode_BUSY;
280
  static const ErrorCode SHUTDOWN_IN_PROGRESS =
281
    AppStatusPB_ErrorCode_SHUTDOWN_IN_PROGRESS;
282
  static const ErrorCode MERGE_IN_PROGRESS =
283
    AppStatusPB_ErrorCode_MERGE_IN_PROGRESS;
284
  static const ErrorCode COMBINED_ERROR =
285
    AppStatusPB_ErrorCode_COMBINED_ERROR;
286
  static const ErrorCode SNAPSHOT_TOO_OLD =
287
    AppStatusPB_ErrorCode_SNAPSHOT_TOO_OLD;
288
2
  static inline bool ErrorCode_IsValid(int value) {
289
2
    return AppStatusPB_ErrorCode_IsValid(value);
290
2
  }
291
  static const ErrorCode ErrorCode_MIN =
292
    AppStatusPB_ErrorCode_ErrorCode_MIN;
293
  static const ErrorCode ErrorCode_MAX =
294
    AppStatusPB_ErrorCode_ErrorCode_MAX;
295
  static const int ErrorCode_ARRAYSIZE =
296
    AppStatusPB_ErrorCode_ErrorCode_ARRAYSIZE;
297
  static inline const ::google::protobuf::EnumDescriptor*
298
0
  ErrorCode_descriptor() {
299
0
    return AppStatusPB_ErrorCode_descriptor();
300
0
  }
301
2
  static inline const ::std::string& ErrorCode_Name(ErrorCode value) {
302
2
    return AppStatusPB_ErrorCode_Name(value);
303
2
  }
304
  static inline bool ErrorCode_Parse(const ::std::string& name,
305
0
      ErrorCode* value) {
306
0
    return AppStatusPB_ErrorCode_Parse(name, value);
307
0
  }
308
309
  // accessors -------------------------------------------------------
310
311
  // optional string message = 2;
312
  bool has_message() const;
313
  void clear_message();
314
  static const int kMessageFieldNumber = 2;
315
  const ::std::string& message() const;
316
  void set_message(const ::std::string& value);
317
  #if LANG_CXX11
318
  void set_message(::std::string&& value);
319
  #endif
320
  void set_message(const char* value);
321
  void set_message(const char* value, size_t size);
322
  ::std::string* mutable_message();
323
  ::std::string* release_message();
324
  void set_allocated_message(::std::string* message);
325
326
  // optional string source_file = 6;
327
  bool has_source_file() const;
328
  void clear_source_file();
329
  static const int kSourceFileFieldNumber = 6;
330
  const ::std::string& source_file() const;
331
  void set_source_file(const ::std::string& value);
332
  #if LANG_CXX11
333
  void set_source_file(::std::string&& value);
334
  #endif
335
  void set_source_file(const char* value);
336
  void set_source_file(const char* value, size_t size);
337
  ::std::string* mutable_source_file();
338
  ::std::string* release_source_file();
339
  void set_allocated_source_file(::std::string* source_file);
340
341
  // optional bytes errors = 9;
342
  bool has_errors() const;
343
  void clear_errors();
344
  static const int kErrorsFieldNumber = 9;
345
  const ::std::string& errors() const;
346
  void set_errors(const ::std::string& value);
347
  #if LANG_CXX11
348
  void set_errors(::std::string&& value);
349
  #endif
350
  void set_errors(const char* value);
351
  void set_errors(const void* value, size_t size);
352
  ::std::string* mutable_errors();
353
  ::std::string* release_errors();
354
  void set_allocated_errors(::std::string* errors);
355
356
  // optional int32 source_line = 7;
357
  bool has_source_line() const;
358
  void clear_source_line();
359
  static const int kSourceLineFieldNumber = 7;
360
  ::google::protobuf::int32 source_line() const;
361
  void set_source_line(::google::protobuf::int32 value);
362
363
  // required .yb.AppStatusPB.ErrorCode code = 1;
364
  bool has_code() const;
365
  void clear_code();
366
  static const int kCodeFieldNumber = 1;
367
  ::yb::AppStatusPB_ErrorCode code() const;
368
  void set_code(::yb::AppStatusPB_ErrorCode value);
369
370
  // optional int32 posix_code = 4;
371
  bool has_posix_code() const;
372
  void clear_posix_code();
373
  static const int kPosixCodeFieldNumber = 4;
374
  ::google::protobuf::int32 posix_code() const;
375
  void set_posix_code(::google::protobuf::int32 value);
376
377
  // optional int64 ql_error_code = 5;
378
  bool has_ql_error_code() const;
379
  void clear_ql_error_code();
380
  static const int kQlErrorCodeFieldNumber = 5;
381
  ::google::protobuf::int64 ql_error_code() const;
382
  void set_ql_error_code(::google::protobuf::int64 value);
383
384
  ErrorCodesCase error_codes_case() const;
385
  // @@protoc_insertion_point(class_scope:yb.AppStatusPB)
386
 private:
387
  void set_has_code();
388
  void clear_has_code();
389
  void set_has_message();
390
  void clear_has_message();
391
  void set_has_posix_code();
392
  void set_has_ql_error_code();
393
  void set_has_source_file();
394
  void clear_has_source_file();
395
  void set_has_source_line();
396
  void clear_has_source_line();
397
  void set_has_errors();
398
  void clear_has_errors();
399
400
  inline bool has_error_codes() const;
401
  void clear_error_codes();
402
  inline void clear_has_error_codes();
403
404
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
405
  ::google::protobuf::internal::HasBits<1> _has_bits_;
406
  mutable int _cached_size_;
407
  ::google::protobuf::internal::ArenaStringPtr message_;
408
  ::google::protobuf::internal::ArenaStringPtr source_file_;
409
  ::google::protobuf::internal::ArenaStringPtr errors_;
410
  ::google::protobuf::int32 source_line_;
411
  int code_;
412
  union ErrorCodesUnion {
413
3.51M
    ErrorCodesUnion() {}
414
    ::google::protobuf::int32 posix_code_;
415
    ::google::protobuf::int64 ql_error_code_;
416
  } error_codes_;
417
  ::google::protobuf::uint32 _oneof_case_[1];
418
419
  friend struct ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::TableStruct;
420
  friend void ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPBImpl();
421
};
422
// -------------------------------------------------------------------
423
424
class NodeInstancePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.NodeInstancePB) */ {
425
 public:
426
  NodeInstancePB();
427
  virtual ~NodeInstancePB();
428
429
  NodeInstancePB(const NodeInstancePB& from);
430
431
0
  inline NodeInstancePB& operator=(const NodeInstancePB& from) {
432
0
    CopyFrom(from);
433
0
    return *this;
434
0
  }
435
  #if LANG_CXX11
436
  NodeInstancePB(NodeInstancePB&& from) noexcept
437
0
    : NodeInstancePB() {
438
0
    *this = ::std::move(from);
439
0
  }
440
441
34.5k
  inline NodeInstancePB& operator=(NodeInstancePB&& from) noexcept {
442
34.5k
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
443
34.5k
      if (this != &from) InternalSwap(&from);
444
34.5k
    } else {
445
0
      CopyFrom(from);
446
0
    }
447
34.5k
    return *this;
448
34.5k
  }
449
  #endif
450
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
451
0
    return _internal_metadata_.unknown_fields();
452
0
  }
453
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
454
0
    return _internal_metadata_.mutable_unknown_fields();
455
0
  }
456
457
  static const ::google::protobuf::Descriptor* descriptor();
458
  static const NodeInstancePB& default_instance();
459
460
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
461
119M
  static inline const NodeInstancePB* internal_default_instance() {
462
119M
    return reinterpret_cast<const NodeInstancePB*>(
463
119M
               &_NodeInstancePB_default_instance_);
464
119M
  }
465
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
466
    1;
467
468
  void Swap(NodeInstancePB* other);
469
0
  friend void swap(NodeInstancePB& a, NodeInstancePB& b) {
470
0
    a.Swap(&b);
471
0
  }
472
473
  // implements Message ----------------------------------------------
474
475
0
  inline NodeInstancePB* New() const PROTOBUF_FINAL { return New(NULL); }
476
477
  NodeInstancePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
478
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
479
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
480
  void CopyFrom(const NodeInstancePB& from);
481
  void MergeFrom(const NodeInstancePB& from);
482
  void Clear() PROTOBUF_FINAL;
483
  bool IsInitialized() const PROTOBUF_FINAL;
484
485
  size_t ByteSizeLong() const PROTOBUF_FINAL;
486
  bool MergePartialFromCodedStream(
487
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
488
  void SerializeWithCachedSizes(
489
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
490
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
491
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
492
57.1M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
493
  private:
494
  void SharedCtor();
495
  void SharedDtor();
496
  void SetCachedSize(int size) const PROTOBUF_FINAL;
497
  void InternalSwap(NodeInstancePB* other);
498
  private:
499
69.1k
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
500
69.1k
    return NULL;
501
69.1k
  }
502
0
  inline void* MaybeArenaPtr() const {
503
0
    return NULL;
504
0
  }
505
  public:
506
507
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
508
509
  // nested types ----------------------------------------------------
510
511
  // accessors -------------------------------------------------------
512
513
  // required bytes permanent_uuid = 1;
514
  bool has_permanent_uuid() const;
515
  void clear_permanent_uuid();
516
  static const int kPermanentUuidFieldNumber = 1;
517
  const ::std::string& permanent_uuid() const;
518
  void set_permanent_uuid(const ::std::string& value);
519
  #if LANG_CXX11
520
  void set_permanent_uuid(::std::string&& value);
521
  #endif
522
  void set_permanent_uuid(const char* value);
523
  void set_permanent_uuid(const void* value, size_t size);
524
  ::std::string* mutable_permanent_uuid();
525
  ::std::string* release_permanent_uuid();
526
  void set_allocated_permanent_uuid(::std::string* permanent_uuid);
527
528
  // required int64 instance_seqno = 2;
529
  bool has_instance_seqno() const;
530
  void clear_instance_seqno();
531
  static const int kInstanceSeqnoFieldNumber = 2;
532
  ::google::protobuf::int64 instance_seqno() const;
533
  void set_instance_seqno(::google::protobuf::int64 value);
534
535
  // optional uint64 start_time_us = 3;
536
  bool has_start_time_us() const;
537
  void clear_start_time_us();
538
  static const int kStartTimeUsFieldNumber = 3;
539
  ::google::protobuf::uint64 start_time_us() const;
540
  void set_start_time_us(::google::protobuf::uint64 value);
541
542
  // @@protoc_insertion_point(class_scope:yb.NodeInstancePB)
543
 private:
544
  void set_has_permanent_uuid();
545
  void clear_has_permanent_uuid();
546
  void set_has_instance_seqno();
547
  void clear_has_instance_seqno();
548
  void set_has_start_time_us();
549
  void clear_has_start_time_us();
550
551
  // helper for ByteSizeLong()
552
  size_t RequiredFieldsByteSizeFallback() const;
553
554
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
555
  ::google::protobuf::internal::HasBits<1> _has_bits_;
556
  mutable int _cached_size_;
557
  ::google::protobuf::internal::ArenaStringPtr permanent_uuid_;
558
  ::google::protobuf::int64 instance_seqno_;
559
  ::google::protobuf::uint64 start_time_us_;
560
  friend struct ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::TableStruct;
561
  friend void ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsNodeInstancePBImpl();
562
};
563
// -------------------------------------------------------------------
564
565
class ServerRegistrationPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.ServerRegistrationPB) */ {
566
 public:
567
  ServerRegistrationPB();
568
  virtual ~ServerRegistrationPB();
569
570
  ServerRegistrationPB(const ServerRegistrationPB& from);
571
572
0
  inline ServerRegistrationPB& operator=(const ServerRegistrationPB& from) {
573
0
    CopyFrom(from);
574
0
    return *this;
575
0
  }
576
  #if LANG_CXX11
577
  ServerRegistrationPB(ServerRegistrationPB&& from) noexcept
578
0
    : ServerRegistrationPB() {
579
0
    *this = ::std::move(from);
580
0
  }
581
582
0
  inline ServerRegistrationPB& operator=(ServerRegistrationPB&& from) noexcept {
583
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
584
0
      if (this != &from) InternalSwap(&from);
585
0
    } else {
586
0
      CopyFrom(from);
587
0
    }
588
0
    return *this;
589
0
  }
590
  #endif
591
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
592
0
    return _internal_metadata_.unknown_fields();
593
0
  }
594
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
595
0
    return _internal_metadata_.mutable_unknown_fields();
596
0
  }
597
598
  static const ::google::protobuf::Descriptor* descriptor();
599
  static const ServerRegistrationPB& default_instance();
600
601
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
602
197M
  static inline const ServerRegistrationPB* internal_default_instance() {
603
197M
    return reinterpret_cast<const ServerRegistrationPB*>(
604
197M
               &_ServerRegistrationPB_default_instance_);
605
197M
  }
606
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
607
    2;
608
609
  void Swap(ServerRegistrationPB* other);
610
0
  friend void swap(ServerRegistrationPB& a, ServerRegistrationPB& b) {
611
0
    a.Swap(&b);
612
0
  }
613
614
  // implements Message ----------------------------------------------
615
616
0
  inline ServerRegistrationPB* New() const PROTOBUF_FINAL { return New(NULL); }
617
618
  ServerRegistrationPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
619
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
620
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
621
  void CopyFrom(const ServerRegistrationPB& from);
622
  void MergeFrom(const ServerRegistrationPB& from);
623
  void Clear() PROTOBUF_FINAL;
624
  bool IsInitialized() const PROTOBUF_FINAL;
625
626
  size_t ByteSizeLong() const PROTOBUF_FINAL;
627
  bool MergePartialFromCodedStream(
628
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
629
  void SerializeWithCachedSizes(
630
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
631
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
632
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
633
46.5M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
634
  private:
635
  void SharedCtor();
636
  void SharedDtor();
637
  void SetCachedSize(int size) const PROTOBUF_FINAL;
638
  void InternalSwap(ServerRegistrationPB* other);
639
  private:
640
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
641
0
    return NULL;
642
0
  }
643
0
  inline void* MaybeArenaPtr() const {
644
0
    return NULL;
645
0
  }
646
  public:
647
648
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
649
650
  // nested types ----------------------------------------------------
651
652
  // accessors -------------------------------------------------------
653
654
  // repeated .yb.HostPortPB private_rpc_addresses = 1;
655
  int private_rpc_addresses_size() const;
656
  void clear_private_rpc_addresses();
657
  static const int kPrivateRpcAddressesFieldNumber = 1;
658
  const ::yb::HostPortPB& private_rpc_addresses(int index) const;
659
  ::yb::HostPortPB* mutable_private_rpc_addresses(int index);
660
  ::yb::HostPortPB* add_private_rpc_addresses();
661
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
662
      mutable_private_rpc_addresses();
663
  const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
664
      private_rpc_addresses() const;
665
666
  // repeated .yb.HostPortPB http_addresses = 2;
667
  int http_addresses_size() const;
668
  void clear_http_addresses();
669
  static const int kHttpAddressesFieldNumber = 2;
670
  const ::yb::HostPortPB& http_addresses(int index) const;
671
  ::yb::HostPortPB* mutable_http_addresses(int index);
672
  ::yb::HostPortPB* add_http_addresses();
673
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
674
      mutable_http_addresses();
675
  const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
676
      http_addresses() const;
677
678
  // repeated .yb.HostPortPB broadcast_addresses = 5;
679
  int broadcast_addresses_size() const;
680
  void clear_broadcast_addresses();
681
  static const int kBroadcastAddressesFieldNumber = 5;
682
  const ::yb::HostPortPB& broadcast_addresses(int index) const;
683
  ::yb::HostPortPB* mutable_broadcast_addresses(int index);
684
  ::yb::HostPortPB* add_broadcast_addresses();
685
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
686
      mutable_broadcast_addresses();
687
  const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
688
      broadcast_addresses() const;
689
690
  // optional bytes placement_uuid = 4;
691
  bool has_placement_uuid() const;
692
  void clear_placement_uuid();
693
  static const int kPlacementUuidFieldNumber = 4;
694
  const ::std::string& placement_uuid() const;
695
  void set_placement_uuid(const ::std::string& value);
696
  #if LANG_CXX11
697
  void set_placement_uuid(::std::string&& value);
698
  #endif
699
  void set_placement_uuid(const char* value);
700
  void set_placement_uuid(const void* value, size_t size);
701
  ::std::string* mutable_placement_uuid();
702
  ::std::string* release_placement_uuid();
703
  void set_allocated_placement_uuid(::std::string* placement_uuid);
704
705
  // optional .yb.CloudInfoPB cloud_info = 3;
706
  bool has_cloud_info() const;
707
  void clear_cloud_info();
708
  static const int kCloudInfoFieldNumber = 3;
709
  const ::yb::CloudInfoPB& cloud_info() const;
710
  ::yb::CloudInfoPB* release_cloud_info();
711
  ::yb::CloudInfoPB* mutable_cloud_info();
712
  void set_allocated_cloud_info(::yb::CloudInfoPB* cloud_info);
713
714
  // optional uint32 pg_port = 6 [default = 5433];
715
  bool has_pg_port() const;
716
  void clear_pg_port();
717
  static const int kPgPortFieldNumber = 6;
718
  ::google::protobuf::uint32 pg_port() const;
719
  void set_pg_port(::google::protobuf::uint32 value);
720
721
  // @@protoc_insertion_point(class_scope:yb.ServerRegistrationPB)
722
 private:
723
  void set_has_pg_port();
724
  void clear_has_pg_port();
725
  void set_has_cloud_info();
726
  void clear_has_cloud_info();
727
  void set_has_placement_uuid();
728
  void clear_has_placement_uuid();
729
730
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
731
  ::google::protobuf::internal::HasBits<1> _has_bits_;
732
  mutable int _cached_size_;
733
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > private_rpc_addresses_;
734
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > http_addresses_;
735
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > broadcast_addresses_;
736
  ::google::protobuf::internal::ArenaStringPtr placement_uuid_;
737
  ::yb::CloudInfoPB* cloud_info_;
738
  ::google::protobuf::uint32 pg_port_;
739
  friend struct ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::TableStruct;
740
  friend void ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsServerRegistrationPBImpl();
741
};
742
// -------------------------------------------------------------------
743
744
class ServerEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.ServerEntryPB) */ {
745
 public:
746
  ServerEntryPB();
747
  virtual ~ServerEntryPB();
748
749
  ServerEntryPB(const ServerEntryPB& from);
750
751
0
  inline ServerEntryPB& operator=(const ServerEntryPB& from) {
752
0
    CopyFrom(from);
753
0
    return *this;
754
0
  }
755
  #if LANG_CXX11
756
  ServerEntryPB(ServerEntryPB&& from) noexcept
757
371
    : ServerEntryPB() {
758
371
    *this = ::std::move(from);
759
371
  }
Unexecuted instantiation: yb::ServerEntryPB::ServerEntryPB(yb::ServerEntryPB&&)
yb::ServerEntryPB::ServerEntryPB(yb::ServerEntryPB&&)
Line
Count
Source
757
371
    : ServerEntryPB() {
758
371
    *this = ::std::move(from);
759
371
  }
760
761
371
  inline ServerEntryPB& operator=(ServerEntryPB&& from) noexcept {
762
371
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
763
371
      if (this != &from) InternalSwap(&from);
764
371
    } else {
765
0
      CopyFrom(from);
766
0
    }
767
371
    return *this;
768
371
  }
769
  #endif
770
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
771
0
    return _internal_metadata_.unknown_fields();
772
0
  }
773
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
774
0
    return _internal_metadata_.mutable_unknown_fields();
775
0
  }
776
777
  static const ::google::protobuf::Descriptor* descriptor();
778
  static const ServerEntryPB& default_instance();
779
780
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
781
10.6M
  static inline const ServerEntryPB* internal_default_instance() {
782
10.6M
    return reinterpret_cast<const ServerEntryPB*>(
783
10.6M
               &_ServerEntryPB_default_instance_);
784
10.6M
  }
785
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
786
    3;
787
788
  void Swap(ServerEntryPB* other);
789
0
  friend void swap(ServerEntryPB& a, ServerEntryPB& b) {
790
0
    a.Swap(&b);
791
0
  }
792
793
  // implements Message ----------------------------------------------
794
795
0
  inline ServerEntryPB* New() const PROTOBUF_FINAL { return New(NULL); }
796
797
  ServerEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
798
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
799
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
800
  void CopyFrom(const ServerEntryPB& from);
801
  void MergeFrom(const ServerEntryPB& from);
802
  void Clear() PROTOBUF_FINAL;
803
  bool IsInitialized() const PROTOBUF_FINAL;
804
805
  size_t ByteSizeLong() const PROTOBUF_FINAL;
806
  bool MergePartialFromCodedStream(
807
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
808
  void SerializeWithCachedSizes(
809
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
810
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
811
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
812
207
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
813
  private:
814
  void SharedCtor();
815
  void SharedDtor();
816
  void SetCachedSize(int size) const PROTOBUF_FINAL;
817
  void InternalSwap(ServerEntryPB* other);
818
  private:
819
742
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
820
742
    return NULL;
821
742
  }
822
0
  inline void* MaybeArenaPtr() const {
823
0
    return NULL;
824
0
  }
825
  public:
826
827
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
828
829
  // nested types ----------------------------------------------------
830
831
  // accessors -------------------------------------------------------
832
833
  // optional .yb.AppStatusPB error = 1;
834
  bool has_error() const;
835
  void clear_error();
836
  static const int kErrorFieldNumber = 1;
837
  const ::yb::AppStatusPB& error() const;
838
  ::yb::AppStatusPB* release_error();
839
  ::yb::AppStatusPB* mutable_error();
840
  void set_allocated_error(::yb::AppStatusPB* error);
841
842
  // optional .yb.NodeInstancePB instance_id = 2;
843
  bool has_instance_id() const;
844
  void clear_instance_id();
845
  static const int kInstanceIdFieldNumber = 2;
846
  const ::yb::NodeInstancePB& instance_id() const;
847
  ::yb::NodeInstancePB* release_instance_id();
848
  ::yb::NodeInstancePB* mutable_instance_id();
849
  void set_allocated_instance_id(::yb::NodeInstancePB* instance_id);
850
851
  // optional .yb.ServerRegistrationPB registration = 3;
852
  bool has_registration() const;
853
  void clear_registration();
854
  static const int kRegistrationFieldNumber = 3;
855
  const ::yb::ServerRegistrationPB& registration() const;
856
  ::yb::ServerRegistrationPB* release_registration();
857
  ::yb::ServerRegistrationPB* mutable_registration();
858
  void set_allocated_registration(::yb::ServerRegistrationPB* registration);
859
860
  // optional .yb.PeerRole role = 4;
861
  bool has_role() const;
862
  void clear_role();
863
  static const int kRoleFieldNumber = 4;
864
  ::yb::PeerRole role() const;
865
  void set_role(::yb::PeerRole value);
866
867
  // @@protoc_insertion_point(class_scope:yb.ServerEntryPB)
868
 private:
869
  void set_has_error();
870
  void clear_has_error();
871
  void set_has_instance_id();
872
  void clear_has_instance_id();
873
  void set_has_registration();
874
  void clear_has_registration();
875
  void set_has_role();
876
  void clear_has_role();
877
878
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
879
  ::google::protobuf::internal::HasBits<1> _has_bits_;
880
  mutable int _cached_size_;
881
  ::yb::AppStatusPB* error_;
882
  ::yb::NodeInstancePB* instance_id_;
883
  ::yb::ServerRegistrationPB* registration_;
884
  int role_;
885
  friend struct ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::TableStruct;
886
  friend void ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsServerEntryPBImpl();
887
};
888
// ===================================================================
889
890
891
// ===================================================================
892
893
#ifdef __GNUC__
894
  #pragma GCC diagnostic push
895
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
896
#endif  // __GNUC__
897
// AppStatusPB
898
899
// required .yb.AppStatusPB.ErrorCode code = 1;
900
3.41M
inline bool AppStatusPB::has_code() const {
901
3.41M
  return (_has_bits_[0] & 0x00000010u) != 0;
902
3.41M
}
903
3.59M
inline void AppStatusPB::set_has_code() {
904
3.59M
  _has_bits_[0] |= 0x00000010u;
905
3.59M
}
906
0
inline void AppStatusPB::clear_has_code() {
907
0
  _has_bits_[0] &= ~0x00000010u;
908
0
}
909
0
inline void AppStatusPB::clear_code() {
910
0
  code_ = 999;
911
0
  clear_has_code();
912
0
}
913
7.70M
inline ::yb::AppStatusPB_ErrorCode AppStatusPB::code() const {
914
  // @@protoc_insertion_point(field_get:yb.AppStatusPB.code)
915
7.70M
  return static_cast< ::yb::AppStatusPB_ErrorCode >(code_);
916
7.70M
}
917
3.59M
inline void AppStatusPB::set_code(::yb::AppStatusPB_ErrorCode value) {
918
3.59M
  assert(::yb::AppStatusPB_ErrorCode_IsValid(value));
919
0
  set_has_code();
920
3.59M
  code_ = value;
921
  // @@protoc_insertion_point(field_set:yb.AppStatusPB.code)
922
3.59M
}
923
924
// optional string message = 2;
925
3.41M
inline bool AppStatusPB::has_message() const {
926
3.41M
  return (_has_bits_[0] & 0x00000001u) != 0;
927
3.41M
}
928
3.59M
inline void AppStatusPB::set_has_message() {
929
3.59M
  _has_bits_[0] |= 0x00000001u;
930
3.59M
}
931
0
inline void AppStatusPB::clear_has_message() {
932
0
  _has_bits_[0] &= ~0x00000001u;
933
0
}
934
0
inline void AppStatusPB::clear_message() {
935
0
  message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
936
0
  clear_has_message();
937
0
}
938
12.6M
inline const ::std::string& AppStatusPB::message() const {
939
  // @@protoc_insertion_point(field_get:yb.AppStatusPB.message)
940
12.6M
  return message_.GetNoArena();
941
12.6M
}
942
0
inline void AppStatusPB::set_message(const ::std::string& value) {
943
0
  set_has_message();
944
0
  message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
945
0
  // @@protoc_insertion_point(field_set:yb.AppStatusPB.message)
946
0
}
947
#if LANG_CXX11
948
0
inline void AppStatusPB::set_message(::std::string&& value) {
949
0
  set_has_message();
950
0
  message_.SetNoArena(
951
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
952
0
  // @@protoc_insertion_point(field_set_rvalue:yb.AppStatusPB.message)
953
0
}
954
#endif
955
0
inline void AppStatusPB::set_message(const char* value) {
956
0
  GOOGLE_DCHECK(value != NULL);
957
0
  set_has_message();
958
0
  message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
959
0
  // @@protoc_insertion_point(field_set_char:yb.AppStatusPB.message)
960
0
}
961
1.86M
inline void AppStatusPB::set_message(const char* value, size_t size) {
962
1.86M
  set_has_message();
963
1.86M
  message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
964
1.86M
      ::std::string(reinterpret_cast<const char*>(value), size));
965
  // @@protoc_insertion_point(field_set_pointer:yb.AppStatusPB.message)
966
1.86M
}
967
1.73M
inline ::std::string* AppStatusPB::mutable_message() {
968
1.73M
  set_has_message();
969
  // @@protoc_insertion_point(field_mutable:yb.AppStatusPB.message)
970
1.73M
  return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
971
1.73M
}
972
0
inline ::std::string* AppStatusPB::release_message() {
973
0
  // @@protoc_insertion_point(field_release:yb.AppStatusPB.message)
974
0
  clear_has_message();
975
0
  return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
976
0
}
977
0
inline void AppStatusPB::set_allocated_message(::std::string* message) {
978
0
  if (message != NULL) {
979
0
    set_has_message();
980
0
  } else {
981
0
    clear_has_message();
982
0
  }
983
0
  message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message);
984
0
  // @@protoc_insertion_point(field_set_allocated:yb.AppStatusPB.message)
985
0
}
986
987
// optional int32 posix_code = 4;
988
72
inline bool AppStatusPB::has_posix_code() const {
989
72
  return error_codes_case() == kPosixCode;
990
72
}
991
31
inline void AppStatusPB::set_has_posix_code() {
992
31
  _oneof_case_[0] = kPosixCode;
993
31
}
994
0
inline void AppStatusPB::clear_posix_code() {
995
0
  if (has_posix_code()) {
996
0
    error_codes_.posix_code_ = 0;
997
0
    clear_has_error_codes();
998
0
  }
999
0
}
1000
51
inline ::google::protobuf::int32 AppStatusPB::posix_code() const {
1001
  // @@protoc_insertion_point(field_get:yb.AppStatusPB.posix_code)
1002
51
  if (has_posix_code()) {
1003
51
    return error_codes_.posix_code_;
1004
51
  }
1005
0
  return 0;
1006
51
}
1007
18
inline void AppStatusPB::set_posix_code(::google::protobuf::int32 value) {
1008
18
  if (!has_posix_code()) {
1009
17
    clear_error_codes();
1010
17
    set_has_posix_code();
1011
17
  }
1012
18
  error_codes_.posix_code_ = value;
1013
  // @@protoc_insertion_point(field_set:yb.AppStatusPB.posix_code)
1014
18
}
1015
1016
// optional int64 ql_error_code = 5;
1017
0
inline bool AppStatusPB::has_ql_error_code() const {
1018
0
  return error_codes_case() == kQlErrorCode;
1019
0
}
1020
0
inline void AppStatusPB::set_has_ql_error_code() {
1021
0
  _oneof_case_[0] = kQlErrorCode;
1022
0
}
1023
0
inline void AppStatusPB::clear_ql_error_code() {
1024
0
  if (has_ql_error_code()) {
1025
0
    error_codes_.ql_error_code_ = GOOGLE_LONGLONG(0);
1026
0
    clear_has_error_codes();
1027
0
  }
1028
0
}
1029
0
inline ::google::protobuf::int64 AppStatusPB::ql_error_code() const {
1030
0
  // @@protoc_insertion_point(field_get:yb.AppStatusPB.ql_error_code)
1031
0
  if (has_ql_error_code()) {
1032
0
    return error_codes_.ql_error_code_;
1033
0
  }
1034
0
  return GOOGLE_LONGLONG(0);
1035
0
}
1036
0
inline void AppStatusPB::set_ql_error_code(::google::protobuf::int64 value) {
1037
0
  if (!has_ql_error_code()) {
1038
0
    clear_error_codes();
1039
0
    set_has_ql_error_code();
1040
0
  }
1041
0
  error_codes_.ql_error_code_ = value;
1042
0
  // @@protoc_insertion_point(field_set:yb.AppStatusPB.ql_error_code)
1043
0
}
1044
1045
// optional string source_file = 6;
1046
3.41M
inline bool AppStatusPB::has_source_file() const {
1047
3.41M
  return (_has_bits_[0] & 0x00000002u) != 0;
1048
3.41M
}
1049
3.60M
inline void AppStatusPB::set_has_source_file() {
1050
3.60M
  _has_bits_[0] |= 0x00000002u;
1051
3.60M
}
1052
0
inline void AppStatusPB::clear_has_source_file() {
1053
0
  _has_bits_[0] &= ~0x00000002u;
1054
0
}
1055
0
inline void AppStatusPB::clear_source_file() {
1056
0
  source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1057
0
  clear_has_source_file();
1058
0
}
1059
12.6M
inline const ::std::string& AppStatusPB::source_file() const {
1060
  // @@protoc_insertion_point(field_get:yb.AppStatusPB.source_file)
1061
12.6M
  return source_file_.GetNoArena();
1062
12.6M
}
1063
0
inline void AppStatusPB::set_source_file(const ::std::string& value) {
1064
0
  set_has_source_file();
1065
0
  source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1066
0
  // @@protoc_insertion_point(field_set:yb.AppStatusPB.source_file)
1067
0
}
1068
#if LANG_CXX11
1069
0
inline void AppStatusPB::set_source_file(::std::string&& value) {
1070
0
  set_has_source_file();
1071
0
  source_file_.SetNoArena(
1072
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1073
0
  // @@protoc_insertion_point(field_set_rvalue:yb.AppStatusPB.source_file)
1074
0
}
1075
#endif
1076
1.86M
inline void AppStatusPB::set_source_file(const char* value) {
1077
1.86M
  GOOGLE_DCHECK(value != NULL);
1078
1.86M
  set_has_source_file();
1079
1.86M
  source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1080
  // @@protoc_insertion_point(field_set_char:yb.AppStatusPB.source_file)
1081
1.86M
}
1082
0
inline void AppStatusPB::set_source_file(const char* value, size_t size) {
1083
0
  set_has_source_file();
1084
0
  source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1085
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1086
0
  // @@protoc_insertion_point(field_set_pointer:yb.AppStatusPB.source_file)
1087
0
}
1088
1.73M
inline ::std::string* AppStatusPB::mutable_source_file() {
1089
1.73M
  set_has_source_file();
1090
  // @@protoc_insertion_point(field_mutable:yb.AppStatusPB.source_file)
1091
1.73M
  return source_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1092
1.73M
}
1093
0
inline ::std::string* AppStatusPB::release_source_file() {
1094
0
  // @@protoc_insertion_point(field_release:yb.AppStatusPB.source_file)
1095
0
  clear_has_source_file();
1096
0
  return source_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1097
0
}
1098
0
inline void AppStatusPB::set_allocated_source_file(::std::string* source_file) {
1099
0
  if (source_file != NULL) {
1100
0
    set_has_source_file();
1101
0
  } else {
1102
0
    clear_has_source_file();
1103
0
  }
1104
0
  source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source_file);
1105
0
  // @@protoc_insertion_point(field_set_allocated:yb.AppStatusPB.source_file)
1106
0
}
1107
1108
// optional int32 source_line = 7;
1109
3.41M
inline bool AppStatusPB::has_source_line() const {
1110
3.41M
  return (_has_bits_[0] & 0x00000008u) != 0;
1111
3.41M
}
1112
3.59M
inline void AppStatusPB::set_has_source_line() {
1113
3.59M
  _has_bits_[0] |= 0x00000008u;
1114
3.59M
}
1115
0
inline void AppStatusPB::clear_has_source_line() {
1116
0
  _has_bits_[0] &= ~0x00000008u;
1117
0
}
1118
0
inline void AppStatusPB::clear_source_line() {
1119
0
  source_line_ = 0;
1120
0
  clear_has_source_line();
1121
0
}
1122
5.75M
inline ::google::protobuf::int32 AppStatusPB::source_line() const {
1123
  // @@protoc_insertion_point(field_get:yb.AppStatusPB.source_line)
1124
5.75M
  return source_line_;
1125
5.75M
}
1126
1.86M
inline void AppStatusPB::set_source_line(::google::protobuf::int32 value) {
1127
1.86M
  set_has_source_line();
1128
1.86M
  source_line_ = value;
1129
  // @@protoc_insertion_point(field_set:yb.AppStatusPB.source_line)
1130
1.86M
}
1131
1132
// optional bytes errors = 9;
1133
4.04M
inline bool AppStatusPB::has_errors() const {
1134
4.04M
  return (_has_bits_[0] & 0x00000004u) != 0;
1135
4.04M
}
1136
3.59M
inline void AppStatusPB::set_has_errors() {
1137
3.59M
  _has_bits_[0] |= 0x00000004u;
1138
3.59M
}
1139
0
inline void AppStatusPB::clear_has_errors() {
1140
0
  _has_bits_[0] &= ~0x00000004u;
1141
0
}
1142
0
inline void AppStatusPB::clear_errors() {
1143
0
  errors_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1144
0
  clear_has_errors();
1145
0
}
1146
5.75M
inline const ::std::string& AppStatusPB::errors() const {
1147
  // @@protoc_insertion_point(field_get:yb.AppStatusPB.errors)
1148
5.75M
  return errors_.GetNoArena();
1149
5.75M
}
1150
0
inline void AppStatusPB::set_errors(const ::std::string& value) {
1151
0
  set_has_errors();
1152
0
  errors_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1153
0
  // @@protoc_insertion_point(field_set:yb.AppStatusPB.errors)
1154
0
}
1155
#if LANG_CXX11
1156
0
inline void AppStatusPB::set_errors(::std::string&& value) {
1157
0
  set_has_errors();
1158
0
  errors_.SetNoArena(
1159
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1160
0
  // @@protoc_insertion_point(field_set_rvalue:yb.AppStatusPB.errors)
1161
0
}
1162
#endif
1163
0
inline void AppStatusPB::set_errors(const char* value) {
1164
0
  GOOGLE_DCHECK(value != NULL);
1165
0
  set_has_errors();
1166
0
  errors_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1167
0
  // @@protoc_insertion_point(field_set_char:yb.AppStatusPB.errors)
1168
0
}
1169
1.85M
inline void AppStatusPB::set_errors(const void* value, size_t size) {
1170
1.85M
  set_has_errors();
1171
1.85M
  errors_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1172
1.85M
      ::std::string(reinterpret_cast<const char*>(value), size));
1173
  // @@protoc_insertion_point(field_set_pointer:yb.AppStatusPB.errors)
1174
1.85M
}
1175
1.73M
inline ::std::string* AppStatusPB::mutable_errors() {
1176
1.73M
  set_has_errors();
1177
  // @@protoc_insertion_point(field_mutable:yb.AppStatusPB.errors)
1178
1.73M
  return errors_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1179
1.73M
}
1180
0
inline ::std::string* AppStatusPB::release_errors() {
1181
0
  // @@protoc_insertion_point(field_release:yb.AppStatusPB.errors)
1182
0
  clear_has_errors();
1183
0
  return errors_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1184
0
}
1185
0
inline void AppStatusPB::set_allocated_errors(::std::string* errors) {
1186
0
  if (errors != NULL) {
1187
0
    set_has_errors();
1188
0
  } else {
1189
0
    clear_has_errors();
1190
0
  }
1191
0
  errors_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), errors);
1192
0
  // @@protoc_insertion_point(field_set_allocated:yb.AppStatusPB.errors)
1193
0
}
1194
1195
3.42M
inline bool AppStatusPB::has_error_codes() const {
1196
3.42M
  return error_codes_case() != ERROR_CODES_NOT_SET;
1197
3.42M
}
1198
3.51M
inline void AppStatusPB::clear_has_error_codes() {
1199
3.51M
  _oneof_case_[0] = ERROR_CODES_NOT_SET;
1200
3.51M
}
1201
10.6M
inline AppStatusPB::ErrorCodesCase AppStatusPB::error_codes_case() const {
1202
10.6M
  return AppStatusPB::ErrorCodesCase(_oneof_case_[0]);
1203
10.6M
}
1204
// -------------------------------------------------------------------
1205
1206
// NodeInstancePB
1207
1208
// required bytes permanent_uuid = 1;
1209
584k
inline bool NodeInstancePB::has_permanent_uuid() const {
1210
584k
  return (_has_bits_[0] & 0x00000001u) != 0;
1211
584k
}
1212
164M
inline void NodeInstancePB::set_has_permanent_uuid() {
1213
164M
  _has_bits_[0] |= 0x00000001u;
1214
164M
}
1215
0
inline void NodeInstancePB::clear_has_permanent_uuid() {
1216
0
  _has_bits_[0] &= ~0x00000001u;
1217
0
}
1218
0
inline void NodeInstancePB::clear_permanent_uuid() {
1219
0
  permanent_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1220
0
  clear_has_permanent_uuid();
1221
0
}
1222
210M
inline const ::std::string& NodeInstancePB::permanent_uuid() const {
1223
  // @@protoc_insertion_point(field_get:yb.NodeInstancePB.permanent_uuid)
1224
210M
  return permanent_uuid_.GetNoArena();
1225
210M
}
1226
34.4k
inline void NodeInstancePB::set_permanent_uuid(const ::std::string& value) {
1227
34.4k
  set_has_permanent_uuid();
1228
34.4k
  permanent_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1229
  // @@protoc_insertion_point(field_set:yb.NodeInstancePB.permanent_uuid)
1230
34.4k
}
1231
#if LANG_CXX11
1232
0
inline void NodeInstancePB::set_permanent_uuid(::std::string&& value) {
1233
0
  set_has_permanent_uuid();
1234
0
  permanent_uuid_.SetNoArena(
1235
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1236
0
  // @@protoc_insertion_point(field_set_rvalue:yb.NodeInstancePB.permanent_uuid)
1237
0
}
1238
#endif
1239
inline void NodeInstancePB::set_permanent_uuid(const char* value) {
1240
  GOOGLE_DCHECK(value != NULL);
1241
  set_has_permanent_uuid();
1242
  permanent_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1243
  // @@protoc_insertion_point(field_set_char:yb.NodeInstancePB.permanent_uuid)
1244
}
1245
0
inline void NodeInstancePB::set_permanent_uuid(const void* value, size_t size) {
1246
0
  set_has_permanent_uuid();
1247
0
  permanent_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1248
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1249
0
  // @@protoc_insertion_point(field_set_pointer:yb.NodeInstancePB.permanent_uuid)
1250
0
}
1251
58.9M
inline ::std::string* NodeInstancePB::mutable_permanent_uuid() {
1252
58.9M
  set_has_permanent_uuid();
1253
  // @@protoc_insertion_point(field_mutable:yb.NodeInstancePB.permanent_uuid)
1254
58.9M
  return permanent_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1255
58.9M
}
1256
0
inline ::std::string* NodeInstancePB::release_permanent_uuid() {
1257
0
  // @@protoc_insertion_point(field_release:yb.NodeInstancePB.permanent_uuid)
1258
0
  clear_has_permanent_uuid();
1259
0
  return permanent_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1260
0
}
1261
0
inline void NodeInstancePB::set_allocated_permanent_uuid(::std::string* permanent_uuid) {
1262
0
  if (permanent_uuid != NULL) {
1263
0
    set_has_permanent_uuid();
1264
0
  } else {
1265
0
    clear_has_permanent_uuid();
1266
0
  }
1267
0
  permanent_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), permanent_uuid);
1268
0
  // @@protoc_insertion_point(field_set_allocated:yb.NodeInstancePB.permanent_uuid)
1269
0
}
1270
1271
// required int64 instance_seqno = 2;
1272
0
inline bool NodeInstancePB::has_instance_seqno() const {
1273
0
  return (_has_bits_[0] & 0x00000002u) != 0;
1274
0
}
1275
58.9M
inline void NodeInstancePB::set_has_instance_seqno() {
1276
58.9M
  _has_bits_[0] |= 0x00000002u;
1277
58.9M
}
1278
0
inline void NodeInstancePB::clear_has_instance_seqno() {
1279
0
  _has_bits_[0] &= ~0x00000002u;
1280
0
}
1281
0
inline void NodeInstancePB::clear_instance_seqno() {
1282
0
  instance_seqno_ = GOOGLE_LONGLONG(0);
1283
0
  clear_has_instance_seqno();
1284
0
}
1285
180M
inline ::google::protobuf::int64 NodeInstancePB::instance_seqno() const {
1286
  // @@protoc_insertion_point(field_get:yb.NodeInstancePB.instance_seqno)
1287
180M
  return instance_seqno_;
1288
180M
}
1289
34.3k
inline void NodeInstancePB::set_instance_seqno(::google::protobuf::int64 value) {
1290
34.3k
  set_has_instance_seqno();
1291
34.3k
  instance_seqno_ = value;
1292
  // @@protoc_insertion_point(field_set:yb.NodeInstancePB.instance_seqno)
1293
34.3k
}
1294
1295
// optional uint64 start_time_us = 3;
1296
114M
inline bool NodeInstancePB::has_start_time_us() const {
1297
114M
  return (_has_bits_[0] & 0x00000004u) != 0;
1298
114M
}
1299
41.4M
inline void NodeInstancePB::set_has_start_time_us() {
1300
41.4M
  _has_bits_[0] |= 0x00000004u;
1301
41.4M
}
1302
0
inline void NodeInstancePB::clear_has_start_time_us() {
1303
0
  _has_bits_[0] &= ~0x00000004u;
1304
0
}
1305
0
inline void NodeInstancePB::clear_start_time_us() {
1306
0
  start_time_us_ = GOOGLE_ULONGLONG(0);
1307
0
  clear_has_start_time_us();
1308
0
}
1309
118M
inline ::google::protobuf::uint64 NodeInstancePB::start_time_us() const {
1310
  // @@protoc_insertion_point(field_get:yb.NodeInstancePB.start_time_us)
1311
118M
  return start_time_us_;
1312
118M
}
1313
25.8k
inline void NodeInstancePB::set_start_time_us(::google::protobuf::uint64 value) {
1314
25.8k
  set_has_start_time_us();
1315
25.8k
  start_time_us_ = value;
1316
  // @@protoc_insertion_point(field_set:yb.NodeInstancePB.start_time_us)
1317
25.8k
}
1318
1319
// -------------------------------------------------------------------
1320
1321
// ServerRegistrationPB
1322
1323
// repeated .yb.HostPortPB private_rpc_addresses = 1;
1324
139M
inline int ServerRegistrationPB::private_rpc_addresses_size() const {
1325
139M
  return private_rpc_addresses_.size();
1326
139M
}
1327
139M
inline const ::yb::HostPortPB& ServerRegistrationPB::private_rpc_addresses(int index) const {
1328
  // @@protoc_insertion_point(field_get:yb.ServerRegistrationPB.private_rpc_addresses)
1329
139M
  return private_rpc_addresses_.Get(index);
1330
139M
}
1331
0
inline ::yb::HostPortPB* ServerRegistrationPB::mutable_private_rpc_addresses(int index) {
1332
0
  // @@protoc_insertion_point(field_mutable:yb.ServerRegistrationPB.private_rpc_addresses)
1333
0
  return private_rpc_addresses_.Mutable(index);
1334
0
}
1335
48.5M
inline ::yb::HostPortPB* ServerRegistrationPB::add_private_rpc_addresses() {
1336
  // @@protoc_insertion_point(field_add:yb.ServerRegistrationPB.private_rpc_addresses)
1337
48.5M
  return private_rpc_addresses_.Add();
1338
48.5M
}
1339
inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
1340
252k
ServerRegistrationPB::mutable_private_rpc_addresses() {
1341
  // @@protoc_insertion_point(field_mutable_list:yb.ServerRegistrationPB.private_rpc_addresses)
1342
252k
  return &private_rpc_addresses_;
1343
252k
}
1344
inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
1345
99.8M
ServerRegistrationPB::private_rpc_addresses() const {
1346
  // @@protoc_insertion_point(field_list:yb.ServerRegistrationPB.private_rpc_addresses)
1347
99.8M
  return private_rpc_addresses_;
1348
99.8M
}
1349
1350
// repeated .yb.HostPortPB broadcast_addresses = 5;
1351
139M
inline int ServerRegistrationPB::broadcast_addresses_size() const {
1352
139M
  return broadcast_addresses_.size();
1353
139M
}
1354
477k
inline const ::yb::HostPortPB& ServerRegistrationPB::broadcast_addresses(int index) const {
1355
  // @@protoc_insertion_point(field_get:yb.ServerRegistrationPB.broadcast_addresses)
1356
477k
  return broadcast_addresses_.Get(index);
1357
477k
}
1358
0
inline ::yb::HostPortPB* ServerRegistrationPB::mutable_broadcast_addresses(int index) {
1359
0
  // @@protoc_insertion_point(field_mutable:yb.ServerRegistrationPB.broadcast_addresses)
1360
0
  return broadcast_addresses_.Mutable(index);
1361
0
}
1362
159k
inline ::yb::HostPortPB* ServerRegistrationPB::add_broadcast_addresses() {
1363
  // @@protoc_insertion_point(field_add:yb.ServerRegistrationPB.broadcast_addresses)
1364
159k
  return broadcast_addresses_.Add();
1365
159k
}
1366
inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
1367
252k
ServerRegistrationPB::mutable_broadcast_addresses() {
1368
  // @@protoc_insertion_point(field_mutable_list:yb.ServerRegistrationPB.broadcast_addresses)
1369
252k
  return &broadcast_addresses_;
1370
252k
}
1371
inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
1372
99.5M
ServerRegistrationPB::broadcast_addresses() const {
1373
  // @@protoc_insertion_point(field_list:yb.ServerRegistrationPB.broadcast_addresses)
1374
99.5M
  return broadcast_addresses_;
1375
99.5M
}
1376
1377
// repeated .yb.HostPortPB http_addresses = 2;
1378
139M
inline int ServerRegistrationPB::http_addresses_size() const {
1379
139M
  return http_addresses_.size();
1380
139M
}
1381
139M
inline const ::yb::HostPortPB& ServerRegistrationPB::http_addresses(int index) const {
1382
  // @@protoc_insertion_point(field_get:yb.ServerRegistrationPB.http_addresses)
1383
139M
  return http_addresses_.Get(index);
1384
139M
}
1385
0
inline ::yb::HostPortPB* ServerRegistrationPB::mutable_http_addresses(int index) {
1386
0
  // @@protoc_insertion_point(field_mutable:yb.ServerRegistrationPB.http_addresses)
1387
0
  return http_addresses_.Mutable(index);
1388
0
}
1389
48.4M
inline ::yb::HostPortPB* ServerRegistrationPB::add_http_addresses() {
1390
  // @@protoc_insertion_point(field_add:yb.ServerRegistrationPB.http_addresses)
1391
48.4M
  return http_addresses_.Add();
1392
48.4M
}
1393
inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
1394
17.4k
ServerRegistrationPB::mutable_http_addresses() {
1395
  // @@protoc_insertion_point(field_mutable_list:yb.ServerRegistrationPB.http_addresses)
1396
17.4k
  return &http_addresses_;
1397
17.4k
}
1398
inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
1399
94.9M
ServerRegistrationPB::http_addresses() const {
1400
  // @@protoc_insertion_point(field_list:yb.ServerRegistrationPB.http_addresses)
1401
94.9M
  return http_addresses_;
1402
94.9M
}
1403
1404
// optional uint32 pg_port = 6 [default = 5433];
1405
93.0M
inline bool ServerRegistrationPB::has_pg_port() const {
1406
93.0M
  return (_has_bits_[0] & 0x00000004u) != 0;
1407
93.0M
}
1408
17.7M
inline void ServerRegistrationPB::set_has_pg_port() {
1409
17.7M
  _has_bits_[0] |= 0x00000004u;
1410
17.7M
}
1411
0
inline void ServerRegistrationPB::clear_has_pg_port() {
1412
0
  _has_bits_[0] &= ~0x00000004u;
1413
0
}
1414
0
inline void ServerRegistrationPB::clear_pg_port() {
1415
0
  pg_port_ = 5433u;
1416
0
  clear_has_pg_port();
1417
0
}
1418
52.9M
inline ::google::protobuf::uint32 ServerRegistrationPB::pg_port() const {
1419
  // @@protoc_insertion_point(field_get:yb.ServerRegistrationPB.pg_port)
1420
52.9M
  return pg_port_;
1421
52.9M
}
1422
26.9k
inline void ServerRegistrationPB::set_pg_port(::google::protobuf::uint32 value) {
1423
26.9k
  set_has_pg_port();
1424
26.9k
  pg_port_ = value;
1425
  // @@protoc_insertion_point(field_set:yb.ServerRegistrationPB.pg_port)
1426
26.9k
}
1427
1428
// optional .yb.CloudInfoPB cloud_info = 3;
1429
94.9M
inline bool ServerRegistrationPB::has_cloud_info() const {
1430
94.9M
  return (_has_bits_[0] & 0x00000002u) != 0;
1431
94.9M
}
1432
143M
inline void ServerRegistrationPB::set_has_cloud_info() {
1433
143M
  _has_bits_[0] |= 0x00000002u;
1434
143M
}
1435
0
inline void ServerRegistrationPB::clear_has_cloud_info() {
1436
0
  _has_bits_[0] &= ~0x00000002u;
1437
0
}
1438
101M
inline const ::yb::CloudInfoPB& ServerRegistrationPB::cloud_info() const {
1439
101M
  const ::yb::CloudInfoPB* p = cloud_info_;
1440
  // @@protoc_insertion_point(field_get:yb.ServerRegistrationPB.cloud_info)
1441
18.4E
  return 
p != NULL101M
?
*p101M
: *reinterpret_cast<const ::yb::CloudInfoPB*>(
1442
18.4E
      &::yb::_CloudInfoPB_default_instance_);
1443
101M
}
1444
0
inline ::yb::CloudInfoPB* ServerRegistrationPB::release_cloud_info() {
1445
0
  // @@protoc_insertion_point(field_release:yb.ServerRegistrationPB.cloud_info)
1446
0
  clear_has_cloud_info();
1447
0
  ::yb::CloudInfoPB* temp = cloud_info_;
1448
0
  cloud_info_ = NULL;
1449
0
  return temp;
1450
0
}
1451
143M
inline ::yb::CloudInfoPB* ServerRegistrationPB::mutable_cloud_info() {
1452
143M
  set_has_cloud_info();
1453
143M
  if (cloud_info_ == NULL) {
1454
97.5M
    cloud_info_ = new ::yb::CloudInfoPB;
1455
97.5M
  }
1456
  // @@protoc_insertion_point(field_mutable:yb.ServerRegistrationPB.cloud_info)
1457
143M
  return cloud_info_;
1458
143M
}
1459
0
inline void ServerRegistrationPB::set_allocated_cloud_info(::yb::CloudInfoPB* cloud_info) {
1460
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1461
0
  if (message_arena == NULL) {
1462
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(cloud_info_);
1463
0
  }
1464
0
  if (cloud_info) {
1465
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1466
0
    if (message_arena != submessage_arena) {
1467
0
      cloud_info = ::google::protobuf::internal::GetOwnedMessage(
1468
0
          message_arena, cloud_info, submessage_arena);
1469
0
    }
1470
0
    set_has_cloud_info();
1471
0
  } else {
1472
0
    clear_has_cloud_info();
1473
0
  }
1474
0
  cloud_info_ = cloud_info;
1475
0
  // @@protoc_insertion_point(field_set_allocated:yb.ServerRegistrationPB.cloud_info)
1476
0
}
1477
1478
// optional bytes placement_uuid = 4;
1479
95.0M
inline bool ServerRegistrationPB::has_placement_uuid() const {
1480
95.0M
  return (_has_bits_[0] & 0x00000001u) != 0;
1481
95.0M
}
1482
143M
inline void ServerRegistrationPB::set_has_placement_uuid() {
1483
143M
  _has_bits_[0] |= 0x00000001u;
1484
143M
}
1485
0
inline void ServerRegistrationPB::clear_has_placement_uuid() {
1486
0
  _has_bits_[0] &= ~0x00000001u;
1487
0
}
1488
0
inline void ServerRegistrationPB::clear_placement_uuid() {
1489
0
  placement_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1490
0
  clear_has_placement_uuid();
1491
0
}
1492
140M
inline const ::std::string& ServerRegistrationPB::placement_uuid() const {
1493
  // @@protoc_insertion_point(field_get:yb.ServerRegistrationPB.placement_uuid)
1494
140M
  return placement_uuid_.GetNoArena();
1495
140M
}
1496
71.9k
inline void ServerRegistrationPB::set_placement_uuid(const ::std::string& value) {
1497
71.9k
  set_has_placement_uuid();
1498
71.9k
  placement_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1499
  // @@protoc_insertion_point(field_set:yb.ServerRegistrationPB.placement_uuid)
1500
71.9k
}
1501
#if LANG_CXX11
1502
0
inline void ServerRegistrationPB::set_placement_uuid(::std::string&& value) {
1503
0
  set_has_placement_uuid();
1504
0
  placement_uuid_.SetNoArena(
1505
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1506
0
  // @@protoc_insertion_point(field_set_rvalue:yb.ServerRegistrationPB.placement_uuid)
1507
0
}
1508
#endif
1509
0
inline void ServerRegistrationPB::set_placement_uuid(const char* value) {
1510
0
  GOOGLE_DCHECK(value != NULL);
1511
0
  set_has_placement_uuid();
1512
0
  placement_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1513
0
  // @@protoc_insertion_point(field_set_char:yb.ServerRegistrationPB.placement_uuid)
1514
0
}
1515
0
inline void ServerRegistrationPB::set_placement_uuid(const void* value, size_t size) {
1516
0
  set_has_placement_uuid();
1517
0
  placement_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1518
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1519
0
  // @@protoc_insertion_point(field_set_pointer:yb.ServerRegistrationPB.placement_uuid)
1520
0
}
1521
48.5M
inline ::std::string* ServerRegistrationPB::mutable_placement_uuid() {
1522
48.5M
  set_has_placement_uuid();
1523
  // @@protoc_insertion_point(field_mutable:yb.ServerRegistrationPB.placement_uuid)
1524
48.5M
  return placement_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1525
48.5M
}
1526
0
inline ::std::string* ServerRegistrationPB::release_placement_uuid() {
1527
0
  // @@protoc_insertion_point(field_release:yb.ServerRegistrationPB.placement_uuid)
1528
0
  clear_has_placement_uuid();
1529
0
  return placement_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1530
0
}
1531
0
inline void ServerRegistrationPB::set_allocated_placement_uuid(::std::string* placement_uuid) {
1532
0
  if (placement_uuid != NULL) {
1533
0
    set_has_placement_uuid();
1534
0
  } else {
1535
0
    clear_has_placement_uuid();
1536
0
  }
1537
0
  placement_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), placement_uuid);
1538
0
  // @@protoc_insertion_point(field_set_allocated:yb.ServerRegistrationPB.placement_uuid)
1539
0
}
1540
1541
// -------------------------------------------------------------------
1542
1543
// ServerEntryPB
1544
1545
// optional .yb.AppStatusPB error = 1;
1546
1.23k
inline bool ServerEntryPB::has_error() const {
1547
1.23k
  return (_has_bits_[0] & 0x00000001u) != 0;
1548
1.23k
}
1549
15
inline void ServerEntryPB::set_has_error() {
1550
15
  _has_bits_[0] |= 0x00000001u;
1551
15
}
1552
0
inline void ServerEntryPB::clear_has_error() {
1553
0
  _has_bits_[0] &= ~0x00000001u;
1554
0
}
1555
0
inline void ServerEntryPB::clear_error() {
1556
0
  if (error_ != NULL) error_->Clear();
1557
0
  clear_has_error();
1558
0
}
1559
7
inline const ::yb::AppStatusPB& ServerEntryPB::error() const {
1560
7
  const ::yb::AppStatusPB* p = error_;
1561
  // @@protoc_insertion_point(field_get:yb.ServerEntryPB.error)
1562
7
  return p != NULL ? *p : *reinterpret_cast<const ::yb::AppStatusPB*>(
1563
0
      &::yb::_AppStatusPB_default_instance_);
1564
7
}
1565
0
inline ::yb::AppStatusPB* ServerEntryPB::release_error() {
1566
0
  // @@protoc_insertion_point(field_release:yb.ServerEntryPB.error)
1567
0
  clear_has_error();
1568
0
  ::yb::AppStatusPB* temp = error_;
1569
0
  error_ = NULL;
1570
0
  return temp;
1571
0
}
1572
15
inline ::yb::AppStatusPB* ServerEntryPB::mutable_error() {
1573
15
  set_has_error();
1574
15
  if (error_ == NULL) {
1575
15
    error_ = new ::yb::AppStatusPB;
1576
15
  }
1577
  // @@protoc_insertion_point(field_mutable:yb.ServerEntryPB.error)
1578
15
  return error_;
1579
15
}
1580
0
inline void ServerEntryPB::set_allocated_error(::yb::AppStatusPB* error) {
1581
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1582
0
  if (message_arena == NULL) {
1583
0
    delete error_;
1584
0
  }
1585
0
  if (error) {
1586
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1587
0
    if (message_arena != submessage_arena) {
1588
0
      error = ::google::protobuf::internal::GetOwnedMessage(
1589
0
          message_arena, error, submessage_arena);
1590
0
    }
1591
0
    set_has_error();
1592
0
  } else {
1593
0
    clear_has_error();
1594
0
  }
1595
0
  error_ = error;
1596
0
  // @@protoc_insertion_point(field_set_allocated:yb.ServerEntryPB.error)
1597
0
}
1598
1599
// optional .yb.NodeInstancePB instance_id = 2;
1600
1.22k
inline bool ServerEntryPB::has_instance_id() const {
1601
1.22k
  return (_has_bits_[0] & 0x00000002u) != 0;
1602
1.22k
}
1603
31.3M
inline void ServerEntryPB::set_has_instance_id() {
1604
31.3M
  _has_bits_[0] |= 0x00000002u;
1605
31.3M
}
1606
0
inline void ServerEntryPB::clear_has_instance_id() {
1607
0
  _has_bits_[0] &= ~0x00000002u;
1608
0
}
1609
0
inline void ServerEntryPB::clear_instance_id() {
1610
0
  if (instance_id_ != NULL) instance_id_->Clear();
1611
0
  clear_has_instance_id();
1612
0
}
1613
398k
inline const ::yb::NodeInstancePB& ServerEntryPB::instance_id() const {
1614
398k
  const ::yb::NodeInstancePB* p = instance_id_;
1615
  // @@protoc_insertion_point(field_get:yb.ServerEntryPB.instance_id)
1616
398k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::NodeInstancePB*>(
1617
0
      &::yb::_NodeInstancePB_default_instance_);
1618
398k
}
1619
0
inline ::yb::NodeInstancePB* ServerEntryPB::release_instance_id() {
1620
0
  // @@protoc_insertion_point(field_release:yb.ServerEntryPB.instance_id)
1621
0
  clear_has_instance_id();
1622
0
  ::yb::NodeInstancePB* temp = instance_id_;
1623
0
  instance_id_ = NULL;
1624
0
  return temp;
1625
0
}
1626
31.3M
inline ::yb::NodeInstancePB* ServerEntryPB::mutable_instance_id() {
1627
31.3M
  set_has_instance_id();
1628
31.3M
  if (instance_id_ == NULL) {
1629
2.55M
    instance_id_ = new ::yb::NodeInstancePB;
1630
2.55M
  }
1631
  // @@protoc_insertion_point(field_mutable:yb.ServerEntryPB.instance_id)
1632
31.3M
  return instance_id_;
1633
31.3M
}
1634
0
inline void ServerEntryPB::set_allocated_instance_id(::yb::NodeInstancePB* instance_id) {
1635
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1636
0
  if (message_arena == NULL) {
1637
0
    delete instance_id_;
1638
0
  }
1639
0
  if (instance_id) {
1640
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1641
0
    if (message_arena != submessage_arena) {
1642
0
      instance_id = ::google::protobuf::internal::GetOwnedMessage(
1643
0
          message_arena, instance_id, submessage_arena);
1644
0
    }
1645
0
    set_has_instance_id();
1646
0
  } else {
1647
0
    clear_has_instance_id();
1648
0
  }
1649
0
  instance_id_ = instance_id;
1650
0
  // @@protoc_insertion_point(field_set_allocated:yb.ServerEntryPB.instance_id)
1651
0
}
1652
1653
// optional .yb.ServerRegistrationPB registration = 3;
1654
1.23k
inline bool ServerEntryPB::has_registration() const {
1655
1.23k
  return (_has_bits_[0] & 0x00000004u) != 0;
1656
1.23k
}
1657
31.2M
inline void ServerEntryPB::set_has_registration() {
1658
31.2M
  _has_bits_[0] |= 0x00000004u;
1659
31.2M
}
1660
0
inline void ServerEntryPB::clear_has_registration() {
1661
0
  _has_bits_[0] &= ~0x00000004u;
1662
0
}
1663
0
inline void ServerEntryPB::clear_registration() {
1664
0
  if (registration_ != NULL) registration_->Clear();
1665
0
  clear_has_registration();
1666
0
}
1667
489
inline const ::yb::ServerRegistrationPB& ServerEntryPB::registration() const {
1668
489
  const ::yb::ServerRegistrationPB* p = registration_;
1669
  // @@protoc_insertion_point(field_get:yb.ServerEntryPB.registration)
1670
489
  return p != NULL ? *p : *reinterpret_cast<const ::yb::ServerRegistrationPB*>(
1671
0
      &::yb::_ServerRegistrationPB_default_instance_);
1672
489
}
1673
0
inline ::yb::ServerRegistrationPB* ServerEntryPB::release_registration() {
1674
0
  // @@protoc_insertion_point(field_release:yb.ServerEntryPB.registration)
1675
0
  clear_has_registration();
1676
0
  ::yb::ServerRegistrationPB* temp = registration_;
1677
0
  registration_ = NULL;
1678
0
  return temp;
1679
0
}
1680
31.1M
inline ::yb::ServerRegistrationPB* ServerEntryPB::mutable_registration() {
1681
31.1M
  set_has_registration();
1682
31.1M
  if (registration_ == NULL) {
1683
2.55M
    registration_ = new ::yb::ServerRegistrationPB;
1684
2.55M
  }
1685
  // @@protoc_insertion_point(field_mutable:yb.ServerEntryPB.registration)
1686
31.1M
  return registration_;
1687
31.1M
}
1688
0
inline void ServerEntryPB::set_allocated_registration(::yb::ServerRegistrationPB* registration) {
1689
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1690
0
  if (message_arena == NULL) {
1691
0
    delete registration_;
1692
0
  }
1693
0
  if (registration) {
1694
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1695
0
    if (message_arena != submessage_arena) {
1696
0
      registration = ::google::protobuf::internal::GetOwnedMessage(
1697
0
          message_arena, registration, submessage_arena);
1698
0
    }
1699
0
    set_has_registration();
1700
0
  } else {
1701
0
    clear_has_registration();
1702
0
  }
1703
0
  registration_ = registration;
1704
0
  // @@protoc_insertion_point(field_set_allocated:yb.ServerEntryPB.registration)
1705
0
}
1706
1707
// optional .yb.PeerRole role = 4;
1708
450
inline bool ServerEntryPB::has_role() const {
1709
450
  return (_has_bits_[0] & 0x00000008u) != 0;
1710
450
}
1711
31.3M
inline void ServerEntryPB::set_has_role() {
1712
31.3M
  _has_bits_[0] |= 0x00000008u;
1713
31.3M
}
1714
0
inline void ServerEntryPB::clear_has_role() {
1715
0
  _has_bits_[0] &= ~0x00000008u;
1716
0
}
1717
0
inline void ServerEntryPB::clear_role() {
1718
0
  role_ = 0;
1719
0
  clear_has_role();
1720
0
}
1721
30.2M
inline ::yb::PeerRole ServerEntryPB::role() const {
1722
  // @@protoc_insertion_point(field_get:yb.ServerEntryPB.role)
1723
30.2M
  return static_cast< ::yb::PeerRole >(role_);
1724
30.2M
}
1725
31.2M
inline void ServerEntryPB::set_role(::yb::PeerRole value) {
1726
31.2M
  assert(::yb::PeerRole_IsValid(value));
1727
0
  set_has_role();
1728
31.2M
  role_ = value;
1729
  // @@protoc_insertion_point(field_set:yb.ServerEntryPB.role)
1730
31.2M
}
1731
1732
#ifdef __GNUC__
1733
  #pragma GCC diagnostic pop
1734
#endif  // __GNUC__
1735
// -------------------------------------------------------------------
1736
1737
// -------------------------------------------------------------------
1738
1739
// -------------------------------------------------------------------
1740
1741
1742
// @@protoc_insertion_point(namespace_scope)
1743
1744
}  // namespace yb
1745
1746
namespace google {
1747
namespace protobuf {
1748
1749
template <> struct is_proto_enum< ::yb::AppStatusPB_ErrorCode> : ::google::protobuf::internal::true_type {};
1750
template <>
1751
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::AppStatusPB_ErrorCode>() {
1752
0
  return ::yb::AppStatusPB_ErrorCode_descriptor();
1753
0
}
1754
1755
}  // namespace protobuf
1756
}  // namespace google
1757
1758
// @@protoc_insertion_point(global_scope)
1759
1760
#endif  // PROTOBUF_yb_2fcommon_2fwire_5fprotocol_2eproto__INCLUDED